From 56f779976a2300e1a5895bbca19ee846e4443383 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 13 Jul 2022 12:45:49 -0700 Subject: [PATCH] Infer ABI type for method result type (#1909) --- crates/libs/bindgen/src/com_methods.rs | 3 +- crates/libs/bindgen/src/functions.rs | 3 +- crates/libs/bindgen/src/winrt_methods.rs | 8 +- .../Windows/AI/MachineLearning/Preview/mod.rs | 120 +- .../src/Windows/AI/MachineLearning/mod.rs | 440 +- .../ApplicationModel/Activation/mod.rs | 1118 +-- .../ApplicationModel/AppExtensions/mod.rs | 56 +- .../ApplicationModel/AppService/mod.rs | 50 +- .../Appointments/AppointmentsProvider/mod.rs | 28 +- .../Appointments/DataProvider/mod.rs | 126 +- .../ApplicationModel/Appointments/mod.rs | 368 +- .../ApplicationModel/Background/mod.rs | 334 +- .../ApplicationModel/Calls/Background/mod.rs | 38 +- .../ApplicationModel/Calls/Provider/mod.rs | 16 +- .../src/Windows/ApplicationModel/Calls/mod.rs | 354 +- .../src/Windows/ApplicationModel/Chat/mod.rs | 376 +- .../CommunicationBlocking/mod.rs | 12 +- .../Contacts/DataProvider/mod.rs | 62 +- .../ApplicationModel/Contacts/Provider/mod.rs | 16 +- .../Windows/ApplicationModel/Contacts/mod.rs | 656 +- .../ConversationalAgent/mod.rs | 214 +- .../src/Windows/ApplicationModel/Core/mod.rs | 88 +- .../DataTransfer/DragDrop/Core/mod.rs | 38 +- .../DataTransfer/ShareTarget/mod.rs | 16 +- .../ApplicationModel/DataTransfer/mod.rs | 254 +- .../Email/DataProvider/mod.rs | 252 +- .../src/Windows/ApplicationModel/Email/mod.rs | 522 +- .../ExtendedExecution/Foreground/mod.rs | 10 +- .../ApplicationModel/ExtendedExecution/mod.rs | 12 +- .../ApplicationModel/Holographic/mod.rs | 2 +- .../ApplicationModel/LockScreen/mod.rs | 32 +- .../ApplicationModel/Payments/Provider/mod.rs | 26 +- .../Windows/ApplicationModel/Payments/mod.rs | 178 +- .../Preview/Holographic/mod.rs | 6 +- .../Preview/InkWorkspace/mod.rs | 4 +- .../ApplicationModel/Preview/Notes/mod.rs | 26 +- .../ApplicationModel/Resources/Core/mod.rs | 160 +- .../Resources/Management/mod.rs | 24 +- .../Windows/ApplicationModel/Resources/mod.rs | 20 +- .../ApplicationModel/Search/Core/mod.rs | 30 +- .../Windows/ApplicationModel/Search/mod.rs | 94 +- .../SocialInfo/Provider/mod.rs | 28 +- .../ApplicationModel/SocialInfo/mod.rs | 70 +- .../Store/LicenseManagement/mod.rs | 24 +- .../Store/Preview/InstallControl/mod.rs | 160 +- .../ApplicationModel/Store/Preview/mod.rs | 88 +- .../src/Windows/ApplicationModel/Store/mod.rs | 150 +- .../UserActivities/Core/mod.rs | 4 +- .../ApplicationModel/UserActivities/mod.rs | 90 +- .../UserDataAccounts/Provider/mod.rs | 22 +- .../UserDataAccounts/SystemAccess/mod.rs | 100 +- .../ApplicationModel/UserDataAccounts/mod.rs | 70 +- .../UserDataTasks/DataProvider/mod.rs | 70 +- .../ApplicationModel/UserDataTasks/mod.rs | 128 +- .../ApplicationModel/VoiceCommands/mod.rs | 80 +- .../ApplicationModel/Wallet/System/mod.rs | 14 +- .../Windows/ApplicationModel/Wallet/mod.rs | 124 +- .../src/Windows/ApplicationModel/mod.rs | 370 +- .../libs/windows/src/Windows/Data/Html/mod.rs | 2 +- .../libs/windows/src/Windows/Data/Json/mod.rs | 142 +- .../libs/windows/src/Windows/Data/Pdf/mod.rs | 52 +- .../libs/windows/src/Windows/Data/Text/mod.rs | 112 +- .../windows/src/Windows/Data/Xml/Dom/mod.rs | 968 +-- .../windows/src/Windows/Data/Xml/Xsl/mod.rs | 6 +- .../src/Windows/Devices/Adc/Provider/mod.rs | 16 +- .../windows/src/Windows/Devices/Adc/mod.rs | 24 +- .../src/Windows/Devices/AllJoyn/mod.rs | 256 +- .../src/Windows/Devices/Background/mod.rs | 10 +- .../Devices/Bluetooth/Advertisement/mod.rs | 154 +- .../Devices/Bluetooth/Background/mod.rs | 44 +- .../Bluetooth/GenericAttributeProfile/mod.rs | 652 +- .../Windows/Devices/Bluetooth/Rfcomm/mod.rs | 64 +- .../src/Windows/Devices/Bluetooth/mod.rs | 332 +- .../windows/src/Windows/Devices/Custom/mod.rs | 36 +- .../src/Windows/Devices/Display/Core/mod.rs | 248 +- .../src/Windows/Devices/Display/mod.rs | 48 +- .../Windows/Devices/Enumeration/Pnp/mod.rs | 44 +- .../src/Windows/Devices/Enumeration/mod.rs | 212 +- .../Devices/Geolocation/Geofencing/mod.rs | 44 +- .../src/Windows/Devices/Geolocation/mod.rs | 182 +- .../src/Windows/Devices/Gpio/Provider/mod.rs | 24 +- .../windows/src/Windows/Devices/Gpio/mod.rs | 64 +- .../src/Windows/Devices/Haptics/mod.rs | 60 +- .../Devices/HumanInterfaceDevice/mod.rs | 162 +- .../src/Windows/Devices/I2c/Provider/mod.rs | 18 +- .../windows/src/Windows/Devices/I2c/mod.rs | 36 +- .../src/Windows/Devices/Input/Preview/mod.rs | 62 +- .../windows/src/Windows/Devices/Input/mod.rs | 68 +- .../src/Windows/Devices/Lights/Effects/mod.rs | 90 +- .../windows/src/Windows/Devices/Lights/mod.rs | 78 +- .../windows/src/Windows/Devices/Midi/mod.rs | 210 +- .../Devices/Perception/Provider/mod.rs | 66 +- .../src/Windows/Devices/Perception/mod.rs | 358 +- .../Devices/PointOfService/Provider/mod.rs | 176 +- .../src/Windows/Devices/PointOfService/mod.rs | 1356 +-- .../src/Windows/Devices/Portable/mod.rs | 8 +- .../windows/src/Windows/Devices/Power/mod.rs | 22 +- .../Devices/Printers/Extensions/mod.rs | 30 +- .../src/Windows/Devices/Printers/mod.rs | 170 +- .../src/Windows/Devices/Pwm/Provider/mod.rs | 12 +- .../windows/src/Windows/Devices/Pwm/mod.rs | 30 +- .../windows/src/Windows/Devices/Radios/mod.rs | 18 +- .../src/Windows/Devices/Scanners/mod.rs | 218 +- .../src/Windows/Devices/Sensors/Custom/mod.rs | 26 +- .../src/Windows/Devices/Sensors/mod.rs | 550 +- .../Devices/SerialCommunication/mod.rs | 54 +- .../src/Windows/Devices/SmartCards/mod.rs | 324 +- .../windows/src/Windows/Devices/Sms/mod.rs | 452 +- .../src/Windows/Devices/Spi/Provider/mod.rs | 20 +- .../windows/src/Windows/Devices/Spi/mod.rs | 46 +- .../windows/src/Windows/Devices/Usb/mod.rs | 226 +- .../windows/src/Windows/Devices/WiFi/mod.rs | 58 +- .../Devices/WiFiDirect/Services/mod.rs | 104 +- .../src/Windows/Devices/WiFiDirect/mod.rs | 66 +- .../libs/windows/src/Windows/Devices/mod.rs | 24 +- .../Windows/Embedded/DeviceLockdown/mod.rs | 10 +- .../src/Windows/Foundation/Collections/mod.rs | 148 +- .../src/Windows/Foundation/Diagnostics/mod.rs | 138 +- .../src/Windows/Foundation/Metadata/mod.rs | 20 +- .../windows/src/Windows/Foundation/mod.rs | 340 +- .../src/Windows/Gaming/Input/Custom/mod.rs | 56 +- .../Windows/Gaming/Input/ForceFeedback/mod.rs | 46 +- .../src/Windows/Gaming/Input/Preview/mod.rs | 4 +- .../windows/src/Windows/Gaming/Input/mod.rs | 214 +- .../Gaming/Preview/GamesEnumeration/mod.rs | 76 +- .../libs/windows/src/Windows/Gaming/UI/mod.rs | 32 +- .../Windows/Gaming/XboxLive/Storage/mod.rs | 76 +- .../Windows/Globalization/Collation/mod.rs | 18 +- .../Globalization/DateTimeFormatting/mod.rs | 58 +- .../src/Windows/Globalization/Fonts/mod.rs | 34 +- .../Globalization/NumberFormatting/mod.rs | 278 +- .../PhoneNumberFormatting/mod.rs | 40 +- .../windows/src/Windows/Globalization/mod.rs | 674 +- .../src/Windows/Graphics/Capture/mod.rs | 40 +- .../Graphics/DirectX/Direct3D11/mod.rs | 2 +- .../src/Windows/Graphics/Display/Core/mod.rs | 40 +- .../src/Windows/Graphics/Display/mod.rs | 150 +- .../src/Windows/Graphics/Effects/mod.rs | 2 +- .../src/Windows/Graphics/Holographic/mod.rs | 200 +- .../src/Windows/Graphics/Imaging/mod.rs | 304 +- .../Graphics/Printing/OptionDetails/mod.rs | 386 +- .../Graphics/Printing/PrintSupport/mod.rs | 40 +- .../Graphics/Printing/PrintTicket/mod.rs | 156 +- .../Windows/Graphics/Printing/Workflow/mod.rs | 164 +- .../src/Windows/Graphics/Printing/mod.rs | 166 +- .../src/Windows/Graphics/Printing3D/mod.rs | 210 +- .../src/Windows/Management/Core/mod.rs | 2 +- .../Management/Deployment/Preview/mod.rs | 6 +- .../src/Windows/Management/Deployment/mod.rs | 358 +- .../src/Windows/Management/Policies/mod.rs | 28 +- .../src/Windows/Management/Update/mod.rs | 12 +- .../src/Windows/Management/Workplace/mod.rs | 12 +- .../windows/src/Windows/Management/mod.rs | 34 +- .../src/Windows/Media/AppBroadcasting/mod.rs | 30 +- .../src/Windows/Media/AppRecording/mod.rs | 56 +- .../windows/src/Windows/Media/Audio/mod.rs | 528 +- .../src/Windows/Media/Capture/Core/mod.rs | 20 +- .../src/Windows/Media/Capture/Frames/mod.rs | 170 +- .../windows/src/Windows/Media/Capture/mod.rs | 880 +- .../windows/src/Windows/Media/Casting/mod.rs | 56 +- .../src/Windows/Media/ClosedCaptioning/mod.rs | 24 +- .../Windows/Media/ContentRestrictions/mod.rs | 28 +- .../windows/src/Windows/Media/Control/mod.rs | 128 +- .../src/Windows/Media/Core/Preview/mod.rs | 4 +- .../windows/src/Windows/Media/Core/mod.rs | 764 +- .../src/Windows/Media/Devices/Core/mod.rs | 124 +- .../windows/src/Windows/Media/Devices/mod.rs | 542 +- .../src/Windows/Media/DialProtocol/mod.rs | 54 +- .../windows/src/Windows/Media/Editing/mod.rs | 120 +- .../windows/src/Windows/Media/Effects/mod.rs | 122 +- .../src/Windows/Media/FaceAnalysis/mod.rs | 32 +- .../windows/src/Windows/Media/Import/mod.rs | 242 +- .../src/Windows/Media/MediaProperties/mod.rs | 304 +- .../windows/src/Windows/Media/Miracast/mod.rs | 150 +- .../libs/windows/src/Windows/Media/Ocr/mod.rs | 28 +- .../windows/src/Windows/Media/PlayTo/mod.rs | 110 +- .../windows/src/Windows/Media/Playback/mod.rs | 510 +- .../src/Windows/Media/Playlists/mod.rs | 10 +- .../Windows/Media/Protection/PlayReady/mod.rs | 526 +- .../src/Windows/Media/Protection/mod.rs | 50 +- .../Windows/Media/SpeechRecognition/mod.rs | 172 +- .../src/Windows/Media/SpeechSynthesis/mod.rs | 64 +- .../Windows/Media/Streaming/Adaptive/mod.rs | 196 +- .../src/Windows/Media/Transcoding/mod.rs | 22 +- crates/libs/windows/src/Windows/Media/mod.rs | 248 +- .../Networking/BackgroundTransfer/mod.rs | 216 +- .../Windows/Networking/Connectivity/mod.rs | 230 +- .../Networking/NetworkOperators/mod.rs | 732 +- .../src/Windows/Networking/Proximity/mod.rs | 94 +- .../Networking/PushNotifications/mod.rs | 50 +- .../Networking/ServiceDiscovery/Dnssd/mod.rs | 50 +- .../src/Windows/Networking/Sockets/mod.rs | 412 +- .../windows/src/Windows/Networking/Vpn/mod.rs | 374 +- .../src/Windows/Networking/XboxLive/mod.rs | 138 +- .../windows/src/Windows/Networking/mod.rs | 28 +- .../src/Windows/Perception/People/mod.rs | 40 +- .../Windows/Perception/Spatial/Preview/mod.rs | 20 +- .../Perception/Spatial/Surfaces/mod.rs | 52 +- .../src/Windows/Perception/Spatial/mod.rs | 158 +- .../windows/src/Windows/Perception/mod.rs | 10 +- .../src/Windows/Phone/ApplicationModel/mod.rs | 2 +- .../Windows/Phone/Devices/Notification/mod.rs | 2 +- .../src/Windows/Phone/Devices/Power/mod.rs | 8 +- .../Phone/Management/Deployment/mod.rs | 48 +- .../src/Windows/Phone/Media/Devices/mod.rs | 8 +- .../Phone/Notification/Management/mod.rs | 326 +- .../PersonalInformation/Provisioning/mod.rs | 10 +- .../Windows/Phone/PersonalInformation/mod.rs | 214 +- .../src/Windows/Phone/StartScreen/mod.rs | 28 +- .../src/Windows/Phone/System/Power/mod.rs | 6 +- .../src/Windows/Phone/System/Profile/mod.rs | 2 +- .../UserProfile/GameServices/Core/mod.rs | 14 +- .../windows/src/Windows/Phone/System/mod.rs | 2 +- .../windows/src/Windows/Phone/UI/Input/mod.rs | 10 +- .../Authentication/Identity/Core/mod.rs | 54 +- .../Authentication/Identity/Provider/mod.rs | 70 +- .../Security/Authentication/Identity/mod.rs | 14 +- .../Security/Authentication/OnlineId/mod.rs | 80 +- .../Security/Authentication/Web/Core/mod.rs | 96 +- .../Authentication/Web/Provider/mod.rs | 144 +- .../Security/Authentication/Web/mod.rs | 16 +- .../Authorization/AppCapabilityAccess/mod.rs | 18 +- .../Windows/Security/Credentials/UI/mod.rs | 44 +- .../src/Windows/Security/Credentials/mod.rs | 106 +- .../Security/Cryptography/Certificates/mod.rs | 306 +- .../Windows/Security/Cryptography/Core/mod.rs | 344 +- .../Cryptography/DataProtection/mod.rs | 10 +- .../src/Windows/Security/Cryptography/mod.rs | 20 +- .../Windows/Security/DataProtection/mod.rs | 24 +- .../Windows/Security/EnterpriseData/mod.rs | 168 +- .../ExchangeActiveSyncProvisioning/mod.rs | 56 +- .../src/Windows/Security/Isolation/mod.rs | 134 +- .../src/Windows/Services/Cortana/mod.rs | 42 +- .../src/Windows/Services/Maps/Guidance/mod.rs | 156 +- .../Windows/Services/Maps/LocalSearch/mod.rs | 56 +- .../Windows/Services/Maps/OfflineMaps/mod.rs | 24 +- .../windows/src/Windows/Services/Maps/mod.rs | 196 +- .../windows/src/Windows/Services/Store/mod.rs | 366 +- .../Windows/Services/TargetedContent/mod.rs | 114 +- .../src/Windows/Storage/AccessCache/mod.rs | 96 +- .../src/Windows/Storage/BulkAccess/mod.rs | 244 +- .../src/Windows/Storage/Compression/mod.rs | 18 +- .../src/Windows/Storage/FileProperties/mod.rs | 188 +- .../Windows/Storage/Pickers/Provider/mod.rs | 48 +- .../src/Windows/Storage/Pickers/mod.rs | 100 +- .../src/Windows/Storage/Provider/mod.rs | 140 +- .../windows/src/Windows/Storage/Search/mod.rs | 198 +- .../src/Windows/Storage/Streams/mod.rs | 322 +- .../libs/windows/src/Windows/Storage/mod.rs | 818 +- .../System/Diagnostics/DevicePortal/mod.rs | 28 +- .../System/Diagnostics/Telemetry/mod.rs | 10 +- .../System/Diagnostics/TraceReporting/mod.rs | 32 +- .../src/Windows/System/Diagnostics/mod.rs | 110 +- .../System/Implementation/FileExplorer/mod.rs | 12 +- .../src/Windows/System/Inventory/mod.rs | 12 +- .../Windows/System/Power/Diagnostics/mod.rs | 8 +- .../windows/src/Windows/System/Power/mod.rs | 56 +- .../windows/src/Windows/System/Preview/mod.rs | 20 +- .../System/Profile/SystemManufacturers/mod.rs | 28 +- .../windows/src/Windows/System/Profile/mod.rs | 108 +- .../Windows/System/RemoteDesktop/Input/mod.rs | 6 +- .../src/Windows/System/RemoteDesktop/mod.rs | 2 +- .../src/Windows/System/RemoteSystems/mod.rs | 248 +- .../src/Windows/System/Threading/Core/mod.rs | 16 +- .../src/Windows/System/Threading/mod.rs | 18 +- .../windows/src/Windows/System/Update/mod.rs | 62 +- .../src/Windows/System/UserProfile/mod.rs | 116 +- crates/libs/windows/src/Windows/System/mod.rs | 418 +- .../src/Windows/UI/Accessibility/mod.rs | 8 +- .../src/Windows/UI/ApplicationSettings/mod.rs | 70 +- .../src/Windows/UI/Composition/Core/mod.rs | 6 +- .../src/Windows/UI/Composition/Desktop/mod.rs | 18 +- .../Windows/UI/Composition/Diagnostics/mod.rs | 4 +- .../src/Windows/UI/Composition/Effects/mod.rs | 14 +- .../UI/Composition/Interactions/mod.rs | 328 +- .../src/Windows/UI/Composition/Scenes/mod.rs | 436 +- .../windows/src/Windows/UI/Composition/mod.rs | 2990 +++---- .../Windows/UI/Core/AnimationMetrics/mod.rs | 76 +- .../src/Windows/UI/Core/Preview/mod.rs | 10 +- .../libs/windows/src/Windows/UI/Core/mod.rs | 440 +- .../windows/src/Windows/UI/Input/Core/mod.rs | 8 +- .../Windows/UI/Input/Inking/Analysis/mod.rs | 176 +- .../src/Windows/UI/Input/Inking/Core/mod.rs | 56 +- .../Windows/UI/Input/Inking/Preview/mod.rs | 4 +- .../src/Windows/UI/Input/Inking/mod.rs | 332 +- .../Windows/UI/Input/Preview/Injection/mod.rs | 60 +- .../src/Windows/UI/Input/Preview/mod.rs | 2 +- .../src/Windows/UI/Input/Spatial/mod.rs | 236 +- .../libs/windows/src/Windows/UI/Input/mod.rs | 416 +- .../UI/Notifications/Management/mod.rs | 12 +- .../src/Windows/UI/Notifications/mod.rs | 328 +- .../libs/windows/src/Windows/UI/Popups/mod.rs | 50 +- .../libs/windows/src/Windows/UI/Shell/mod.rs | 38 +- .../windows/src/Windows/UI/StartScreen/mod.rs | 152 +- .../windows/src/Windows/UI/Text/Core/mod.rs | 126 +- .../libs/windows/src/Windows/UI/Text/mod.rs | 376 +- .../src/Windows/UI/UIAutomation/Core/mod.rs | 44 +- .../src/Windows/UI/UIAutomation/mod.rs | 14 +- .../src/Windows/UI/ViewManagement/Core/mod.rs | 80 +- .../src/Windows/UI/ViewManagement/mod.rs | 260 +- .../windows/src/Windows/UI/WebUI/Core/mod.rs | 54 +- .../libs/windows/src/Windows/UI/WebUI/mod.rs | 784 +- .../src/Windows/UI/WindowManagement/mod.rs | 150 +- crates/libs/windows/src/Windows/UI/mod.rs | 288 +- .../windows/src/Windows/Web/AtomPub/mod.rs | 96 +- .../src/Windows/Web/Http/Diagnostics/mod.rs | 66 +- .../src/Windows/Web/Http/Filters/mod.rs | 52 +- .../src/Windows/Web/Http/Headers/mod.rs | 586 +- .../libs/windows/src/Windows/Web/Http/mod.rs | 328 +- .../src/Windows/Web/Syndication/mod.rs | 360 +- .../windows/src/Windows/Web/UI/Interop/mod.rs | 104 +- crates/libs/windows/src/Windows/Web/UI/mod.rs | 128 +- crates/libs/windows/src/Windows/Web/mod.rs | 4 +- .../Win32/AI/MachineLearning/WinML/mod.rs | 60 +- .../src/Windows/Win32/Data/HtmlHelp/mod.rs | 6 +- .../src/Windows/Win32/Data/Xml/MsXml/mod.rs | 1448 ++-- .../src/Windows/Win32/Data/Xml/XmlLite/mod.rs | 26 +- .../Win32/Devices/BiometricFramework/mod.rs | 14 +- .../Windows/Win32/Devices/DeviceAccess/mod.rs | 2 +- .../Windows/Win32/Devices/DeviceQuery/mod.rs | 12 +- .../src/Windows/Win32/Devices/Display/mod.rs | 4 +- .../Win32/Devices/Enumeration/Pnp/mod.rs | 114 +- .../src/Windows/Win32/Devices/Fax/mod.rs | 938 +- .../Win32/Devices/FunctionDiscovery/mod.rs | 60 +- .../Windows/Win32/Devices/Geolocation/mod.rs | 102 +- .../Win32/Devices/ImageAcquisition/mod.rs | 138 +- .../Win32/Devices/PortableDevices/mod.rs | 184 +- .../src/Windows/Win32/Devices/Sensors/mod.rs | 46 +- .../src/Windows/Win32/Devices/Tapi/mod.rs | 938 +- .../Win32/Devices/WebServicesOnDevices/mod.rs | 204 +- .../windows/src/Windows/Win32/Gaming/mod.rs | 80 +- .../src/Windows/Win32/Globalization/mod.rs | 212 +- .../Graphics/CompositionSwapchain/mod.rs | 18 +- .../src/Windows/Win32/Graphics/DXCore/mod.rs | 4 +- .../Windows/Win32/Graphics/Direct2D/mod.rs | 1248 +-- .../Win32/Graphics/Direct3D/Dxc/mod.rs | 140 +- .../Win32/Graphics/Direct3D/Fxc/mod.rs | 30 +- .../Windows/Win32/Graphics/Direct3D/mod.rs | 2 +- .../Windows/Win32/Graphics/Direct3D10/mod.rs | 248 +- .../Windows/Win32/Graphics/Direct3D11/mod.rs | 660 +- .../Windows/Win32/Graphics/Direct3D12/mod.rs | 104 +- .../Windows/Win32/Graphics/Direct3D9/mod.rs | 108 +- .../Win32/Graphics/DirectComposition/mod.rs | 208 +- .../Windows/Win32/Graphics/DirectDraw/mod.rs | 40 +- .../Win32/Graphics/DirectManipulation/mod.rs | 26 +- .../Windows/Win32/Graphics/DirectWrite/mod.rs | 1074 +-- .../src/Windows/Win32/Graphics/Dwm/mod.rs | 14 +- .../src/Windows/Win32/Graphics/Dxgi/mod.rs | 486 +- .../Windows/Win32/Graphics/Imaging/D2D/mod.rs | 52 +- .../src/Windows/Win32/Graphics/Imaging/mod.rs | 492 +- .../Graphics/Printing/PrintTicket/mod.rs | 12 +- .../Windows/Win32/Graphics/Printing/mod.rs | 500 +- .../MobileDeviceManagementRegistration/mod.rs | 12 +- .../src/Windows/Win32/Media/Audio/Apo/mod.rs | 30 +- .../Win32/Media/Audio/DirectMusic/mod.rs | 14 +- .../Win32/Media/Audio/DirectSound/mod.rs | 102 +- .../Win32/Media/Audio/Endpoints/mod.rs | 50 +- .../Windows/Win32/Media/Audio/XAudio2/mod.rs | 14 +- .../src/Windows/Win32/Media/Audio/mod.rs | 306 +- .../Windows/Win32/Media/DeviceManager/mod.rs | 290 +- .../src/Windows/Win32/Media/DirectShow/mod.rs | 4940 +++++------ .../Windows/Win32/Media/DxMediaObjects/mod.rs | 34 +- .../Win32/Media/KernelStreaming/mod.rs | 24 +- .../Win32/Media/LibrarySharingServices/mod.rs | 40 +- .../Win32/Media/MediaFoundation/mod.rs | 1926 ++--- .../Windows/Win32/Media/MediaPlayer/mod.rs | 760 +- .../src/Windows/Win32/Media/Multimedia/mod.rs | 12 +- .../Win32/Media/PictureAcquisition/mod.rs | 72 +- .../src/Windows/Win32/Media/Speech/mod.rs | 810 +- .../Win32/Media/WindowsMediaFormat/mod.rs | 734 +- .../windows/src/Windows/Win32/Media/mod.rs | 14 +- .../NetworkManagement/MobileBroadband/mod.rs | 210 +- .../NetworkManagement/NetManagement/mod.rs | 74 +- .../NetworkDiagnosticsFramework/mod.rs | 8 +- .../NetworkPolicyServer/mod.rs | 62 +- .../Win32/NetworkManagement/P2P/mod.rs | 132 +- .../Win32/NetworkManagement/WiFi/mod.rs | 30 +- .../WindowsConnectNow/mod.rs | 2 +- .../WindowsConnectionManager/mod.rs | 6 +- .../NetworkManagement/WindowsFirewall/mod.rs | 434 +- .../Win32/Networking/ActiveDirectory/mod.rs | 1040 +-- .../mod.rs | 378 +- .../Win32/Networking/Clustering/mod.rs | 480 +- .../Networking/NetworkListManager/mod.rs | 58 +- .../RemoteDifferentialCompression/mod.rs | 74 +- .../Windows/Win32/Networking/WebSocket/mod.rs | 4 +- .../Windows/Win32/Networking/WinInet/mod.rs | 6 +- .../Networking/WindowsWebServices/mod.rs | 16 +- .../Authentication/Identity/Provider/mod.rs | 38 +- .../Security/Authentication/Identity/mod.rs | 56 +- .../Win32/Security/Authorization/UI/mod.rs | 2 +- .../Win32/Security/Authorization/mod.rs | 818 +- .../Windows/Win32/Security/Credentials/mod.rs | 2 +- .../Security/Cryptography/Certificates/mod.rs | 2290 ++--- .../Win32/Security/Cryptography/mod.rs | 90 +- .../Win32/Security/DiagnosticDataQuery/mod.rs | 46 +- .../Win32/Security/EnterpriseData/mod.rs | 6 +- .../ExtensibleAuthenticationProtocol/mod.rs | 10 +- .../Windows/Win32/Security/Isolation/mod.rs | 16 +- .../Win32/Security/LicenseProtection/mod.rs | 2 +- .../src/Windows/Win32/Security/Tpm/mod.rs | 8 +- .../Windows/Win32/Storage/CloudFilters/mod.rs | 12 +- .../Win32/Storage/DataDeduplication/mod.rs | 22 +- .../Win32/Storage/EnhancedStorage/mod.rs | 42 +- .../Windows/Win32/Storage/FileHistory/mod.rs | 20 +- .../Storage/FileServerResourceManager/mod.rs | 976 +-- .../Windows/Win32/Storage/FileSystem/mod.rs | 34 +- .../src/Windows/Win32/Storage/Imapi/mod.rs | 844 +- .../Storage/InstallableFileSystems/mod.rs | 6 +- .../Windows/Win32/Storage/OfflineFiles/mod.rs | 158 +- .../Win32/Storage/Packaging/Appx/mod.rs | 460 +- .../Win32/Storage/Packaging/Opc/mod.rs | 336 +- .../Win32/Storage/ProjectedFileSystem/mod.rs | 12 +- .../Win32/Storage/VirtualDiskService/mod.rs | 158 +- .../src/Windows/Win32/Storage/Vss/mod.rs | 116 +- .../Windows/Win32/Storage/Xps/Printing/mod.rs | 4 +- .../src/Windows/Win32/Storage/Xps/mod.rs | 994 +-- .../Windows/Win32/System/AddressBook/mod.rs | 68 +- .../Windows/Win32/System/Antimalware/mod.rs | 26 +- .../mod.rs | 240 +- .../Win32/System/AssessmentTool/mod.rs | 56 +- .../Windows/Win32/System/Com/CallObj/mod.rs | 20 +- .../Windows/Win32/System/Com/Events/mod.rs | 118 +- .../Windows/Win32/System/Com/Marshal/mod.rs | 14 +- .../Win32/System/Com/StructuredStorage/mod.rs | 70 +- .../Windows/Win32/System/Com/Urlmon/mod.rs | 92 +- .../src/Windows/Win32/System/Com/mod.rs | 418 +- .../Win32/System/ComponentServices/mod.rs | 344 +- .../src/Windows/Win32/System/Console/mod.rs | 2 +- .../src/Windows/Win32/System/Contacts/mod.rs | 152 +- .../Win32/System/DeploymentServices/mod.rs | 360 +- .../Win32/System/DesktopSharing/mod.rs | 170 +- .../Win32/System/DeveloperLicensing/mod.rs | 4 +- .../System/Diagnostics/Debug/WebApp/mod.rs | 4 +- .../Win32/System/Diagnostics/Debug/mod.rs | 2542 +++--- .../Win32/System/Diagnostics/Etw/mod.rs | 12 +- .../DistributedTransactionCoordinator/mod.rs | 134 +- .../Windows/Win32/System/Environment/mod.rs | 2 +- .../Win32/System/ErrorReporting/mod.rs | 24 +- .../Windows/Win32/System/GroupPolicy/mod.rs | 784 +- .../Win32/System/HostComputeNetwork/mod.rs | 22 +- .../Win32/System/HostComputeSystem/mod.rs | 28 +- .../Windows/Win32/System/Hypervisor/mod.rs | 16 +- .../src/Windows/Win32/System/Iis/mod.rs | 50 +- .../Win32/System/MessageQueuing/mod.rs | 882 +- .../src/Windows/Win32/System/Mmc/mod.rs | 312 +- .../src/Windows/Win32/System/Ole/mod.rs | 856 +- .../Win32/System/ParentalControls/mod.rs | 42 +- .../Windows/Win32/System/Performance/mod.rs | 784 +- .../System/RealTimeCommunications/mod.rs | 616 +- .../src/Windows/Win32/System/Recovery/mod.rs | 2 +- .../Win32/System/RemoteAssistance/mod.rs | 6 +- .../Windows/Win32/System/RemoteDesktop/mod.rs | 336 +- .../Win32/System/RemoteManagement/mod.rs | 230 +- .../src/Windows/Win32/System/Search/mod.rs | 478 +- .../Win32/System/SecurityCenter/mod.rs | 74 +- .../Windows/Win32/System/ServerBackup/mod.rs | 6 +- .../SettingsManagementInfrastructure/mod.rs | 112 +- .../src/Windows/Win32/System/SideShow/mod.rs | 26 +- .../Win32/System/SubsystemForLinux/mod.rs | 4 +- .../Win32/System/SystemInformation/mod.rs | 4 +- .../Windows/Win32/System/TaskScheduler/mod.rs | 244 +- .../src/Windows/Win32/System/Threading/mod.rs | 4 +- .../Win32/System/TransactionServer/mod.rs | 4 +- .../Windows/Win32/System/UpdateAgent/mod.rs | 1694 ++-- .../Win32/System/UpdateAssessment/mod.rs | 2 +- .../Windows/Win32/System/WinRT/AllJoyn/mod.rs | 4 +- .../Win32/System/WinRT/Composition/mod.rs | 14 +- .../Win32/System/WinRT/Direct3D11/mod.rs | 4 +- .../Windows/Win32/System/WinRT/Display/mod.rs | 8 +- .../System/WinRT/Graphics/Direct2D/mod.rs | 14 +- .../Win32/System/WinRT/Holographic/mod.rs | 8 +- .../Win32/System/WinRT/Isolation/mod.rs | 2 +- .../src/Windows/Win32/System/WinRT/ML/mod.rs | 6 +- .../src/Windows/Win32/System/WinRT/Pdf/mod.rs | 2 +- .../Win32/System/WinRT/Printing/mod.rs | 10 +- .../Windows/Win32/System/WinRT/Storage/mod.rs | 8 +- .../Windows/Win32/System/WinRT/Xaml/mod.rs | 14 +- .../src/Windows/Win32/System/WinRT/mod.rs | 96 +- .../Win32/System/WindowsProgramming/mod.rs | 22 +- .../Windows/Win32/System/WindowsSync/mod.rs | 286 +- .../src/Windows/Win32/System/Wmi/mod.rs | 482 +- .../src/Windows/Win32/UI/Accessibility/mod.rs | 3266 +++---- .../src/Windows/Win32/UI/Animation/mod.rs | 166 +- .../src/Windows/Win32/UI/ColorSystem/mod.rs | 14 +- .../Windows/Win32/UI/Controls/RichEdit/mod.rs | 892 +- .../src/Windows/Win32/UI/Controls/mod.rs | 98 +- .../windows/src/Windows/Win32/UI/HiDpi/mod.rs | 2 +- .../src/Windows/Win32/UI/Input/Ime/mod.rs | 116 +- .../src/Windows/Win32/UI/Input/Touch/mod.rs | 66 +- .../Win32/UI/InteractionContext/mod.rs | 18 +- .../LegacyWindowsEnvironmentFeatures/mod.rs | 6 +- .../src/Windows/Win32/UI/Ribbon/mod.rs | 18 +- .../src/Windows/Win32/UI/Shell/Common/mod.rs | 4 +- .../Win32/UI/Shell/PropertiesSystem/mod.rs | 446 +- .../windows/src/Windows/Win32/UI/Shell/mod.rs | 2306 ++--- .../src/Windows/Win32/UI/TabletPC/mod.rs | 700 +- .../src/Windows/Win32/UI/TextServices/mod.rs | 730 +- .../Win32/UI/WindowsAndMessaging/mod.rs | 2 +- .../windows/src/Windows/Win32/UI/Wpf/mod.rs | 110 +- .../Windows/Win32/UI/Xaml/Diagnostics/mod.rs | 46 +- .../src/Windows/Win32/Web/MsHtml/mod.rs | 7630 ++++++++--------- crates/libs/windows/src/core/bindings.rs | 150 +- crates/tests/winrt/tests/boxing.rs | 21 +- 504 files changed, 54156 insertions(+), 54151 deletions(-) diff --git a/crates/libs/bindgen/src/com_methods.rs b/crates/libs/bindgen/src/com_methods.rs index 1aae24acca..e07f05ca70 100644 --- a/crates/libs/bindgen/src/com_methods.rs +++ b/crates/libs/bindgen/src/com_methods.rs @@ -58,13 +58,12 @@ pub fn gen(gen: &Gen, def: TypeDef, kind: InterfaceKind, method: MethodDef, meth let params = gen.win32_params(leading_params, kind); let return_type = signature.params[signature.params.len() - 1].ty.deref(); let return_type_tokens = gen.type_name(&return_type); - let abi_return_type_tokens = gen.type_abi_name(&return_type); quote! { #doc #features pub unsafe fn #name<#generics>(&self, #params) -> ::windows::core::Result<#return_type_tokens> #where_clause { - let mut result__ = ::core::mem::MaybeUninit::<#abi_return_type_tokens>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)#bases.#vname)(::windows::core::Interface::as_raw(self), #args ::core::mem::transmute(result__.as_mut_ptr())) .from_abi::<#return_type_tokens>(result__ ) } diff --git a/crates/libs/bindgen/src/functions.rs b/crates/libs/bindgen/src/functions.rs index b48e197944..01281d3010 100644 --- a/crates/libs/bindgen/src/functions.rs +++ b/crates/libs/bindgen/src/functions.rs @@ -112,7 +112,6 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { let params = gen.win32_params(leading_params, kind); let return_type = signature.params[signature.params.len() - 1].ty.deref(); let return_type_tokens = gen.type_name(&return_type); - let abi_return_type_tokens = gen.type_abi_name(&return_type); quote! { #doc @@ -123,7 +122,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { extern "system" { fn #name(#(#abi_params),*) #abi_return_type; } - let mut result__ = ::core::mem::MaybeUninit::<#abi_return_type_tokens>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); #name(#args ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<#return_type_tokens>(result__) } } diff --git a/crates/libs/bindgen/src/winrt_methods.rs b/crates/libs/bindgen/src/winrt_methods.rs index a8e73f19d4..edafc11089 100644 --- a/crates/libs/bindgen/src/winrt_methods.rs +++ b/crates/libs/bindgen/src/winrt_methods.rs @@ -57,23 +57,21 @@ pub fn gen(gen: &Gen, def: TypeDef, generic_types: &[Type], kind: InterfaceKind, if return_type.is_winrt_array() { ( quote! { - let mut result__ = ::core::mem::MaybeUninit::<#return_type_tokens>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).#vname)(::windows::core::Interface::as_raw(this), #args #composable_args #return_arg) .and_then(|| result__.assume_init()) }, quote! {}, ) } else { - let abi_type_name = gen.type_abi_name(return_type); - ( quote! { - let mut result__ = ::core::mem::MaybeUninit::<#abi_type_name>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).#vname)(::windows::core::Interface::as_raw(this), #args #composable_args #return_arg) .from_abi::<#return_type_tokens>(result__ ) }, quote! { - let mut result__ = ::core::mem::MaybeUninit::<#abi_type_name>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).#vname)(::windows::core::Interface::as_raw(this), #args ::core::ptr::null_mut(), &mut ::core::option::Option::<::windows::core::IInspectable>::None as *mut _ as _, #return_arg) .from_abi::<#return_type_tokens>(result__ ) }, diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/Preview/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/Preview/mod.rs index 7ebe40286c..9ce8f0c78c 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/Preview/mod.rs @@ -321,7 +321,7 @@ impl ILearningModelVariableDescriptorPreview { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -330,7 +330,7 @@ impl ILearningModelVariableDescriptorPreview { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -339,7 +339,7 @@ impl ILearningModelVariableDescriptorPreview { pub fn ModelFeatureKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelFeatureKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -348,7 +348,7 @@ impl ILearningModelVariableDescriptorPreview { pub fn IsRequired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -528,7 +528,7 @@ impl ImageVariableDescriptorPreview { pub fn BitmapPixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -537,7 +537,7 @@ impl ImageVariableDescriptorPreview { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -546,7 +546,7 @@ impl ImageVariableDescriptorPreview { pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -555,7 +555,7 @@ impl ImageVariableDescriptorPreview { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -564,7 +564,7 @@ impl ImageVariableDescriptorPreview { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -573,7 +573,7 @@ impl ImageVariableDescriptorPreview { pub fn ModelFeatureKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelFeatureKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -582,7 +582,7 @@ impl ImageVariableDescriptorPreview { pub fn IsRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -693,7 +693,7 @@ impl InferencingOptionsPreview { pub fn PreferredDeviceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredDeviceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -708,7 +708,7 @@ impl InferencingOptionsPreview { pub fn IsTracingEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTracingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -723,7 +723,7 @@ impl InferencingOptionsPreview { pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -738,7 +738,7 @@ impl InferencingOptionsPreview { pub fn MinimizeMemoryAllocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimizeMemoryAllocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -753,7 +753,7 @@ impl InferencingOptionsPreview { pub fn ReclaimMemoryAfterEvaluation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReclaimMemoryAfterEvaluation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -848,7 +848,7 @@ impl LearningModelBindingPreview { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -887,7 +887,7 @@ impl LearningModelBindingPreview { P0: ::std::convert::Into<::windows::core::InParam<'a, LearningModelPreview>>, { Self::ILearningModelBindingPreviewFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromModel)(::windows::core::Interface::as_raw(this), model.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -899,7 +899,7 @@ impl LearningModelBindingPreview { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -908,7 +908,7 @@ impl LearningModelBindingPreview { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -920,7 +920,7 @@ impl LearningModelBindingPreview { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1081,7 +1081,7 @@ impl LearningModelDescriptionPreview { pub fn Author(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Author)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1090,7 +1090,7 @@ impl LearningModelDescriptionPreview { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1099,7 +1099,7 @@ impl LearningModelDescriptionPreview { pub fn Domain(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Domain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1108,7 +1108,7 @@ impl LearningModelDescriptionPreview { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1117,7 +1117,7 @@ impl LearningModelDescriptionPreview { pub fn Version(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1126,7 +1126,7 @@ impl LearningModelDescriptionPreview { pub fn Metadata(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Metadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1135,7 +1135,7 @@ impl LearningModelDescriptionPreview { pub fn InputFeatures(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputFeatures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1144,7 +1144,7 @@ impl LearningModelDescriptionPreview { pub fn OutputFeatures(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputFeatures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1279,7 +1279,7 @@ impl LearningModelEvaluationResultPreview { pub fn CorrelationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CorrelationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1288,7 +1288,7 @@ impl LearningModelEvaluationResultPreview { pub fn Outputs(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Outputs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1426,7 +1426,7 @@ impl LearningModelPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EvaluateAsync)(::windows::core::Interface::as_raw(this), binding.into().abi(), correlationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1440,7 +1440,7 @@ impl LearningModelPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EvaluateFeaturesAsync)(::windows::core::Interface::as_raw(this), features.try_into().map_err(|e| e.into())?.abi(), correlationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1449,7 +1449,7 @@ impl LearningModelPreview { pub fn Description(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1458,7 +1458,7 @@ impl LearningModelPreview { pub fn InferencingOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InferencingOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1479,7 +1479,7 @@ impl LearningModelPreview { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadModelFromStorageFileAsync)(::windows::core::Interface::as_raw(this), modelfile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1491,7 +1491,7 @@ impl LearningModelPreview { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadModelFromStreamAsync)(::windows::core::Interface::as_raw(this), modelstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1586,7 +1586,7 @@ impl LearningModelVariableDescriptorPreview { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1595,7 +1595,7 @@ impl LearningModelVariableDescriptorPreview { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1604,7 +1604,7 @@ impl LearningModelVariableDescriptorPreview { pub fn ModelFeatureKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelFeatureKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1613,7 +1613,7 @@ impl LearningModelVariableDescriptorPreview { pub fn IsRequired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1724,7 +1724,7 @@ impl MapVariableDescriptorPreview { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1733,7 +1733,7 @@ impl MapVariableDescriptorPreview { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1742,7 +1742,7 @@ impl MapVariableDescriptorPreview { pub fn ModelFeatureKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelFeatureKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1751,7 +1751,7 @@ impl MapVariableDescriptorPreview { pub fn IsRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1760,7 +1760,7 @@ impl MapVariableDescriptorPreview { pub fn KeyKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1769,7 +1769,7 @@ impl MapVariableDescriptorPreview { pub fn ValidStringKeys(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidStringKeys)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1778,7 +1778,7 @@ impl MapVariableDescriptorPreview { pub fn ValidIntegerKeys(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidIntegerKeys)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1787,7 +1787,7 @@ impl MapVariableDescriptorPreview { pub fn Fields(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Fields)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1898,7 +1898,7 @@ impl SequenceVariableDescriptorPreview { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1907,7 +1907,7 @@ impl SequenceVariableDescriptorPreview { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1916,7 +1916,7 @@ impl SequenceVariableDescriptorPreview { pub fn ModelFeatureKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelFeatureKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1925,7 +1925,7 @@ impl SequenceVariableDescriptorPreview { pub fn IsRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1934,7 +1934,7 @@ impl SequenceVariableDescriptorPreview { pub fn ElementType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2045,7 +2045,7 @@ impl TensorVariableDescriptorPreview { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2054,7 +2054,7 @@ impl TensorVariableDescriptorPreview { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2063,7 +2063,7 @@ impl TensorVariableDescriptorPreview { pub fn ModelFeatureKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelFeatureKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2072,7 +2072,7 @@ impl TensorVariableDescriptorPreview { pub fn IsRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2081,7 +2081,7 @@ impl TensorVariableDescriptorPreview { pub fn DataType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2090,7 +2090,7 @@ impl TensorVariableDescriptorPreview { pub fn Shape(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index 3608cdba62..914d506569 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -202,28 +202,28 @@ impl ILearningModelFeatureDescriptor { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRequired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -301,7 +301,7 @@ impl ILearningModelFeatureValue { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -606,7 +606,7 @@ impl ITensor { pub fn TensorKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -615,14 +615,14 @@ impl ITensor { pub fn Shape(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1489,7 +1489,7 @@ impl ImageFeatureDescriptor { pub fn BitmapPixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1498,56 +1498,56 @@ impl ImageFeatureDescriptor { pub fn BitmapAlphaMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapAlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelRange(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1642,7 +1642,7 @@ impl ImageFeatureValue { pub fn VideoFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1653,14 +1653,14 @@ impl ImageFeatureValue { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Media::VideoFrame>>, { Self::IImageFeatureValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromVideoFrame)(::windows::core::Interface::as_raw(this), image.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1764,35 +1764,35 @@ impl LearningModel { pub fn Author(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Author)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Domain(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Domain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Version(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1801,7 +1801,7 @@ impl LearningModel { pub fn Metadata(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Metadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1810,7 +1810,7 @@ impl LearningModel { pub fn InputFeatures(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputFeatures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1819,7 +1819,7 @@ impl LearningModel { pub fn OutputFeatures(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputFeatures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1831,7 +1831,7 @@ impl LearningModel { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromStorageFileAsync)(::windows::core::Interface::as_raw(this), modelfile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1843,7 +1843,7 @@ impl LearningModel { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromStreamAsync)(::windows::core::Interface::as_raw(this), modelstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1852,7 +1852,7 @@ impl LearningModel { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromFilePath)(::windows::core::Interface::as_raw(this), filepath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1864,7 +1864,7 @@ impl LearningModel { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromStream)(::windows::core::Interface::as_raw(this), modelstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1878,7 +1878,7 @@ impl LearningModel { E1: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromStorageFileWithOperatorProviderAsync)(::windows::core::Interface::as_raw(this), modelfile.try_into().map_err(|e| e.into())?.abi(), operatorprovider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1892,7 +1892,7 @@ impl LearningModel { E1: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromStreamWithOperatorProviderAsync)(::windows::core::Interface::as_raw(this), modelstream.try_into().map_err(|e| e.into())?.abi(), operatorprovider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1903,7 +1903,7 @@ impl LearningModel { E1: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromFilePathWithOperatorProvider)(::windows::core::Interface::as_raw(this), filepath.into().abi(), operatorprovider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1917,7 +1917,7 @@ impl LearningModel { E1: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromStreamWithOperatorProvider)(::windows::core::Interface::as_raw(this), modelstream.try_into().map_err(|e| e.into())?.abi(), operatorprovider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2020,7 +2020,7 @@ impl LearningModelBinding { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2053,7 +2053,7 @@ impl LearningModelBinding { P0: ::std::convert::Into<::windows::core::InParam<'a, LearningModelSession>>, { Self::ILearningModelBindingFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromSession)(::windows::core::Interface::as_raw(this), session.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2065,7 +2065,7 @@ impl LearningModelBinding { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2074,7 +2074,7 @@ impl LearningModelBinding { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2086,7 +2086,7 @@ impl LearningModelBinding { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2233,7 +2233,7 @@ impl LearningModelDevice { pub fn AdapterId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdapterId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2242,13 +2242,13 @@ impl LearningModelDevice { pub fn Direct3D11Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direct3D11Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(devicekind: LearningModelDeviceKind) -> ::windows::core::Result { Self::ILearningModelDeviceFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), devicekind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2260,7 +2260,7 @@ impl LearningModelDevice { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILearningModelDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDirect3D11Device)(::windows::core::Interface::as_raw(this), device.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2381,21 +2381,21 @@ impl LearningModelEvaluationResult { pub fn CorrelationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CorrelationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ErrorStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2404,7 +2404,7 @@ impl LearningModelEvaluationResult { pub fn Outputs(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Outputs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2555,14 +2555,14 @@ impl LearningModelSession { pub fn Model(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Model)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2571,7 +2571,7 @@ impl LearningModelSession { pub fn EvaluationProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EvaluationProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2584,7 +2584,7 @@ impl LearningModelSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EvaluateAsync)(::windows::core::Interface::as_raw(this), bindings.into().abi(), correlationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2598,7 +2598,7 @@ impl LearningModelSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EvaluateFeaturesAsync)(::windows::core::Interface::as_raw(this), features.try_into().map_err(|e| e.into())?.abi(), correlationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2609,7 +2609,7 @@ impl LearningModelSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Evaluate)(::windows::core::Interface::as_raw(this), bindings.into().abi(), correlationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2623,7 +2623,7 @@ impl LearningModelSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EvaluateFeatures)(::windows::core::Interface::as_raw(this), features.try_into().map_err(|e| e.into())?.abi(), correlationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2632,7 +2632,7 @@ impl LearningModelSession { P0: ::std::convert::Into<::windows::core::InParam<'a, LearningModel>>, { Self::ILearningModelSessionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromModel)(::windows::core::Interface::as_raw(this), model.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2642,7 +2642,7 @@ impl LearningModelSession { P1: ::std::convert::Into<::windows::core::InParam<'a, LearningModelDevice>>, { Self::ILearningModelSessionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromModelOnDevice)(::windows::core::Interface::as_raw(this), model.into().abi(), devicetorunon.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2653,7 +2653,7 @@ impl LearningModelSession { P2: ::std::convert::Into<::windows::core::InParam<'a, LearningModelSessionOptions>>, { Self::ILearningModelSessionFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromModelOnDeviceWithSessionOptions)(::windows::core::Interface::as_raw(this), model.into().abi(), devicetorunon.into().abi(), learningmodelsessionoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2766,7 +2766,7 @@ impl LearningModelSessionOptions { pub fn BatchSizeOverride(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BatchSizeOverride)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2777,7 +2777,7 @@ impl LearningModelSessionOptions { pub fn CloseModelOnSessionCreation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloseModelOnSessionCreation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2862,42 +2862,42 @@ impl MapFeatureDescriptor { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn KeyKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ValueDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2990,35 +2990,35 @@ impl SequenceFeatureDescriptor { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ElementDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3117,7 +3117,7 @@ impl TensorBoolean { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3126,14 +3126,14 @@ impl TensorBoolean { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3142,7 +3142,7 @@ impl TensorBoolean { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3151,13 +3151,13 @@ impl TensorBoolean { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorBooleanStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3169,7 +3169,7 @@ impl TensorBoolean { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorBooleanStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3181,7 +3181,7 @@ impl TensorBoolean { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorBooleanStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3195,13 +3195,13 @@ impl TensorBoolean { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorBooleanStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[bool]) -> ::windows::core::Result { Self::ITensorBooleanStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3213,7 +3213,7 @@ impl TensorBoolean { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorBooleanStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3385,7 +3385,7 @@ impl TensorDouble { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3394,14 +3394,14 @@ impl TensorDouble { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3410,7 +3410,7 @@ impl TensorDouble { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3419,13 +3419,13 @@ impl TensorDouble { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorDoubleStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3437,7 +3437,7 @@ impl TensorDouble { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorDoubleStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3449,7 +3449,7 @@ impl TensorDouble { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorDoubleStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3463,13 +3463,13 @@ impl TensorDouble { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorDoubleStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[f64]) -> ::windows::core::Result { Self::ITensorDoubleStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3481,7 +3481,7 @@ impl TensorDouble { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorDoubleStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3647,35 +3647,35 @@ impl TensorFeatureDescriptor { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3684,7 +3684,7 @@ impl TensorFeatureDescriptor { pub fn Shape(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3783,7 +3783,7 @@ impl TensorFloat { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3792,14 +3792,14 @@ impl TensorFloat { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3808,7 +3808,7 @@ impl TensorFloat { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3817,13 +3817,13 @@ impl TensorFloat { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorFloatStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3835,7 +3835,7 @@ impl TensorFloat { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorFloatStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3847,7 +3847,7 @@ impl TensorFloat { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorFloatStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3861,13 +3861,13 @@ impl TensorFloat { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorFloatStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[f32]) -> ::windows::core::Result { Self::ITensorFloatStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3879,7 +3879,7 @@ impl TensorFloat { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorFloatStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4051,7 +4051,7 @@ impl TensorFloat16Bit { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4060,14 +4060,14 @@ impl TensorFloat16Bit { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4076,7 +4076,7 @@ impl TensorFloat16Bit { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4085,13 +4085,13 @@ impl TensorFloat16Bit { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorFloat16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4103,7 +4103,7 @@ impl TensorFloat16Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorFloat16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4115,7 +4115,7 @@ impl TensorFloat16Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorFloat16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4129,13 +4129,13 @@ impl TensorFloat16Bit { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorFloat16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[f32]) -> ::windows::core::Result { Self::ITensorFloat16BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4147,7 +4147,7 @@ impl TensorFloat16Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorFloat16BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4319,7 +4319,7 @@ impl TensorInt16Bit { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4328,14 +4328,14 @@ impl TensorInt16Bit { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4344,7 +4344,7 @@ impl TensorInt16Bit { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4353,13 +4353,13 @@ impl TensorInt16Bit { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorInt16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4371,7 +4371,7 @@ impl TensorInt16Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4383,7 +4383,7 @@ impl TensorInt16Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4397,13 +4397,13 @@ impl TensorInt16Bit { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[i16]) -> ::windows::core::Result { Self::ITensorInt16BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4415,7 +4415,7 @@ impl TensorInt16Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt16BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4587,7 +4587,7 @@ impl TensorInt32Bit { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4596,14 +4596,14 @@ impl TensorInt32Bit { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4612,7 +4612,7 @@ impl TensorInt32Bit { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4621,13 +4621,13 @@ impl TensorInt32Bit { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorInt32BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4639,7 +4639,7 @@ impl TensorInt32Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt32BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4651,7 +4651,7 @@ impl TensorInt32Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt32BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4665,13 +4665,13 @@ impl TensorInt32Bit { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt32BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[i32]) -> ::windows::core::Result { Self::ITensorInt32BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4683,7 +4683,7 @@ impl TensorInt32Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt32BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4855,7 +4855,7 @@ impl TensorInt64Bit { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4864,14 +4864,14 @@ impl TensorInt64Bit { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4880,7 +4880,7 @@ impl TensorInt64Bit { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4889,13 +4889,13 @@ impl TensorInt64Bit { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorInt64BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4907,7 +4907,7 @@ impl TensorInt64Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt64BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4919,7 +4919,7 @@ impl TensorInt64Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt64BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4933,13 +4933,13 @@ impl TensorInt64Bit { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt64BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[i64]) -> ::windows::core::Result { Self::ITensorInt64BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4951,7 +4951,7 @@ impl TensorInt64Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt64BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5123,7 +5123,7 @@ impl TensorInt8Bit { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5132,14 +5132,14 @@ impl TensorInt8Bit { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5148,7 +5148,7 @@ impl TensorInt8Bit { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5157,13 +5157,13 @@ impl TensorInt8Bit { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorInt8BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5175,7 +5175,7 @@ impl TensorInt8Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt8BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5187,7 +5187,7 @@ impl TensorInt8Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt8BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5201,13 +5201,13 @@ impl TensorInt8Bit { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt8BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u8]) -> ::windows::core::Result { Self::ITensorInt8BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5219,7 +5219,7 @@ impl TensorInt8Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorInt8BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5439,7 +5439,7 @@ impl TensorString { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5448,14 +5448,14 @@ impl TensorString { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5464,7 +5464,7 @@ impl TensorString { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5473,13 +5473,13 @@ impl TensorString { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorStringStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5491,7 +5491,7 @@ impl TensorString { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorStringStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5503,7 +5503,7 @@ impl TensorString { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorStringStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5517,13 +5517,13 @@ impl TensorString { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorStringStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[::windows::core::HSTRING]) -> ::windows::core::Result { Self::ITensorStringStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5695,7 +5695,7 @@ impl TensorUInt16Bit { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5704,14 +5704,14 @@ impl TensorUInt16Bit { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5720,7 +5720,7 @@ impl TensorUInt16Bit { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5729,13 +5729,13 @@ impl TensorUInt16Bit { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorUInt16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5747,7 +5747,7 @@ impl TensorUInt16Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5759,7 +5759,7 @@ impl TensorUInt16Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5773,13 +5773,13 @@ impl TensorUInt16Bit { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt16BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u16]) -> ::windows::core::Result { Self::ITensorUInt16BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5791,7 +5791,7 @@ impl TensorUInt16Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt16BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5963,7 +5963,7 @@ impl TensorUInt32Bit { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5972,14 +5972,14 @@ impl TensorUInt32Bit { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5988,7 +5988,7 @@ impl TensorUInt32Bit { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5997,13 +5997,13 @@ impl TensorUInt32Bit { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorUInt32BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6015,7 +6015,7 @@ impl TensorUInt32Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt32BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6027,7 +6027,7 @@ impl TensorUInt32Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt32BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6041,13 +6041,13 @@ impl TensorUInt32Bit { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt32BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u32]) -> ::windows::core::Result { Self::ITensorUInt32BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6059,7 +6059,7 @@ impl TensorUInt32Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt32BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6231,7 +6231,7 @@ impl TensorUInt64Bit { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6240,14 +6240,14 @@ impl TensorUInt64Bit { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6256,7 +6256,7 @@ impl TensorUInt64Bit { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6265,13 +6265,13 @@ impl TensorUInt64Bit { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorUInt64BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6283,7 +6283,7 @@ impl TensorUInt64Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt64BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6295,7 +6295,7 @@ impl TensorUInt64Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt64BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6309,13 +6309,13 @@ impl TensorUInt64Bit { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt64BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u64]) -> ::windows::core::Result { Self::ITensorUInt64BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6327,7 +6327,7 @@ impl TensorUInt64Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt64BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6499,7 +6499,7 @@ impl TensorUInt8Bit { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6508,14 +6508,14 @@ impl TensorUInt8Bit { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TensorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TensorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6524,7 +6524,7 @@ impl TensorUInt8Bit { pub fn Shape(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6533,13 +6533,13 @@ impl TensorUInt8Bit { pub fn GetAsVectorView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsVectorView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Create() -> ::windows::core::Result { Self::ITensorUInt8BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6551,7 +6551,7 @@ impl TensorUInt8Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt8BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create2)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6563,7 +6563,7 @@ impl TensorUInt8Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt8BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromArray)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6577,13 +6577,13 @@ impl TensorUInt8Bit { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt8BitStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIterable)(::windows::core::Interface::as_raw(this), shape.try_into().map_err(|e| e.into())?.abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u8]) -> ::windows::core::Result { Self::ITensorUInt8BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), data.len() as u32, ::core::mem::transmute(data.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6595,7 +6595,7 @@ impl TensorUInt8Bit { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITensorUInt8BitStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), shape.len() as u32, ::core::mem::transmute(shape.as_ptr()), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs index 6c3f8faf34..9c65aaacca 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs @@ -118,21 +118,21 @@ impl AppointmentsProviderAddAppointmentActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -141,14 +141,14 @@ impl AppointmentsProviderAddAppointmentActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -157,7 +157,7 @@ impl AppointmentsProviderAddAppointmentActivatedEventArgs { pub fn AddAppointmentOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddAppointmentOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -307,21 +307,21 @@ impl AppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -330,14 +330,14 @@ impl AppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -346,7 +346,7 @@ impl AppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn RemoveAppointmentOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveAppointmentOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -496,21 +496,21 @@ impl AppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -519,14 +519,14 @@ impl AppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -535,7 +535,7 @@ impl AppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn ReplaceAppointmentOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceAppointmentOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -685,21 +685,21 @@ impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -708,14 +708,14 @@ impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -724,21 +724,21 @@ impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn InstanceStartDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceStartDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn LocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RoamingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -888,21 +888,21 @@ impl AppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -911,14 +911,14 @@ impl AppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -927,7 +927,7 @@ impl AppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn TimeToShow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeToShow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -936,7 +936,7 @@ impl AppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1088,7 +1088,7 @@ impl BackgroundActivatedEventArgs { pub fn TaskInstance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskInstance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1181,21 +1181,21 @@ impl BarcodeScannerPreviewActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1204,14 +1204,14 @@ impl BarcodeScannerPreviewActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConnectionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1342,21 +1342,21 @@ impl CachedFileUpdaterActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1365,7 +1365,7 @@ impl CachedFileUpdaterActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1374,7 +1374,7 @@ impl CachedFileUpdaterActivatedEventArgs { pub fn CachedFileUpdaterUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CachedFileUpdaterUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1505,35 +1505,35 @@ impl CameraSettingsActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoDeviceController(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn VideoDeviceExtension(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceExtension)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1645,21 +1645,21 @@ impl CommandLineActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1668,14 +1668,14 @@ impl CommandLineActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1806,14 +1806,14 @@ impl CommandLineActivationOperation { pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CurrentDirectoryPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentDirectoryPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1824,7 +1824,7 @@ impl CommandLineActivationOperation { pub fn ExitCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExitCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1833,7 +1833,7 @@ impl CommandLineActivationOperation { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1907,42 +1907,42 @@ impl ContactCallActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1951,7 +1951,7 @@ impl ContactCallActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2082,28 +2082,28 @@ impl ContactMapActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2112,7 +2112,7 @@ impl ContactMapActivatedEventArgs { pub fn Address(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2121,7 +2121,7 @@ impl ContactMapActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2252,42 +2252,42 @@ impl ContactMessageActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2296,7 +2296,7 @@ impl ContactMessageActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2427,21 +2427,21 @@ impl ContactPanelActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2450,7 +2450,7 @@ impl ContactPanelActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2459,7 +2459,7 @@ impl ContactPanelActivatedEventArgs { pub fn ContactPanel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactPanel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2468,7 +2468,7 @@ impl ContactPanelActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2599,21 +2599,21 @@ impl ContactPickerActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2622,7 +2622,7 @@ impl ContactPickerActivatedEventArgs { pub fn ContactPickerUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactPickerUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2734,42 +2734,42 @@ impl ContactPostActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2778,7 +2778,7 @@ impl ContactPostActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2909,42 +2909,42 @@ impl ContactVideoCallActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2953,7 +2953,7 @@ impl ContactVideoCallActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3084,21 +3084,21 @@ impl DeviceActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3107,28 +3107,28 @@ impl DeviceActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceInformationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3137,7 +3137,7 @@ impl DeviceActivatedEventArgs { pub fn ViewSwitcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3306,21 +3306,21 @@ impl DevicePairingActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3329,7 +3329,7 @@ impl DevicePairingActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3338,7 +3338,7 @@ impl DevicePairingActivatedEventArgs { pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3469,21 +3469,21 @@ impl DialReceiverActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3492,35 +3492,35 @@ impl DialReceiverActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3529,7 +3529,7 @@ impl DialReceiverActivatedEventArgs { pub fn ViewSwitcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3717,21 +3717,21 @@ impl FileActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3740,14 +3740,14 @@ impl FileActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3756,21 +3756,21 @@ impl FileActivatedEventArgs { pub fn Files(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3779,7 +3779,7 @@ impl FileActivatedEventArgs { pub fn NeighboringFilesQuery(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringFilesQuery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3788,7 +3788,7 @@ impl FileActivatedEventArgs { pub fn ViewSwitcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3995,21 +3995,21 @@ impl FileOpenPickerActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4018,7 +4018,7 @@ impl FileOpenPickerActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4027,14 +4027,14 @@ impl FileOpenPickerActivatedEventArgs { pub fn FileOpenPickerUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileOpenPickerUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4186,21 +4186,21 @@ impl FileOpenPickerContinuationEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4209,7 +4209,7 @@ impl FileOpenPickerContinuationEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4218,7 +4218,7 @@ impl FileOpenPickerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4227,7 +4227,7 @@ impl FileOpenPickerContinuationEventArgs { pub fn Files(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4404,21 +4404,21 @@ impl FileSavePickerActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4427,7 +4427,7 @@ impl FileSavePickerActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4436,21 +4436,21 @@ impl FileSavePickerActivatedEventArgs { pub fn FileSavePickerUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileSavePickerUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4602,21 +4602,21 @@ impl FileSavePickerContinuationEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4625,7 +4625,7 @@ impl FileSavePickerContinuationEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4634,7 +4634,7 @@ impl FileSavePickerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4643,7 +4643,7 @@ impl FileSavePickerContinuationEventArgs { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4822,21 +4822,21 @@ impl FolderPickerContinuationEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4845,7 +4845,7 @@ impl FolderPickerContinuationEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4854,7 +4854,7 @@ impl FolderPickerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4863,7 +4863,7 @@ impl FolderPickerContinuationEventArgs { pub fn Folder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5040,21 +5040,21 @@ impl IActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5133,28 +5133,28 @@ impl IActivatedEventArgsWithUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5251,28 +5251,28 @@ impl IApplicationViewActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5366,28 +5366,28 @@ impl IAppointmentsProviderActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5483,35 +5483,35 @@ impl IAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn AddAppointmentOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddAppointmentOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5629,35 +5629,35 @@ impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn RemoveAppointmentOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveAppointmentOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5775,35 +5775,35 @@ impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn ReplaceAppointmentOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceAppointmentOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5921,49 +5921,49 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn InstanceStartDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceStartDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn LocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RoamingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6083,7 +6083,7 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn TimeToShow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeToShow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6092,35 +6092,35 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6242,7 +6242,7 @@ impl IBackgroundActivatedEventArgs { pub fn TaskInstance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskInstance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6320,28 +6320,28 @@ impl IBarcodeScannerPreviewActivatedEventArgs { pub fn ConnectionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6437,28 +6437,28 @@ impl ICachedFileUpdaterActivatedEventArgs { pub fn CachedFileUpdaterUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CachedFileUpdaterUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6555,35 +6555,35 @@ impl ICameraSettingsActivatedEventArgs { pub fn VideoDeviceController(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn VideoDeviceExtension(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceExtension)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6678,28 +6678,28 @@ impl ICommandLineActivatedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6813,28 +6813,28 @@ impl IContactActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6928,14 +6928,14 @@ impl IContactCallActivatedEventArgs { pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6944,35 +6944,35 @@ impl IContactCallActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7092,7 +7092,7 @@ impl IContactMapActivatedEventArgs { pub fn Address(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7101,35 +7101,35 @@ impl IContactMapActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7249,14 +7249,14 @@ impl IContactMessageActivatedEventArgs { pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7265,35 +7265,35 @@ impl IContactMessageActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7413,7 +7413,7 @@ impl IContactPanelActivatedEventArgs { pub fn ContactPanel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactPanel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7422,7 +7422,7 @@ impl IContactPanelActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7506,28 +7506,28 @@ impl IContactPickerActivatedEventArgs { pub fn ContactPickerUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactPickerUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7624,14 +7624,14 @@ impl IContactPostActivatedEventArgs { pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7640,35 +7640,35 @@ impl IContactPostActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7786,14 +7786,14 @@ impl IContactVideoCallActivatedEventArgs { pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7802,35 +7802,35 @@ impl IContactVideoCallActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7948,28 +7948,28 @@ impl IContactsProviderActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8065,28 +8065,28 @@ impl IContinuationActivatedEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8183,35 +8183,35 @@ impl IDeviceActivatedEventArgs { pub fn DeviceInformationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8308,28 +8308,28 @@ impl IDevicePairingActivatedEventArgs { pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8426,42 +8426,42 @@ impl IDialReceiverActivatedEventArgs { pub fn AppName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8576,35 +8576,35 @@ impl IFileActivatedEventArgs { pub fn Files(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8702,28 +8702,28 @@ impl IFileActivatedEventArgsWithCallerPackageFamilyName { pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8819,28 +8819,28 @@ impl IFileActivatedEventArgsWithNeighboringFiles { pub fn NeighboringFilesQuery(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringFilesQuery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8849,14 +8849,14 @@ impl IFileActivatedEventArgsWithNeighboringFiles { pub fn Files(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8974,28 +8974,28 @@ impl IFileOpenPickerActivatedEventArgs { pub fn FileOpenPickerUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileOpenPickerUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9092,7 +9092,7 @@ impl IFileOpenPickerActivatedEventArgs2 { pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9171,28 +9171,28 @@ impl IFileOpenPickerContinuationEventArgs { pub fn Files(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9201,7 +9201,7 @@ impl IFileOpenPickerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9338,28 +9338,28 @@ impl IFileSavePickerActivatedEventArgs { pub fn FileSavePickerUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileSavePickerUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9456,14 +9456,14 @@ impl IFileSavePickerActivatedEventArgs2 { pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9543,28 +9543,28 @@ impl IFileSavePickerContinuationEventArgs { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9573,7 +9573,7 @@ impl IFileSavePickerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9712,28 +9712,28 @@ impl IFolderPickerContinuationEventArgs { pub fn Folder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9742,7 +9742,7 @@ impl IFolderPickerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9877,35 +9877,35 @@ impl ILaunchActivatedEventArgs { pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10000,42 +10000,42 @@ impl ILaunchActivatedEventArgs2 { pub fn TileActivatedInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileActivatedInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10148,28 +10148,28 @@ impl ILockScreenActivatedEventArgs { pub fn Info(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Info)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10265,42 +10265,42 @@ impl ILockScreenCallActivatedEventArgs { pub fn CallUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10416,28 +10416,28 @@ impl IPhoneCallActivatedEventArgs { pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10531,28 +10531,28 @@ impl IPickerReturnedActivatedEventArgs { pub fn PickerOperationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickerOperationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10646,28 +10646,28 @@ impl IPrelaunchActivatedEventArgs { pub fn PrelaunchActivated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrelaunchActivated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10763,28 +10763,28 @@ impl IPrint3DWorkflowActivatedEventArgs { pub fn Workflow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Workflow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10883,28 +10883,28 @@ impl IPrintTaskSettingsActivatedEventArgs { pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11003,28 +11003,28 @@ impl IProtocolActivatedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11121,7 +11121,7 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11130,28 +11130,28 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11251,28 +11251,28 @@ impl IProtocolForResultsActivatedEventArgs { pub fn ProtocolForResultsOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolForResultsOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11369,28 +11369,28 @@ impl IRestrictedLaunchActivatedEventArgs { pub fn SharedContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11484,35 +11484,35 @@ impl ISearchActivatedEventArgs { pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11609,7 +11609,7 @@ impl ISearchActivatedEventArgsWithLinguisticDetails { pub fn LinguisticDetails(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11689,28 +11689,28 @@ impl IShareTargetActivatedEventArgs { pub fn ShareOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11831,28 +11831,28 @@ impl IStartupTaskActivatedEventArgs { pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11962,7 +11962,7 @@ impl IToastNotificationActivatedEventArgs { pub fn Argument(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Argument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11971,28 +11971,28 @@ impl IToastNotificationActivatedEventArgs { pub fn UserInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12092,28 +12092,28 @@ impl IUserDataAccountProviderActivatedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12212,28 +12212,28 @@ impl IViewSwitcherProvider { pub fn ViewSwitcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12332,28 +12332,28 @@ impl IVoiceCommandActivatedEventArgs { pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12450,7 +12450,7 @@ impl IWalletActionActivatedEventArgs { pub fn ItemId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12459,35 +12459,35 @@ impl IWalletActionActivatedEventArgs { pub fn ActionKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActionKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12588,28 +12588,28 @@ impl IWebAccountProviderActivatedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12708,28 +12708,28 @@ impl IWebAuthenticationBrokerContinuationEventArgs { pub fn WebAuthenticationResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAuthenticationResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12738,7 +12738,7 @@ impl IWebAuthenticationBrokerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12854,21 +12854,21 @@ impl LaunchActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12877,42 +12877,42 @@ impl LaunchActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TileActivatedInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileActivatedInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PrelaunchActivated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrelaunchActivated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12921,7 +12921,7 @@ impl LaunchActivatedEventArgs { pub fn ViewSwitcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13128,21 +13128,21 @@ impl LockScreenActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13151,14 +13151,14 @@ impl LockScreenActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Info(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Info)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -13289,42 +13289,42 @@ impl LockScreenCallActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13333,7 +13333,7 @@ impl LockScreenCallActivatedEventArgs { pub fn CallUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13342,7 +13342,7 @@ impl LockScreenCallActivatedEventArgs { pub fn ViewSwitcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13511,21 +13511,21 @@ impl LockScreenComponentActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13618,21 +13618,21 @@ impl PhoneCallActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13641,14 +13641,14 @@ impl PhoneCallActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -13779,28 +13779,28 @@ impl PickerReturnedActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PickerOperationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickerOperationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13912,21 +13912,21 @@ impl Print3DWorkflowActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13935,7 +13935,7 @@ impl Print3DWorkflowActivatedEventArgs { pub fn Workflow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Workflow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14047,21 +14047,21 @@ impl PrintTaskSettingsActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14070,7 +14070,7 @@ impl PrintTaskSettingsActivatedEventArgs { pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14182,21 +14182,21 @@ impl ProtocolActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14205,14 +14205,14 @@ impl ProtocolActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14221,14 +14221,14 @@ impl ProtocolActivatedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -14237,7 +14237,7 @@ impl ProtocolActivatedEventArgs { pub fn Data(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14246,7 +14246,7 @@ impl ProtocolActivatedEventArgs { pub fn ViewSwitcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14434,21 +14434,21 @@ impl ProtocolForResultsActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14457,14 +14457,14 @@ impl ProtocolForResultsActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14473,14 +14473,14 @@ impl ProtocolForResultsActivatedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -14489,7 +14489,7 @@ impl ProtocolForResultsActivatedEventArgs { pub fn Data(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14498,7 +14498,7 @@ impl ProtocolForResultsActivatedEventArgs { pub fn ProtocolForResultsOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolForResultsOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14507,7 +14507,7 @@ impl ProtocolForResultsActivatedEventArgs { pub fn ViewSwitcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14714,21 +14714,21 @@ impl RestrictedLaunchActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14737,14 +14737,14 @@ impl RestrictedLaunchActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SharedContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -14875,21 +14875,21 @@ impl SearchActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14898,28 +14898,28 @@ impl SearchActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -14928,7 +14928,7 @@ impl SearchActivatedEventArgs { pub fn LinguisticDetails(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14937,7 +14937,7 @@ impl SearchActivatedEventArgs { pub fn ViewSwitcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSwitcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15125,21 +15125,21 @@ impl ShareTargetActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15148,7 +15148,7 @@ impl ShareTargetActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15157,7 +15157,7 @@ impl ShareTargetActivatedEventArgs { pub fn ShareOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15290,7 +15290,7 @@ impl SplashScreen { pub fn ImageLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15302,7 +15302,7 @@ impl SplashScreen { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dismissed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15380,21 +15380,21 @@ impl StartupTaskActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15403,14 +15403,14 @@ impl StartupTaskActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -15543,7 +15543,7 @@ impl TileActivatedInfo { pub fn RecentlyShownNotifications(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecentlyShownNotifications)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -15617,21 +15617,21 @@ impl ToastNotificationActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15640,21 +15640,21 @@ impl ToastNotificationActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Argument(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Argument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -15663,7 +15663,7 @@ impl ToastNotificationActivatedEventArgs { pub fn UserInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15813,21 +15813,21 @@ impl UserDataAccountProviderActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15836,7 +15836,7 @@ impl UserDataAccountProviderActivatedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15948,21 +15948,21 @@ impl VoiceCommandActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15971,7 +15971,7 @@ impl VoiceCommandActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15980,7 +15980,7 @@ impl VoiceCommandActivatedEventArgs { pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16111,28 +16111,28 @@ impl WalletActionActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ItemId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -16141,14 +16141,14 @@ impl WalletActionActivatedEventArgs { pub fn ActionKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActionKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -16260,21 +16260,21 @@ impl WebAccountProviderActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16283,7 +16283,7 @@ impl WebAccountProviderActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16292,7 +16292,7 @@ impl WebAccountProviderActivatedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16423,21 +16423,21 @@ impl WebAuthenticationBrokerContinuationEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16446,7 +16446,7 @@ impl WebAuthenticationBrokerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16455,7 +16455,7 @@ impl WebAuthenticationBrokerContinuationEventArgs { pub fn WebAuthenticationResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAuthenticationResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs index d2011b867e..ec456547e6 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs @@ -5,35 +5,35 @@ impl AppExtension { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42,7 +42,7 @@ impl AppExtension { pub fn GetExtensionPropertiesAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetExtensionPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -51,14 +51,14 @@ impl AppExtension { pub fn GetPublicFolderAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPublicFolderAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AppUserModelId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppUserModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -134,7 +134,7 @@ impl AppExtensionCatalog { pub fn FindAllAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -146,7 +146,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestRemovePackageAsync)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -158,7 +158,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageInstalled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -176,7 +176,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageUpdating)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -194,7 +194,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -212,7 +212,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageUninstalling)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -230,7 +230,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -245,7 +245,7 @@ impl AppExtensionCatalog { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppExtensionCatalogStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Open)(::windows::core::Interface::as_raw(this), appextensionname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -322,14 +322,14 @@ impl AppExtensionPackageInstalledEventArgs { pub fn AppExtensionName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppExtensionName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -338,7 +338,7 @@ impl AppExtensionPackageInstalledEventArgs { pub fn Extensions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Extensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -412,14 +412,14 @@ impl AppExtensionPackageStatusChangedEventArgs { pub fn AppExtensionName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppExtensionName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -493,14 +493,14 @@ impl AppExtensionPackageUninstallingEventArgs { pub fn AppExtensionName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppExtensionName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -574,14 +574,14 @@ impl AppExtensionPackageUpdatedEventArgs { pub fn AppExtensionName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppExtensionName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -590,7 +590,7 @@ impl AppExtensionPackageUpdatedEventArgs { pub fn Extensions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Extensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -664,14 +664,14 @@ impl AppExtensionPackageUpdatingEventArgs { pub fn AppExtensionName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppExtensionName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs index 415ad0dd40..8efec43685 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs @@ -8,7 +8,7 @@ impl AppServiceCatalog { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppServiceCatalogStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAppServiceProvidersAsync)(::windows::core::Interface::as_raw(this), appservicename.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -28,7 +28,7 @@ impl AppServiceClosedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -145,7 +145,7 @@ impl AppServiceConnection { pub fn AppServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -159,7 +159,7 @@ impl AppServiceConnection { pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -175,7 +175,7 @@ impl AppServiceConnection { pub fn OpenAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -187,7 +187,7 @@ impl AppServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendMessageAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -199,7 +199,7 @@ impl AppServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -217,7 +217,7 @@ impl AppServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceClosed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -235,7 +235,7 @@ impl AppServiceConnection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenRemoteAsync)(::windows::core::Interface::as_raw(this), remotesystemconnectionrequest.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -244,7 +244,7 @@ impl AppServiceConnection { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -266,7 +266,7 @@ impl AppServiceConnection { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Collections::ValueSet>>, { Self::IAppServiceConnectionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendStatelessMessageAsync)(::windows::core::Interface::as_raw(this), connection.into().abi(), connectionrequest.into().abi(), message.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -490,7 +490,7 @@ impl AppServiceRequest { pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -502,7 +502,7 @@ impl AppServiceRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendResponseAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -576,14 +576,14 @@ impl AppServiceRequestReceivedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -659,14 +659,14 @@ impl AppServiceResponse { pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -783,28 +783,28 @@ impl AppServiceTriggerDetails { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppServiceConnection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppServiceConnection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRemoteSystemConnection(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRemoteSystemConnection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -816,14 +816,14 @@ impl AppServiceTriggerDetails { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckCallerForCapabilityAsync)(::windows::core::Interface::as_raw(this), capabilityname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CallerRemoteConnectionToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerRemoteConnectionToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1146,14 +1146,14 @@ impl StatelessAppServiceResponse { pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs index c58733b3d0..1a9876e34f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs @@ -5,14 +5,14 @@ impl AddAppointmentOperation { pub fn AppointmentInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourcePackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourcePackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -106,31 +106,31 @@ pub struct AppointmentsProviderLaunchActionVerbs; impl AppointmentsProviderLaunchActionVerbs { pub fn AddAppointment() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddAppointment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ReplaceAppointment() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceAppointment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RemoveAppointment() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveAppointment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ShowTimeFrame() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowTimeFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ShowAppointmentDetails() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentsProviderLaunchActionVerbsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAppointmentDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -247,7 +247,7 @@ impl RemoveAppointmentOperation { pub fn AppointmentId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -256,14 +256,14 @@ impl RemoveAppointmentOperation { pub fn InstanceStartDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceStartDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SourcePackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourcePackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -356,14 +356,14 @@ impl ReplaceAppointmentOperation { pub fn AppointmentId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppointmentInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -372,14 +372,14 @@ impl ReplaceAppointmentOperation { pub fn InstanceStartDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceStartDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SourcePackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourcePackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs index 3eb91232b4..86f2699010 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs @@ -5,14 +5,14 @@ impl AppointmentCalendarCancelMeetingRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentCalendarLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppointmentLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -21,28 +21,28 @@ impl AppointmentCalendarCancelMeetingRequest { pub fn AppointmentOriginalStartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentOriginalStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NotifyInvitees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotifyInvitees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -51,7 +51,7 @@ impl AppointmentCalendarCancelMeetingRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -60,7 +60,7 @@ impl AppointmentCalendarCancelMeetingRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -134,7 +134,7 @@ impl AppointmentCalendarCancelMeetingRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -143,7 +143,7 @@ impl AppointmentCalendarCancelMeetingRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -217,21 +217,21 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentCalendarLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Appointment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Appointment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NotifyInvitees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotifyInvitees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -240,7 +240,7 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequest { pub fn ChangedProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -252,7 +252,7 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), createdorupdatedappointment.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -261,7 +261,7 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -335,7 +335,7 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -344,7 +344,7 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -418,14 +418,14 @@ impl AppointmentCalendarForwardMeetingRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentCalendarLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppointmentLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -434,7 +434,7 @@ impl AppointmentCalendarForwardMeetingRequest { pub fn AppointmentOriginalStartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentOriginalStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -443,28 +443,28 @@ impl AppointmentCalendarForwardMeetingRequest { pub fn Invitees(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invitees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ForwardHeader(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForwardHeader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -473,7 +473,7 @@ impl AppointmentCalendarForwardMeetingRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -482,7 +482,7 @@ impl AppointmentCalendarForwardMeetingRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -556,7 +556,7 @@ impl AppointmentCalendarForwardMeetingRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -565,7 +565,7 @@ impl AppointmentCalendarForwardMeetingRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -639,14 +639,14 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentCalendarLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppointmentLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -655,7 +655,7 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequest { pub fn AppointmentOriginalStartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentOriginalStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -664,7 +664,7 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequest { pub fn NewStartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -673,21 +673,21 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequest { pub fn NewDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -696,7 +696,7 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -705,7 +705,7 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -779,7 +779,7 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -788,7 +788,7 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -862,7 +862,7 @@ impl AppointmentCalendarSyncManagerSyncRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentCalendarLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -871,7 +871,7 @@ impl AppointmentCalendarSyncManagerSyncRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -880,7 +880,7 @@ impl AppointmentCalendarSyncManagerSyncRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -954,7 +954,7 @@ impl AppointmentCalendarSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -963,7 +963,7 @@ impl AppointmentCalendarSyncManagerSyncRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1037,14 +1037,14 @@ impl AppointmentCalendarUpdateMeetingResponseRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentCalendarLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppointmentLocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentLocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1053,35 +1053,35 @@ impl AppointmentCalendarUpdateMeetingResponseRequest { pub fn AppointmentOriginalStartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentOriginalStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Response(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Response)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SendUpdate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendUpdate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1090,7 +1090,7 @@ impl AppointmentCalendarUpdateMeetingResponseRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1099,7 +1099,7 @@ impl AppointmentCalendarUpdateMeetingResponseRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1173,7 +1173,7 @@ impl AppointmentCalendarUpdateMeetingResponseRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1182,7 +1182,7 @@ impl AppointmentCalendarUpdateMeetingResponseRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1261,7 +1261,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1279,7 +1279,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOrUpdateAppointmentRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1297,7 +1297,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CancelMeetingRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1315,7 +1315,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForwardMeetingRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1333,7 +1333,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProposeNewTimeForMeetingRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1351,7 +1351,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateMeetingResponseRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1435,7 +1435,7 @@ impl AppointmentDataProviderTriggerDetails { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index bca4586de3..9031fb61ed 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -18,7 +18,7 @@ impl Appointment { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33,7 +33,7 @@ impl Appointment { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -46,7 +46,7 @@ impl Appointment { pub fn Location(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Location)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -60,7 +60,7 @@ impl Appointment { pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -74,7 +74,7 @@ impl Appointment { pub fn Details(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Details)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -90,7 +90,7 @@ impl Appointment { pub fn Reminder(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reminder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -107,7 +107,7 @@ impl Appointment { pub fn Organizer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Organizer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -123,14 +123,14 @@ impl Appointment { pub fn Invitees(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invitees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Recurrence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recurrence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -144,7 +144,7 @@ impl Appointment { pub fn BusyStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BusyStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -155,7 +155,7 @@ impl Appointment { pub fn AllDay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllDay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -166,7 +166,7 @@ impl Appointment { pub fn Sensitivity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sensitivity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -179,7 +179,7 @@ impl Appointment { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -195,21 +195,21 @@ impl Appointment { pub fn LocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CalendarId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalendarId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RoamingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -225,14 +225,14 @@ impl Appointment { pub fn OriginalStartTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsResponseRequested(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsResponseRequested)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -243,7 +243,7 @@ impl Appointment { pub fn AllowNewTimeProposal(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowNewTimeProposal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -254,7 +254,7 @@ impl Appointment { pub fn OnlineMeetingLink(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OnlineMeetingLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -270,7 +270,7 @@ impl Appointment { pub fn ReplyTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplyTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -287,7 +287,7 @@ impl Appointment { pub fn UserResponse(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserResponse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -298,14 +298,14 @@ impl Appointment { pub fn HasInvitees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasInvitees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCanceledMeeting(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceledMeeting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -316,7 +316,7 @@ impl Appointment { pub fn IsOrganizedByUser(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOrganizedByUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -327,14 +327,14 @@ impl Appointment { pub fn ChangeNumber(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoteChangeNumber(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteChangeNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -345,7 +345,7 @@ impl Appointment { pub fn DetailsKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetailsKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -462,14 +462,14 @@ impl AppointmentCalendar { pub fn DisplayColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -483,21 +483,21 @@ impl AppointmentCalendar { pub fn LocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsHidden(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHidden)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OtherAppReadAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppReadAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -508,7 +508,7 @@ impl AppointmentCalendar { pub fn OtherAppWriteAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppWriteAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -519,14 +519,14 @@ impl AppointmentCalendar { pub fn SourceDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SummaryCardView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SummaryCardView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -539,7 +539,7 @@ impl AppointmentCalendar { pub fn FindAppointmentsAsync(&self, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAppointmentsAsync)(::windows::core::Interface::as_raw(this), rangestart, rangelength, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -551,7 +551,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAppointmentsAsyncWithOptions)(::windows::core::Interface::as_raw(this), rangestart, rangelength, options.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -563,7 +563,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindExceptionsFromMasterAsync)(::windows::core::Interface::as_raw(this), masterlocalid.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -575,7 +575,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllInstancesAsync)(::windows::core::Interface::as_raw(this), masterlocalid.into().abi(), rangestart, rangelength, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -588,7 +588,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllInstancesAsyncWithOptions)(::windows::core::Interface::as_raw(this), masterlocalid.into().abi(), rangestart, rangelength, poptions.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -600,7 +600,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppointmentAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -612,7 +612,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppointmentInstanceAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), instancestarttime, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -621,7 +621,7 @@ impl AppointmentCalendar { pub fn FindUnexpandedAppointmentsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindUnexpandedAppointmentsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -633,7 +633,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindUnexpandedAppointmentsAsyncWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -642,7 +642,7 @@ impl AppointmentCalendar { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -651,7 +651,7 @@ impl AppointmentCalendar { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -663,7 +663,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAppointmentAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -675,7 +675,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAppointmentInstanceAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), instancestarttime, result__.as_mut_ptr()).from_abi::(result__) } } @@ -687,21 +687,21 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAppointmentAsync)(::windows::core::Interface::as_raw(this), pappointment.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SyncManager(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -725,14 +725,14 @@ impl AppointmentCalendar { pub fn UserDataAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDataAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CanCreateOrUpdateAppointments(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCreateOrUpdateAppointments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -743,7 +743,7 @@ impl AppointmentCalendar { pub fn CanCancelMeetings(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCancelMeetings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -754,7 +754,7 @@ impl AppointmentCalendar { pub fn CanForwardMeetings(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanForwardMeetings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -765,7 +765,7 @@ impl AppointmentCalendar { pub fn CanProposeNewTimeForMeetings(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanProposeNewTimeForMeetings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -776,7 +776,7 @@ impl AppointmentCalendar { pub fn CanUpdateMeetingResponses(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanUpdateMeetingResponses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -787,7 +787,7 @@ impl AppointmentCalendar { pub fn CanNotifyInvitees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanNotifyInvitees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -798,7 +798,7 @@ impl AppointmentCalendar { pub fn MustNofityInvitees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MustNofityInvitees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -814,7 +814,7 @@ impl AppointmentCalendar { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateOrUpdateAppointmentAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), notifyinvitees, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -828,7 +828,7 @@ impl AppointmentCalendar { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCancelMeetingAsync)(::windows::core::Interface::as_raw(this), meeting.into().abi(), subject.into().abi(), comment.into().abi(), notifyinvitees, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -845,7 +845,7 @@ impl AppointmentCalendar { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryForwardMeetingAsync)(::windows::core::Interface::as_raw(this), meeting.into().abi(), invitees.try_into().map_err(|e| e.into())?.abi(), subject.into().abi(), forwardheader.into().abi(), comment.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -859,7 +859,7 @@ impl AppointmentCalendar { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryProposeNewTimeForMeetingAsync)(::windows::core::Interface::as_raw(this), meeting.into().abi(), newstarttime, newduration, subject.into().abi(), comment.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -873,7 +873,7 @@ impl AppointmentCalendar { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdateMeetingResponseAsync)(::windows::core::Interface::as_raw(this), meeting.into().abi(), response, subject.into().abi(), comment.into().abi(), sendupdate, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -882,7 +882,7 @@ impl AppointmentCalendar { pub fn RegisterSyncManagerAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterSyncManagerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1027,7 +1027,7 @@ impl AppointmentCalendarSyncManager { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1036,7 +1036,7 @@ impl AppointmentCalendarSyncManager { pub fn LastSuccessfulSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastSuccessfulSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1045,7 +1045,7 @@ impl AppointmentCalendarSyncManager { pub fn LastAttemptedSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastAttemptedSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1054,7 +1054,7 @@ impl AppointmentCalendarSyncManager { pub fn SyncAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1066,7 +1066,7 @@ impl AppointmentCalendarSyncManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1201,7 +1201,7 @@ impl AppointmentConflictResult { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1210,7 +1210,7 @@ impl AppointmentConflictResult { pub fn Date(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Date)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1421,7 +1421,7 @@ impl AppointmentException { pub fn Appointment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Appointment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1430,14 +1430,14 @@ impl AppointmentException { pub fn ExceptionProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExceptionProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsDeleted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDeleted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1518,7 +1518,7 @@ impl AppointmentInvitee { pub fn Role(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Role)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1529,7 +1529,7 @@ impl AppointmentInvitee { pub fn Response(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Response)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1540,7 +1540,7 @@ impl AppointmentInvitee { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1554,7 +1554,7 @@ impl AppointmentInvitee { pub fn Address(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1657,7 +1657,7 @@ impl AppointmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, Appointment>>, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAddAppointmentAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), selection, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1668,7 +1668,7 @@ impl AppointmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, Appointment>>, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAddAppointmentWithPlacementAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1680,7 +1680,7 @@ impl AppointmentManager { P1: ::std::convert::Into<::windows::core::InParam<'a, Appointment>>, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowReplaceAppointmentAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), appointment.into().abi(), selection, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1692,7 +1692,7 @@ impl AppointmentManager { P1: ::std::convert::Into<::windows::core::InParam<'a, Appointment>>, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), appointment.into().abi(), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1704,7 +1704,7 @@ impl AppointmentManager { P1: ::std::convert::Into<::windows::core::InParam<'a, Appointment>>, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAndDateAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), appointment.into().abi(), selection, preferredplacement, instancestartdate, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1715,7 +1715,7 @@ impl AppointmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowRemoveAppointmentAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), selection, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1726,7 +1726,7 @@ impl AppointmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1737,7 +1737,7 @@ impl AppointmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAndDateAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), selection, preferredplacement, instancestartdate, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1745,7 +1745,7 @@ impl AppointmentManager { #[cfg(feature = "Foundation")] pub fn ShowTimeFrameAsync(timetoshow: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan) -> ::windows::core::Result { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowTimeFrameAsync)(::windows::core::Interface::as_raw(this), timetoshow, duration, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1756,7 +1756,7 @@ impl AppointmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppointmentManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAppointmentDetailsAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1767,7 +1767,7 @@ impl AppointmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppointmentManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAppointmentDetailsWithDateAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), instancestartdate, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1778,7 +1778,7 @@ impl AppointmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, Appointment>>, { Self::IAppointmentManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowEditNewAppointmentAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1786,7 +1786,7 @@ impl AppointmentManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync(options: AppointmentStoreAccessType) -> ::windows::core::Result> { Self::IAppointmentManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1797,7 +1797,7 @@ impl AppointmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IAppointmentManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1832,7 +1832,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAddAppointmentAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1844,7 +1844,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAddAppointmentWithPlacementAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1857,7 +1857,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowReplaceAppointmentAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), appointment.into().abi(), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1870,7 +1870,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), appointment.into().abi(), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1883,7 +1883,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAndDateAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), appointment.into().abi(), selection, preferredplacement, instancestartdate, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1895,7 +1895,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowRemoveAppointmentAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1907,7 +1907,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1919,7 +1919,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAndDateAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), selection, preferredplacement, instancestartdate, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1928,7 +1928,7 @@ impl AppointmentManagerForUser { pub fn ShowTimeFrameAsync(&self, timetoshow: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowTimeFrameAsync)(::windows::core::Interface::as_raw(this), timetoshow, duration, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1940,7 +1940,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAppointmentDetailsAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1952,7 +1952,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAppointmentDetailsWithDateAsync)(::windows::core::Interface::as_raw(this), appointmentid.into().abi(), instancestartdate, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1964,7 +1964,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowEditNewAppointmentAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1973,7 +1973,7 @@ impl AppointmentManagerForUser { pub fn RequestStoreAsync(&self, options: AppointmentStoreAccessType) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1982,7 +1982,7 @@ impl AppointmentManagerForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2063,7 +2063,7 @@ impl AppointmentOrganizer { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2077,7 +2077,7 @@ impl AppointmentOrganizer { pub fn Address(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2247,133 +2247,133 @@ pub struct AppointmentProperties; impl AppointmentProperties { pub fn Subject() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Location() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Location)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn StartTime() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Duration() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Reminder() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reminder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BusyStatus() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BusyStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sensitivity() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sensitivity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn OriginalStartTime() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn IsResponseRequested() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsResponseRequested)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AllowNewTimeProposal() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowNewTimeProposal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AllDay() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllDay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Details() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Details)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn OnlineMeetingLink() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OnlineMeetingLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ReplyTime() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplyTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Organizer() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Organizer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn UserResponse() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserResponse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HasInvitees() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasInvitees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn IsCanceledMeeting() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceledMeeting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn IsOrganizedByUser() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOrganizedByUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Recurrence() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recurrence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Uri() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Invitees() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invitees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2381,25 +2381,25 @@ impl AppointmentProperties { #[cfg(feature = "Foundation_Collections")] pub fn DefaultProperties() -> ::windows::core::Result> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn ChangeNumber() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RemoteChangeNumber() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteChangeNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DetailsKind() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAppointmentPropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetailsKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2431,7 +2431,7 @@ impl AppointmentRecurrence { pub fn Unit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2444,7 +2444,7 @@ impl AppointmentRecurrence { pub fn Occurrences(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Occurrences)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2463,7 +2463,7 @@ impl AppointmentRecurrence { pub fn Until(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Until)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2480,7 +2480,7 @@ impl AppointmentRecurrence { pub fn Interval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Interval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2491,7 +2491,7 @@ impl AppointmentRecurrence { pub fn DaysOfWeek(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DaysOfWeek)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2502,7 +2502,7 @@ impl AppointmentRecurrence { pub fn WeekOfMonth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WeekOfMonth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2513,7 +2513,7 @@ impl AppointmentRecurrence { pub fn Month(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Month)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2524,7 +2524,7 @@ impl AppointmentRecurrence { pub fn Day(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Day)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2535,14 +2535,14 @@ impl AppointmentRecurrence { pub fn RecurrenceType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecurrenceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TimeZone(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeZone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2556,7 +2556,7 @@ impl AppointmentRecurrence { pub fn CalendarIdentifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalendarIdentifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2702,7 +2702,7 @@ impl AppointmentStore { pub fn ChangeTracker(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeTracker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2714,7 +2714,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAppointmentCalendarAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2726,7 +2726,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppointmentCalendarAsync)(::windows::core::Interface::as_raw(this), calendarid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2738,7 +2738,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppointmentAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2750,7 +2750,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppointmentInstanceAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), instancestarttime, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2759,7 +2759,7 @@ impl AppointmentStore { pub fn FindAppointmentCalendarsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAppointmentCalendarsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2768,7 +2768,7 @@ impl AppointmentStore { pub fn FindAppointmentCalendarsAsyncWithOptions(&self, options: FindAppointmentCalendarsOptions) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAppointmentCalendarsAsyncWithOptions)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2777,7 +2777,7 @@ impl AppointmentStore { pub fn FindAppointmentsAsync(&self, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAppointmentsAsync)(::windows::core::Interface::as_raw(this), rangestart, rangelength, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2789,7 +2789,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAppointmentsAsyncWithOptions)(::windows::core::Interface::as_raw(this), rangestart, rangelength, options.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2801,7 +2801,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindConflictAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2813,7 +2813,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindConflictAsyncWithInstanceStart)(::windows::core::Interface::as_raw(this), appointment.into().abi(), instancestarttime, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2826,7 +2826,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveAppointmentAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), destinationcalendar.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2838,7 +2838,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAddAppointmentAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2851,7 +2851,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowReplaceAppointmentAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), appointment.into().abi(), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2864,7 +2864,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAndDateAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), appointment.into().abi(), selection, preferredplacement, instancestartdate, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2876,7 +2876,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowRemoveAppointmentAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2888,7 +2888,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAndDateAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), selection, preferredplacement, instancestartdate, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2900,7 +2900,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAppointmentDetailsAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2912,7 +2912,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAppointmentDetailsWithDateAsync)(::windows::core::Interface::as_raw(this), localid.into().abi(), instancestartdate, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2924,7 +2924,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowEditNewAppointmentAsync)(::windows::core::Interface::as_raw(this), appointment.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2936,7 +2936,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindLocalIdsFromRoamingIdAsync)(::windows::core::Interface::as_raw(this), roamingid.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2948,7 +2948,7 @@ impl AppointmentStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreChanged)(::windows::core::Interface::as_raw(this), phandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2967,7 +2967,7 @@ impl AppointmentStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAppointmentCalendarInAccountAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), userdataaccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2977,7 +2977,7 @@ impl AppointmentStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangeTracker)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3086,21 +3086,21 @@ impl AppointmentStoreChange { pub fn Appointment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Appointment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChangeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppointmentCalendar(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentCalendar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3176,7 +3176,7 @@ impl AppointmentStoreChangeReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3261,7 +3261,7 @@ impl AppointmentStoreChangeTracker { pub fn GetChangeReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangeReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3276,7 +3276,7 @@ impl AppointmentStoreChangeTracker { pub fn IsTracking(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTracking)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3460,7 +3460,7 @@ impl AppointmentStoreChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3742,7 +3742,7 @@ impl FindAppointmentsOptions { pub fn CalendarIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalendarIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3751,14 +3751,14 @@ impl FindAppointmentsOptions { pub fn FetchProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FetchProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IncludeHidden(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeHidden)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3769,7 +3769,7 @@ impl FindAppointmentsOptions { pub fn MaxCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4388,7 +4388,7 @@ impl IAppointmentParticipant { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4402,7 +4402,7 @@ impl IAppointmentParticipant { pub fn Address(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index 2109e8c3ca..41af3fffda 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -7,14 +7,14 @@ impl ActivitySensorTrigger { pub fn SubscribedActivities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscribedActivities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23,20 +23,20 @@ impl ActivitySensorTrigger { pub fn SupportedActivities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedActivities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(reportintervalinmilliseconds: u32) -> ::windows::core::Result { Self::IActivitySensorTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), reportintervalinmilliseconds, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -170,13 +170,13 @@ impl AlarmApplicationManager { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IAlarmApplicationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetAccessStatus() -> ::windows::core::Result { Self::IAlarmApplicationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAccessStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -203,7 +203,7 @@ impl AppBroadcastTrigger { pub fn ProviderInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -212,7 +212,7 @@ impl AppBroadcastTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppBroadcastTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAppBroadcastTrigger)(::windows::core::Interface::as_raw(this), providerkey.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -317,7 +317,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn DisplayNameResource(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayNameResource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -331,7 +331,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn LogoResource(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogoResource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -346,7 +346,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn VideoKeyFrameInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoKeyFrameInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -357,7 +357,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn MaxVideoBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxVideoBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -368,7 +368,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn MaxVideoWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxVideoWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -379,7 +379,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn MaxVideoHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxVideoHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -462,7 +462,7 @@ impl ApplicationTrigger { pub fn RequestAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -474,7 +474,7 @@ impl ApplicationTrigger { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAsyncWithArguments)(::windows::core::Interface::as_raw(this), arguments.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -569,7 +569,7 @@ impl ApplicationTriggerDetails { pub fn Arguments(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -846,7 +846,7 @@ impl BackgroundExecutionManager { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IBackgroundExecutionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -857,7 +857,7 @@ impl BackgroundExecutionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundExecutionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessForApplicationAsync)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -872,7 +872,7 @@ impl BackgroundExecutionManager { } pub fn GetAccessStatus() -> ::windows::core::Result { Self::IBackgroundExecutionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAccessStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -881,7 +881,7 @@ impl BackgroundExecutionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundExecutionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAccessStatusForApplication)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -892,7 +892,7 @@ impl BackgroundExecutionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundExecutionManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessKindAsync)(::windows::core::Interface::as_raw(this), requestedaccess, reason.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -903,13 +903,13 @@ impl BackgroundExecutionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundExecutionManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessKindForModernStandbyAsync)(::windows::core::Interface::as_raw(this), requestedaccess, reason.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetAccessStatusForModernStandby() -> ::windows::core::Result { Self::IBackgroundExecutionManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAccessStatusForModernStandby)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -918,7 +918,7 @@ impl BackgroundExecutionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundExecutionManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAccessStatusForModernStandbyForApplication)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -962,7 +962,7 @@ impl BackgroundTaskBuilder { pub fn TaskEntryPoint(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskEntryPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -992,14 +992,14 @@ impl BackgroundTaskBuilder { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Register(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Register)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1010,7 +1010,7 @@ impl BackgroundTaskBuilder { pub fn CancelOnConditionLoss(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CancelOnConditionLoss)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1021,14 +1021,14 @@ impl BackgroundTaskBuilder { pub fn IsNetworkRequested(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNetworkRequested)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TaskGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1243,7 +1243,7 @@ impl BackgroundTaskCompletedEventArgs { pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -1480,14 +1480,14 @@ impl BackgroundTaskProgressEventArgs { pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1649,14 +1649,14 @@ impl BackgroundTaskRegistration { pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1668,7 +1668,7 @@ impl BackgroundTaskRegistration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1686,7 +1686,7 @@ impl BackgroundTaskRegistration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1703,14 +1703,14 @@ impl BackgroundTaskRegistration { pub fn Trigger(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Trigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TaskGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1718,7 +1718,7 @@ impl BackgroundTaskRegistration { #[cfg(feature = "Foundation_Collections")] pub fn AllTasks() -> ::windows::core::Result> { Self::IBackgroundTaskRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllTasks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1726,7 +1726,7 @@ impl BackgroundTaskRegistration { #[cfg(feature = "Foundation_Collections")] pub fn AllTaskGroups() -> ::windows::core::Result> { Self::IBackgroundTaskRegistrationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllTaskGroups)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1735,7 +1735,7 @@ impl BackgroundTaskRegistration { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundTaskRegistrationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTaskGroup)(::windows::core::Interface::as_raw(this), groupid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1876,14 +1876,14 @@ impl BackgroundTaskRegistrationGroup { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1895,7 +1895,7 @@ impl BackgroundTaskRegistrationGroup { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundActivated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1910,7 +1910,7 @@ impl BackgroundTaskRegistrationGroup { pub fn AllTasks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllTasks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1919,7 +1919,7 @@ impl BackgroundTaskRegistrationGroup { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundTaskRegistrationGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1929,7 +1929,7 @@ impl BackgroundTaskRegistrationGroup { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundTaskRegistrationGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithName)(::windows::core::Interface::as_raw(this), id.into().abi(), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2041,7 +2041,7 @@ pub struct BackgroundWorkCost; impl BackgroundWorkCost { pub fn CurrentBackgroundWorkCost() -> ::windows::core::Result { Self::IBackgroundWorkCostStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentBackgroundWorkCost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2105,7 +2105,7 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn Advertisement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Advertisement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2114,7 +2114,7 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn PreferredTransmitPowerLevelInDBm(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredTransmitPowerLevelInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2131,7 +2131,7 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn UseExtendedFormat(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UseExtendedFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2142,7 +2142,7 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn IsAnonymous(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAnonymous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2153,7 +2153,7 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn IncludeTransmitPowerLevel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeTransmitPowerLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2259,7 +2259,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn MinSamplingInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinSamplingInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2268,7 +2268,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn MaxSamplingInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSamplingInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2277,7 +2277,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn MinOutOfRangeTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinOutOfRangeTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2286,7 +2286,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn MaxOutOfRangeTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxOutOfRangeTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2295,7 +2295,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn SignalStrengthFilter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalStrengthFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2313,7 +2313,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn AdvertisementFilter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisementFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2329,7 +2329,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn AllowExtendedAdvertisements(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowExtendedAdvertisements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2521,7 +2521,7 @@ impl CachedFileUpdaterTriggerDetails { pub fn UpdateTarget(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateTarget)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2530,14 +2530,14 @@ impl CachedFileUpdaterTriggerDetails { pub fn UpdateRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanRequestUserInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRequestUserInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2992,7 +2992,7 @@ impl ContentPrefetchTrigger { pub fn WaitInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WaitInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3000,7 +3000,7 @@ impl ContentPrefetchTrigger { #[cfg(feature = "Foundation")] pub fn Create(waitinterval: super::super::Foundation::TimeSpan) -> ::windows::core::Result { Self::IContentPrefetchTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), waitinterval, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3187,14 +3187,14 @@ impl CustomSystemEventTrigger { pub fn TriggerId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Recurrence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recurrence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3203,7 +3203,7 @@ impl CustomSystemEventTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICustomSystemEventTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), triggerid.into().abi(), recurrence, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3333,21 +3333,21 @@ impl DeviceConnectionChangeTrigger { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CanMaintainConnection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanMaintainConnection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaintainConnection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaintainConnection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3362,7 +3362,7 @@ impl DeviceConnectionChangeTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDeviceConnectionChangeTriggerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3464,7 +3464,7 @@ impl DeviceManufacturerNotificationTrigger { pub fn TriggerQualifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerQualifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3473,7 +3473,7 @@ impl DeviceManufacturerNotificationTrigger { pub fn OneShot(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OneShot)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3484,7 +3484,7 @@ impl DeviceManufacturerNotificationTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDeviceManufacturerNotificationTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), triggerqualifier.into().abi(), oneshot, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3609,7 +3609,7 @@ impl DeviceServicingTrigger { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAsyncSimple)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), expectedduration, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3622,7 +3622,7 @@ impl DeviceServicingTrigger { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAsyncWithArguments)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), expectedduration, arguments.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3763,7 +3763,7 @@ impl DeviceUseTrigger { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAsyncSimple)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3776,7 +3776,7 @@ impl DeviceUseTrigger { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAsyncWithArguments)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), arguments.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4047,7 +4047,7 @@ impl GattCharacteristicNotificationTrigger { pub fn Characteristic(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Characteristic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4056,7 +4056,7 @@ impl GattCharacteristicNotificationTrigger { pub fn EventTriggeringMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EventTriggeringMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4067,7 +4067,7 @@ impl GattCharacteristicNotificationTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>>, { Self::IGattCharacteristicNotificationTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), characteristic.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4078,7 +4078,7 @@ impl GattCharacteristicNotificationTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>>, { Self::IGattCharacteristicNotificationTriggerFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithEventTriggeringMode)(::windows::core::Interface::as_raw(this), characteristic.into().abi(), eventtriggeringmode, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4181,7 +4181,7 @@ impl GattServiceProviderTrigger { pub fn TriggerId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4190,7 +4190,7 @@ impl GattServiceProviderTrigger { pub fn Service(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Service)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4208,7 +4208,7 @@ impl GattServiceProviderTrigger { pub fn AdvertisingParameters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisingParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4219,7 +4219,7 @@ impl GattServiceProviderTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGattServiceProviderTriggerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), triggerid.into().abi(), serviceuuid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4317,7 +4317,7 @@ impl GattServiceProviderTriggerResult { pub fn Trigger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Trigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4326,7 +4326,7 @@ impl GattServiceProviderTriggerResult { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4409,7 +4409,7 @@ impl GeovisitTrigger { pub fn MonitoringScope(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonitoringScope)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4966,21 +4966,21 @@ impl IBackgroundTaskInstance { pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Task(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Task)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4991,7 +4991,7 @@ impl IBackgroundTaskInstance { pub fn TriggerDetails(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5003,7 +5003,7 @@ impl IBackgroundTaskInstance { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Canceled)(::windows::core::Interface::as_raw(this), cancelhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5016,14 +5016,14 @@ impl IBackgroundTaskInstance { pub fn SuspendedCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuspendedCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5112,28 +5112,28 @@ impl IBackgroundTaskInstance2 { pub fn GetThrottleCount(&self, counter: BackgroundTaskThrottleCounter) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThrottleCount)(::windows::core::Interface::as_raw(this), counter, result__.as_mut_ptr()).from_abi::(result__) } } pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Task(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Task)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5144,7 +5144,7 @@ impl IBackgroundTaskInstance2 { pub fn TriggerDetails(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5156,7 +5156,7 @@ impl IBackgroundTaskInstance2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Canceled)(::windows::core::Interface::as_raw(this), cancelhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5169,14 +5169,14 @@ impl IBackgroundTaskInstance2 { pub fn SuspendedCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuspendedCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5272,28 +5272,28 @@ impl IBackgroundTaskInstance4 { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Task(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Task)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5304,7 +5304,7 @@ impl IBackgroundTaskInstance4 { pub fn TriggerDetails(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5316,7 +5316,7 @@ impl IBackgroundTaskInstance4 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Canceled)(::windows::core::Interface::as_raw(this), cancelhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5329,14 +5329,14 @@ impl IBackgroundTaskInstance4 { pub fn SuspendedCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuspendedCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5447,14 +5447,14 @@ impl IBackgroundTaskRegistration { pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5466,7 +5466,7 @@ impl IBackgroundTaskRegistration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5484,7 +5484,7 @@ impl IBackgroundTaskRegistration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5587,21 +5587,21 @@ impl IBackgroundTaskRegistration2 { pub fn Trigger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Trigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5613,7 +5613,7 @@ impl IBackgroundTaskRegistration2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5631,7 +5631,7 @@ impl IBackgroundTaskRegistration2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5735,21 +5735,21 @@ impl IBackgroundTaskRegistration3 { pub fn TaskGroup(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5761,7 +5761,7 @@ impl IBackgroundTaskRegistration3 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5779,7 +5779,7 @@ impl IBackgroundTaskRegistration3 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7036,13 +7036,13 @@ impl LocationTrigger { pub fn TriggerType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(triggertype: LocationTriggerType) -> ::windows::core::Result { Self::ILocationTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), triggertype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7173,20 +7173,20 @@ impl MaintenanceTrigger { pub fn FreshnessTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FreshnessTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OneShot(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OneShot)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(freshnesstime: u32, oneshot: bool) -> ::windows::core::Result { Self::IMaintenanceTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), freshnesstime, oneshot, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7291,7 +7291,7 @@ impl MediaProcessingTrigger { pub fn RequestAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7303,7 +7303,7 @@ impl MediaProcessingTrigger { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAsyncWithArguments)(::windows::core::Interface::as_raw(this), arguments.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8079,7 +8079,7 @@ impl NetworkOperatorNotificationTrigger { pub fn NetworkAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8088,7 +8088,7 @@ impl NetworkOperatorNotificationTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::INetworkOperatorNotificationTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), networkaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8277,7 +8277,7 @@ impl PhoneTrigger { pub fn OneShot(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OneShot)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8286,7 +8286,7 @@ impl PhoneTrigger { pub fn TriggerType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8294,7 +8294,7 @@ impl PhoneTrigger { #[cfg(feature = "ApplicationModel_Calls_Background")] pub fn Create(r#type: super::Calls::Background::PhoneTriggerType, oneshot: bool) -> ::windows::core::Result { Self::IPhoneTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), r#type, oneshot, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8401,7 +8401,7 @@ impl PushNotificationTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPushNotificationTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8601,7 +8601,7 @@ impl RfcommConnectionTrigger { pub fn InboundConnection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InboundConnection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8610,14 +8610,14 @@ impl RfcommConnectionTrigger { pub fn OutboundConnection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundConnection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AllowMultipleConnections(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowMultipleConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8630,7 +8630,7 @@ impl RfcommConnectionTrigger { pub fn ProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8645,7 +8645,7 @@ impl RfcommConnectionTrigger { pub fn RemoteHostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteHostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8861,7 +8861,7 @@ impl SensorDataThresholdTrigger { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISensorDataThresholdTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), threshold.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8961,7 +8961,7 @@ impl SmartCardTrigger { pub fn TriggerType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8969,7 +8969,7 @@ impl SmartCardTrigger { #[cfg(feature = "Devices_SmartCards")] pub fn Create(triggertype: super::super::Devices::SmartCards::SmartCardTriggerType) -> ::windows::core::Result { Self::ISmartCardTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), triggertype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9069,7 +9069,7 @@ impl SmsMessageReceivedTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Sms::SmsFilterRules>>, { Self::ISmsMessageReceivedTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), filterrules.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9174,7 +9174,7 @@ impl SocketActivityTrigger { pub fn IsWakeFromLowPowerSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWakeFromLowPowerSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9271,7 +9271,7 @@ impl StorageLibraryChangeTrackerTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::StorageLibraryChangeTracker>>, { Self::IStorageLibraryChangeTrackerTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), tracker.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9373,7 +9373,7 @@ impl StorageLibraryContentChangedTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::StorageLibrary>>, { Self::IStorageLibraryContentChangedTriggerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), storagelibrary.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9385,7 +9385,7 @@ impl StorageLibraryContentChangedTrigger { E0: ::std::convert::Into<::windows::core::Error>, { Self::IStorageLibraryContentChangedTriggerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromLibraries)(::windows::core::Interface::as_raw(this), storagelibraries.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9481,13 +9481,13 @@ impl SystemCondition { pub fn ConditionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConditionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(conditiontype: SystemConditionType) -> ::windows::core::Result { Self::ISystemConditionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), conditiontype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9624,20 +9624,20 @@ impl SystemTrigger { pub fn OneShot(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OneShot)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TriggerType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(triggertype: SystemTriggerType, oneshot: bool) -> ::windows::core::Result { Self::ISystemTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), triggertype, oneshot, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9874,20 +9874,20 @@ impl TimeTrigger { pub fn FreshnessTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FreshnessTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OneShot(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OneShot)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(freshnesstime: u32, oneshot: bool) -> ::windows::core::Result { Self::ITimeTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), freshnesstime, oneshot, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9992,7 +9992,7 @@ impl ToastNotificationActionTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IToastNotificationActionTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10099,7 +10099,7 @@ impl ToastNotificationHistoryChangedTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IToastNotificationHistoryChangedTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10198,7 +10198,7 @@ impl UserNotificationChangedTrigger { #[cfg(feature = "UI_Notifications")] pub fn Create(notificationkinds: super::super::UI::Notifications::NotificationKinds) -> ::windows::core::Result { Self::IUserNotificationChangedTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), notificationkinds, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs index 9e2463313d..efac8d6746 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs @@ -134,21 +134,21 @@ impl PhoneCallBlockedTriggerDetails { pub fn PhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn CallBlockedReason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallBlockedReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -222,14 +222,14 @@ impl PhoneCallOriginDataRequestTriggerDetails { pub fn RequestId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn PhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -339,21 +339,21 @@ impl PhoneIncomingCallDismissedTriggerDetails { pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn PhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -362,21 +362,21 @@ impl PhoneIncomingCallDismissedTriggerDetails { pub fn DismissalTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DismissalTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TextReplyMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextReplyMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -450,14 +450,14 @@ impl PhoneIncomingCallNotificationTriggerDetails { pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn CallId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -566,21 +566,21 @@ impl PhoneLineChangedTriggerDetails { pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ChangeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasLinePropertyChanged(&self, lineproperty: PhoneLineProperties) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasLinePropertyChanged)(::windows::core::Interface::as_raw(this), lineproperty, result__.as_mut_ptr()).from_abi::(result__) } } @@ -724,21 +724,21 @@ impl PhoneNewVoicemailMessageTriggerDetails { pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn VoicemailCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VoicemailCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OperatorMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperatorMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs index 36cb15c43c..0613d9d431 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs @@ -108,7 +108,7 @@ impl PhoneCallOrigin { pub fn Category(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -122,7 +122,7 @@ impl PhoneCallOrigin { pub fn CategoryDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CategoryDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -136,7 +136,7 @@ impl PhoneCallOrigin { pub fn Location(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Location)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -150,7 +150,7 @@ impl PhoneCallOrigin { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -166,7 +166,7 @@ impl PhoneCallOrigin { pub fn DisplayPicture(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayPicture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -247,7 +247,7 @@ pub struct PhoneCallOriginManager; impl PhoneCallOriginManager { pub fn IsCurrentAppActiveCallOriginApp() -> ::windows::core::Result { Self::IPhoneCallOriginManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCurrentAppActiveCallOriginApp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -264,13 +264,13 @@ impl PhoneCallOriginManager { #[cfg(feature = "Foundation")] pub fn RequestSetAsActiveCallOriginAppAsync() -> ::windows::core::Result> { Self::IPhoneCallOriginManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSetAsActiveCallOriginAppAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IPhoneCallOriginManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs index ce63af5bbd..601739d83d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs @@ -9,7 +9,7 @@ impl CallAnswerEventArgs { pub fn AcceptedMedia(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptedMedia)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -83,7 +83,7 @@ impl CallRejectEventArgs { pub fn RejectReason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RejectReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -157,7 +157,7 @@ impl CallStateChangeEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1543,7 +1543,7 @@ impl LockScreenCallEndRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1552,7 +1552,7 @@ impl LockScreenCallEndRequestedEventArgs { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1635,7 +1635,7 @@ impl LockScreenCallUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1653,7 +1653,7 @@ impl LockScreenCallUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1666,7 +1666,7 @@ impl LockScreenCallUI { pub fn CallTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1747,7 +1747,7 @@ impl MuteChangeEventArgs { pub fn Muted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Muted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1861,7 +1861,7 @@ impl PhoneCall { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1879,7 +1879,7 @@ impl PhoneCall { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioDeviceChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1897,7 +1897,7 @@ impl PhoneCall { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMutedChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1910,35 +1910,35 @@ impl PhoneCall { pub fn CallId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsMuted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMuted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AudioDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPhoneCallInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPhoneCallInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1947,14 +1947,14 @@ impl PhoneCall { pub fn GetPhoneCallInfoAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPhoneCallInfoAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn End(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).End)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1963,14 +1963,14 @@ impl PhoneCall { pub fn EndAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SendDtmfKey(&self, key: DtmfKey, dtmftoneaudioplayback: DtmfToneAudioPlayback) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendDtmfKey)(::windows::core::Interface::as_raw(this), key, dtmftoneaudioplayback, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1979,14 +1979,14 @@ impl PhoneCall { pub fn SendDtmfKeyAsync(&self, key: DtmfKey, dtmftoneaudioplayback: DtmfToneAudioPlayback) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendDtmfKeyAsync)(::windows::core::Interface::as_raw(this), key, dtmftoneaudioplayback, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AcceptIncoming(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptIncoming)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1995,14 +1995,14 @@ impl PhoneCall { pub fn AcceptIncomingAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptIncomingAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Hold(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2011,14 +2011,14 @@ impl PhoneCall { pub fn HoldAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ResumeFromHold(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResumeFromHold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2027,14 +2027,14 @@ impl PhoneCall { pub fn ResumeFromHoldAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResumeFromHoldAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Mute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2043,14 +2043,14 @@ impl PhoneCall { pub fn MuteAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MuteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Unmute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unmute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2059,14 +2059,14 @@ impl PhoneCall { pub fn UnmuteAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnmuteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RejectIncoming(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RejectIncoming)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2075,14 +2075,14 @@ impl PhoneCall { pub fn RejectIncomingAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RejectIncomingAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ChangeAudioDevice(&self, endpoint: PhoneCallAudioDevice) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeAudioDevice)(::windows::core::Interface::as_raw(this), endpoint, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2091,7 +2091,7 @@ impl PhoneCall { pub fn ChangeAudioDeviceAsync(&self, endpoint: PhoneCallAudioDevice) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeAudioDeviceAsync)(::windows::core::Interface::as_raw(this), endpoint, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2100,7 +2100,7 @@ impl PhoneCall { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneCallStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFromId)(::windows::core::Interface::as_raw(this), callid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2212,7 +2212,7 @@ pub struct PhoneCallBlocking; impl PhoneCallBlocking { pub fn BlockUnknownNumbers() -> ::windows::core::Result { Self::IPhoneCallBlockingStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlockUnknownNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2221,7 +2221,7 @@ impl PhoneCallBlocking { } pub fn BlockPrivateNumbers() -> ::windows::core::Result { Self::IPhoneCallBlockingStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlockPrivateNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2236,7 +2236,7 @@ impl PhoneCallBlocking { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPhoneCallBlockingStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetCallBlockingListAsync)(::windows::core::Interface::as_raw(this), phonenumberlist.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2298,14 +2298,14 @@ impl PhoneCallHistoryEntry { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Address(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2321,7 +2321,7 @@ impl PhoneCallHistoryEntry { pub fn Duration(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2338,7 +2338,7 @@ impl PhoneCallHistoryEntry { pub fn IsCallerIdBlocked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCallerIdBlocked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2349,7 +2349,7 @@ impl PhoneCallHistoryEntry { pub fn IsEmergency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEmergency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2360,7 +2360,7 @@ impl PhoneCallHistoryEntry { pub fn IsIncoming(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIncoming)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2371,7 +2371,7 @@ impl PhoneCallHistoryEntry { pub fn IsMissed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMissed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2382,7 +2382,7 @@ impl PhoneCallHistoryEntry { pub fn IsRinging(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRinging)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2393,7 +2393,7 @@ impl PhoneCallHistoryEntry { pub fn IsSeen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSeen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2404,7 +2404,7 @@ impl PhoneCallHistoryEntry { pub fn IsSuppressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSuppressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2415,7 +2415,7 @@ impl PhoneCallHistoryEntry { pub fn IsVoicemail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVoicemail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2426,7 +2426,7 @@ impl PhoneCallHistoryEntry { pub fn Media(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Media)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2437,7 +2437,7 @@ impl PhoneCallHistoryEntry { pub fn OtherAppReadAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppReadAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2448,7 +2448,7 @@ impl PhoneCallHistoryEntry { pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2462,14 +2462,14 @@ impl PhoneCallHistoryEntry { pub fn SourceDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SourceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2483,7 +2483,7 @@ impl PhoneCallHistoryEntry { pub fn SourceIdKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceIdKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2496,7 +2496,7 @@ impl PhoneCallHistoryEntry { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2583,7 +2583,7 @@ impl PhoneCallHistoryEntryAddress { pub fn ContactId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2597,7 +2597,7 @@ impl PhoneCallHistoryEntryAddress { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2611,7 +2611,7 @@ impl PhoneCallHistoryEntryAddress { pub fn RawAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2625,7 +2625,7 @@ impl PhoneCallHistoryEntryAddress { pub fn RawAddressKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawAddressKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2638,7 +2638,7 @@ impl PhoneCallHistoryEntryAddress { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneCallHistoryEntryAddressFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), rawaddress.into().abi(), rawaddresskind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2856,7 +2856,7 @@ impl PhoneCallHistoryEntryQueryOptions { pub fn DesiredMedia(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredMedia)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2869,7 +2869,7 @@ impl PhoneCallHistoryEntryQueryOptions { pub fn SourceIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2979,7 +2979,7 @@ impl PhoneCallHistoryEntryReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3053,7 +3053,7 @@ impl PhoneCallHistoryManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync(accesstype: PhoneCallHistoryStoreAccessType) -> ::windows::core::Result> { Self::IPhoneCallHistoryManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), accesstype, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3064,7 +3064,7 @@ impl PhoneCallHistoryManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IPhoneCallHistoryManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3091,7 +3091,7 @@ impl PhoneCallHistoryManagerForUser { pub fn RequestStoreAsync(&self, accesstype: PhoneCallHistoryStoreAccessType) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), accesstype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3100,7 +3100,7 @@ impl PhoneCallHistoryManagerForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3213,14 +3213,14 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEntryAsync)(::windows::core::Interface::as_raw(this), callhistoryentryid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetEntryReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEntryReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3230,7 +3230,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEntryReaderWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3242,7 +3242,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveEntryAsync)(::windows::core::Interface::as_raw(this), callhistoryentry.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3254,7 +3254,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteEntryAsync)(::windows::core::Interface::as_raw(this), callhistoryentry.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3267,7 +3267,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteEntriesAsync)(::windows::core::Interface::as_raw(this), callhistoryentries.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3279,7 +3279,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkEntryAsSeenAsync)(::windows::core::Interface::as_raw(this), callhistoryentry.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3292,7 +3292,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkEntriesAsSeenAsync)(::windows::core::Interface::as_raw(this), callhistoryentries.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3301,7 +3301,7 @@ impl PhoneCallHistoryStore { pub fn GetUnseenCountAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUnseenCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3310,7 +3310,7 @@ impl PhoneCallHistoryStore { pub fn MarkAllAsSeenAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkAllAsSeenAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3323,7 +3323,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSourcesUnseenCountAsync)(::windows::core::Interface::as_raw(this), sourceids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3336,7 +3336,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkSourcesAsSeenAsync)(::windows::core::Interface::as_raw(this), sourceids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3445,14 +3445,14 @@ impl PhoneCallInfo { pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn IsHoldSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHoldSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3461,28 +3461,28 @@ impl PhoneCallInfo { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CallDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3566,7 +3566,7 @@ impl PhoneCallManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IPhoneCallManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3577,13 +3577,13 @@ impl PhoneCallManager { } pub fn IsCallActive() -> ::windows::core::Result { Self::IPhoneCallManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCallActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsCallIncoming() -> ::windows::core::Result { Self::IPhoneCallManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCallIncoming)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3594,7 +3594,7 @@ impl PhoneCallManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync() -> ::windows::core::Result> { Self::IPhoneCallManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3734,7 +3734,7 @@ impl PhoneCallStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEmergencyPhoneNumberAsync)(::windows::core::Interface::as_raw(this), number.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3743,14 +3743,14 @@ impl PhoneCallStore { pub fn GetDefaultLineAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultLineAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RequestLineWatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestLineWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3824,7 +3824,7 @@ impl PhoneCallVideoCapabilities { pub fn IsVideoCallingCapable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVideoCallingCapable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3901,7 +3901,7 @@ impl PhoneCallVideoCapabilitiesManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneCallVideoCapabilitiesManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCapabilitiesAsync)(::windows::core::Interface::as_raw(this), phonenumber.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3921,7 +3921,7 @@ impl PhoneCallsResult { pub fn OperationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3930,7 +3930,7 @@ impl PhoneCallsResult { pub fn AllActivePhoneCalls(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllActivePhoneCalls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4011,7 +4011,7 @@ impl PhoneDialOptions { pub fn Number(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Number)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4025,7 +4025,7 @@ impl PhoneDialOptions { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4041,7 +4041,7 @@ impl PhoneDialOptions { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4059,7 +4059,7 @@ impl PhoneDialOptions { pub fn ContactPhone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactPhone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4075,7 +4075,7 @@ impl PhoneDialOptions { pub fn Media(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Media)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4086,7 +4086,7 @@ impl PhoneDialOptions { pub fn AudioEndpoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEndpoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4169,7 +4169,7 @@ impl PhoneLine { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4182,7 +4182,7 @@ impl PhoneLine { pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -4191,77 +4191,77 @@ impl PhoneLine { pub fn DisplayColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Voicemail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Voicemail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CellularDetails(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Transport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Transport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanDial(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanDial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportsTile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsTile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoCallingCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoCallingCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LineConfiguration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4273,7 +4273,7 @@ impl PhoneLine { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsImmediateDialNumberAsync)(::windows::core::Interface::as_raw(this), number.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4299,7 +4299,7 @@ impl PhoneLine { pub fn TransportDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4310,7 +4310,7 @@ impl PhoneLine { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DialWithResult)(::windows::core::Interface::as_raw(this), number.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4323,14 +4323,14 @@ impl PhoneLine { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DialWithResultAsync)(::windows::core::Interface::as_raw(this), number.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetAllActivePhoneCalls(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllActivePhoneCalls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4339,7 +4339,7 @@ impl PhoneLine { pub fn GetAllActivePhoneCallsAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllActivePhoneCallsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4347,7 +4347,7 @@ impl PhoneLine { #[cfg(feature = "Foundation")] pub fn FromIdAsync(lineid: ::windows::core::GUID) -> ::windows::core::Result> { Self::IPhoneLineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), lineid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4426,35 +4426,35 @@ impl PhoneLineCellularDetails { pub fn SimState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SimSlotIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimSlotIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsModemOn(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsModemOn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RegistrationRejectCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegistrationRejectCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetNetworkOperatorDisplayText(&self, location: PhoneLineNetworkOperatorDisplayTextLocation) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNetworkOperatorDisplayText)(::windows::core::Interface::as_raw(this), location, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4528,7 +4528,7 @@ impl PhoneLineConfiguration { pub fn IsVideoCallingEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVideoCallingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4537,7 +4537,7 @@ impl PhoneLineConfiguration { pub fn ExtendedProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4611,14 +4611,14 @@ impl PhoneLineDialResult { pub fn DialCallStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DialCallStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DialedCall(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DialedCall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4800,14 +4800,14 @@ impl PhoneLineTransportDevice { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Transport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Transport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4816,7 +4816,7 @@ impl PhoneLineTransportDevice { pub fn RequestAccessAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4849,14 +4849,14 @@ impl PhoneLineTransportDevice { pub fn IsRegistered(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRegistered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Connect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4865,14 +4865,14 @@ impl PhoneLineTransportDevice { pub fn ConnectAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AudioRoutingStatus(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioRoutingStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4884,7 +4884,7 @@ impl PhoneLineTransportDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioRoutingStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4897,7 +4897,7 @@ impl PhoneLineTransportDevice { pub fn InBandRingingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InBandRingingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4909,7 +4909,7 @@ impl PhoneLineTransportDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InBandRingingEnabledChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4924,19 +4924,19 @@ impl PhoneLineTransportDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneLineTransportDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromId)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPhoneLineTransportDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorForPhoneLineTransport(transport: PhoneLineTransport) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPhoneLineTransportDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorForPhoneLineTransport)(::windows::core::Interface::as_raw(this), transport, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -5028,7 +5028,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5046,7 +5046,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5064,7 +5064,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5082,7 +5082,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5100,7 +5100,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5113,7 +5113,7 @@ impl PhoneLineWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5187,7 +5187,7 @@ impl PhoneLineWatcherEventArgs { pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -5377,21 +5377,21 @@ impl PhoneVoicemail { pub fn Number(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Number)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MessageCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5400,7 +5400,7 @@ impl PhoneVoicemail { pub fn DialVoicemailAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DialVoicemailAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5549,7 +5549,7 @@ impl VoipCallCoordinator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReserveCallResourcesAsync)(::windows::core::Interface::as_raw(this), taskentrypoint.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5561,7 +5561,7 @@ impl VoipCallCoordinator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MuteStateChanged)(::windows::core::Interface::as_raw(this), mutechangehandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5586,7 +5586,7 @@ impl VoipCallCoordinator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestNewIncomingCall)(::windows::core::Interface::as_raw(this), context.into().abi(), contactname.into().abi(), contactnumber.into().abi(), contactimage.into().abi(), servicename.into().abi(), brandingimage.into().abi(), calldetails.into().abi(), ringtone.into().abi(), media, ringtimeout, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5598,7 +5598,7 @@ impl VoipCallCoordinator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestNewOutgoingCall)(::windows::core::Interface::as_raw(this), context.into().abi(), contactname.into().abi(), servicename.into().abi(), media, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5618,7 +5618,7 @@ impl VoipCallCoordinator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestOutgoingUpgradeToVideoCall)(::windows::core::Interface::as_raw(this), callupgradeguid, context.into().abi(), contactname.into().abi(), servicename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5637,7 +5637,7 @@ impl VoipCallCoordinator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestIncomingUpgradeToVideoCall)(::windows::core::Interface::as_raw(this), context.into().abi(), contactname.into().abi(), contactnumber.into().abi(), contactimage.into().abi(), servicename.into().abi(), brandingimage.into().abi(), calldetails.into().abi(), ringtone.into().abi(), ringtimeout, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5658,7 +5658,7 @@ impl VoipCallCoordinator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetupNewAcceptedCall)(::windows::core::Interface::as_raw(this), context.into().abi(), contactname.into().abi(), contactnumber.into().abi(), servicename.into().abi(), media, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5671,7 +5671,7 @@ impl VoipCallCoordinator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestNewAppInitiatedCall)(::windows::core::Interface::as_raw(this), context.into().abi(), contactname.into().abi(), contactnumber.into().abi(), servicename.into().abi(), media, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5691,7 +5691,7 @@ impl VoipCallCoordinator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestNewIncomingCallWithContactRemoteId)(::windows::core::Interface::as_raw(this), context.into().abi(), contactname.into().abi(), contactnumber.into().abi(), contactimage.into().abi(), servicename.into().abi(), brandingimage.into().abi(), calldetails.into().abi(), ringtone.into().abi(), media, ringtimeout, contactremoteid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5700,13 +5700,13 @@ impl VoipCallCoordinator { pub fn ReserveOneProcessCallResourcesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReserveOneProcessCallResourcesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IVoipCallCoordinatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5790,7 +5790,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5808,7 +5808,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5826,7 +5826,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResumeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5844,7 +5844,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnswerRequested)(::windows::core::Interface::as_raw(this), accepthandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5862,7 +5862,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RejectRequested)(::windows::core::Interface::as_raw(this), rejecthandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5887,7 +5887,7 @@ impl VoipPhoneCall { pub fn ContactName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5903,7 +5903,7 @@ impl VoipPhoneCall { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5916,7 +5916,7 @@ impl VoipPhoneCall { pub fn CallMedia(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallMedia)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs index ba311a4674..5ebbfe8226 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs @@ -5,35 +5,35 @@ impl ChatCapabilities { pub fn IsOnline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOnline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsChatCapable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsChatCapable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsFileTransferCapable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFileTransferCapable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGeoLocationPushCapable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGeoLocationPushCapable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsIntegratedMessagingCapable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIntegratedMessagingCapable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -110,7 +110,7 @@ impl ChatCapabilitiesManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IChatCapabilitiesManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCachedCapabilitiesAsync)(::windows::core::Interface::as_raw(this), address.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -121,7 +121,7 @@ impl ChatCapabilitiesManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IChatCapabilitiesManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCapabilitiesFromNetworkAsync)(::windows::core::Interface::as_raw(this), address.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -133,7 +133,7 @@ impl ChatCapabilitiesManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IChatCapabilitiesManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCachedCapabilitiesForTransportAsync)(::windows::core::Interface::as_raw(this), address.into().abi(), transportid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -145,7 +145,7 @@ impl ChatCapabilitiesManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IChatCapabilitiesManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCapabilitiesFromNetworkForTransportAsync)(::windows::core::Interface::as_raw(this), address.into().abi(), transportid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -170,21 +170,21 @@ impl ChatConversation { pub fn HasUnreadMessages(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasUnreadMessages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -198,7 +198,7 @@ impl ChatConversation { pub fn IsConversationMuted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConversationMuted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -209,7 +209,7 @@ impl ChatConversation { pub fn MostRecentMessageId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MostRecentMessageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -218,14 +218,14 @@ impl ChatConversation { pub fn Participants(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Participants)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ThreadingInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThreadingInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -234,14 +234,14 @@ impl ChatConversation { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetMessageReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -250,7 +250,7 @@ impl ChatConversation { pub fn MarkAllMessagesAsReadAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkAllMessagesAsReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -259,7 +259,7 @@ impl ChatConversation { pub fn MarkMessagesAsReadAsync(&self, value: super::super::Foundation::DateTime) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkMessagesAsReadAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -268,7 +268,7 @@ impl ChatConversation { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -296,7 +296,7 @@ impl ChatConversation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteParticipantComposingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -309,7 +309,7 @@ impl ChatConversation { pub fn CanModifyParticipants(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanModifyParticipants)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -320,7 +320,7 @@ impl ChatConversation { pub fn ItemKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -415,7 +415,7 @@ impl ChatConversationReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -424,7 +424,7 @@ impl ChatConversationReader { pub fn ReadBatchWithCountAsync(&self, count: i32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchWithCountAsync)(::windows::core::Interface::as_raw(this), count, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -505,7 +505,7 @@ impl ChatConversationThreadingInfo { pub fn ContactId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -519,7 +519,7 @@ impl ChatConversationThreadingInfo { pub fn Custom(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Custom)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -533,7 +533,7 @@ impl ChatConversationThreadingInfo { pub fn ConversationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConversationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -549,14 +549,14 @@ impl ChatConversationThreadingInfo { pub fn Participants(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Participants)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -711,7 +711,7 @@ impl ChatMessage { pub fn ItemKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -720,14 +720,14 @@ impl ChatMessage { pub fn Attachments(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attachments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Body(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -741,35 +741,35 @@ impl ChatMessage { pub fn From(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).From)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsForwardingDisabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsForwardingDisabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsIncoming(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIncoming)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRead(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -778,7 +778,7 @@ impl ChatMessage { pub fn LocalTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -787,7 +787,7 @@ impl ChatMessage { pub fn NetworkTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -796,7 +796,7 @@ impl ChatMessage { pub fn Recipients(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recipients)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -805,35 +805,35 @@ impl ChatMessage { pub fn RecipientSendStatuses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecipientSendStatuses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TransportFriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportFriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TransportId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -847,7 +847,7 @@ impl ChatMessage { pub fn EstimatedDownloadSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EstimatedDownloadSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -865,7 +865,7 @@ impl ChatMessage { pub fn IsAutoReply(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAutoReply)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -880,7 +880,7 @@ impl ChatMessage { pub fn IsReplyDisabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReplyDisabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -895,7 +895,7 @@ impl ChatMessage { pub fn IsSeen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSeen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -906,7 +906,7 @@ impl ChatMessage { pub fn IsSimMessage(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSimMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -919,7 +919,7 @@ impl ChatMessage { pub fn MessageKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -930,7 +930,7 @@ impl ChatMessage { pub fn MessageOperatorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageOperatorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -947,7 +947,7 @@ impl ChatMessage { pub fn IsReceivedDuringQuietHours(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReceivedDuringQuietHours)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -976,7 +976,7 @@ impl ChatMessage { pub fn ShouldSuppressNotification(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldSuppressNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -987,7 +987,7 @@ impl ChatMessage { pub fn ThreadingInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThreadingInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1003,21 +1003,21 @@ impl ChatMessage { pub fn RecipientsDeliveryInfos(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecipientsDeliveryInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SyncId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1119,7 +1119,7 @@ impl ChatMessageAttachment { pub fn DataStreamReference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataStreamReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1136,7 +1136,7 @@ impl ChatMessageAttachment { pub fn GroupId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GroupId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1147,7 +1147,7 @@ impl ChatMessageAttachment { pub fn MimeType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MimeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1161,7 +1161,7 @@ impl ChatMessageAttachment { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1177,7 +1177,7 @@ impl ChatMessageAttachment { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1194,7 +1194,7 @@ impl ChatMessageAttachment { pub fn TransferProgress(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransferProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1205,7 +1205,7 @@ impl ChatMessageAttachment { pub fn OriginalFileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalFileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1225,7 +1225,7 @@ impl ChatMessageAttachment { E1: ::std::convert::Into<::windows::core::Error>, { Self::IChatMessageAttachmentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateChatMessageAttachment)(::windows::core::Interface::as_raw(this), mimetype.into().abi(), datastreamreference.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1307,7 +1307,7 @@ impl ChatMessageBlocking { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IChatMessageBlockingStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkMessageAsBlockedAsync)(::windows::core::Interface::as_raw(this), localchatmessageid.into().abi(), blocked, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1327,14 +1327,14 @@ impl ChatMessageChange { pub fn ChangeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1421,7 +1421,7 @@ impl ChatMessageChangeReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1499,7 +1499,7 @@ impl ChatMessageChangeTracker { pub fn GetChangeReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangeReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1684,7 +1684,7 @@ impl ChatMessageChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1797,7 +1797,7 @@ impl ChatMessageManager { #[cfg(feature = "Foundation")] pub fn RegisterTransportAsync() -> ::windows::core::Result> { Self::IChatMessageManager2Statics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterTransportAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1808,7 +1808,7 @@ impl ChatMessageManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IChatMessageManager2Statics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTransportAsync)(::windows::core::Interface::as_raw(this), transportid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1816,7 +1816,7 @@ impl ChatMessageManager { #[cfg(feature = "Foundation_Collections")] pub fn GetTransportsAsync() -> ::windows::core::Result>> { Self::IChatMessageManagerStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTransportsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1824,7 +1824,7 @@ impl ChatMessageManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync() -> ::windows::core::Result> { Self::IChatMessageManagerStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1835,7 +1835,7 @@ impl ChatMessageManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ChatMessage>>, { Self::IChatMessageManagerStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowComposeSmsMessageAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1846,7 +1846,7 @@ impl ChatMessageManager { #[cfg(feature = "Foundation")] pub fn RequestSyncManagerAsync() -> ::windows::core::Result> { Self::IChatMessageManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSyncManagerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1876,35 +1876,35 @@ impl ChatMessageNotificationTriggerDetails { pub fn ChatMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChatMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShouldDisplayToast(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldDisplayToast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShouldUpdateDetailText(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldUpdateDetailText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShouldUpdateBadge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldUpdateBadge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShouldUpdateActionCenter(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldUpdateActionCenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2016,7 +2016,7 @@ impl ChatMessageReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2025,7 +2025,7 @@ impl ChatMessageReader { pub fn ReadBatchWithCountAsync(&self, count: i32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchWithCountAsync)(::windows::core::Interface::as_raw(this), count, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2145,7 +2145,7 @@ impl ChatMessageStore { pub fn ChangeTracker(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeTracker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2157,7 +2157,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteMessageAsync)(::windows::core::Interface::as_raw(this), localmessageid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2169,7 +2169,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadMessageAsync)(::windows::core::Interface::as_raw(this), localchatmessageid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2181,14 +2181,14 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageAsync)(::windows::core::Interface::as_raw(this), localchatmessageid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetMessageReader1(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageReader1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2197,7 +2197,7 @@ impl ChatMessageStore { pub fn GetMessageReader2(&self, recenttimelimit: super::super::Foundation::TimeSpan) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageReader2)(::windows::core::Interface::as_raw(this), recenttimelimit, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2209,7 +2209,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkMessageReadAsync)(::windows::core::Interface::as_raw(this), localchatmessageid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2221,7 +2221,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrySendMessageAsync)(::windows::core::Interface::as_raw(this), localchatmessageid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2233,7 +2233,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendMessageAsync)(::windows::core::Interface::as_raw(this), chatmessage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2243,7 +2243,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateMessage)(::windows::core::Interface::as_raw(this), chatmessage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2255,7 +2255,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2275,7 +2275,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForwardMessageAsync)(::windows::core::Interface::as_raw(this), localchatmessageid.into().abi(), addresses.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2287,7 +2287,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationAsync)(::windows::core::Interface::as_raw(this), conversationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2301,7 +2301,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationForTransportsAsync)(::windows::core::Interface::as_raw(this), conversationid.into().abi(), transportids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2313,14 +2313,14 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationFromThreadingInfoAsync)(::windows::core::Interface::as_raw(this), threadinginfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetConversationReader(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2333,7 +2333,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationForTransportsReader)(::windows::core::Interface::as_raw(this), transportids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2346,7 +2346,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageByRemoteIdAsync)(::windows::core::Interface::as_raw(this), transportid.into().abi(), remoteid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2355,7 +2355,7 @@ impl ChatMessageStore { pub fn GetUnseenCountAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUnseenCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2368,7 +2368,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUnseenCountForTransportsReaderAsync)(::windows::core::Interface::as_raw(this), transportids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2377,7 +2377,7 @@ impl ChatMessageStore { pub fn MarkAsSeenAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkAsSeenAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2390,7 +2390,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkAsSeenForTransportsAsync)(::windows::core::Interface::as_raw(this), transportids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2400,7 +2400,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSearchReader)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2412,7 +2412,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveMessageAsync)(::windows::core::Interface::as_raw(this), chatmessage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2424,7 +2424,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCancelDownloadMessageAsync)(::windows::core::Interface::as_raw(this), localchatmessageid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2436,7 +2436,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCancelSendMessageAsync)(::windows::core::Interface::as_raw(this), localchatmessageid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2448,7 +2448,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2466,7 +2466,7 @@ impl ChatMessageStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageBySyncIdAsync)(::windows::core::Interface::as_raw(this), syncid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2540,14 +2540,14 @@ impl ChatMessageStoreChangedEventArgs { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2621,28 +2621,28 @@ impl ChatMessageTransport { pub fn IsAppSetAsNotificationProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAppSetAsNotificationProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TransportFriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportFriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TransportId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2651,21 +2651,21 @@ impl ChatMessageTransport { pub fn RequestSetAsNotificationProviderAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSetAsNotificationProviderAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Configuration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TransportKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2739,21 +2739,21 @@ impl ChatMessageTransportConfiguration { pub fn MaxAttachmentCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAttachmentCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxMessageSizeInKilobytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxMessageSizeInKilobytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxRecipientCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxRecipientCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2762,7 +2762,7 @@ impl ChatMessageTransportConfiguration { pub fn SupportedVideoFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedVideoFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2771,7 +2771,7 @@ impl ChatMessageTransportConfiguration { pub fn ExtendedProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2883,7 +2883,7 @@ impl ChatMessageValidationResult { pub fn MaxPartCount(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPartCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2892,7 +2892,7 @@ impl ChatMessageValidationResult { pub fn PartCount(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2901,14 +2901,14 @@ impl ChatMessageValidationResult { pub fn RemainingCharacterCountInPart(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingCharacterCountInPart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3035,7 +3035,7 @@ impl ChatQueryOptions { pub fn SearchString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3123,7 +3123,7 @@ impl ChatRecipientDeliveryInfo { pub fn TransportAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3139,7 +3139,7 @@ impl ChatRecipientDeliveryInfo { pub fn DeliveryTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeliveryTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3158,7 +3158,7 @@ impl ChatRecipientDeliveryInfo { pub fn ReadTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3175,35 +3175,35 @@ impl ChatRecipientDeliveryInfo { pub fn TransportErrorCodeCategory(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportErrorCodeCategory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TransportInterpretedErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportInterpretedErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TransportErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsErrorPermanent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsErrorPermanent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3314,7 +3314,7 @@ impl ChatSearchReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3323,7 +3323,7 @@ impl ChatSearchReader { pub fn ReadBatchWithCountAsync(&self, count: i32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchWithCountAsync)(::windows::core::Interface::as_raw(this), count, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3437,7 +3437,7 @@ impl ChatSyncConfiguration { pub fn IsSyncEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSyncEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3448,7 +3448,7 @@ impl ChatSyncConfiguration { pub fn RestoreHistorySpan(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RestoreHistorySpan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3526,7 +3526,7 @@ impl ChatSyncManager { pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3538,7 +3538,7 @@ impl ChatSyncManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AssociateAccountAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3547,7 +3547,7 @@ impl ChatSyncManager { pub fn UnassociateAccountAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnassociateAccountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3559,7 +3559,7 @@ impl ChatSyncManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAccountAssociated)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3575,7 +3575,7 @@ impl ChatSyncManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetConfigurationAsync)(::windows::core::Interface::as_raw(this), configuration.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3889,7 +3889,7 @@ impl IChatItem { pub fn ItemKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4923,28 +4923,28 @@ impl RcsEndUserMessage { pub fn TransportId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsPinRequired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPinRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4953,7 +4953,7 @@ impl RcsEndUserMessage { pub fn Actions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Actions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4965,7 +4965,7 @@ impl RcsEndUserMessage { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendResponseAsync)(::windows::core::Interface::as_raw(this), action.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4978,7 +4978,7 @@ impl RcsEndUserMessage { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendResponseWithPinAsync)(::windows::core::Interface::as_raw(this), action.into().abi(), pin.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5052,7 +5052,7 @@ impl RcsEndUserMessageAction { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5126,14 +5126,14 @@ impl RcsEndUserMessageAvailableEventArgs { pub fn IsMessageAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMessageAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5207,14 +5207,14 @@ impl RcsEndUserMessageAvailableTriggerDetails { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5293,7 +5293,7 @@ impl RcsEndUserMessageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageAvailableChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5371,7 +5371,7 @@ pub struct RcsManager; impl RcsManager { pub fn GetEndUserMessageManager() -> ::windows::core::Result { Self::IRcsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEndUserMessageManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5379,7 +5379,7 @@ impl RcsManager { #[cfg(feature = "Foundation_Collections")] pub fn GetTransportsAsync() -> ::windows::core::Result>> { Self::IRcsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTransportsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5390,7 +5390,7 @@ impl RcsManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRcsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTransportAsync)(::windows::core::Interface::as_raw(this), transportid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5401,7 +5401,7 @@ impl RcsManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ChatConversation>>, { Self::IRcsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeaveConversationAsync)(::windows::core::Interface::as_raw(this), conversation.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5412,7 +5412,7 @@ impl RcsManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IRcsManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportListChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5478,7 +5478,7 @@ impl RcsServiceKindSupportedChangedEventArgs { pub fn ServiceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5554,49 +5554,49 @@ impl RcsTransport { pub fn ExtendedProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TransportFriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportFriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TransportId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStoreAndForwardEnabled(&self, servicekind: RcsServiceKind) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStoreAndForwardEnabled)(::windows::core::Interface::as_raw(this), servicekind, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsServiceKindSupported(&self, servicekind: RcsServiceKind) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsServiceKindSupported)(::windows::core::Interface::as_raw(this), servicekind, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5608,7 +5608,7 @@ impl RcsTransport { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceKindSupportedChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5688,42 +5688,42 @@ impl RcsTransportConfiguration { pub fn MaxAttachmentCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAttachmentCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxMessageSizeInKilobytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxMessageSizeInKilobytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxGroupMessageSizeInKilobytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxGroupMessageSizeInKilobytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxRecipientCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxRecipientCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxFileSizeInKilobytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxFileSizeInKilobytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WarningFileSizeInKilobytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningFileSizeInKilobytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5797,21 +5797,21 @@ impl RemoteParticipantComposingChangedEventArgs { pub fn TransportId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParticipantAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParticipantAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsComposing(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComposing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs index ed91cf0bf2..cbe6aa7289 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs @@ -3,7 +3,7 @@ pub struct CommunicationBlockingAccessManager; impl CommunicationBlockingAccessManager { pub fn IsBlockingActive() -> ::windows::core::Result { Self::ICommunicationBlockingAccessManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBlockingActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -14,7 +14,7 @@ impl CommunicationBlockingAccessManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICommunicationBlockingAccessManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBlockedNumberAsync)(::windows::core::Interface::as_raw(this), number.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -26,7 +26,7 @@ impl CommunicationBlockingAccessManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICommunicationBlockingAccessManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowBlockNumbersUI)(::windows::core::Interface::as_raw(this), phonenumbers.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -38,7 +38,7 @@ impl CommunicationBlockingAccessManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICommunicationBlockingAccessManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowUnblockNumbersUI)(::windows::core::Interface::as_raw(this), phonenumbers.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -62,7 +62,7 @@ pub struct CommunicationBlockingAppManager; impl CommunicationBlockingAppManager { pub fn IsCurrentAppActiveBlockingApp() -> ::windows::core::Result { Self::ICommunicationBlockingAppManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCurrentAppActiveBlockingApp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -73,7 +73,7 @@ impl CommunicationBlockingAppManager { #[cfg(feature = "Foundation")] pub fn RequestSetAsActiveBlockingAppAsync() -> ::windows::core::Result> { Self::ICommunicationBlockingAppManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSetAsActiveBlockingAppAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs index 32244f9ddd..4e83834c58 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs @@ -10,7 +10,7 @@ impl ContactDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28,7 +28,7 @@ impl ContactDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerSearchReadBatchRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -50,7 +50,7 @@ impl ContactDataProviderConnection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOrUpdateContactRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -68,7 +68,7 @@ impl ContactDataProviderConnection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteContactRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -148,7 +148,7 @@ impl ContactDataProviderTriggerDetails { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -222,14 +222,14 @@ impl ContactListCreateOrUpdateContactRequest { pub fn ContactListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -241,7 +241,7 @@ impl ContactListCreateOrUpdateContactRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), createdorupdatedcontact.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -250,7 +250,7 @@ impl ContactListCreateOrUpdateContactRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -324,7 +324,7 @@ impl ContactListCreateOrUpdateContactRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -333,7 +333,7 @@ impl ContactListCreateOrUpdateContactRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -407,14 +407,14 @@ impl ContactListDeleteContactRequest { pub fn ContactListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContactId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -423,7 +423,7 @@ impl ContactListDeleteContactRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -432,7 +432,7 @@ impl ContactListDeleteContactRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -506,7 +506,7 @@ impl ContactListDeleteContactRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -515,7 +515,7 @@ impl ContactListDeleteContactRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -589,28 +589,28 @@ impl ContactListServerSearchReadBatchRequest { pub fn SessionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContactListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Options(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SuggestedBatchSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestedBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -622,7 +622,7 @@ impl ContactListServerSearchReadBatchRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveContactAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -631,7 +631,7 @@ impl ContactListServerSearchReadBatchRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -640,7 +640,7 @@ impl ContactListServerSearchReadBatchRequest { pub fn ReportFailedAsync(&self, batchstatus: super::ContactBatchStatus) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), batchstatus, result__.as_mut_ptr()).from_abi::(result__) } } @@ -714,7 +714,7 @@ impl ContactListServerSearchReadBatchRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -723,7 +723,7 @@ impl ContactListServerSearchReadBatchRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -797,7 +797,7 @@ impl ContactListSyncManagerSyncRequest { pub fn ContactListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -806,7 +806,7 @@ impl ContactListSyncManagerSyncRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -815,7 +815,7 @@ impl ContactListSyncManagerSyncRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -889,7 +889,7 @@ impl ContactListSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -898,7 +898,7 @@ impl ContactListSyncManagerSyncRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs index 87494986c4..f041022c41 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs @@ -46,7 +46,7 @@ impl ContactPickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddContact)(::windows::core::Interface::as_raw(this), id.into().abi(), contact.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -63,7 +63,7 @@ impl ContactPickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsContact)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -72,14 +72,14 @@ impl ContactPickerUI { pub fn DesiredFields(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredFields)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SelectionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -91,7 +91,7 @@ impl ContactPickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -107,7 +107,7 @@ impl ContactPickerUI { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddContact)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -116,7 +116,7 @@ impl ContactPickerUI { pub fn DesiredFieldsWithContactFieldType(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredFieldsWithContactFieldType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -188,7 +188,7 @@ impl ContactRemovedEventArgs { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index 9f9ba63896..7c0ff9784b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -14,7 +14,7 @@ impl AggregateContactManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindRawContactsAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -27,7 +27,7 @@ impl AggregateContactManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryLinkContactsAsync)(::windows::core::Interface::as_raw(this), primarycontact.into().abi(), secondarycontact.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -39,7 +39,7 @@ impl AggregateContactManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnlinkRawContactAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -52,7 +52,7 @@ impl AggregateContactManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetPreferredSourceForPictureAsync)(::windows::core::Interface::as_raw(this), aggregatecontact.into().abi(), rawcontact.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -66,7 +66,7 @@ impl AggregateContactManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetRemoteIdentificationInformationAsync)(::windows::core::Interface::as_raw(this), contactlistid.into().abi(), remotesourceid.into().abi(), accountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -147,7 +147,7 @@ impl Contact { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -163,7 +163,7 @@ impl Contact { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -182,14 +182,14 @@ impl Contact { pub fn Fields(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Fields)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -203,7 +203,7 @@ impl Contact { pub fn Notes(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Notes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -219,7 +219,7 @@ impl Contact { pub fn Phones(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Phones)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -228,7 +228,7 @@ impl Contact { pub fn Emails(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -237,7 +237,7 @@ impl Contact { pub fn Addresses(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Addresses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -246,7 +246,7 @@ impl Contact { pub fn ConnectedServiceAccounts(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectedServiceAccounts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -255,7 +255,7 @@ impl Contact { pub fn ImportantDates(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportantDates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -264,7 +264,7 @@ impl Contact { pub fn DataSuppliers(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataSuppliers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -273,7 +273,7 @@ impl Contact { pub fn JobInfo(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JobInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -282,7 +282,7 @@ impl Contact { pub fn SignificantOthers(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignificantOthers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -291,7 +291,7 @@ impl Contact { pub fn Websites(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Websites)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -300,14 +300,14 @@ impl Contact { pub fn ProviderProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -316,7 +316,7 @@ impl Contact { pub fn DisplayPictureUserUpdateTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayPictureUserUpdateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -329,21 +329,21 @@ impl Contact { pub fn IsMe(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMe)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AggregateId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AggregateId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -357,7 +357,7 @@ impl Contact { pub fn RingToneToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RingToneToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -371,7 +371,7 @@ impl Contact { pub fn IsDisplayPictureManuallySet(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisplayPictureManuallySet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -380,7 +380,7 @@ impl Contact { pub fn LargeDisplayPicture(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LargeDisplayPicture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -389,7 +389,7 @@ impl Contact { pub fn SmallDisplayPicture(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmallDisplayPicture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -398,7 +398,7 @@ impl Contact { pub fn SourceDisplayPicture(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceDisplayPicture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -415,7 +415,7 @@ impl Contact { pub fn TextToneToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextToneToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -429,21 +429,21 @@ impl Contact { pub fn IsAggregate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAggregate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FullName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FullName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayNameOverride(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayNameOverride)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -457,7 +457,7 @@ impl Contact { pub fn Nickname(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Nickname)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -471,14 +471,14 @@ impl Contact { pub fn SortName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SortName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirstName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -492,7 +492,7 @@ impl Contact { pub fn LastName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -506,7 +506,7 @@ impl Contact { pub fn MiddleName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MiddleName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -520,7 +520,7 @@ impl Contact { pub fn YomiGivenName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YomiGivenName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -534,7 +534,7 @@ impl Contact { pub fn YomiFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YomiFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -548,7 +548,7 @@ impl Contact { pub fn HonorificNameSuffix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificNameSuffix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -562,7 +562,7 @@ impl Contact { pub fn HonorificNamePrefix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificNamePrefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -576,14 +576,14 @@ impl Contact { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn YomiDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YomiDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -664,7 +664,7 @@ impl ContactAddress { pub fn StreetAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreetAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -678,7 +678,7 @@ impl ContactAddress { pub fn Locality(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Locality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -692,7 +692,7 @@ impl ContactAddress { pub fn Region(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Region)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -706,7 +706,7 @@ impl ContactAddress { pub fn Country(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Country)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -720,7 +720,7 @@ impl ContactAddress { pub fn PostalCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostalCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -734,7 +734,7 @@ impl ContactAddress { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -745,7 +745,7 @@ impl ContactAddress { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -868,21 +868,21 @@ impl ContactAnnotation { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AnnotationListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnnotationListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContactId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -896,7 +896,7 @@ impl ContactAnnotation { pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -910,7 +910,7 @@ impl ContactAnnotation { pub fn SupportedOperations(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedOperations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -921,7 +921,7 @@ impl ContactAnnotation { pub fn IsDisabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -930,14 +930,14 @@ impl ContactAnnotation { pub fn ProviderProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1018,21 +1018,21 @@ impl ContactAnnotationList { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProviderPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UserDataAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDataAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1041,7 +1041,7 @@ impl ContactAnnotationList { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1053,7 +1053,7 @@ impl ContactAnnotationList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySaveAnnotationAsync)(::windows::core::Interface::as_raw(this), annotation.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1065,7 +1065,7 @@ impl ContactAnnotationList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAnnotationAsync)(::windows::core::Interface::as_raw(this), annotationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1077,7 +1077,7 @@ impl ContactAnnotationList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAnnotationsByRemoteIdAsync)(::windows::core::Interface::as_raw(this), remoteid.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1086,7 +1086,7 @@ impl ContactAnnotationList { pub fn FindAnnotationsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAnnotationsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1098,7 +1098,7 @@ impl ContactAnnotationList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAnnotationAsync)(::windows::core::Interface::as_raw(this), annotation.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1244,7 +1244,7 @@ impl ContactAnnotationStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactIdsByEmailAsync)(::windows::core::Interface::as_raw(this), emailaddress.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1256,7 +1256,7 @@ impl ContactAnnotationStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactIdsByPhoneNumberAsync)(::windows::core::Interface::as_raw(this), phonenumber.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1268,7 +1268,7 @@ impl ContactAnnotationStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAnnotationsForContactAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1280,7 +1280,7 @@ impl ContactAnnotationStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableAnnotationAsync)(::windows::core::Interface::as_raw(this), annotation.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1289,7 +1289,7 @@ impl ContactAnnotationStore { pub fn CreateAnnotationListAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAnnotationListAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1301,7 +1301,7 @@ impl ContactAnnotationStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAnnotationListInAccountAsync)(::windows::core::Interface::as_raw(this), userdataaccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1313,7 +1313,7 @@ impl ContactAnnotationStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAnnotationListAsync)(::windows::core::Interface::as_raw(this), annotationlistid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1322,7 +1322,7 @@ impl ContactAnnotationStore { pub fn FindAnnotationListsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAnnotationListsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1334,7 +1334,7 @@ impl ContactAnnotationStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAnnotationsForContactListAsync)(::windows::core::Interface::as_raw(this), contactlistid.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1444,14 +1444,14 @@ impl ContactBatch { pub fn Contacts(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contacts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1704,7 +1704,7 @@ impl ContactCardOptions { pub fn HeaderKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1715,7 +1715,7 @@ impl ContactCardOptions { pub fn InitialTabKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialTabKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1728,7 +1728,7 @@ impl ContactCardOptions { pub fn ServerSearchContactListIds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerSearchContactListIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1840,14 +1840,14 @@ impl ContactChange { pub fn ChangeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1934,7 +1934,7 @@ impl ContactChangeReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2012,7 +2012,7 @@ impl ContactChangeTracker { pub fn GetChangeReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangeReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2023,7 +2023,7 @@ impl ContactChangeTracker { pub fn IsTracking(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTracking)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2204,7 +2204,7 @@ impl ContactChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2285,7 +2285,7 @@ impl ContactConnectedServiceAccount { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2299,7 +2299,7 @@ impl ContactConnectedServiceAccount { pub fn ServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2389,7 +2389,7 @@ impl ContactDate { pub fn Day(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Day)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2408,7 +2408,7 @@ impl ContactDate { pub fn Month(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Month)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2427,7 +2427,7 @@ impl ContactDate { pub fn Year(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Year)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2444,7 +2444,7 @@ impl ContactDate { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2455,7 +2455,7 @@ impl ContactDate { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2578,7 +2578,7 @@ impl ContactEmail { pub fn Address(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2592,7 +2592,7 @@ impl ContactEmail { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2603,7 +2603,7 @@ impl ContactEmail { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2719,28 +2719,28 @@ impl ContactField { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Category(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2749,7 +2749,7 @@ impl ContactField { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactFieldFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateField_Default)(::windows::core::Interface::as_raw(this), value.into().abi(), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2758,7 +2758,7 @@ impl ContactField { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactFieldFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateField_Category)(::windows::core::Interface::as_raw(this), value.into().abi(), r#type, category, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2768,7 +2768,7 @@ impl ContactField { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactFieldFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateField_Custom)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), r#type, category, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2913,7 +2913,7 @@ impl ContactFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateField_Default)(::windows::core::Interface::as_raw(this), value.into().abi(), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2923,7 +2923,7 @@ impl ContactFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateField_Category)(::windows::core::Interface::as_raw(this), value.into().abi(), r#type, category, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2934,7 +2934,7 @@ impl ContactFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateField_Custom)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), r#type, category, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2944,7 +2944,7 @@ impl ContactFieldFactory { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstantMessage_Default)(::windows::core::Interface::as_raw(this), username.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2954,7 +2954,7 @@ impl ContactFieldFactory { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstantMessage_Category)(::windows::core::Interface::as_raw(this), username.into().abi(), category, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2969,7 +2969,7 @@ impl ContactFieldFactory { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstantMessage_All)(::windows::core::Interface::as_raw(this), username.into().abi(), category, service.into().abi(), displaytext.into().abi(), verb.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2979,7 +2979,7 @@ impl ContactFieldFactory { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocation_Default)(::windows::core::Interface::as_raw(this), unstructuredaddress.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2989,7 +2989,7 @@ impl ContactFieldFactory { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocation_Category)(::windows::core::Interface::as_raw(this), unstructuredaddress.into().abi(), category, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3004,7 +3004,7 @@ impl ContactFieldFactory { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocation_All)(::windows::core::Interface::as_raw(this), unstructuredaddress.into().abi(), category, street.into().abi(), city.into().abi(), region.into().abi(), country.into().abi(), postalcode.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3245,7 +3245,7 @@ impl ContactInformation { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3254,7 +3254,7 @@ impl ContactInformation { pub fn GetThumbnailAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3263,7 +3263,7 @@ impl ContactInformation { pub fn Emails(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3272,7 +3272,7 @@ impl ContactInformation { pub fn PhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3281,7 +3281,7 @@ impl ContactInformation { pub fn Locations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Locations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3290,7 +3290,7 @@ impl ContactInformation { pub fn InstantMessages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstantMessages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3299,7 +3299,7 @@ impl ContactInformation { pub fn CustomFields(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomFields)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3311,7 +3311,7 @@ impl ContactInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryCustomFields)(::windows::core::Interface::as_raw(this), customname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3383,49 +3383,49 @@ impl ContactInstantMessageField { pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Category(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Service(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Service)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3434,7 +3434,7 @@ impl ContactInstantMessageField { pub fn LaunchUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3443,7 +3443,7 @@ impl ContactInstantMessageField { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactInstantMessageFieldFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstantMessage_Default)(::windows::core::Interface::as_raw(this), username.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3452,7 +3452,7 @@ impl ContactInstantMessageField { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactInstantMessageFieldFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstantMessage_Category)(::windows::core::Interface::as_raw(this), username.into().abi(), category, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3466,7 +3466,7 @@ impl ContactInstantMessageField { P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IContactInstantMessageFieldFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstantMessage_All)(::windows::core::Interface::as_raw(this), username.into().abi(), category, service.into().abi(), displaytext.into().abi(), verb.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3571,7 +3571,7 @@ impl ContactJobInfo { pub fn CompanyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompanyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3585,7 +3585,7 @@ impl ContactJobInfo { pub fn CompanyYomiName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompanyYomiName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3599,7 +3599,7 @@ impl ContactJobInfo { pub fn Department(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Department)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3613,7 +3613,7 @@ impl ContactJobInfo { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3627,7 +3627,7 @@ impl ContactJobInfo { pub fn Manager(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Manager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3641,7 +3641,7 @@ impl ContactJobInfo { pub fn Office(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Office)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3655,7 +3655,7 @@ impl ContactJobInfo { pub fn CompanyAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompanyAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3669,7 +3669,7 @@ impl ContactJobInfo { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3748,31 +3748,31 @@ pub struct ContactLaunchActionVerbs; impl ContactLaunchActionVerbs { pub fn Call() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Call)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Message() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Map() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Map)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Post() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Post)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoCall() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoCall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3792,14 +3792,14 @@ impl ContactList { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3813,14 +3813,14 @@ impl ContactList { pub fn SourceDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsHidden(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHidden)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3831,7 +3831,7 @@ impl ContactList { pub fn OtherAppReadAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppReadAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3842,7 +3842,7 @@ impl ContactList { pub fn OtherAppWriteAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppWriteAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3853,28 +3853,28 @@ impl ContactList { pub fn ChangeTracker(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeTracker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SyncManager(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportsServerSearch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsServerSearch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UserDataAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDataAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3886,7 +3886,7 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3901,7 +3901,7 @@ impl ContactList { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3910,7 +3910,7 @@ impl ContactList { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3922,7 +3922,7 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactFromRemoteIdAsync)(::windows::core::Interface::as_raw(this), remoteid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3931,14 +3931,14 @@ impl ContactList { pub fn GetMeContactAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMeContactAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetContactReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3948,7 +3948,7 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactReaderWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3960,7 +3960,7 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveContactAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3972,7 +3972,7 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteContactAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3984,7 +3984,7 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactAsync)(::windows::core::Interface::as_raw(this), contactid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3993,7 +3993,7 @@ impl ContactList { pub fn RegisterSyncManagerAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterSyncManagerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4004,14 +4004,14 @@ impl ContactList { pub fn SyncConstraints(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncConstraints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LimitedWriteOperations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LimitedWriteOperations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4021,7 +4021,7 @@ impl ContactList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangeTracker)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4100,7 +4100,7 @@ impl ContactListLimitedWriteOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateOrUpdateContactAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4112,7 +4112,7 @@ impl ContactListLimitedWriteOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDeleteContactAsync)(::windows::core::Interface::as_raw(this), contactid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4257,7 +4257,7 @@ impl ContactListSyncConstraints { pub fn CanSyncDescriptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanSyncDescriptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4270,7 +4270,7 @@ impl ContactListSyncConstraints { pub fn MaxHomePhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxHomePhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4289,7 +4289,7 @@ impl ContactListSyncConstraints { pub fn MaxMobilePhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxMobilePhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4308,7 +4308,7 @@ impl ContactListSyncConstraints { pub fn MaxWorkPhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxWorkPhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4327,7 +4327,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherPhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxOtherPhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4346,7 +4346,7 @@ impl ContactListSyncConstraints { pub fn MaxPagerPhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPagerPhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4365,7 +4365,7 @@ impl ContactListSyncConstraints { pub fn MaxBusinessFaxPhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBusinessFaxPhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4384,7 +4384,7 @@ impl ContactListSyncConstraints { pub fn MaxHomeFaxPhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxHomeFaxPhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4403,7 +4403,7 @@ impl ContactListSyncConstraints { pub fn MaxCompanyPhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxCompanyPhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4422,7 +4422,7 @@ impl ContactListSyncConstraints { pub fn MaxAssistantPhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAssistantPhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4441,7 +4441,7 @@ impl ContactListSyncConstraints { pub fn MaxRadioPhoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxRadioPhoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4460,7 +4460,7 @@ impl ContactListSyncConstraints { pub fn MaxPersonalEmailAddresses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPersonalEmailAddresses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4479,7 +4479,7 @@ impl ContactListSyncConstraints { pub fn MaxWorkEmailAddresses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxWorkEmailAddresses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4498,7 +4498,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherEmailAddresses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxOtherEmailAddresses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4517,7 +4517,7 @@ impl ContactListSyncConstraints { pub fn MaxHomeAddresses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxHomeAddresses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4536,7 +4536,7 @@ impl ContactListSyncConstraints { pub fn MaxWorkAddresses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxWorkAddresses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4555,7 +4555,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherAddresses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxOtherAddresses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4574,7 +4574,7 @@ impl ContactListSyncConstraints { pub fn MaxBirthdayDates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBirthdayDates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4593,7 +4593,7 @@ impl ContactListSyncConstraints { pub fn MaxAnniversaryDates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAnniversaryDates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4612,7 +4612,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherDates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxOtherDates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4631,7 +4631,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherRelationships(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxOtherRelationships)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4650,7 +4650,7 @@ impl ContactListSyncConstraints { pub fn MaxSpouseRelationships(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSpouseRelationships)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4669,7 +4669,7 @@ impl ContactListSyncConstraints { pub fn MaxPartnerRelationships(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPartnerRelationships)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4688,7 +4688,7 @@ impl ContactListSyncConstraints { pub fn MaxSiblingRelationships(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSiblingRelationships)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4707,7 +4707,7 @@ impl ContactListSyncConstraints { pub fn MaxParentRelationships(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxParentRelationships)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4726,7 +4726,7 @@ impl ContactListSyncConstraints { pub fn MaxChildRelationships(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxChildRelationships)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4745,7 +4745,7 @@ impl ContactListSyncConstraints { pub fn MaxJobInfo(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxJobInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4764,7 +4764,7 @@ impl ContactListSyncConstraints { pub fn MaxWebsites(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxWebsites)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4848,7 +4848,7 @@ impl ContactListSyncManager { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4857,7 +4857,7 @@ impl ContactListSyncManager { pub fn LastSuccessfulSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastSuccessfulSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4866,7 +4866,7 @@ impl ContactListSyncManager { pub fn LastAttemptedSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastAttemptedSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4875,7 +4875,7 @@ impl ContactListSyncManager { pub fn SyncAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4887,7 +4887,7 @@ impl ContactListSyncManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5022,70 +5022,70 @@ impl ContactLocationField { pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Category(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UnstructuredAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnstructuredAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Street(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Street)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn City(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).City)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Region(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Region)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Country(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Country)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PostalCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostalCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5094,7 +5094,7 @@ impl ContactLocationField { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactLocationFieldFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocation_Default)(::windows::core::Interface::as_raw(this), unstructuredaddress.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5103,7 +5103,7 @@ impl ContactLocationField { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactLocationFieldFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocation_Category)(::windows::core::Interface::as_raw(this), unstructuredaddress.into().abi(), category, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5117,7 +5117,7 @@ impl ContactLocationField { P5: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactLocationFieldFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocation_All)(::windows::core::Interface::as_raw(this), unstructuredaddress.into().abi(), category, street.into().abi(), city.into().abi(), region.into().abi(), country.into().abi(), postalcode.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5234,7 +5234,7 @@ impl ContactManager { P0: ::std::convert::Into<::windows::core::InParam<'a, Contact>>, { Self::IContactManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowDelayLoadedContactCard)(::windows::core::Interface::as_raw(this), contact.into().abi(), selection, preferredplacement, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5242,7 +5242,7 @@ impl ContactManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync() -> ::windows::core::Result> { Self::IContactManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5253,7 +5253,7 @@ impl ContactManager { P0: ::std::convert::Into<::windows::core::InParam<'a, Contact>>, { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertContactToVCardAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5264,7 +5264,7 @@ impl ContactManager { P0: ::std::convert::Into<::windows::core::InParam<'a, Contact>>, { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertContactToVCardAsyncWithMaxBytes)(::windows::core::Interface::as_raw(this), contact.into().abi(), maxbytes, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5276,7 +5276,7 @@ impl ContactManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertVCardToContactAsync)(::windows::core::Interface::as_raw(this), vcard.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5284,7 +5284,7 @@ impl ContactManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsyncWithAccessType(accesstype: ContactStoreAccessType) -> ::windows::core::Result> { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsyncWithAccessType)(::windows::core::Interface::as_raw(this), accesstype, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5292,13 +5292,13 @@ impl ContactManager { #[cfg(feature = "Foundation")] pub fn RequestAnnotationStoreAsync(accesstype: ContactAnnotationStoreAccessType) -> ::windows::core::Result> { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAnnotationStoreAsync)(::windows::core::Interface::as_raw(this), accesstype, result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn IsShowContactCardSupported() -> ::windows::core::Result { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsShowContactCardSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5313,7 +5313,7 @@ impl ContactManager { } pub fn IsShowDelayLoadedContactCardSupported() -> ::windows::core::Result { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsShowDelayLoadedContactCardSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5325,7 +5325,7 @@ impl ContactManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ContactCardOptions>>, { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowDelayLoadedContactCardWithOptions)(::windows::core::Interface::as_raw(this), contact.into().abi(), selection, preferredplacement, contactcardoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5338,7 +5338,7 @@ impl ContactManager { } pub fn SystemDisplayNameOrder() -> ::windows::core::Result { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemDisplayNameOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5347,7 +5347,7 @@ impl ContactManager { } pub fn SystemSortOrder() -> ::windows::core::Result { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemSortOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5361,7 +5361,7 @@ impl ContactManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IContactManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5369,13 +5369,13 @@ impl ContactManager { #[cfg(feature = "Foundation")] pub fn IsShowFullContactCardSupportedAsync() -> ::windows::core::Result> { Self::IContactManagerStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsShowFullContactCardSupportedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn IncludeMiddleNameInSystemDisplayAndSort() -> ::windows::core::Result { Self::IContactManagerStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeMiddleNameInSystemDisplayAndSort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5423,7 +5423,7 @@ impl ContactManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertContactToVCardAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5435,7 +5435,7 @@ impl ContactManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertContactToVCardAsyncWithMaxBytes)(::windows::core::Interface::as_raw(this), contact.into().abi(), maxbytes, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5448,7 +5448,7 @@ impl ContactManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertVCardToContactAsync)(::windows::core::Interface::as_raw(this), vcard.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5457,7 +5457,7 @@ impl ContactManagerForUser { pub fn RequestStoreAsync(&self, accesstype: ContactStoreAccessType) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), accesstype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5466,14 +5466,14 @@ impl ContactManagerForUser { pub fn RequestAnnotationStoreAsync(&self, accesstype: ContactAnnotationStoreAccessType) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAnnotationStoreAsync)(::windows::core::Interface::as_raw(this), accesstype, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SystemDisplayNameOrder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemDisplayNameOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5484,7 +5484,7 @@ impl ContactManagerForUser { pub fn SystemSortOrder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemSortOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5497,7 +5497,7 @@ impl ContactManagerForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5579,7 +5579,7 @@ impl ContactMatchReason { pub fn Field(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Field)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5588,14 +5588,14 @@ impl ContactMatchReason { pub fn Segments(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Segments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5747,7 +5747,7 @@ impl ContactPanel { pub fn HeaderColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5769,7 +5769,7 @@ impl ContactPanel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFullAppRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5787,7 +5787,7 @@ impl ContactPanel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5869,7 +5869,7 @@ impl ContactPanelClosingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5943,7 +5943,7 @@ impl ContactPanelLaunchFullAppRequestedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6028,7 +6028,7 @@ impl ContactPhone { pub fn Number(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Number)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6042,7 +6042,7 @@ impl ContactPhone { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6053,7 +6053,7 @@ impl ContactPhone { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6183,7 +6183,7 @@ impl ContactPicker { pub fn CommitButtonText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitButtonText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6197,7 +6197,7 @@ impl ContactPicker { pub fn SelectionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6210,7 +6210,7 @@ impl ContactPicker { pub fn DesiredFields(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredFields)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6219,7 +6219,7 @@ impl ContactPicker { pub fn PickSingleContactAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleContactAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6228,7 +6228,7 @@ impl ContactPicker { pub fn PickMultipleContactsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickMultipleContactsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6237,7 +6237,7 @@ impl ContactPicker { pub fn DesiredFieldsWithContactFieldType(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredFieldsWithContactFieldType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6246,7 +6246,7 @@ impl ContactPicker { pub fn PickContactAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickContactAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6255,7 +6255,7 @@ impl ContactPicker { pub fn PickContactsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickContactsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6264,7 +6264,7 @@ impl ContactPicker { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6275,7 +6275,7 @@ impl ContactPicker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IContactPickerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6283,7 +6283,7 @@ impl ContactPicker { #[cfg(feature = "Foundation")] pub fn IsSupportedAsync() -> ::windows::core::Result> { Self::IContactPickerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupportedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -6431,7 +6431,7 @@ impl ContactQueryOptions { pub fn TextSearch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextSearch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6440,14 +6440,14 @@ impl ContactQueryOptions { pub fn ContactListIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactListIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IncludeContactsFromHiddenLists(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeContactsFromHiddenLists)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6458,7 +6458,7 @@ impl ContactQueryOptions { pub fn DesiredFields(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredFields)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6469,7 +6469,7 @@ impl ContactQueryOptions { pub fn DesiredOperations(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredOperations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6482,7 +6482,7 @@ impl ContactQueryOptions { pub fn AnnotationListIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnnotationListIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6491,7 +6491,7 @@ impl ContactQueryOptions { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactQueryOptionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithText)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6500,7 +6500,7 @@ impl ContactQueryOptions { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactQueryOptionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTextAndFields)(::windows::core::Interface::as_raw(this), text.into().abi(), fields, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6678,7 +6678,7 @@ impl ContactQueryTextSearch { pub fn Fields(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Fields)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6689,7 +6689,7 @@ impl ContactQueryTextSearch { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6703,7 +6703,7 @@ impl ContactQueryTextSearch { pub fn SearchScope(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchScope)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6783,7 +6783,7 @@ impl ContactReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6795,7 +6795,7 @@ impl ContactReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMatchingPropertiesWithMatchReason)(::windows::core::Interface::as_raw(this), contact.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6948,7 +6948,7 @@ impl ContactSignificantOther { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6962,7 +6962,7 @@ impl ContactSignificantOther { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6976,7 +6976,7 @@ impl ContactSignificantOther { pub fn Relationship(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Relationship)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7056,7 +7056,7 @@ impl ContactStore { pub fn FindContactsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -7068,7 +7068,7 @@ impl ContactStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactsWithSearchTextAsync)(::windows::core::Interface::as_raw(this), searchtext.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -7080,14 +7080,14 @@ impl ContactStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactAsync)(::windows::core::Interface::as_raw(this), contactid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ChangeTracker(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeTracker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7099,7 +7099,7 @@ impl ContactStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7112,7 +7112,7 @@ impl ContactStore { pub fn AggregateContactManager(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AggregateContactManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7121,7 +7121,7 @@ impl ContactStore { pub fn FindContactListsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactListsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -7133,7 +7133,7 @@ impl ContactStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactListAsync)(::windows::core::Interface::as_raw(this), contactlistid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7145,7 +7145,7 @@ impl ContactStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContactListAsync)(::windows::core::Interface::as_raw(this), displayname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7154,14 +7154,14 @@ impl ContactStore { pub fn GetMeContactAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMeContactAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetContactReader(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7171,7 +7171,7 @@ impl ContactStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactReaderWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7184,7 +7184,7 @@ impl ContactStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContactListInAccountAsync)(::windows::core::Interface::as_raw(this), displayname.into().abi(), userdataaccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7194,7 +7194,7 @@ impl ContactStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangeTracker)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7378,7 +7378,7 @@ impl ContactWebsite { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7394,7 +7394,7 @@ impl ContactWebsite { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7408,7 +7408,7 @@ impl ContactWebsite { pub fn RawValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7498,7 +7498,7 @@ impl FullContactCardOptions { pub fn DesiredRemainingView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredRemainingView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8143,28 +8143,28 @@ impl IContactField { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Category(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8245,7 +8245,7 @@ impl IContactFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateField_Default)(::windows::core::Interface::as_raw(this), value.into().abi(), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -8255,7 +8255,7 @@ impl IContactFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateField_Category)(::windows::core::Interface::as_raw(this), value.into().abi(), r#type, category, result__.as_mut_ptr()).from_abi::(result__) } } @@ -8266,7 +8266,7 @@ impl IContactFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateField_Custom)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), r#type, category, result__.as_mut_ptr()).from_abi::(result__) } } @@ -8418,7 +8418,7 @@ impl IContactInstantMessageFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstantMessage_Default)(::windows::core::Interface::as_raw(this), username.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8428,7 +8428,7 @@ impl IContactInstantMessageFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstantMessage_Category)(::windows::core::Interface::as_raw(this), username.into().abi(), category, result__.as_mut_ptr()).from_abi::(result__) } } @@ -8443,7 +8443,7 @@ impl IContactInstantMessageFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstantMessage_All)(::windows::core::Interface::as_raw(this), username.into().abi(), category, service.into().abi(), displaytext.into().abi(), verb.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8989,7 +8989,7 @@ impl IContactLocationFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocation_Default)(::windows::core::Interface::as_raw(this), unstructuredaddress.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8999,7 +8999,7 @@ impl IContactLocationFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocation_Category)(::windows::core::Interface::as_raw(this), unstructuredaddress.into().abi(), category, result__.as_mut_ptr()).from_abi::(result__) } } @@ -9014,7 +9014,7 @@ impl IContactLocationFieldFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocation_All)(::windows::core::Interface::as_raw(this), unstructuredaddress.into().abi(), category, street.into().abi(), city.into().abi(), region.into().abi(), country.into().abi(), postalcode.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9852,7 +9852,7 @@ impl KnownContactField { #[cfg(feature = "deprecated")] pub fn Email() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Email)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -9860,7 +9860,7 @@ impl KnownContactField { #[cfg(feature = "deprecated")] pub fn PhoneNumber() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -9868,7 +9868,7 @@ impl KnownContactField { #[cfg(feature = "deprecated")] pub fn Location() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Location)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -9876,7 +9876,7 @@ impl KnownContactField { #[cfg(feature = "deprecated")] pub fn InstantMessage() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstantMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -9887,7 +9887,7 @@ impl KnownContactField { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertNameToType)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9895,7 +9895,7 @@ impl KnownContactField { #[cfg(feature = "deprecated")] pub fn ConvertTypeToName(r#type: ContactFieldType) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertTypeToName)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -9919,7 +9919,7 @@ impl PinnedContactIdsQueryResult { pub fn ContactIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9995,14 +9995,14 @@ impl PinnedContactManager { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPinSurfaceSupported(&self, surface: PinnedContactSurface) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPinSurfaceSupported)(::windows::core::Interface::as_raw(this), surface, result__.as_mut_ptr()).from_abi::(result__) } } @@ -10012,7 +10012,7 @@ impl PinnedContactManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsContactPinned)(::windows::core::Interface::as_raw(this), contact.into().abi(), surface, result__.as_mut_ptr()).from_abi::(result__) } } @@ -10024,7 +10024,7 @@ impl PinnedContactManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPinContactAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), surface, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10037,7 +10037,7 @@ impl PinnedContactManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPinContactsAsync)(::windows::core::Interface::as_raw(this), contacts.try_into().map_err(|e| e.into())?.abi(), surface, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10049,7 +10049,7 @@ impl PinnedContactManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestUnpinContactAsync)(::windows::core::Interface::as_raw(this), contact.into().abi(), surface, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10065,13 +10065,13 @@ impl PinnedContactManager { pub fn GetPinnedContactIdsAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPinnedContactIdsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IPinnedContactManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10082,13 +10082,13 @@ impl PinnedContactManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IPinnedContactManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IPinnedContactManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs index 2dc2ca8503..b3fe77efa0 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs @@ -5,28 +5,28 @@ impl ActivationSignalDetectionConfiguration { pub fn SignalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ModelId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39,14 +39,14 @@ impl ActivationSignalDetectionConfiguration { pub fn SetEnabledAsync(&self, value: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetEnabledAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn AvailabilityInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailabilityInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -58,7 +58,7 @@ impl ActivationSignalDetectionConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailabilityChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -89,14 +89,14 @@ impl ActivationSignalDetectionConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetModelDataAsync)(::windows::core::Interface::as_raw(this), datatype.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetModelDataType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetModelDataType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -105,7 +105,7 @@ impl ActivationSignalDetectionConfiguration { pub fn GetModelDataTypeAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetModelDataTypeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -114,7 +114,7 @@ impl ActivationSignalDetectionConfiguration { pub fn GetModelData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetModelData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -123,7 +123,7 @@ impl ActivationSignalDetectionConfiguration { pub fn GetModelDataAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetModelDataAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -136,28 +136,28 @@ impl ActivationSignalDetectionConfiguration { pub fn ClearModelDataAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearModelDataAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrainingStepsCompleted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrainingStepsCompleted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrainingStepsRemaining(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrainingStepsRemaining)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrainingDataFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrainingDataFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -170,7 +170,7 @@ impl ActivationSignalDetectionConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplyTrainingData)(::windows::core::Interface::as_raw(this), trainingdataformat, trainingdata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -183,7 +183,7 @@ impl ActivationSignalDetectionConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplyTrainingDataAsync)(::windows::core::Interface::as_raw(this), trainingdataformat, trainingdata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -196,7 +196,7 @@ impl ActivationSignalDetectionConfiguration { pub fn ClearTrainingDataAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearTrainingDataAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -210,7 +210,7 @@ impl ActivationSignalDetectionConfiguration { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetModelDataWithResult)(::windows::core::Interface::as_raw(this), datatype.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -224,7 +224,7 @@ impl ActivationSignalDetectionConfiguration { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetModelDataWithResultAsync)(::windows::core::Interface::as_raw(this), datatype.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -233,21 +233,21 @@ impl ActivationSignalDetectionConfiguration { pub fn SetEnabledWithResultAsync(&self, value: bool) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetEnabledWithResultAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SetEnabledWithResult(&self, value: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetEnabledWithResult)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrainingStepCompletionMaxAllowedTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrainingStepCompletionMaxAllowedTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -349,14 +349,14 @@ impl ActivationSignalDetectionConfigurationCreationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -624,21 +624,21 @@ impl ActivationSignalDetector { pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanCreateConfigurations(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCreateConfigurations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -647,7 +647,7 @@ impl ActivationSignalDetector { pub fn SupportedModelDataTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedModelDataTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -656,7 +656,7 @@ impl ActivationSignalDetector { pub fn SupportedTrainingDataFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedTrainingDataFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -665,7 +665,7 @@ impl ActivationSignalDetector { pub fn SupportedPowerStates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedPowerStates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -677,7 +677,7 @@ impl ActivationSignalDetector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedModelIdsForSignalId)(::windows::core::Interface::as_raw(this), signalid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -689,7 +689,7 @@ impl ActivationSignalDetector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedModelIdsForSignalIdAsync)(::windows::core::Interface::as_raw(this), signalid.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -712,7 +712,7 @@ impl ActivationSignalDetector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateConfigurationAsync)(::windows::core::Interface::as_raw(this), signalid.into().abi(), modelid.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -721,7 +721,7 @@ impl ActivationSignalDetector { pub fn GetConfigurations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConfigurations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -730,7 +730,7 @@ impl ActivationSignalDetector { pub fn GetConfigurationsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConfigurationsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -741,7 +741,7 @@ impl ActivationSignalDetector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConfiguration)(::windows::core::Interface::as_raw(this), signalid.into().abi(), modelid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -754,7 +754,7 @@ impl ActivationSignalDetector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConfigurationAsync)(::windows::core::Interface::as_raw(this), signalid.into().abi(), modelid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -775,7 +775,7 @@ impl ActivationSignalDetector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveConfigurationAsync)(::windows::core::Interface::as_raw(this), signalid.into().abi(), modelid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -787,7 +787,7 @@ impl ActivationSignalDetector { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAvailableModelIdsForSignalIdAsync)(::windows::core::Interface::as_raw(this), signalid.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -799,7 +799,7 @@ impl ActivationSignalDetector { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAvailableModelIdsForSignalId)(::windows::core::Interface::as_raw(this), signalid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -813,7 +813,7 @@ impl ActivationSignalDetector { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateConfigurationWithResultAsync)(::windows::core::Interface::as_raw(this), signalid.into().abi(), modelid.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -825,7 +825,7 @@ impl ActivationSignalDetector { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateConfigurationWithResult)(::windows::core::Interface::as_raw(this), signalid.into().abi(), modelid.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -838,7 +838,7 @@ impl ActivationSignalDetector { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveConfigurationWithResultAsync)(::windows::core::Interface::as_raw(this), signalid.into().abi(), modelid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -849,14 +849,14 @@ impl ActivationSignalDetector { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveConfigurationWithResult)(::windows::core::Interface::as_raw(this), signalid.into().abi(), modelid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DetectorId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetectorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1072,7 +1072,7 @@ impl ConversationalAgentDetectorManager { pub fn GetAllActivationSignalDetectors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllActivationSignalDetectors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1081,7 +1081,7 @@ impl ConversationalAgentDetectorManager { pub fn GetAllActivationSignalDetectorsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllActivationSignalDetectorsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1090,7 +1090,7 @@ impl ConversationalAgentDetectorManager { pub fn GetActivationSignalDetectors(&self, kind: ActivationSignalDetectorKind) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetActivationSignalDetectors)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1099,7 +1099,7 @@ impl ConversationalAgentDetectorManager { pub fn GetActivationSignalDetectorsAsync(&self, kind: ActivationSignalDetectorKind) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetActivationSignalDetectorsAsync)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1109,7 +1109,7 @@ impl ConversationalAgentDetectorManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetActivationSignalDetectorFromId)(::windows::core::Interface::as_raw(this), detectorid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1121,13 +1121,13 @@ impl ConversationalAgentDetectorManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetActivationSignalDetectorFromIdAsync)(::windows::core::Interface::as_raw(this), detectorid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Default() -> ::windows::core::Result { Self::IConversationalAgentDetectorManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Default)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1217,7 +1217,7 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInterrupted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1235,7 +1235,7 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalDetected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1253,7 +1253,7 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1266,56 +1266,56 @@ impl ConversationalAgentSession { pub fn AgentState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AgentState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Signal(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Signal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsIndicatorLightAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIndicatorLightAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsScreenAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScreenAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUserAuthenticated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUserAuthenticated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVoiceActivationAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVoiceActivationAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInterruptible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInterruptible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInterrupted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInterrupted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1324,14 +1324,14 @@ impl ConversationalAgentSession { pub fn RequestInterruptibleAsync(&self, interruptible: bool) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestInterruptibleAsync)(::windows::core::Interface::as_raw(this), interruptible, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RequestInterruptible(&self, interruptible: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestInterruptible)(::windows::core::Interface::as_raw(this), interruptible, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1340,14 +1340,14 @@ impl ConversationalAgentSession { pub fn RequestAgentStateChangeAsync(&self, state: ConversationalAgentState) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAgentStateChangeAsync)(::windows::core::Interface::as_raw(this), state, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RequestAgentStateChange(&self, state: ConversationalAgentState) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAgentStateChange)(::windows::core::Interface::as_raw(this), state, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1356,14 +1356,14 @@ impl ConversationalAgentSession { pub fn RequestForegroundActivationAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestForegroundActivationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RequestForegroundActivation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestForegroundActivation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1372,14 +1372,14 @@ impl ConversationalAgentSession { pub fn GetAudioClientAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioClientAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetAudioClient(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioClient)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1391,7 +1391,7 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAudioDeviceInputNodeAsync)(::windows::core::Interface::as_raw(this), graph.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1403,7 +1403,7 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAudioDeviceInputNode)(::windows::core::Interface::as_raw(this), graph.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1412,14 +1412,14 @@ impl ConversationalAgentSession { pub fn GetAudioCaptureDeviceIdAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioCaptureDeviceIdAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetAudioCaptureDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioCaptureDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1428,14 +1428,14 @@ impl ConversationalAgentSession { pub fn GetAudioRenderDeviceIdAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioRenderDeviceIdAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetAudioRenderDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioRenderDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1444,14 +1444,14 @@ impl ConversationalAgentSession { pub fn GetSignalModelIdAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSignalModelIdAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetSignalModelId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSignalModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1460,14 +1460,14 @@ impl ConversationalAgentSession { pub fn SetSignalModelIdAsync(&self, signalmodelid: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetSignalModelIdAsync)(::windows::core::Interface::as_raw(this), signalmodelid, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SetSignalModelId(&self, signalmodelid: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetSignalModelId)(::windows::core::Interface::as_raw(this), signalmodelid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1476,7 +1476,7 @@ impl ConversationalAgentSession { pub fn GetSupportedSignalModelIdsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedSignalModelIdsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1485,7 +1485,7 @@ impl ConversationalAgentSession { pub fn GetSupportedSignalModelIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedSignalModelIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1494,14 +1494,14 @@ impl ConversationalAgentSession { pub fn RequestActivationAsync(&self, activationkind: ConversationalAgentActivationKind) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestActivationAsync)(::windows::core::Interface::as_raw(this), activationkind, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RequestActivation(&self, activationkind: ConversationalAgentActivationKind) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestActivation)(::windows::core::Interface::as_raw(this), activationkind, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1510,7 +1510,7 @@ impl ConversationalAgentSession { pub fn SetSupportLockScreenActivationAsync(&self, lockscreenactivationsupported: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetSupportLockScreenActivationAsync)(::windows::core::Interface::as_raw(this), lockscreenactivationsupported, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1523,7 +1523,7 @@ impl ConversationalAgentSession { pub fn GetMissingPrerequisites(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMissingPrerequisites)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1532,7 +1532,7 @@ impl ConversationalAgentSession { pub fn GetMissingPrerequisitesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMissingPrerequisitesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1540,13 +1540,13 @@ impl ConversationalAgentSession { #[cfg(feature = "Foundation")] pub fn GetCurrentSessionAsync() -> ::windows::core::Result> { Self::IConversationalAgentSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentSessionAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetCurrentSessionSync() -> ::windows::core::Result { Self::IConversationalAgentSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentSessionSync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1747,7 +1747,7 @@ impl ConversationalAgentSignal { pub fn IsSignalVerificationRequired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSignalVerificationRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1758,7 +1758,7 @@ impl ConversationalAgentSignal { pub fn SignalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1772,7 +1772,7 @@ impl ConversationalAgentSignal { pub fn SignalName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1786,7 +1786,7 @@ impl ConversationalAgentSignal { pub fn SignalContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1802,7 +1802,7 @@ impl ConversationalAgentSignal { pub fn SignalStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1817,7 +1817,7 @@ impl ConversationalAgentSignal { pub fn SignalEnd(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1830,14 +1830,14 @@ impl ConversationalAgentSignal { pub fn DetectorId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetectorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DetectorKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetectorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2051,7 +2051,7 @@ impl ConversationalAgentSystemStateChangedEventArgs { pub fn SystemStateChangeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemStateChangeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2198,7 +2198,7 @@ impl DetectionConfigurationAvailabilityChangedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2272,28 +2272,28 @@ impl DetectionConfigurationAvailabilityInfo { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasSystemResourceAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasSystemResourceAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasPermission(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasPermission)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasLockScreenPermission(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasLockScreenPermission)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2302,7 +2302,7 @@ impl DetectionConfigurationAvailabilityInfo { pub fn UnavailableSystemResources(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnavailableSystemResources)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs index fd466abf0e..2b617e705b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs @@ -5,7 +5,7 @@ impl AppListEntry { pub fn DisplayInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14,14 +14,14 @@ impl AppListEntry { pub fn LaunchAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AppUserModelId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppUserModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -33,14 +33,14 @@ impl AppListEntry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AppInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -148,7 +148,7 @@ pub struct CoreApplication; impl CoreApplication { pub fn Id() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICoreApplication(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -159,7 +159,7 @@ impl CoreApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::ICoreApplication(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Suspending)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -175,7 +175,7 @@ impl CoreApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::ICoreApplication(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Resuming)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -188,13 +188,13 @@ impl CoreApplication { #[cfg(feature = "Foundation_Collections")] pub fn Properties() -> ::windows::core::Result { Self::ICoreApplication(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetCurrentView() -> ::windows::core::Result { Self::ICoreApplication(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -221,7 +221,7 @@ impl CoreApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::ICoreApplication2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundActivated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -237,7 +237,7 @@ impl CoreApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::ICoreApplication2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeavingBackground)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -253,7 +253,7 @@ impl CoreApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::ICoreApplication2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnteredBackground)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -272,7 +272,7 @@ impl CoreApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICoreApplication3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestRestartAsync)(::windows::core::Interface::as_raw(this), launcharguments.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -284,7 +284,7 @@ impl CoreApplication { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICoreApplication3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestRestartForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), launcharguments.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -298,7 +298,7 @@ impl CoreApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::ICoreApplicationExit(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exiting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -314,7 +314,7 @@ impl CoreApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::ICoreApplicationUnhandledError(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnhandledErrorDetected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -333,7 +333,7 @@ impl CoreApplication { #[cfg(feature = "Foundation_Collections")] pub fn Views() -> ::windows::core::Result> { Self::ICoreImmersiveApplication(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Views)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -343,19 +343,19 @@ impl CoreApplication { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICoreImmersiveApplication(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNewView)(::windows::core::Interface::as_raw(this), runtimetype.into().abi(), entrypoint.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MainView() -> ::windows::core::Result { Self::ICoreImmersiveApplication(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MainView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateNewViewFromMainView() -> ::windows::core::Result { Self::ICoreImmersiveApplication2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNewViewFromMainView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -365,7 +365,7 @@ impl CoreApplication { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICoreImmersiveApplication3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNewViewWithViewSource)(::windows::core::Interface::as_raw(this), viewsource.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -427,7 +427,7 @@ impl CoreApplicationView { pub fn CoreWindow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoreWindow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -439,7 +439,7 @@ impl CoreApplicationView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Activated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -452,14 +452,14 @@ impl CoreApplicationView { pub fn IsMain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHosted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHosted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -468,21 +468,21 @@ impl CoreApplicationView { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsComponent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComponent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TitleBar(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TitleBar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -494,7 +494,7 @@ impl CoreApplicationView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HostedViewClosing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -509,7 +509,7 @@ impl CoreApplicationView { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -518,7 +518,7 @@ impl CoreApplicationView { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -594,28 +594,28 @@ impl CoreApplicationViewTitleBar { pub fn ExtendViewIntoTitleBar(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendViewIntoTitleBar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SystemOverlayLeftInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemOverlayLeftInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SystemOverlayRightInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemOverlayRightInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -627,7 +627,7 @@ impl CoreApplicationViewTitleBar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LayoutMetricsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -640,7 +640,7 @@ impl CoreApplicationViewTitleBar { pub fn IsVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -652,7 +652,7 @@ impl CoreApplicationViewTitleBar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisibleChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -732,7 +732,7 @@ impl HostedViewClosingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -987,7 +987,7 @@ impl ICoreApplicationUnhandledError { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnhandledErrorDetected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1369,7 +1369,7 @@ impl IFrameworkViewSource { pub fn CreateView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1487,7 +1487,7 @@ impl UnhandledError { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1565,7 +1565,7 @@ impl UnhandledErrorDetectedEventArgs { pub fn UnhandledError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnhandledError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } 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 b139ba434b..dee3665a46 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 @@ -10,7 +10,7 @@ impl CoreDragDropManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetRequested)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23,7 +23,7 @@ impl CoreDragDropManager { pub fn AreConcurrentOperationsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreConcurrentOperationsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33,7 +33,7 @@ impl CoreDragDropManager { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ICoreDragDropManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -112,14 +112,14 @@ impl CoreDragInfo { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Modifiers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Modifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -128,14 +128,14 @@ impl CoreDragInfo { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AllowedOperations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowedOperations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -216,7 +216,7 @@ impl CoreDragOperation { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -245,7 +245,7 @@ impl CoreDragOperation { pub fn DragUIContentMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DragUIContentMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -258,14 +258,14 @@ impl CoreDragOperation { pub fn StartAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AllowedOperations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowedOperations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -423,7 +423,7 @@ impl CoreDragUIOverride { pub fn IsContentVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsContentVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -434,7 +434,7 @@ impl CoreDragUIOverride { pub fn Caption(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Caption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -448,7 +448,7 @@ impl CoreDragUIOverride { pub fn IsCaptionVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCaptionVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -459,7 +459,7 @@ impl CoreDragUIOverride { pub fn IsGlyphVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGlyphVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -759,7 +759,7 @@ impl ICoreDropOperationTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterAsync)(::windows::core::Interface::as_raw(this), draginfo.into().abi(), draguioverride.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -772,7 +772,7 @@ impl ICoreDropOperationTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OverAsync)(::windows::core::Interface::as_raw(this), draginfo.into().abi(), draguioverride.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -784,7 +784,7 @@ impl ICoreDropOperationTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeaveAsync)(::windows::core::Interface::as_raw(this), draginfo.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -796,7 +796,7 @@ impl ICoreDropOperationTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DropAsync)(::windows::core::Interface::as_raw(this), draginfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs index 2320d1402b..8d8c24b960 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs @@ -94,7 +94,7 @@ impl QuickLink { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -110,7 +110,7 @@ impl QuickLink { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -126,7 +126,7 @@ impl QuickLink { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -142,7 +142,7 @@ impl QuickLink { pub fn SupportedDataFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedDataFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -151,7 +151,7 @@ impl QuickLink { pub fn SupportedFileTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedFileTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -223,14 +223,14 @@ impl ShareOperation { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn QuickLinkId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QuickLinkId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -277,7 +277,7 @@ impl ShareOperation { pub fn Contacts(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contacts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs index 904bb2a3e2..c5f12f7218 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -7,7 +7,7 @@ pub struct Clipboard; impl Clipboard { pub fn GetContent() -> ::windows::core::Result { Self::IClipboardStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -30,7 +30,7 @@ impl Clipboard { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IClipboardStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -43,13 +43,13 @@ impl Clipboard { #[cfg(feature = "Foundation")] pub fn GetHistoryItemsAsync() -> ::windows::core::Result> { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHistoryItemsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn ClearHistory() -> ::windows::core::Result { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearHistory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -58,7 +58,7 @@ impl Clipboard { P0: ::std::convert::Into<::windows::core::InParam<'a, ClipboardHistoryItem>>, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteItemFromHistory)(::windows::core::Interface::as_raw(this), item.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -67,19 +67,19 @@ impl Clipboard { P0: ::std::convert::Into<::windows::core::InParam<'a, ClipboardHistoryItem>>, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetHistoryItemAsContent)(::windows::core::Interface::as_raw(this), item.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsHistoryEnabled() -> ::windows::core::Result { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHistoryEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsRoamingEnabled() -> ::windows::core::Result { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRoamingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -89,7 +89,7 @@ impl Clipboard { P1: ::std::convert::Into<::windows::core::InParam<'a, ClipboardContentOptions>>, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetContentWithOptions)(::windows::core::Interface::as_raw(this), content.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -100,7 +100,7 @@ impl Clipboard { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HistoryChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -116,7 +116,7 @@ impl Clipboard { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingEnabledChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -132,7 +132,7 @@ impl Clipboard { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HistoryEnabledChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -169,7 +169,7 @@ impl ClipboardContentOptions { pub fn IsRoamable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRoamable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -180,7 +180,7 @@ impl ClipboardContentOptions { pub fn IsAllowedInHistory(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAllowedInHistory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -193,7 +193,7 @@ impl ClipboardContentOptions { pub fn RoamingFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -202,7 +202,7 @@ impl ClipboardContentOptions { pub fn HistoryFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HistoryFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -342,7 +342,7 @@ impl ClipboardHistoryItem { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -351,14 +351,14 @@ impl ClipboardHistoryItem { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -432,7 +432,7 @@ impl ClipboardHistoryItemsResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -441,7 +441,7 @@ impl ClipboardHistoryItemsResult { pub fn Items(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -557,21 +557,21 @@ impl DataPackage { pub fn GetView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequestedOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -587,7 +587,7 @@ impl DataPackage { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -605,7 +605,7 @@ impl DataPackage { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Destroyed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -659,7 +659,7 @@ impl DataPackage { pub fn ResourceMap(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceMap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -725,7 +725,7 @@ impl DataPackage { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -743,7 +743,7 @@ impl DataPackage { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareCanceled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -887,7 +887,7 @@ impl DataPackagePropertySet { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -901,7 +901,7 @@ impl DataPackagePropertySet { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -917,7 +917,7 @@ impl DataPackagePropertySet { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -936,14 +936,14 @@ impl DataPackagePropertySet { pub fn FileTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ApplicationName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -959,7 +959,7 @@ impl DataPackagePropertySet { pub fn ApplicationListingUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationListingUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -977,7 +977,7 @@ impl DataPackagePropertySet { pub fn ContentSourceWebLink(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentSourceWebLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -995,7 +995,7 @@ impl DataPackagePropertySet { pub fn ContentSourceApplicationLink(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentSourceApplicationLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1011,7 +1011,7 @@ impl DataPackagePropertySet { pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1027,7 +1027,7 @@ impl DataPackagePropertySet { pub fn Square30x30Logo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Square30x30Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1046,7 +1046,7 @@ impl DataPackagePropertySet { pub fn LogoBackgroundColor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogoBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1059,7 +1059,7 @@ impl DataPackagePropertySet { pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1073,7 +1073,7 @@ impl DataPackagePropertySet { pub fn ContentSourceUserActivityJson(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentSourceUserActivityJson)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1089,7 +1089,7 @@ impl DataPackagePropertySet { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1101,7 +1101,7 @@ impl DataPackagePropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1110,7 +1110,7 @@ impl DataPackagePropertySet { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1122,7 +1122,7 @@ impl DataPackagePropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1131,7 +1131,7 @@ impl DataPackagePropertySet { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1144,7 +1144,7 @@ impl DataPackagePropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1293,14 +1293,14 @@ impl DataPackagePropertySetView { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1309,7 +1309,7 @@ impl DataPackagePropertySetView { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1318,14 +1318,14 @@ impl DataPackagePropertySetView { pub fn FileTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ApplicationName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1334,14 +1334,14 @@ impl DataPackagePropertySetView { pub fn ApplicationListingUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationListingUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1350,7 +1350,7 @@ impl DataPackagePropertySetView { pub fn ContentSourceWebLink(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentSourceWebLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1359,7 +1359,7 @@ impl DataPackagePropertySetView { pub fn ContentSourceApplicationLink(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentSourceApplicationLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1368,7 +1368,7 @@ impl DataPackagePropertySetView { pub fn Square30x30Logo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Square30x30Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1377,28 +1377,28 @@ impl DataPackagePropertySetView { pub fn LogoBackgroundColor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogoBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContentSourceUserActivityJson(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentSourceUserActivityJson)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsFromRoamingClipboard(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFromRoamingClipboard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1407,7 +1407,7 @@ impl DataPackagePropertySetView { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1419,7 +1419,7 @@ impl DataPackagePropertySetView { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1428,7 +1428,7 @@ impl DataPackagePropertySetView { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1440,7 +1440,7 @@ impl DataPackagePropertySetView { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1580,14 +1580,14 @@ impl DataPackageView { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequestedOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1600,7 +1600,7 @@ impl DataPackageView { pub fn AvailableFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1610,7 +1610,7 @@ impl DataPackageView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contains)(::windows::core::Interface::as_raw(this), formatid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1622,7 +1622,7 @@ impl DataPackageView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDataAsync)(::windows::core::Interface::as_raw(this), formatid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1631,7 +1631,7 @@ impl DataPackageView { pub fn GetTextAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTextAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1643,7 +1643,7 @@ impl DataPackageView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCustomTextAsync)(::windows::core::Interface::as_raw(this), formatid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1652,7 +1652,7 @@ impl DataPackageView { pub fn GetUriAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUriAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1661,7 +1661,7 @@ impl DataPackageView { pub fn GetHtmlFormatAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHtmlFormatAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1670,7 +1670,7 @@ impl DataPackageView { pub fn GetResourceMapAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResourceMapAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1679,7 +1679,7 @@ impl DataPackageView { pub fn GetRtfAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRtfAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1688,7 +1688,7 @@ impl DataPackageView { pub fn GetBitmapAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBitmapAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1697,7 +1697,7 @@ impl DataPackageView { pub fn GetStorageItemsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStorageItemsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1706,7 +1706,7 @@ impl DataPackageView { pub fn GetApplicationLinkAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetApplicationLinkAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1715,7 +1715,7 @@ impl DataPackageView { pub fn GetWebLinkAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWebLinkAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1724,7 +1724,7 @@ impl DataPackageView { pub fn RequestAccessAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1736,7 +1736,7 @@ impl DataPackageView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessWithEnterpriseIdAsync)(::windows::core::Interface::as_raw(this), enterpriseid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1745,7 +1745,7 @@ impl DataPackageView { pub fn UnlockAndAssumeEnterpriseIdentity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnlockAndAssumeEnterpriseIdentity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1984,7 +1984,7 @@ impl DataProviderRequest { pub fn FormatId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1993,14 +1993,14 @@ impl DataProviderRequest { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2081,7 +2081,7 @@ impl DataRequest { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2097,7 +2097,7 @@ impl DataRequest { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2111,7 +2111,7 @@ impl DataRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2256,7 +2256,7 @@ impl DataRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2335,7 +2335,7 @@ impl DataTransferManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2353,7 +2353,7 @@ impl DataTransferManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetApplicationChosen)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2371,7 +2371,7 @@ impl DataTransferManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareProvidersRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2386,13 +2386,13 @@ impl DataTransferManager { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IDataTransferManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IDataTransferManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2486,7 +2486,7 @@ impl HtmlFormatHelper { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHtmlFormatHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStaticFragment)(::windows::core::Interface::as_raw(this), htmlformat.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2495,7 +2495,7 @@ impl HtmlFormatHelper { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHtmlFormatHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateHtmlFormat)(::windows::core::Interface::as_raw(this), htmlfragment.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3505,14 +3505,14 @@ impl OperationCompletedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AcceptedFormatId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptedFormatId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3621,7 +3621,7 @@ impl ShareCompletedEventArgs { pub fn ShareTarget(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareTarget)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3695,7 +3695,7 @@ impl ShareProvider { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3704,7 +3704,7 @@ impl ShareProvider { pub fn DisplayIcon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayIcon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3713,14 +3713,14 @@ impl ShareProvider { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Tag(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3740,7 +3740,7 @@ impl ShareProvider { P2: ::std::convert::Into<::windows::core::InParam<'a, ShareProviderHandler>>, { Self::IShareProviderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), title.into().abi(), displayicon.into().abi(), backgroundcolor, handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3906,14 +3906,14 @@ impl ShareProviderOperation { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Provider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Provider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3993,14 +3993,14 @@ impl ShareProvidersRequestedEventArgs { pub fn Providers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Providers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4009,7 +4009,7 @@ impl ShareProvidersRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4083,14 +4083,14 @@ impl ShareTargetInfo { pub fn AppUserModelId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppUserModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ShareProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4171,7 +4171,7 @@ impl ShareUIOptions { pub fn Theme(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Theme)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4184,7 +4184,7 @@ impl ShareUIOptions { pub fn SelectionRect(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectionRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4307,7 +4307,7 @@ impl SharedStorageAccessManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISharedStorageAccessManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddFile)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -4318,7 +4318,7 @@ impl SharedStorageAccessManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISharedStorageAccessManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedeemTokenForFileAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4342,7 +4342,7 @@ pub struct StandardDataFormats; impl StandardDataFormats { pub fn Text() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -4350,49 +4350,49 @@ impl StandardDataFormats { #[cfg(feature = "deprecated")] pub fn Uri() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Html() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Html)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Rtf() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rtf)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Bitmap() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bitmap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn StorageItems() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorageItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn WebLink() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardDataFormatsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ApplicationLink() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardDataFormatsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn UserActivityJsonArray() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardDataFormatsStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserActivityJsonArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -4422,7 +4422,7 @@ impl TargetApplicationChosenEventArgs { pub fn ApplicationName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs index f943c29ebc..1a3f60e905 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs @@ -10,7 +10,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MailboxSyncRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28,7 +28,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadMessageRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -46,7 +46,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadAttachmentRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -64,7 +64,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -82,7 +82,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteFolderRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -100,7 +100,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmptyFolderRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -118,7 +118,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveFolderRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -136,7 +136,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateMeetingResponseRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -154,7 +154,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForwardMeetingRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -172,7 +172,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProposeNewTimeForMeetingRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -190,7 +190,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAutoReplySettingsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -208,7 +208,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAutoReplySettingsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -226,7 +226,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolveRecipientsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -244,7 +244,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateCertificatesRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -262,7 +262,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerSearchReadBatchRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -346,7 +346,7 @@ impl EmailDataProviderTriggerDetails { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -420,21 +420,21 @@ impl EmailMailboxCreateFolderRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentFolderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentFolderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -446,7 +446,7 @@ impl EmailMailboxCreateFolderRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), folder.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -455,7 +455,7 @@ impl EmailMailboxCreateFolderRequest { pub fn ReportFailedAsync(&self, status: super::EmailMailboxCreateFolderStatus) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), status, result__.as_mut_ptr()).from_abi::(result__) } } @@ -529,7 +529,7 @@ impl EmailMailboxCreateFolderRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -538,7 +538,7 @@ impl EmailMailboxCreateFolderRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -612,14 +612,14 @@ impl EmailMailboxDeleteFolderRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailFolderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailFolderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -628,7 +628,7 @@ impl EmailMailboxDeleteFolderRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -637,7 +637,7 @@ impl EmailMailboxDeleteFolderRequest { pub fn ReportFailedAsync(&self, status: super::EmailMailboxDeleteFolderStatus) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), status, result__.as_mut_ptr()).from_abi::(result__) } } @@ -711,7 +711,7 @@ impl EmailMailboxDeleteFolderRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -720,7 +720,7 @@ impl EmailMailboxDeleteFolderRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -794,21 +794,21 @@ impl EmailMailboxDownloadAttachmentRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailMessageId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMessageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailAttachmentId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailAttachmentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -817,7 +817,7 @@ impl EmailMailboxDownloadAttachmentRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -826,7 +826,7 @@ impl EmailMailboxDownloadAttachmentRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -900,7 +900,7 @@ impl EmailMailboxDownloadAttachmentRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -909,7 +909,7 @@ impl EmailMailboxDownloadAttachmentRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -983,14 +983,14 @@ impl EmailMailboxDownloadMessageRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailMessageId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMessageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -999,7 +999,7 @@ impl EmailMailboxDownloadMessageRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1008,7 +1008,7 @@ impl EmailMailboxDownloadMessageRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1082,7 +1082,7 @@ impl EmailMailboxDownloadMessageRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1091,7 +1091,7 @@ impl EmailMailboxDownloadMessageRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1165,14 +1165,14 @@ impl EmailMailboxEmptyFolderRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailFolderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailFolderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1181,7 +1181,7 @@ impl EmailMailboxEmptyFolderRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1190,7 +1190,7 @@ impl EmailMailboxEmptyFolderRequest { pub fn ReportFailedAsync(&self, status: super::EmailMailboxEmptyFolderStatus) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), status, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1264,7 +1264,7 @@ impl EmailMailboxEmptyFolderRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1273,7 +1273,7 @@ impl EmailMailboxEmptyFolderRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1347,14 +1347,14 @@ impl EmailMailboxForwardMeetingRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailMessageId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMessageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1363,35 +1363,35 @@ impl EmailMailboxForwardMeetingRequest { pub fn Recipients(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recipients)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ForwardHeaderType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForwardHeaderType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ForwardHeader(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForwardHeader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1400,7 +1400,7 @@ impl EmailMailboxForwardMeetingRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1409,7 +1409,7 @@ impl EmailMailboxForwardMeetingRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1483,7 +1483,7 @@ impl EmailMailboxForwardMeetingRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1492,7 +1492,7 @@ impl EmailMailboxForwardMeetingRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1566,14 +1566,14 @@ impl EmailMailboxGetAutoReplySettingsRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RequestedFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1585,7 +1585,7 @@ impl EmailMailboxGetAutoReplySettingsRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), autoreplysettings.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1594,7 +1594,7 @@ impl EmailMailboxGetAutoReplySettingsRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1668,7 +1668,7 @@ impl EmailMailboxGetAutoReplySettingsRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1677,7 +1677,7 @@ impl EmailMailboxGetAutoReplySettingsRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1751,28 +1751,28 @@ impl EmailMailboxMoveFolderRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailFolderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailFolderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NewParentFolderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewParentFolderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NewFolderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewFolderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1781,7 +1781,7 @@ impl EmailMailboxMoveFolderRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1790,7 +1790,7 @@ impl EmailMailboxMoveFolderRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1864,7 +1864,7 @@ impl EmailMailboxMoveFolderRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1873,7 +1873,7 @@ impl EmailMailboxMoveFolderRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1947,14 +1947,14 @@ impl EmailMailboxProposeNewTimeForMeetingRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailMessageId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMessageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1963,7 +1963,7 @@ impl EmailMailboxProposeNewTimeForMeetingRequest { pub fn NewStartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1972,21 +1972,21 @@ impl EmailMailboxProposeNewTimeForMeetingRequest { pub fn NewDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1995,7 +1995,7 @@ impl EmailMailboxProposeNewTimeForMeetingRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2004,7 +2004,7 @@ impl EmailMailboxProposeNewTimeForMeetingRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2078,7 +2078,7 @@ impl EmailMailboxProposeNewTimeForMeetingRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2087,7 +2087,7 @@ impl EmailMailboxProposeNewTimeForMeetingRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2161,7 +2161,7 @@ impl EmailMailboxResolveRecipientsRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2170,7 +2170,7 @@ impl EmailMailboxResolveRecipientsRequest { pub fn Recipients(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recipients)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2183,7 +2183,7 @@ impl EmailMailboxResolveRecipientsRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), resolutionresults.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2192,7 +2192,7 @@ impl EmailMailboxResolveRecipientsRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2266,7 +2266,7 @@ impl EmailMailboxResolveRecipientsRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2275,7 +2275,7 @@ impl EmailMailboxResolveRecipientsRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2349,35 +2349,35 @@ impl EmailMailboxServerSearchReadBatchRequest { pub fn SessionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailFolderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailFolderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Options(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SuggestedBatchSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestedBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2389,7 +2389,7 @@ impl EmailMailboxServerSearchReadBatchRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveMessageAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2398,7 +2398,7 @@ impl EmailMailboxServerSearchReadBatchRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2407,7 +2407,7 @@ impl EmailMailboxServerSearchReadBatchRequest { pub fn ReportFailedAsync(&self, batchstatus: super::EmailBatchStatus) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), batchstatus, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2481,7 +2481,7 @@ impl EmailMailboxServerSearchReadBatchRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2490,7 +2490,7 @@ impl EmailMailboxServerSearchReadBatchRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2564,14 +2564,14 @@ impl EmailMailboxSetAutoReplySettingsRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AutoReplySettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoReplySettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2580,7 +2580,7 @@ impl EmailMailboxSetAutoReplySettingsRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2589,7 +2589,7 @@ impl EmailMailboxSetAutoReplySettingsRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2663,7 +2663,7 @@ impl EmailMailboxSetAutoReplySettingsRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2672,7 +2672,7 @@ impl EmailMailboxSetAutoReplySettingsRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2746,7 +2746,7 @@ impl EmailMailboxSyncManagerSyncRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2755,7 +2755,7 @@ impl EmailMailboxSyncManagerSyncRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2764,7 +2764,7 @@ impl EmailMailboxSyncManagerSyncRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2838,7 +2838,7 @@ impl EmailMailboxSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2847,7 +2847,7 @@ impl EmailMailboxSyncManagerSyncRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2921,42 +2921,42 @@ impl EmailMailboxUpdateMeetingResponseRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmailMessageId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMessageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Response(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Response)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SendUpdate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendUpdate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2965,7 +2965,7 @@ impl EmailMailboxUpdateMeetingResponseRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2974,7 +2974,7 @@ impl EmailMailboxUpdateMeetingResponseRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3048,7 +3048,7 @@ impl EmailMailboxUpdateMeetingResponseRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3057,7 +3057,7 @@ impl EmailMailboxUpdateMeetingResponseRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3131,7 +3131,7 @@ impl EmailMailboxValidateCertificatesRequest { pub fn EmailMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3140,7 +3140,7 @@ impl EmailMailboxValidateCertificatesRequest { pub fn Certificates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Certificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3153,7 +3153,7 @@ impl EmailMailboxValidateCertificatesRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), validationstatuses.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3162,7 +3162,7 @@ impl EmailMailboxValidateCertificatesRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3236,7 +3236,7 @@ impl EmailMailboxValidateCertificatesRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3245,7 +3245,7 @@ impl EmailMailboxValidateCertificatesRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs index 0f8a0855ea..2f64898e88 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs @@ -14,7 +14,7 @@ impl EmailAttachment { pub fn FileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -30,7 +30,7 @@ impl EmailAttachment { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -47,14 +47,14 @@ impl EmailAttachment { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContentId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -68,7 +68,7 @@ impl EmailAttachment { pub fn ContentLocation(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -82,7 +82,7 @@ impl EmailAttachment { pub fn DownloadState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -93,7 +93,7 @@ impl EmailAttachment { pub fn EstimatedDownloadSizeInBytes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EstimatedDownloadSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -104,14 +104,14 @@ impl EmailAttachment { pub fn IsFromBaseMessage(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFromBaseMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInline(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -122,7 +122,7 @@ impl EmailAttachment { pub fn MimeType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MimeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -142,7 +142,7 @@ impl EmailAttachment { E1: ::std::convert::Into<::windows::core::Error>, { Self::IEmailAttachmentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), filename.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -156,7 +156,7 @@ impl EmailAttachment { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IEmailAttachmentFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), filename.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), mimetype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -354,56 +354,56 @@ impl EmailConversation { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FlagState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlagState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasAttachment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasAttachment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Importance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Importance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastEmailResponseKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastEmailResponseKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MostRecentMessageId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MostRecentMessageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -412,35 +412,35 @@ impl EmailConversation { pub fn MostRecentMessageTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MostRecentMessageTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Preview(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Preview)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LatestSender(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LatestSender)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UnreadMessageCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnreadMessageCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -449,7 +449,7 @@ impl EmailConversation { pub fn FindMessagesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindMessagesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -458,7 +458,7 @@ impl EmailConversation { pub fn FindMessagesWithCountAsync(&self, count: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindMessagesWithCountAsync)(::windows::core::Interface::as_raw(this), count, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -534,14 +534,14 @@ impl EmailConversationBatch { pub fn Conversations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Conversations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -617,7 +617,7 @@ impl EmailConversationReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -727,14 +727,14 @@ impl EmailFolder { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -748,21 +748,21 @@ impl EmailFolder { pub fn MailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentFolderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentFolderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -776,7 +776,7 @@ impl EmailFolder { pub fn IsSyncEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSyncEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -789,7 +789,7 @@ impl EmailFolder { pub fn LastSuccessfulSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastSuccessfulSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -802,7 +802,7 @@ impl EmailFolder { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -814,7 +814,7 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -823,7 +823,7 @@ impl EmailFolder { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -832,14 +832,14 @@ impl EmailFolder { pub fn FindChildFoldersAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindChildFoldersAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn GetConversationReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -849,7 +849,7 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationReaderWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -861,14 +861,14 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetMessageReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -878,7 +878,7 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageReaderWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -887,7 +887,7 @@ impl EmailFolder { pub fn GetMessageCountsAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageCountsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -899,7 +899,7 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryMoveAsync)(::windows::core::Interface::as_raw(this), newparentfolder.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -912,7 +912,7 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryMoveWithNewNameAsync)(::windows::core::Interface::as_raw(this), newparentfolder.into().abi(), newfoldername.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -921,7 +921,7 @@ impl EmailFolder { pub fn TrySaveAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -933,7 +933,7 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveMessageAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1049,7 +1049,7 @@ impl EmailIrmInfo { pub fn CanEdit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanEdit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1060,7 +1060,7 @@ impl EmailIrmInfo { pub fn CanExtractData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanExtractData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1071,7 +1071,7 @@ impl EmailIrmInfo { pub fn CanForward(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanForward)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1082,7 +1082,7 @@ impl EmailIrmInfo { pub fn CanModifyRecipientsOnResponse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanModifyRecipientsOnResponse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1093,7 +1093,7 @@ impl EmailIrmInfo { pub fn CanPrintData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPrintData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1104,7 +1104,7 @@ impl EmailIrmInfo { pub fn CanRemoveIrmOnResponse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRemoveIrmOnResponse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1115,7 +1115,7 @@ impl EmailIrmInfo { pub fn CanReply(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanReply)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1126,7 +1126,7 @@ impl EmailIrmInfo { pub fn CanReplyAll(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanReplyAll)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1139,7 +1139,7 @@ impl EmailIrmInfo { pub fn ExpirationDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1152,7 +1152,7 @@ impl EmailIrmInfo { pub fn IsIrmOriginator(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIrmOriginator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1163,7 +1163,7 @@ impl EmailIrmInfo { pub fn IsProgramaticAccessAllowed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsProgramaticAccessAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1174,7 +1174,7 @@ impl EmailIrmInfo { pub fn Template(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Template)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1192,7 +1192,7 @@ impl EmailIrmInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, EmailIrmTemplate>>, { Self::IEmailIrmInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), expiration, irmtemplate.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1278,7 +1278,7 @@ impl EmailIrmTemplate { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1292,7 +1292,7 @@ impl EmailIrmTemplate { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1306,7 +1306,7 @@ impl EmailIrmTemplate { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1324,7 +1324,7 @@ impl EmailIrmTemplate { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IEmailIrmTemplateFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), id.into().abi(), name.into().abi(), description.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1403,28 +1403,28 @@ impl EmailItemCounts { pub fn Flagged(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Flagged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Important(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Important)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Total(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Total)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Unread(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unread)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1498,21 +1498,21 @@ impl EmailMailbox { pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChangeTracker(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeTracker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1526,28 +1526,28 @@ impl EmailMailbox { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsOwnedByCurrentApp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOwnedByCurrentApp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDataEncryptedUnderLock(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDataEncryptedUnderLock)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MailAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MailAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1563,14 +1563,14 @@ impl EmailMailbox { pub fn MailAddressAliases(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MailAddressAliases)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OtherAppReadAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppReadAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1581,7 +1581,7 @@ impl EmailMailbox { pub fn OtherAppWriteAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppWriteAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1592,35 +1592,35 @@ impl EmailMailbox { pub fn Policies(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Policies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourceDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SyncManager(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UserDataAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDataAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetConversationReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1630,14 +1630,14 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationReaderWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetMessageReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1647,7 +1647,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageReaderWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1656,7 +1656,7 @@ impl EmailMailbox { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1668,7 +1668,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1680,7 +1680,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1692,7 +1692,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1701,7 +1701,7 @@ impl EmailMailbox { pub fn GetSpecialFolderAsync(&self, foldertype: EmailSpecialFolderKind) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSpecialFolderAsync)(::windows::core::Interface::as_raw(this), foldertype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1710,7 +1710,7 @@ impl EmailMailbox { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1722,7 +1722,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkMessageAsSeenAsync)(::windows::core::Interface::as_raw(this), messageid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1734,7 +1734,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkFolderAsSeenAsync)(::windows::core::Interface::as_raw(this), folderid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1746,7 +1746,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkMessageReadAsync)(::windows::core::Interface::as_raw(this), messageid.into().abi(), isread, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1758,7 +1758,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeMessageFlagStateAsync)(::windows::core::Interface::as_raw(this), messageid.into().abi(), flagstate, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1771,7 +1771,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryMoveMessageAsync)(::windows::core::Interface::as_raw(this), messageid.into().abi(), newparentfolderid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1784,7 +1784,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryMoveFolderAsync)(::windows::core::Interface::as_raw(this), folderid.into().abi(), newparentfolderid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1798,7 +1798,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryMoveFolderWithNewNameAsync)(::windows::core::Interface::as_raw(this), folderid.into().abi(), newparentfolderid.into().abi(), newfoldername.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1810,7 +1810,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteMessageAsync)(::windows::core::Interface::as_raw(this), messageid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1822,7 +1822,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkFolderSyncEnabledAsync)(::windows::core::Interface::as_raw(this), folderid.into().abi(), issyncenabled, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1834,7 +1834,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendMessageAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1846,7 +1846,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveDraftAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1858,7 +1858,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadMessageAsync)(::windows::core::Interface::as_raw(this), messageid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1870,7 +1870,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadAttachmentAsync)(::windows::core::Interface::as_raw(this), attachmentid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1884,7 +1884,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResponseMessageAsync)(::windows::core::Interface::as_raw(this), messageid.into().abi(), responsetype, subject.into().abi(), responseheadertype, responseheader.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1898,7 +1898,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdateMeetingResponseAsync)(::windows::core::Interface::as_raw(this), meeting.into().abi(), response, subject.into().abi(), comment.into().abi(), sendupdate, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1915,7 +1915,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryForwardMeetingAsync)(::windows::core::Interface::as_raw(this), meeting.into().abi(), recipients.try_into().map_err(|e| e.into())?.abi(), subject.into().abi(), forwardheadertype, forwardheader.into().abi(), comment.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1929,7 +1929,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryProposeNewTimeForMeetingAsync)(::windows::core::Interface::as_raw(this), meeting.into().abi(), newstarttime, newduration, subject.into().abi(), comment.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1941,7 +1941,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MailboxChanged)(::windows::core::Interface::as_raw(this), phandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1959,7 +1959,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartSendMessageAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), smartsend, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1971,7 +1971,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetAutoReplySettingsAsync)(::windows::core::Interface::as_raw(this), autoreplysettings.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1980,28 +1980,28 @@ impl EmailMailbox { pub fn TryGetAutoReplySettingsAsync(&self, requestedformat: EmailMailboxAutoReplyMessageResponseKind) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAutoReplySettingsAsync)(::windows::core::Interface::as_raw(this), requestedformat, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn LinkedMailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinkedMailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NetworkAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NetworkId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2014,7 +2014,7 @@ impl EmailMailbox { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolveRecipientsAsync)(::windows::core::Interface::as_raw(this), recipients.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2027,7 +2027,7 @@ impl EmailMailbox { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateCertificatesAsync)(::windows::core::Interface::as_raw(this), certificates.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2039,7 +2039,7 @@ impl EmailMailbox { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryEmptyFolderAsync)(::windows::core::Interface::as_raw(this), folderid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2052,7 +2052,7 @@ impl EmailMailbox { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFolderAsync)(::windows::core::Interface::as_raw(this), parentfolderid.into().abi(), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2064,7 +2064,7 @@ impl EmailMailbox { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDeleteFolderAsync)(::windows::core::Interface::as_raw(this), folderid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2073,7 +2073,7 @@ impl EmailMailbox { pub fn RegisterSyncManagerAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterSyncManagerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2083,7 +2083,7 @@ impl EmailMailbox { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangeTracker)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2157,14 +2157,14 @@ impl EmailMailboxAction { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChangeNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2316,7 +2316,7 @@ impl EmailMailboxAutoReply { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2327,7 +2327,7 @@ impl EmailMailboxAutoReply { pub fn Response(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Response)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2449,7 +2449,7 @@ impl EmailMailboxAutoReplySettings { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2460,7 +2460,7 @@ impl EmailMailboxAutoReplySettings { pub fn ResponseKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2473,7 +2473,7 @@ impl EmailMailboxAutoReplySettings { pub fn StartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2492,7 +2492,7 @@ impl EmailMailboxAutoReplySettings { pub fn EndTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2509,21 +2509,21 @@ impl EmailMailboxAutoReplySettings { pub fn InternalReply(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InternalReply)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn KnownExternalReply(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KnownExternalReply)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UnknownExternalReply(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnknownExternalReply)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2597,98 +2597,98 @@ impl EmailMailboxCapabilities { pub fn CanForwardMeetings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanForwardMeetings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanGetAndSetExternalAutoReplies(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanGetAndSetExternalAutoReplies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanGetAndSetInternalAutoReplies(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanGetAndSetInternalAutoReplies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanUpdateMeetingResponses(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanUpdateMeetingResponses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanServerSearchFolders(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanServerSearchFolders)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanServerSearchMailbox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanServerSearchMailbox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanProposeNewTimeForMeetings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanProposeNewTimeForMeetings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanSmartSend(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanSmartSend)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanResolveRecipients(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanResolveRecipients)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanValidateCertificates(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanValidateCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanEmptyFolder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanEmptyFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanCreateFolder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCreateFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanDeleteFolder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanDeleteFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanMoveFolder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanMoveFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2818,7 +2818,7 @@ impl EmailMailboxChange { pub fn ChangeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2827,21 +2827,21 @@ impl EmailMailboxChange { pub fn MailboxActions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MailboxActions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Folder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2928,7 +2928,7 @@ impl EmailMailboxChangeReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3002,7 +3002,7 @@ impl EmailMailboxChangeTracker { pub fn IsTracking(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTracking)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3013,7 +3013,7 @@ impl EmailMailboxChangeTracker { pub fn GetChangeReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangeReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3201,7 +3201,7 @@ impl EmailMailboxChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3275,14 +3275,14 @@ impl EmailMailboxCreateFolderResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Folder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3540,14 +3540,14 @@ impl EmailMailboxPolicies { pub fn AllowedSmimeEncryptionAlgorithmNegotiation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowedSmimeEncryptionAlgorithmNegotiation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AllowSmimeSoftCertificates(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowSmimeSoftCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3556,7 +3556,7 @@ impl EmailMailboxPolicies { pub fn RequiredSmimeEncryptionAlgorithm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequiredSmimeEncryptionAlgorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3565,21 +3565,21 @@ impl EmailMailboxPolicies { pub fn RequiredSmimeSigningAlgorithm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequiredSmimeSigningAlgorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MustEncryptSmimeMessages(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MustEncryptSmimeMessages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MustSignSmimeMessages(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MustSignSmimeMessages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3762,7 +3762,7 @@ impl EmailMailboxSyncManager { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3771,7 +3771,7 @@ impl EmailMailboxSyncManager { pub fn LastSuccessfulSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastSuccessfulSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3780,7 +3780,7 @@ impl EmailMailboxSyncManager { pub fn LastAttemptedSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastAttemptedSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3789,7 +3789,7 @@ impl EmailMailboxSyncManager { pub fn SyncAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3801,7 +3801,7 @@ impl EmailMailboxSyncManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3939,7 +3939,7 @@ impl EmailManager { P0: ::std::convert::Into<::windows::core::InParam<'a, EmailMessage>>, { Self::IEmailManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowComposeNewEmailAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3947,7 +3947,7 @@ impl EmailManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync(accesstype: EmailStoreAccessType) -> ::windows::core::Result> { Self::IEmailManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), accesstype, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3958,7 +3958,7 @@ impl EmailManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IEmailManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3993,7 +3993,7 @@ impl EmailManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowComposeNewEmailAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4002,7 +4002,7 @@ impl EmailManagerForUser { pub fn RequestStoreAsync(&self, accesstype: EmailStoreAccessType) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), accesstype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4011,7 +4011,7 @@ impl EmailManagerForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4092,7 +4092,7 @@ impl EmailMeetingInfo { pub fn AllowNewTimeProposal(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowNewTimeProposal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4103,7 +4103,7 @@ impl EmailMeetingInfo { pub fn AppointmentRoamingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentRoamingId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4119,7 +4119,7 @@ impl EmailMeetingInfo { pub fn AppointmentOriginalStartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppointmentOriginalStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4138,7 +4138,7 @@ impl EmailMeetingInfo { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4151,7 +4151,7 @@ impl EmailMeetingInfo { pub fn IsAllDay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAllDay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4162,7 +4162,7 @@ impl EmailMeetingInfo { pub fn IsResponseRequested(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsResponseRequested)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4173,7 +4173,7 @@ impl EmailMeetingInfo { pub fn Location(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Location)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4189,7 +4189,7 @@ impl EmailMeetingInfo { pub fn ProposedStartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProposedStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4208,7 +4208,7 @@ impl EmailMeetingInfo { pub fn ProposedDuration(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProposedDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4227,7 +4227,7 @@ impl EmailMeetingInfo { pub fn RecurrenceStartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecurrenceStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4246,7 +4246,7 @@ impl EmailMeetingInfo { pub fn Recurrence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recurrence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4262,7 +4262,7 @@ impl EmailMeetingInfo { pub fn RemoteChangeNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteChangeNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4275,7 +4275,7 @@ impl EmailMeetingInfo { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4288,7 +4288,7 @@ impl EmailMeetingInfo { pub fn IsReportedOutOfDateByServer(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReportedOutOfDateByServer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4404,7 +4404,7 @@ impl EmailMessage { pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4418,7 +4418,7 @@ impl EmailMessage { pub fn Body(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4434,7 +4434,7 @@ impl EmailMessage { pub fn To(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).To)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4443,7 +4443,7 @@ impl EmailMessage { pub fn CC(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CC)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4452,7 +4452,7 @@ impl EmailMessage { pub fn Bcc(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bcc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4461,21 +4461,21 @@ impl EmailMessage { pub fn Attachments(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attachments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4489,28 +4489,28 @@ impl EmailMessage { pub fn MailboxId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MailboxId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ConversationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConversationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FolderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AllowInternetImages(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowInternetImages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4521,14 +4521,14 @@ impl EmailMessage { pub fn ChangeNumber(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DownloadState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4539,7 +4539,7 @@ impl EmailMessage { pub fn EstimatedDownloadSizeInBytes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EstimatedDownloadSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4550,7 +4550,7 @@ impl EmailMessage { pub fn FlagState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlagState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4561,14 +4561,14 @@ impl EmailMessage { pub fn HasPartialBodies(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasPartialBodies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Importance(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Importance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4579,14 +4579,14 @@ impl EmailMessage { pub fn InResponseToMessageId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InResponseToMessageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IrmInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IrmInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4600,14 +4600,14 @@ impl EmailMessage { pub fn IsDraftMessage(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDraftMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRead(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4618,7 +4618,7 @@ impl EmailMessage { pub fn IsSeen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSeen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4629,21 +4629,21 @@ impl EmailMessage { pub fn IsServerSearchMessage(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsServerSearchMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSmartSendable(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSmartSendable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4657,14 +4657,14 @@ impl EmailMessage { pub fn NormalizedSubject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalizedSubject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OriginalCodePage(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalCodePage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4675,7 +4675,7 @@ impl EmailMessage { pub fn Preview(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Preview)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4689,7 +4689,7 @@ impl EmailMessage { pub fn LastResponseKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastResponseKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4700,7 +4700,7 @@ impl EmailMessage { pub fn Sender(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sender)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4716,7 +4716,7 @@ impl EmailMessage { pub fn SentTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SentTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4733,7 +4733,7 @@ impl EmailMessage { pub fn MeetingInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MeetingInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4749,7 +4749,7 @@ impl EmailMessage { pub fn GetBodyStream(&self, r#type: EmailMessageBodyKind) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBodyStream)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4768,7 +4768,7 @@ impl EmailMessage { pub fn SmimeData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmimeData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4785,7 +4785,7 @@ impl EmailMessage { pub fn SmimeKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmimeKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4798,14 +4798,14 @@ impl EmailMessage { pub fn ReplyTo(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplyTo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SentRepresenting(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SentRepresenting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4888,14 +4888,14 @@ impl EmailMessageBatch { pub fn Messages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Messages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5041,7 +5041,7 @@ impl EmailMessageReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5232,14 +5232,14 @@ impl EmailQueryOptions { pub fn TextSearch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextSearch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SortDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SortDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5250,7 +5250,7 @@ impl EmailQueryOptions { pub fn SortProperty(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SortProperty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5261,7 +5261,7 @@ impl EmailQueryOptions { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5274,7 +5274,7 @@ impl EmailQueryOptions { pub fn FolderIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5283,7 +5283,7 @@ impl EmailQueryOptions { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IEmailQueryOptionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithText)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5292,7 +5292,7 @@ impl EmailQueryOptions { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IEmailQueryOptionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTextAndFields)(::windows::core::Interface::as_raw(this), text.into().abi(), fields, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5538,7 +5538,7 @@ impl EmailQueryTextSearch { pub fn Fields(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Fields)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5549,7 +5549,7 @@ impl EmailQueryTextSearch { pub fn SearchScope(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchScope)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5560,7 +5560,7 @@ impl EmailQueryTextSearch { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5648,7 +5648,7 @@ impl EmailRecipient { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5662,7 +5662,7 @@ impl EmailRecipient { pub fn Address(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5678,7 +5678,7 @@ impl EmailRecipient { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IEmailRecipientFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), address.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5688,7 +5688,7 @@ impl EmailRecipient { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IEmailRecipientFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithName)(::windows::core::Interface::as_raw(this), address.into().abi(), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5774,7 +5774,7 @@ impl EmailRecipientResolutionResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5783,7 +5783,7 @@ impl EmailRecipientResolutionResult { pub fn PublicKeys(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicKeys)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5952,14 +5952,14 @@ impl EmailStore { pub fn FindMailboxesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindMailboxesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn GetConversationReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5969,14 +5969,14 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationReaderWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetMessageReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5986,7 +5986,7 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageReaderWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5998,7 +5998,7 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMailboxAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6010,7 +6010,7 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConversationAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6022,7 +6022,7 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6034,7 +6034,7 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6047,7 +6047,7 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMailboxAsync)(::windows::core::Interface::as_raw(this), accountname.into().abi(), accountaddress.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6061,7 +6061,7 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMailboxInAccountAsync)(::windows::core::Interface::as_raw(this), accountname.into().abi(), accountaddress.into().abi(), userdataaccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs index 35167def4f..e38ddf17de 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs @@ -75,7 +75,7 @@ impl ExtendedExecutionForegroundRevokedEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -196,7 +196,7 @@ impl ExtendedExecutionForegroundSession { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -215,7 +215,7 @@ impl ExtendedExecutionForegroundSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Revoked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -230,14 +230,14 @@ impl ExtendedExecutionForegroundSession { pub fn RequestExtensionAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestExtensionAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs index 459f959406..cc134a4dd3 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs @@ -76,7 +76,7 @@ impl ExtendedExecutionRevokedEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -197,7 +197,7 @@ impl ExtendedExecutionSession { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -208,7 +208,7 @@ impl ExtendedExecutionSession { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -222,7 +222,7 @@ impl ExtendedExecutionSession { pub fn PercentProgress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PercentProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -238,7 +238,7 @@ impl ExtendedExecutionSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Revoked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -253,7 +253,7 @@ impl ExtendedExecutionSession { pub fn RequestExtensionAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestExtensionAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs index 8570e48a88..7801a578d3 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs @@ -26,7 +26,7 @@ impl HolographicKeyboard { } pub fn GetDefault() -> ::windows::core::Result { Self::IHolographicKeyboardStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs index d56ee0f5dd..bb4621993a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs @@ -164,7 +164,7 @@ impl LockApplicationHost { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unlocking)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -176,7 +176,7 @@ impl LockApplicationHost { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ILockApplicationHostStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -257,7 +257,7 @@ impl LockScreenBadge { pub fn Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -266,7 +266,7 @@ impl LockScreenBadge { pub fn Glyph(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Glyph)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -275,14 +275,14 @@ impl LockScreenBadge { pub fn Number(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Number)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AutomationName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomationName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -365,7 +365,7 @@ impl LockScreenInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LockScreenImageChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -380,7 +380,7 @@ impl LockScreenInfo { pub fn LockScreenImage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LockScreenImage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -392,7 +392,7 @@ impl LockScreenInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BadgesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -407,7 +407,7 @@ impl LockScreenInfo { pub fn Badges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Badges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -419,7 +419,7 @@ impl LockScreenInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetailTextChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -434,7 +434,7 @@ impl LockScreenInfo { pub fn DetailText(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetailText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -446,7 +446,7 @@ impl LockScreenInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlarmIconChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -461,7 +461,7 @@ impl LockScreenInfo { pub fn AlarmIcon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlarmIcon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -606,7 +606,7 @@ impl LockScreenUnlockingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -615,7 +615,7 @@ impl LockScreenUnlockingEventArgs { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs index 9077cd8144..683e9c6516 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs @@ -113,7 +113,7 @@ impl PaymentAppCanMakePaymentTriggerDetails { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -200,7 +200,7 @@ impl PaymentAppManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterAsync)(::windows::core::Interface::as_raw(this), supportedpaymentmethodids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -209,13 +209,13 @@ impl PaymentAppManager { pub fn UnregisterAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnregisterAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Current() -> ::windows::core::Result { Self::IPaymentAppManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -294,14 +294,14 @@ impl PaymentTransaction { pub fn PaymentRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PaymentRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PayerEmail(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PayerEmail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -315,7 +315,7 @@ impl PaymentTransaction { pub fn PayerName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PayerName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -329,7 +329,7 @@ impl PaymentTransaction { pub fn PayerPhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PayerPhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -348,7 +348,7 @@ impl PaymentTransaction { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateShippingAddressAsync)(::windows::core::Interface::as_raw(this), shippingaddress.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -360,7 +360,7 @@ impl PaymentTransaction { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateSelectedShippingOptionAsync)(::windows::core::Interface::as_raw(this), selectedshippingoption.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -372,7 +372,7 @@ impl PaymentTransaction { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptAsync)(::windows::core::Interface::as_raw(this), paymenttoken.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -387,7 +387,7 @@ impl PaymentTransaction { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPaymentTransactionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -466,7 +466,7 @@ impl PaymentTransactionAcceptResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs index d3e1dfd075..172f8c40ff 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs @@ -599,7 +599,7 @@ impl PaymentAddress { pub fn Country(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Country)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -615,7 +615,7 @@ impl PaymentAddress { pub fn AddressLines(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddressLines)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -632,7 +632,7 @@ impl PaymentAddress { pub fn Region(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Region)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -646,7 +646,7 @@ impl PaymentAddress { pub fn City(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).City)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -660,7 +660,7 @@ impl PaymentAddress { pub fn DependentLocality(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DependentLocality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -674,7 +674,7 @@ impl PaymentAddress { pub fn PostalCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostalCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -688,7 +688,7 @@ impl PaymentAddress { pub fn SortingCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SortingCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -702,7 +702,7 @@ impl PaymentAddress { pub fn LanguageCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LanguageCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -716,7 +716,7 @@ impl PaymentAddress { pub fn Organization(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Organization)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -730,7 +730,7 @@ impl PaymentAddress { pub fn Recipient(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recipient)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -744,7 +744,7 @@ impl PaymentAddress { pub fn PhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -760,7 +760,7 @@ impl PaymentAddress { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -834,13 +834,13 @@ impl PaymentCanMakePaymentResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(value: PaymentCanMakePaymentResultStatus) -> ::windows::core::Result { Self::IPaymentCanMakePaymentResultFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -958,7 +958,7 @@ impl PaymentCurrencyAmount { pub fn Currency(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Currency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -972,7 +972,7 @@ impl PaymentCurrencyAmount { pub fn CurrencySystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrencySystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -986,7 +986,7 @@ impl PaymentCurrencyAmount { pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1003,7 +1003,7 @@ impl PaymentCurrencyAmount { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPaymentCurrencyAmountFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), value.into().abi(), currency.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1014,7 +1014,7 @@ impl PaymentCurrencyAmount { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPaymentCurrencyAmountFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithCurrencySystem)(::windows::core::Interface::as_raw(this), value.into().abi(), currency.into().abi(), currencysystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1100,7 +1100,7 @@ impl PaymentDetails { pub fn Total(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Total)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1116,7 +1116,7 @@ impl PaymentDetails { pub fn DisplayItems(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1135,7 +1135,7 @@ impl PaymentDetails { pub fn ShippingOptions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShippingOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1154,7 +1154,7 @@ impl PaymentDetails { pub fn Modifiers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Modifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1173,7 +1173,7 @@ impl PaymentDetails { P0: ::std::convert::Into<::windows::core::InParam<'a, PaymentItem>>, { Self::IPaymentDetailsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), total.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1186,7 +1186,7 @@ impl PaymentDetails { E1: ::std::convert::Into<::windows::core::Error>, { Self::IPaymentDetailsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithDisplayItems)(::windows::core::Interface::as_raw(this), total.into().abi(), displayitems.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1265,7 +1265,7 @@ impl PaymentDetailsModifier { pub fn JsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1274,14 +1274,14 @@ impl PaymentDetailsModifier { pub fn SupportedMethodIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedMethodIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Total(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Total)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1290,7 +1290,7 @@ impl PaymentDetailsModifier { pub fn AdditionalDisplayItems(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdditionalDisplayItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1303,7 +1303,7 @@ impl PaymentDetailsModifier { P1: ::std::convert::Into<::windows::core::InParam<'a, PaymentItem>>, { Self::IPaymentDetailsModifierFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), supportedmethodids.try_into().map_err(|e| e.into())?.abi(), total.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1318,7 +1318,7 @@ impl PaymentDetailsModifier { E2: ::std::convert::Into<::windows::core::Error>, { Self::IPaymentDetailsModifierFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAdditionalDisplayItems)(::windows::core::Interface::as_raw(this), supportedmethodids.try_into().map_err(|e| e.into())?.abi(), total.into().abi(), additionaldisplayitems.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1334,7 +1334,7 @@ impl PaymentDetailsModifier { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPaymentDetailsModifierFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAdditionalDisplayItemsAndJsonData)(::windows::core::Interface::as_raw(this), supportedmethodids.try_into().map_err(|e| e.into())?.abi(), total.into().abi(), additionaldisplayitems.try_into().map_err(|e| e.into())?.abi(), jsondata.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1413,7 +1413,7 @@ impl PaymentItem { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1427,7 +1427,7 @@ impl PaymentItem { pub fn Amount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Amount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1441,7 +1441,7 @@ impl PaymentItem { pub fn Pending(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pending)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1455,7 +1455,7 @@ impl PaymentItem { P1: ::std::convert::Into<::windows::core::InParam<'a, PaymentCurrencyAmount>>, { Self::IPaymentItemFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), label.into().abi(), amount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1543,7 +1543,7 @@ impl PaymentMediator { pub fn GetSupportedMethodIdsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedMethodIdsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1555,7 +1555,7 @@ impl PaymentMediator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubmitPaymentRequestAsync)(::windows::core::Interface::as_raw(this), paymentrequest.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1568,7 +1568,7 @@ impl PaymentMediator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubmitPaymentRequestWithChangeHandlerAsync)(::windows::core::Interface::as_raw(this), paymentrequest.into().abi(), changehandler.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1580,7 +1580,7 @@ impl PaymentMediator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanMakePaymentAsync)(::windows::core::Interface::as_raw(this), paymentrequest.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1661,7 +1661,7 @@ impl PaymentMerchantInfo { pub fn PackageFullName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFullName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1670,7 +1670,7 @@ impl PaymentMerchantInfo { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1681,7 +1681,7 @@ impl PaymentMerchantInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IPaymentMerchantInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1762,14 +1762,14 @@ impl PaymentMethodData { pub fn SupportedMethodIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedMethodIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn JsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1781,7 +1781,7 @@ impl PaymentMethodData { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPaymentMethodDataFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), supportedmethodids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1794,7 +1794,7 @@ impl PaymentMethodData { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPaymentMethodDataFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithJsonData)(::windows::core::Interface::as_raw(this), supportedmethodids.try_into().map_err(|e| e.into())?.abi(), jsondata.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1915,7 +1915,7 @@ impl PaymentOptions { pub fn RequestPayerEmail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPayerEmail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1926,7 +1926,7 @@ impl PaymentOptions { pub fn RequestPayerName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPayerName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1937,7 +1937,7 @@ impl PaymentOptions { pub fn RequestPayerPhoneNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPayerPhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1948,7 +1948,7 @@ impl PaymentOptions { pub fn RequestShipping(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestShipping)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1959,7 +1959,7 @@ impl PaymentOptions { pub fn ShippingType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShippingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2037,14 +2037,14 @@ impl PaymentRequest { pub fn MerchantInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MerchantInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Details(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Details)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2053,21 +2053,21 @@ impl PaymentRequest { pub fn MethodData(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MethodData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Options(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2080,7 +2080,7 @@ impl PaymentRequest { E1: ::std::convert::Into<::windows::core::Error>, { Self::IPaymentRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), details.into().abi(), methoddata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2094,7 +2094,7 @@ impl PaymentRequest { P2: ::std::convert::Into<::windows::core::InParam<'a, PaymentMerchantInfo>>, { Self::IPaymentRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithMerchantInfo)(::windows::core::Interface::as_raw(this), details.into().abi(), methoddata.try_into().map_err(|e| e.into())?.abi(), merchantinfo.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2109,7 +2109,7 @@ impl PaymentRequest { P3: ::std::convert::Into<::windows::core::InParam<'a, PaymentOptions>>, { Self::IPaymentRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithMerchantInfoAndOptions)(::windows::core::Interface::as_raw(this), details.into().abi(), methoddata.try_into().map_err(|e| e.into())?.abi(), merchantinfo.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2125,7 +2125,7 @@ impl PaymentRequest { P4: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPaymentRequestFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithMerchantInfoOptionsAndId)(::windows::core::Interface::as_raw(this), details.into().abi(), methoddata.try_into().map_err(|e| e.into())?.abi(), merchantinfo.into().abi(), options.into().abi(), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2243,21 +2243,21 @@ impl PaymentRequestChangedArgs { pub fn ChangeKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShippingAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShippingAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedShippingOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedShippingOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2426,7 +2426,7 @@ impl PaymentRequestChangedResult { pub fn ChangeAcceptedByMerchant(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeAcceptedByMerchant)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2437,7 +2437,7 @@ impl PaymentRequestChangedResult { pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2451,7 +2451,7 @@ impl PaymentRequestChangedResult { pub fn UpdatedPaymentDetails(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdatedPaymentDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2464,7 +2464,7 @@ impl PaymentRequestChangedResult { } pub fn Create(changeacceptedbymerchant: bool) -> ::windows::core::Result { Self::IPaymentRequestChangedResultFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), changeacceptedbymerchant, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2473,7 +2473,7 @@ impl PaymentRequestChangedResult { P0: ::std::convert::Into<::windows::core::InParam<'a, PaymentDetails>>, { Self::IPaymentRequestChangedResultFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithPaymentDetails)(::windows::core::Interface::as_raw(this), changeacceptedbymerchant, updatedpaymentdetails.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2622,14 +2622,14 @@ impl PaymentRequestSubmitResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Response(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Response)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2703,42 +2703,42 @@ impl PaymentResponse { pub fn PaymentToken(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PaymentToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShippingOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShippingOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShippingAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShippingAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PayerEmail(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PayerEmail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PayerName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PayerName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PayerPhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PayerPhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2747,7 +2747,7 @@ impl PaymentResponse { pub fn CompleteAsync(&self, status: PaymentRequestCompletionStatus) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompleteAsync)(::windows::core::Interface::as_raw(this), status, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2821,7 +2821,7 @@ impl PaymentShippingOption { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2835,7 +2835,7 @@ impl PaymentShippingOption { pub fn Amount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Amount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2849,7 +2849,7 @@ impl PaymentShippingOption { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2863,7 +2863,7 @@ impl PaymentShippingOption { pub fn IsSelected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2877,7 +2877,7 @@ impl PaymentShippingOption { P1: ::std::convert::Into<::windows::core::InParam<'a, PaymentCurrencyAmount>>, { Self::IPaymentShippingOptionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), label.into().abi(), amount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2887,7 +2887,7 @@ impl PaymentShippingOption { P1: ::std::convert::Into<::windows::core::InParam<'a, PaymentCurrencyAmount>>, { Self::IPaymentShippingOptionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithSelected)(::windows::core::Interface::as_raw(this), label.into().abi(), amount.into().abi(), selected, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2898,7 +2898,7 @@ impl PaymentShippingOption { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPaymentShippingOptionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithSelectedAndTag)(::windows::core::Interface::as_raw(this), label.into().abi(), amount.into().abi(), selected, tag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3012,14 +3012,14 @@ impl PaymentToken { pub fn PaymentMethodId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PaymentMethodId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn JsonDetails(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JsonDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3028,7 +3028,7 @@ impl PaymentToken { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPaymentTokenFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), paymentmethodid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3038,7 +3038,7 @@ impl PaymentToken { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPaymentTokenFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithJsonDetails)(::windows::core::Interface::as_raw(this), paymentmethodid.into().abi(), jsondetails.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs index 9fa7d3886a..e038b90a4a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs @@ -3,7 +3,7 @@ pub struct HolographicApplicationPreview; impl HolographicApplicationPreview { pub fn IsCurrentViewPresentedOnHolographicDisplay() -> ::windows::core::Result { Self::IHolographicApplicationPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCurrentViewPresentedOnHolographicDisplay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -15,7 +15,7 @@ impl HolographicApplicationPreview { E0: ::std::convert::Into<::windows::core::Error>, { Self::IHolographicApplicationPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHolographicActivation)(::windows::core::Interface::as_raw(this), activatedeventargs.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -62,7 +62,7 @@ impl HolographicKeyboardPlacementOverridePreview { #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> ::windows::core::Result { Self::IHolographicKeyboardPlacementOverridePreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs index cacb06c4c7..80d64c2dcf 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs @@ -39,13 +39,13 @@ impl InkWorkspaceHostedAppManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetThumbnailAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentApp() -> ::windows::core::Result { Self::IInkWorkspaceHostedAppManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentApp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs index 78e99e8f52..b84e1f0427 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs @@ -138,7 +138,7 @@ impl NotePlacementChangedPreviewEventArgs { pub fn ViewId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -212,14 +212,14 @@ impl NoteVisibilityChangedPreviewEventArgs { pub fn ViewId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -293,7 +293,7 @@ impl NotesWindowManagerPreview { pub fn IsScreenLocked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScreenLocked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -324,7 +324,7 @@ impl NotesWindowManagerPreview { pub fn GetNotePlacement(&self, noteviewid: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNotePlacement)(::windows::core::Interface::as_raw(this), noteviewid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -333,7 +333,7 @@ impl NotesWindowManagerPreview { pub fn TrySetNoteSize(&self, noteviewid: i32, size: super::super::super::Foundation::Size) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetNoteSize)(::windows::core::Interface::as_raw(this), noteviewid, size, result__.as_mut_ptr()).from_abi::(result__) } } @@ -350,7 +350,7 @@ impl NotesWindowManagerPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetNotesThumbnailAsync)(::windows::core::Interface::as_raw(this), thumbnail.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -362,7 +362,7 @@ impl NotesWindowManagerPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemLockStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -380,7 +380,7 @@ impl NotesWindowManagerPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotePlacementChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -398,7 +398,7 @@ impl NotesWindowManagerPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NoteVisibilityChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -438,13 +438,13 @@ impl NotesWindowManagerPreview { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetThumbnailImageForTaskSwitcherAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentApp() -> ::windows::core::Result { Self::INotesWindowManagerPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentApp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -530,7 +530,7 @@ impl NotesWindowManagerPreviewShowNoteOptions { pub fn ShowWithFocus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowWithFocus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs index 0ec42f1c51..a194c506ca 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -286,7 +286,7 @@ impl NamedResource { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -295,14 +295,14 @@ impl NamedResource { pub fn Candidates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Candidates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Resolve(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Resolve)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -312,7 +312,7 @@ impl NamedResource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolveForContext)(::windows::core::Interface::as_raw(this), resourcecontext.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -321,7 +321,7 @@ impl NamedResource { pub fn ResolveAll(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolveAll)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -333,7 +333,7 @@ impl NamedResource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolveAllForContext)(::windows::core::Interface::as_raw(this), resourcecontext.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -409,35 +409,35 @@ impl ResourceCandidate { pub fn Qualifiers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Qualifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsMatch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMatch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMatchAsDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMatchAsDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ValueAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -446,7 +446,7 @@ impl ResourceCandidate { pub fn GetValueAsFileAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetValueAsFileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -456,7 +456,7 @@ impl ResourceCandidate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetQualifierValue)(::windows::core::Interface::as_raw(this), qualifiername.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -465,14 +465,14 @@ impl ResourceCandidate { pub fn GetValueAsStreamAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetValueAsStreamAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -585,7 +585,7 @@ impl ResourceCandidateVectorView { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -594,7 +594,7 @@ impl ResourceCandidateVectorView { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -603,7 +603,7 @@ impl ResourceCandidateVectorView { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -615,7 +615,7 @@ impl ResourceCandidateVectorView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -624,7 +624,7 @@ impl ResourceCandidateVectorView { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -782,7 +782,7 @@ impl ResourceContext { pub fn QualifierValues(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QualifierValues)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -813,7 +813,7 @@ impl ResourceContext { pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -822,7 +822,7 @@ impl ResourceContext { pub fn Languages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -844,13 +844,13 @@ impl ResourceContext { E0: ::std::convert::Into<::windows::core::Error>, { Self::IResourceContextStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMatchingContext)(::windows::core::Interface::as_raw(this), result.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IResourceContextStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -875,7 +875,7 @@ impl ResourceContext { } pub fn GetForViewIndependentUse() -> ::windows::core::Result { Self::IResourceContextStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForViewIndependentUse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -893,7 +893,7 @@ impl ResourceContext { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::UI::UIContext>>, { Self::IResourceContextStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUIContext)(::windows::core::Interface::as_raw(this), context.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -991,7 +991,7 @@ impl ResourceContextLanguagesVectorView { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1000,7 +1000,7 @@ impl ResourceContextLanguagesVectorView { pub fn GetAt(&self, index: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1009,7 +1009,7 @@ impl ResourceContextLanguagesVectorView { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1021,7 +1021,7 @@ impl ResourceContextLanguagesVectorView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1030,7 +1030,7 @@ impl ResourceContextLanguagesVectorView { pub fn GetMany(&self, startindex: u32, items: &mut [::windows::core::HSTRING]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1220,7 +1220,7 @@ impl ResourceManager { pub fn MainResourceMap(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MainResourceMap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1229,14 +1229,14 @@ impl ResourceManager { pub fn AllResourceMaps(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllResourceMaps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DefaultContext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1268,7 +1268,7 @@ impl ResourceManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllNamedResourcesForPackage)(::windows::core::Interface::as_raw(this), packagename.into().abi(), resourcelayoutinfo, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1280,13 +1280,13 @@ impl ResourceManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllSubtreesForPackage)(::windows::core::Interface::as_raw(this), packagename.into().abi(), resourcelayoutinfo, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Current() -> ::windows::core::Result { Self::IResourceManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1295,7 +1295,7 @@ impl ResourceManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IResourceManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsResourceReference)(::windows::core::Interface::as_raw(this), resourcereference.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1376,7 +1376,7 @@ impl ResourceMap { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1388,7 +1388,7 @@ impl ResourceMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1397,7 +1397,7 @@ impl ResourceMap { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1409,7 +1409,7 @@ impl ResourceMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1424,7 +1424,7 @@ impl ResourceMap { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1434,7 +1434,7 @@ impl ResourceMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetValue)(::windows::core::Interface::as_raw(this), resource.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1445,7 +1445,7 @@ impl ResourceMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetValueForContext)(::windows::core::Interface::as_raw(this), resource.into().abi(), context.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1455,7 +1455,7 @@ impl ResourceMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSubtree)(::windows::core::Interface::as_raw(this), reference.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1593,7 +1593,7 @@ impl ResourceMapIterator { pub fn Current(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1602,7 +1602,7 @@ impl ResourceMapIterator { pub fn HasCurrent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCurrent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1611,7 +1611,7 @@ impl ResourceMapIterator { pub fn MoveNext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveNext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1620,7 +1620,7 @@ impl ResourceMapIterator { pub fn GetMany(&self, items: &mut [::core::option::Option>]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1735,7 +1735,7 @@ impl ResourceMapMapView { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1747,7 +1747,7 @@ impl ResourceMapMapView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1756,7 +1756,7 @@ impl ResourceMapMapView { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1768,7 +1768,7 @@ impl ResourceMapMapView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1927,7 +1927,7 @@ impl ResourceMapMapViewIterator { pub fn Current(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1936,7 +1936,7 @@ impl ResourceMapMapViewIterator { pub fn HasCurrent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCurrent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1945,7 +1945,7 @@ impl ResourceMapMapViewIterator { pub fn MoveNext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveNext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1954,7 +1954,7 @@ impl ResourceMapMapViewIterator { pub fn GetMany(&self, items: &mut [::core::option::Option>]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2065,35 +2065,35 @@ impl ResourceQualifier { pub fn QualifierName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QualifierName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn QualifierValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QualifierValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMatch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMatch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Score(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Score)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2171,7 +2171,7 @@ impl ResourceQualifierMapView { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2183,7 +2183,7 @@ impl ResourceQualifierMapView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2192,7 +2192,7 @@ impl ResourceQualifierMapView { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2204,7 +2204,7 @@ impl ResourceQualifierMapView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2363,7 +2363,7 @@ impl ResourceQualifierObservableMap { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2375,7 +2375,7 @@ impl ResourceQualifierObservableMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2384,7 +2384,7 @@ impl ResourceQualifierObservableMap { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2396,7 +2396,7 @@ impl ResourceQualifierObservableMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2405,7 +2405,7 @@ impl ResourceQualifierObservableMap { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2418,7 +2418,7 @@ impl ResourceQualifierObservableMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2445,7 +2445,7 @@ impl ResourceQualifierObservableMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2660,7 +2660,7 @@ impl ResourceQualifierVectorView { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2669,7 +2669,7 @@ impl ResourceQualifierVectorView { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2678,7 +2678,7 @@ impl ResourceQualifierVectorView { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2690,7 +2690,7 @@ impl ResourceQualifierVectorView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2699,7 +2699,7 @@ impl ResourceQualifierVectorView { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs index a96d5c01e1..562dc3ffcf 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -107,7 +107,7 @@ impl IndexedResourceCandidate { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -116,7 +116,7 @@ impl IndexedResourceCandidate { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -125,7 +125,7 @@ impl IndexedResourceCandidate { pub fn Metadata(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Metadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -134,14 +134,14 @@ impl IndexedResourceCandidate { pub fn Qualifiers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Qualifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ValueAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -151,7 +151,7 @@ impl IndexedResourceCandidate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetQualifierValue)(::windows::core::Interface::as_raw(this), qualifiername.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -225,14 +225,14 @@ impl IndexedResourceQualifier { pub fn QualifierName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QualifierName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn QualifierValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QualifierValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -348,7 +348,7 @@ impl ResourceIndexer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexFilePath)(::windows::core::Interface::as_raw(this), filepath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -360,7 +360,7 @@ impl ResourceIndexer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexFileContentsAsync)(::windows::core::Interface::as_raw(this), file.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -371,7 +371,7 @@ impl ResourceIndexer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IResourceIndexerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResourceIndexer)(::windows::core::Interface::as_raw(this), projectroot.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -383,7 +383,7 @@ impl ResourceIndexer { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IResourceIndexerFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResourceIndexerWithExtension)(::windows::core::Interface::as_raw(this), projectroot.into().abi(), extensiondllpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs index acb526bc36..ff22b6bb72 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs @@ -122,7 +122,7 @@ impl ResourceLoader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), resource.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -134,7 +134,7 @@ impl ResourceLoader { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStringForUri)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -143,7 +143,7 @@ impl ResourceLoader { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IResourceLoaderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResourceLoaderByName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -154,13 +154,13 @@ impl ResourceLoader { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IResourceLoaderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStringForReference)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IResourceLoaderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -169,13 +169,13 @@ impl ResourceLoader { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IResourceLoaderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentViewWithName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetForViewIndependentUse() -> ::windows::core::Result { Self::IResourceLoaderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForViewIndependentUse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -184,7 +184,7 @@ impl ResourceLoader { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IResourceLoaderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForViewIndependentUseWithName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -195,7 +195,7 @@ impl ResourceLoader { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::UI::UIContext>>, { Self::IResourceLoaderStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUIContext)(::windows::core::Interface::as_raw(this), context.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -204,7 +204,7 @@ impl ResourceLoader { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IResourceLoaderStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultPriPath)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs index 0faafeec57..8ac7613999 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs @@ -163,28 +163,28 @@ impl SearchSuggestion { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DetailText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetailText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -193,14 +193,14 @@ impl SearchSuggestion { pub fn Image(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Image)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ImageAlternateText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageAlternateText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -314,7 +314,7 @@ impl SearchSuggestionManager { pub fn SearchHistoryEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchHistoryEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -325,7 +325,7 @@ impl SearchSuggestionManager { pub fn SearchHistoryContext(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchHistoryContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -372,7 +372,7 @@ impl SearchSuggestionManager { pub fn Suggestions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Suggestions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -403,7 +403,7 @@ impl SearchSuggestionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestionsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -421,7 +421,7 @@ impl SearchSuggestionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestingFocusOnKeyboardInput)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -499,28 +499,28 @@ impl SearchSuggestionsRequestedEventArgs { pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LinguisticDetails(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index f27fbb2ae3..e768ea2c9e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -150,7 +150,7 @@ impl ISearchPaneQueryChangedEventArgs { pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -159,7 +159,7 @@ impl ISearchPaneQueryChangedEventArgs { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -168,7 +168,7 @@ impl ISearchPaneQueryChangedEventArgs { pub fn LinguisticDetails(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -564,7 +564,7 @@ impl LocalContentSuggestionSettings { pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -573,7 +573,7 @@ impl LocalContentSuggestionSettings { pub fn Locations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Locations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -587,7 +587,7 @@ impl LocalContentSuggestionSettings { pub fn AqsFilter(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AqsFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -596,7 +596,7 @@ impl LocalContentSuggestionSettings { pub fn PropertiesToMatch(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PropertiesToMatch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -678,7 +678,7 @@ impl SearchPane { pub fn SearchHistoryEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchHistoryEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -696,7 +696,7 @@ impl SearchPane { pub fn SearchHistoryContext(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchHistoryContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -714,7 +714,7 @@ impl SearchPane { pub fn PlaceholderText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaceholderText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -723,7 +723,7 @@ impl SearchPane { pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -732,7 +732,7 @@ impl SearchPane { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -741,7 +741,7 @@ impl SearchPane { pub fn Visible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -753,7 +753,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisibilityChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -771,7 +771,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -789,7 +789,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestionsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -807,7 +807,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QuerySubmitted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -825,7 +825,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResultSuggestionChosen)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -870,7 +870,7 @@ impl SearchPane { pub fn ShowOnKeyboardInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowOnKeyboardInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -882,7 +882,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetQueryText)(::windows::core::Interface::as_raw(this), query.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -890,7 +890,7 @@ impl SearchPane { #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> ::windows::core::Result { Self::ISearchPaneStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -996,7 +996,7 @@ impl SearchPaneQueryChangedEventArgs { pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1005,7 +1005,7 @@ impl SearchPaneQueryChangedEventArgs { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1014,7 +1014,7 @@ impl SearchPaneQueryChangedEventArgs { pub fn LinguisticDetails(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1127,21 +1127,21 @@ impl SearchPaneQueryLinguisticDetails { pub fn QueryTextAlternatives(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryTextAlternatives)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn QueryTextCompositionStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryTextCompositionStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn QueryTextCompositionLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryTextCompositionLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1219,7 +1219,7 @@ impl SearchPaneQuerySubmittedEventArgs { pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1228,7 +1228,7 @@ impl SearchPaneQuerySubmittedEventArgs { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1237,7 +1237,7 @@ impl SearchPaneQuerySubmittedEventArgs { pub fn LinguisticDetails(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1330,7 +1330,7 @@ impl SearchPaneResultSuggestionChosenEventArgs { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1423,7 +1423,7 @@ impl SearchPaneSuggestionsRequest { pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1432,7 +1432,7 @@ impl SearchPaneSuggestionsRequest { pub fn SearchSuggestionCollection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchSuggestionCollection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1441,7 +1441,7 @@ impl SearchPaneSuggestionsRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1624,7 +1624,7 @@ impl SearchPaneSuggestionsRequestedEventArgs { pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1633,7 +1633,7 @@ impl SearchPaneSuggestionsRequestedEventArgs { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1642,7 +1642,7 @@ impl SearchPaneSuggestionsRequestedEventArgs { pub fn LinguisticDetails(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1651,7 +1651,7 @@ impl SearchPaneSuggestionsRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1766,7 +1766,7 @@ impl SearchPaneVisibilityChangedEventArgs { pub fn Visible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1857,21 +1857,21 @@ impl SearchQueryLinguisticDetails { pub fn QueryTextAlternatives(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryTextAlternatives)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn QueryTextCompositionStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryTextCompositionStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn QueryTextCompositionLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryTextCompositionLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1883,7 +1883,7 @@ impl SearchQueryLinguisticDetails { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISearchQueryLinguisticDetailsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), querytextalternatives.try_into().map_err(|e| e.into())?.abi(), querytextcompositionstart, querytextcompositionlength, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1962,7 +1962,7 @@ impl SearchSuggestionCollection { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2074,21 +2074,21 @@ impl SearchSuggestionsRequest { pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SearchSuggestionCollection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchSuggestionCollection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/Provider/mod.rs index 2c7217aa0c..c6b774d88c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/Provider/mod.rs @@ -130,7 +130,7 @@ impl SocialDashboardItemUpdater { pub fn OwnerRemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerRemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -139,7 +139,7 @@ impl SocialDashboardItemUpdater { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -148,7 +148,7 @@ impl SocialDashboardItemUpdater { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -172,7 +172,7 @@ impl SocialDashboardItemUpdater { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -181,7 +181,7 @@ impl SocialDashboardItemUpdater { pub fn CommitAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -190,7 +190,7 @@ impl SocialDashboardItemUpdater { pub fn TargetUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -292,7 +292,7 @@ impl SocialFeedUpdater { pub fn OwnerRemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerRemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -301,7 +301,7 @@ impl SocialFeedUpdater { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -310,7 +310,7 @@ impl SocialFeedUpdater { pub fn Items(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -319,7 +319,7 @@ impl SocialFeedUpdater { pub fn CommitAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -413,7 +413,7 @@ impl SocialInfoProviderManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISocialInfoProviderManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSocialFeedUpdaterAsync)(::windows::core::Interface::as_raw(this), kind, mode, ownerremoteid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -424,7 +424,7 @@ impl SocialInfoProviderManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISocialInfoProviderManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDashboardItemUpdaterAsync)(::windows::core::Interface::as_raw(this), ownerremoteid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -448,7 +448,7 @@ impl SocialInfoProviderManager { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn ProvisionAsync() -> ::windows::core::Result> { Self::ISocialInfoProviderManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProvisionAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -456,7 +456,7 @@ impl SocialInfoProviderManager { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn DeprovisionAsync() -> ::windows::core::Result { Self::ISocialInfoProviderManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeprovisionAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/mod.rs index cb3d743092..68e52510fd 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/mod.rs @@ -348,7 +348,7 @@ impl SocialFeedChildItem { pub fn Author(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Author)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -357,7 +357,7 @@ impl SocialFeedChildItem { pub fn PrimaryContent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -366,7 +366,7 @@ impl SocialFeedChildItem { pub fn SecondaryContent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecondaryContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -375,7 +375,7 @@ impl SocialFeedChildItem { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -390,7 +390,7 @@ impl SocialFeedChildItem { pub fn TargetUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -408,7 +408,7 @@ impl SocialFeedChildItem { pub fn Thumbnails(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -417,7 +417,7 @@ impl SocialFeedChildItem { pub fn SharedItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -519,7 +519,7 @@ impl SocialFeedContent { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -537,7 +537,7 @@ impl SocialFeedContent { pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -555,7 +555,7 @@ impl SocialFeedContent { pub fn TargetUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -664,7 +664,7 @@ impl SocialFeedItem { pub fn Author(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Author)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -673,7 +673,7 @@ impl SocialFeedItem { pub fn PrimaryContent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -682,7 +682,7 @@ impl SocialFeedItem { pub fn SecondaryContent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecondaryContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -691,7 +691,7 @@ impl SocialFeedItem { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -706,7 +706,7 @@ impl SocialFeedItem { pub fn TargetUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -724,7 +724,7 @@ impl SocialFeedItem { pub fn Thumbnails(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -733,7 +733,7 @@ impl SocialFeedItem { pub fn SharedItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -751,7 +751,7 @@ impl SocialFeedItem { pub fn BadgeStyle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BadgeStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -766,7 +766,7 @@ impl SocialFeedItem { pub fn BadgeCountValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BadgeCountValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -781,7 +781,7 @@ impl SocialFeedItem { pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -799,7 +799,7 @@ impl SocialFeedItem { pub fn ChildItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -817,7 +817,7 @@ impl SocialFeedItem { pub fn Style(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Style)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1008,7 +1008,7 @@ impl SocialFeedSharedItem { pub fn OriginalSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1026,7 +1026,7 @@ impl SocialFeedSharedItem { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1035,7 +1035,7 @@ impl SocialFeedSharedItem { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1050,7 +1050,7 @@ impl SocialFeedSharedItem { pub fn TargetUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1077,7 +1077,7 @@ impl SocialFeedSharedItem { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1262,7 +1262,7 @@ impl SocialItemThumbnail { pub fn TargetUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1280,7 +1280,7 @@ impl SocialItemThumbnail { pub fn ImageUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1298,7 +1298,7 @@ impl SocialItemThumbnail { pub fn BitmapSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1317,7 +1317,7 @@ impl SocialItemThumbnail { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetImageAsync)(::windows::core::Interface::as_raw(this), image.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1410,7 +1410,7 @@ impl SocialUserInfo { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1428,7 +1428,7 @@ impl SocialUserInfo { pub fn UserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1446,7 +1446,7 @@ impl SocialUserInfo { pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1464,7 +1464,7 @@ impl SocialUserInfo { pub fn TargetUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs index 77d612fc69..2b12b8a372 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs @@ -81,7 +81,7 @@ impl LicenseManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILicenseManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddLicenseAsync)(::windows::core::Interface::as_raw(this), license.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -95,7 +95,7 @@ impl LicenseManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::ILicenseManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSatisfactionInfosAsync)(::windows::core::Interface::as_raw(this), contentids.try_into().map_err(|e| e.into())?.abi(), keyids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -103,7 +103,7 @@ impl LicenseManager { #[cfg(feature = "Foundation")] pub fn RefreshLicensesAsync(refreshoption: LicenseRefreshOption) -> ::windows::core::Result { Self::ILicenseManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RefreshLicensesAsync)(::windows::core::Interface::as_raw(this), refreshoption, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -162,49 +162,49 @@ impl LicenseSatisfactionInfo { pub fn SatisfiedByDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SatisfiedByDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SatisfiedByOpenLicense(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SatisfiedByOpenLicense)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SatisfiedByTrial(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SatisfiedByTrial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SatisfiedByPass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SatisfiedByPass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SatisfiedByInstallMedia(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SatisfiedByInstallMedia)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SatisfiedBySignedInUser(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SatisfiedBySignedInUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSatisfied(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSatisfied)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -280,14 +280,14 @@ impl LicenseSatisfactionResult { pub fn LicenseSatisfactionInfos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseSatisfactionInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs index 034eb74c42..5a55ca363b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs @@ -5,35 +5,35 @@ impl AppInstallItem { pub fn ProductId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InstallType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUserInitiated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUserInitiated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -57,7 +57,7 @@ impl AppInstallItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -75,7 +75,7 @@ impl AppInstallItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -111,21 +111,21 @@ impl AppInstallItem { pub fn Children(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ItemOperationsMightAffectOtherItems(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemOperationsMightAffectOtherItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LaunchAfterInstall(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchAfterInstall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -136,7 +136,7 @@ impl AppInstallItem { pub fn PinToDesktopAfterInstall(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinToDesktopAfterInstall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -147,7 +147,7 @@ impl AppInstallItem { pub fn PinToStartAfterInstall(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinToStartAfterInstall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -158,7 +158,7 @@ impl AppInstallItem { pub fn PinToTaskbarAfterInstall(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinToTaskbarAfterInstall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -169,7 +169,7 @@ impl AppInstallItem { pub fn CompletedInstallToastNotificationMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompletedInstallToastNotificationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -180,7 +180,7 @@ impl AppInstallItem { pub fn InstallInProgressToastNotificationMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallInProgressToastNotificationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -267,7 +267,7 @@ impl AppInstallManager { pub fn AppInstallItems(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppInstallItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -300,7 +300,7 @@ impl AppInstallManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -318,7 +318,7 @@ impl AppInstallManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -331,7 +331,7 @@ impl AppInstallManager { pub fn AutoUpdateSetting(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoUpdateSetting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -342,7 +342,7 @@ impl AppInstallManager { pub fn AcquisitionIdentity(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquisitionIdentity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -362,7 +362,7 @@ impl AppInstallManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsApplicableAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), skuid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -375,7 +375,7 @@ impl AppInstallManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAppInstallAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), skuid.into().abi(), repair, forceuseofnonremovablestorage, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -387,7 +387,7 @@ impl AppInstallManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateAppByPackageFamilyNameAsync)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -400,7 +400,7 @@ impl AppInstallManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForUpdatesAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), skuid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -409,7 +409,7 @@ impl AppInstallManager { pub fn SearchForAllUpdatesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForAllUpdatesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -422,7 +422,7 @@ impl AppInstallManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStoreBlockedByPolicyAsync)(::windows::core::Interface::as_raw(this), storeclientname.into().abi(), storeclientpublisher.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -434,7 +434,7 @@ impl AppInstallManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsAppAllowedToInstallAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -450,7 +450,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAppInstallWithTelemetryAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), skuid.into().abi(), repair, forceuseofnonremovablestorage, catalogid.into().abi(), bundleid.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -463,7 +463,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateAppByPackageFamilyNameWithTelemetryAsync)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -478,7 +478,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForUpdatesWithTelemetryAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), skuid.into().abi(), catalogid.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -490,7 +490,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForAllUpdatesWithTelemetryAsync)(::windows::core::Interface::as_raw(this), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -505,7 +505,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsAppAllowedToInstallWithTelemetryAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), skuid.into().abi(), catalogid.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -546,7 +546,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartProductInstallAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), catalogid.into().abi(), flightid.into().abi(), clientid.into().abi(), repair, forceuseofnonremovablestorage, correlationvector.into().abi(), targetvolume.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -564,7 +564,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartProductInstallForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), productid.into().abi(), catalogid.into().abi(), flightid.into().abi(), clientid.into().abi(), repair, forceuseofnonremovablestorage, correlationvector.into().abi(), targetvolume.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -578,7 +578,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateAppByPackageFamilyNameForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), packagefamilyname.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -594,7 +594,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForUpdatesForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), productid.into().abi(), skuid.into().abi(), catalogid.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -607,7 +607,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForAllUpdatesForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -623,7 +623,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsAppAllowedToInstallForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), productid.into().abi(), skuid.into().abi(), catalogid.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -637,7 +637,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsApplicableForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), productid.into().abi(), skuid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -659,7 +659,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFreeUserEntitlementAsync)(::windows::core::Interface::as_raw(this), storeid.into().abi(), campaignid.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -674,7 +674,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFreeUserEntitlementForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), storeid.into().abi(), campaignid.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -688,7 +688,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFreeDeviceEntitlementAsync)(::windows::core::Interface::as_raw(this), storeid.into().abi(), campaignid.into().abi(), correlationvector.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -697,7 +697,7 @@ impl AppInstallManager { pub fn AppInstallItemsWithGroupSupport(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppInstallItemsWithGroupSupport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -711,7 +711,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForAllUpdatesWithUpdateOptionsAsync)(::windows::core::Interface::as_raw(this), correlationvector.into().abi(), clientid.into().abi(), updateoptions.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -726,7 +726,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForAllUpdatesWithUpdateOptionsForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), correlationvector.into().abi(), clientid.into().abi(), updateoptions.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -742,7 +742,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForUpdatesWithUpdateOptionsAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), skuid.into().abi(), correlationvector.into().abi(), clientid.into().abi(), updateoptions.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -759,7 +759,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchForUpdatesWithUpdateOptionsForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), productid.into().abi(), skuid.into().abi(), correlationvector.into().abi(), clientid.into().abi(), updateoptions.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -775,7 +775,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartProductInstallWithOptionsAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), flightid.into().abi(), clientid.into().abi(), correlationvector.into().abi(), installoptions.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -792,7 +792,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartProductInstallWithOptionsForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), productid.into().abi(), flightid.into().abi(), clientid.into().abi(), correlationvector.into().abi(), installoptions.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -806,7 +806,7 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsPackageIdentityAllowedToInstallAsync)(::windows::core::Interface::as_raw(this), correlationvector.into().abi(), packageidentityname.into().abi(), publishercertificatename.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -821,14 +821,14 @@ impl AppInstallManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsPackageIdentityAllowedToInstallForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), correlationvector.into().abi(), packageidentityname.into().abi(), publishercertificatename.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CanInstallForAllUsers(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanInstallForAllUsers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -902,7 +902,7 @@ impl AppInstallManagerItemEventArgs { pub fn Item(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Item)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -983,7 +983,7 @@ impl AppInstallOptions { pub fn CatalogId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CatalogId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -997,7 +997,7 @@ impl AppInstallOptions { pub fn ForceUseOfNonRemovableStorage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceUseOfNonRemovableStorage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1008,7 +1008,7 @@ impl AppInstallOptions { pub fn AllowForcedAppRestart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowForcedAppRestart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1019,7 +1019,7 @@ impl AppInstallOptions { pub fn Repair(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Repair)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1032,7 +1032,7 @@ impl AppInstallOptions { pub fn TargetVolume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1048,7 +1048,7 @@ impl AppInstallOptions { pub fn LaunchAfterInstall(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchAfterInstall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1059,7 +1059,7 @@ impl AppInstallOptions { pub fn PinToDesktopAfterInstall(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinToDesktopAfterInstall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1070,7 +1070,7 @@ impl AppInstallOptions { pub fn PinToStartAfterInstall(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinToStartAfterInstall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1081,7 +1081,7 @@ impl AppInstallOptions { pub fn PinToTaskbarAfterInstall(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinToTaskbarAfterInstall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1092,7 +1092,7 @@ impl AppInstallOptions { pub fn CompletedInstallToastNotificationMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompletedInstallToastNotificationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1103,7 +1103,7 @@ impl AppInstallOptions { pub fn InstallInProgressToastNotificationMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallInProgressToastNotificationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1114,7 +1114,7 @@ impl AppInstallOptions { pub fn InstallForAllUsers(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallForAllUsers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1125,7 +1125,7 @@ impl AppInstallOptions { pub fn StageButDoNotInstall(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StageButDoNotInstall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1136,7 +1136,7 @@ impl AppInstallOptions { pub fn CampaignId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CampaignId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1150,7 +1150,7 @@ impl AppInstallOptions { pub fn ExtendedCampaignId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedCampaignId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1277,35 +1277,35 @@ impl AppInstallStatus { pub fn InstallState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DownloadSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BytesDownloaded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesDownloaded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PercentComplete(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PercentComplete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1314,21 +1314,21 @@ impl AppInstallStatus { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadyForLaunch(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadyForLaunch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStaged(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStaged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1480,7 +1480,7 @@ impl AppUpdateOptions { pub fn CatalogId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CatalogId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1494,7 +1494,7 @@ impl AppUpdateOptions { pub fn AllowForcedAppRestart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowForcedAppRestart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1505,7 +1505,7 @@ impl AppUpdateOptions { pub fn AutomaticallyDownloadAndInstallUpdateIfFound(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomaticallyDownloadAndInstallUpdateIfFound)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1619,7 +1619,7 @@ impl GetEntitlementResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs index 135e66225c..0388072f2a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs @@ -79,20 +79,20 @@ impl DeliveryOptimizationSettings { pub fn DownloadMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DownloadModeSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadModeSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentSettings() -> ::windows::core::Result { Self::IDeliveryOptimizationSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -464,13 +464,13 @@ impl StoreConfiguration { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStoreConfigurationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStoreWebAccountId)(::windows::core::Interface::as_raw(this), webaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn HardwareManufacturerInfo() -> ::windows::core::Result { Self::IStoreConfigurationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareManufacturerInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -482,7 +482,7 @@ impl StoreConfiguration { E0: ::std::convert::Into<::windows::core::Error>, { Self::IStoreConfigurationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FilterUnsupportedSystemFeaturesAsync)(::windows::core::Interface::as_raw(this), systemfeatures.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -490,7 +490,7 @@ impl StoreConfiguration { #[cfg(feature = "Foundation")] pub fn PurchasePromptingPolicy() -> ::windows::core::Result> { Self::IStoreConfigurationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PurchasePromptingPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -505,7 +505,7 @@ impl StoreConfiguration { } pub fn HasStoreWebAccount() -> ::windows::core::Result { Self::IStoreConfigurationStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasStoreWebAccount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -516,7 +516,7 @@ impl StoreConfiguration { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::User>>, { Self::IStoreConfigurationStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasStoreWebAccountForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -524,7 +524,7 @@ impl StoreConfiguration { #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] pub fn GetStoreLogDataAsync(options: StoreLogOptions) -> ::windows::core::Result> { Self::IStoreConfigurationStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStoreLogDataAsync)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -545,7 +545,7 @@ impl StoreConfiguration { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStoreConfigurationStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStoreWebAccountIdForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), webaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -556,7 +556,7 @@ impl StoreConfiguration { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::User>>, { Self::IStoreConfigurationStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPurchasePromptingPolicyForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -572,7 +572,7 @@ impl StoreConfiguration { } pub fn GetStoreWebAccountId() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStoreConfigurationStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStoreWebAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -583,7 +583,7 @@ impl StoreConfiguration { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::User>>, { Self::IStoreConfigurationStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStoreWebAccountIdForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -604,7 +604,7 @@ impl StoreConfiguration { } pub fn GetEnterpriseStoreWebAccountId() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStoreConfigurationStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEnterpriseStoreWebAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -615,13 +615,13 @@ impl StoreConfiguration { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::User>>, { Self::IStoreConfigurationStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEnterpriseStoreWebAccountIdForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ShouldRestrictToEnterpriseStoreOnly() -> ::windows::core::Result { Self::IStoreConfigurationStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldRestrictToEnterpriseStoreOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -632,25 +632,25 @@ impl StoreConfiguration { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::User>>, { Self::IStoreConfigurationStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldRestrictToEnterpriseStoreOnlyForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsPinToDesktopSupported() -> ::windows::core::Result { Self::IStoreConfigurationStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPinToDesktopSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsPinToTaskbarSupported() -> ::windows::core::Result { Self::IStoreConfigurationStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPinToTaskbarSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsPinToStartSupported() -> ::windows::core::Result { Self::IStoreConfigurationStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPinToStartSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -705,28 +705,28 @@ impl StoreHardwareManufacturerInfo { pub fn HardwareManufacturerId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareManufacturerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn StoreContentModifierId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreContentModifierId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ModelName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ManufacturerName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManufacturerName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -866,7 +866,7 @@ impl StorePreview { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorePreview(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestProductPurchaseByProductIdAndSkuIdAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), skuid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -874,7 +874,7 @@ impl StorePreview { #[cfg(feature = "Foundation_Collections")] pub fn LoadAddOnProductInfosAsync() -> ::windows::core::Result>> { Self::IStorePreview(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadAddOnProductInfosAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -894,28 +894,28 @@ impl StorePreviewProductInfo { pub fn ProductId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProductType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -924,7 +924,7 @@ impl StorePreviewProductInfo { pub fn SkuInfoList(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SkuInfoList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1034,7 +1034,7 @@ impl StorePreviewPurchaseResults { pub fn ProductPurchaseStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductPurchaseStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1108,63 +1108,63 @@ impl StorePreviewSkuInfo { pub fn ProductId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SkuId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SkuId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SkuType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SkuType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CustomDeveloperData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomDeveloperData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CurrencyCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrencyCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormattedListPrice(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedListPrice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ExtendedData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1309,7 +1309,7 @@ impl WebAuthenticationCoreManagerHelper { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::UI::Xaml::UIElement>>, { Self::IWebAuthenticationCoreManagerHelper(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestTokenWithUIElementHostingAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), uielement.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1322,7 +1322,7 @@ impl WebAuthenticationCoreManagerHelper { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::UI::Xaml::UIElement>>, { Self::IWebAuthenticationCoreManagerHelper(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestTokenWithUIElementHostingAndWebAccountAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), webaccount.into().abi(), uielement.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs index 4f22fd0445..570c39154f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs @@ -7,7 +7,7 @@ pub struct CurrentApp; impl CurrentApp { pub fn LicenseInformation() -> ::windows::core::Result { Self::ICurrentApp(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -15,13 +15,13 @@ impl CurrentApp { #[cfg(feature = "Foundation")] pub fn LinkUri() -> ::windows::core::Result { Self::ICurrentApp(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinkUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AppId() -> ::windows::core::Result<::windows::core::GUID> { Self::ICurrentApp(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -29,7 +29,7 @@ impl CurrentApp { #[cfg(feature = "Foundation")] pub fn RequestAppPurchaseAsync(includereceipt: bool) -> ::windows::core::Result> { Self::ICurrentApp(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAppPurchaseAsync)(::windows::core::Interface::as_raw(this), includereceipt, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -40,7 +40,7 @@ impl CurrentApp { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentApp(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestProductPurchaseAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), includereceipt, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -48,7 +48,7 @@ impl CurrentApp { #[cfg(feature = "Foundation")] pub fn LoadListingInformationAsync() -> ::windows::core::Result> { Self::ICurrentApp(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadListingInformationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -56,7 +56,7 @@ impl CurrentApp { #[cfg(feature = "Foundation")] pub fn GetAppReceiptAsync() -> ::windows::core::Result> { Self::ICurrentApp(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppReceiptAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -67,7 +67,7 @@ impl CurrentApp { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentApp(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProductReceiptAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -79,7 +79,7 @@ impl CurrentApp { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentApp2Statics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCustomerPurchaseIdAsync)(::windows::core::Interface::as_raw(this), serviceticket.into().abi(), publisheruserid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -91,7 +91,7 @@ impl CurrentApp { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentApp2Statics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCustomerCollectionsIdAsync)(::windows::core::Interface::as_raw(this), serviceticket.into().abi(), publisheruserid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -103,7 +103,7 @@ impl CurrentApp { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICurrentAppStaticsWithFiltering(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadListingInformationByProductIdsAsync)(::windows::core::Interface::as_raw(this), productids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -115,7 +115,7 @@ impl CurrentApp { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICurrentAppStaticsWithFiltering(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadListingInformationByKeywordsAsync)(::windows::core::Interface::as_raw(this), keywords.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -129,7 +129,7 @@ impl CurrentApp { #[cfg(feature = "Foundation")] pub fn GetAppPurchaseCampaignIdAsync() -> ::windows::core::Result> { Self::ICurrentAppWithCampaignId(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppPurchaseCampaignIdAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -140,7 +140,7 @@ impl CurrentApp { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentAppWithConsumables(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportConsumableFulfillmentAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), transactionid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -151,7 +151,7 @@ impl CurrentApp { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentAppWithConsumables(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestProductPurchaseWithResultsAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -164,7 +164,7 @@ impl CurrentApp { P2: ::std::convert::Into<::windows::core::InParam<'a, ProductPurchaseDisplayProperties>>, { Self::ICurrentAppWithConsumables(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestProductPurchaseWithDisplayPropertiesAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), offerid.into().abi(), displayproperties.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -172,7 +172,7 @@ impl CurrentApp { #[cfg(feature = "Foundation_Collections")] pub fn GetUnfulfilledConsumablesAsync() -> ::windows::core::Result>> { Self::ICurrentAppWithConsumables(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUnfulfilledConsumablesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -210,7 +210,7 @@ pub struct CurrentAppSimulator; impl CurrentAppSimulator { pub fn LicenseInformation() -> ::windows::core::Result { Self::ICurrentAppSimulator(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -218,13 +218,13 @@ impl CurrentAppSimulator { #[cfg(feature = "Foundation")] pub fn LinkUri() -> ::windows::core::Result { Self::ICurrentAppSimulator(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinkUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AppId() -> ::windows::core::Result<::windows::core::GUID> { Self::ICurrentAppSimulator(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -232,7 +232,7 @@ impl CurrentAppSimulator { #[cfg(feature = "Foundation")] pub fn RequestAppPurchaseAsync(includereceipt: bool) -> ::windows::core::Result> { Self::ICurrentAppSimulator(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAppPurchaseAsync)(::windows::core::Interface::as_raw(this), includereceipt, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -243,7 +243,7 @@ impl CurrentAppSimulator { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentAppSimulator(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestProductPurchaseAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), includereceipt, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -251,7 +251,7 @@ impl CurrentAppSimulator { #[cfg(feature = "Foundation")] pub fn LoadListingInformationAsync() -> ::windows::core::Result> { Self::ICurrentAppSimulator(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadListingInformationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -259,7 +259,7 @@ impl CurrentAppSimulator { #[cfg(feature = "Foundation")] pub fn GetAppReceiptAsync() -> ::windows::core::Result> { Self::ICurrentAppSimulator(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppReceiptAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -270,7 +270,7 @@ impl CurrentAppSimulator { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentAppSimulator(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProductReceiptAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -281,7 +281,7 @@ impl CurrentAppSimulator { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::StorageFile>>, { Self::ICurrentAppSimulator(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReloadSimulatorAsync)(::windows::core::Interface::as_raw(this), simulatorsettingsfile.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -293,7 +293,7 @@ impl CurrentAppSimulator { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICurrentAppSimulatorStaticsWithFiltering(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadListingInformationByProductIdsAsync)(::windows::core::Interface::as_raw(this), productids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -305,7 +305,7 @@ impl CurrentAppSimulator { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICurrentAppSimulatorStaticsWithFiltering(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadListingInformationByKeywordsAsync)(::windows::core::Interface::as_raw(this), keywords.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -313,7 +313,7 @@ impl CurrentAppSimulator { #[cfg(feature = "Foundation")] pub fn GetAppPurchaseCampaignIdAsync() -> ::windows::core::Result> { Self::ICurrentAppSimulatorWithCampaignId(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppPurchaseCampaignIdAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -324,7 +324,7 @@ impl CurrentAppSimulator { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentAppSimulatorWithConsumables(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportConsumableFulfillmentAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), transactionid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -335,7 +335,7 @@ impl CurrentAppSimulator { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrentAppSimulatorWithConsumables(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestProductPurchaseWithResultsAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -348,7 +348,7 @@ impl CurrentAppSimulator { P2: ::std::convert::Into<::windows::core::InParam<'a, ProductPurchaseDisplayProperties>>, { Self::ICurrentAppSimulatorWithConsumables(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestProductPurchaseWithDisplayPropertiesAsync)(::windows::core::Interface::as_raw(this), productid.into().abi(), offerid.into().abi(), displayproperties.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -356,7 +356,7 @@ impl CurrentAppSimulator { #[cfg(feature = "Foundation_Collections")] pub fn GetUnfulfilledConsumablesAsync() -> ::windows::core::Result>> { Self::ICurrentAppSimulatorWithConsumables(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUnfulfilledConsumablesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -982,21 +982,21 @@ impl LicenseInformation { pub fn ProductLicenses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductLicenses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTrial(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTrial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1005,7 +1005,7 @@ impl LicenseInformation { pub fn ExpirationDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1017,7 +1017,7 @@ impl LicenseInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1097,14 +1097,14 @@ impl ListingInformation { pub fn CurrentMarket(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentMarket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1113,35 +1113,35 @@ impl ListingInformation { pub fn ProductListings(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductListings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn FormattedPrice(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedPrice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AgeRating(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AgeRating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FormattedBasePrice(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedBasePrice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1150,21 +1150,21 @@ impl ListingInformation { pub fn SaleEndDate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaleEndDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOnSale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOnSale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrencyCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrencyCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1238,14 +1238,14 @@ impl ProductLicense { pub fn ProductId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1254,14 +1254,14 @@ impl ProductLicense { pub fn ExpirationDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsConsumable(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConsumable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1335,28 +1335,28 @@ impl ProductListing { pub fn ProductId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormattedPrice(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedPrice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormattedBasePrice(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedBasePrice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1365,28 +1365,28 @@ impl ProductListing { pub fn SaleEndDate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaleEndDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOnSale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOnSale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrencyCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrencyCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1395,21 +1395,21 @@ impl ProductListing { pub fn Keywords(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keywords)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ProductType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1418,7 +1418,7 @@ impl ProductListing { pub fn ImageUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1499,7 +1499,7 @@ impl ProductPurchaseDisplayProperties { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1513,7 +1513,7 @@ impl ProductPurchaseDisplayProperties { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1529,7 +1529,7 @@ impl ProductPurchaseDisplayProperties { pub fn Image(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Image)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1547,7 +1547,7 @@ impl ProductPurchaseDisplayProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProductPurchaseDisplayPropertiesFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateProductPurchaseDisplayProperties)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1697,28 +1697,28 @@ impl PurchaseResults { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TransactionId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransactionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ReceiptXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReceiptXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OfferId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OfferId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1792,21 +1792,21 @@ impl UnfulfilledConsumable { pub fn ProductId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TransactionId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransactionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn OfferId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OfferId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs index 32e0d91dad..abdeb00f81 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs @@ -6,7 +6,7 @@ impl CoreUserActivityManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::UserActivity>>, { Self::ICoreUserActivityManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUserActivitySessionInBackground)(::windows::core::Interface::as_raw(this), activity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -17,7 +17,7 @@ impl CoreUserActivityManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::UserActivityChannel>>, { Self::ICoreUserActivityManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteUserActivitySessionsInTimeRangeAsync)(::windows::core::Interface::as_raw(this), channel.into().abi(), starttime, endtime, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index 13e001a529..d357944bac 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -212,7 +212,7 @@ impl IUserActivityContentInfo { pub fn ToJson(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToJson)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -479,21 +479,21 @@ impl UserActivity { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn VisualElements(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisualElements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -502,7 +502,7 @@ impl UserActivity { pub fn ContentUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -518,7 +518,7 @@ impl UserActivity { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -534,7 +534,7 @@ impl UserActivity { pub fn FallbackUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -552,7 +552,7 @@ impl UserActivity { pub fn ActivationUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivationUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -568,7 +568,7 @@ impl UserActivity { pub fn ContentInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -585,28 +585,28 @@ impl UserActivity { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ToJson(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToJson)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsRoamable(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRoamable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -619,7 +619,7 @@ impl UserActivity { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserActivityFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithActivityId)(::windows::core::Interface::as_raw(this), activityid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -628,7 +628,7 @@ impl UserActivity { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserActivityStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseFromJson)(::windows::core::Interface::as_raw(this), json.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -639,7 +639,7 @@ impl UserActivity { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserActivityStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseFromJsonArray)(::windows::core::Interface::as_raw(this), json.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -651,7 +651,7 @@ impl UserActivity { E0: ::std::convert::Into<::windows::core::Error>, { Self::IUserActivityStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToJsonArray)(::windows::core::Interface::as_raw(this), activities.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -744,7 +744,7 @@ impl UserActivityAttribution { pub fn IconUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IconUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -760,7 +760,7 @@ impl UserActivityAttribution { pub fn AlternateText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -774,7 +774,7 @@ impl UserActivityAttribution { pub fn AddImageQuery(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddImageQuery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -789,7 +789,7 @@ impl UserActivityAttribution { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IUserActivityAttributionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithUri)(::windows::core::Interface::as_raw(this), iconuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -873,7 +873,7 @@ impl UserActivityChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOrCreateUserActivityAsync)(::windows::core::Interface::as_raw(this), activityid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -885,7 +885,7 @@ impl UserActivityChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteActivityAsync)(::windows::core::Interface::as_raw(this), activityid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -894,7 +894,7 @@ impl UserActivityChannel { pub fn DeleteAllActivitiesAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAllActivitiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -903,7 +903,7 @@ impl UserActivityChannel { pub fn GetRecentUserActivitiesAsync(&self, maxuniqueactivities: i32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecentUserActivitiesAsync)(::windows::core::Interface::as_raw(this), maxuniqueactivities, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -915,13 +915,13 @@ impl UserActivityChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSessionHistoryItemsForUserActivityAsync)(::windows::core::Interface::as_raw(this), activityid.into().abi(), starttime, result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IUserActivityChannelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -935,7 +935,7 @@ impl UserActivityChannel { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Security::Credentials::WebAccount>>, { Self::IUserActivityChannelStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetForWebAccount)(::windows::core::Interface::as_raw(this), account.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -946,7 +946,7 @@ impl UserActivityChannel { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IUserActivityChannelStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1035,7 +1035,7 @@ impl UserActivityContentInfo { pub fn ToJson(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToJson)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1044,7 +1044,7 @@ impl UserActivityContentInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserActivityContentInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromJson)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1221,7 +1221,7 @@ impl UserActivityRequestManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserActivityRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1233,7 +1233,7 @@ impl UserActivityRequestManager { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IUserActivityRequestManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1310,7 +1310,7 @@ impl UserActivityRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1319,7 +1319,7 @@ impl UserActivityRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1399,7 +1399,7 @@ impl UserActivitySession { pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1495,7 +1495,7 @@ impl UserActivitySessionHistoryItem { pub fn UserActivity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserActivity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1504,7 +1504,7 @@ impl UserActivitySessionHistoryItem { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1513,7 +1513,7 @@ impl UserActivitySessionHistoryItem { pub fn EndTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1621,7 +1621,7 @@ impl UserActivityVisualElements { pub fn DisplayText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1635,7 +1635,7 @@ impl UserActivityVisualElements { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1651,7 +1651,7 @@ impl UserActivityVisualElements { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1664,7 +1664,7 @@ impl UserActivityVisualElements { pub fn Attribution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attribution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1690,14 +1690,14 @@ impl UserActivityVisualElements { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AttributionDisplayText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributionDisplayText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } 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 935ce4b973..b3a2c6eeb7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs @@ -38,7 +38,7 @@ impl IUserDataAccountProviderOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -141,21 +141,21 @@ impl UserDataAccountPartnerAccountInfo { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Priority(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Priority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AccountKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -229,7 +229,7 @@ impl UserDataAccountProviderAddAccountOperation { pub fn ContentKinds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentKinds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -238,7 +238,7 @@ impl UserDataAccountProviderAddAccountOperation { pub fn PartnerAccountInfos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartnerAccountInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -252,7 +252,7 @@ impl UserDataAccountProviderAddAccountOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -414,14 +414,14 @@ impl UserDataAccountProviderResolveErrorsOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UserDataAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDataAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -518,14 +518,14 @@ impl UserDataAccountProviderSettingsOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UserDataAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDataAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs index b833ec4c33..4d95497e9d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs @@ -47,7 +47,7 @@ impl DeviceAccountConfiguration { pub fn AccountName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -61,7 +61,7 @@ impl DeviceAccountConfiguration { pub fn DeviceAccountTypeId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAccountTypeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -75,7 +75,7 @@ impl DeviceAccountConfiguration { pub fn ServerType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -86,7 +86,7 @@ impl DeviceAccountConfiguration { pub fn EmailAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -100,7 +100,7 @@ impl DeviceAccountConfiguration { pub fn Domain(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Domain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -114,7 +114,7 @@ impl DeviceAccountConfiguration { pub fn EmailSyncEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailSyncEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -125,7 +125,7 @@ impl DeviceAccountConfiguration { pub fn ContactsSyncEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactsSyncEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -136,7 +136,7 @@ impl DeviceAccountConfiguration { pub fn CalendarSyncEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalendarSyncEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -147,7 +147,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncomingServerAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -161,7 +161,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerPort(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncomingServerPort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -172,7 +172,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerRequiresSsl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncomingServerRequiresSsl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -183,7 +183,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerUsername(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncomingServerUsername)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -197,7 +197,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingServerAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -211,7 +211,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerPort(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingServerPort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -222,7 +222,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerRequiresSsl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingServerRequiresSsl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -233,7 +233,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerUsername(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingServerUsername)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -249,7 +249,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncomingServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -267,7 +267,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -283,7 +283,7 @@ impl DeviceAccountConfiguration { pub fn OAuthRefreshToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OAuthRefreshToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -297,7 +297,7 @@ impl DeviceAccountConfiguration { pub fn IsExternallyManaged(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsExternallyManaged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -308,7 +308,7 @@ impl DeviceAccountConfiguration { pub fn AccountIconId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountIconId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -319,7 +319,7 @@ impl DeviceAccountConfiguration { pub fn AuthenticationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -330,14 +330,14 @@ impl DeviceAccountConfiguration { pub fn IsSsoAuthenticationSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSsoAuthenticationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SsoAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SsoAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -351,7 +351,7 @@ impl DeviceAccountConfiguration { pub fn AlwaysDownloadFullMessage(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlwaysDownloadFullMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -362,14 +362,14 @@ impl DeviceAccountConfiguration { pub fn DoesPolicyAllowMailSync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DoesPolicyAllowMailSync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SyncScheduleKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncScheduleKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -380,7 +380,7 @@ impl DeviceAccountConfiguration { pub fn MailAgeFilter(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MailAgeFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -391,7 +391,7 @@ impl DeviceAccountConfiguration { pub fn IsClientAuthenticationCertificateRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsClientAuthenticationCertificateRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -402,7 +402,7 @@ impl DeviceAccountConfiguration { pub fn AutoSelectAuthenticationCertificate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoSelectAuthenticationCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -413,7 +413,7 @@ impl DeviceAccountConfiguration { pub fn AuthenticationCertificateId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationCertificateId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -427,7 +427,7 @@ impl DeviceAccountConfiguration { pub fn CardDavSyncScheduleKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardDavSyncScheduleKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -438,7 +438,7 @@ impl DeviceAccountConfiguration { pub fn CalDavSyncScheduleKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalDavSyncScheduleKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -451,7 +451,7 @@ impl DeviceAccountConfiguration { pub fn CardDavServerUrl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardDavServerUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -467,7 +467,7 @@ impl DeviceAccountConfiguration { pub fn CardDavRequiresSsl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardDavRequiresSsl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -480,7 +480,7 @@ impl DeviceAccountConfiguration { pub fn CalDavServerUrl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalDavServerUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -496,7 +496,7 @@ impl DeviceAccountConfiguration { pub fn CalDavRequiresSsl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalDavRequiresSsl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -507,7 +507,7 @@ impl DeviceAccountConfiguration { pub fn WasModifiedByUser(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WasModifiedByUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -518,7 +518,7 @@ impl DeviceAccountConfiguration { pub fn WasIncomingServerCertificateHashConfirmed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WasIncomingServerCertificateHashConfirmed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -529,7 +529,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerCertificateHash(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncomingServerCertificateHash)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -543,7 +543,7 @@ impl DeviceAccountConfiguration { pub fn IsOutgoingServerAuthenticationRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOutgoingServerAuthenticationRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -554,7 +554,7 @@ impl DeviceAccountConfiguration { pub fn IsOutgoingServerAuthenticationEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOutgoingServerAuthenticationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -565,7 +565,7 @@ impl DeviceAccountConfiguration { pub fn WasOutgoingServerCertificateHashConfirmed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WasOutgoingServerCertificateHashConfirmed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -576,7 +576,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerCertificateHash(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingServerCertificateHash)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -590,7 +590,7 @@ impl DeviceAccountConfiguration { pub fn IsSyncScheduleManagedBySystem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSyncScheduleManagedBySystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1001,7 +1001,7 @@ impl UserDataAccountSystemAccessManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IUserDataAccountSystemAccessManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddAndShowDeviceAccountsAsync)(::windows::core::Interface::as_raw(this), accounts.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1012,7 +1012,7 @@ impl UserDataAccountSystemAccessManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserDataAccountSystemAccessManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuppressLocalAccountWithAccountAsync)(::windows::core::Interface::as_raw(this), userdataaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1023,7 +1023,7 @@ impl UserDataAccountSystemAccessManager { P0: ::std::convert::Into<::windows::core::InParam<'a, DeviceAccountConfiguration>>, { Self::IUserDataAccountSystemAccessManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDeviceAccountAsync)(::windows::core::Interface::as_raw(this), account.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1034,7 +1034,7 @@ impl UserDataAccountSystemAccessManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserDataAccountSystemAccessManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteDeviceAccountAsync)(::windows::core::Interface::as_raw(this), accountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1045,7 +1045,7 @@ impl UserDataAccountSystemAccessManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserDataAccountSystemAccessManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceAccountConfigurationAsync)(::windows::core::Interface::as_raw(this), accountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs index 459750428f..9007a87b38 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs @@ -267,14 +267,14 @@ impl UserDataAccount { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UserDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -288,7 +288,7 @@ impl UserDataAccount { pub fn OtherAppReadAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppReadAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -301,21 +301,21 @@ impl UserDataAccount { pub fn Icon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Icon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceAccountTypeId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAccountTypeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -324,7 +324,7 @@ impl UserDataAccount { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -333,7 +333,7 @@ impl UserDataAccount { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -342,7 +342,7 @@ impl UserDataAccount { pub fn FindAppointmentCalendarsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAppointmentCalendarsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -351,7 +351,7 @@ impl UserDataAccount { pub fn FindEmailMailboxesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindEmailMailboxesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -360,7 +360,7 @@ impl UserDataAccount { pub fn FindContactListsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactListsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -369,21 +369,21 @@ impl UserDataAccount { pub fn FindContactAnnotationListsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactAnnotationListsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsProtectedUnderLock(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsProtectedUnderLock)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -392,14 +392,14 @@ impl UserDataAccount { pub fn ExplictReadAccessPackageFamilyNames(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExplictReadAccessPackageFamilyNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -413,7 +413,7 @@ impl UserDataAccount { pub fn CanShowCreateContactGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanShowCreateContactGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -426,7 +426,7 @@ impl UserDataAccount { pub fn ProviderProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -435,7 +435,7 @@ impl UserDataAccount { pub fn FindUserDataTaskListsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindUserDataTaskListsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -444,7 +444,7 @@ impl UserDataAccount { pub fn FindContactGroupsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactGroupsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -453,7 +453,7 @@ impl UserDataAccount { pub fn TryShowCreateContactGroupAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShowCreateContactGroupAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -604,7 +604,7 @@ impl UserDataAccountManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync(storeaccesstype: UserDataAccountStoreAccessType) -> ::windows::core::Result> { Self::IUserDataAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), storeaccesstype, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -612,7 +612,7 @@ impl UserDataAccountManager { #[cfg(feature = "Foundation")] pub fn ShowAddAccountAsync(contentkinds: UserDataAccountContentKinds) -> ::windows::core::Result> { Self::IUserDataAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAddAccountAsync)(::windows::core::Interface::as_raw(this), contentkinds, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -623,7 +623,7 @@ impl UserDataAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserDataAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAccountSettingsAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -634,7 +634,7 @@ impl UserDataAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserDataAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAccountErrorResolverAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -645,7 +645,7 @@ impl UserDataAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IUserDataAccountManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -672,7 +672,7 @@ impl UserDataAccountManagerForUser { pub fn RequestStoreAsync(&self, storeaccesstype: UserDataAccountStoreAccessType) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), storeaccesstype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -681,7 +681,7 @@ impl UserDataAccountManagerForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -792,7 +792,7 @@ impl UserDataAccountStore { pub fn FindAccountsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAccountsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -804,7 +804,7 @@ impl UserDataAccountStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAccountAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -816,7 +816,7 @@ impl UserDataAccountStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAccountAsync)(::windows::core::Interface::as_raw(this), userdisplayname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -829,7 +829,7 @@ impl UserDataAccountStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAccountWithPackageRelativeAppIdAsync)(::windows::core::Interface::as_raw(this), userdisplayname.into().abi(), packagerelativeappid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -841,7 +841,7 @@ impl UserDataAccountStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -861,7 +861,7 @@ impl UserDataAccountStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync)(::windows::core::Interface::as_raw(this), userdisplayname.into().abi(), packagerelativeappid.into().abi(), enterpriseid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -971,7 +971,7 @@ impl UserDataAccountStoreChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs index 4eb715dd53..130e3fc748 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs @@ -270,7 +270,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOrUpdateTaskRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -288,7 +288,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -306,7 +306,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SkipOccurrenceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -324,7 +324,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompleteTaskRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -342,7 +342,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteTaskRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -426,7 +426,7 @@ impl UserDataTaskDataProviderTriggerDetails { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -500,14 +500,14 @@ impl UserDataTaskListCompleteTaskRequest { pub fn TaskListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -519,7 +519,7 @@ impl UserDataTaskListCompleteTaskRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), completedtaskid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -528,7 +528,7 @@ impl UserDataTaskListCompleteTaskRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -602,7 +602,7 @@ impl UserDataTaskListCompleteTaskRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -611,7 +611,7 @@ impl UserDataTaskListCompleteTaskRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -685,14 +685,14 @@ impl UserDataTaskListCreateOrUpdateTaskRequest { pub fn TaskListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Task(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Task)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -704,7 +704,7 @@ impl UserDataTaskListCreateOrUpdateTaskRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), createdorupdateduserdatatask.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -713,7 +713,7 @@ impl UserDataTaskListCreateOrUpdateTaskRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -787,7 +787,7 @@ impl UserDataTaskListCreateOrUpdateTaskRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -796,7 +796,7 @@ impl UserDataTaskListCreateOrUpdateTaskRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -870,14 +870,14 @@ impl UserDataTaskListDeleteTaskRequest { pub fn TaskListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -886,7 +886,7 @@ impl UserDataTaskListDeleteTaskRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -895,7 +895,7 @@ impl UserDataTaskListDeleteTaskRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -969,7 +969,7 @@ impl UserDataTaskListDeleteTaskRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -978,7 +978,7 @@ impl UserDataTaskListDeleteTaskRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1052,14 +1052,14 @@ impl UserDataTaskListSkipOccurrenceRequest { pub fn TaskListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1068,7 +1068,7 @@ impl UserDataTaskListSkipOccurrenceRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1077,7 +1077,7 @@ impl UserDataTaskListSkipOccurrenceRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1151,7 +1151,7 @@ impl UserDataTaskListSkipOccurrenceRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1160,7 +1160,7 @@ impl UserDataTaskListSkipOccurrenceRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1234,7 +1234,7 @@ impl UserDataTaskListSyncManagerSyncRequest { pub fn TaskListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1243,7 +1243,7 @@ impl UserDataTaskListSyncManagerSyncRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1252,7 +1252,7 @@ impl UserDataTaskListSyncManagerSyncRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1326,7 +1326,7 @@ impl UserDataTaskListSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1335,7 +1335,7 @@ impl UserDataTaskListSyncManagerSyncRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs index d468e8f5ca..821fbab5fc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs @@ -405,21 +405,21 @@ impl UserDataTask { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ListId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ListId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -435,7 +435,7 @@ impl UserDataTask { pub fn CompletedDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompletedDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -452,7 +452,7 @@ impl UserDataTask { pub fn Details(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Details)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -466,7 +466,7 @@ impl UserDataTask { pub fn DetailsKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetailsKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -479,7 +479,7 @@ impl UserDataTask { pub fn DueDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DueDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -496,14 +496,14 @@ impl UserDataTask { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Priority(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Priority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -514,7 +514,7 @@ impl UserDataTask { pub fn RecurrenceProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecurrenceProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -528,7 +528,7 @@ impl UserDataTask { pub fn RegenerationProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegenerationProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -544,7 +544,7 @@ impl UserDataTask { pub fn Reminder(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reminder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -561,7 +561,7 @@ impl UserDataTask { pub fn Sensitivity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sensitivity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -572,7 +572,7 @@ impl UserDataTask { pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -588,7 +588,7 @@ impl UserDataTask { pub fn StartDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -674,7 +674,7 @@ impl UserDataTaskBatch { pub fn Tasks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tasks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -885,21 +885,21 @@ impl UserDataTaskList { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UserDataAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDataAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -913,14 +913,14 @@ impl UserDataTaskList { pub fn SourceDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OtherAppReadAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppReadAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -931,7 +931,7 @@ impl UserDataTaskList { pub fn OtherAppWriteAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAppWriteAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -942,14 +942,14 @@ impl UserDataTaskList { pub fn LimitedWriteOperations(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LimitedWriteOperations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SyncManager(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -958,14 +958,14 @@ impl UserDataTaskList { pub fn RegisterSyncManagerAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterSyncManagerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetTaskReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTaskReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -975,7 +975,7 @@ impl UserDataTaskList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTaskReaderWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -987,7 +987,7 @@ impl UserDataTaskList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTaskAsync)(::windows::core::Interface::as_raw(this), userdatatask.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -999,7 +999,7 @@ impl UserDataTaskList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveTaskAsync)(::windows::core::Interface::as_raw(this), userdatatask.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1011,7 +1011,7 @@ impl UserDataTaskList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteTaskAsync)(::windows::core::Interface::as_raw(this), userdatataskid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1020,7 +1020,7 @@ impl UserDataTaskList { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1029,7 +1029,7 @@ impl UserDataTaskList { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1108,7 +1108,7 @@ impl UserDataTaskListLimitedWriteOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCompleteTaskAsync)(::windows::core::Interface::as_raw(this), userdatataskid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1120,7 +1120,7 @@ impl UserDataTaskListLimitedWriteOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateOrUpdateTaskAsync)(::windows::core::Interface::as_raw(this), userdatatask.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1132,7 +1132,7 @@ impl UserDataTaskListLimitedWriteOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDeleteTaskAsync)(::windows::core::Interface::as_raw(this), userdatataskid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1144,7 +1144,7 @@ impl UserDataTaskListLimitedWriteOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySkipOccurrenceAsync)(::windows::core::Interface::as_raw(this), userdatataskid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1289,7 +1289,7 @@ impl UserDataTaskListSyncManager { pub fn LastAttemptedSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastAttemptedSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1304,7 +1304,7 @@ impl UserDataTaskListSyncManager { pub fn LastSuccessfulSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastSuccessfulSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1317,7 +1317,7 @@ impl UserDataTaskListSyncManager { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1330,7 +1330,7 @@ impl UserDataTaskListSyncManager { pub fn SyncAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1342,7 +1342,7 @@ impl UserDataTaskListSyncManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1462,7 +1462,7 @@ impl UserDataTaskManager { pub fn RequestStoreAsync(&self, accesstype: UserDataTaskStoreAccessType) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), accesstype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1471,13 +1471,13 @@ impl UserDataTaskManager { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IUserDataTaskManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1488,7 +1488,7 @@ impl UserDataTaskManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IUserDataTaskManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1644,7 +1644,7 @@ impl UserDataTaskQueryOptions { pub fn SortProperty(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SortProperty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1655,7 +1655,7 @@ impl UserDataTaskQueryOptions { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1768,7 +1768,7 @@ impl UserDataTaskReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1849,7 +1849,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Unit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1862,7 +1862,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Occurrences(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Occurrences)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1881,7 +1881,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Until(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Until)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1898,7 +1898,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Interval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Interval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1911,7 +1911,7 @@ impl UserDataTaskRecurrenceProperties { pub fn DaysOfWeek(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DaysOfWeek)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1930,7 +1930,7 @@ impl UserDataTaskRecurrenceProperties { pub fn WeekOfMonth(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WeekOfMonth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1949,7 +1949,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Month(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Month)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1968,7 +1968,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Day(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Day)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2097,7 +2097,7 @@ impl UserDataTaskRegenerationProperties { pub fn Unit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2110,7 +2110,7 @@ impl UserDataTaskRegenerationProperties { pub fn Occurrences(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Occurrences)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2129,7 +2129,7 @@ impl UserDataTaskRegenerationProperties { pub fn Until(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Until)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2146,7 +2146,7 @@ impl UserDataTaskRegenerationProperties { pub fn Interval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Interval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2299,7 +2299,7 @@ impl UserDataTaskStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateListAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2312,7 +2312,7 @@ impl UserDataTaskStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateListInAccountAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), userdataaccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2321,7 +2321,7 @@ impl UserDataTaskStore { pub fn FindListsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindListsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2333,7 +2333,7 @@ impl UserDataTaskStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetListAsync)(::windows::core::Interface::as_raw(this), tasklistid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs index 71a1fb5b40..9698938c25 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -266,7 +266,7 @@ impl VoiceCommand { pub fn CommandName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -275,7 +275,7 @@ impl VoiceCommand { pub fn Properties(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -284,7 +284,7 @@ impl VoiceCommand { pub fn SpeechRecognitionResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpeechRecognitionResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -358,7 +358,7 @@ impl VoiceCommandCompletedEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -471,7 +471,7 @@ impl VoiceCommandConfirmationResult { pub fn Confirmed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Confirmed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -552,7 +552,7 @@ impl VoiceCommandContentTile { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -566,7 +566,7 @@ impl VoiceCommandContentTile { pub fn TextLine1(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextLine1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -580,7 +580,7 @@ impl VoiceCommandContentTile { pub fn TextLine2(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextLine2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -594,7 +594,7 @@ impl VoiceCommandContentTile { pub fn TextLine3(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextLine3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -610,7 +610,7 @@ impl VoiceCommandContentTile { pub fn Image(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Image)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -627,7 +627,7 @@ impl VoiceCommandContentTile { pub fn AppContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -641,7 +641,7 @@ impl VoiceCommandContentTile { pub fn AppLaunchArgument(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppLaunchArgument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -655,7 +655,7 @@ impl VoiceCommandContentTile { pub fn ContentTileType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentTileType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -773,14 +773,14 @@ impl VoiceCommandDefinition { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -794,7 +794,7 @@ impl VoiceCommandDefinition { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPhraseListAsync)(::windows::core::Interface::as_raw(this), phraselistname.into().abi(), phraselist.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -871,7 +871,7 @@ impl VoiceCommandDefinitionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::StorageFile>>, { Self::IVoiceCommandDefinitionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallCommandDefinitionsFromStorageFileAsync)(::windows::core::Interface::as_raw(this), file.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -879,7 +879,7 @@ impl VoiceCommandDefinitionManager { #[cfg(feature = "Foundation_Collections")] pub fn InstalledCommandDefinitions() -> ::windows::core::Result> { Self::IVoiceCommandDefinitionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstalledCommandDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -899,7 +899,7 @@ impl VoiceCommandDisambiguationResult { pub fn SelectedItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -973,7 +973,7 @@ impl VoiceCommandResponse { pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -987,7 +987,7 @@ impl VoiceCommandResponse { pub fn RepeatMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RepeatMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1001,7 +1001,7 @@ impl VoiceCommandResponse { pub fn AppLaunchArgument(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppLaunchArgument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1017,13 +1017,13 @@ impl VoiceCommandResponse { pub fn VoiceCommandContentTiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VoiceCommandContentTiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaxSupportedVoiceCommandContentTiles() -> ::windows::core::Result { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSupportedVoiceCommandContentTiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1032,7 +1032,7 @@ impl VoiceCommandResponse { P0: ::std::convert::Into<::windows::core::InParam<'a, VoiceCommandUserMessage>>, { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResponse)(::windows::core::Interface::as_raw(this), usermessage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1045,7 +1045,7 @@ impl VoiceCommandResponse { E1: ::std::convert::Into<::windows::core::Error>, { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResponseWithTiles)(::windows::core::Interface::as_raw(this), message.into().abi(), contenttiles.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1055,7 +1055,7 @@ impl VoiceCommandResponse { P1: ::std::convert::Into<::windows::core::InParam<'a, VoiceCommandUserMessage>>, { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResponseForPrompt)(::windows::core::Interface::as_raw(this), message.into().abi(), repeatmessage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1069,7 +1069,7 @@ impl VoiceCommandResponse { E2: ::std::convert::Into<::windows::core::Error>, { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResponseForPromptWithTiles)(::windows::core::Interface::as_raw(this), message.into().abi(), repeatmessage.into().abi(), contenttiles.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1150,7 +1150,7 @@ impl VoiceCommandServiceConnection { pub fn GetVoiceCommandAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVoiceCommandAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1162,7 +1162,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestConfirmationAsync)(::windows::core::Interface::as_raw(this), response.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1174,7 +1174,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDisambiguationAsync)(::windows::core::Interface::as_raw(this), response.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1186,7 +1186,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportProgressAsync)(::windows::core::Interface::as_raw(this), response.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1198,7 +1198,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportSuccessAsync)(::windows::core::Interface::as_raw(this), response.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1210,7 +1210,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailureAsync)(::windows::core::Interface::as_raw(this), response.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1222,7 +1222,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAppLaunchAsync)(::windows::core::Interface::as_raw(this), response.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1231,7 +1231,7 @@ impl VoiceCommandServiceConnection { pub fn Language(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1243,7 +1243,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VoiceCommandCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1260,7 +1260,7 @@ impl VoiceCommandServiceConnection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::AppService::AppServiceTriggerDetails>>, { Self::IVoiceCommandServiceConnectionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromAppServiceTriggerDetails)(::windows::core::Interface::as_raw(this), triggerdetails.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1346,7 +1346,7 @@ impl VoiceCommandUserMessage { pub fn DisplayMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1360,7 +1360,7 @@ impl VoiceCommandUserMessage { pub fn SpokenMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpokenMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs index 69e5145c10..642b05eb06 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs @@ -107,7 +107,7 @@ impl WalletItemSystemStore { pub fn GetItemsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -119,7 +119,7 @@ impl WalletItemSystemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), item.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -132,7 +132,7 @@ impl WalletItemSystemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportItemAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -142,7 +142,7 @@ impl WalletItemSystemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppStatusForItem)(::windows::core::Interface::as_raw(this), item.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -154,7 +154,7 @@ impl WalletItemSystemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchAppForItemAsync)(::windows::core::Interface::as_raw(this), item.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -166,7 +166,7 @@ impl WalletItemSystemStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -246,7 +246,7 @@ impl WalletManagerSystem { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync() -> ::windows::core::Result> { Self::IWalletManagerSystemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs index 1509802d7e..3089b4fac1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs @@ -454,14 +454,14 @@ impl WalletBarcode { pub fn Symbology(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Symbology)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -470,7 +470,7 @@ impl WalletBarcode { pub fn GetImageAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetImageAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -479,7 +479,7 @@ impl WalletBarcode { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWalletBarcodeFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWalletBarcode)(::windows::core::Interface::as_raw(this), symbology, value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -491,7 +491,7 @@ impl WalletBarcode { E0: ::std::convert::Into<::windows::core::Error>, { Self::IWalletBarcodeFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCustomWalletBarcode)(::windows::core::Interface::as_raw(this), streamtobarcodeimage.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -661,7 +661,7 @@ impl WalletItem { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -675,14 +675,14 @@ impl WalletItem { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsAcknowledged(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAcknowledged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -693,7 +693,7 @@ impl WalletItem { pub fn IssuerDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IssuerDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -709,7 +709,7 @@ impl WalletItem { pub fn LastUpdated(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastUpdated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -726,14 +726,14 @@ impl WalletItem { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Barcode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Barcode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -749,7 +749,7 @@ impl WalletItem { pub fn ExpirationDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -768,7 +768,7 @@ impl WalletItem { pub fn Logo159x159(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Logo159x159)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -787,7 +787,7 @@ impl WalletItem { pub fn Logo336x336(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Logo336x336)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -806,7 +806,7 @@ impl WalletItem { pub fn Logo99x99(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Logo99x99)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -823,7 +823,7 @@ impl WalletItem { pub fn DisplayMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -837,7 +837,7 @@ impl WalletItem { pub fn IsDisplayMessageLaunchable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisplayMessageLaunchable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -848,7 +848,7 @@ impl WalletItem { pub fn LogoText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogoText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -864,7 +864,7 @@ impl WalletItem { pub fn HeaderColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -879,7 +879,7 @@ impl WalletItem { pub fn BodyColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BodyColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -894,7 +894,7 @@ impl WalletItem { pub fn HeaderFontColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderFontColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -909,7 +909,7 @@ impl WalletItem { pub fn BodyFontColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BodyFontColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -924,7 +924,7 @@ impl WalletItem { pub fn HeaderBackgroundImage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderBackgroundImage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -943,7 +943,7 @@ impl WalletItem { pub fn BodyBackgroundImage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BodyBackgroundImage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -962,7 +962,7 @@ impl WalletItem { pub fn LogoImage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogoImage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -981,7 +981,7 @@ impl WalletItem { pub fn PromotionalImage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PromotionalImage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1000,7 +1000,7 @@ impl WalletItem { pub fn RelevantDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelevantDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1017,7 +1017,7 @@ impl WalletItem { pub fn RelevantDateDisplayMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelevantDateDisplayMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1033,7 +1033,7 @@ impl WalletItem { pub fn TransactionHistory(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransactionHistory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1042,14 +1042,14 @@ impl WalletItem { pub fn RelevantLocations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelevantLocations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsMoreTransactionHistoryLaunchable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMoreTransactionHistoryLaunchable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1062,7 +1062,7 @@ impl WalletItem { pub fn DisplayProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1071,7 +1071,7 @@ impl WalletItem { pub fn Verbs(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verbs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1080,7 +1080,7 @@ impl WalletItem { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWalletItemFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWalletItem)(::windows::core::Interface::as_raw(this), kind, displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1159,7 +1159,7 @@ impl WalletItemCustomProperty { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1173,7 +1173,7 @@ impl WalletItemCustomProperty { pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1187,7 +1187,7 @@ impl WalletItemCustomProperty { pub fn AutoDetectLinks(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoDetectLinks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1198,7 +1198,7 @@ impl WalletItemCustomProperty { pub fn DetailViewPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetailViewPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1209,7 +1209,7 @@ impl WalletItemCustomProperty { pub fn SummaryViewPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SummaryViewPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1223,7 +1223,7 @@ impl WalletItemCustomProperty { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWalletItemCustomPropertyFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWalletItemCustomProperty)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1347,7 +1347,7 @@ impl WalletItemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), item.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1356,7 +1356,7 @@ impl WalletItemStore { pub fn ClearAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1368,7 +1368,7 @@ impl WalletItemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWalletItemAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1377,7 +1377,7 @@ impl WalletItemStore { pub fn GetItemsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1386,7 +1386,7 @@ impl WalletItemStore { pub fn GetItemsWithKindAsync(&self, kind: WalletItemKind) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsWithKindAsync)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1399,7 +1399,7 @@ impl WalletItemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportItemAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1411,7 +1411,7 @@ impl WalletItemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1420,7 +1420,7 @@ impl WalletItemStore { pub fn ShowAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1432,7 +1432,7 @@ impl WalletItemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowItemAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1444,7 +1444,7 @@ impl WalletItemStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateAsync)(::windows::core::Interface::as_raw(this), item.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1518,7 +1518,7 @@ impl WalletManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync() -> ::windows::core::Result> { Self::IWalletManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1547,7 +1547,7 @@ impl WalletRelevantLocation { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1560,7 +1560,7 @@ impl WalletRelevantLocation { pub fn DisplayMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1683,7 +1683,7 @@ impl WalletTransaction { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1697,7 +1697,7 @@ impl WalletTransaction { pub fn DisplayAmount(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayAmount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1711,7 +1711,7 @@ impl WalletTransaction { pub fn IgnoreTimeOfDay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnoreTimeOfDay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1722,7 +1722,7 @@ impl WalletTransaction { pub fn DisplayLocation(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1738,7 +1738,7 @@ impl WalletTransaction { pub fn TransactionDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransactionDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1755,7 +1755,7 @@ impl WalletTransaction { pub fn IsLaunchable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLaunchable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1833,7 +1833,7 @@ impl WalletVerb { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1849,7 +1849,7 @@ impl WalletVerb { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWalletVerbFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWalletVerb)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index b09b1a289e..2fc0b21c20 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -122,14 +122,14 @@ impl AppDisplayInfo { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -138,7 +138,7 @@ impl AppDisplayInfo { pub fn GetLogo(&self, size: super::Foundation::Size) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLogo)(::windows::core::Interface::as_raw(this), size, result__.as_mut_ptr()).from_abi::(result__) } } @@ -247,55 +247,55 @@ impl AppInfo { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppUserModelId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppUserModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExecutionContext(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecutionContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportedFileExtensions(&self) -> ::windows::core::Result<::windows::core::Array<::windows::core::HSTRING>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedFileExtensions)(::windows::core::Interface::as_raw(this), ::windows::core::Array::<::windows::core::HSTRING>::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn Current() -> ::windows::core::Result { Self::IAppInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -304,7 +304,7 @@ impl AppInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFromAppUserModelId)(::windows::core::Interface::as_raw(this), appusermodelid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -316,7 +316,7 @@ impl AppInfo { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFromAppUserModelIdForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), appusermodelid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -397,63 +397,63 @@ impl AppInstallerInfo { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OnLaunch(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OnLaunch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HoursBetweenUpdateChecks(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoursBetweenUpdateChecks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShowPrompt(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowPrompt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UpdateBlocksActivation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateBlocksActivation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AutomaticBackgroundTask(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomaticBackgroundTask)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ForceUpdateFromAnyVersion(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceUpdateFromAnyVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAutoRepairEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAutoRepairEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Version(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -462,7 +462,7 @@ impl AppInstallerInfo { pub fn LastChecked(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChecked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -471,7 +471,7 @@ impl AppInstallerInfo { pub fn PausedUntil(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PausedUntil)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -480,7 +480,7 @@ impl AppInstallerInfo { pub fn UpdateUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -489,7 +489,7 @@ impl AppInstallerInfo { pub fn RepairUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RepairUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -498,7 +498,7 @@ impl AppInstallerInfo { pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DependencyPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -507,14 +507,14 @@ impl AppInstallerInfo { pub fn OptionalPackageUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionalPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PolicySource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PolicySource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -622,14 +622,14 @@ impl AppInstance { pub fn Key(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Key)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsCurrentInstance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCurrentInstance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -639,7 +639,7 @@ impl AppInstance { } pub fn RecommendedInstance() -> ::windows::core::Result { Self::IAppInstanceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecommendedInstance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -647,7 +647,7 @@ impl AppInstance { #[cfg(feature = "ApplicationModel_Activation")] pub fn GetActivatedEventArgs() -> ::windows::core::Result { Self::IAppInstanceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetActivatedEventArgs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -656,7 +656,7 @@ impl AppInstance { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppInstanceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindOrRegisterInstanceForKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -667,7 +667,7 @@ impl AppInstance { #[cfg(feature = "Foundation_Collections")] pub fn GetInstances() -> ::windows::core::Result> { Self::IAppInstanceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInstances)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -759,13 +759,13 @@ pub struct DesignMode; impl DesignMode { pub fn DesignModeEnabled() -> ::windows::core::Result { Self::IDesignModeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesignModeEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DesignMode2Enabled() -> ::windows::core::Result { Self::IDesignModeStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesignMode2Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -792,7 +792,7 @@ impl EnteredBackgroundEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -921,14 +921,14 @@ impl FullTrustProcessLaunchResult { pub fn LaunchResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1002,7 +1002,7 @@ impl FullTrustProcessLauncher { #[cfg(feature = "Foundation")] pub fn LaunchFullTrustProcessForCurrentAppAsync() -> ::windows::core::Result { Self::IFullTrustProcessLauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFullTrustProcessForCurrentAppAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1013,7 +1013,7 @@ impl FullTrustProcessLauncher { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFullTrustProcessLauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFullTrustProcessForCurrentAppWithParametersAsync)(::windows::core::Interface::as_raw(this), parametergroupid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1024,7 +1024,7 @@ impl FullTrustProcessLauncher { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFullTrustProcessLauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFullTrustProcessForAppAsync)(::windows::core::Interface::as_raw(this), fulltrustpackagerelativeappid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1036,7 +1036,7 @@ impl FullTrustProcessLauncher { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFullTrustProcessLauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFullTrustProcessForAppWithParametersAsync)(::windows::core::Interface::as_raw(this), fulltrustpackagerelativeappid.into().abi(), parametergroupid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1047,7 +1047,7 @@ impl FullTrustProcessLauncher { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFullTrustProcessLauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFullTrustProcessForCurrentAppWithArgumentsAsync)(::windows::core::Interface::as_raw(this), commandline.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1059,7 +1059,7 @@ impl FullTrustProcessLauncher { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFullTrustProcessLauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFullTrustProcessForAppWithArgumentsAsync)(::windows::core::Interface::as_raw(this), fulltrustpackagerelativeappid.into().abi(), commandline.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1315,7 +1315,7 @@ impl IEnteredBackgroundEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1457,7 +1457,7 @@ impl ILeavingBackgroundEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2309,7 +2309,7 @@ impl ISuspendingEventArgs { pub fn SuspendingOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuspendingOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2384,7 +2384,7 @@ impl ISuspendingOperation { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2393,7 +2393,7 @@ impl ISuspendingOperation { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2474,7 +2474,7 @@ impl LeavingBackgroundEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2567,14 +2567,14 @@ impl LimitedAccessFeatureRequestResult { pub fn FeatureId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FeatureId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2583,7 +2583,7 @@ impl LimitedAccessFeatureRequestResult { pub fn EstimatedRemovalDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EstimatedRemovalDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2696,7 +2696,7 @@ impl LimitedAccessFeatures { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILimitedAccessFeaturesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUnlockFeature)(::windows::core::Interface::as_raw(this), featureid.into().abi(), token.into().abi(), attestation.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2716,7 +2716,7 @@ impl Package { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2725,14 +2725,14 @@ impl Package { pub fn InstalledLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstalledLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsFramework(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFramework)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2741,28 +2741,28 @@ impl Package { pub fn Dependencies(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dependencies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PublisherDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublisherDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2771,35 +2771,35 @@ impl Package { pub fn Logo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsResourcePackage(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsResourcePackage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBundle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBundle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDevelopmentMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDevelopmentMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2808,7 +2808,7 @@ impl Package { pub fn InstalledDate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstalledDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2817,21 +2817,21 @@ impl Package { pub fn GetAppListEntriesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppListEntriesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn SignatureKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignatureKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOptional(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOptional)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2840,7 +2840,7 @@ impl Package { pub fn VerifyContentIntegrityAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerifyContentIntegrityAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2849,7 +2849,7 @@ impl Package { pub fn GetContentGroupsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContentGroupsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2861,7 +2861,7 @@ impl Package { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContentGroupAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2874,7 +2874,7 @@ impl Package { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StageContentGroupsAsync)(::windows::core::Interface::as_raw(this), names.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2887,7 +2887,7 @@ impl Package { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StageContentGroupsWithPriorityAsync)(::windows::core::Interface::as_raw(this), names.try_into().map_err(|e| e.into())?.abi(), movetoheadofqueue, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2896,14 +2896,14 @@ impl Package { pub fn SetInUseAsync(&self, inuse: bool) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetInUseAsync)(::windows::core::Interface::as_raw(this), inuse, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetAppInstallerInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppInstallerInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2912,7 +2912,7 @@ impl Package { pub fn CheckUpdateAvailabilityAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckUpdateAvailabilityAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2921,7 +2921,7 @@ impl Package { pub fn MutableLocation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MutableLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2930,7 +2930,7 @@ impl Package { pub fn EffectiveLocation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectiveLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2939,7 +2939,7 @@ impl Package { pub fn EffectiveExternalLocation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectiveExternalLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2948,7 +2948,7 @@ impl Package { pub fn MachineExternalLocation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MachineExternalLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2957,49 +2957,49 @@ impl Package { pub fn UserExternalLocation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserExternalLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InstalledPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstalledPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MutablePath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MutablePath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EffectivePath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectivePath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EffectiveExternalPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectiveExternalPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MachineExternalPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MachineExternalPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UserExternalPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserExternalPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3008,7 +3008,7 @@ impl Package { pub fn GetLogoAsRandomAccessStreamReference(&self, size: super::Foundation::Size) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLogoAsRandomAccessStreamReference)(::windows::core::Interface::as_raw(this), size, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3017,20 +3017,20 @@ impl Package { pub fn GetAppListEntries(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppListEntries)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsStub(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStub)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Current() -> ::windows::core::Result { Self::IPackageStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3039,14 +3039,14 @@ impl Package { pub fn InstallDate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetThumbnailToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3139,7 +3139,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageStaging)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3157,7 +3157,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageInstalling)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3175,7 +3175,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageUpdating)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3193,7 +3193,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageUninstalling)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3211,7 +3211,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3229,7 +3229,7 @@ impl PackageCatalog { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageContentGroupStaging)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3247,7 +3247,7 @@ impl PackageCatalog { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddOptionalPackageAsync)(::windows::core::Interface::as_raw(this), optionalpackagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3260,7 +3260,7 @@ impl PackageCatalog { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveOptionalPackagesAsync)(::windows::core::Interface::as_raw(this), optionalpackagefamilynames.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3273,7 +3273,7 @@ impl PackageCatalog { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddResourcePackageAsync)(::windows::core::Interface::as_raw(this), resourcepackagefamilyname.into().abi(), resourceid.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3286,19 +3286,19 @@ impl PackageCatalog { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveResourcePackagesAsync)(::windows::core::Interface::as_raw(this), resourcepackages.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OpenForCurrentPackage() -> ::windows::core::Result { Self::IPackageCatalogStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenForCurrentPackage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn OpenForCurrentUser() -> ::windows::core::Result { Self::IPackageCatalogStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenForCurrentUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3375,14 +3375,14 @@ impl PackageCatalogAddOptionalPackageResult { pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3454,21 +3454,21 @@ impl PackageCatalogAddResourcePackageResult { pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsComplete(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComplete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3544,14 +3544,14 @@ impl PackageCatalogRemoveOptionalPackagesResult { pub fn PackagesRemoved(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackagesRemoved)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3625,14 +3625,14 @@ impl PackageCatalogRemoveResourcePackagesResult { pub fn PackagesRemoved(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackagesRemoved)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3706,34 +3706,34 @@ impl PackageContentGroup { pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRequired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequiredGroupName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPackageContentGroupStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequiredGroupName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3812,49 +3812,49 @@ impl PackageContentGroupStagingEventArgs { pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsComplete(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComplete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn ContentGroupName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentGroupName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsContentGroupRequired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsContentGroupRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3964,14 +3964,14 @@ impl PackageId { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Version(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3980,56 +3980,56 @@ impl PackageId { pub fn Architecture(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Architecture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResourceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Publisher(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Publisher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PublisherId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublisherId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FullName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FullName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProductId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Author(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Author)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4140,35 +4140,35 @@ impl PackageInstallingEventArgs { pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsComplete(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComplete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4279,35 +4279,35 @@ impl PackageStagingEventArgs { pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsComplete(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComplete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4381,91 +4381,91 @@ impl PackageStatus { pub fn VerifyIsOK(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerifyIsOK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NotAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PackageOffline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageOffline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DataOffline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataOffline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Disabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Disabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NeedsRemediation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeedsRemediation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LicenseIssue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseIssue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Modified(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Modified)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Tampered(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tampered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DependencyIssue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DependencyIssue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Servicing(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Servicing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeploymentInProgress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeploymentInProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPartiallyStaged(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPartiallyStaged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4539,7 +4539,7 @@ impl PackageStatusChangedEventArgs { pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4613,35 +4613,35 @@ impl PackageUninstallingEventArgs { pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsComplete(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComplete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4752,14 +4752,14 @@ impl PackageUpdateAvailabilityResult { pub fn Availability(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Availability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4833,42 +4833,42 @@ impl PackageUpdatingEventArgs { pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn SourcePackage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourcePackage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TargetPackage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetPackage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsComplete(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComplete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4984,7 +4984,7 @@ impl StartupTask { pub fn RequestEnableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestEnableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4995,14 +4995,14 @@ impl StartupTask { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5010,7 +5010,7 @@ impl StartupTask { #[cfg(feature = "Foundation_Collections")] pub fn GetForCurrentPackageAsync() -> ::windows::core::Result>> { Self::IStartupTaskStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentPackageAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5021,7 +5021,7 @@ impl StartupTask { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStartupTaskStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsync)(::windows::core::Interface::as_raw(this), taskid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5227,7 +5227,7 @@ impl SuspendingEventArgs { pub fn SuspendingOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuspendingOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5320,7 +5320,7 @@ impl SuspendingOperation { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5329,7 +5329,7 @@ impl SuspendingOperation { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Data/Html/mod.rs b/crates/libs/windows/src/Windows/Data/Html/mod.rs index a897444f2f..0b2bb03dfe 100644 --- a/crates/libs/windows/src/Windows/Data/Html/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Html/mod.rs @@ -6,7 +6,7 @@ impl HtmlUtilities { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHtmlUtilities(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertToText)(::windows::core::Interface::as_raw(this), html.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index ed79a3bcc9..42013b7091 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -100,49 +100,49 @@ impl IJsonValue { pub fn ValueType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Stringify(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stringify)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBoolean(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetArray(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetObject(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetObject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -262,42 +262,42 @@ impl JsonArray { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetObjectAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetObjectAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetArrayAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetArrayAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetStringAt(&self, index: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStringAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetNumberAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumberAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBooleanAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -306,7 +306,7 @@ impl JsonArray { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJsonArrayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -315,56 +315,56 @@ impl JsonArray { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJsonArrayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), result as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ValueType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Stringify(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stringify)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetNumber(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBoolean(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetArray(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetObject(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetObject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -373,7 +373,7 @@ impl JsonArray { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -382,7 +382,7 @@ impl JsonArray { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -391,7 +391,7 @@ impl JsonArray { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -400,7 +400,7 @@ impl JsonArray { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -413,7 +413,7 @@ impl JsonArray { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -470,7 +470,7 @@ impl JsonArray { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -654,7 +654,7 @@ pub struct JsonError; impl JsonError { pub fn GetJsonStatus(hresult: i32) -> ::windows::core::Result { Self::IJsonErrorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetJsonStatus)(::windows::core::Interface::as_raw(this), hresult, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -720,7 +720,7 @@ impl JsonObject { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -730,7 +730,7 @@ impl JsonObject { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedValue)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -749,7 +749,7 @@ impl JsonObject { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedObject)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -759,7 +759,7 @@ impl JsonObject { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedArray)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -769,7 +769,7 @@ impl JsonObject { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedString)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -779,7 +779,7 @@ impl JsonObject { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedNumber)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -789,7 +789,7 @@ impl JsonObject { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedBoolean)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -798,7 +798,7 @@ impl JsonObject { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJsonObjectStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -807,7 +807,7 @@ impl JsonObject { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJsonObjectStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), result as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -818,7 +818,7 @@ impl JsonObject { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedValueOrDefault)(::windows::core::Interface::as_raw(this), name.into().abi(), defaultvalue.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -829,7 +829,7 @@ impl JsonObject { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedObjectOrDefault)(::windows::core::Interface::as_raw(this), name.into().abi(), defaultvalue.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -840,7 +840,7 @@ impl JsonObject { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedStringOrDefault)(::windows::core::Interface::as_raw(this), name.into().abi(), defaultvalue.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -851,7 +851,7 @@ impl JsonObject { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedArrayOrDefault)(::windows::core::Interface::as_raw(this), name.into().abi(), defaultvalue.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -861,7 +861,7 @@ impl JsonObject { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedNumberOrDefault)(::windows::core::Interface::as_raw(this), name.into().abi(), defaultvalue, result__.as_mut_ptr()).from_abi::(result__) } } @@ -871,56 +871,56 @@ impl JsonObject { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedBooleanOrDefault)(::windows::core::Interface::as_raw(this), name.into().abi(), defaultvalue, result__.as_mut_ptr()).from_abi::(result__) } } pub fn ValueType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Stringify(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stringify)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetNumber(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBoolean(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetArray(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetObject(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetObject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -932,7 +932,7 @@ impl JsonObject { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -941,7 +941,7 @@ impl JsonObject { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -953,7 +953,7 @@ impl JsonObject { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -962,7 +962,7 @@ impl JsonObject { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -976,7 +976,7 @@ impl JsonObject { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1000,7 +1000,7 @@ impl JsonObject { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1180,49 +1180,49 @@ impl JsonValue { pub fn ValueType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Stringify(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stringify)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBoolean(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetArray(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetObject(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetObject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1231,7 +1231,7 @@ impl JsonValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1240,19 +1240,19 @@ impl JsonValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), result as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateBooleanValue(input: bool) -> ::windows::core::Result { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBooleanValue)(::windows::core::Interface::as_raw(this), input, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateNumberValue(input: f64) -> ::windows::core::Result { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNumberValue)(::windows::core::Interface::as_raw(this), input, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1261,13 +1261,13 @@ impl JsonValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStringValue)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateNullValue() -> ::windows::core::Result { Self::IJsonValueStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNullValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1276,7 +1276,7 @@ impl JsonValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs index 9e1f99972c..81970c1a20 100644 --- a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs @@ -148,21 +148,21 @@ impl PdfDocument { pub fn GetPage(&self, pageindex: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPage)(::windows::core::Interface::as_raw(this), pageindex, result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPasswordProtected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPasswordProtected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -174,7 +174,7 @@ impl PdfDocument { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPdfDocumentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromFileAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -187,7 +187,7 @@ impl PdfDocument { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPdfDocumentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromFileWithPasswordAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), password.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -199,7 +199,7 @@ impl PdfDocument { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPdfDocumentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromStreamAsync)(::windows::core::Interface::as_raw(this), inputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -212,7 +212,7 @@ impl PdfDocument { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPdfDocumentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromStreamWithPasswordAsync)(::windows::core::Interface::as_raw(this), inputstream.try_into().map_err(|e| e.into())?.abi(), password.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -303,7 +303,7 @@ impl PdfPage { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderToStreamAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -317,7 +317,7 @@ impl PdfPage { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderWithOptionsToStreamAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -326,14 +326,14 @@ impl PdfPage { pub fn PreparePageAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreparePageAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Index(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Index)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -342,28 +342,28 @@ impl PdfPage { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Dimensions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dimensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Rotation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rotation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreferredZoom(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredZoom)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -461,7 +461,7 @@ impl PdfPageDimensions { pub fn MediaBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -470,7 +470,7 @@ impl PdfPageDimensions { pub fn CropBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CropBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -479,7 +479,7 @@ impl PdfPageDimensions { pub fn BleedBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BleedBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -488,7 +488,7 @@ impl PdfPageDimensions { pub fn TrimBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -497,7 +497,7 @@ impl PdfPageDimensions { pub fn ArtBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ArtBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -580,7 +580,7 @@ impl PdfPageRenderOptions { pub fn SourceRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -593,7 +593,7 @@ impl PdfPageRenderOptions { pub fn DestinationWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DestinationWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -604,7 +604,7 @@ impl PdfPageRenderOptions { pub fn DestinationHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DestinationHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -617,7 +617,7 @@ impl PdfPageRenderOptions { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -630,7 +630,7 @@ impl PdfPageRenderOptions { pub fn IsIgnoringHighContrast(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIgnoringHighContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -641,7 +641,7 @@ impl PdfPageRenderOptions { pub fn BitmapEncoderId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapEncoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } diff --git a/crates/libs/windows/src/Windows/Data/Text/mod.rs b/crates/libs/windows/src/Windows/Data/Text/mod.rs index 79e701c8c6..2cc9b9175c 100644 --- a/crates/libs/windows/src/Windows/Data/Text/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Text/mod.rs @@ -42,21 +42,21 @@ impl AlternateWordForm { pub fn SourceTextSegment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceTextSegment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AlternateText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NormalizationFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalizationFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -469,14 +469,14 @@ impl SelectableWordSegment { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SourceTextSegment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceTextSegment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -656,7 +656,7 @@ impl SelectableWordsSegmenter { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -666,7 +666,7 @@ impl SelectableWordsSegmenter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTokenAt)(::windows::core::Interface::as_raw(this), text.into().abi(), startindex, result__.as_mut_ptr()).from_abi::(result__) } } @@ -678,7 +678,7 @@ impl SelectableWordsSegmenter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTokens)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -697,7 +697,7 @@ impl SelectableWordsSegmenter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISelectableWordsSegmenterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithLanguage)(::windows::core::Interface::as_raw(this), language.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -781,7 +781,7 @@ impl SemanticTextQuery { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Find)(::windows::core::Interface::as_raw(this), content.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -794,7 +794,7 @@ impl SemanticTextQuery { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindInProperty)(::windows::core::Interface::as_raw(this), propertycontent.into().abi(), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -803,7 +803,7 @@ impl SemanticTextQuery { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISemanticTextQueryFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), aqsfilter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -813,7 +813,7 @@ impl SemanticTextQuery { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISemanticTextQueryFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithLanguage)(::windows::core::Interface::as_raw(this), aqsfilter.into().abi(), filterlanguage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -892,14 +892,14 @@ impl TextConversionGenerator { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LanguageAvailableButNotInstalled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LanguageAvailableButNotInstalled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -911,7 +911,7 @@ impl TextConversionGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCandidatesAsync)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -923,7 +923,7 @@ impl TextConversionGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCandidatesWithMaxCountAsync)(::windows::core::Interface::as_raw(this), input.into().abi(), maxcandidates, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -932,7 +932,7 @@ impl TextConversionGenerator { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITextConversionGeneratorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), languagetag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1011,14 +1011,14 @@ impl TextPhoneme { pub fn DisplayText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ReadingText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1092,14 +1092,14 @@ impl TextPredictionGenerator { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LanguageAvailableButNotInstalled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LanguageAvailableButNotInstalled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1111,7 +1111,7 @@ impl TextPredictionGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCandidatesAsync)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1123,7 +1123,7 @@ impl TextPredictionGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCandidatesWithMaxCountAsync)(::windows::core::Interface::as_raw(this), input.into().abi(), maxcandidates, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1137,7 +1137,7 @@ impl TextPredictionGenerator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCandidatesWithParametersAsync)(::windows::core::Interface::as_raw(this), input.into().abi(), maxcandidates, predictionoptions, previousstrings.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1150,7 +1150,7 @@ impl TextPredictionGenerator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNextWordCandidatesAsync)(::windows::core::Interface::as_raw(this), maxcandidates, previousstrings.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1159,7 +1159,7 @@ impl TextPredictionGenerator { pub fn InputScope(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputScope)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1174,7 +1174,7 @@ impl TextPredictionGenerator { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITextPredictionGeneratorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), languagetag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1316,14 +1316,14 @@ impl TextReverseConversionGenerator { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LanguageAvailableButNotInstalled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LanguageAvailableButNotInstalled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1335,7 +1335,7 @@ impl TextReverseConversionGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertBackAsync)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1347,7 +1347,7 @@ impl TextReverseConversionGenerator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPhonemesAsync)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1356,7 +1356,7 @@ impl TextReverseConversionGenerator { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITextReverseConversionGeneratorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), languagetag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1471,7 +1471,7 @@ pub struct UnicodeCharacters; impl UnicodeCharacters { pub fn GetCodepointFromSurrogatePair(highsurrogate: u32, lowsurrogate: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCodepointFromSurrogatePair)(::windows::core::Interface::as_raw(this), highsurrogate, lowsurrogate, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1480,91 +1480,91 @@ impl UnicodeCharacters { } pub fn IsHighSurrogate(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHighSurrogate)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsLowSurrogate(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLowSurrogate)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupplementary(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupplementary)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsNoncharacter(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNoncharacter)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsWhitespace(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWhitespace)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsAlphabetic(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAlphabetic)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsCased(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCased)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsUppercase(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUppercase)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsLowercase(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLowercase)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsIdStart(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIdStart)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsIdContinue(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIdContinue)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsGraphemeBase(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGraphemeBase)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsGraphemeExtend(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGraphemeExtend)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetNumericType(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumericType)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetGeneralCategory(codepoint: u32) -> ::windows::core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGeneralCategory)(::windows::core::Interface::as_raw(this), codepoint, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1682,14 +1682,14 @@ impl WordSegment { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SourceTextSegment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceTextSegment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1698,7 +1698,7 @@ impl WordSegment { pub fn AlternateForms(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateForms)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1878,7 +1878,7 @@ impl WordsSegmenter { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1888,7 +1888,7 @@ impl WordsSegmenter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTokenAt)(::windows::core::Interface::as_raw(this), text.into().abi(), startindex, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1900,7 +1900,7 @@ impl WordsSegmenter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTokens)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1919,7 +1919,7 @@ impl WordsSegmenter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWordsSegmenterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithLanguage)(::windows::core::Interface::as_raw(this), language.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } 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 58e8889e87..cb3d45ca75 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs @@ -5,28 +5,28 @@ impl DtdEntity { pub fn PublicId(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn SystemId(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn NotationName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotationName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -40,77 +40,77 @@ impl DtdEntity { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -123,7 +123,7 @@ impl DtdEntity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -136,7 +136,7 @@ impl DtdEntity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -147,7 +147,7 @@ impl DtdEntity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -158,35 +158,35 @@ impl DtdEntity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -207,7 +207,7 @@ impl DtdEntity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -217,7 +217,7 @@ impl DtdEntity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -228,7 +228,7 @@ impl DtdEntity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -239,21 +239,21 @@ impl DtdEntity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -391,21 +391,21 @@ impl DtdNotation { pub fn PublicId(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn SystemId(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -419,77 +419,77 @@ impl DtdNotation { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -502,7 +502,7 @@ impl DtdNotation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -515,7 +515,7 @@ impl DtdNotation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -526,7 +526,7 @@ impl DtdNotation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -537,35 +537,35 @@ impl DtdNotation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -586,7 +586,7 @@ impl DtdNotation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -596,7 +596,7 @@ impl DtdNotation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -607,7 +607,7 @@ impl DtdNotation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -618,21 +618,21 @@ impl DtdNotation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -827,7 +827,7 @@ impl IXmlCharacterData { pub fn Data(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -841,14 +841,14 @@ impl IXmlCharacterData { pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubstringData)(::windows::core::Interface::as_raw(this), offset, count, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -880,7 +880,7 @@ impl IXmlCharacterData { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -894,77 +894,77 @@ impl IXmlCharacterData { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -977,7 +977,7 @@ impl IXmlCharacterData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -990,7 +990,7 @@ impl IXmlCharacterData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1001,7 +1001,7 @@ impl IXmlCharacterData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1012,35 +1012,35 @@ impl IXmlCharacterData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1061,7 +1061,7 @@ impl IXmlCharacterData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1071,7 +1071,7 @@ impl IXmlCharacterData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1082,7 +1082,7 @@ impl IXmlCharacterData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1093,21 +1093,21 @@ impl IXmlCharacterData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1479,7 +1479,7 @@ impl IXmlNode { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1493,77 +1493,77 @@ impl IXmlNode { pub fn NodeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1576,7 +1576,7 @@ impl IXmlNode { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1589,7 +1589,7 @@ impl IXmlNode { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1600,7 +1600,7 @@ impl IXmlNode { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1611,35 +1611,35 @@ impl IXmlNode { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1660,7 +1660,7 @@ impl IXmlNode { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1670,7 +1670,7 @@ impl IXmlNode { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1681,7 +1681,7 @@ impl IXmlNode { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1692,21 +1692,21 @@ impl IXmlNode { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1865,7 +1865,7 @@ impl IXmlNodeSelector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1875,7 +1875,7 @@ impl IXmlNodeSelector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1886,7 +1886,7 @@ impl IXmlNodeSelector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1897,7 +1897,7 @@ impl IXmlNodeSelector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1975,14 +1975,14 @@ impl IXmlNodeSerializer { pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2081,14 +2081,14 @@ impl IXmlText { pub fn SplitText(&self, offset: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplitText)(::windows::core::Interface::as_raw(this), offset, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Data(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2102,14 +2102,14 @@ impl IXmlText { pub fn Length(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubstringData)(::windows::core::Interface::as_raw(this), offset, count, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2141,7 +2141,7 @@ impl IXmlText { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2155,77 +2155,77 @@ impl IXmlText { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2238,7 +2238,7 @@ impl IXmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2251,7 +2251,7 @@ impl IXmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2262,7 +2262,7 @@ impl IXmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2273,35 +2273,35 @@ impl IXmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2322,7 +2322,7 @@ impl IXmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2332,7 +2332,7 @@ impl IXmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2343,7 +2343,7 @@ impl IXmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2354,21 +2354,21 @@ impl IXmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2571,21 +2571,21 @@ impl XmlAttribute { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Specified(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Specified)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2599,7 +2599,7 @@ impl XmlAttribute { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2613,77 +2613,77 @@ impl XmlAttribute { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2696,7 +2696,7 @@ impl XmlAttribute { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2709,7 +2709,7 @@ impl XmlAttribute { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2720,7 +2720,7 @@ impl XmlAttribute { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2731,35 +2731,35 @@ impl XmlAttribute { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2780,7 +2780,7 @@ impl XmlAttribute { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2790,7 +2790,7 @@ impl XmlAttribute { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2801,7 +2801,7 @@ impl XmlAttribute { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2812,21 +2812,21 @@ impl XmlAttribute { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2964,7 +2964,7 @@ impl XmlCDataSection { pub fn Data(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2978,14 +2978,14 @@ impl XmlCDataSection { pub fn Length(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubstringData)(::windows::core::Interface::as_raw(this), offset, count, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3017,7 +3017,7 @@ impl XmlCDataSection { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3031,77 +3031,77 @@ impl XmlCDataSection { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3114,7 +3114,7 @@ impl XmlCDataSection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3127,7 +3127,7 @@ impl XmlCDataSection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3138,7 +3138,7 @@ impl XmlCDataSection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3149,35 +3149,35 @@ impl XmlCDataSection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3198,7 +3198,7 @@ impl XmlCDataSection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3208,7 +3208,7 @@ impl XmlCDataSection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3219,7 +3219,7 @@ impl XmlCDataSection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3230,21 +3230,21 @@ impl XmlCDataSection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3258,7 +3258,7 @@ impl XmlCDataSection { pub fn SplitText(&self, offset: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplitText)(::windows::core::Interface::as_raw(this), offset, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3427,7 +3427,7 @@ impl XmlComment { pub fn Data(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3441,14 +3441,14 @@ impl XmlComment { pub fn Length(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubstringData)(::windows::core::Interface::as_raw(this), offset, count, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3480,7 +3480,7 @@ impl XmlComment { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3494,77 +3494,77 @@ impl XmlComment { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3577,7 +3577,7 @@ impl XmlComment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3590,7 +3590,7 @@ impl XmlComment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3601,7 +3601,7 @@ impl XmlComment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3612,35 +3612,35 @@ impl XmlComment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3661,7 +3661,7 @@ impl XmlComment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3671,7 +3671,7 @@ impl XmlComment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3682,7 +3682,7 @@ impl XmlComment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3693,21 +3693,21 @@ impl XmlComment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3871,21 +3871,21 @@ impl XmlDocument { pub fn Doctype(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Doctype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Implementation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Implementation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentElement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentElement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3895,14 +3895,14 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateElement)(::windows::core::Interface::as_raw(this), tagname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateDocumentFragment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDocumentFragment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3912,7 +3912,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTextNode)(::windows::core::Interface::as_raw(this), data.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3922,7 +3922,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateComment)(::windows::core::Interface::as_raw(this), data.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3933,7 +3933,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateProcessingInstruction)(::windows::core::Interface::as_raw(this), target.into().abi(), data.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3943,7 +3943,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAttribute)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3953,7 +3953,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEntityReference)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3963,7 +3963,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetElementsByTagName)(::windows::core::Interface::as_raw(this), tagname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3973,14 +3973,14 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCDataSection)(::windows::core::Interface::as_raw(this), data.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentUri(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3991,7 +3991,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAttributeNS)(::windows::core::Interface::as_raw(this), namespaceuri.into().abi(), qualifiedname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4002,7 +4002,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateElementNS)(::windows::core::Interface::as_raw(this), namespaceuri.into().abi(), qualifiedname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4012,7 +4012,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetElementById)(::windows::core::Interface::as_raw(this), elementid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4023,7 +4023,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportNode)(::windows::core::Interface::as_raw(this), node.try_into().map_err(|e| e.into())?.abi(), deep, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4051,7 +4051,7 @@ impl XmlDocument { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveToFileAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4083,7 +4083,7 @@ impl XmlDocument { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IXmlDocumentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromUriAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4095,7 +4095,7 @@ impl XmlDocument { P1: ::std::convert::Into<::windows::core::InParam<'a, XmlLoadSettings>>, { Self::IXmlDocumentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromUriWithSettingsAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), loadsettings.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4107,7 +4107,7 @@ impl XmlDocument { E0: ::std::convert::Into<::windows::core::Error>, { Self::IXmlDocumentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromFileAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4120,14 +4120,14 @@ impl XmlDocument { P1: ::std::convert::Into<::windows::core::InParam<'a, XmlLoadSettings>>, { Self::IXmlDocumentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFromFileWithSettingsAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), loadsettings.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4141,77 +4141,77 @@ impl XmlDocument { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4224,7 +4224,7 @@ impl XmlDocument { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4237,7 +4237,7 @@ impl XmlDocument { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4248,7 +4248,7 @@ impl XmlDocument { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4259,35 +4259,35 @@ impl XmlDocument { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4308,7 +4308,7 @@ impl XmlDocument { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4318,7 +4318,7 @@ impl XmlDocument { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4329,7 +4329,7 @@ impl XmlDocument { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4340,21 +4340,21 @@ impl XmlDocument { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4497,7 +4497,7 @@ impl XmlDocumentFragment { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4511,77 +4511,77 @@ impl XmlDocumentFragment { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4594,7 +4594,7 @@ impl XmlDocumentFragment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4607,7 +4607,7 @@ impl XmlDocumentFragment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4618,7 +4618,7 @@ impl XmlDocumentFragment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4629,35 +4629,35 @@ impl XmlDocumentFragment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4678,7 +4678,7 @@ impl XmlDocumentFragment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4688,7 +4688,7 @@ impl XmlDocumentFragment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4699,7 +4699,7 @@ impl XmlDocumentFragment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4710,21 +4710,21 @@ impl XmlDocumentFragment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4862,28 +4862,28 @@ impl XmlDocumentType { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Entities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Entities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Notations(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Notations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4897,77 +4897,77 @@ impl XmlDocumentType { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4980,7 +4980,7 @@ impl XmlDocumentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4993,7 +4993,7 @@ impl XmlDocumentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5004,7 +5004,7 @@ impl XmlDocumentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5015,35 +5015,35 @@ impl XmlDocumentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5064,7 +5064,7 @@ impl XmlDocumentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5074,7 +5074,7 @@ impl XmlDocumentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5085,7 +5085,7 @@ impl XmlDocumentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5096,21 +5096,21 @@ impl XmlDocumentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5252,7 +5252,7 @@ impl XmlDomImplementation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasFeature)(::windows::core::Interface::as_raw(this), feature.into().abi(), version.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5326,7 +5326,7 @@ impl XmlElement { pub fn TagName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TagName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5336,7 +5336,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAttribute)(::windows::core::Interface::as_raw(this), attributename.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5361,7 +5361,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAttributeNode)(::windows::core::Interface::as_raw(this), attributename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5371,7 +5371,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAttributeNode)(::windows::core::Interface::as_raw(this), newattribute.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5381,7 +5381,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveAttributeNode)(::windows::core::Interface::as_raw(this), attributenode.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5391,7 +5391,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetElementsByTagName)(::windows::core::Interface::as_raw(this), tagname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5411,7 +5411,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAttributeNS)(::windows::core::Interface::as_raw(this), namespaceuri.into().abi(), localname.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5429,7 +5429,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAttributeNodeNS)(::windows::core::Interface::as_raw(this), newattribute.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5440,14 +5440,14 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAttributeNodeNS)(::windows::core::Interface::as_raw(this), namespaceuri.into().abi(), localname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5461,77 +5461,77 @@ impl XmlElement { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5544,7 +5544,7 @@ impl XmlElement { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5557,7 +5557,7 @@ impl XmlElement { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5568,7 +5568,7 @@ impl XmlElement { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5579,35 +5579,35 @@ impl XmlElement { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5628,7 +5628,7 @@ impl XmlElement { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5638,7 +5638,7 @@ impl XmlElement { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5649,7 +5649,7 @@ impl XmlElement { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5660,21 +5660,21 @@ impl XmlElement { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5812,7 +5812,7 @@ impl XmlEntityReference { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5826,77 +5826,77 @@ impl XmlEntityReference { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5909,7 +5909,7 @@ impl XmlEntityReference { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5922,7 +5922,7 @@ impl XmlEntityReference { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5933,7 +5933,7 @@ impl XmlEntityReference { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5944,35 +5944,35 @@ impl XmlEntityReference { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5993,7 +5993,7 @@ impl XmlEntityReference { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6003,7 +6003,7 @@ impl XmlEntityReference { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6014,7 +6014,7 @@ impl XmlEntityReference { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6025,21 +6025,21 @@ impl XmlEntityReference { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6184,7 +6184,7 @@ impl XmlLoadSettings { pub fn MaxElementDepth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxElementDepth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6195,7 +6195,7 @@ impl XmlLoadSettings { pub fn ProhibitDtd(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProhibitDtd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6206,7 +6206,7 @@ impl XmlLoadSettings { pub fn ResolveExternals(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolveExternals)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6217,7 +6217,7 @@ impl XmlLoadSettings { pub fn ValidateOnParse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateOnParse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6228,7 +6228,7 @@ impl XmlLoadSettings { pub fn ElementContentWhiteSpace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementContentWhiteSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6308,7 +6308,7 @@ impl XmlNamedNodeMap { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6317,7 +6317,7 @@ impl XmlNamedNodeMap { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6326,7 +6326,7 @@ impl XmlNamedNodeMap { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6339,7 +6339,7 @@ impl XmlNamedNodeMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6348,21 +6348,21 @@ impl XmlNamedNodeMap { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Item(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Item)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6372,7 +6372,7 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedItem)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6383,7 +6383,7 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetNamedItem)(::windows::core::Interface::as_raw(this), node.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6393,7 +6393,7 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveNamedItem)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6404,7 +6404,7 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNamedItemNS)(::windows::core::Interface::as_raw(this), namespaceuri.into().abi(), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6415,7 +6415,7 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveNamedItemNS)(::windows::core::Interface::as_raw(this), namespaceuri.into().abi(), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6426,7 +6426,7 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetNamedItemNS)(::windows::core::Interface::as_raw(this), node.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6562,7 +6562,7 @@ impl XmlNodeList { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6571,7 +6571,7 @@ impl XmlNodeList { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6580,7 +6580,7 @@ impl XmlNodeList { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6593,7 +6593,7 @@ impl XmlNodeList { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6602,21 +6602,21 @@ impl XmlNodeList { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Item(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Item)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6750,7 +6750,7 @@ impl XmlProcessingInstruction { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -6764,77 +6764,77 @@ impl XmlProcessingInstruction { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6847,7 +6847,7 @@ impl XmlProcessingInstruction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6860,7 +6860,7 @@ impl XmlProcessingInstruction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6871,7 +6871,7 @@ impl XmlProcessingInstruction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6882,35 +6882,35 @@ impl XmlProcessingInstruction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -6931,7 +6931,7 @@ impl XmlProcessingInstruction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6941,7 +6941,7 @@ impl XmlProcessingInstruction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6952,7 +6952,7 @@ impl XmlProcessingInstruction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6963,21 +6963,21 @@ impl XmlProcessingInstruction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6991,14 +6991,14 @@ impl XmlProcessingInstruction { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Data(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7136,7 +7136,7 @@ impl XmlText { pub fn Data(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7150,14 +7150,14 @@ impl XmlText { pub fn Length(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubstringData)(::windows::core::Interface::as_raw(this), offset, count, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7189,7 +7189,7 @@ impl XmlText { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -7203,77 +7203,77 @@ impl XmlText { pub fn NodeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentNode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastChild(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastChild)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextSibling(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextSibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasChildNodes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasChildNodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OwnerDocument(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OwnerDocument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7286,7 +7286,7 @@ impl XmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertBefore)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7299,7 +7299,7 @@ impl XmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), referencechild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7310,7 +7310,7 @@ impl XmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveChild)(::windows::core::Interface::as_raw(this), childnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7321,35 +7321,35 @@ impl XmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendChild)(::windows::core::Interface::as_raw(this), newchild.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloneNode(&self, deep: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneNode)(::windows::core::Interface::as_raw(this), deep, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NamespaceUri(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Prefix(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Prefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -7370,7 +7370,7 @@ impl XmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNode)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7380,7 +7380,7 @@ impl XmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodes)(::windows::core::Interface::as_raw(this), xpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7391,7 +7391,7 @@ impl XmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleNodeNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7402,21 +7402,21 @@ impl XmlText { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNodesNS)(::windows::core::Interface::as_raw(this), xpath.into().abi(), namespaces.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InnerText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7430,7 +7430,7 @@ impl XmlText { pub fn SplitText(&self, offset: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplitText)(::windows::core::Interface::as_raw(this), offset, result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs index 292d135425..bcf1d492ef 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs @@ -59,7 +59,7 @@ impl XsltProcessor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformToString)(::windows::core::Interface::as_raw(this), inputnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -72,7 +72,7 @@ impl XsltProcessor { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformToDocument)(::windows::core::Interface::as_raw(this), inputnode.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -83,7 +83,7 @@ impl XsltProcessor { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dom::XmlDocument>>, { Self::IXsltProcessorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), document.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } 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 6f501f0470..83f2cff182 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs @@ -5,35 +5,35 @@ impl IAdcControllerProvider { pub fn ChannelCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResolutionInBits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolutionInBits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChannelMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -44,7 +44,7 @@ impl IAdcControllerProvider { pub fn IsChannelModeSupported(&self, channelmode: ProviderAdcChannelMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsChannelModeSupported)(::windows::core::Interface::as_raw(this), channelmode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -59,7 +59,7 @@ impl IAdcControllerProvider { pub fn ReadValue(&self, channelnumber: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadValue)(::windows::core::Interface::as_raw(this), channelnumber, result__.as_mut_ptr()).from_abi::(result__) } } @@ -145,7 +145,7 @@ impl IAdcProvider { pub fn GetControllers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs index 13450df86e..0e4b208de7 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs @@ -7,21 +7,21 @@ impl AdcChannel { pub fn Controller(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Controller)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -157,35 +157,35 @@ impl AdcController { pub fn ChannelCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResolutionInBits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolutionInBits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChannelMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -196,14 +196,14 @@ impl AdcController { pub fn IsChannelModeSupported(&self, channelmode: AdcChannelMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsChannelModeSupported)(::windows::core::Interface::as_raw(this), channelmode, result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpenChannel(&self, channelnumber: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenChannel)(::windows::core::Interface::as_raw(this), channelnumber, result__.as_mut_ptr()).from_abi::(result__) } } @@ -215,7 +215,7 @@ impl AdcController { E0: ::std::convert::Into<::windows::core::Error>, { Self::IAdcControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllersAsync)(::windows::core::Interface::as_raw(this), provider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -223,7 +223,7 @@ impl AdcController { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IAdcControllerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/AllJoyn/mod.rs b/crates/libs/windows/src/Windows/Devices/AllJoyn/mod.rs index 7f4e14e764..8408751889 100644 --- a/crates/libs/windows/src/Windows/Devices/AllJoyn/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/AllJoyn/mod.rs @@ -9,7 +9,7 @@ impl AllJoynAboutData { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24,7 +24,7 @@ impl AllJoynAboutData { pub fn DefaultAppName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultAppName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -42,7 +42,7 @@ impl AllJoynAboutData { pub fn AppNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -51,7 +51,7 @@ impl AllJoynAboutData { pub fn DateOfManufacture(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateOfManufacture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -70,7 +70,7 @@ impl AllJoynAboutData { pub fn DefaultDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -88,7 +88,7 @@ impl AllJoynAboutData { pub fn Descriptions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Descriptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -97,7 +97,7 @@ impl AllJoynAboutData { pub fn DefaultManufacturer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultManufacturer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -115,7 +115,7 @@ impl AllJoynAboutData { pub fn Manufacturers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Manufacturers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -124,7 +124,7 @@ impl AllJoynAboutData { pub fn ModelNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -142,7 +142,7 @@ impl AllJoynAboutData { pub fn SoftwareVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoftwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -160,7 +160,7 @@ impl AllJoynAboutData { pub fn SupportUrl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -178,7 +178,7 @@ impl AllJoynAboutData { pub fn AppId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -277,7 +277,7 @@ impl AllJoynAboutDataView { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -286,7 +286,7 @@ impl AllJoynAboutDataView { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -295,7 +295,7 @@ impl AllJoynAboutDataView { pub fn AJSoftwareVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AJSoftwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -304,7 +304,7 @@ impl AllJoynAboutDataView { pub fn AppId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -313,7 +313,7 @@ impl AllJoynAboutDataView { pub fn DateOfManufacture(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateOfManufacture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -322,7 +322,7 @@ impl AllJoynAboutDataView { pub fn DefaultLanguage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -331,7 +331,7 @@ impl AllJoynAboutDataView { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -340,7 +340,7 @@ impl AllJoynAboutDataView { pub fn HardwareVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -349,7 +349,7 @@ impl AllJoynAboutDataView { pub fn ModelNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -358,7 +358,7 @@ impl AllJoynAboutDataView { pub fn SoftwareVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoftwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -367,7 +367,7 @@ impl AllJoynAboutDataView { pub fn SupportedLanguages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedLanguages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -376,7 +376,7 @@ impl AllJoynAboutDataView { pub fn SupportUrl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -385,7 +385,7 @@ impl AllJoynAboutDataView { pub fn AppName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -394,7 +394,7 @@ impl AllJoynAboutDataView { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -403,7 +403,7 @@ impl AllJoynAboutDataView { pub fn DeviceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -412,7 +412,7 @@ impl AllJoynAboutDataView { pub fn Manufacturer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Manufacturer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -424,7 +424,7 @@ impl AllJoynAboutDataView { P1: ::std::convert::Into<::windows::core::InParam<'a, AllJoynBusAttachment>>, { Self::IAllJoynAboutDataViewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDataBySessionPortAsync)(::windows::core::Interface::as_raw(this), uniquename.into().abi(), busattachment.into().abi(), sessionport, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -437,7 +437,7 @@ impl AllJoynAboutDataView { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Globalization::Language>>, { Self::IAllJoynAboutDataViewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDataBySessionPortWithLanguageAsync)(::windows::core::Interface::as_raw(this), uniquename.into().abi(), busattachment.into().abi(), sessionport, language.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -536,7 +536,7 @@ impl AllJoynAcceptSessionJoinerEventArgs { pub fn UniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -545,7 +545,7 @@ impl AllJoynAcceptSessionJoinerEventArgs { pub fn SessionPort(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionPort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -554,7 +554,7 @@ impl AllJoynAcceptSessionJoinerEventArgs { pub fn TrafficType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrafficType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -563,7 +563,7 @@ impl AllJoynAcceptSessionJoinerEventArgs { pub fn SamePhysicalNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SamePhysicalNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -572,7 +572,7 @@ impl AllJoynAcceptSessionJoinerEventArgs { pub fn SameNetwork(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SameNetwork)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -591,7 +591,7 @@ impl AllJoynAcceptSessionJoinerEventArgs { E1: ::std::convert::Into<::windows::core::Error>, { Self::IAllJoynAcceptSessionJoinerEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), uniquename.into().abi(), sessionport, traffictype, proximity, acceptsessionjoiner.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -690,7 +690,7 @@ impl AllJoynAuthenticationCompleteEventArgs { pub fn AuthenticationMechanism(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationMechanism)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -699,7 +699,7 @@ impl AllJoynAuthenticationCompleteEventArgs { pub fn PeerUniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeerUniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -708,7 +708,7 @@ impl AllJoynAuthenticationCompleteEventArgs { pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -855,7 +855,7 @@ impl AllJoynBusAttachment { pub fn AboutData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AboutData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -864,7 +864,7 @@ impl AllJoynBusAttachment { pub fn ConnectionSpecification(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionSpecification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -873,7 +873,7 @@ impl AllJoynBusAttachment { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -882,7 +882,7 @@ impl AllJoynBusAttachment { pub fn UniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -894,7 +894,7 @@ impl AllJoynBusAttachment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PingAsync)(::windows::core::Interface::as_raw(this), uniquename.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -918,7 +918,7 @@ impl AllJoynBusAttachment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -933,7 +933,7 @@ impl AllJoynBusAttachment { pub fn AuthenticationMechanisms(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationMechanisms)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -945,7 +945,7 @@ impl AllJoynBusAttachment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -963,7 +963,7 @@ impl AllJoynBusAttachment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialsVerificationRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -981,7 +981,7 @@ impl AllJoynBusAttachment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationComplete)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -999,7 +999,7 @@ impl AllJoynBusAttachment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAboutDataAsync)(::windows::core::Interface::as_raw(this), serviceinfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1012,7 +1012,7 @@ impl AllJoynBusAttachment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAboutDataWithLanguageAsync)(::windows::core::Interface::as_raw(this), serviceinfo.into().abi(), language.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1024,7 +1024,7 @@ impl AllJoynBusAttachment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptSessionJoinerRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1042,7 +1042,7 @@ impl AllJoynBusAttachment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionJoined)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1059,7 +1059,7 @@ impl AllJoynBusAttachment { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAllJoynBusAttachmentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), connectionspecification.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1067,7 +1067,7 @@ impl AllJoynBusAttachment { #[cfg(feature = "deprecated")] pub fn GetDefault() -> ::windows::core::Result { Self::IAllJoynBusAttachmentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1079,7 +1079,7 @@ impl AllJoynBusAttachment { E0: ::std::convert::Into<::windows::core::Error>, { Self::IAllJoynBusAttachmentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWatcher)(::windows::core::Interface::as_raw(this), requiredinterfaces.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1228,7 +1228,7 @@ impl AllJoynBusAttachmentStateChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1237,7 +1237,7 @@ impl AllJoynBusAttachmentStateChangedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1359,7 +1359,7 @@ impl AllJoynBusObject { pub fn BusAttachment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BusAttachment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1368,7 +1368,7 @@ impl AllJoynBusObject { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1380,7 +1380,7 @@ impl AllJoynBusObject { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1397,7 +1397,7 @@ impl AllJoynBusObject { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAllJoynBusObjectFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), objectpath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1409,7 +1409,7 @@ impl AllJoynBusObject { P1: ::std::convert::Into<::windows::core::InParam<'a, AllJoynBusAttachment>>, { Self::IAllJoynBusObjectFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithBusAttachment)(::windows::core::Interface::as_raw(this), objectpath.into().abi(), busattachment.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1508,7 +1508,7 @@ impl AllJoynBusObjectStoppedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1516,7 +1516,7 @@ impl AllJoynBusObjectStoppedEventArgs { #[cfg(feature = "deprecated")] pub fn Create(status: i32) -> ::windows::core::Result { Self::IAllJoynBusObjectStoppedEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), status, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1615,7 +1615,7 @@ impl AllJoynCredentials { pub fn AuthenticationMechanism(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationMechanism)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1624,7 +1624,7 @@ impl AllJoynCredentials { pub fn Certificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Certificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1642,7 +1642,7 @@ impl AllJoynCredentials { pub fn PasswordCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasswordCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1660,7 +1660,7 @@ impl AllJoynCredentials { pub fn Timeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1759,7 +1759,7 @@ impl AllJoynCredentialsRequestedEventArgs { pub fn AttemptCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttemptCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1768,7 +1768,7 @@ impl AllJoynCredentialsRequestedEventArgs { pub fn Credentials(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Credentials)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1777,7 +1777,7 @@ impl AllJoynCredentialsRequestedEventArgs { pub fn PeerUniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeerUniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1786,7 +1786,7 @@ impl AllJoynCredentialsRequestedEventArgs { pub fn RequestedUserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedUserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1795,7 +1795,7 @@ impl AllJoynCredentialsRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1888,7 +1888,7 @@ impl AllJoynCredentialsVerificationRequestedEventArgs { pub fn AuthenticationMechanism(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationMechanism)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1897,7 +1897,7 @@ impl AllJoynCredentialsVerificationRequestedEventArgs { pub fn PeerUniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeerUniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1906,7 +1906,7 @@ impl AllJoynCredentialsVerificationRequestedEventArgs { pub fn PeerCertificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeerCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1915,7 +1915,7 @@ impl AllJoynCredentialsVerificationRequestedEventArgs { pub fn PeerCertificateErrorSeverity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeerCertificateErrorSeverity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1924,7 +1924,7 @@ impl AllJoynCredentialsVerificationRequestedEventArgs { pub fn PeerCertificateErrors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1933,7 +1933,7 @@ impl AllJoynCredentialsVerificationRequestedEventArgs { pub fn PeerIntermediateCertificates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeerIntermediateCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1948,7 +1948,7 @@ impl AllJoynCredentialsVerificationRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2041,7 +2041,7 @@ impl AllJoynMessageInfo { pub fn SenderUniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SenderUniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2052,7 +2052,7 @@ impl AllJoynMessageInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAllJoynMessageInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), senderuniquename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2151,7 +2151,7 @@ impl AllJoynProducerStoppedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2159,7 +2159,7 @@ impl AllJoynProducerStoppedEventArgs { #[cfg(feature = "deprecated")] pub fn Create(status: i32) -> ::windows::core::Result { Self::IAllJoynProducerStoppedEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), status, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2258,7 +2258,7 @@ impl AllJoynServiceInfo { pub fn UniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2267,7 +2267,7 @@ impl AllJoynServiceInfo { pub fn ObjectPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ObjectPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2276,7 +2276,7 @@ impl AllJoynServiceInfo { pub fn SessionPort(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionPort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2288,7 +2288,7 @@ impl AllJoynServiceInfo { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAllJoynServiceInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), uniquename.into().abi(), objectpath.into().abi(), sessionport, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2299,7 +2299,7 @@ impl AllJoynServiceInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAllJoynServiceInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2404,7 +2404,7 @@ impl AllJoynServiceInfoRemovedEventArgs { pub fn UniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2415,7 +2415,7 @@ impl AllJoynServiceInfoRemovedEventArgs { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAllJoynServiceInfoRemovedEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), uniquename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2514,7 +2514,7 @@ impl AllJoynSession { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2523,7 +2523,7 @@ impl AllJoynSession { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2535,7 +2535,7 @@ impl AllJoynSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveMemberAsync)(::windows::core::Interface::as_raw(this), uniquename.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2547,7 +2547,7 @@ impl AllJoynSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MemberAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2565,7 +2565,7 @@ impl AllJoynSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MemberRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2583,7 +2583,7 @@ impl AllJoynSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2600,7 +2600,7 @@ impl AllJoynSession { P0: ::std::convert::Into<::windows::core::InParam<'a, AllJoynServiceInfo>>, { Self::IAllJoynSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFromServiceInfoAsync)(::windows::core::Interface::as_raw(this), serviceinfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2612,7 +2612,7 @@ impl AllJoynSession { P1: ::std::convert::Into<::windows::core::InParam<'a, AllJoynBusAttachment>>, { Self::IAllJoynSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFromServiceInfoAndBusAttachmentAsync)(::windows::core::Interface::as_raw(this), serviceinfo.into().abi(), busattachment.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2711,7 +2711,7 @@ impl AllJoynSessionJoinedEventArgs { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2722,7 +2722,7 @@ impl AllJoynSessionJoinedEventArgs { P0: ::std::convert::Into<::windows::core::InParam<'a, AllJoynSession>>, { Self::IAllJoynSessionJoinedEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), session.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2821,7 +2821,7 @@ impl AllJoynSessionLostEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2829,7 +2829,7 @@ impl AllJoynSessionLostEventArgs { #[cfg(feature = "deprecated")] pub fn Create(reason: AllJoynSessionLostReason) -> ::windows::core::Result { Self::IAllJoynSessionLostEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), reason, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2974,7 +2974,7 @@ impl AllJoynSessionMemberAddedEventArgs { pub fn UniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2985,7 +2985,7 @@ impl AllJoynSessionMemberAddedEventArgs { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAllJoynSessionMemberAddedEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), uniquename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3084,7 +3084,7 @@ impl AllJoynSessionMemberRemovedEventArgs { pub fn UniqueName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UniqueName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3095,7 +3095,7 @@ impl AllJoynSessionMemberRemovedEventArgs { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAllJoynSessionMemberRemovedEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), uniquename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3192,7 +3192,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn Ok() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ok)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3200,7 +3200,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn Fail() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Fail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3208,7 +3208,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn OperationTimedOut() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperationTimedOut)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3216,7 +3216,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn OtherEndClosed() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherEndClosed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3224,7 +3224,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn ConnectionRefused() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionRefused)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3232,7 +3232,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn AuthenticationFailed() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationFailed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3240,7 +3240,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn AuthenticationRejectedByUser() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationRejectedByUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3248,7 +3248,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn SslConnectFailed() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SslConnectFailed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3256,7 +3256,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn SslIdentityVerificationFailed() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SslIdentityVerificationFailed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3264,7 +3264,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn InsufficientSecurity() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsufficientSecurity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3272,7 +3272,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn InvalidArgument1() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidArgument1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3280,7 +3280,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn InvalidArgument2() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidArgument2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3288,7 +3288,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn InvalidArgument3() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidArgument3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3296,7 +3296,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn InvalidArgument4() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidArgument4)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3304,7 +3304,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn InvalidArgument5() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidArgument5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3312,7 +3312,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn InvalidArgument6() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidArgument6)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3320,7 +3320,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn InvalidArgument7() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidArgument7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3328,7 +3328,7 @@ impl AllJoynStatus { #[cfg(feature = "deprecated")] pub fn InvalidArgument8() -> ::windows::core::Result { Self::IAllJoynStatusStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidArgument8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3398,7 +3398,7 @@ impl AllJoynWatcherStoppedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3406,7 +3406,7 @@ impl AllJoynWatcherStoppedEventArgs { #[cfg(feature = "deprecated")] pub fn Create(status: i32) -> ::windows::core::Result { Self::IAllJoynWatcherStoppedEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), status, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Background/mod.rs b/crates/libs/windows/src/Windows/Devices/Background/mod.rs index 407b39a1e4..db212b988b 100644 --- a/crates/libs/windows/src/Windows/Devices/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Background/mod.rs @@ -5,14 +5,14 @@ impl DeviceServicingDetails { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -21,7 +21,7 @@ impl DeviceServicingDetails { pub fn ExpectedDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpectedDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -95,14 +95,14 @@ impl DeviceUseDetails { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs index 227422f835..9f9c550eab 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs @@ -14,7 +14,7 @@ impl BluetoothLEAdvertisement { pub fn Flags(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Flags)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -31,7 +31,7 @@ impl BluetoothLEAdvertisement { pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -47,7 +47,7 @@ impl BluetoothLEAdvertisement { pub fn ServiceUuids(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -56,7 +56,7 @@ impl BluetoothLEAdvertisement { pub fn ManufacturerData(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManufacturerData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -65,7 +65,7 @@ impl BluetoothLEAdvertisement { pub fn DataSections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataSections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -74,7 +74,7 @@ impl BluetoothLEAdvertisement { pub fn GetManufacturerDataByCompanyId(&self, companyid: u16) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetManufacturerDataByCompanyId)(::windows::core::Interface::as_raw(this), companyid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -83,7 +83,7 @@ impl BluetoothLEAdvertisement { pub fn GetSectionsByType(&self, r#type: u8) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSectionsByType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -164,7 +164,7 @@ impl BluetoothLEAdvertisementBytePattern { pub fn DataType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -175,7 +175,7 @@ impl BluetoothLEAdvertisementBytePattern { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -188,7 +188,7 @@ impl BluetoothLEAdvertisementBytePattern { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -210,7 +210,7 @@ impl BluetoothLEAdvertisementBytePattern { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBluetoothLEAdvertisementBytePatternFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), datatype, offset, data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -296,7 +296,7 @@ impl BluetoothLEAdvertisementDataSection { pub fn DataType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -309,7 +309,7 @@ impl BluetoothLEAdvertisementDataSection { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -331,7 +331,7 @@ impl BluetoothLEAdvertisementDataSection { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBluetoothLEAdvertisementDataSectionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), datatype, data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -408,133 +408,133 @@ pub struct BluetoothLEAdvertisementDataTypes; impl BluetoothLEAdvertisementDataTypes { pub fn Flags() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Flags)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IncompleteService16BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncompleteService16BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CompleteService16BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompleteService16BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IncompleteService32BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncompleteService32BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CompleteService32BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompleteService32BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IncompleteService128BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncompleteService128BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CompleteService128BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompleteService128BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ShortenedLocalName() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShortenedLocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CompleteLocalName() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompleteLocalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TxPowerLevel() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TxPowerLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SlaveConnectionIntervalRange() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SlaveConnectionIntervalRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ServiceSolicitation16BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceSolicitation16BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ServiceSolicitation32BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceSolicitation32BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ServiceSolicitation128BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceSolicitation128BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ServiceData16BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceData16BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ServiceData32BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceData32BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ServiceData128BitUuids() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceData128BitUuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PublicTargetAddress() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicTargetAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RandomTargetAddress() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RandomTargetAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Appearance() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Appearance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AdvertisingInterval() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisingInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ManufacturerSpecificData() -> ::windows::core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManufacturerSpecificData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -561,7 +561,7 @@ impl BluetoothLEAdvertisementFilter { pub fn Advertisement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Advertisement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -577,7 +577,7 @@ impl BluetoothLEAdvertisementFilter { pub fn BytePatterns(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytePatterns)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -724,14 +724,14 @@ impl BluetoothLEAdvertisementPublisher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Advertisement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Advertisement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -751,7 +751,7 @@ impl BluetoothLEAdvertisementPublisher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -766,7 +766,7 @@ impl BluetoothLEAdvertisementPublisher { pub fn PreferredTransmitPowerLevelInDBm(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredTransmitPowerLevelInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -783,7 +783,7 @@ impl BluetoothLEAdvertisementPublisher { pub fn UseExtendedAdvertisement(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UseExtendedAdvertisement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -794,7 +794,7 @@ impl BluetoothLEAdvertisementPublisher { pub fn IsAnonymous(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAnonymous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -805,7 +805,7 @@ impl BluetoothLEAdvertisementPublisher { pub fn IncludeTransmitPowerLevel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeTransmitPowerLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -818,7 +818,7 @@ impl BluetoothLEAdvertisementPublisher { P0: ::std::convert::Into<::windows::core::InParam<'a, BluetoothLEAdvertisement>>, { Self::IBluetoothLEAdvertisementPublisherFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), advertisement.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -935,14 +935,14 @@ impl BluetoothLEAdvertisementPublisherStatusChangedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -951,7 +951,7 @@ impl BluetoothLEAdvertisementPublisherStatusChangedEventArgs { pub fn SelectedTransmitPowerLevelInDBm(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedTransmitPowerLevelInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1025,21 +1025,21 @@ impl BluetoothLEAdvertisementReceivedEventArgs { pub fn RawSignalStrengthInDBm(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawSignalStrengthInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BluetoothAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluetoothAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdvertisementType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisementType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1048,21 +1048,21 @@ impl BluetoothLEAdvertisementReceivedEventArgs { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Advertisement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Advertisement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BluetoothAddressType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluetoothAddressType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1071,42 +1071,42 @@ impl BluetoothLEAdvertisementReceivedEventArgs { pub fn TransmitPowerLevelInDBm(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransmitPowerLevelInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsAnonymous(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAnonymous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsConnectable(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnectable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsScannable(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScannable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDirected(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDirected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsScanResponse(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScanResponse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1227,7 +1227,7 @@ impl BluetoothLEAdvertisementWatcher { pub fn MinSamplingInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinSamplingInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1236,7 +1236,7 @@ impl BluetoothLEAdvertisementWatcher { pub fn MaxSamplingInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSamplingInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1245,7 +1245,7 @@ impl BluetoothLEAdvertisementWatcher { pub fn MinOutOfRangeTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinOutOfRangeTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1254,21 +1254,21 @@ impl BluetoothLEAdvertisementWatcher { pub fn MaxOutOfRangeTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxOutOfRangeTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ScanningMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanningMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1279,7 +1279,7 @@ impl BluetoothLEAdvertisementWatcher { pub fn SignalStrengthFilter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalStrengthFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1293,7 +1293,7 @@ impl BluetoothLEAdvertisementWatcher { pub fn AdvertisementFilter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisementFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1320,7 +1320,7 @@ impl BluetoothLEAdvertisementWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Received)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1338,7 +1338,7 @@ impl BluetoothLEAdvertisementWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1351,7 +1351,7 @@ impl BluetoothLEAdvertisementWatcher { pub fn AllowExtendedAdvertisements(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowExtendedAdvertisements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1364,7 +1364,7 @@ impl BluetoothLEAdvertisementWatcher { P0: ::std::convert::Into<::windows::core::InParam<'a, BluetoothLEAdvertisementFilter>>, { Self::IBluetoothLEAdvertisementWatcherFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), advertisementfilter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1480,7 +1480,7 @@ impl BluetoothLEAdvertisementWatcherStoppedEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1561,7 +1561,7 @@ impl BluetoothLEManufacturerData { pub fn CompanyId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompanyId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1574,7 +1574,7 @@ impl BluetoothLEManufacturerData { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1596,7 +1596,7 @@ impl BluetoothLEManufacturerData { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBluetoothLEManufacturerDataFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), companyid, data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs index fd099fcb72..7dc94e5948 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs @@ -42,14 +42,14 @@ impl BluetoothLEAdvertisementPublisherTriggerDetails { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -58,7 +58,7 @@ impl BluetoothLEAdvertisementPublisherTriggerDetails { pub fn SelectedTransmitPowerLevelInDBm(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedTransmitPowerLevelInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -132,7 +132,7 @@ impl BluetoothLEAdvertisementWatcherTriggerDetails { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -141,14 +141,14 @@ impl BluetoothLEAdvertisementWatcherTriggerDetails { pub fn Advertisements(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Advertisements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SignalStrengthFilter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalStrengthFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -224,7 +224,7 @@ impl GattCharacteristicNotificationTriggerDetails { pub fn Characteristic(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Characteristic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -233,21 +233,21 @@ impl GattCharacteristicNotificationTriggerDetails { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Error(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EventTriggeringMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EventTriggeringMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -256,7 +256,7 @@ impl GattCharacteristicNotificationTriggerDetails { pub fn ValueChangedEvents(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueChangedEvents)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -330,7 +330,7 @@ impl GattServiceProviderConnection { pub fn TriggerId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -339,7 +339,7 @@ impl GattServiceProviderConnection { pub fn Service(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Service)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -351,7 +351,7 @@ impl GattServiceProviderConnection { #[cfg(feature = "Foundation_Collections")] pub fn AllServices() -> ::windows::core::Result> { Self::IGattServiceProviderConnectionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllServices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -430,7 +430,7 @@ impl GattServiceProviderTriggerDetails { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -710,21 +710,21 @@ impl RfcommConnectionTriggerDetails { pub fn Socket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Socket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Incoming(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Incoming)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoteDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -800,7 +800,7 @@ impl RfcommInboundConnectionInformation { pub fn SdpRecord(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SdpRecord)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -819,7 +819,7 @@ impl RfcommInboundConnectionInformation { pub fn LocalServiceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -835,7 +835,7 @@ impl RfcommInboundConnectionInformation { pub fn ServiceCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -915,7 +915,7 @@ impl RfcommOutboundConnectionInformation { pub fn RemoteServiceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs index 5ff55b8911..7d61585cd6 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs @@ -7,21 +7,21 @@ impl GattCharacteristic { pub fn GetDescriptors(&self, descriptoruuid: ::windows::core::GUID) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDescriptors)(::windows::core::Interface::as_raw(this), descriptoruuid, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CharacteristicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacteristicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32,21 +32,21 @@ impl GattCharacteristic { pub fn UserDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Uuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn AttributeHandle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeHandle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -55,7 +55,7 @@ impl GattCharacteristic { pub fn PresentationFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -64,7 +64,7 @@ impl GattCharacteristic { pub fn ReadValueAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadValueAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -73,7 +73,7 @@ impl GattCharacteristic { pub fn ReadValueWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadValueWithCacheModeAsync)(::windows::core::Interface::as_raw(this), cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -86,7 +86,7 @@ impl GattCharacteristic { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteValueAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -99,7 +99,7 @@ impl GattCharacteristic { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteValueWithOptionAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), writeoption, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -108,7 +108,7 @@ impl GattCharacteristic { pub fn ReadClientCharacteristicConfigurationDescriptorAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadClientCharacteristicConfigurationDescriptorAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -117,7 +117,7 @@ impl GattCharacteristic { pub fn WriteClientCharacteristicConfigurationDescriptorAsync(&self, clientcharacteristicconfigurationdescriptorvalue: GattClientCharacteristicConfigurationDescriptorValue) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteClientCharacteristicConfigurationDescriptorAsync)(::windows::core::Interface::as_raw(this), clientcharacteristicconfigurationdescriptorvalue, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -129,7 +129,7 @@ impl GattCharacteristic { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueChanged)(::windows::core::Interface::as_raw(this), valuechangedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -142,7 +142,7 @@ impl GattCharacteristic { pub fn Service(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Service)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -151,7 +151,7 @@ impl GattCharacteristic { pub fn GetAllDescriptors(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllDescriptors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -160,7 +160,7 @@ impl GattCharacteristic { pub fn GetDescriptorsAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDescriptorsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -169,7 +169,7 @@ impl GattCharacteristic { pub fn GetDescriptorsWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDescriptorsWithCacheModeAsync)(::windows::core::Interface::as_raw(this), cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -178,7 +178,7 @@ impl GattCharacteristic { pub fn GetDescriptorsForUuidAsync(&self, descriptoruuid: ::windows::core::GUID) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDescriptorsForUuidAsync)(::windows::core::Interface::as_raw(this), descriptoruuid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -187,7 +187,7 @@ impl GattCharacteristic { pub fn GetDescriptorsForUuidWithCacheModeAsync(&self, descriptoruuid: ::windows::core::GUID, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDescriptorsForUuidWithCacheModeAsync)(::windows::core::Interface::as_raw(this), descriptoruuid, cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -200,7 +200,7 @@ impl GattCharacteristic { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteValueWithResultAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -213,7 +213,7 @@ impl GattCharacteristic { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteValueWithResultAndOptionAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), writeoption, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -222,7 +222,7 @@ impl GattCharacteristic { pub fn WriteClientCharacteristicConfigurationDescriptorWithResultAsync(&self, clientcharacteristicconfigurationdescriptorvalue: GattClientCharacteristicConfigurationDescriptorValue) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteClientCharacteristicConfigurationDescriptorWithResultAsync)(::windows::core::Interface::as_raw(this), clientcharacteristicconfigurationdescriptorvalue, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -230,7 +230,7 @@ impl GattCharacteristic { #[cfg(feature = "deprecated")] pub fn ConvertShortIdToUuid(shortid: u16) -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertShortIdToUuid)(::windows::core::Interface::as_raw(this), shortid, result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -378,487 +378,487 @@ pub struct GattCharacteristicUuids; impl GattCharacteristicUuids { pub fn BatteryLevel() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BatteryLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn BloodPressureFeature() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BloodPressureFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn BloodPressureMeasurement() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BloodPressureMeasurement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn BodySensorLocation() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BodySensorLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CscFeature() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CscFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CscMeasurement() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CscMeasurement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GlucoseFeature() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GlucoseFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GlucoseMeasurement() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GlucoseMeasurement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GlucoseMeasurementContext() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GlucoseMeasurementContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn HeartRateControlPoint() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeartRateControlPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn HeartRateMeasurement() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeartRateMeasurement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn IntermediateCuffPressure() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IntermediateCuffPressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn IntermediateTemperature() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IntermediateTemperature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn MeasurementInterval() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MeasurementInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn RecordAccessControlPoint() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordAccessControlPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn RscFeature() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RscFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn RscMeasurement() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RscMeasurement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn SCControlPoint() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SCControlPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn SensorLocation() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SensorLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TemperatureMeasurement() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TemperatureMeasurement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TemperatureType() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TemperatureType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn AlertCategoryId() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlertCategoryId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn AlertCategoryIdBitMask() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlertCategoryIdBitMask)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn AlertLevel() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlertLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn AlertNotificationControlPoint() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlertNotificationControlPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn AlertStatus() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlertStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GapAppearance() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GapAppearance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn BootKeyboardInputReport() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BootKeyboardInputReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn BootKeyboardOutputReport() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BootKeyboardOutputReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn BootMouseInputReport() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BootMouseInputReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CurrentTime() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CyclingPowerControlPoint() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingPowerControlPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CyclingPowerFeature() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingPowerFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CyclingPowerMeasurement() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingPowerMeasurement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CyclingPowerVector() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingPowerVector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn DateTime() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn DayDateTime() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DayDateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn DayOfWeek() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DayOfWeek)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GapDeviceName() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GapDeviceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn DstOffset() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DstOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ExactTime256() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExactTime256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn FirmwareRevisionString() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirmwareRevisionString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn HardwareRevisionString() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareRevisionString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn HidControlPoint() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HidControlPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn HidInformation() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HidInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn Ieee1107320601RegulatoryCertificationDataList() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ieee1107320601RegulatoryCertificationDataList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn LnControlPoint() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LnControlPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn LnFeature() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LnFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn LocalTimeInformation() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalTimeInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn LocationAndSpeed() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationAndSpeed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ManufacturerNameString() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManufacturerNameString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ModelNumberString() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelNumberString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn Navigation() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Navigation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn NewAlert() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewAlert)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GapPeripheralPreferredConnectionParameters() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GapPeripheralPreferredConnectionParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GapPeripheralPrivacyFlag() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GapPeripheralPrivacyFlag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn PnpId() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PnpId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn PositionQuality() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionQuality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ProtocolMode() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GapReconnectionAddress() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GapReconnectionAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ReferenceTimeInformation() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReferenceTimeInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn Report() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Report)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ReportMap() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportMap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn RingerControlPoint() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RingerControlPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn RingerSetting() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RingerSetting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ScanIntervalWindow() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanIntervalWindow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ScanRefresh() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanRefresh)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn SerialNumberString() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SerialNumberString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GattServiceChanged() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GattServiceChanged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn SoftwareRevisionString() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoftwareRevisionString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn SupportedNewAlertCategory() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedNewAlertCategory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn SupportUnreadAlertCategory() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportUnreadAlertCategory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn SystemId() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TimeAccuracy() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeAccuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TimeSource() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TimeUpdateControlPoint() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeUpdateControlPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TimeUpdateState() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeUpdateState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TimeWithDst() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeWithDst)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TimeZone() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeZone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TxPowerLevel() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TxPowerLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn UnreadAlertStatus() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnreadAlertStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -883,7 +883,7 @@ impl GattCharacteristicsResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -892,7 +892,7 @@ impl GattCharacteristicsResult { pub fn ProtocolError(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -901,7 +901,7 @@ impl GattCharacteristicsResult { pub fn Characteristics(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Characteristics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1010,14 +1010,14 @@ impl GattClientNotificationResult { pub fn SubscribedClient(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscribedClient)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1026,14 +1026,14 @@ impl GattClientNotificationResult { pub fn ProtocolError(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BytesSent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesSent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1143,7 +1143,7 @@ impl GattDescriptor { pub fn ProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1154,14 +1154,14 @@ impl GattDescriptor { pub fn Uuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn AttributeHandle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeHandle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1170,7 +1170,7 @@ impl GattDescriptor { pub fn ReadValueAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadValueAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1179,7 +1179,7 @@ impl GattDescriptor { pub fn ReadValueWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadValueWithCacheModeAsync)(::windows::core::Interface::as_raw(this), cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1192,7 +1192,7 @@ impl GattDescriptor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteValueAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1205,7 +1205,7 @@ impl GattDescriptor { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteValueWithResultAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1213,7 +1213,7 @@ impl GattDescriptor { #[cfg(feature = "deprecated")] pub fn ConvertShortIdToUuid(shortid: u16) -> ::windows::core::Result<::windows::core::GUID> { Self::IGattDescriptorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertShortIdToUuid)(::windows::core::Interface::as_raw(this), shortid, result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -1290,37 +1290,37 @@ pub struct GattDescriptorUuids; impl GattDescriptorUuids { pub fn CharacteristicAggregateFormat() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacteristicAggregateFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CharacteristicExtendedProperties() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacteristicExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CharacteristicPresentationFormat() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacteristicPresentationFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CharacteristicUserDescription() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacteristicUserDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ClientCharacteristicConfiguration() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientCharacteristicConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ServerCharacteristicConfiguration() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCharacteristicConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -1340,7 +1340,7 @@ impl GattDescriptorsResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1349,7 +1349,7 @@ impl GattDescriptorsResult { pub fn ProtocolError(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1358,7 +1358,7 @@ impl GattDescriptorsResult { pub fn Descriptors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Descriptors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1440,7 +1440,7 @@ impl GattDeviceService { pub fn GetCharacteristics(&self, characteristicuuid: ::windows::core::GUID) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCharacteristics)(::windows::core::Interface::as_raw(this), characteristicuuid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1449,28 +1449,28 @@ impl GattDeviceService { pub fn GetIncludedServices(&self, serviceuuid: ::windows::core::GUID) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIncludedServices)(::windows::core::Interface::as_raw(this), serviceuuid, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Uuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn AttributeHandle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeHandle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1479,7 +1479,7 @@ impl GattDeviceService { pub fn Device(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1488,7 +1488,7 @@ impl GattDeviceService { pub fn ParentServices(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentServices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1497,7 +1497,7 @@ impl GattDeviceService { pub fn GetAllCharacteristics(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllCharacteristics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1506,7 +1506,7 @@ impl GattDeviceService { pub fn GetAllIncludedServices(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllIncludedServices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1515,21 +1515,21 @@ impl GattDeviceService { pub fn DeviceAccessInformation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAccessInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Session(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SharingMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1538,7 +1538,7 @@ impl GattDeviceService { pub fn RequestAccessAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1547,7 +1547,7 @@ impl GattDeviceService { pub fn OpenAsync(&self, sharingmode: GattSharingMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAsync)(::windows::core::Interface::as_raw(this), sharingmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1556,7 +1556,7 @@ impl GattDeviceService { pub fn GetCharacteristicsAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCharacteristicsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1565,7 +1565,7 @@ impl GattDeviceService { pub fn GetCharacteristicsWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCharacteristicsWithCacheModeAsync)(::windows::core::Interface::as_raw(this), cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1574,7 +1574,7 @@ impl GattDeviceService { pub fn GetCharacteristicsForUuidAsync(&self, characteristicuuid: ::windows::core::GUID) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCharacteristicsForUuidAsync)(::windows::core::Interface::as_raw(this), characteristicuuid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1583,7 +1583,7 @@ impl GattDeviceService { pub fn GetCharacteristicsForUuidWithCacheModeAsync(&self, characteristicuuid: ::windows::core::GUID, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCharacteristicsForUuidWithCacheModeAsync)(::windows::core::Interface::as_raw(this), characteristicuuid, cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1592,7 +1592,7 @@ impl GattDeviceService { pub fn GetIncludedServicesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIncludedServicesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1601,7 +1601,7 @@ impl GattDeviceService { pub fn GetIncludedServicesWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIncludedServicesWithCacheModeAsync)(::windows::core::Interface::as_raw(this), cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1610,7 +1610,7 @@ impl GattDeviceService { pub fn GetIncludedServicesForUuidAsync(&self, serviceuuid: ::windows::core::GUID) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIncludedServicesForUuidAsync)(::windows::core::Interface::as_raw(this), serviceuuid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1619,7 +1619,7 @@ impl GattDeviceService { pub fn GetIncludedServicesForUuidWithCacheModeAsync(&self, serviceuuid: ::windows::core::GUID, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIncludedServicesForUuidWithCacheModeAsync)(::windows::core::Interface::as_raw(this), serviceuuid, cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1630,13 +1630,13 @@ impl GattDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGattDeviceServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelectorFromUuid(serviceuuid: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IGattDeviceServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromUuid)(::windows::core::Interface::as_raw(this), serviceuuid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1644,7 +1644,7 @@ impl GattDeviceService { #[cfg(feature = "deprecated")] pub fn GetDeviceSelectorFromShortId(serviceshortid: u16) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IGattDeviceServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromShortId)(::windows::core::Interface::as_raw(this), serviceshortid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1652,7 +1652,7 @@ impl GattDeviceService { #[cfg(feature = "deprecated")] pub fn ConvertShortIdToUuid(shortid: u16) -> ::windows::core::Result<::windows::core::GUID> { Self::IGattDeviceServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertShortIdToUuid)(::windows::core::Interface::as_raw(this), shortid, result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -1663,7 +1663,7 @@ impl GattDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdWithSharingModeAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), sharingmode, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1672,7 +1672,7 @@ impl GattDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, super::BluetoothDeviceId>>, { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceId)(::windows::core::Interface::as_raw(this), bluetoothdeviceid.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1681,7 +1681,7 @@ impl GattDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, super::BluetoothDeviceId>>, { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceIdWithCacheMode)(::windows::core::Interface::as_raw(this), bluetoothdeviceid.into().abi(), cachemode, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1690,7 +1690,7 @@ impl GattDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, super::BluetoothDeviceId>>, { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceIdAndUuid)(::windows::core::Interface::as_raw(this), bluetoothdeviceid.into().abi(), serviceuuid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1699,7 +1699,7 @@ impl GattDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, super::BluetoothDeviceId>>, { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceIdAndUuidWithCacheMode)(::windows::core::Interface::as_raw(this), bluetoothdeviceid.into().abi(), serviceuuid, cachemode, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1805,7 +1805,7 @@ impl GattDeviceServicesResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1814,7 +1814,7 @@ impl GattDeviceServicesResult { pub fn ProtocolError(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1823,7 +1823,7 @@ impl GattDeviceServicesResult { pub fn Services(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Services)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1897,7 +1897,7 @@ impl GattLocalCharacteristic { pub fn Uuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -1906,28 +1906,28 @@ impl GattLocalCharacteristic { pub fn StaticValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StaticValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CharacteristicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacteristicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WriteProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1939,7 +1939,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDescriptorAsync)(::windows::core::Interface::as_raw(this), descriptoruuid, parameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1948,14 +1948,14 @@ impl GattLocalCharacteristic { pub fn Descriptors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Descriptors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn UserDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1964,7 +1964,7 @@ impl GattLocalCharacteristic { pub fn PresentationFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1973,7 +1973,7 @@ impl GattLocalCharacteristic { pub fn SubscribedClients(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscribedClients)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1985,7 +1985,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscribedClientsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2003,7 +2003,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2021,7 +2021,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2040,7 +2040,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotifyValueAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2054,7 +2054,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotifyValueForSubscribedClientAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), subscribedclient.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2147,7 +2147,7 @@ impl GattLocalCharacteristicParameters { pub fn StaticValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StaticValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2158,7 +2158,7 @@ impl GattLocalCharacteristicParameters { pub fn CharacteristicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacteristicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2169,7 +2169,7 @@ impl GattLocalCharacteristicParameters { pub fn ReadProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2180,7 +2180,7 @@ impl GattLocalCharacteristicParameters { pub fn WriteProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2194,7 +2194,7 @@ impl GattLocalCharacteristicParameters { pub fn UserDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2203,7 +2203,7 @@ impl GattLocalCharacteristicParameters { pub fn PresentationFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2277,14 +2277,14 @@ impl GattLocalCharacteristicResult { pub fn Characteristic(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Characteristic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2358,7 +2358,7 @@ impl GattLocalDescriptor { pub fn Uuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2367,21 +2367,21 @@ impl GattLocalDescriptor { pub fn StaticValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StaticValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WriteProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2393,7 +2393,7 @@ impl GattLocalDescriptor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2411,7 +2411,7 @@ impl GattLocalDescriptor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2510,7 +2510,7 @@ impl GattLocalDescriptorParameters { pub fn StaticValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StaticValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2521,7 +2521,7 @@ impl GattLocalDescriptorParameters { pub fn ReadProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2532,7 +2532,7 @@ impl GattLocalDescriptorParameters { pub fn WriteProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2606,14 +2606,14 @@ impl GattLocalDescriptorResult { pub fn Descriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Descriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2687,7 +2687,7 @@ impl GattLocalService { pub fn Uuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2699,7 +2699,7 @@ impl GattLocalService { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCharacteristicAsync)(::windows::core::Interface::as_raw(this), characteristicuuid, parameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2708,7 +2708,7 @@ impl GattLocalService { pub fn Characteristics(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Characteristics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2820,47 +2820,47 @@ impl GattPresentationFormat { pub fn FormatType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Exponent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exponent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Unit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Namespace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Namespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Description(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BluetoothSigAssignedNumbers() -> ::windows::core::Result { Self::IGattPresentationFormatStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluetoothSigAssignedNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FromParts(formattype: u8, exponent: i32, unit: u16, namespaceid: u8, description: u16) -> ::windows::core::Result { Self::IGattPresentationFormatStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromParts)(::windows::core::Interface::as_raw(this), formattype, exponent, unit, namespaceid, description, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2942,163 +2942,163 @@ pub struct GattPresentationFormatTypes; impl GattPresentationFormatTypes { pub fn Boolean() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Boolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Bit2() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bit2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Nibble() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Nibble)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UInt8() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UInt8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UInt12() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UInt12)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UInt16() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UInt24() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UInt24)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UInt32() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UInt48() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UInt48)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UInt64() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UInt128() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UInt128)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SInt8() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SInt8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SInt12() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SInt12)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SInt16() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SInt24() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SInt24)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SInt32() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SInt48() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SInt48)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SInt64() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SInt128() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SInt128)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Float32() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Float32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Float64() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Float64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SFloat() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SFloat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Float() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Float)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DUInt16() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DUInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Utf8() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Utf8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Utf16() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Utf16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Struct() -> ::windows::core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Struct)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3152,103 +3152,103 @@ pub struct GattProtocolError; impl GattProtocolError { pub fn InvalidHandle() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidHandle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ReadNotPermitted() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadNotPermitted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn WriteNotPermitted() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteNotPermitted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InvalidPdu() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidPdu)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InsufficientAuthentication() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsufficientAuthentication)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RequestNotSupported() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestNotSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InvalidOffset() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InsufficientAuthorization() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsufficientAuthorization)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PrepareQueueFull() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareQueueFull)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AttributeNotFound() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeNotFound)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AttributeNotLong() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeNotLong)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InsufficientEncryptionKeySize() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsufficientEncryptionKeySize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InvalidAttributeValueLength() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidAttributeValueLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UnlikelyError() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnlikelyError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InsufficientEncryption() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsufficientEncryption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UnsupportedGroupType() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnsupportedGroupType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InsufficientResources() -> ::windows::core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsufficientResources)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3268,14 +3268,14 @@ impl GattReadClientCharacteristicConfigurationDescriptorResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ClientCharacteristicConfigurationDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientCharacteristicConfigurationDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3284,7 +3284,7 @@ impl GattReadClientCharacteristicConfigurationDescriptorResult { pub fn ProtocolError(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3358,21 +3358,21 @@ impl GattReadRequest { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3384,7 +3384,7 @@ impl GattReadRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3478,7 +3478,7 @@ impl GattReadRequestedEventArgs { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3487,7 +3487,7 @@ impl GattReadRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3496,7 +3496,7 @@ impl GattReadRequestedEventArgs { pub fn GetRequestAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRequestAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3570,7 +3570,7 @@ impl GattReadResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3579,7 +3579,7 @@ impl GattReadResult { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3588,7 +3588,7 @@ impl GattReadResult { pub fn ProtocolError(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3682,7 +3682,7 @@ impl GattReliableWriteTransaction { pub fn CommitAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3691,7 +3691,7 @@ impl GattReliableWriteTransaction { pub fn CommitWithResultAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitWithResultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3800,14 +3800,14 @@ impl GattRequestStateChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3881,14 +3881,14 @@ impl GattServiceProvider { pub fn Service(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Service)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdvertisementStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisementStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3900,7 +3900,7 @@ impl GattServiceProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisementStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3929,7 +3929,7 @@ impl GattServiceProvider { #[cfg(feature = "Foundation")] pub fn CreateAsync(serviceuuid: ::windows::core::GUID) -> ::windows::core::Result> { Self::IGattServiceProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), serviceuuid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4045,14 +4045,14 @@ impl GattServiceProviderAdvertisementStatusChangedEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4137,7 +4137,7 @@ impl GattServiceProviderAdvertisingParameters { pub fn IsConnectable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnectable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4148,7 +4148,7 @@ impl GattServiceProviderAdvertisingParameters { pub fn IsDiscoverable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDiscoverable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4167,7 +4167,7 @@ impl GattServiceProviderAdvertisingParameters { pub fn ServiceData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4241,14 +4241,14 @@ impl GattServiceProviderResult { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServiceProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4320,133 +4320,133 @@ pub struct GattServiceUuids; impl GattServiceUuids { pub fn Battery() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Battery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn BloodPressure() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BloodPressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CyclingSpeedAndCadence() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingSpeedAndCadence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GenericAccess() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenericAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GenericAttribute() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenericAttribute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn Glucose() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Glucose)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn HealthThermometer() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HealthThermometer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn HeartRate() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeartRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn RunningSpeedAndCadence() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunningSpeedAndCadence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn AlertNotification() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlertNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CurrentTime() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CyclingPower() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingPower)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn DeviceInformation() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn HumanInterfaceDevice() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HumanInterfaceDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ImmediateAlert() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImmediateAlert)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn LinkLoss() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinkLoss)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn LocationAndNavigation() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationAndNavigation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn NextDstChange() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextDstChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn PhoneAlertStatus() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneAlertStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ReferenceTimeUpdate() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReferenceTimeUpdate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn ScanParameters() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TxPower() -> ::windows::core::Result<::windows::core::GUID> { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TxPower)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -4477,14 +4477,14 @@ impl GattSession { pub fn DeviceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanMaintainConnection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanMaintainConnection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4495,21 +4495,21 @@ impl GattSession { pub fn MaintainConnection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaintainConnection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxPduSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPduSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SessionStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4521,7 +4521,7 @@ impl GattSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPduSizeChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4539,7 +4539,7 @@ impl GattSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4556,7 +4556,7 @@ impl GattSession { P0: ::std::convert::Into<::windows::core::InParam<'a, super::BluetoothDeviceId>>, { Self::IGattSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromDeviceIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4691,14 +4691,14 @@ impl GattSessionStatusChangedEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4808,14 +4808,14 @@ impl GattSubscribedClient { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxNotificationSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxNotificationSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4827,7 +4827,7 @@ impl GattSubscribedClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxNotificationSizeChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4909,7 +4909,7 @@ impl GattValueChangedEventArgs { pub fn CharacteristicValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacteristicValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4918,7 +4918,7 @@ impl GattValueChangedEventArgs { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5028,28 +5028,28 @@ impl GattWriteRequest { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Option(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Option)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5061,7 +5061,7 @@ impl GattWriteRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5149,7 +5149,7 @@ impl GattWriteRequestedEventArgs { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5158,7 +5158,7 @@ impl GattWriteRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5167,7 +5167,7 @@ impl GattWriteRequestedEventArgs { pub fn GetRequestAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRequestAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5241,7 +5241,7 @@ impl GattWriteResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5250,7 +5250,7 @@ impl GattWriteResult { pub fn ProtocolError(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs index 90a42f5f02..67ae3659e1 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs @@ -219,21 +219,21 @@ impl RfcommDeviceService { pub fn ConnectionHostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionHostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConnectionServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -242,7 +242,7 @@ impl RfcommDeviceService { pub fn ProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -251,7 +251,7 @@ impl RfcommDeviceService { pub fn MaxProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -260,7 +260,7 @@ impl RfcommDeviceService { pub fn GetSdpRawAttributesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSdpRawAttributesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -269,14 +269,14 @@ impl RfcommDeviceService { pub fn GetSdpRawAttributesWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSdpRawAttributesWithCacheModeAsync)(::windows::core::Interface::as_raw(this), cachemode, result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn Device(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -285,7 +285,7 @@ impl RfcommDeviceService { pub fn DeviceAccessInformation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAccessInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -294,7 +294,7 @@ impl RfcommDeviceService { pub fn RequestAccessAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -305,7 +305,7 @@ impl RfcommDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRfcommDeviceServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -314,7 +314,7 @@ impl RfcommDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, RfcommServiceId>>, { Self::IRfcommDeviceServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), serviceid.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -323,7 +323,7 @@ impl RfcommDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, super::BluetoothDevice>>, { Self::IRfcommDeviceServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorForBluetoothDevice)(::windows::core::Interface::as_raw(this), bluetoothdevice.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -332,7 +332,7 @@ impl RfcommDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, super::BluetoothDevice>>, { Self::IRfcommDeviceServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceWithCacheMode)(::windows::core::Interface::as_raw(this), bluetoothdevice.into().abi(), cachemode, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -342,7 +342,7 @@ impl RfcommDeviceService { P1: ::std::convert::Into<::windows::core::InParam<'a, RfcommServiceId>>, { Self::IRfcommDeviceServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceAndServiceId)(::windows::core::Interface::as_raw(this), bluetoothdevice.into().abi(), serviceid.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -352,7 +352,7 @@ impl RfcommDeviceService { P1: ::std::convert::Into<::windows::core::InParam<'a, RfcommServiceId>>, { Self::IRfcommDeviceServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceAndServiceIdWithCacheMode)(::windows::core::Interface::as_raw(this), bluetoothdevice.into().abi(), serviceid.into().abi(), cachemode, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -458,7 +458,7 @@ impl RfcommDeviceServicesResult { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -467,7 +467,7 @@ impl RfcommDeviceServicesResult { pub fn Services(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Services)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -541,69 +541,69 @@ impl RfcommServiceId { pub fn Uuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn AsShortId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AsShortId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FromUuid(uuid: ::windows::core::GUID) -> ::windows::core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromUuid)(::windows::core::Interface::as_raw(this), uuid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FromShortId(shortid: u32) -> ::windows::core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromShortId)(::windows::core::Interface::as_raw(this), shortid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SerialPort() -> ::windows::core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SerialPort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ObexObjectPush() -> ::windows::core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ObexObjectPush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ObexFileTransfer() -> ::windows::core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ObexFileTransfer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PhoneBookAccessPce() -> ::windows::core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneBookAccessPce)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PhoneBookAccessPse() -> ::windows::core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneBookAccessPse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GenericFileTransfer() -> ::windows::core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenericFileTransfer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -682,7 +682,7 @@ impl RfcommServiceProvider { pub fn ServiceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -691,7 +691,7 @@ impl RfcommServiceProvider { pub fn SdpRawAttributes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SdpRawAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -724,7 +724,7 @@ impl RfcommServiceProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, RfcommServiceId>>, { Self::IRfcommServiceProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), serviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs index 576d9cb4e8..17f036c567 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs @@ -13,49 +13,49 @@ impl BluetoothAdapter { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn BluetoothAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluetoothAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsClassicSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsClassicSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsLowEnergySupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLowEnergySupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPeripheralRoleSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPeripheralRoleSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCentralRoleSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCentralRoleSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAdvertisementOffloadSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAdvertisementOffloadSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -64,41 +64,41 @@ impl BluetoothAdapter { pub fn GetRadioAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRadioAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AreClassicSecureConnectionsSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreClassicSecureConnectionsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AreLowEnergySecureConnectionsSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreLowEnergySecureConnectionsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsExtendedAdvertisingSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsExtendedAdvertisingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxAdvertisementDataLength(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAdvertisementDataLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothAdapterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -109,7 +109,7 @@ impl BluetoothAdapter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBluetoothAdapterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -117,7 +117,7 @@ impl BluetoothAdapter { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IBluetoothAdapterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -265,40 +265,40 @@ impl BluetoothClassOfDevice { pub fn RawValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MajorClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MajorClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinorClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinorClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServiceCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FromRawValue(rawvalue: u32) -> ::windows::core::Result { Self::IBluetoothClassOfDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromRawValue)(::windows::core::Interface::as_raw(this), rawvalue, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FromParts(majorclass: BluetoothMajorClass, minorclass: BluetoothMinorClass, servicecapabilities: BluetoothServiceCapabilities) -> ::windows::core::Result { Self::IBluetoothClassOfDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromParts)(::windows::core::Interface::as_raw(this), majorclass, minorclass, servicecapabilities, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -411,7 +411,7 @@ impl BluetoothDevice { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -420,21 +420,21 @@ impl BluetoothDevice { pub fn HostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ClassOfDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClassOfDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -443,7 +443,7 @@ impl BluetoothDevice { pub fn SdpRecords(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SdpRecords)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -452,21 +452,21 @@ impl BluetoothDevice { pub fn RfcommServices(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RfcommServices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ConnectionStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BluetoothAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluetoothAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -478,7 +478,7 @@ impl BluetoothDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NameChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -496,7 +496,7 @@ impl BluetoothDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SdpRecordsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -514,7 +514,7 @@ impl BluetoothDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -529,7 +529,7 @@ impl BluetoothDevice { pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -538,7 +538,7 @@ impl BluetoothDevice { pub fn DeviceAccessInformation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAccessInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -547,7 +547,7 @@ impl BluetoothDevice { pub fn RequestAccessAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -556,7 +556,7 @@ impl BluetoothDevice { pub fn GetRfcommServicesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRfcommServicesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -565,7 +565,7 @@ impl BluetoothDevice { pub fn GetRfcommServicesWithCacheModeAsync(&self, cachemode: BluetoothCacheMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRfcommServicesWithCacheModeAsync)(::windows::core::Interface::as_raw(this), cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -577,7 +577,7 @@ impl BluetoothDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRfcommServicesForIdAsync)(::windows::core::Interface::as_raw(this), serviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -589,21 +589,21 @@ impl BluetoothDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRfcommServicesForIdWithCacheModeAsync)(::windows::core::Interface::as_raw(this), serviceid.into().abi(), cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BluetoothDeviceId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluetoothDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WasSecureConnectionUsedForPairing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WasSecureConnectionUsedForPairing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -614,7 +614,7 @@ impl BluetoothDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBluetoothDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -625,7 +625,7 @@ impl BluetoothDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Networking::HostName>>, { Self::IBluetoothDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromHostNameAsync)(::windows::core::Interface::as_raw(this), hostname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -633,25 +633,25 @@ impl BluetoothDevice { #[cfg(feature = "Foundation")] pub fn FromBluetoothAddressAsync(address: u64) -> ::windows::core::Result> { Self::IBluetoothDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromBluetoothAddressAsync)(::windows::core::Interface::as_raw(this), address, result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorFromPairingState(pairingstate: bool) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromPairingState)(::windows::core::Interface::as_raw(this), pairingstate, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorFromConnectionStatus(connectionstatus: BluetoothConnectionStatus) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromConnectionStatus)(::windows::core::Interface::as_raw(this), connectionstatus, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -660,13 +660,13 @@ impl BluetoothDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromDeviceName)(::windows::core::Interface::as_raw(this), devicename.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorFromBluetoothAddress(bluetoothaddress: u64) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromBluetoothAddress)(::windows::core::Interface::as_raw(this), bluetoothaddress, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -675,7 +675,7 @@ impl BluetoothDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, BluetoothClassOfDevice>>, { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromClassOfDevice)(::windows::core::Interface::as_raw(this), classofdevice.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -787,21 +787,21 @@ impl BluetoothDeviceId { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsClassicDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsClassicDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsLowEnergyDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLowEnergyDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -810,7 +810,7 @@ impl BluetoothDeviceId { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBluetoothDeviceIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -931,33 +931,33 @@ impl BluetoothLEAppearance { pub fn RawValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Category(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SubCategory(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubCategory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FromRawValue(rawvalue: u16) -> ::windows::core::Result { Self::IBluetoothLEAppearanceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromRawValue)(::windows::core::Interface::as_raw(this), rawvalue, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FromParts(appearancecategory: u16, appearancesubcategory: u16) -> ::windows::core::Result { Self::IBluetoothLEAppearanceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromParts)(::windows::core::Interface::as_raw(this), appearancecategory, appearancesubcategory, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1034,133 +1034,133 @@ pub struct BluetoothLEAppearanceCategories; impl BluetoothLEAppearanceCategories { pub fn Uncategorized() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uncategorized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Phone() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Phone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Computer() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Computer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Watch() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Watch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Clock() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clock)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Display() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Display)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RemoteControl() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn EyeGlasses() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EyeGlasses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Tag() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Keyring() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keyring)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediaPlayer() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaPlayer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BarcodeScanner() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BarcodeScanner)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Thermometer() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thermometer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn HeartRate() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeartRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BloodPressure() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BloodPressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn HumanInterfaceDevice() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HumanInterfaceDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GlucoseMeter() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GlucoseMeter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RunningWalking() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunningWalking)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Cycling() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cycling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PulseOximeter() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PulseOximeter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn WeightScale() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WeightScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn OutdoorSportActivity() -> ::windows::core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutdoorSportActivity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1178,169 +1178,169 @@ pub struct BluetoothLEAppearanceSubcategories; impl BluetoothLEAppearanceSubcategories { pub fn Generic() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Generic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SportsWatch() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SportsWatch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ThermometerEar() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThermometerEar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn HeartRateBelt() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeartRateBelt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BloodPressureArm() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BloodPressureArm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BloodPressureWrist() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BloodPressureWrist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Keyboard() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keyboard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Mouse() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mouse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Joystick() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Joystick)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gamepad() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gamepad)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DigitizerTablet() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DigitizerTablet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CardReader() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DigitalPen() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DigitalPen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BarcodeScanner() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BarcodeScanner)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RunningWalkingInShoe() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunningWalkingInShoe)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RunningWalkingOnShoe() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunningWalkingOnShoe)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RunningWalkingOnHip() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunningWalkingOnHip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CyclingComputer() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingComputer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CyclingSpeedSensor() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingSpeedSensor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CyclingCadenceSensor() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingCadenceSensor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CyclingPowerSensor() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingPowerSensor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CyclingSpeedCadenceSensor() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CyclingSpeedCadenceSensor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn OximeterFingertip() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OximeterFingertip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn OximeterWristWorn() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OximeterWristWorn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LocationDisplay() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationDisplay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LocationNavigationDisplay() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationNavigationDisplay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LocationPod() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationPod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LocationNavigationPod() -> ::windows::core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationNavigationPod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1360,21 +1360,21 @@ impl BluetoothLEConnectionParameters { pub fn LinkTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinkTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConnectionLatency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConnectionInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1448,14 +1448,14 @@ impl BluetoothLEConnectionPhy { pub fn TransmitInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransmitInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReceiveInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReceiveInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1529,21 +1529,21 @@ impl BluetoothLEConnectionPhyInfo { pub fn IsUncoded1MPhy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUncoded1MPhy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUncoded2MPhy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUncoded2MPhy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCodedPhy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCodedPhy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1617,14 +1617,14 @@ impl BluetoothLEDevice { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1633,21 +1633,21 @@ impl BluetoothLEDevice { pub fn GattServices(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GattServices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ConnectionStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BluetoothAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluetoothAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1656,7 +1656,7 @@ impl BluetoothLEDevice { pub fn GetGattService(&self, serviceuuid: ::windows::core::GUID) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGattService)(::windows::core::Interface::as_raw(this), serviceuuid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1668,7 +1668,7 @@ impl BluetoothLEDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NameChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1686,7 +1686,7 @@ impl BluetoothLEDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GattServicesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1704,7 +1704,7 @@ impl BluetoothLEDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1719,21 +1719,21 @@ impl BluetoothLEDevice { pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Appearance(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Appearance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BluetoothAddressType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluetoothAddressType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1742,7 +1742,7 @@ impl BluetoothLEDevice { pub fn DeviceAccessInformation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAccessInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1751,7 +1751,7 @@ impl BluetoothLEDevice { pub fn RequestAccessAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1760,7 +1760,7 @@ impl BluetoothLEDevice { pub fn GetGattServicesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGattServicesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1769,7 +1769,7 @@ impl BluetoothLEDevice { pub fn GetGattServicesWithCacheModeAsync(&self, cachemode: BluetoothCacheMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGattServicesWithCacheModeAsync)(::windows::core::Interface::as_raw(this), cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1778,7 +1778,7 @@ impl BluetoothLEDevice { pub fn GetGattServicesForUuidAsync(&self, serviceuuid: ::windows::core::GUID) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGattServicesForUuidAsync)(::windows::core::Interface::as_raw(this), serviceuuid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1787,35 +1787,35 @@ impl BluetoothLEDevice { pub fn GetGattServicesForUuidWithCacheModeAsync(&self, serviceuuid: ::windows::core::GUID, cachemode: BluetoothCacheMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGattServicesForUuidWithCacheModeAsync)(::windows::core::Interface::as_raw(this), serviceuuid, cachemode, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BluetoothDeviceId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluetoothDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WasSecureConnectionUsedForPairing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WasSecureConnectionUsedForPairing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetConnectionParameters(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectionParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetConnectionPhy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectionPhy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1825,7 +1825,7 @@ impl BluetoothLEDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPreferredConnectionParameters)(::windows::core::Interface::as_raw(this), preferredconnectionparameters.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1837,7 +1837,7 @@ impl BluetoothLEDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionParametersChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1855,7 +1855,7 @@ impl BluetoothLEDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionPhyChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1872,7 +1872,7 @@ impl BluetoothLEDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBluetoothLEDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1880,25 +1880,25 @@ impl BluetoothLEDevice { #[cfg(feature = "Foundation")] pub fn FromBluetoothAddressAsync(bluetoothaddress: u64) -> ::windows::core::Result> { Self::IBluetoothLEDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromBluetoothAddressAsync)(::windows::core::Interface::as_raw(this), bluetoothaddress, result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothLEDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorFromPairingState(pairingstate: bool) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromPairingState)(::windows::core::Interface::as_raw(this), pairingstate, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorFromConnectionStatus(connectionstatus: BluetoothConnectionStatus) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromConnectionStatus)(::windows::core::Interface::as_raw(this), connectionstatus, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1907,19 +1907,19 @@ impl BluetoothLEDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromDeviceName)(::windows::core::Interface::as_raw(this), devicename.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorFromBluetoothAddress(bluetoothaddress: u64) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromBluetoothAddress)(::windows::core::Interface::as_raw(this), bluetoothaddress, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType(bluetoothaddress: u64, bluetoothaddresstype: BluetoothAddressType) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType)(::windows::core::Interface::as_raw(this), bluetoothaddress, bluetoothaddresstype, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1928,7 +1928,7 @@ impl BluetoothLEDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, BluetoothLEAppearance>>, { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromAppearance)(::windows::core::Interface::as_raw(this), appearance.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1936,7 +1936,7 @@ impl BluetoothLEDevice { #[cfg(feature = "Foundation")] pub fn FromBluetoothAddressWithBluetoothAddressTypeAsync(bluetoothaddress: u64, bluetoothaddresstype: BluetoothAddressType) -> ::windows::core::Result> { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromBluetoothAddressWithBluetoothAddressTypeAsync)(::windows::core::Interface::as_raw(this), bluetoothaddress, bluetoothaddresstype, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2048,46 +2048,46 @@ impl BluetoothLEPreferredConnectionParameters { pub fn LinkTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinkTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConnectionLatency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinConnectionInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinConnectionInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxConnectionInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxConnectionInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Balanced() -> ::windows::core::Result { Self::IBluetoothLEPreferredConnectionParametersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Balanced)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ThroughputOptimized() -> ::windows::core::Result { Self::IBluetoothLEPreferredConnectionParametersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThroughputOptimized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PowerOptimized() -> ::windows::core::Result { Self::IBluetoothLEPreferredConnectionParametersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerOptimized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2166,7 +2166,7 @@ impl BluetoothLEPreferredConnectionParametersRequest { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2528,7 +2528,7 @@ impl BluetoothSignalStrengthFilter { pub fn InRangeThresholdInDBm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InRangeThresholdInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2547,7 +2547,7 @@ impl BluetoothSignalStrengthFilter { pub fn OutOfRangeThresholdInDBm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutOfRangeThresholdInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2566,7 +2566,7 @@ impl BluetoothSignalStrengthFilter { pub fn OutOfRangeTimeout(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutOfRangeTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2585,7 +2585,7 @@ impl BluetoothSignalStrengthFilter { pub fn SamplingInterval(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SamplingInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2667,7 +2667,7 @@ pub struct BluetoothUuidHelper; impl BluetoothUuidHelper { pub fn FromShortId(shortid: u32) -> ::windows::core::Result<::windows::core::GUID> { Self::IBluetoothUuidHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromShortId)(::windows::core::Interface::as_raw(this), shortid, result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -2675,7 +2675,7 @@ impl BluetoothUuidHelper { #[cfg(feature = "Foundation")] pub fn TryGetShortId(uuid: ::windows::core::GUID) -> ::windows::core::Result> { Self::IBluetoothUuidHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetShortId)(::windows::core::Interface::as_raw(this), uuid, result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs index a211108467..d02a112ee2 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs @@ -7,7 +7,7 @@ impl CustomDevice { pub fn InputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16,7 +16,7 @@ impl CustomDevice { pub fn OutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33,7 +33,7 @@ impl CustomDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendIOControlAsync)(::windows::core::Interface::as_raw(this), iocontrolcode.try_into().map_err(|e| e.into())?.abi(), inputbuffer.try_into().map_err(|e| e.into())?.abi(), outputbuffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -50,13 +50,13 @@ impl CustomDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySendIOControlAsync)(::windows::core::Interface::as_raw(this), iocontrolcode.try_into().map_err(|e| e.into())?.abi(), inputbuffer.try_into().map_err(|e| e.into())?.abi(), outputbuffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDeviceSelector(classguid: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICustomDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), classguid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -67,7 +67,7 @@ impl CustomDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICustomDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), desiredaccess, sharingmode, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -260,35 +260,35 @@ impl IIOControlCode { pub fn AccessMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BufferingMethod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferingMethod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Function(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Function)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ControlCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -465,41 +465,41 @@ impl IOControlCode { pub fn AccessMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BufferingMethod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferingMethod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Function(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Function)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ControlCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateIOControlCode(devicetype: u16, function: u16, accessmode: IOControlAccessMode, bufferingmethod: IOControlBufferingMethod) -> ::windows::core::Result { Self::IIOControlCodeFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateIOControlCode)(::windows::core::Interface::as_raw(this), devicetype, function, accessmode, bufferingmethod, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -595,7 +595,7 @@ pub struct KnownDeviceTypes; impl KnownDeviceTypes { pub fn Unknown() -> ::windows::core::Result { Self::IKnownDeviceTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unknown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs index 7399329229..6ad58eb069 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs @@ -7,49 +7,49 @@ impl DisplayAdapter { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceInterfacePath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInterfacePath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SourceCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PciVendorId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PciVendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PciDeviceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PciDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PciSubSystemId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PciSubSystemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PciRevision(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PciRevision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -58,7 +58,7 @@ impl DisplayAdapter { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -66,7 +66,7 @@ impl DisplayAdapter { #[cfg(feature = "Graphics")] pub fn FromId(id: super::super::super::Graphics::DisplayAdapterId) -> ::windows::core::Result { Self::IDisplayAdapterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromId)(::windows::core::Interface::as_raw(this), id, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -215,7 +215,7 @@ impl DisplayDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateScanoutSource)(::windows::core::Interface::as_raw(this), target.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -226,14 +226,14 @@ impl DisplayDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePrimary)(::windows::core::Interface::as_raw(this), target.into().abi(), desc.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateTaskPool(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTaskPool)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -245,7 +245,7 @@ impl DisplayDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePeriodicFence)(::windows::core::Interface::as_raw(this), target.into().abi(), offsetfromvblank, result__.as_mut_ptr()).from_abi::(result__) } } @@ -263,14 +263,14 @@ impl DisplayDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSimpleScanout)(::windows::core::Interface::as_raw(this), psource.into().abi(), psurface.into().abi(), subresourceindex, syncinterval, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCapabilitySupported(&self, capability: DisplayDeviceCapability) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCapabilitySupported)(::windows::core::Interface::as_raw(this), capability, result__.as_mut_ptr()).from_abi::(result__) } } @@ -285,7 +285,7 @@ impl DisplayDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSimpleScanoutWithDirtyRectsAndOptions)(::windows::core::Interface::as_raw(this), source.into().abi(), surface.into().abi(), subresourceindex, syncinterval, dirtyrects.try_into().map_err(|e| e.into())?.abi(), options, result__.as_mut_ptr()).from_abi::(result__) } } @@ -466,7 +466,7 @@ impl DisplayManager { pub fn GetCurrentTargets(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentTargets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -475,7 +475,7 @@ impl DisplayManager { pub fn GetCurrentAdapters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentAdapters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -485,7 +485,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAcquireTarget)(::windows::core::Interface::as_raw(this), target.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -499,7 +499,7 @@ impl DisplayManager { pub fn TryReadCurrentStateForAllTargets(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryReadCurrentStateForAllTargets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -512,7 +512,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAcquireTargetsAndReadCurrentState)(::windows::core::Interface::as_raw(this), targets.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -525,7 +525,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAcquireTargetsAndCreateEmptyState)(::windows::core::Interface::as_raw(this), targets.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -539,7 +539,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAcquireTargetsAndCreateSubstate)(::windows::core::Interface::as_raw(this), existingstate.into().abi(), targets.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -549,7 +549,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDisplayDevice)(::windows::core::Interface::as_raw(this), adapter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -561,7 +561,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -579,7 +579,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Disabled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -597,7 +597,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -615,7 +615,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PathsFailedOrInvalidated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -635,7 +635,7 @@ impl DisplayManager { } pub fn Create(options: DisplayManagerOptions) -> ::windows::core::Result { Self::IDisplayManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -736,7 +736,7 @@ impl DisplayManagerChangedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -749,7 +749,7 @@ impl DisplayManagerChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -823,7 +823,7 @@ impl DisplayManagerDisabledEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -836,7 +836,7 @@ impl DisplayManagerDisabledEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -910,7 +910,7 @@ impl DisplayManagerEnabledEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -923,7 +923,7 @@ impl DisplayManagerEnabledEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1060,7 +1060,7 @@ impl DisplayManagerPathsFailedOrInvalidatedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1073,7 +1073,7 @@ impl DisplayManagerPathsFailedOrInvalidatedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1184,21 +1184,21 @@ impl DisplayManagerResultWithState { pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1274,14 +1274,14 @@ impl DisplayModeInfo { pub fn SourceResolution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStereo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStereo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1290,7 +1290,7 @@ impl DisplayModeInfo { pub fn SourcePixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourcePixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1299,7 +1299,7 @@ impl DisplayModeInfo { pub fn TargetResolution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1308,21 +1308,21 @@ impl DisplayModeInfo { pub fn PresentationRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInterlaced(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInterlaced)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetWireFormatSupportedBitsPerChannel(&self, encoding: DisplayWireFormatPixelEncoding) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWireFormatSupportedBitsPerChannel)(::windows::core::Interface::as_raw(this), encoding, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1332,7 +1332,7 @@ impl DisplayModeInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWireFormatSupported)(::windows::core::Interface::as_raw(this), wireformat.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1341,7 +1341,7 @@ impl DisplayModeInfo { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1350,7 +1350,7 @@ impl DisplayModeInfo { pub fn PhysicalPresentationRate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalPresentationRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1486,21 +1486,21 @@ impl DisplayPath { pub fn View(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).View)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Target(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1509,7 +1509,7 @@ impl DisplayPath { pub fn SourceResolution(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1528,7 +1528,7 @@ impl DisplayPath { pub fn SourcePixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourcePixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1541,7 +1541,7 @@ impl DisplayPath { pub fn IsStereo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStereo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1554,7 +1554,7 @@ impl DisplayPath { pub fn TargetResolution(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1573,7 +1573,7 @@ impl DisplayPath { pub fn PresentationRate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1592,7 +1592,7 @@ impl DisplayPath { pub fn IsInterlaced(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInterlaced)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1609,7 +1609,7 @@ impl DisplayPath { pub fn WireFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WireFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1623,7 +1623,7 @@ impl DisplayPath { pub fn Rotation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rotation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1634,7 +1634,7 @@ impl DisplayPath { pub fn Scaling(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scaling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1647,7 +1647,7 @@ impl DisplayPath { pub fn FindModes(&self, flags: DisplayModeQueryOptions) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindModes)(::windows::core::Interface::as_raw(this), flags, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1663,7 +1663,7 @@ impl DisplayPath { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1672,7 +1672,7 @@ impl DisplayPath { pub fn PhysicalPresentationRate(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalPresentationRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1917,14 +1917,14 @@ impl DisplayPrimaryDescription { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1933,7 +1933,7 @@ impl DisplayPrimaryDescription { pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1942,14 +1942,14 @@ impl DisplayPrimaryDescription { pub fn ColorSpace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStereo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStereo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1958,7 +1958,7 @@ impl DisplayPrimaryDescription { pub fn MultisampleDescription(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MultisampleDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1967,7 +1967,7 @@ impl DisplayPrimaryDescription { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1975,7 +1975,7 @@ impl DisplayPrimaryDescription { #[cfg(feature = "Graphics_DirectX_Direct3D11")] pub fn CreateInstance(width: u32, height: u32, pixelformat: super::super::super::Graphics::DirectX::DirectXPixelFormat, colorspace: super::super::super::Graphics::DirectX::DirectXColorSpace, isstereo: bool, multisampledescription: super::super::super::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription) -> ::windows::core::Result { Self::IDisplayPrimaryDescriptionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), width, height, pixelformat, colorspace, isstereo, multisampledescription, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1987,7 +1987,7 @@ impl DisplayPrimaryDescription { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDisplayPrimaryDescriptionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithProperties)(::windows::core::Interface::as_raw(this), extraproperties.try_into().map_err(|e| e.into())?.abi(), width, height, pixelformat, colorspace, isstereo, multisampledescription, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2237,14 +2237,14 @@ impl DisplaySource { pub fn AdapterId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdapterId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2253,14 +2253,14 @@ impl DisplaySource { pub fn GetMetadata(&self, key: ::windows::core::GUID) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMetadata)(::windows::core::Interface::as_raw(this), key, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2272,7 +2272,7 @@ impl DisplaySource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2389,14 +2389,14 @@ impl DisplayState { pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2405,7 +2405,7 @@ impl DisplayState { pub fn Targets(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Targets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2414,7 +2414,7 @@ impl DisplayState { pub fn Views(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Views)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2423,7 +2423,7 @@ impl DisplayState { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2433,7 +2433,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectTarget)(::windows::core::Interface::as_raw(this), target.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2444,7 +2444,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectTargetToView)(::windows::core::Interface::as_raw(this), target.into().abi(), view.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2455,7 +2455,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanConnectTargetToView)(::windows::core::Interface::as_raw(this), target.into().abi(), view.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2465,7 +2465,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetViewForTarget)(::windows::core::Interface::as_raw(this), target.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2475,7 +2475,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPathForTarget)(::windows::core::Interface::as_raw(this), target.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2489,21 +2489,21 @@ impl DisplayState { pub fn TryFunctionalize(&self, options: DisplayStateFunctionalizeOptions) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryFunctionalize)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryApply(&self, options: DisplayStateApplyOptions) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryApply)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2704,14 +2704,14 @@ impl DisplayStateOperationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -2891,70 +2891,70 @@ impl DisplayTarget { pub fn Adapter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Adapter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceInterfacePath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInterfacePath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AdapterRelativeId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdapterRelativeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsConnected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVirtualModeEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVirtualModeEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVirtualTopologyEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVirtualTopologyEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsageKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsageKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MonitorPersistence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonitorPersistence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StableMonitorId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StableMonitorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TryGetMonitor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetMonitor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2963,14 +2963,14 @@ impl DisplayTarget { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsStale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2980,7 +2980,7 @@ impl DisplayTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSame)(::windows::core::Interface::as_raw(this), othertarget.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2990,7 +2990,7 @@ impl DisplayTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), othertarget.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3188,7 +3188,7 @@ impl DisplayTaskPool { pub fn CreateTask(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTask)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3207,7 +3207,7 @@ impl DisplayTaskPool { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryExecuteTask)(::windows::core::Interface::as_raw(this), task.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3281,21 +3281,21 @@ impl DisplayTaskResult { pub fn PresentStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PresentId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourceStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3405,7 +3405,7 @@ impl DisplayView { pub fn Paths(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Paths)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3414,7 +3414,7 @@ impl DisplayView { pub fn ContentResolution(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3440,7 +3440,7 @@ impl DisplayView { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3514,35 +3514,35 @@ impl DisplayWireFormat { pub fn PixelEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitsPerChannel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitsPerChannel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorSpace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Eotf(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Eotf)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HdrMetadata(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HdrMetadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3551,13 +3551,13 @@ impl DisplayWireFormat { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateInstance(pixelencoding: DisplayWireFormatPixelEncoding, bitsperchannel: i32, colorspace: DisplayWireFormatColorSpace, eotf: DisplayWireFormatEotf, hdrmetadata: DisplayWireFormatHdrMetadata) -> ::windows::core::Result { Self::IDisplayWireFormatFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), pixelencoding, bitsperchannel, colorspace, eotf, hdrmetadata, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3569,7 +3569,7 @@ impl DisplayWireFormat { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDisplayWireFormatStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithProperties)(::windows::core::Interface::as_raw(this), extraproperties.try_into().map_err(|e| e.into())?.abi(), pixelencoding, bitsperchannel, colorspace, eotf, hdrmetadata, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Display/mod.rs b/crates/libs/windows/src/Windows/Devices/Display/mod.rs index c024ce185d..07534d68d4 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/mod.rs @@ -7,35 +7,35 @@ impl DisplayMonitor { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ConnectionKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhysicalConnector(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalConnector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayAdapterDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayAdapterDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -44,21 +44,21 @@ impl DisplayMonitor { pub fn DisplayAdapterId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayAdapterId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayAdapterTargetId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayAdapterTargetId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsageKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsageKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -67,7 +67,7 @@ impl DisplayMonitor { pub fn NativeResolutionInRawPixels(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NativeResolutionInRawPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -76,21 +76,21 @@ impl DisplayMonitor { pub fn PhysicalSizeInInches(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalSizeInInches)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RawDpiX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawDpiX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RawDpiY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawDpiY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -99,7 +99,7 @@ impl DisplayMonitor { pub fn RedPrimary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedPrimary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -108,7 +108,7 @@ impl DisplayMonitor { pub fn GreenPrimary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GreenPrimary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -117,7 +117,7 @@ impl DisplayMonitor { pub fn BluePrimary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluePrimary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -126,48 +126,48 @@ impl DisplayMonitor { pub fn WhitePoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WhitePoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxLuminanceInNits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxLuminanceInNits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinLuminanceInNits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinLuminanceInNits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxAverageFullFrameLuminanceInNits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAverageFullFrameLuminanceInNits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDescriptor(&self, descriptorkind: DisplayMonitorDescriptorKind) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDescriptor)(::windows::core::Interface::as_raw(this), descriptorkind, ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn IsDolbyVisionSupportedInHdrMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDolbyVisionSupportedInHdrMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IDisplayMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -178,7 +178,7 @@ impl DisplayMonitor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDisplayMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -189,7 +189,7 @@ impl DisplayMonitor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDisplayMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromInterfaceIdAsync)(::windows::core::Interface::as_raw(this), deviceinterfaceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs index c52f56a0e0..bb9dda8ef4 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs @@ -129,14 +129,14 @@ impl PnpObject { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -145,7 +145,7 @@ impl PnpObject { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -165,7 +165,7 @@ impl PnpObject { E1: ::std::convert::Into<::windows::core::Error>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIdAsync)(::windows::core::Interface::as_raw(this), r#type, id.into().abi(), requestedproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -177,7 +177,7 @@ impl PnpObject { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), r#type, requestedproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -190,7 +190,7 @@ impl PnpObject { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncAqsFilter)(::windows::core::Interface::as_raw(this), r#type, requestedproperties.try_into().map_err(|e| e.into())?.abi(), aqsfilter.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -202,7 +202,7 @@ impl PnpObject { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), r#type, requestedproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -215,7 +215,7 @@ impl PnpObject { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcherAqsFilter)(::windows::core::Interface::as_raw(this), r#type, requestedproperties.try_into().map_err(|e| e.into())?.abi(), aqsfilter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -298,7 +298,7 @@ impl PnpObjectCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -307,7 +307,7 @@ impl PnpObjectCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -316,7 +316,7 @@ impl PnpObjectCollection { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -328,7 +328,7 @@ impl PnpObjectCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -337,7 +337,7 @@ impl PnpObjectCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -527,14 +527,14 @@ impl PnpObjectUpdate { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -543,7 +543,7 @@ impl PnpObjectUpdate { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -622,7 +622,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -640,7 +640,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -658,7 +658,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -676,7 +676,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -694,7 +694,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -707,7 +707,7 @@ impl PnpObjectWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index ef03e519ce..bfc7cd696b 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -7,14 +7,14 @@ impl DeviceAccessChangedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -93,7 +93,7 @@ impl DeviceAccessInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -106,7 +106,7 @@ impl DeviceAccessInformation { pub fn CurrentStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -115,19 +115,19 @@ impl DeviceAccessInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDeviceAccessInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromDeviceClassId(deviceclassid: ::windows::core::GUID) -> ::windows::core::Result { Self::IDeviceAccessInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDeviceClassId)(::windows::core::Interface::as_raw(this), deviceclassid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromDeviceClass(deviceclass: DeviceClass) -> ::windows::core::Result { Self::IDeviceAccessInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDeviceClass)(::windows::core::Interface::as_raw(this), deviceclass, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -281,7 +281,7 @@ impl DeviceConnectionChangeTriggerDetails { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -355,7 +355,7 @@ impl DeviceDisconnectButtonClickedEventArgs { pub fn Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -429,35 +429,35 @@ impl DeviceInformation { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EnclosureLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnclosureLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -466,7 +466,7 @@ impl DeviceInformation { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -482,7 +482,7 @@ impl DeviceInformation { pub fn GetThumbnailAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -491,21 +491,21 @@ impl DeviceInformation { pub fn GetGlyphThumbnailAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGlyphThumbnailAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pairing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pairing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -516,7 +516,7 @@ impl DeviceInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -529,7 +529,7 @@ impl DeviceInformation { E1: ::std::convert::Into<::windows::core::Error>, { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIdAsyncAdditionalProperties)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), additionalproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -537,7 +537,7 @@ impl DeviceInformation { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result> { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -545,7 +545,7 @@ impl DeviceInformation { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncDeviceClass(deviceclass: DeviceClass) -> ::windows::core::Result> { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncDeviceClass)(::windows::core::Interface::as_raw(this), deviceclass, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -556,7 +556,7 @@ impl DeviceInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncAqsFilter)(::windows::core::Interface::as_raw(this), aqsfilter.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -569,19 +569,19 @@ impl DeviceInformation { E1: ::std::convert::Into<::windows::core::Error>, { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncAqsFilterAndAdditionalProperties)(::windows::core::Interface::as_raw(this), aqsfilter.into().abi(), additionalproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn CreateWatcher() -> ::windows::core::Result { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWatcherDeviceClass(deviceclass: DeviceClass) -> ::windows::core::Result { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcherDeviceClass)(::windows::core::Interface::as_raw(this), deviceclass, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -590,7 +590,7 @@ impl DeviceInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcherAqsFilter)(::windows::core::Interface::as_raw(this), aqsfilter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -603,13 +603,13 @@ impl DeviceInformation { E1: ::std::convert::Into<::windows::core::Error>, { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcherAqsFilterAndAdditionalProperties)(::windows::core::Interface::as_raw(this), aqsfilter.into().abi(), additionalproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetAqsFilterFromDeviceClass(deviceclass: DeviceClass) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IDeviceInformationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAqsFilterFromDeviceClass)(::windows::core::Interface::as_raw(this), deviceclass, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -622,7 +622,7 @@ impl DeviceInformation { E1: ::std::convert::Into<::windows::core::Error>, { Self::IDeviceInformationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIdAsyncWithKindAndAdditionalProperties)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), additionalproperties.try_into().map_err(|e| e.into())?.abi(), kind, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -635,7 +635,7 @@ impl DeviceInformation { E1: ::std::convert::Into<::windows::core::Error>, { Self::IDeviceInformationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncWithKindAqsFilterAndAdditionalProperties)(::windows::core::Interface::as_raw(this), aqsfilter.into().abi(), additionalproperties.try_into().map_err(|e| e.into())?.abi(), kind, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -648,7 +648,7 @@ impl DeviceInformation { E1: ::std::convert::Into<::windows::core::Error>, { Self::IDeviceInformationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcherWithKindAqsFilterAndAdditionalProperties)(::windows::core::Interface::as_raw(this), aqsfilter.into().abi(), additionalproperties.try_into().map_err(|e| e.into())?.abi(), kind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -736,7 +736,7 @@ impl DeviceInformationCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -745,7 +745,7 @@ impl DeviceInformationCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -754,7 +754,7 @@ impl DeviceInformationCollection { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -766,7 +766,7 @@ impl DeviceInformationCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -775,7 +775,7 @@ impl DeviceInformationCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -926,7 +926,7 @@ impl DeviceInformationCustomPairing { pub fn PairAsync(&self, pairingkindssupported: DevicePairingKinds) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PairAsync)(::windows::core::Interface::as_raw(this), pairingkindssupported, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -935,7 +935,7 @@ impl DeviceInformationCustomPairing { pub fn PairWithProtectionLevelAsync(&self, pairingkindssupported: DevicePairingKinds, minprotectionlevel: DevicePairingProtectionLevel) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PairWithProtectionLevelAsync)(::windows::core::Interface::as_raw(this), pairingkindssupported, minprotectionlevel, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -948,7 +948,7 @@ impl DeviceInformationCustomPairing { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PairWithProtectionLevelAndSettingsAsync)(::windows::core::Interface::as_raw(this), pairingkindssupported, minprotectionlevel, devicepairingsettings.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -960,7 +960,7 @@ impl DeviceInformationCustomPairing { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PairingRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1081,14 +1081,14 @@ impl DeviceInformationPairing { pub fn IsPaired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanPair(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPair)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1097,7 +1097,7 @@ impl DeviceInformationPairing { pub fn PairAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PairAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1106,21 +1106,21 @@ impl DeviceInformationPairing { pub fn PairWithProtectionLevelAsync(&self, minprotectionlevel: DevicePairingProtectionLevel) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PairWithProtectionLevelAsync)(::windows::core::Interface::as_raw(this), minprotectionlevel, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ProtectionLevel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Custom(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Custom)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1133,7 +1133,7 @@ impl DeviceInformationPairing { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PairWithProtectionLevelAndSettingsAsync)(::windows::core::Interface::as_raw(this), minprotectionlevel, devicepairingsettings.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1142,19 +1142,19 @@ impl DeviceInformationPairing { pub fn UnpairAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnpairAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryRegisterForAllInboundPairingRequests(pairingkindssupported: DevicePairingKinds) -> ::windows::core::Result { Self::IDeviceInformationPairingStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRegisterForAllInboundPairingRequests)(::windows::core::Interface::as_raw(this), pairingkindssupported, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TryRegisterForAllInboundPairingRequestsWithProtectionLevel(pairingkindssupported: DevicePairingKinds, minprotectionlevel: DevicePairingProtectionLevel) -> ::windows::core::Result { Self::IDeviceInformationPairingStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRegisterForAllInboundPairingRequestsWithProtectionLevel)(::windows::core::Interface::as_raw(this), pairingkindssupported, minprotectionlevel, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1238,7 +1238,7 @@ impl DeviceInformationUpdate { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1247,14 +1247,14 @@ impl DeviceInformationUpdate { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1430,21 +1430,21 @@ impl DevicePairingRequestedEventArgs { pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PairingKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PairingKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pin(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1464,7 +1464,7 @@ impl DevicePairingRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1547,14 +1547,14 @@ impl DevicePairingResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProtectionLevelUsed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionLevelUsed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1687,14 +1687,14 @@ impl DevicePicker { pub fn Filter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Filter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Appearance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Appearance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1703,7 +1703,7 @@ impl DevicePicker { pub fn RequestedProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1715,7 +1715,7 @@ impl DevicePicker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceSelected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1733,7 +1733,7 @@ impl DevicePicker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisconnectButtonClicked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1751,7 +1751,7 @@ impl DevicePicker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DevicePickerDismissed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1778,7 +1778,7 @@ impl DevicePicker { pub fn PickSingleDeviceAsync(&self, selection: super::super::Foundation::Rect) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleDeviceAsync)(::windows::core::Interface::as_raw(this), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1787,7 +1787,7 @@ impl DevicePicker { pub fn PickSingleDeviceAsyncWithPlacement(&self, selection: super::super::Foundation::Rect, placement: super::super::UI::Popups::Placement) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleDeviceAsyncWithPlacement)(::windows::core::Interface::as_raw(this), selection, placement, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1873,7 +1873,7 @@ impl DevicePickerAppearance { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1889,7 +1889,7 @@ impl DevicePickerAppearance { pub fn ForegroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1904,7 +1904,7 @@ impl DevicePickerAppearance { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1919,7 +1919,7 @@ impl DevicePickerAppearance { pub fn AccentColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccentColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1934,7 +1934,7 @@ impl DevicePickerAppearance { pub fn SelectedForegroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1949,7 +1949,7 @@ impl DevicePickerAppearance { pub fn SelectedBackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1964,7 +1964,7 @@ impl DevicePickerAppearance { pub fn SelectedAccentColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedAccentColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2110,7 +2110,7 @@ impl DevicePickerFilter { pub fn SupportedDeviceClasses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedDeviceClasses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2119,7 +2119,7 @@ impl DevicePickerFilter { pub fn SupportedDeviceSelectors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedDeviceSelectors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2193,7 +2193,7 @@ impl DeviceSelectedEventArgs { pub fn SelectedDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2277,7 +2277,7 @@ impl DeviceThumbnail { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2290,7 +2290,7 @@ impl DeviceThumbnail { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2303,7 +2303,7 @@ impl DeviceThumbnail { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2312,7 +2312,7 @@ impl DeviceThumbnail { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2321,7 +2321,7 @@ impl DeviceThumbnail { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2336,7 +2336,7 @@ impl DeviceThumbnail { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2345,7 +2345,7 @@ impl DeviceThumbnail { pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2354,7 +2354,7 @@ impl DeviceThumbnail { pub fn Position(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2369,7 +2369,7 @@ impl DeviceThumbnail { pub fn CloneStream(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2378,7 +2378,7 @@ impl DeviceThumbnail { pub fn CanRead(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2387,7 +2387,7 @@ impl DeviceThumbnail { pub fn CanWrite(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2608,7 +2608,7 @@ impl DeviceUnpairingResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2724,7 +2724,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2742,7 +2742,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2760,7 +2760,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2778,7 +2778,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2796,7 +2796,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2809,7 +2809,7 @@ impl DeviceWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2830,7 +2830,7 @@ impl DeviceWatcher { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBackgroundTrigger)(::windows::core::Interface::as_raw(this), requestedeventkinds.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2904,21 +2904,21 @@ impl DeviceWatcherEvent { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceInformationUpdate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformationUpdate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3067,7 +3067,7 @@ impl DeviceWatcherTriggerDetails { pub fn DeviceWatcherEvents(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceWatcherEvents)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3141,28 +3141,28 @@ impl EnclosureLocation { pub fn InDock(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InDock)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InLid(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InLid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Panel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Panel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationAngleInDegreesClockwise(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegreesClockwise)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs index d999d76a1a..3179b46e27 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs @@ -7,7 +7,7 @@ impl Geofence { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16,7 +16,7 @@ impl Geofence { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -25,35 +25,35 @@ impl Geofence { pub fn DwellTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DwellTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MonitoredStates(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonitoredStates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Geoshape(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Geoshape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SingleUse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SingleUse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -64,7 +64,7 @@ impl Geofence { E1: ::std::convert::Into<::windows::core::Error>, { Self::IGeofenceFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), id.into().abi(), geoshape.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -75,7 +75,7 @@ impl Geofence { E1: ::std::convert::Into<::windows::core::Error>, { Self::IGeofenceFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithMonitorStates)(::windows::core::Interface::as_raw(this), id.into().abi(), geoshape.try_into().map_err(|e| e.into())?.abi(), monitoredstates, singleuse, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -88,7 +88,7 @@ impl Geofence { E1: ::std::convert::Into<::windows::core::Error>, { Self::IGeofenceFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithMonitorStatesAndDwellTime)(::windows::core::Interface::as_raw(this), id.into().abi(), geoshape.try_into().map_err(|e| e.into())?.abi(), monitoredstates, singleuse, dwelltime, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -101,7 +101,7 @@ impl Geofence { E1: ::std::convert::Into<::windows::core::Error>, { Self::IGeofenceFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithMonitorStatesDwellTimeStartTimeAndDuration)(::windows::core::Interface::as_raw(this), id.into().abi(), geoshape.try_into().map_err(|e| e.into())?.abi(), monitoredstates, singleuse, dwelltime, starttime, duration, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -180,7 +180,7 @@ impl GeofenceMonitor { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -189,14 +189,14 @@ impl GeofenceMonitor { pub fn Geofences(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Geofences)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn LastKnownGeoposition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastKnownGeoposition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -208,7 +208,7 @@ impl GeofenceMonitor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeofenceStateChanged)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -223,7 +223,7 @@ impl GeofenceMonitor { pub fn ReadReports(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadReports)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -235,7 +235,7 @@ impl GeofenceMonitor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -247,7 +247,7 @@ impl GeofenceMonitor { } pub fn Current() -> ::windows::core::Result { Self::IGeofenceMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -462,28 +462,28 @@ impl GeofenceStateChangeReport { pub fn NewState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Geofence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Geofence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Geoposition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Geoposition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemovalReason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovalReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index 2ec60934ef..a5134d1f2c 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -83,28 +83,28 @@ impl CivicAddress { pub fn Country(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Country)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn City(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).City)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PostalCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostalCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -113,7 +113,7 @@ impl CivicAddress { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -187,53 +187,53 @@ impl GeoboundingBox { pub fn NorthwestCorner(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NorthwestCorner)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SoutheastCorner(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoutheastCorner)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Center(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Center)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinAltitude(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinAltitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxAltitude(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAltitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(northwestcorner: BasicGeoposition, southeastcorner: BasicGeoposition) -> ::windows::core::Result { Self::IGeoboundingBoxFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), northwestcorner, southeastcorner, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWithAltitudeReference(northwestcorner: BasicGeoposition, southeastcorner: BasicGeoposition, altitudereferencesystem: AltitudeReferenceSystem) -> ::windows::core::Result { Self::IGeoboundingBoxFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAltitudeReference)(::windows::core::Interface::as_raw(this), northwestcorner, southeastcorner, altitudereferencesystem, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWithAltitudeReferenceAndSpatialReference(northwestcorner: BasicGeoposition, southeastcorner: BasicGeoposition, altitudereferencesystem: AltitudeReferenceSystem, spatialreferenceid: u32) -> ::windows::core::Result { Self::IGeoboundingBoxFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAltitudeReferenceAndSpatialReference)(::windows::core::Interface::as_raw(this), northwestcorner, southeastcorner, altitudereferencesystem, spatialreferenceid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -245,7 +245,7 @@ impl GeoboundingBox { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGeoboundingBoxStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCompute)(::windows::core::Interface::as_raw(this), positions.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -257,7 +257,7 @@ impl GeoboundingBox { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGeoboundingBoxStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeWithAltitudeReference)(::windows::core::Interface::as_raw(this), positions.try_into().map_err(|e| e.into())?.abi(), altituderefsystem, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -269,28 +269,28 @@ impl GeoboundingBox { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGeoboundingBoxStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeWithAltitudeReferenceAndSpatialReference)(::windows::core::Interface::as_raw(this), positions.try_into().map_err(|e| e.into())?.abi(), altituderefsystem, spatialreferenceid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GeoshapeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeoshapeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SpatialReferenceId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpatialReferenceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AltitudeReferenceSystem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AltitudeReferenceSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -393,53 +393,53 @@ impl Geocircle { pub fn Center(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Center)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Radius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Radius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(position: BasicGeoposition, radius: f64) -> ::windows::core::Result { Self::IGeocircleFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), position, radius, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWithAltitudeReferenceSystem(position: BasicGeoposition, radius: f64, altitudereferencesystem: AltitudeReferenceSystem) -> ::windows::core::Result { Self::IGeocircleFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAltitudeReferenceSystem)(::windows::core::Interface::as_raw(this), position, radius, altitudereferencesystem, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWithAltitudeReferenceSystemAndSpatialReferenceId(position: BasicGeoposition, radius: f64, altitudereferencesystem: AltitudeReferenceSystem, spatialreferenceid: u32) -> ::windows::core::Result { Self::IGeocircleFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAltitudeReferenceSystemAndSpatialReferenceId)(::windows::core::Interface::as_raw(this), position, radius, altitudereferencesystem, spatialreferenceid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GeoshapeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeoshapeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SpatialReferenceId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpatialReferenceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AltitudeReferenceSystem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AltitudeReferenceSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -539,7 +539,7 @@ impl Geocoordinate { pub fn Latitude(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Latitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -548,7 +548,7 @@ impl Geocoordinate { pub fn Longitude(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Longitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -557,14 +557,14 @@ impl Geocoordinate { pub fn Altitude(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Altitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Accuracy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Accuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -573,7 +573,7 @@ impl Geocoordinate { pub fn AltitudeAccuracy(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AltitudeAccuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -582,7 +582,7 @@ impl Geocoordinate { pub fn Heading(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Heading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -591,7 +591,7 @@ impl Geocoordinate { pub fn Speed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Speed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -600,28 +600,28 @@ impl Geocoordinate { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Point(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Point)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PositionSource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SatelliteData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SatelliteData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -630,14 +630,14 @@ impl Geocoordinate { pub fn PositionSourceTimestamp(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionSourceTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsRemoteSource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRemoteSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -713,7 +713,7 @@ impl GeocoordinateSatelliteData { pub fn PositionDilutionOfPrecision(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionDilutionOfPrecision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -722,7 +722,7 @@ impl GeocoordinateSatelliteData { pub fn HorizontalDilutionOfPrecision(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HorizontalDilutionOfPrecision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -731,7 +731,7 @@ impl GeocoordinateSatelliteData { pub fn VerticalDilutionOfPrecision(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerticalDilutionOfPrecision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -740,7 +740,7 @@ impl GeocoordinateSatelliteData { pub fn GeometricDilutionOfPrecision(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeometricDilutionOfPrecision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -749,7 +749,7 @@ impl GeocoordinateSatelliteData { pub fn TimeDilutionOfPrecision(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeDilutionOfPrecision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -865,7 +865,7 @@ impl Geolocator { pub fn DesiredAccuracy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredAccuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -876,7 +876,7 @@ impl Geolocator { pub fn MovementThreshold(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MovementThreshold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -887,7 +887,7 @@ impl Geolocator { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -898,7 +898,7 @@ impl Geolocator { pub fn LocationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -907,7 +907,7 @@ impl Geolocator { pub fn GetGeopositionAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGeopositionAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -916,7 +916,7 @@ impl Geolocator { pub fn GetGeopositionAsyncWithAgeAndTimeout(&self, maximumage: super::super::Foundation::TimeSpan, timeout: super::super::Foundation::TimeSpan) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGeopositionAsyncWithAgeAndTimeout)(::windows::core::Interface::as_raw(this), maximumage, timeout, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -928,7 +928,7 @@ impl Geolocator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -946,7 +946,7 @@ impl Geolocator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -964,7 +964,7 @@ impl Geolocator { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IGeolocatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -972,7 +972,7 @@ impl Geolocator { #[cfg(feature = "Foundation_Collections")] pub fn GetGeopositionHistoryAsync(starttime: super::super::Foundation::DateTime) -> ::windows::core::Result>> { Self::IGeolocatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGeopositionHistoryAsync)(::windows::core::Interface::as_raw(this), starttime, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -980,13 +980,13 @@ impl Geolocator { #[cfg(feature = "Foundation_Collections")] pub fn GetGeopositionHistoryWithDurationAsync(starttime: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan) -> ::windows::core::Result>> { Self::IGeolocatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGeopositionHistoryWithDurationAsync)(::windows::core::Interface::as_raw(this), starttime, duration, result__.as_mut_ptr()).from_abi::>>(result__) }) } pub fn IsDefaultGeopositionRecommended() -> ::windows::core::Result { Self::IGeolocatorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDefaultGeopositionRecommended)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1003,7 +1003,7 @@ impl Geolocator { #[cfg(feature = "Foundation")] pub fn DefaultGeoposition() -> ::windows::core::Result> { Self::IGeolocatorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultGeoposition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1012,7 +1012,7 @@ impl Geolocator { pub fn DesiredAccuracyInMeters(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredAccuracyInMeters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1108,7 +1108,7 @@ impl Geopath { pub fn Positions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Positions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1120,7 +1120,7 @@ impl Geopath { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGeopathFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), positions.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1132,7 +1132,7 @@ impl Geopath { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGeopathFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAltitudeReference)(::windows::core::Interface::as_raw(this), positions.try_into().map_err(|e| e.into())?.abi(), altitudereferencesystem, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1144,28 +1144,28 @@ impl Geopath { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGeopathFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAltitudeReferenceAndSpatialReference)(::windows::core::Interface::as_raw(this), positions.try_into().map_err(|e| e.into())?.abi(), altitudereferencesystem, spatialreferenceid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GeoshapeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeoshapeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SpatialReferenceId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpatialReferenceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AltitudeReferenceSystem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AltitudeReferenceSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1263,46 +1263,46 @@ impl Geopoint { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(position: BasicGeoposition) -> ::windows::core::Result { Self::IGeopointFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWithAltitudeReferenceSystem(position: BasicGeoposition, altitudereferencesystem: AltitudeReferenceSystem) -> ::windows::core::Result { Self::IGeopointFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAltitudeReferenceSystem)(::windows::core::Interface::as_raw(this), position, altitudereferencesystem, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWithAltitudeReferenceSystemAndSpatialReferenceId(position: BasicGeoposition, altitudereferencesystem: AltitudeReferenceSystem, spatialreferenceid: u32) -> ::windows::core::Result { Self::IGeopointFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAltitudeReferenceSystemAndSpatialReferenceId)(::windows::core::Interface::as_raw(this), position, altitudereferencesystem, spatialreferenceid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GeoshapeType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeoshapeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SpatialReferenceId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpatialReferenceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AltitudeReferenceSystem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AltitudeReferenceSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1400,21 +1400,21 @@ impl Geoposition { pub fn Coordinate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Coordinate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CivicAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CivicAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VenueData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VenueData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1524,14 +1524,14 @@ impl Geovisit { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StateChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1540,7 +1540,7 @@ impl Geovisit { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1621,7 +1621,7 @@ impl GeovisitMonitor { pub fn MonitoringScope(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonitoringScope)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1641,7 +1641,7 @@ impl GeovisitMonitor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisitStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1655,7 +1655,7 @@ impl GeovisitMonitor { #[cfg(feature = "Foundation")] pub fn GetLastReportAsync() -> ::windows::core::Result> { Self::IGeovisitMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLastReportAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1734,7 +1734,7 @@ impl GeovisitStateChangedEventArgs { pub fn Visit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1810,7 +1810,7 @@ impl GeovisitTriggerDetails { pub fn ReadReports(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadReports)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2346,21 +2346,21 @@ impl IGeoshape { pub fn GeoshapeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeoshapeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SpatialReferenceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpatialReferenceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AltitudeReferenceSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AltitudeReferenceSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2597,7 +2597,7 @@ impl PositionChangedEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2748,7 +2748,7 @@ impl StatusChangedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2822,14 +2822,14 @@ impl VenueData { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Level(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Level)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } 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 7e5c3dd04c..b650388327 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs @@ -5,13 +5,13 @@ impl GpioPinProviderValueChangedEventArgs { pub fn Edge(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Edge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(edge: ProviderGpioPinEdge) -> ::windows::core::Result { Self::IGpioPinProviderValueChangedEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), edge, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -90,14 +90,14 @@ impl IGpioControllerProvider { pub fn PinCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpenPinProvider(&self, pin: i32, sharingmode: ProviderGpioSharingMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenPinProvider)(::windows::core::Interface::as_raw(this), pin, sharingmode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -178,7 +178,7 @@ impl IGpioPinProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -193,7 +193,7 @@ impl IGpioPinProvider { pub fn DebounceTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DebounceTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -206,28 +206,28 @@ impl IGpioPinProvider { pub fn PinNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SharingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDriveModeSupported(&self, drivemode: ProviderGpioPinDriveMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDriveModeSupported)(::windows::core::Interface::as_raw(this), drivemode, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDriveMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDriveMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -242,7 +242,7 @@ impl IGpioPinProvider { pub fn Read(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Read)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -367,7 +367,7 @@ impl IGpioProvider { pub fn GetControllers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs index e3db8f23c1..0f532f5d25 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs @@ -64,14 +64,14 @@ impl GpioChangeCounter { pub fn Polarity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Polarity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStarted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStarted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -88,7 +88,7 @@ impl GpioChangeCounter { pub fn Read(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Read)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -97,7 +97,7 @@ impl GpioChangeCounter { pub fn Reset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -106,7 +106,7 @@ impl GpioChangeCounter { P0: ::std::convert::Into<::windows::core::InParam<'a, GpioPin>>, { Self::IGpioChangeCounterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), pin.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -248,28 +248,28 @@ impl GpioChangeReader { pub fn Capacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEmpty(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOverflowed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOverflowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -280,14 +280,14 @@ impl GpioChangeReader { pub fn Polarity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Polarity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStarted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStarted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -308,7 +308,7 @@ impl GpioChangeReader { pub fn GetNextItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNextItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -317,7 +317,7 @@ impl GpioChangeReader { pub fn PeekNextItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeekNextItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -326,7 +326,7 @@ impl GpioChangeReader { pub fn GetAllItems(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -335,7 +335,7 @@ impl GpioChangeReader { pub fn WaitForItemsAsync(&self, count: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WaitForItemsAsync)(::windows::core::Interface::as_raw(this), count, result__.as_mut_ptr()).from_abi::(result__) } } @@ -344,7 +344,7 @@ impl GpioChangeReader { P0: ::std::convert::Into<::windows::core::InParam<'a, GpioPin>>, { Self::IGpioChangeReaderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), pin.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -353,7 +353,7 @@ impl GpioChangeReader { P0: ::std::convert::Into<::windows::core::InParam<'a, GpioPin>>, { Self::IGpioChangeReaderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithCapacity)(::windows::core::Interface::as_raw(this), pin.into().abi(), mincapacity, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -501,34 +501,34 @@ impl GpioController { pub fn PinCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpenPin(&self, pinnumber: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenPin)(::windows::core::Interface::as_raw(this), pinnumber, result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpenPinWithSharingMode(&self, pinnumber: i32, sharingmode: GpioSharingMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenPinWithSharingMode)(::windows::core::Interface::as_raw(this), pinnumber, sharingmode, result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryOpenPin(&self, pinnumber: i32, sharingmode: GpioSharingMode, pin: &mut ::core::option::Option, openstatus: &mut GpioOpenStatus) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryOpenPin)(::windows::core::Interface::as_raw(this), pinnumber, sharingmode, pin as *mut _ as _, openstatus, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IGpioControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -540,7 +540,7 @@ impl GpioController { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGpioControllerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllersAsync)(::windows::core::Interface::as_raw(this), provider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -548,7 +548,7 @@ impl GpioController { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IGpioControllerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -680,7 +680,7 @@ impl GpioPin { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -695,7 +695,7 @@ impl GpioPin { pub fn DebounceTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DebounceTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -708,28 +708,28 @@ impl GpioPin { pub fn PinNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SharingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDriveModeSupported(&self, drivemode: GpioPinDriveMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDriveModeSupported)(::windows::core::Interface::as_raw(this), drivemode, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDriveMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDriveMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -744,7 +744,7 @@ impl GpioPin { pub fn Read(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Read)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -948,7 +948,7 @@ impl GpioPinValueChangedEventArgs { pub fn Edge(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Edge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs index 166691a5c4..c6782183c3 100644 --- a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs @@ -134,91 +134,91 @@ pub struct KnownSimpleHapticsControllerWaveforms; impl KnownSimpleHapticsControllerWaveforms { pub fn Click() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Click)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BuzzContinuous() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuzzContinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RumbleContinuous() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RumbleContinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Press() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Press)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Release() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Release)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BrushContinuous() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrushContinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ChiselMarkerContinuous() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChiselMarkerContinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn EraserContinuous() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EraserContinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Error() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GalaxyPenContinuous() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GalaxyPenContinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Hover() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hover)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InkContinuous() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InkContinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MarkerContinuous() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkerContinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PencilContinuous() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PencilContinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Success() -> ::windows::core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Success)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -243,7 +243,7 @@ impl SimpleHapticsController { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -252,35 +252,35 @@ impl SimpleHapticsController { pub fn SupportedFeedback(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedFeedback)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsIntensitySupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIntensitySupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPlayCountSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPlayCountSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPlayDurationSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPlayDurationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReplayPauseIntervalSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReplayPauseIntervalSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -390,7 +390,7 @@ impl SimpleHapticsControllerFeedback { pub fn Waveform(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Waveform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -399,7 +399,7 @@ impl SimpleHapticsControllerFeedback { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -509,14 +509,14 @@ impl VibrationDevice { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -524,13 +524,13 @@ impl VibrationDevice { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -541,7 +541,7 @@ impl VibrationDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -549,7 +549,7 @@ impl VibrationDevice { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -557,7 +557,7 @@ impl VibrationDevice { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs index 11ac14eff1..db7a832bb4 100644 --- a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs @@ -5,28 +5,28 @@ impl HidBooleanControl { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsagePage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsagePage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsageId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37,7 +37,7 @@ impl HidBooleanControl { pub fn ControlDescription(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -111,35 +111,35 @@ impl HidBooleanControlDescription { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsagePage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsagePage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsageId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -148,14 +148,14 @@ impl HidBooleanControlDescription { pub fn ParentCollections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentCollections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsAbsolute(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAbsolute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -229,28 +229,28 @@ impl HidCollection { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsagePage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsagePage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsageId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -370,35 +370,35 @@ impl HidDevice { pub fn VendorId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProductId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Version(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsagePage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsagePage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsageId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -407,7 +407,7 @@ impl HidDevice { pub fn GetInputReportAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputReportAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -416,7 +416,7 @@ impl HidDevice { pub fn GetInputReportByIdAsync(&self, reportid: u16) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputReportByIdAsync)(::windows::core::Interface::as_raw(this), reportid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -425,7 +425,7 @@ impl HidDevice { pub fn GetFeatureReportAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFeatureReportAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -434,35 +434,35 @@ impl HidDevice { pub fn GetFeatureReportByIdAsync(&self, reportid: u16) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFeatureReportByIdAsync)(::windows::core::Interface::as_raw(this), reportid, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateOutputReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOutputReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateOutputReportById(&self, reportid: u16) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOutputReportById)(::windows::core::Interface::as_raw(this), reportid, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateFeatureReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFeatureReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateFeatureReportById(&self, reportid: u16) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFeatureReportById)(::windows::core::Interface::as_raw(this), reportid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -474,7 +474,7 @@ impl HidDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendOutputReportAsync)(::windows::core::Interface::as_raw(this), outputreport.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -486,7 +486,7 @@ impl HidDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendFeatureReportAsync)(::windows::core::Interface::as_raw(this), featurereport.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -495,7 +495,7 @@ impl HidDevice { pub fn GetBooleanControlDescriptions(&self, reporttype: HidReportType, usagepage: u16, usageid: u16) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanControlDescriptions)(::windows::core::Interface::as_raw(this), reporttype, usagepage, usageid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -504,7 +504,7 @@ impl HidDevice { pub fn GetNumericControlDescriptions(&self, reporttype: HidReportType, usagepage: u16, usageid: u16) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumericControlDescriptions)(::windows::core::Interface::as_raw(this), reporttype, usagepage, usageid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -516,7 +516,7 @@ impl HidDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputReportReceived)(::windows::core::Interface::as_raw(this), reporthandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -528,13 +528,13 @@ impl HidDevice { } pub fn GetDeviceSelector(usagepage: u16, usageid: u16) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IHidDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorVidPid(usagepage: u16, usageid: u16, vendorid: u16, productid: u16) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IHidDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorVidPid)(::windows::core::Interface::as_raw(this), usagepage, usageid, vendorid, productid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -545,7 +545,7 @@ impl HidDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHidDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), accessmode, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -646,7 +646,7 @@ impl HidFeatureReport { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -655,7 +655,7 @@ impl HidFeatureReport { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -672,7 +672,7 @@ impl HidFeatureReport { pub fn GetBooleanControl(&self, usagepage: u16, usageid: u16) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanControl)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -682,14 +682,14 @@ impl HidFeatureReport { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanControlByDescription)(::windows::core::Interface::as_raw(this), controldescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetNumericControl(&self, usagepage: u16, usageid: u16) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumericControl)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -699,7 +699,7 @@ impl HidFeatureReport { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumericControlByDescription)(::windows::core::Interface::as_raw(this), controldescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -773,7 +773,7 @@ impl HidInputReport { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -782,7 +782,7 @@ impl HidInputReport { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -791,7 +791,7 @@ impl HidInputReport { pub fn ActivatedBooleanControls(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedBooleanControls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -800,14 +800,14 @@ impl HidInputReport { pub fn TransitionedBooleanControls(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransitionedBooleanControls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetBooleanControl(&self, usagepage: u16, usageid: u16) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanControl)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -817,14 +817,14 @@ impl HidInputReport { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanControlByDescription)(::windows::core::Interface::as_raw(this), controldescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetNumericControl(&self, usagepage: u16, usageid: u16) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumericControl)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -834,7 +834,7 @@ impl HidInputReport { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumericControlByDescription)(::windows::core::Interface::as_raw(this), controldescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -908,7 +908,7 @@ impl HidInputReportReceivedEventArgs { pub fn Report(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Report)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -982,35 +982,35 @@ impl HidNumericControl { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGrouped(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGrouped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsagePage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsagePage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsageId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1021,7 +1021,7 @@ impl HidNumericControl { pub fn ScaledValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaledValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1032,7 +1032,7 @@ impl HidNumericControl { pub fn ControlDescription(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1106,105 +1106,105 @@ impl HidNumericControlDescription { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsagePage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsagePage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsageId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LogicalMinimum(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogicalMinimum)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LogicalMaximum(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogicalMaximum)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhysicalMinimum(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalMinimum)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhysicalMaximum(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalMaximum)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UnitExponent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnitExponent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Unit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAbsolute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAbsolute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasNull(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNull)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1213,7 +1213,7 @@ impl HidNumericControlDescription { pub fn ParentCollections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentCollections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1287,7 +1287,7 @@ impl HidOutputReport { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1296,7 +1296,7 @@ impl HidOutputReport { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1313,7 +1313,7 @@ impl HidOutputReport { pub fn GetBooleanControl(&self, usagepage: u16, usageid: u16) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanControl)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1323,14 +1323,14 @@ impl HidOutputReport { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanControlByDescription)(::windows::core::Interface::as_raw(this), controldescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetNumericControl(&self, usagepage: u16, usageid: u16) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumericControl)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1340,7 +1340,7 @@ impl HidOutputReport { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumericControlByDescription)(::windows::core::Interface::as_raw(this), controldescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } 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 3ddf981c80..0f9169d533 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs @@ -8,7 +8,7 @@ impl II2cControllerProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceProvider)(::windows::core::Interface::as_raw(this), settings.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -83,7 +83,7 @@ impl II2cDeviceProvider { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -94,7 +94,7 @@ impl II2cDeviceProvider { pub fn WritePartial(&self, buffer: &[u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WritePartial)(::windows::core::Interface::as_raw(this), buffer.len() as u32, ::core::mem::transmute(buffer.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -105,7 +105,7 @@ impl II2cDeviceProvider { pub fn ReadPartial(&self, buffer: &mut [u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadPartial)(::windows::core::Interface::as_raw(this), buffer.len() as u32, ::core::mem::transmute_copy(&buffer), result__.as_mut_ptr()).from_abi::(result__) } } @@ -116,7 +116,7 @@ impl II2cDeviceProvider { pub fn WriteReadPartial(&self, writebuffer: &[u8], readbuffer: &mut [u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteReadPartial)(::windows::core::Interface::as_raw(this), writebuffer.len() as u32, ::core::mem::transmute(writebuffer.as_ptr()), readbuffer.len() as u32, ::core::mem::transmute_copy(&readbuffer), result__.as_mut_ptr()).from_abi::(result__) } } @@ -227,7 +227,7 @@ impl II2cProvider { pub fn GetControllersAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllersAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -357,7 +357,7 @@ impl ProviderI2cConnectionSettings { pub fn SlaveAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SlaveAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -368,7 +368,7 @@ impl ProviderI2cConnectionSettings { pub fn BusSpeed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BusSpeed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -379,7 +379,7 @@ impl ProviderI2cConnectionSettings { pub fn SharingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs index 3135b915c5..4807959419 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs @@ -41,7 +41,7 @@ impl I2cConnectionSettings { pub fn SlaveAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SlaveAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -52,7 +52,7 @@ impl I2cConnectionSettings { pub fn BusSpeed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BusSpeed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -63,7 +63,7 @@ impl I2cConnectionSettings { pub fn SharingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -73,7 +73,7 @@ impl I2cConnectionSettings { } pub fn Create(slaveaddress: i32) -> ::windows::core::Result { Self::II2cConnectionSettingsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), slaveaddress, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -155,7 +155,7 @@ impl I2cController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDevice)(::windows::core::Interface::as_raw(this), settings.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -167,7 +167,7 @@ impl I2cController { E0: ::std::convert::Into<::windows::core::Error>, { Self::II2cControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllersAsync)(::windows::core::Interface::as_raw(this), provider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -175,7 +175,7 @@ impl I2cController { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::II2cControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -260,14 +260,14 @@ impl I2cDevice { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ConnectionSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -278,7 +278,7 @@ impl I2cDevice { pub fn WritePartial(&self, buffer: &[u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WritePartial)(::windows::core::Interface::as_raw(this), buffer.len() as u32, ::core::mem::transmute(buffer.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -289,7 +289,7 @@ impl I2cDevice { pub fn ReadPartial(&self, buffer: &mut [u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadPartial)(::windows::core::Interface::as_raw(this), buffer.len() as u32, ::core::mem::transmute_copy(&buffer), result__.as_mut_ptr()).from_abi::(result__) } } @@ -300,13 +300,13 @@ impl I2cDevice { pub fn WriteReadPartial(&self, writebuffer: &[u8], readbuffer: &mut [u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteReadPartial)(::windows::core::Interface::as_raw(this), writebuffer.len() as u32, ::core::mem::transmute(writebuffer.as_ptr()), readbuffer.len() as u32, ::core::mem::transmute_copy(&readbuffer), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::II2cDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -315,7 +315,7 @@ impl I2cDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::II2cDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(::windows::core::Interface::as_raw(this), friendlyname.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -327,7 +327,7 @@ impl I2cDevice { P1: ::std::convert::Into<::windows::core::InParam<'a, I2cConnectionSettings>>, { Self::II2cDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), settings.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -621,7 +621,7 @@ impl II2cDeviceStatics { pub fn GetDeviceSelector(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -631,7 +631,7 @@ impl II2cDeviceStatics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(::windows::core::Interface::as_raw(this), friendlyname.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -644,7 +644,7 @@ impl II2cDeviceStatics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), settings.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs index 5c333a0dca..1581fdf4b7 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs @@ -42,28 +42,28 @@ impl GazeDevicePreview { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanTrackEyes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanTrackEyes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanTrackHead(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanTrackHead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConfigurationState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConfigurationState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -72,7 +72,7 @@ impl GazeDevicePreview { pub fn RequestCalibrationAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCalibrationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -81,7 +81,7 @@ impl GazeDevicePreview { pub fn GetNumericControlDescriptions(&self, usagepage: u16, usageid: u16) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNumericControlDescriptions)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -90,7 +90,7 @@ impl GazeDevicePreview { pub fn GetBooleanControlDescriptions(&self, usagepage: u16, usageid: u16) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanControlDescriptions)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -164,7 +164,7 @@ impl GazeDeviceWatcherAddedPreviewEventArgs { pub fn Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -243,7 +243,7 @@ impl GazeDeviceWatcherPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -261,7 +261,7 @@ impl GazeDeviceWatcherPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -279,7 +279,7 @@ impl GazeDeviceWatcherPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -297,7 +297,7 @@ impl GazeDeviceWatcherPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -385,7 +385,7 @@ impl GazeDeviceWatcherRemovedPreviewEventArgs { pub fn Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -459,7 +459,7 @@ impl GazeDeviceWatcherUpdatedPreviewEventArgs { pub fn Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -533,7 +533,7 @@ impl GazeEnteredPreviewEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -544,7 +544,7 @@ impl GazeEnteredPreviewEventArgs { pub fn CurrentPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -618,7 +618,7 @@ impl GazeExitedPreviewEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -629,7 +629,7 @@ impl GazeExitedPreviewEventArgs { pub fn CurrentPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -708,7 +708,7 @@ impl GazeInputSourcePreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GazeMoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -726,7 +726,7 @@ impl GazeInputSourcePreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GazeEntered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -744,7 +744,7 @@ impl GazeInputSourcePreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GazeExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -756,13 +756,13 @@ impl GazeInputSourcePreview { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IGazeInputSourcePreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWatcher() -> ::windows::core::Result { Self::IGazeInputSourcePreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -841,7 +841,7 @@ impl GazeMovedPreviewEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -852,7 +852,7 @@ impl GazeMovedPreviewEventArgs { pub fn CurrentPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -861,7 +861,7 @@ impl GazeMovedPreviewEventArgs { pub fn GetIntermediatePoints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIntermediatePoints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -935,7 +935,7 @@ impl GazePointPreview { pub fn SourceDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -944,7 +944,7 @@ impl GazePointPreview { pub fn EyeGazePosition(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EyeGazePosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -953,14 +953,14 @@ impl GazePointPreview { pub fn HeadGazePosition(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadGazePosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -969,7 +969,7 @@ impl GazePointPreview { pub fn HidInputReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HidInputReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Input/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/mod.rs index 964c09c8ae..d2e601e367 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/mod.rs @@ -371,7 +371,7 @@ impl KeyboardCapabilities { pub fn KeyboardPresent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyboardPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -452,35 +452,35 @@ impl MouseCapabilities { pub fn MousePresent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MousePresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VerticalWheelPresent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerticalWheelPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HorizontalWheelPresent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HorizontalWheelPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SwapButtons(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SwapButtons)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfButtons(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfButtons)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -597,7 +597,7 @@ impl MouseDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MouseMoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -609,7 +609,7 @@ impl MouseDevice { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IMouseDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -686,7 +686,7 @@ impl MouseEventArgs { pub fn MouseDelta(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MouseDelta)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -758,7 +758,7 @@ impl PenButtonListener { pub fn IsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -770,7 +770,7 @@ impl PenButtonListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupportedChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -788,7 +788,7 @@ impl PenButtonListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TailButtonClicked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -806,7 +806,7 @@ impl PenButtonListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TailButtonDoubleClicked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -824,7 +824,7 @@ impl PenButtonListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TailButtonLongPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -836,7 +836,7 @@ impl PenButtonListener { } pub fn GetDefault() -> ::windows::core::Result { Self::IPenButtonListenerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -915,7 +915,7 @@ impl PenDevice { pub fn PenId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PenId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -924,13 +924,13 @@ impl PenDevice { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetFromPointerId(pointerid: u32) -> ::windows::core::Result { Self::IPenDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFromPointerId)(::windows::core::Interface::as_raw(this), pointerid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1009,7 +1009,7 @@ impl PenDockListener { pub fn IsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1021,7 +1021,7 @@ impl PenDockListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupportedChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1039,7 +1039,7 @@ impl PenDockListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Docked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1057,7 +1057,7 @@ impl PenDockListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Undocked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1069,7 +1069,7 @@ impl PenDockListener { } pub fn GetDefault() -> ::windows::core::Result { Self::IPenDockListenerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1478,21 +1478,21 @@ impl PointerDevice { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsIntegrated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIntegrated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxContacts(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxContacts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1501,7 +1501,7 @@ impl PointerDevice { pub fn PhysicalDeviceRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalDeviceRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1510,7 +1510,7 @@ impl PointerDevice { pub fn ScreenRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1519,20 +1519,20 @@ impl PointerDevice { pub fn SupportedUsages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedUsages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaxPointersWithZDistance(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPointersWithZDistance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPointerDevice(pointerid: u32) -> ::windows::core::Result { Self::IPointerDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPointerDevice)(::windows::core::Interface::as_raw(this), pointerid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1540,7 +1540,7 @@ impl PointerDevice { #[cfg(feature = "Foundation_Collections")] pub fn GetPointerDevices() -> ::windows::core::Result> { Self::IPointerDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPointerDevices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1703,14 +1703,14 @@ impl TouchCapabilities { pub fn TouchPresent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TouchPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Contacts(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contacts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } 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 b0823fd81d..546d921fc5 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs @@ -263,7 +263,7 @@ impl ILampArrayEffect { pub fn ZIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -475,7 +475,7 @@ impl LampArrayBitmapEffect { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -490,7 +490,7 @@ impl LampArrayBitmapEffect { pub fn StartDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -505,7 +505,7 @@ impl LampArrayBitmapEffect { pub fn UpdateInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -520,7 +520,7 @@ impl LampArrayBitmapEffect { pub fn SuggestedBitmapSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestedBitmapSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -532,7 +532,7 @@ impl LampArrayBitmapEffect { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -547,14 +547,14 @@ impl LampArrayBitmapEffect { P0: ::std::convert::Into<::windows::core::InParam<'a, super::LampArray>>, { Self::ILampArrayBitmapEffectFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), lamparray.into().abi(), lampindexes.len() as u32, ::core::mem::transmute(lampindexes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ZIndex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -658,7 +658,7 @@ impl LampArrayBitmapRequestedEventArgs { pub fn SinceStarted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SinceStarted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -743,7 +743,7 @@ impl LampArrayBlinkEffect { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -758,7 +758,7 @@ impl LampArrayBlinkEffect { pub fn AttackDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttackDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -773,7 +773,7 @@ impl LampArrayBlinkEffect { pub fn SustainDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SustainDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -788,7 +788,7 @@ impl LampArrayBlinkEffect { pub fn DecayDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecayDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -803,7 +803,7 @@ impl LampArrayBlinkEffect { pub fn RepetitionDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RepetitionDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -818,7 +818,7 @@ impl LampArrayBlinkEffect { pub fn StartDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -831,7 +831,7 @@ impl LampArrayBlinkEffect { pub fn Occurrences(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Occurrences)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -842,7 +842,7 @@ impl LampArrayBlinkEffect { pub fn RepetitionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RepetitionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -855,14 +855,14 @@ impl LampArrayBlinkEffect { P0: ::std::convert::Into<::windows::core::InParam<'a, super::LampArray>>, { Self::ILampArrayBlinkEffectFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), lamparray.into().abi(), lampindexes.len() as u32, ::core::mem::transmute(lampindexes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ZIndex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -966,7 +966,7 @@ impl LampArrayColorRampEffect { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -981,7 +981,7 @@ impl LampArrayColorRampEffect { pub fn RampDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RampDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -996,7 +996,7 @@ impl LampArrayColorRampEffect { pub fn StartDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1009,7 +1009,7 @@ impl LampArrayColorRampEffect { pub fn CompletionBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompletionBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1022,14 +1022,14 @@ impl LampArrayColorRampEffect { P0: ::std::convert::Into<::windows::core::InParam<'a, super::LampArray>>, { Self::ILampArrayColorRampEffectFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), lamparray.into().abi(), lampindexes.len() as u32, ::core::mem::transmute(lampindexes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ZIndex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1133,7 +1133,7 @@ impl LampArrayCustomEffect { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1148,7 +1148,7 @@ impl LampArrayCustomEffect { pub fn UpdateInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1166,7 +1166,7 @@ impl LampArrayCustomEffect { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1181,14 +1181,14 @@ impl LampArrayCustomEffect { P0: ::std::convert::Into<::windows::core::InParam<'a, super::LampArray>>, { Self::ILampArrayCustomEffectFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), lamparray.into().abi(), lampindexes.len() as u32, ::core::mem::transmute(lampindexes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ZIndex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1333,7 +1333,7 @@ impl LampArrayEffectPlaylist { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1364,7 +1364,7 @@ impl LampArrayEffectPlaylist { pub fn EffectStartMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectStartMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1375,7 +1375,7 @@ impl LampArrayEffectPlaylist { pub fn Occurrences(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Occurrences)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1386,7 +1386,7 @@ impl LampArrayEffectPlaylist { pub fn RepetitionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RepetitionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1426,7 +1426,7 @@ impl LampArrayEffectPlaylist { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1435,7 +1435,7 @@ impl LampArrayEffectPlaylist { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1448,7 +1448,7 @@ impl LampArrayEffectPlaylist { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1457,7 +1457,7 @@ impl LampArrayEffectPlaylist { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1664,7 +1664,7 @@ impl LampArraySolidEffect { pub fn ZIndex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1677,7 +1677,7 @@ impl LampArraySolidEffect { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1692,7 +1692,7 @@ impl LampArraySolidEffect { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1707,7 +1707,7 @@ impl LampArraySolidEffect { pub fn StartDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1720,7 +1720,7 @@ impl LampArraySolidEffect { pub fn CompletionBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompletionBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1733,7 +1733,7 @@ impl LampArraySolidEffect { P0: ::std::convert::Into<::windows::core::InParam<'a, super::LampArray>>, { Self::ILampArraySolidEffectFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), lamparray.into().abi(), lampindexes.len() as u32, ::core::mem::transmute(lampindexes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1833,7 +1833,7 @@ impl LampArrayUpdateRequestedEventArgs { pub fn SinceStarted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SinceStarted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs index 33da099040..294850a97a 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs @@ -206,14 +206,14 @@ impl Lamp { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -224,7 +224,7 @@ impl Lamp { pub fn BrightnessLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrightnessLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -235,7 +235,7 @@ impl Lamp { pub fn IsColorSettable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsColorSettable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -244,7 +244,7 @@ impl Lamp { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -262,7 +262,7 @@ impl Lamp { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailabilityChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -274,7 +274,7 @@ impl Lamp { } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILampStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -285,7 +285,7 @@ impl Lamp { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILampStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -293,7 +293,7 @@ impl Lamp { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::ILampStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -394,42 +394,42 @@ impl LampArray { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn HardwareVendorId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareProductId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LampArrayKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LampArrayKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LampCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LampCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -438,7 +438,7 @@ impl LampArray { pub fn MinUpdateInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinUpdateInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -447,14 +447,14 @@ impl LampArray { pub fn BoundingBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -465,7 +465,7 @@ impl LampArray { pub fn BrightnessLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrightnessLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -476,21 +476,21 @@ impl LampArray { pub fn IsConnected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportsVirtualKeys(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsVirtualKeys)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetLampInfo(&self, lampindex: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLampInfo)(::windows::core::Interface::as_raw(this), lampindex, result__.as_mut_ptr()).from_abi::(result__) } } @@ -499,14 +499,14 @@ impl LampArray { pub fn GetIndicesForKey(&self, key: super::super::System::VirtualKey) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndicesForKey)(::windows::core::Interface::as_raw(this), key, ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn GetIndicesForPurposes(&self, purposes: LampPurposes) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndicesForPurposes)(::windows::core::Interface::as_raw(this), purposes, ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -561,7 +561,7 @@ impl LampArray { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendMessageAsync)(::windows::core::Interface::as_raw(this), messageid, message.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -570,13 +570,13 @@ impl LampArray { pub fn RequestMessageAsync(&self, messageid: i32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestMessageAsync)(::windows::core::Interface::as_raw(this), messageid, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILampArrayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -587,7 +587,7 @@ impl LampArray { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILampArrayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -709,7 +709,7 @@ impl LampAvailabilityChangedEventArgs { pub fn IsAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -783,14 +783,14 @@ impl LampInfo { pub fn Index(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Index)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Purposes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Purposes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -799,35 +799,35 @@ impl LampInfo { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RedLevelCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedLevelCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GreenLevelCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GreenLevelCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BlueLevelCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlueLevelCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GainLevelCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GainLevelCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -836,7 +836,7 @@ impl LampInfo { pub fn FixedColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FixedColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -845,7 +845,7 @@ impl LampInfo { pub fn GetNearestSupportedColor(&self, desiredcolor: super::super::UI::Color) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNearestSupportedColor)(::windows::core::Interface::as_raw(this), desiredcolor, result__.as_mut_ptr()).from_abi::(result__) } } @@ -854,7 +854,7 @@ impl LampInfo { pub fn UpdateLatency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs index 0b48bb062b..a0946abac1 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs @@ -100,7 +100,7 @@ impl IMidiMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -109,14 +109,14 @@ impl IMidiMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -286,7 +286,7 @@ impl IMidiOutPort { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -639,7 +639,7 @@ impl MidiActiveSensingMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -648,14 +648,14 @@ impl MidiActiveSensingMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -748,20 +748,20 @@ impl MidiChannelPressureMessage { pub fn Channel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Channel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pressure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiChannelPressureMessage(channel: u8, pressure: u8) -> ::windows::core::Result { Self::IMidiChannelPressureMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiChannelPressureMessage)(::windows::core::Interface::as_raw(this), channel, pressure, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -770,7 +770,7 @@ impl MidiChannelPressureMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -779,14 +779,14 @@ impl MidiChannelPressureMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -893,7 +893,7 @@ impl MidiContinueMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -902,14 +902,14 @@ impl MidiContinueMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1002,27 +1002,27 @@ impl MidiControlChangeMessage { pub fn Channel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Channel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Controller(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Controller)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ControlValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiControlChangeMessage(channel: u8, controller: u8, controlvalue: u8) -> ::windows::core::Result { Self::IMidiControlChangeMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiControlChangeMessage)(::windows::core::Interface::as_raw(this), channel, controller, controlvalue, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1031,7 +1031,7 @@ impl MidiControlChangeMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1040,14 +1040,14 @@ impl MidiControlChangeMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1156,7 +1156,7 @@ impl MidiInPort { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1169,7 +1169,7 @@ impl MidiInPort { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1180,13 +1180,13 @@ impl MidiInPort { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMidiInPortStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMidiInPortStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1287,7 +1287,7 @@ impl MidiMessageReceivedEventArgs { pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1415,7 +1415,7 @@ impl MidiNoteOffMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1424,41 +1424,41 @@ impl MidiNoteOffMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Channel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Channel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Note(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Note)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Velocity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Velocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiNoteOffMessage(channel: u8, note: u8, velocity: u8) -> ::windows::core::Result { Self::IMidiNoteOffMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiNoteOffMessage)(::windows::core::Interface::as_raw(this), channel, note, velocity, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1558,7 +1558,7 @@ impl MidiNoteOnMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1567,41 +1567,41 @@ impl MidiNoteOnMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Channel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Channel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Note(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Note)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Velocity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Velocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiNoteOnMessage(channel: u8, note: u8, velocity: u8) -> ::windows::core::Result { Self::IMidiNoteOnMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiNoteOnMessage)(::windows::core::Interface::as_raw(this), channel, note, velocity, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1723,7 +1723,7 @@ impl MidiOutPort { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1734,13 +1734,13 @@ impl MidiOutPort { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMidiOutPortStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMidiOutPortStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1862,7 +1862,7 @@ impl MidiPitchBendChangeMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1871,34 +1871,34 @@ impl MidiPitchBendChangeMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Channel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Channel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Bend(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bend)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiPitchBendChangeMessage(channel: u8, bend: u16) -> ::windows::core::Result { Self::IMidiPitchBendChangeMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiPitchBendChangeMessage)(::windows::core::Interface::as_raw(this), channel, bend, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1998,7 +1998,7 @@ impl MidiPolyphonicKeyPressureMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2007,41 +2007,41 @@ impl MidiPolyphonicKeyPressureMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Channel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Channel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Note(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Note)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pressure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiPolyphonicKeyPressureMessage(channel: u8, note: u8, pressure: u8) -> ::windows::core::Result { Self::IMidiPolyphonicKeyPressureMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiPolyphonicKeyPressureMessage)(::windows::core::Interface::as_raw(this), channel, note, pressure, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2141,7 +2141,7 @@ impl MidiProgramChangeMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2150,34 +2150,34 @@ impl MidiProgramChangeMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Channel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Channel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Program(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Program)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiProgramChangeMessage(channel: u8, program: u8) -> ::windows::core::Result { Self::IMidiProgramChangeMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiProgramChangeMessage)(::windows::core::Interface::as_raw(this), channel, program, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2277,7 +2277,7 @@ impl MidiSongPositionPointerMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2286,27 +2286,27 @@ impl MidiSongPositionPointerMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Beats(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Beats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiSongPositionPointerMessage(beats: u16) -> ::windows::core::Result { Self::IMidiSongPositionPointerMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiSongPositionPointerMessage)(::windows::core::Interface::as_raw(this), beats, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2406,7 +2406,7 @@ impl MidiSongSelectMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2415,27 +2415,27 @@ impl MidiSongSelectMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Song(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Song)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiSongSelectMessage(song: u8) -> ::windows::core::Result { Self::IMidiSongSelectMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiSongSelectMessage)(::windows::core::Interface::as_raw(this), song, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2542,7 +2542,7 @@ impl MidiStartMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2551,14 +2551,14 @@ impl MidiStartMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2660,7 +2660,7 @@ impl MidiStopMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2669,14 +2669,14 @@ impl MidiStopMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2793,7 +2793,7 @@ impl MidiSynthesizer { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2802,14 +2802,14 @@ impl MidiSynthesizer { pub fn AudioDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Volume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Volume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2821,7 +2821,7 @@ impl MidiSynthesizer { #[cfg(feature = "Foundation")] pub fn CreateAsync() -> ::windows::core::Result> { Self::IMidiSynthesizerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2832,7 +2832,7 @@ impl MidiSynthesizer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Enumeration::DeviceInformation>>, { Self::IMidiSynthesizerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromAudioDeviceAsync)(::windows::core::Interface::as_raw(this), audiodevice.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2843,7 +2843,7 @@ impl MidiSynthesizer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Enumeration::DeviceInformation>>, { Self::IMidiSynthesizerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSynthesizer)(::windows::core::Interface::as_raw(this), mididevice.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2965,7 +2965,7 @@ impl MidiSystemExclusiveMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2974,14 +2974,14 @@ impl MidiSystemExclusiveMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2993,7 +2993,7 @@ impl MidiSystemExclusiveMessage { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMidiSystemExclusiveMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiSystemExclusiveMessage)(::windows::core::Interface::as_raw(this), rawdata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3100,7 +3100,7 @@ impl MidiSystemResetMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3109,14 +3109,14 @@ impl MidiSystemResetMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3211,7 +3211,7 @@ impl MidiTimeCodeMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3220,34 +3220,34 @@ impl MidiTimeCodeMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FrameType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Values(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Values)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMidiTimeCodeMessage(frametype: u8, values: u8) -> ::windows::core::Result { Self::IMidiTimeCodeMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMidiTimeCodeMessage)(::windows::core::Interface::as_raw(this), frametype, values, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3354,7 +3354,7 @@ impl MidiTimingClockMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3363,14 +3363,14 @@ impl MidiTimingClockMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3472,7 +3472,7 @@ impl MidiTuneRequestMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3481,14 +3481,14 @@ impl MidiTuneRequestMessage { pub fn RawData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Perception/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Perception/Provider/mod.rs index 5658ea7ebe..3db804c784 100644 --- a/crates/libs/windows/src/Windows/Devices/Perception/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Perception/Provider/mod.rs @@ -227,7 +227,7 @@ impl IPerceptionFrameProvider { pub fn FrameProviderInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameProviderInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -236,7 +236,7 @@ impl IPerceptionFrameProvider { pub fn Available(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Available)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -245,7 +245,7 @@ impl IPerceptionFrameProvider { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -467,7 +467,7 @@ impl IPerceptionFrameProviderManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFrameProvider)(::windows::core::Interface::as_raw(this), frameproviderinfo.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -720,7 +720,7 @@ impl KnownPerceptionFrameKind { #[cfg(feature = "deprecated")] pub fn Color() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionFrameKindStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -728,7 +728,7 @@ impl KnownPerceptionFrameKind { #[cfg(feature = "deprecated")] pub fn Depth() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionFrameKindStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Depth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -736,7 +736,7 @@ impl KnownPerceptionFrameKind { #[cfg(feature = "deprecated")] pub fn Infrared() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionFrameKindStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Infrared)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -762,7 +762,7 @@ impl PerceptionControlGroup { pub fn FrameProviderIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameProviderIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -774,7 +774,7 @@ impl PerceptionControlGroup { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPerceptionControlGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), ids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -873,7 +873,7 @@ impl PerceptionCorrelation { pub fn TargetId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -882,7 +882,7 @@ impl PerceptionCorrelation { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -891,7 +891,7 @@ impl PerceptionCorrelation { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -902,7 +902,7 @@ impl PerceptionCorrelation { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPerceptionCorrelationFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), targetid.into().abi(), position, orientation, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1001,7 +1001,7 @@ impl PerceptionCorrelationGroup { pub fn RelativeLocations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeLocations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1013,7 +1013,7 @@ impl PerceptionCorrelationGroup { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPerceptionCorrelationGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), relativelocations.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1112,7 +1112,7 @@ impl PerceptionFaceAuthenticationGroup { pub fn FrameProviderIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameProviderIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1126,7 +1126,7 @@ impl PerceptionFaceAuthenticationGroup { P2: ::std::convert::Into<::windows::core::InParam<'a, PerceptionStopFaceAuthenticationHandler>>, { Self::IPerceptionFaceAuthenticationGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), ids.try_into().map_err(|e| e.into())?.abi(), starthandler.into().abi(), stophandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1225,7 +1225,7 @@ impl PerceptionFrame { pub fn RelativeTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1240,7 +1240,7 @@ impl PerceptionFrame { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1249,7 +1249,7 @@ impl PerceptionFrame { pub fn FrameData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1349,7 +1349,7 @@ impl PerceptionFrameProviderInfo { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1367,7 +1367,7 @@ impl PerceptionFrameProviderInfo { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1385,7 +1385,7 @@ impl PerceptionFrameProviderInfo { pub fn DeviceKind(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1403,7 +1403,7 @@ impl PerceptionFrameProviderInfo { pub fn FrameKind(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1421,7 +1421,7 @@ impl PerceptionFrameProviderInfo { pub fn Hidden(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hidden)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1635,7 +1635,7 @@ impl PerceptionPropertyChangeRequest { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1644,7 +1644,7 @@ impl PerceptionPropertyChangeRequest { pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1653,7 +1653,7 @@ impl PerceptionPropertyChangeRequest { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1668,7 +1668,7 @@ impl PerceptionPropertyChangeRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1768,7 +1768,7 @@ impl PerceptionStartFaceAuthenticationHandler { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invoke)(::windows::core::Interface::as_raw(this), sender.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1983,7 +1983,7 @@ impl PerceptionVideoFrameAllocator { pub fn AllocateFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllocateFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1995,7 +1995,7 @@ impl PerceptionVideoFrameAllocator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyFromVideoFrame)(::windows::core::Interface::as_raw(this), frame.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2003,7 +2003,7 @@ impl PerceptionVideoFrameAllocator { #[cfg(all(feature = "Foundation", feature = "Graphics_Imaging", feature = "deprecated"))] pub fn Create(maxoutstandingframecountforwrite: u32, format: super::super::super::Graphics::Imaging::BitmapPixelFormat, resolution: super::super::super::Foundation::Size, alpha: super::super::super::Graphics::Imaging::BitmapAlphaMode) -> ::windows::core::Result { Self::IPerceptionVideoFrameAllocatorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), maxoutstandingframecountforwrite, format, resolution, alpha, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Perception/mod.rs b/crates/libs/windows/src/Windows/Devices/Perception/mod.rs index ef8bc1e2f9..a5ccd632bb 100644 --- a/crates/libs/windows/src/Windows/Devices/Perception/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Perception/mod.rs @@ -1508,7 +1508,7 @@ impl KnownCameraIntrinsicsProperties { #[cfg(feature = "deprecated")] pub fn FocalLength() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownCameraIntrinsicsPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocalLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1516,7 +1516,7 @@ impl KnownCameraIntrinsicsProperties { #[cfg(feature = "deprecated")] pub fn PrincipalPoint() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownCameraIntrinsicsPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrincipalPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1524,7 +1524,7 @@ impl KnownCameraIntrinsicsProperties { #[cfg(feature = "deprecated")] pub fn RadialDistortion() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownCameraIntrinsicsPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RadialDistortion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1532,7 +1532,7 @@ impl KnownCameraIntrinsicsProperties { #[cfg(feature = "deprecated")] pub fn TangentialDistortion() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownCameraIntrinsicsPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TangentialDistortion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1556,7 +1556,7 @@ impl KnownPerceptionColorFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn Exposure() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionColorFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exposure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1564,7 +1564,7 @@ impl KnownPerceptionColorFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn AutoExposureEnabled() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionColorFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoExposureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1572,7 +1572,7 @@ impl KnownPerceptionColorFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn ExposureCompensation() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionColorFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExposureCompensation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1596,7 +1596,7 @@ impl KnownPerceptionDepthFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn MinDepth() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionDepthFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinDepth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1604,7 +1604,7 @@ impl KnownPerceptionDepthFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn MaxDepth() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionDepthFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxDepth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1628,7 +1628,7 @@ impl KnownPerceptionFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn Id() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1636,7 +1636,7 @@ impl KnownPerceptionFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn PhysicalDeviceIds() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalDeviceIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1644,7 +1644,7 @@ impl KnownPerceptionFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn FrameKind() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1652,7 +1652,7 @@ impl KnownPerceptionFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn DeviceModelVersion() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceModelVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1660,7 +1660,7 @@ impl KnownPerceptionFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn EnclosureLocation() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnclosureLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1668,7 +1668,7 @@ impl KnownPerceptionFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn DeviceId() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionFrameSourcePropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1698,7 +1698,7 @@ impl KnownPerceptionInfraredFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn Exposure() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionInfraredFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exposure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1706,7 +1706,7 @@ impl KnownPerceptionInfraredFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn AutoExposureEnabled() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionInfraredFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoExposureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1714,7 +1714,7 @@ impl KnownPerceptionInfraredFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn ExposureCompensation() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionInfraredFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExposureCompensation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1722,7 +1722,7 @@ impl KnownPerceptionInfraredFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn ActiveIlluminationEnabled() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionInfraredFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActiveIlluminationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1730,7 +1730,7 @@ impl KnownPerceptionInfraredFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn AmbientSubtractionEnabled() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionInfraredFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AmbientSubtractionEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1738,7 +1738,7 @@ impl KnownPerceptionInfraredFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn StructureLightPatternEnabled() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionInfraredFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StructureLightPatternEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1746,7 +1746,7 @@ impl KnownPerceptionInfraredFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn InterleavedIlluminationEnabled() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionInfraredFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterleavedIlluminationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1770,7 +1770,7 @@ impl KnownPerceptionVideoFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn VideoProfile() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1778,7 +1778,7 @@ impl KnownPerceptionVideoFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn SupportedVideoProfiles() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedVideoProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1786,7 +1786,7 @@ impl KnownPerceptionVideoFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn AvailableVideoProfiles() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableVideoProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1794,7 +1794,7 @@ impl KnownPerceptionVideoFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn IsMirrored() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMirrored)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1802,7 +1802,7 @@ impl KnownPerceptionVideoFrameSourceProperties { #[cfg(feature = "deprecated")] pub fn CameraIntrinsics() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoFrameSourcePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraIntrinsics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1826,7 +1826,7 @@ impl KnownPerceptionVideoProfileProperties { #[cfg(feature = "deprecated")] pub fn BitmapPixelFormat() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoProfilePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1834,7 +1834,7 @@ impl KnownPerceptionVideoProfileProperties { #[cfg(feature = "deprecated")] pub fn BitmapAlphaMode() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoProfilePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapAlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1842,7 +1842,7 @@ impl KnownPerceptionVideoProfileProperties { #[cfg(feature = "deprecated")] pub fn Width() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoProfilePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1850,7 +1850,7 @@ impl KnownPerceptionVideoProfileProperties { #[cfg(feature = "deprecated")] pub fn Height() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoProfilePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1858,7 +1858,7 @@ impl KnownPerceptionVideoProfileProperties { #[cfg(feature = "deprecated")] pub fn FrameDuration() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownPerceptionVideoProfilePropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1890,7 +1890,7 @@ impl PerceptionColorFrame { pub fn VideoFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2005,7 +2005,7 @@ impl PerceptionColorFrameArrivedEventArgs { pub fn RelativeTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2014,7 +2014,7 @@ impl PerceptionColorFrameArrivedEventArgs { pub fn TryOpenFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryOpenFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2116,7 +2116,7 @@ impl PerceptionColorFrameReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameArrived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2131,7 +2131,7 @@ impl PerceptionColorFrameReader { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2140,7 +2140,7 @@ impl PerceptionColorFrameReader { pub fn IsPaused(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaused)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2155,7 +2155,7 @@ impl PerceptionColorFrameReader { pub fn TryReadLatestFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryReadLatestFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2273,7 +2273,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2291,7 +2291,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActiveChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2309,7 +2309,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PropertiesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2327,7 +2327,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProfileChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2345,7 +2345,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraIntrinsicsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2360,7 +2360,7 @@ impl PerceptionColorFrameSource { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2369,7 +2369,7 @@ impl PerceptionColorFrameSource { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2378,7 +2378,7 @@ impl PerceptionColorFrameSource { pub fn DeviceKind(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2387,7 +2387,7 @@ impl PerceptionColorFrameSource { pub fn Available(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Available)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2396,7 +2396,7 @@ impl PerceptionColorFrameSource { pub fn Active(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Active)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2405,7 +2405,7 @@ impl PerceptionColorFrameSource { pub fn IsControlled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsControlled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2414,7 +2414,7 @@ impl PerceptionColorFrameSource { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2423,7 +2423,7 @@ impl PerceptionColorFrameSource { pub fn SupportedVideoProfiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedVideoProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2432,7 +2432,7 @@ impl PerceptionColorFrameSource { pub fn AvailableVideoProfiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableVideoProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2441,7 +2441,7 @@ impl PerceptionColorFrameSource { pub fn VideoProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2450,7 +2450,7 @@ impl PerceptionColorFrameSource { pub fn CameraIntrinsics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraIntrinsics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2459,7 +2459,7 @@ impl PerceptionColorFrameSource { pub fn AcquireControlSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquireControlSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2471,7 +2471,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanControlIndependentlyFrom)(::windows::core::Interface::as_raw(this), targetid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2483,7 +2483,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCorrelatedWith)(::windows::core::Interface::as_raw(this), targetid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2495,7 +2495,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetTransformTo)(::windows::core::Interface::as_raw(this), targetid.into().abi(), result, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2507,7 +2507,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetDepthCorrelatedCameraIntrinsicsAsync)(::windows::core::Interface::as_raw(this), correlateddepthframesource.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2520,7 +2520,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetDepthCorrelatedCoordinateMapperAsync)(::windows::core::Interface::as_raw(this), targetsourceid.into().abi(), correlateddepthframesource.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2533,7 +2533,7 @@ impl PerceptionColorFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetVideoProfileAsync)(::windows::core::Interface::as_raw(this), controlsession.into().abi(), profile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2542,7 +2542,7 @@ impl PerceptionColorFrameSource { pub fn OpenReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2551,7 +2551,7 @@ impl PerceptionColorFrameSource { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2559,7 +2559,7 @@ impl PerceptionColorFrameSource { #[cfg(feature = "deprecated")] pub fn CreateWatcher() -> ::windows::core::Result { Self::IPerceptionColorFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2567,7 +2567,7 @@ impl PerceptionColorFrameSource { #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IPerceptionColorFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -2578,7 +2578,7 @@ impl PerceptionColorFrameSource { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPerceptionColorFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2586,7 +2586,7 @@ impl PerceptionColorFrameSource { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IPerceptionColorFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2685,7 +2685,7 @@ impl PerceptionColorFrameSourceAddedEventArgs { pub fn FrameSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2778,7 +2778,7 @@ impl PerceptionColorFrameSourceRemovedEventArgs { pub fn FrameSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2874,7 +2874,7 @@ impl PerceptionColorFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2892,7 +2892,7 @@ impl PerceptionColorFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2910,7 +2910,7 @@ impl PerceptionColorFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2928,7 +2928,7 @@ impl PerceptionColorFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2943,7 +2943,7 @@ impl PerceptionColorFrameSourceWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3057,7 +3057,7 @@ impl PerceptionControlSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3076,7 +3076,7 @@ impl PerceptionControlSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetPropertyAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3194,7 +3194,7 @@ impl PerceptionDepthCorrelatedCameraIntrinsics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprojectPixelAtCorrelatedDepth)(::windows::core::Interface::as_raw(this), pixelcoordinate, depthframe.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3215,7 +3215,7 @@ impl PerceptionDepthCorrelatedCameraIntrinsics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprojectRegionPixelsAtCorrelatedDepthAsync)(::windows::core::Interface::as_raw(this), region, depthframe.into().abi(), results.len() as u32, ::core::mem::transmute_copy(&results), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3227,7 +3227,7 @@ impl PerceptionDepthCorrelatedCameraIntrinsics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprojectAllPixelsAtCorrelatedDepthAsync)(::windows::core::Interface::as_raw(this), depthframe.into().abi(), results.len() as u32, ::core::mem::transmute_copy(&results), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3323,7 +3323,7 @@ impl PerceptionDepthCorrelatedCoordinateMapper { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapPixelToTarget)(::windows::core::Interface::as_raw(this), sourcepixelcoordinate, depthframe.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3344,7 +3344,7 @@ impl PerceptionDepthCorrelatedCoordinateMapper { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapRegionOfPixelsToTargetAsync)(::windows::core::Interface::as_raw(this), region, depthframe.into().abi(), targetcoordinates.len() as u32, ::core::mem::transmute_copy(&targetcoordinates), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3356,7 +3356,7 @@ impl PerceptionDepthCorrelatedCoordinateMapper { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapAllPixelsToTargetAsync)(::windows::core::Interface::as_raw(this), depthframe.into().abi(), targetcoordinates.len() as u32, ::core::mem::transmute_copy(&targetcoordinates), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3455,7 +3455,7 @@ impl PerceptionDepthFrame { pub fn VideoFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3570,7 +3570,7 @@ impl PerceptionDepthFrameArrivedEventArgs { pub fn RelativeTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3579,7 +3579,7 @@ impl PerceptionDepthFrameArrivedEventArgs { pub fn TryOpenFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryOpenFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3681,7 +3681,7 @@ impl PerceptionDepthFrameReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameArrived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3696,7 +3696,7 @@ impl PerceptionDepthFrameReader { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3705,7 +3705,7 @@ impl PerceptionDepthFrameReader { pub fn IsPaused(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaused)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3720,7 +3720,7 @@ impl PerceptionDepthFrameReader { pub fn TryReadLatestFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryReadLatestFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3838,7 +3838,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3856,7 +3856,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActiveChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3874,7 +3874,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PropertiesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3892,7 +3892,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProfileChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3910,7 +3910,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraIntrinsicsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3925,7 +3925,7 @@ impl PerceptionDepthFrameSource { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3934,7 +3934,7 @@ impl PerceptionDepthFrameSource { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3943,7 +3943,7 @@ impl PerceptionDepthFrameSource { pub fn DeviceKind(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3952,7 +3952,7 @@ impl PerceptionDepthFrameSource { pub fn Available(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Available)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3961,7 +3961,7 @@ impl PerceptionDepthFrameSource { pub fn Active(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Active)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3970,7 +3970,7 @@ impl PerceptionDepthFrameSource { pub fn IsControlled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsControlled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3979,7 +3979,7 @@ impl PerceptionDepthFrameSource { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3988,7 +3988,7 @@ impl PerceptionDepthFrameSource { pub fn SupportedVideoProfiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedVideoProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3997,7 +3997,7 @@ impl PerceptionDepthFrameSource { pub fn AvailableVideoProfiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableVideoProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4006,7 +4006,7 @@ impl PerceptionDepthFrameSource { pub fn VideoProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4015,7 +4015,7 @@ impl PerceptionDepthFrameSource { pub fn CameraIntrinsics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraIntrinsics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4024,7 +4024,7 @@ impl PerceptionDepthFrameSource { pub fn AcquireControlSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquireControlSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4036,7 +4036,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanControlIndependentlyFrom)(::windows::core::Interface::as_raw(this), targetid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4048,7 +4048,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCorrelatedWith)(::windows::core::Interface::as_raw(this), targetid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4060,7 +4060,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetTransformTo)(::windows::core::Interface::as_raw(this), targetid.into().abi(), result, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4072,7 +4072,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetDepthCorrelatedCameraIntrinsicsAsync)(::windows::core::Interface::as_raw(this), target.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4085,7 +4085,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetDepthCorrelatedCoordinateMapperAsync)(::windows::core::Interface::as_raw(this), targetid.into().abi(), depthframesourcetomapwith.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4098,7 +4098,7 @@ impl PerceptionDepthFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetVideoProfileAsync)(::windows::core::Interface::as_raw(this), controlsession.into().abi(), profile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4107,7 +4107,7 @@ impl PerceptionDepthFrameSource { pub fn OpenReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4116,7 +4116,7 @@ impl PerceptionDepthFrameSource { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4124,7 +4124,7 @@ impl PerceptionDepthFrameSource { #[cfg(feature = "deprecated")] pub fn CreateWatcher() -> ::windows::core::Result { Self::IPerceptionDepthFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4132,7 +4132,7 @@ impl PerceptionDepthFrameSource { #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IPerceptionDepthFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -4143,7 +4143,7 @@ impl PerceptionDepthFrameSource { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPerceptionDepthFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4151,7 +4151,7 @@ impl PerceptionDepthFrameSource { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IPerceptionDepthFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4250,7 +4250,7 @@ impl PerceptionDepthFrameSourceAddedEventArgs { pub fn FrameSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4343,7 +4343,7 @@ impl PerceptionDepthFrameSourceRemovedEventArgs { pub fn FrameSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4439,7 +4439,7 @@ impl PerceptionDepthFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4457,7 +4457,7 @@ impl PerceptionDepthFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4475,7 +4475,7 @@ impl PerceptionDepthFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4493,7 +4493,7 @@ impl PerceptionDepthFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4508,7 +4508,7 @@ impl PerceptionDepthFrameSourceWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4657,7 +4657,7 @@ impl PerceptionFrameSourcePropertiesChangedEventArgs { pub fn CollectionChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CollectionChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4666,7 +4666,7 @@ impl PerceptionFrameSourcePropertiesChangedEventArgs { pub fn Key(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Key)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4759,7 +4759,7 @@ impl PerceptionFrameSourcePropertyChangeResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4768,7 +4768,7 @@ impl PerceptionFrameSourcePropertyChangeResult { pub fn NewValue(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4913,7 +4913,7 @@ impl PerceptionInfraredFrame { pub fn VideoFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5028,7 +5028,7 @@ impl PerceptionInfraredFrameArrivedEventArgs { pub fn RelativeTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5037,7 +5037,7 @@ impl PerceptionInfraredFrameArrivedEventArgs { pub fn TryOpenFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryOpenFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5139,7 +5139,7 @@ impl PerceptionInfraredFrameReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameArrived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5154,7 +5154,7 @@ impl PerceptionInfraredFrameReader { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5163,7 +5163,7 @@ impl PerceptionInfraredFrameReader { pub fn IsPaused(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaused)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5178,7 +5178,7 @@ impl PerceptionInfraredFrameReader { pub fn TryReadLatestFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryReadLatestFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5296,7 +5296,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5314,7 +5314,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActiveChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5332,7 +5332,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PropertiesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5350,7 +5350,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProfileChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5368,7 +5368,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraIntrinsicsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5383,7 +5383,7 @@ impl PerceptionInfraredFrameSource { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5392,7 +5392,7 @@ impl PerceptionInfraredFrameSource { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5401,7 +5401,7 @@ impl PerceptionInfraredFrameSource { pub fn DeviceKind(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5410,7 +5410,7 @@ impl PerceptionInfraredFrameSource { pub fn Available(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Available)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5419,7 +5419,7 @@ impl PerceptionInfraredFrameSource { pub fn Active(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Active)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5428,7 +5428,7 @@ impl PerceptionInfraredFrameSource { pub fn IsControlled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsControlled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5437,7 +5437,7 @@ impl PerceptionInfraredFrameSource { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5446,7 +5446,7 @@ impl PerceptionInfraredFrameSource { pub fn SupportedVideoProfiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedVideoProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5455,7 +5455,7 @@ impl PerceptionInfraredFrameSource { pub fn AvailableVideoProfiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableVideoProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5464,7 +5464,7 @@ impl PerceptionInfraredFrameSource { pub fn VideoProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5473,7 +5473,7 @@ impl PerceptionInfraredFrameSource { pub fn CameraIntrinsics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraIntrinsics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5482,7 +5482,7 @@ impl PerceptionInfraredFrameSource { pub fn AcquireControlSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquireControlSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5494,7 +5494,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanControlIndependentlyFrom)(::windows::core::Interface::as_raw(this), targetid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5506,7 +5506,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCorrelatedWith)(::windows::core::Interface::as_raw(this), targetid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5518,7 +5518,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetTransformTo)(::windows::core::Interface::as_raw(this), targetid.into().abi(), result, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5530,7 +5530,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetDepthCorrelatedCameraIntrinsicsAsync)(::windows::core::Interface::as_raw(this), target.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5543,7 +5543,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetDepthCorrelatedCoordinateMapperAsync)(::windows::core::Interface::as_raw(this), targetid.into().abi(), depthframesourcetomapwith.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5556,7 +5556,7 @@ impl PerceptionInfraredFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetVideoProfileAsync)(::windows::core::Interface::as_raw(this), controlsession.into().abi(), profile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5565,7 +5565,7 @@ impl PerceptionInfraredFrameSource { pub fn OpenReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5574,7 +5574,7 @@ impl PerceptionInfraredFrameSource { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5582,7 +5582,7 @@ impl PerceptionInfraredFrameSource { #[cfg(feature = "deprecated")] pub fn CreateWatcher() -> ::windows::core::Result { Self::IPerceptionInfraredFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5590,7 +5590,7 @@ impl PerceptionInfraredFrameSource { #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IPerceptionInfraredFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5601,7 +5601,7 @@ impl PerceptionInfraredFrameSource { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPerceptionInfraredFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5609,7 +5609,7 @@ impl PerceptionInfraredFrameSource { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IPerceptionInfraredFrameSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5708,7 +5708,7 @@ impl PerceptionInfraredFrameSourceAddedEventArgs { pub fn FrameSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5801,7 +5801,7 @@ impl PerceptionInfraredFrameSourceRemovedEventArgs { pub fn FrameSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5897,7 +5897,7 @@ impl PerceptionInfraredFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5915,7 +5915,7 @@ impl PerceptionInfraredFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5933,7 +5933,7 @@ impl PerceptionInfraredFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5951,7 +5951,7 @@ impl PerceptionInfraredFrameSourceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5966,7 +5966,7 @@ impl PerceptionInfraredFrameSourceWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6071,7 +6071,7 @@ impl PerceptionVideoProfile { pub fn BitmapPixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6080,7 +6080,7 @@ impl PerceptionVideoProfile { pub fn BitmapAlphaMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapAlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6089,7 +6089,7 @@ impl PerceptionVideoProfile { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6098,7 +6098,7 @@ impl PerceptionVideoProfile { pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6107,7 +6107,7 @@ impl PerceptionVideoProfile { pub fn FrameDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6119,7 +6119,7 @@ impl PerceptionVideoProfile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), other.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs index 41a9934fea..60033e37a3 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs @@ -7,7 +7,7 @@ impl BarcodeScannerDisableScannerRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16,7 +16,7 @@ impl BarcodeScannerDisableScannerRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -25,7 +25,7 @@ impl BarcodeScannerDisableScannerRequest { pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(::windows::core::Interface::as_raw(this), reason, result__.as_mut_ptr()).from_abi::(result__) } } @@ -37,7 +37,7 @@ impl BarcodeScannerDisableScannerRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(::windows::core::Interface::as_raw(this), reason, failedreasondescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -111,7 +111,7 @@ impl BarcodeScannerDisableScannerRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -120,7 +120,7 @@ impl BarcodeScannerDisableScannerRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -196,7 +196,7 @@ impl BarcodeScannerEnableScannerRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -205,7 +205,7 @@ impl BarcodeScannerEnableScannerRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -214,7 +214,7 @@ impl BarcodeScannerEnableScannerRequest { pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(::windows::core::Interface::as_raw(this), reason, result__.as_mut_ptr()).from_abi::(result__) } } @@ -226,7 +226,7 @@ impl BarcodeScannerEnableScannerRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(::windows::core::Interface::as_raw(this), reason, failedreasondescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -300,7 +300,7 @@ impl BarcodeScannerEnableScannerRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -309,7 +309,7 @@ impl BarcodeScannerEnableScannerRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -385,7 +385,7 @@ impl BarcodeScannerFrameReader { pub fn StartAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -394,7 +394,7 @@ impl BarcodeScannerFrameReader { pub fn StopAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -403,14 +403,14 @@ impl BarcodeScannerFrameReader { pub fn TryAcquireLatestFrameAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAcquireLatestFrameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -422,7 +422,7 @@ impl BarcodeScannerFrameReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameArrived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -532,7 +532,7 @@ impl BarcodeScannerFrameReaderFrameArrivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -606,7 +606,7 @@ impl BarcodeScannerGetSymbologyAttributesRequest { pub fn Symbology(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Symbology)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -618,7 +618,7 @@ impl BarcodeScannerGetSymbologyAttributesRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), attributes.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -627,7 +627,7 @@ impl BarcodeScannerGetSymbologyAttributesRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -636,7 +636,7 @@ impl BarcodeScannerGetSymbologyAttributesRequest { pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(::windows::core::Interface::as_raw(this), reason, result__.as_mut_ptr()).from_abi::(result__) } } @@ -648,7 +648,7 @@ impl BarcodeScannerGetSymbologyAttributesRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(::windows::core::Interface::as_raw(this), reason, failedreasondescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -722,7 +722,7 @@ impl BarcodeScannerGetSymbologyAttributesRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -731,7 +731,7 @@ impl BarcodeScannerGetSymbologyAttributesRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -807,7 +807,7 @@ impl BarcodeScannerHideVideoPreviewRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -816,7 +816,7 @@ impl BarcodeScannerHideVideoPreviewRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -825,7 +825,7 @@ impl BarcodeScannerHideVideoPreviewRequest { pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(::windows::core::Interface::as_raw(this), reason, result__.as_mut_ptr()).from_abi::(result__) } } @@ -837,7 +837,7 @@ impl BarcodeScannerHideVideoPreviewRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(::windows::core::Interface::as_raw(this), reason, failedreasondescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -911,7 +911,7 @@ impl BarcodeScannerHideVideoPreviewRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -920,7 +920,7 @@ impl BarcodeScannerHideVideoPreviewRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -994,14 +994,14 @@ impl BarcodeScannerProviderConnection { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn VideoDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1010,14 +1010,14 @@ impl BarcodeScannerProviderConnection { pub fn SupportedSymbologies(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedSymbologies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CompanyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompanyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1031,7 +1031,7 @@ impl BarcodeScannerProviderConnection { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1045,7 +1045,7 @@ impl BarcodeScannerProviderConnection { pub fn Version(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1068,7 +1068,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportScannedDataAsync)(::windows::core::Interface::as_raw(this), report.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1077,7 +1077,7 @@ impl BarcodeScannerProviderConnection { pub fn ReportTriggerStateAsync(&self, state: BarcodeScannerTriggerState) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportTriggerStateAsync)(::windows::core::Interface::as_raw(this), state, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1089,7 +1089,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportErrorAsync)(::windows::core::Interface::as_raw(this), errordata.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1102,7 +1102,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportErrorAsyncWithScanReport)(::windows::core::Interface::as_raw(this), errordata.into().abi(), isretriable, scanreport.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1114,7 +1114,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableScannerRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1132,7 +1132,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableScannerRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1150,7 +1150,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetActiveSymbologiesRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1168,7 +1168,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartSoftwareTriggerRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1186,7 +1186,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopSoftwareTriggerRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1204,7 +1204,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBarcodeSymbologyAttributesRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1222,7 +1222,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetBarcodeSymbologyAttributesRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1240,7 +1240,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HideVideoPreviewRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1255,7 +1255,7 @@ impl BarcodeScannerProviderConnection { pub fn CreateFrameReaderAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameReaderAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1264,7 +1264,7 @@ impl BarcodeScannerProviderConnection { pub fn CreateFrameReaderWithFormatAsync(&self, preferredformat: super::super::super::Graphics::Imaging::BitmapPixelFormat) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameReaderWithFormatAsync)(::windows::core::Interface::as_raw(this), preferredformat, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1273,7 +1273,7 @@ impl BarcodeScannerProviderConnection { pub fn CreateFrameReaderWithFormatAndSizeAsync(&self, preferredformat: super::super::super::Graphics::Imaging::BitmapPixelFormat, preferredsize: super::super::super::Graphics::Imaging::BitmapSize) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameReaderWithFormatAndSizeAsync)(::windows::core::Interface::as_raw(this), preferredformat, preferredsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1375,7 +1375,7 @@ impl BarcodeScannerProviderTriggerDetails { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1451,7 +1451,7 @@ impl BarcodeScannerSetActiveSymbologiesRequest { pub fn Symbologies(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Symbologies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1460,7 +1460,7 @@ impl BarcodeScannerSetActiveSymbologiesRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1469,7 +1469,7 @@ impl BarcodeScannerSetActiveSymbologiesRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1478,7 +1478,7 @@ impl BarcodeScannerSetActiveSymbologiesRequest { pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(::windows::core::Interface::as_raw(this), reason, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1490,7 +1490,7 @@ impl BarcodeScannerSetActiveSymbologiesRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(::windows::core::Interface::as_raw(this), reason, failedreasondescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1564,7 +1564,7 @@ impl BarcodeScannerSetActiveSymbologiesRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1573,7 +1573,7 @@ impl BarcodeScannerSetActiveSymbologiesRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1647,14 +1647,14 @@ impl BarcodeScannerSetSymbologyAttributesRequest { pub fn Symbology(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Symbology)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1663,7 +1663,7 @@ impl BarcodeScannerSetSymbologyAttributesRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1672,7 +1672,7 @@ impl BarcodeScannerSetSymbologyAttributesRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1681,7 +1681,7 @@ impl BarcodeScannerSetSymbologyAttributesRequest { pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(::windows::core::Interface::as_raw(this), reason, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1693,7 +1693,7 @@ impl BarcodeScannerSetSymbologyAttributesRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(::windows::core::Interface::as_raw(this), reason, failedreasondescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1767,7 +1767,7 @@ impl BarcodeScannerSetSymbologyAttributesRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1776,7 +1776,7 @@ impl BarcodeScannerSetSymbologyAttributesRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1852,7 +1852,7 @@ impl BarcodeScannerStartSoftwareTriggerRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1861,7 +1861,7 @@ impl BarcodeScannerStartSoftwareTriggerRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1870,7 +1870,7 @@ impl BarcodeScannerStartSoftwareTriggerRequest { pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(::windows::core::Interface::as_raw(this), reason, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1882,7 +1882,7 @@ impl BarcodeScannerStartSoftwareTriggerRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(::windows::core::Interface::as_raw(this), reason, failedreasondescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1956,7 +1956,7 @@ impl BarcodeScannerStartSoftwareTriggerRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1965,7 +1965,7 @@ impl BarcodeScannerStartSoftwareTriggerRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2041,7 +2041,7 @@ impl BarcodeScannerStopSoftwareTriggerRequest { pub fn ReportCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2050,7 +2050,7 @@ impl BarcodeScannerStopSoftwareTriggerRequest { pub fn ReportFailedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2059,7 +2059,7 @@ impl BarcodeScannerStopSoftwareTriggerRequest { pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(::windows::core::Interface::as_raw(this), reason, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2071,7 +2071,7 @@ impl BarcodeScannerStopSoftwareTriggerRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(::windows::core::Interface::as_raw(this), reason, failedreasondescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2145,7 +2145,7 @@ impl BarcodeScannerStopSoftwareTriggerRequestEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2154,7 +2154,7 @@ impl BarcodeScannerStopSoftwareTriggerRequestEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2264,21 +2264,21 @@ impl BarcodeScannerVideoFrame { pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2287,7 +2287,7 @@ impl BarcodeScannerVideoFrame { pub fn PixelData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2396,7 +2396,7 @@ impl BarcodeSymbologyAttributesBuilder { pub fn IsCheckDigitValidationSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCheckDigitValidationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2407,7 +2407,7 @@ impl BarcodeSymbologyAttributesBuilder { pub fn IsCheckDigitTransmissionSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCheckDigitTransmissionSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2418,7 +2418,7 @@ impl BarcodeSymbologyAttributesBuilder { pub fn IsDecodeLengthSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDecodeLengthSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2429,7 +2429,7 @@ impl BarcodeSymbologyAttributesBuilder { pub fn CreateAttributes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index 967e28988b..c3879bd2af 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -7,14 +7,14 @@ impl BarcodeScanner { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23,7 +23,7 @@ impl BarcodeScanner { pub fn ClaimScannerAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClaimScannerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -32,7 +32,7 @@ impl BarcodeScanner { pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckHealthAsync)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -41,7 +41,7 @@ impl BarcodeScanner { pub fn GetSupportedSymbologiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedSymbologiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -50,7 +50,7 @@ impl BarcodeScanner { pub fn IsSymbologySupportedAsync(&self, barcodesymbology: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSymbologySupportedAsync)(::windows::core::Interface::as_raw(this), barcodesymbology, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -63,7 +63,7 @@ impl BarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveStatisticsAsync)(::windows::core::Interface::as_raw(this), statisticscategories.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -72,7 +72,7 @@ impl BarcodeScanner { pub fn GetSupportedProfiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -82,7 +82,7 @@ impl BarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsProfileSupported)(::windows::core::Interface::as_raw(this), profile.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -94,7 +94,7 @@ impl BarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -107,7 +107,7 @@ impl BarcodeScanner { pub fn VideoDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -115,7 +115,7 @@ impl BarcodeScanner { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IBarcodeScannerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -126,19 +126,19 @@ impl BarcodeScanner { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBarcodeScannerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBarcodeScannerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBarcodeScannerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(::windows::core::Interface::as_raw(this), connectiontypes, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -250,42 +250,42 @@ impl BarcodeScannerCapabilities { pub fn PowerReportingType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerReportingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatisticsReportingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsReportingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsUpdatingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsImagePreviewSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsImagePreviewSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSoftwareTriggerSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSoftwareTriggerSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVideoPreviewSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVideoPreviewSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -359,7 +359,7 @@ impl BarcodeScannerDataReceivedEventArgs { pub fn Report(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Report)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -433,21 +433,21 @@ impl BarcodeScannerErrorOccurredEventArgs { pub fn PartialInputData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartialInputData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRetriable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRetriable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -523,7 +523,7 @@ impl BarcodeScannerImagePreviewReceivedEventArgs { pub fn Preview(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Preview)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -597,7 +597,7 @@ impl BarcodeScannerReport { pub fn ScanDataType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanDataType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -606,7 +606,7 @@ impl BarcodeScannerReport { pub fn ScanData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -615,7 +615,7 @@ impl BarcodeScannerReport { pub fn ScanDataLabel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanDataLabel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -629,7 +629,7 @@ impl BarcodeScannerReport { E1: ::std::convert::Into<::windows::core::Error>, { Self::IBarcodeScannerReportFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), scandatatype, scandata.try_into().map_err(|e| e.into())?.abi(), scandatalabel.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -745,14 +745,14 @@ impl BarcodeScannerStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -824,571 +824,571 @@ pub struct BarcodeSymbologies; impl BarcodeSymbologies { pub fn Unknown() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unknown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ean8() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ean8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ean8Add2() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ean8Add2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ean8Add5() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ean8Add5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Eanv() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Eanv)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn EanvAdd2() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EanvAdd2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn EanvAdd5() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EanvAdd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ean13() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ean13)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ean13Add2() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ean13Add2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ean13Add5() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ean13Add5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Isbn() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Isbn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsbnAdd5() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsbnAdd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ismn() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ismn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsmnAdd2() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsmnAdd2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsmnAdd5() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsmnAdd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Issn() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Issn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IssnAdd2() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IssnAdd2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IssnAdd5() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IssnAdd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ean99() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ean99)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ean99Add2() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ean99Add2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ean99Add5() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ean99Add5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Upca() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Upca)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UpcaAdd2() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpcaAdd2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UpcaAdd5() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpcaAdd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Upce() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Upce)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UpceAdd2() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpceAdd2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UpceAdd5() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpceAdd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UpcCoupon() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpcCoupon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TfStd() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TfStd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TfDis() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TfDis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TfInt() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TfInt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TfInd() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TfInd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TfMat() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TfMat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TfIata() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TfIata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gs1DatabarType1() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gs1DatabarType1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gs1DatabarType2() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gs1DatabarType2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gs1DatabarType3() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gs1DatabarType3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Code39() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code39)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Code39Ex() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code39Ex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Trioptic39() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Trioptic39)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Code32() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Pzn() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pzn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Code93() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code93)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Code93Ex() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code93Ex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Code128() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code128)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gs1128() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gs1128)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gs1128Coupon() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gs1128Coupon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UccEan128() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UccEan128)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Sisac() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sisac)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Isbt() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Isbt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Codabar() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Codabar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Code11() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code11)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Msi() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Msi)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Plessey() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Plessey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Telepen() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Telepen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Code16k() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code16k)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CodablockA() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CodablockA)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CodablockF() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CodablockF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Codablock128() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Codablock128)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Code49() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code49)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Aztec() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Aztec)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DataCode() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DataMatrix() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn HanXin() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HanXin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Maxicode() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Maxicode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MicroPdf417() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicroPdf417)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MicroQr() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicroQr)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Pdf417() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pdf417)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Qr() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Qr)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MsTag() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MsTag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ccab() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ccab)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ccc() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ccc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Tlc39() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tlc39)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AusPost() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AusPost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CanPost() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ChinaPost() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChinaPost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DutchKix() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DutchKix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InfoMail() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InfoMail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ItalianPost25() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItalianPost25)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ItalianPost39() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItalianPost39)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn JapanPost() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JapanPost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn KoreanPost() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KoreanPost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SwedenPost() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SwedenPost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UkPost() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UkPost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UsIntelligent() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsIntelligent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UsIntelligentPkg() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsIntelligentPkg)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UsPlanet() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsPlanet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UsPostNet() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsPostNet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Us4StateFics() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Us4StateFics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn OcrA() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OcrA)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn OcrB() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OcrB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Micr() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Micr)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ExtendedBase() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedBase)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetName(scandatatype: u32) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetName)(::windows::core::Interface::as_raw(this), scandatatype, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Gs1DWCode() -> ::windows::core::Result { Self::IBarcodeSymbologiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gs1DWCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1413,7 +1413,7 @@ impl BarcodeSymbologyAttributes { pub fn IsCheckDigitValidationEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCheckDigitValidationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1424,14 +1424,14 @@ impl BarcodeSymbologyAttributes { pub fn IsCheckDigitValidationSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCheckDigitValidationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCheckDigitTransmissionEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCheckDigitTransmissionEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1442,14 +1442,14 @@ impl BarcodeSymbologyAttributes { pub fn IsCheckDigitTransmissionSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCheckDigitTransmissionSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DecodeLength1(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecodeLength1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1460,7 +1460,7 @@ impl BarcodeSymbologyAttributes { pub fn DecodeLength2(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecodeLength2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1471,7 +1471,7 @@ impl BarcodeSymbologyAttributes { pub fn DecodeLengthKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecodeLengthKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1482,7 +1482,7 @@ impl BarcodeSymbologyAttributes { pub fn IsDecodeLengthSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDecodeLengthSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1591,35 +1591,35 @@ impl CashDrawer { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDrawerOpen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDrawerOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DrawerEventSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DrawerEventSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1628,7 +1628,7 @@ impl CashDrawer { pub fn ClaimDrawerAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClaimDrawerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1637,7 +1637,7 @@ impl CashDrawer { pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckHealthAsync)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1650,7 +1650,7 @@ impl CashDrawer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatisticsAsync)(::windows::core::Interface::as_raw(this), statisticscategories.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1662,7 +1662,7 @@ impl CashDrawer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1676,7 +1676,7 @@ impl CashDrawer { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::ICashDrawerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1687,19 +1687,19 @@ impl CashDrawer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICashDrawerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICashDrawerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICashDrawerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(::windows::core::Interface::as_raw(this), connectiontypes, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1811,42 +1811,42 @@ impl CashDrawerCapabilities { pub fn PowerReportingType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerReportingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatisticsReportingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsReportingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsUpdatingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatusReportingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatusReportingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatusMultiDrawerDetectSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatusMultiDrawerDetectSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDrawerOpenSensorAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDrawerOpenSensorAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1928,7 +1928,7 @@ impl CashDrawerCloseAlarm { pub fn AlarmTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlarmTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1939,7 +1939,7 @@ impl CashDrawerCloseAlarm { pub fn BeepFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeepFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1954,7 +1954,7 @@ impl CashDrawerCloseAlarm { pub fn BeepDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeepDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1969,7 +1969,7 @@ impl CashDrawerCloseAlarm { pub fn BeepDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeepDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1981,7 +1981,7 @@ impl CashDrawerCloseAlarm { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlarmTimeoutExpired)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1996,7 +1996,7 @@ impl CashDrawerCloseAlarm { pub fn StartAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2070,7 +2070,7 @@ impl CashDrawerClosedEventArgs { pub fn CashDrawer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CashDrawer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2168,7 +2168,7 @@ impl CashDrawerEventSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DrawerClosed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2186,7 +2186,7 @@ impl CashDrawerEventSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DrawerOpened)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2266,7 +2266,7 @@ impl CashDrawerOpenedEventArgs { pub fn CashDrawer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CashDrawer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2359,14 +2359,14 @@ impl CashDrawerStatus { pub fn StatusKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2477,7 +2477,7 @@ impl CashDrawerStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2551,14 +2551,14 @@ impl ClaimedBarcodeScanner { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2569,7 +2569,7 @@ impl ClaimedBarcodeScanner { pub fn IsDisabledOnDataReceived(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabledOnDataReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2580,7 +2580,7 @@ impl ClaimedBarcodeScanner { pub fn IsDecodeDataEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDecodeDataEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2589,7 +2589,7 @@ impl ClaimedBarcodeScanner { pub fn EnableAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2598,7 +2598,7 @@ impl ClaimedBarcodeScanner { pub fn DisableAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2615,7 +2615,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetActiveSymbologiesAsync)(::windows::core::Interface::as_raw(this), symbologies.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2628,7 +2628,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResetStatisticsAsync)(::windows::core::Interface::as_raw(this), statisticscategories.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2641,7 +2641,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateStatisticsAsync)(::windows::core::Interface::as_raw(this), statistics.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2653,7 +2653,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetActiveProfileAsync)(::windows::core::Interface::as_raw(this), profile.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2665,7 +2665,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2683,7 +2683,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2701,7 +2701,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2719,7 +2719,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReleaseDeviceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2737,7 +2737,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImagePreviewReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2755,7 +2755,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorOccurred)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2770,7 +2770,7 @@ impl ClaimedBarcodeScanner { pub fn StartSoftwareTriggerAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartSoftwareTriggerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2779,7 +2779,7 @@ impl ClaimedBarcodeScanner { pub fn StopSoftwareTriggerAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopSoftwareTriggerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2788,7 +2788,7 @@ impl ClaimedBarcodeScanner { pub fn GetSymbologyAttributesAsync(&self, barcodesymbology: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSymbologyAttributesAsync)(::windows::core::Interface::as_raw(this), barcodesymbology, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2800,7 +2800,7 @@ impl ClaimedBarcodeScanner { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetSymbologyAttributesAsync)(::windows::core::Interface::as_raw(this), barcodesymbology, attributes.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2809,7 +2809,7 @@ impl ClaimedBarcodeScanner { pub fn ShowVideoPreviewAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowVideoPreviewAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2824,7 +2824,7 @@ impl ClaimedBarcodeScanner { pub fn IsVideoPreviewShownOnEnable(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVideoPreviewShownOnEnable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2836,7 +2836,7 @@ impl ClaimedBarcodeScanner { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3010,28 +3010,28 @@ impl ClaimedCashDrawer { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDrawerOpen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDrawerOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CloseAlarm(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloseAlarm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3040,7 +3040,7 @@ impl ClaimedCashDrawer { pub fn OpenDrawerAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenDrawerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3049,7 +3049,7 @@ impl ClaimedCashDrawer { pub fn EnableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3058,7 +3058,7 @@ impl ClaimedCashDrawer { pub fn DisableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3067,7 +3067,7 @@ impl ClaimedCashDrawer { pub fn RetainDeviceAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetainDeviceAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3080,7 +3080,7 @@ impl ClaimedCashDrawer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResetStatisticsAsync)(::windows::core::Interface::as_raw(this), statisticscategories.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3093,7 +3093,7 @@ impl ClaimedCashDrawer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateStatisticsAsync)(::windows::core::Interface::as_raw(this), statistics.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3105,7 +3105,7 @@ impl ClaimedCashDrawer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReleaseDeviceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3123,7 +3123,7 @@ impl ClaimedCashDrawer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3297,7 +3297,7 @@ impl ClaimedJournalPrinter { pub fn CreateJob(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateJob)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3308,7 +3308,7 @@ impl ClaimedJournalPrinter { pub fn CharactersPerLine(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharactersPerLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3319,7 +3319,7 @@ impl ClaimedJournalPrinter { pub fn LineHeight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3330,14 +3330,14 @@ impl ClaimedJournalPrinter { pub fn LineSpacing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineSpacing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LineWidth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3348,14 +3348,14 @@ impl ClaimedJournalPrinter { pub fn IsLetterQuality(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLetterQuality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperNearEnd(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperNearEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3366,49 +3366,49 @@ impl ClaimedJournalPrinter { pub fn ColorCartridge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorCartridge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCoverOpen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCoverOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCartridgeRemoved(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCartridgeRemoved)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCartridgeEmpty(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCartridgeEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHeadCleaning(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHeadCleaning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperEmpty(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReadyToPrint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadyToPrint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3418,7 +3418,7 @@ impl ClaimedJournalPrinter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateData)(::windows::core::Interface::as_raw(this), data.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3511,56 +3511,56 @@ impl ClaimedLineDisplay { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhysicalDeviceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalDeviceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PhysicalDeviceDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalDeviceDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeviceControlDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceControlDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeviceControlVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceControlVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeviceServiceVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceServiceVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DefaultWindow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultWindow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3576,7 +3576,7 @@ impl ClaimedLineDisplay { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReleaseDeviceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3595,7 +3595,7 @@ impl ClaimedLineDisplay { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatisticsAsync)(::windows::core::Interface::as_raw(this), statisticscategories.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3604,7 +3604,7 @@ impl ClaimedLineDisplay { pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckHealthAsync)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3613,7 +3613,7 @@ impl ClaimedLineDisplay { pub fn CheckPowerStatusAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckPowerStatusAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3625,7 +3625,7 @@ impl ClaimedLineDisplay { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3640,7 +3640,7 @@ impl ClaimedLineDisplay { pub fn SupportedScreenSizesInCharacters(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedScreenSizesInCharacters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3649,7 +3649,7 @@ impl ClaimedLineDisplay { pub fn MaxBitmapSizeInPixels(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBitmapSizeInPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3658,21 +3658,21 @@ impl ClaimedLineDisplay { pub fn SupportedCharacterSets(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCharacterSets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CustomGlyphs(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomGlyphs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetAttributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3684,7 +3684,7 @@ impl ClaimedLineDisplay { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdateAttributesAsync)(::windows::core::Interface::as_raw(this), attributes.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3693,7 +3693,7 @@ impl ClaimedLineDisplay { pub fn TrySetDescriptorAsync(&self, descriptor: u32, descriptorstate: LineDisplayDescriptorState) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetDescriptorAsync)(::windows::core::Interface::as_raw(this), descriptor, descriptorstate, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3702,7 +3702,7 @@ impl ClaimedLineDisplay { pub fn TryClearDescriptorsAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryClearDescriptorsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3711,7 +3711,7 @@ impl ClaimedLineDisplay { pub fn TryCreateWindowAsync(&self, viewport: super::super::Foundation::Rect, windowsize: super::super::Foundation::Size) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateWindowAsync)(::windows::core::Interface::as_raw(this), viewport, windowsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3723,7 +3723,7 @@ impl ClaimedLineDisplay { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryStoreStorageFileBitmapAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3735,7 +3735,7 @@ impl ClaimedLineDisplay { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryStoreStorageFileBitmapWithAlignmentAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), horizontalalignment, verticalalignment, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3747,7 +3747,7 @@ impl ClaimedLineDisplay { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryStoreStorageFileBitmapWithAlignmentAndWidthAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), horizontalalignment, verticalalignment, widthinpixels, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3759,7 +3759,7 @@ impl ClaimedLineDisplay { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3776,19 +3776,19 @@ impl ClaimedLineDisplay { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IClaimedLineDisplayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IClaimedLineDisplayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IClaimedLineDisplayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(::windows::core::Interface::as_raw(this), connectiontypes, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3961,14 +3961,14 @@ impl ClaimedMagneticStripeReader { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3979,7 +3979,7 @@ impl ClaimedMagneticStripeReader { pub fn IsDisabledOnDataReceived(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabledOnDataReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3990,14 +3990,14 @@ impl ClaimedMagneticStripeReader { pub fn IsDecodeDataEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDecodeDataEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDeviceAuthenticated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDeviceAuthenticated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4008,7 +4008,7 @@ impl ClaimedMagneticStripeReader { pub fn DataEncryptionAlgorithm(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataEncryptionAlgorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4019,7 +4019,7 @@ impl ClaimedMagneticStripeReader { pub fn TracksToRead(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TracksToRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4030,7 +4030,7 @@ impl ClaimedMagneticStripeReader { pub fn IsTransmitSentinelsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTransmitSentinelsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4039,7 +4039,7 @@ impl ClaimedMagneticStripeReader { pub fn EnableAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4048,7 +4048,7 @@ impl ClaimedMagneticStripeReader { pub fn DisableAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4065,7 +4065,7 @@ impl ClaimedMagneticStripeReader { pub fn RetrieveDeviceAuthenticationDataAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveDeviceAuthenticationDataAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4074,7 +4074,7 @@ impl ClaimedMagneticStripeReader { pub fn AuthenticateDeviceAsync(&self, responsetoken: &[u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticateDeviceAsync)(::windows::core::Interface::as_raw(this), responsetoken.len() as u32, ::core::mem::transmute(responsetoken.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4083,7 +4083,7 @@ impl ClaimedMagneticStripeReader { pub fn DeAuthenticateDeviceAsync(&self, responsetoken: &[u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeAuthenticateDeviceAsync)(::windows::core::Interface::as_raw(this), responsetoken.len() as u32, ::core::mem::transmute(responsetoken.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4096,7 +4096,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateKeyAsync)(::windows::core::Interface::as_raw(this), key.into().abi(), keyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4109,7 +4109,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResetStatisticsAsync)(::windows::core::Interface::as_raw(this), statisticscategories.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4122,7 +4122,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateStatisticsAsync)(::windows::core::Interface::as_raw(this), statistics.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4134,7 +4134,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BankCardDataReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4152,7 +4152,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AamvaCardDataReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4170,7 +4170,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VendorSpecificDataReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4188,7 +4188,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReleaseDeviceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4206,7 +4206,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorOccurred)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4224,7 +4224,7 @@ impl ClaimedMagneticStripeReader { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4398,14 +4398,14 @@ impl ClaimedPosPrinter { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4416,14 +4416,14 @@ impl ClaimedPosPrinter { pub fn CharacterSet(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterSet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCoverOpen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCoverOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4434,7 +4434,7 @@ impl ClaimedPosPrinter { pub fn IsCharacterSetMappingEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCharacterSetMappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4445,28 +4445,28 @@ impl ClaimedPosPrinter { pub fn MapMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Receipt(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Receipt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Slip(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Slip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Journal(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Journal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4475,7 +4475,7 @@ impl ClaimedPosPrinter { pub fn EnableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4484,7 +4484,7 @@ impl ClaimedPosPrinter { pub fn DisableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4493,7 +4493,7 @@ impl ClaimedPosPrinter { pub fn RetainDeviceAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetainDeviceAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4506,7 +4506,7 @@ impl ClaimedPosPrinter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResetStatisticsAsync)(::windows::core::Interface::as_raw(this), statisticscategories.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4519,7 +4519,7 @@ impl ClaimedPosPrinter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateStatisticsAsync)(::windows::core::Interface::as_raw(this), statistics.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4531,7 +4531,7 @@ impl ClaimedPosPrinter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReleaseDeviceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4549,7 +4549,7 @@ impl ClaimedPosPrinter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4723,21 +4723,21 @@ impl ClaimedReceiptPrinter { pub fn SidewaysMaxLines(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidewaysMaxLines)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SidewaysMaxChars(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidewaysMaxChars)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LinesToPaperCut(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinesToPaperCut)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4746,7 +4746,7 @@ impl ClaimedReceiptPrinter { pub fn PageSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4755,14 +4755,14 @@ impl ClaimedReceiptPrinter { pub fn PrintArea(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintArea)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateJob(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateJob)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4773,7 +4773,7 @@ impl ClaimedReceiptPrinter { pub fn CharactersPerLine(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharactersPerLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4784,7 +4784,7 @@ impl ClaimedReceiptPrinter { pub fn LineHeight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4795,14 +4795,14 @@ impl ClaimedReceiptPrinter { pub fn LineSpacing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineSpacing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LineWidth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4813,14 +4813,14 @@ impl ClaimedReceiptPrinter { pub fn IsLetterQuality(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLetterQuality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperNearEnd(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperNearEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4831,49 +4831,49 @@ impl ClaimedReceiptPrinter { pub fn ColorCartridge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorCartridge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCoverOpen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCoverOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCartridgeRemoved(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCartridgeRemoved)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCartridgeEmpty(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCartridgeEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHeadCleaning(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHeadCleaning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperEmpty(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReadyToPrint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadyToPrint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4883,7 +4883,7 @@ impl ClaimedReceiptPrinter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateData)(::windows::core::Interface::as_raw(this), data.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4976,35 +4976,35 @@ impl ClaimedSlipPrinter { pub fn SidewaysMaxLines(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidewaysMaxLines)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SidewaysMaxChars(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidewaysMaxChars)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxLines(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxLines)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LinesNearEndToEnd(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinesNearEndToEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PrintSide(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintSide)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5013,7 +5013,7 @@ impl ClaimedSlipPrinter { pub fn PageSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5022,7 +5022,7 @@ impl ClaimedSlipPrinter { pub fn PrintArea(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintArea)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5039,7 +5039,7 @@ impl ClaimedSlipPrinter { pub fn InsertSlipAsync(&self, timeout: super::super::Foundation::TimeSpan) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertSlipAsync)(::windows::core::Interface::as_raw(this), timeout, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5048,7 +5048,7 @@ impl ClaimedSlipPrinter { pub fn RemoveSlipAsync(&self, timeout: super::super::Foundation::TimeSpan) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveSlipAsync)(::windows::core::Interface::as_raw(this), timeout, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5059,7 +5059,7 @@ impl ClaimedSlipPrinter { pub fn CreateJob(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateJob)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5070,7 +5070,7 @@ impl ClaimedSlipPrinter { pub fn CharactersPerLine(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharactersPerLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5081,7 +5081,7 @@ impl ClaimedSlipPrinter { pub fn LineHeight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5092,14 +5092,14 @@ impl ClaimedSlipPrinter { pub fn LineSpacing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineSpacing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LineWidth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5110,14 +5110,14 @@ impl ClaimedSlipPrinter { pub fn IsLetterQuality(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLetterQuality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperNearEnd(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperNearEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5128,49 +5128,49 @@ impl ClaimedSlipPrinter { pub fn ColorCartridge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorCartridge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCoverOpen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCoverOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCartridgeRemoved(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCartridgeRemoved)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCartridgeEmpty(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCartridgeEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHeadCleaning(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHeadCleaning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperEmpty(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReadyToPrint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadyToPrint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5180,7 +5180,7 @@ impl ClaimedSlipPrinter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateData)(::windows::core::Interface::as_raw(this), data.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5781,7 +5781,7 @@ impl ICashDrawerEventSourceEventArgs { pub fn CashDrawer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CashDrawer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6625,7 +6625,7 @@ impl ICommonClaimedPosPrinterStation { pub fn CharactersPerLine(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharactersPerLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6636,7 +6636,7 @@ impl ICommonClaimedPosPrinterStation { pub fn LineHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6647,14 +6647,14 @@ impl ICommonClaimedPosPrinterStation { pub fn LineSpacing(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineSpacing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LineWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6665,14 +6665,14 @@ impl ICommonClaimedPosPrinterStation { pub fn IsLetterQuality(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLetterQuality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperNearEnd(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperNearEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6683,49 +6683,49 @@ impl ICommonClaimedPosPrinterStation { pub fn ColorCartridge(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorCartridge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCoverOpen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCoverOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCartridgeRemoved(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCartridgeRemoved)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCartridgeEmpty(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCartridgeEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHeadCleaning(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHeadCleaning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperEmpty(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReadyToPrint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadyToPrint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6735,7 +6735,7 @@ impl ICommonClaimedPosPrinterStation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateData)(::windows::core::Interface::as_raw(this), data.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6828,84 +6828,84 @@ impl ICommonPosPrintStationCapabilities { pub fn IsPrinterPresent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrinterPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDualColorSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDualColorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorCartridgeCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorCartridgeCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CartridgeSensors(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CartridgeSensors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBoldSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBoldSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsItalicSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsItalicSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUnderlineSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUnderlineSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighPrintSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighPrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperEmptySensorSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperEmptySensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperNearEndSensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6914,7 +6914,7 @@ impl ICommonPosPrintStationCapabilities { pub fn SupportedCharactersPerLine(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCharactersPerLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7004,49 +7004,49 @@ impl ICommonReceiptSlipCapabilities { pub fn IsBarcodeSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBarcodeSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBitmapSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBitmapSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsLeft90RotationSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLeft90RotationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRight90RotationSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRight90RotationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Is180RotationSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Is180RotationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPrintAreaSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrintAreaSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RuledLineCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RuledLineCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7055,7 +7055,7 @@ impl ICommonReceiptSlipCapabilities { pub fn SupportedBarcodeRotations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedBarcodeRotations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7064,91 +7064,91 @@ impl ICommonReceiptSlipCapabilities { pub fn SupportedBitmapRotations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedBitmapRotations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsPrinterPresent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrinterPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDualColorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDualColorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorCartridgeCapabilities(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorCartridgeCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CartridgeSensors(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CartridgeSensors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBoldSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBoldSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsItalicSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsItalicSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUnderlineSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUnderlineSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighPrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighPrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperEmptySensorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperEmptySensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperNearEndSensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7157,7 +7157,7 @@ impl ICommonReceiptSlipCapabilities { pub fn SupportedCharactersPerLine(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCharactersPerLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8110,7 +8110,7 @@ impl IPosPrinterJob { pub fn ExecuteAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecuteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8433,7 +8433,7 @@ impl IReceiptOrSlipJob { pub fn ExecuteAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecuteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8744,7 +8744,7 @@ impl JournalPrintJob { pub fn ExecuteAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecuteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8837,84 +8837,84 @@ impl JournalPrinterCapabilities { pub fn IsPrinterPresent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrinterPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDualColorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDualColorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorCartridgeCapabilities(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorCartridgeCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CartridgeSensors(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CartridgeSensors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBoldSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBoldSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsItalicSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsItalicSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUnderlineSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUnderlineSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighPrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighPrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperEmptySensorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperEmptySensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperNearEndSensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8923,49 +8923,49 @@ impl JournalPrinterCapabilities { pub fn SupportedCharactersPerLine(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCharactersPerLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsReverseVideoSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReverseVideoSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStrikethroughSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStrikethroughSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSuperscriptSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSuperscriptSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSubscriptSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSubscriptSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReversePaperFeedByLineSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReversePaperFeedByLineSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReversePaperFeedByMapModeUnitSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReversePaperFeedByMapModeUnitSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9064,49 +9064,49 @@ impl LineDisplay { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhysicalDeviceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalDeviceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PhysicalDeviceDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalDeviceDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeviceControlDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceControlDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeviceControlVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceControlVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeviceServiceVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceServiceVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9115,7 +9115,7 @@ impl LineDisplay { pub fn ClaimAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClaimAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9124,7 +9124,7 @@ impl LineDisplay { pub fn CheckPowerStatusAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckPowerStatusAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9135,7 +9135,7 @@ impl LineDisplay { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILineDisplayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -9143,25 +9143,25 @@ impl LineDisplay { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::ILineDisplayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILineDisplayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILineDisplayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(::windows::core::Interface::as_raw(this), connectiontypes, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn StatisticsCategorySelector() -> ::windows::core::Result { Self::ILineDisplayStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatisticsCategorySelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9267,7 +9267,7 @@ impl LineDisplayAttributes { pub fn IsPowerNotifyEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPowerNotifyEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9278,7 +9278,7 @@ impl LineDisplayAttributes { pub fn Brightness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Brightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9291,7 +9291,7 @@ impl LineDisplayAttributes { pub fn BlinkRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlinkRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9306,7 +9306,7 @@ impl LineDisplayAttributes { pub fn ScreenSizeInCharacters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenSizeInCharacters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9319,7 +9319,7 @@ impl LineDisplayAttributes { pub fn CharacterSet(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterSet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9330,7 +9330,7 @@ impl LineDisplayAttributes { pub fn IsCharacterSetMappingEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCharacterSetMappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9341,7 +9341,7 @@ impl LineDisplayAttributes { pub fn CurrentWindow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentWindow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9422,126 +9422,126 @@ impl LineDisplayCapabilities { pub fn IsStatisticsReportingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsReportingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsUpdatingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PowerReportingType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerReportingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanChangeScreenSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanChangeScreenSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanDisplayBitmaps(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanDisplayBitmaps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanReadCharacterAtCursor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanReadCharacterAtCursor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanMapCharacterSets(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanMapCharacterSets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanDisplayCustomGlyphs(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanDisplayCustomGlyphs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanReverse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanReverse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanBlink(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanBlink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanChangeBlinkRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanChangeBlinkRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBrightnessSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBrightnessSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCursorSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCursorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHorizontalMarqueeSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHorizontalMarqueeSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVerticalMarqueeSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVerticalMarqueeSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInterCharacterWaitSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInterCharacterWaitSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportedDescriptors(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedDescriptors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportedWindows(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedWindows)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9615,56 +9615,56 @@ impl LineDisplayCursor { pub fn CanCustomize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCustomize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBlinkSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBlinkSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBlockSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBlockSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHalfBlockSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHalfBlockSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUnderlineSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUnderlineSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReverseSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReverseSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOtherSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOtherSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetAttributes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9676,7 +9676,7 @@ impl LineDisplayCursor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdateAttributesAsync)(::windows::core::Interface::as_raw(this), attributes.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9750,7 +9750,7 @@ impl LineDisplayCursorAttributes { pub fn IsBlinkEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBlinkEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9761,7 +9761,7 @@ impl LineDisplayCursorAttributes { pub fn CursorType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CursorType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9772,7 +9772,7 @@ impl LineDisplayCursorAttributes { pub fn IsAutoAdvanceEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAutoAdvanceEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9785,7 +9785,7 @@ impl LineDisplayCursorAttributes { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9905,7 +9905,7 @@ impl LineDisplayCustomGlyphs { pub fn SizeInPixels(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeInPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9914,7 +9914,7 @@ impl LineDisplayCustomGlyphs { pub fn SupportedGlyphCodes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedGlyphCodes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9927,7 +9927,7 @@ impl LineDisplayCustomGlyphs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRedefineAsync)(::windows::core::Interface::as_raw(this), glyphcode, glyphdata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10071,7 +10071,7 @@ impl LineDisplayMarquee { pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10084,7 +10084,7 @@ impl LineDisplayMarquee { pub fn RepeatWaitInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RepeatWaitInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10099,7 +10099,7 @@ impl LineDisplayMarquee { pub fn ScrollWaitInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScrollWaitInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10114,7 +10114,7 @@ impl LineDisplayMarquee { pub fn TryStartScrollingAsync(&self, direction: LineDisplayScrollDirection) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryStartScrollingAsync)(::windows::core::Interface::as_raw(this), direction, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10123,7 +10123,7 @@ impl LineDisplayMarquee { pub fn TryStopScrollingAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryStopScrollingAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10305,21 +10305,21 @@ impl LineDisplayStatisticsCategorySelector { pub fn AllStatistics(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UnifiedPosStatistics(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnifiedPosStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ManufacturerStatistics(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManufacturerStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10393,7 +10393,7 @@ impl LineDisplayStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10467,7 +10467,7 @@ impl LineDisplayStoredBitmap { pub fn EscapeSequence(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EscapeSequence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10476,7 +10476,7 @@ impl LineDisplayStoredBitmap { pub fn TryDeleteAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10664,7 +10664,7 @@ impl LineDisplayWindow { pub fn SizeInCharacters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeInCharacters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10673,7 +10673,7 @@ impl LineDisplayWindow { pub fn InterCharacterWaitInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterCharacterWaitInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10688,7 +10688,7 @@ impl LineDisplayWindow { pub fn TryRefreshAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRefreshAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10700,7 +10700,7 @@ impl LineDisplayWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisplayTextAsync)(::windows::core::Interface::as_raw(this), text.into().abi(), displayattribute, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10712,7 +10712,7 @@ impl LineDisplayWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisplayTextAtPositionAsync)(::windows::core::Interface::as_raw(this), text.into().abi(), displayattribute, startposition, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10724,7 +10724,7 @@ impl LineDisplayWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisplayTextNormalAsync)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10733,7 +10733,7 @@ impl LineDisplayWindow { pub fn TryScrollTextAsync(&self, direction: LineDisplayScrollDirection, numberofcolumnsorrows: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryScrollTextAsync)(::windows::core::Interface::as_raw(this), direction, numberofcolumnsorrows, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10742,21 +10742,21 @@ impl LineDisplayWindow { pub fn TryClearTextAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryClearTextAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Cursor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cursor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Marquee(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Marquee)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10765,7 +10765,7 @@ impl LineDisplayWindow { pub fn ReadCharacterAtCursorAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadCharacterAtCursorAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10777,7 +10777,7 @@ impl LineDisplayWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisplayStoredBitmapAtCursorAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10789,7 +10789,7 @@ impl LineDisplayWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisplayStorageFileBitmapAtCursorAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10801,7 +10801,7 @@ impl LineDisplayWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisplayStorageFileBitmapAtCursorWithAlignmentAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), horizontalalignment, verticalalignment, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10813,7 +10813,7 @@ impl LineDisplayWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisplayStorageFileBitmapAtCursorWithAlignmentAndWidthAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), horizontalalignment, verticalalignment, widthinpixels, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10825,7 +10825,7 @@ impl LineDisplayWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisplayStorageFileBitmapAtPointAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), offsetinpixels, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10837,7 +10837,7 @@ impl LineDisplayWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisplayStorageFileBitmapAtPointWithWidthAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), offsetinpixels, widthinpixels, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10939,28 +10939,28 @@ impl MagneticStripeReader { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportedCardTypes(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCardTypes)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn DeviceAuthenticationProtocol(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAuthenticationProtocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10969,7 +10969,7 @@ impl MagneticStripeReader { pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckHealthAsync)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10978,7 +10978,7 @@ impl MagneticStripeReader { pub fn ClaimReaderAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClaimReaderAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10991,14 +10991,14 @@ impl MagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveStatisticsAsync)(::windows::core::Interface::as_raw(this), statisticscategories.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetErrorReportingType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetErrorReportingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11010,7 +11010,7 @@ impl MagneticStripeReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11024,7 +11024,7 @@ impl MagneticStripeReader { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IMagneticStripeReaderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -11035,19 +11035,19 @@ impl MagneticStripeReader { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMagneticStripeReaderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMagneticStripeReaderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMagneticStripeReaderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(::windows::core::Interface::as_raw(this), connectiontypes, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -11153,133 +11153,133 @@ impl MagneticStripeReaderAamvaCardDataReceivedEventArgs { pub fn Report(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Report)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LicenseNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ExpirationDate(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Restrictions(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Restrictions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Class(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Class)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Endorsements(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Endorsements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn BirthDate(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BirthDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirstName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Surname(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Surname)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Suffix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Suffix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Gender(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gender)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn HairColor(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HairColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EyeColor(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EyeColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Height(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Weight(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Weight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Address(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn City(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).City)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PostalCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostalCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11422,63 +11422,63 @@ impl MagneticStripeReaderBankCardDataReceivedEventArgs { pub fn Report(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Report)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AccountNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ExpirationDate(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirstName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MiddleInitial(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MiddleInitial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Surname(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Surname)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Suffix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Suffix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11552,77 +11552,77 @@ impl MagneticStripeReaderCapabilities { pub fn CardAuthentication(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardAuthentication)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SupportedEncryptionAlgorithms(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedEncryptionAlgorithms)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AuthenticationLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsIsoSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIsoSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsJisOneSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsJisOneSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsJisTwoSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsJisTwoSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PowerReportingType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerReportingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatisticsReportingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsReportingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsUpdatingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTrackDataMaskingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTrackDataMaskingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTransmitSentinelsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTransmitSentinelsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11694,25 +11694,25 @@ pub struct MagneticStripeReaderCardTypes; impl MagneticStripeReaderCardTypes { pub fn Unknown() -> ::windows::core::Result { Self::IMagneticStripeReaderCardTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unknown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Bank() -> ::windows::core::Result { Self::IMagneticStripeReaderCardTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bank)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Aamva() -> ::windows::core::Result { Self::IMagneticStripeReaderCardTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Aamva)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ExtendedBase() -> ::windows::core::Result { Self::IMagneticStripeReaderCardTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedBase)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -11730,19 +11730,19 @@ pub struct MagneticStripeReaderEncryptionAlgorithms; impl MagneticStripeReaderEncryptionAlgorithms { pub fn None() -> ::windows::core::Result { Self::IMagneticStripeReaderEncryptionAlgorithmsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).None)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TripleDesDukpt() -> ::windows::core::Result { Self::IMagneticStripeReaderEncryptionAlgorithmsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TripleDesDukpt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ExtendedBase() -> ::windows::core::Result { Self::IMagneticStripeReaderEncryptionAlgorithmsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedBase)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -11762,42 +11762,42 @@ impl MagneticStripeReaderErrorOccurredEventArgs { pub fn Track1Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track1Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Track2Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track2Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Track3Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track3Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Track4Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track4Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PartialInputData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartialInputData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11905,35 +11905,35 @@ impl MagneticStripeReaderReport { pub fn CardType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Track1(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Track2(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Track3(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Track4(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track4)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11942,7 +11942,7 @@ impl MagneticStripeReaderReport { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11951,14 +11951,14 @@ impl MagneticStripeReaderReport { pub fn CardAuthenticationData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardAuthenticationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CardAuthenticationDataLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardAuthenticationDataLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11967,7 +11967,7 @@ impl MagneticStripeReaderReport { pub fn AdditionalSecurityInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdditionalSecurityInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12076,14 +12076,14 @@ impl MagneticStripeReaderStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12159,7 +12159,7 @@ impl MagneticStripeReaderTrackData { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12168,7 +12168,7 @@ impl MagneticStripeReaderTrackData { pub fn DiscretionaryData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiscretionaryData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12177,7 +12177,7 @@ impl MagneticStripeReaderTrackData { pub fn EncryptedData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncryptedData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12326,7 +12326,7 @@ impl MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { pub fn Report(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Report)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12470,14 +12470,14 @@ impl PosPrinter { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12486,7 +12486,7 @@ impl PosPrinter { pub fn SupportedCharacterSets(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCharacterSets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -12495,14 +12495,14 @@ impl PosPrinter { pub fn SupportedTypeFaces(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedTypeFaces)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12511,7 +12511,7 @@ impl PosPrinter { pub fn ClaimPrinterAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClaimPrinterAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -12520,7 +12520,7 @@ impl PosPrinter { pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckHealthAsync)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -12533,7 +12533,7 @@ impl PosPrinter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatisticsAsync)(::windows::core::Interface::as_raw(this), statisticscategories.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -12545,7 +12545,7 @@ impl PosPrinter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12560,7 +12560,7 @@ impl PosPrinter { pub fn SupportedBarcodeSymbologies(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedBarcodeSymbologies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -12570,7 +12570,7 @@ impl PosPrinter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFontProperty)(::windows::core::Interface::as_raw(this), typeface.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12578,7 +12578,7 @@ impl PosPrinter { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IPosPrinterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -12589,19 +12589,19 @@ impl PosPrinter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPosPrinterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPosPrinterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPosPrinterStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(::windows::core::Interface::as_raw(this), connectiontypes, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -12777,70 +12777,70 @@ impl PosPrinterCapabilities { pub fn PowerReportingType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerReportingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatisticsReportingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsReportingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStatisticsUpdatingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultCharacterSet(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultCharacterSet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasCoverSensor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCoverSensor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanMapCharacterSet(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanMapCharacterSet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTransactionSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTransactionSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Receipt(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Receipt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Slip(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Slip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Journal(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Journal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12977,19 +12977,19 @@ pub struct PosPrinterCharacterSetIds; impl PosPrinterCharacterSetIds { pub fn Utf16LE() -> ::windows::core::Result { Self::IPosPrinterCharacterSetIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Utf16LE)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ascii() -> ::windows::core::Result { Self::IPosPrinterCharacterSetIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ascii)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ansi() -> ::windows::core::Result { Self::IPosPrinterCharacterSetIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ansi)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -13124,14 +13124,14 @@ impl PosPrinterFontProperty { pub fn TypeFace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TypeFace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsScalableToAnySize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScalableToAnySize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13140,7 +13140,7 @@ impl PosPrinterFontProperty { pub fn CharacterSizes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterSizes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13428,7 +13428,7 @@ impl PosPrinterPrintOptions { pub fn TypeFace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TypeFace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13442,7 +13442,7 @@ impl PosPrinterPrintOptions { pub fn CharacterHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13453,7 +13453,7 @@ impl PosPrinterPrintOptions { pub fn Bold(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13464,7 +13464,7 @@ impl PosPrinterPrintOptions { pub fn Italic(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Italic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13475,7 +13475,7 @@ impl PosPrinterPrintOptions { pub fn Underline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Underline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13486,7 +13486,7 @@ impl PosPrinterPrintOptions { pub fn ReverseVideo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReverseVideo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13497,7 +13497,7 @@ impl PosPrinterPrintOptions { pub fn Strikethrough(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Strikethrough)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13508,7 +13508,7 @@ impl PosPrinterPrintOptions { pub fn Superscript(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Superscript)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13519,7 +13519,7 @@ impl PosPrinterPrintOptions { pub fn Subscript(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subscript)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13530,7 +13530,7 @@ impl PosPrinterPrintOptions { pub fn DoubleWide(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DoubleWide)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13541,7 +13541,7 @@ impl PosPrinterPrintOptions { pub fn DoubleHigh(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DoubleHigh)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13552,7 +13552,7 @@ impl PosPrinterPrintOptions { pub fn Alignment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Alignment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13563,7 +13563,7 @@ impl PosPrinterPrintOptions { pub fn CharacterSet(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterSet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13841,14 +13841,14 @@ impl PosPrinterStatus { pub fn StatusKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13959,7 +13959,7 @@ impl PosPrinterStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14053,7 +14053,7 @@ impl ReceiptPrintJob { pub fn ExecuteAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecuteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -14308,84 +14308,84 @@ impl ReceiptPrinterCapabilities { pub fn IsPrinterPresent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrinterPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDualColorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDualColorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorCartridgeCapabilities(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorCartridgeCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CartridgeSensors(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CartridgeSensors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBoldSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBoldSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsItalicSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsItalicSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUnderlineSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUnderlineSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighPrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighPrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperEmptySensorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperEmptySensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperNearEndSensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14394,56 +14394,56 @@ impl ReceiptPrinterCapabilities { pub fn SupportedCharactersPerLine(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCharactersPerLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsBarcodeSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBarcodeSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBitmapSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBitmapSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsLeft90RotationSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLeft90RotationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRight90RotationSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRight90RotationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Is180RotationSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Is180RotationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPrintAreaSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrintAreaSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RuledLineCapabilities(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RuledLineCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14452,7 +14452,7 @@ impl ReceiptPrinterCapabilities { pub fn SupportedBarcodeRotations(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedBarcodeRotations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -14461,70 +14461,70 @@ impl ReceiptPrinterCapabilities { pub fn SupportedBitmapRotations(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedBitmapRotations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CanCutPaper(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCutPaper)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStampSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStampSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MarkFeedCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MarkFeedCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReverseVideoSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReverseVideoSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStrikethroughSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStrikethroughSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSuperscriptSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSuperscriptSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSubscriptSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSubscriptSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReversePaperFeedByLineSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReversePaperFeedByLineSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReversePaperFeedByMapModeUnitSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReversePaperFeedByMapModeUnitSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14694,7 +14694,7 @@ impl SlipPrintJob { pub fn ExecuteAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecuteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -14933,84 +14933,84 @@ impl SlipPrinterCapabilities { pub fn IsPrinterPresent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrinterPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDualColorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDualColorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorCartridgeCapabilities(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorCartridgeCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CartridgeSensors(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CartridgeSensors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBoldSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBoldSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsItalicSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsItalicSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUnderlineSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUnderlineSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighPrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighPrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperEmptySensorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperEmptySensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPaperNearEndSensorSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15019,56 +15019,56 @@ impl SlipPrinterCapabilities { pub fn SupportedCharactersPerLine(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCharactersPerLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsBarcodeSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBarcodeSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBitmapSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBitmapSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsLeft90RotationSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLeft90RotationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRight90RotationSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRight90RotationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Is180RotationSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Is180RotationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPrintAreaSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrintAreaSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RuledLineCapabilities(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RuledLineCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15077,7 +15077,7 @@ impl SlipPrinterCapabilities { pub fn SupportedBarcodeRotations(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedBarcodeRotations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -15086,63 +15086,63 @@ impl SlipPrinterCapabilities { pub fn SupportedBitmapRotations(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedBitmapRotations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsFullLengthSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFullLengthSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBothSidesPrintingSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBothSidesPrintingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReverseVideoSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReverseVideoSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStrikethroughSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStrikethroughSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSuperscriptSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSuperscriptSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSubscriptSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSubscriptSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReversePaperFeedByLineSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReversePaperFeedByLineSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReversePaperFeedByMapModeUnitSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReversePaperFeedByMapModeUnitSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15254,28 +15254,28 @@ impl UnifiedPosErrorData { pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Severity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Severity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedReason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15284,7 +15284,7 @@ impl UnifiedPosErrorData { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUnifiedPosErrorDataFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), message.into().abi(), severity, reason, extendedreason, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs index cce20ddeb6..4d187d759c 100644 --- a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs @@ -34,13 +34,13 @@ pub struct ServiceDevice; impl ServiceDevice { pub fn GetDeviceSelector(servicetype: ServiceDeviceType) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IServiceDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), servicetype, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorFromServiceId(serviceid: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IServiceDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromServiceId)(::windows::core::Interface::as_raw(this), serviceid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -102,13 +102,13 @@ impl StorageDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorageDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStorageDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Devices/Power/mod.rs index a46d3befab..9dae7be7f2 100644 --- a/crates/libs/windows/src/Windows/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Power/mod.rs @@ -5,14 +5,14 @@ impl Battery { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24,7 +24,7 @@ impl Battery { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36,7 +36,7 @@ impl Battery { } pub fn AggregateBattery() -> ::windows::core::Result { Self::IBatteryStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AggregateBattery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -47,13 +47,13 @@ impl Battery { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBatteryStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBatteryStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -134,7 +134,7 @@ impl BatteryReport { pub fn ChargeRateInMilliwatts(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChargeRateInMilliwatts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -143,7 +143,7 @@ impl BatteryReport { pub fn DesignCapacityInMilliwattHours(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesignCapacityInMilliwattHours)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -152,7 +152,7 @@ impl BatteryReport { pub fn FullChargeCapacityInMilliwattHours(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FullChargeCapacityInMilliwattHours)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -161,7 +161,7 @@ impl BatteryReport { pub fn RemainingCapacityInMilliwattHours(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingCapacityInMilliwattHours)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -170,7 +170,7 @@ impl BatteryReport { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs index de6775f837..9e9bc37b10 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs @@ -172,21 +172,21 @@ impl Print3DWorkflow { pub fn DeviceID(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceID)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetPrintModelPackage(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPrintModelPackage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn IsPrintReady(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrintReady)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -202,7 +202,7 @@ impl Print3DWorkflow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintRequested)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -220,7 +220,7 @@ impl Print3DWorkflow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrinterChanged)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -339,7 +339,7 @@ impl Print3DWorkflowPrintRequestedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -428,7 +428,7 @@ impl Print3DWorkflowPrinterChangedEventArgs { pub fn NewDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -540,7 +540,7 @@ impl PrintExtensionContext { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPrintExtensionContextStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromDeviceId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } @@ -560,14 +560,14 @@ impl PrintNotificationEventDetails { pub fn PrinterName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrinterName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EventData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EventData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -648,7 +648,7 @@ impl PrintTaskConfiguration { pub fn PrinterExtensionContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrinterExtensionContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -660,7 +660,7 @@ impl PrintTaskConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveRequested)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -749,7 +749,7 @@ impl PrintTaskConfigurationSaveRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -758,7 +758,7 @@ impl PrintTaskConfigurationSaveRequest { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -899,7 +899,7 @@ impl PrintTaskConfigurationSaveRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs index 84d9a62636..4194dcd15c 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs @@ -413,14 +413,14 @@ impl IppAttributeError { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -429,7 +429,7 @@ impl IppAttributeError { pub fn GetUnsupportedValues(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUnsupportedValues)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -540,7 +540,7 @@ impl IppAttributeValue { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -549,7 +549,7 @@ impl IppAttributeValue { pub fn GetIntegerArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIntegerArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -558,7 +558,7 @@ impl IppAttributeValue { pub fn GetBooleanArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBooleanArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -567,7 +567,7 @@ impl IppAttributeValue { pub fn GetEnumArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEnumArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -576,7 +576,7 @@ impl IppAttributeValue { pub fn GetOctetStringArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOctetStringArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -585,7 +585,7 @@ impl IppAttributeValue { pub fn GetDateTimeArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDateTimeArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -594,7 +594,7 @@ impl IppAttributeValue { pub fn GetResolutionArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResolutionArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -603,7 +603,7 @@ impl IppAttributeValue { pub fn GetRangeOfIntegerArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRangeOfIntegerArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -612,7 +612,7 @@ impl IppAttributeValue { pub fn GetCollectionArray(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCollectionArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -621,7 +621,7 @@ impl IppAttributeValue { pub fn GetTextWithLanguageArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTextWithLanguageArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -630,7 +630,7 @@ impl IppAttributeValue { pub fn GetNameWithLanguageArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNameWithLanguageArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -639,7 +639,7 @@ impl IppAttributeValue { pub fn GetTextWithoutLanguageArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTextWithoutLanguageArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -648,7 +648,7 @@ impl IppAttributeValue { pub fn GetNameWithoutLanguageArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNameWithoutLanguageArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -657,7 +657,7 @@ impl IppAttributeValue { pub fn GetKeywordArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetKeywordArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -666,7 +666,7 @@ impl IppAttributeValue { pub fn GetUriArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUriArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -675,7 +675,7 @@ impl IppAttributeValue { pub fn GetUriSchemaArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUriSchemaArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -684,7 +684,7 @@ impl IppAttributeValue { pub fn GetCharsetArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCharsetArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -693,7 +693,7 @@ impl IppAttributeValue { pub fn GetNaturalLanguageArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNaturalLanguageArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -702,31 +702,31 @@ impl IppAttributeValue { pub fn GetMimeMediaTypeArray(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMimeMediaTypeArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateUnsupported() -> ::windows::core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUnsupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateUnknown() -> ::windows::core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUnknown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateNoValue() -> ::windows::core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNoValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateInteger(value: i32) -> ::windows::core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInteger)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -738,13 +738,13 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateIntegerArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateBoolean(value: bool) -> ::windows::core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBoolean)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -756,13 +756,13 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBooleanArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateEnum(value: i32) -> ::windows::core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEnum)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -774,7 +774,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEnumArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -786,7 +786,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOctetString)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -798,7 +798,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOctetStringArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -806,7 +806,7 @@ impl IppAttributeValue { #[cfg(feature = "Foundation")] pub fn CreateDateTime(value: super::super::Foundation::DateTime) -> ::windows::core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTime)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -818,7 +818,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -827,7 +827,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, IppResolution>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResolution)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -839,7 +839,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResolutionArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -848,7 +848,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, IppIntegerRange>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRangeOfInteger)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -860,7 +860,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRangeOfIntegerArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -872,7 +872,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCollection)(::windows::core::Interface::as_raw(this), memberattributes.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -884,7 +884,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCollectionArray)(::windows::core::Interface::as_raw(this), memberattributesarray.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -893,7 +893,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, IppTextWithLanguage>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTextWithLanguage)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -905,7 +905,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTextWithLanguageArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -914,7 +914,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, IppTextWithLanguage>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNameWithLanguage)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -926,7 +926,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNameWithLanguageArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -935,7 +935,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTextWithoutLanguage)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -947,7 +947,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTextWithoutLanguageArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -956,7 +956,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNameWithoutLanguage)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -968,7 +968,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNameWithoutLanguageArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -977,7 +977,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateKeyword)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -989,7 +989,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateKeywordArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1000,7 +1000,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUri)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1012,7 +1012,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUriArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1021,7 +1021,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUriSchema)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1033,7 +1033,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUriSchemaArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1042,7 +1042,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCharset)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1054,7 +1054,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCharsetArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1063,7 +1063,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNaturalLanguage)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1075,7 +1075,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNaturalLanguageArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1084,7 +1084,7 @@ impl IppAttributeValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMimeMedia)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1096,7 +1096,7 @@ impl IppAttributeValue { E0: ::std::convert::Into<::windows::core::Error>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMimeMediaArray)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1228,20 +1228,20 @@ impl IppIntegerRange { pub fn Start(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Start)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn End(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).End)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateInstance(start: i32, end: i32) -> ::windows::core::Result { Self::IIppIntegerRangeFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), start, end, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1320,7 +1320,7 @@ impl IppPrintDevice { pub fn PrinterName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrinterName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1329,7 +1329,7 @@ impl IppPrintDevice { pub fn PrinterUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrinterUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1342,7 +1342,7 @@ impl IppPrintDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPrinterAttributesAsBuffer)(::windows::core::Interface::as_raw(this), attributenames.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1355,7 +1355,7 @@ impl IppPrintDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPrinterAttributes)(::windows::core::Interface::as_raw(this), attributenames.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1368,7 +1368,7 @@ impl IppPrintDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPrinterAttributesFromBuffer)(::windows::core::Interface::as_raw(this), printerattributesbuffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1381,7 +1381,7 @@ impl IppPrintDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPrinterAttributes)(::windows::core::Interface::as_raw(this), printerattributes.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1455,27 +1455,27 @@ impl IppResolution { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Unit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateInstance(width: i32, height: i32, unit: IppResolutionUnit) -> ::windows::core::Result { Self::IIppResolutionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), width, height, unit, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1588,7 +1588,7 @@ impl IppSetAttributesResult { pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1597,7 +1597,7 @@ impl IppSetAttributesResult { pub fn AttributeErrors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1671,14 +1671,14 @@ impl IppTextWithLanguage { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1688,7 +1688,7 @@ impl IppTextWithLanguage { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIppTextWithLanguageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), language.into().abi(), text.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1767,7 +1767,7 @@ impl Print3DDevice { pub fn PrintSchema(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintSchema)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1778,13 +1778,13 @@ impl Print3DDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPrint3DDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPrint3DDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1865,7 +1865,7 @@ impl PrintSchema { pub fn GetDefaultPrintTicketAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultPrintTicketAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1878,7 +1878,7 @@ impl PrintSchema { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCapabilitiesAsync)(::windows::core::Interface::as_raw(this), constrainticket.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1891,7 +1891,7 @@ impl PrintSchema { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MergeAndValidateWithDefaultPrintTicketAsync)(::windows::core::Interface::as_raw(this), deltaticket.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } 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 0479bc1d1e..f4c986106c 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs @@ -5,35 +5,35 @@ impl IPwmControllerProvider { pub fn PinCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActualFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActualFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SetDesiredFrequency(&self, frequency: f64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDesiredFrequency)(::windows::core::Interface::as_raw(this), frequency, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -139,7 +139,7 @@ impl IPwmProvider { pub fn GetControllers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs index 474f97cd47..d98b6ecac1 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs @@ -95,42 +95,42 @@ impl PwmController { pub fn PinCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActualFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActualFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SetDesiredFrequency(&self, desiredfrequency: f64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDesiredFrequency)(::windows::core::Interface::as_raw(this), desiredfrequency, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpenPin(&self, pinnumber: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenPin)(::windows::core::Interface::as_raw(this), pinnumber, result__.as_mut_ptr()).from_abi::(result__) } } @@ -142,7 +142,7 @@ impl PwmController { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPwmControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllersAsync)(::windows::core::Interface::as_raw(this), provider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -150,13 +150,13 @@ impl PwmController { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IPwmControllerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPwmControllerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -165,7 +165,7 @@ impl PwmController { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPwmControllerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(::windows::core::Interface::as_raw(this), friendlyname.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -176,7 +176,7 @@ impl PwmController { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPwmControllerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -271,14 +271,14 @@ impl PwmPin { pub fn Controller(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Controller)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetActiveDutyCyclePercentage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetActiveDutyCyclePercentage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -289,7 +289,7 @@ impl PwmPin { pub fn Polarity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Polarity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -308,7 +308,7 @@ impl PwmPin { pub fn IsStarted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStarted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs index 45b52074c5..516d495f49 100644 --- a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs @@ -59,7 +59,7 @@ impl Radio { pub fn SetStateAsync(&self, value: RadioState) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetStateAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -71,7 +71,7 @@ impl Radio { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -84,21 +84,21 @@ impl Radio { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -106,13 +106,13 @@ impl Radio { #[cfg(feature = "Foundation_Collections")] pub fn GetRadiosAsync() -> ::windows::core::Result>> { Self::IRadioStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRadiosAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IRadioStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -123,7 +123,7 @@ impl Radio { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRadioStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -131,7 +131,7 @@ impl Radio { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IRadioStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs index 13a9384ed2..e31c9b6f09 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs @@ -79,14 +79,14 @@ impl IImageScannerFormatConfiguration { pub fn DefaultFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -97,7 +97,7 @@ impl IImageScannerFormatConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFormatSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -207,7 +207,7 @@ impl IImageScannerSourceConfiguration { pub fn MinScanArea(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinScanArea)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -216,7 +216,7 @@ impl IImageScannerSourceConfiguration { pub fn MaxScanArea(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxScanArea)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -225,7 +225,7 @@ impl IImageScannerSourceConfiguration { pub fn SelectedScanRegion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedScanRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -238,7 +238,7 @@ impl IImageScannerSourceConfiguration { pub fn AutoCroppingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoCroppingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -249,35 +249,35 @@ impl IImageScannerSourceConfiguration { pub fn IsAutoCroppingModeSupported(&self, value: ImageScannerAutoCroppingMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAutoCroppingModeSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinResolution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxResolution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpticalResolution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpticalResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DesiredResolution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -288,21 +288,21 @@ impl IImageScannerSourceConfiguration { pub fn ActualResolution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActualResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultColorMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultColorMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -313,42 +313,42 @@ impl IImageScannerSourceConfiguration { pub fn IsColorModeSupported(&self, value: ImageScannerColorMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsColorModeSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinBrightness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinBrightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBrightness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBrightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BrightnessStep(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrightnessStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultBrightness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultBrightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Brightness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Brightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -359,35 +359,35 @@ impl IImageScannerSourceConfiguration { pub fn MinContrast(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxContrast(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContrastStep(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContrastStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultContrast(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Contrast(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -398,14 +398,14 @@ impl IImageScannerSourceConfiguration { pub fn DefaultFormat(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Format(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -416,7 +416,7 @@ impl IImageScannerSourceConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFormatSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -567,49 +567,49 @@ impl ImageScanner { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DefaultScanSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultScanSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsScanSourceSupported(&self, value: ImageScannerScanSource) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScanSourceSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn FlatbedConfiguration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlatbedConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FeederConfiguration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FeederConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AutoConfiguration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPreviewSupported(&self, scansource: ImageScannerScanSource) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPreviewSupported)(::windows::core::Interface::as_raw(this), scansource, result__.as_mut_ptr()).from_abi::(result__) } } @@ -622,7 +622,7 @@ impl ImageScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanPreviewToStreamAsync)(::windows::core::Interface::as_raw(this), scansource, targetstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -634,7 +634,7 @@ impl ImageScanner { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanFilesToFolderAsync)(::windows::core::Interface::as_raw(this), scansource, storagefolder.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -645,13 +645,13 @@ impl ImageScanner { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IImageScannerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IImageScannerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -730,14 +730,14 @@ impl ImageScannerAutoConfiguration { pub fn DefaultFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -748,7 +748,7 @@ impl ImageScannerAutoConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFormatSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -912,14 +912,14 @@ impl ImageScannerFeederConfiguration { pub fn CanAutoDetectPageSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanAutoDetectPageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AutoDetectPageSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoDetectPageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -932,7 +932,7 @@ impl ImageScannerFeederConfiguration { pub fn PageSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -947,7 +947,7 @@ impl ImageScannerFeederConfiguration { pub fn PageOrientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageOrientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -962,7 +962,7 @@ impl ImageScannerFeederConfiguration { pub fn PageSizeDimensions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageSizeDimensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -971,14 +971,14 @@ impl ImageScannerFeederConfiguration { pub fn IsPageSizeSupported(&self, pagesize: super::super::Graphics::Printing::PrintMediaSize, pageorientation: super::super::Graphics::Printing::PrintOrientation) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPageSizeSupported)(::windows::core::Interface::as_raw(this), pagesize, pageorientation, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxNumberOfPages(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxNumberOfPages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -989,14 +989,14 @@ impl ImageScannerFeederConfiguration { pub fn CanScanDuplex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanScanDuplex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Duplex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duplex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1007,14 +1007,14 @@ impl ImageScannerFeederConfiguration { pub fn CanScanAhead(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanScanAhead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ScanAhead(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanAhead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1025,14 +1025,14 @@ impl ImageScannerFeederConfiguration { pub fn DefaultFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1043,7 +1043,7 @@ impl ImageScannerFeederConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFormatSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1052,7 +1052,7 @@ impl ImageScannerFeederConfiguration { pub fn MinScanArea(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinScanArea)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1061,7 +1061,7 @@ impl ImageScannerFeederConfiguration { pub fn MaxScanArea(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxScanArea)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1070,7 +1070,7 @@ impl ImageScannerFeederConfiguration { pub fn SelectedScanRegion(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedScanRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1083,7 +1083,7 @@ impl ImageScannerFeederConfiguration { pub fn AutoCroppingMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoCroppingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1094,35 +1094,35 @@ impl ImageScannerFeederConfiguration { pub fn IsAutoCroppingModeSupported(&self, value: ImageScannerAutoCroppingMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAutoCroppingModeSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpticalResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpticalResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DesiredResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1133,21 +1133,21 @@ impl ImageScannerFeederConfiguration { pub fn ActualResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActualResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultColorMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultColorMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1158,42 +1158,42 @@ impl ImageScannerFeederConfiguration { pub fn IsColorModeSupported(&self, value: ImageScannerColorMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsColorModeSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinBrightness(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinBrightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBrightness(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBrightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BrightnessStep(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrightnessStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultBrightness(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultBrightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Brightness(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Brightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1204,35 +1204,35 @@ impl ImageScannerFeederConfiguration { pub fn MinContrast(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxContrast(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContrastStep(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContrastStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultContrast(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Contrast(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1348,14 +1348,14 @@ impl ImageScannerFlatbedConfiguration { pub fn DefaultFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1366,7 +1366,7 @@ impl ImageScannerFlatbedConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFormatSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1375,7 +1375,7 @@ impl ImageScannerFlatbedConfiguration { pub fn MinScanArea(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinScanArea)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1384,7 +1384,7 @@ impl ImageScannerFlatbedConfiguration { pub fn MaxScanArea(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxScanArea)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1393,7 +1393,7 @@ impl ImageScannerFlatbedConfiguration { pub fn SelectedScanRegion(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedScanRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1406,7 +1406,7 @@ impl ImageScannerFlatbedConfiguration { pub fn AutoCroppingMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoCroppingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1417,35 +1417,35 @@ impl ImageScannerFlatbedConfiguration { pub fn IsAutoCroppingModeSupported(&self, value: ImageScannerAutoCroppingMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAutoCroppingModeSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpticalResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpticalResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DesiredResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1456,21 +1456,21 @@ impl ImageScannerFlatbedConfiguration { pub fn ActualResolution(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActualResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultColorMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultColorMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1481,42 +1481,42 @@ impl ImageScannerFlatbedConfiguration { pub fn IsColorModeSupported(&self, value: ImageScannerColorMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsColorModeSupported)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinBrightness(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinBrightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBrightness(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBrightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BrightnessStep(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrightnessStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultBrightness(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultBrightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Brightness(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Brightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1527,35 +1527,35 @@ impl ImageScannerFlatbedConfiguration { pub fn MinContrast(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxContrast(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContrastStep(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContrastStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DefaultContrast(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Contrast(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1710,14 +1710,14 @@ impl ImageScannerPreviewResult { pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1831,7 +1831,7 @@ impl ImageScannerScanResult { pub fn ScannedFiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScannedFiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs index a26237f28d..9ad29b96d8 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs @@ -5,14 +5,14 @@ impl CustomSensor { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23,14 +23,14 @@ impl CustomSensor { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -42,7 +42,7 @@ impl CustomSensor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -59,20 +59,20 @@ impl CustomSensor { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeviceSelector(interfaceid: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICustomSensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), interfaceid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -83,7 +83,7 @@ impl CustomSensor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICustomSensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), sensorid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -164,7 +164,7 @@ impl CustomSensorReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -173,7 +173,7 @@ impl CustomSensorReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -182,7 +182,7 @@ impl CustomSensorReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -256,7 +256,7 @@ impl CustomSensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index a5d3a7185e..3a49f6083e 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -7,14 +7,14 @@ impl Accelerometer { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -25,7 +25,7 @@ impl Accelerometer { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37,7 +37,7 @@ impl Accelerometer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -55,7 +55,7 @@ impl Accelerometer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shaken)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -76,7 +76,7 @@ impl Accelerometer { pub fn ReadingTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -87,47 +87,47 @@ impl Accelerometer { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadingType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportThreshold(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportThreshold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IAccelerometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefaultWithAccelerometerReadingType(readingtype: AccelerometerReadingType) -> ::windows::core::Result { Self::IAccelerometerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultWithAccelerometerReadingType)(::windows::core::Interface::as_raw(this), readingtype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -138,13 +138,13 @@ impl Accelerometer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAccelerometerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector(readingtype: AccelerometerReadingType) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAccelerometerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), readingtype, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -233,7 +233,7 @@ impl AccelerometerDataThreshold { pub fn XAxisInGForce(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XAxisInGForce)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -244,7 +244,7 @@ impl AccelerometerDataThreshold { pub fn YAxisInGForce(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YAxisInGForce)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -255,7 +255,7 @@ impl AccelerometerDataThreshold { pub fn ZAxisInGForce(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZAxisInGForce)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -335,28 +335,28 @@ impl AccelerometerReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AccelerationX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccelerationX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AccelerationY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccelerationY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AccelerationZ(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccelerationZ)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -365,7 +365,7 @@ impl AccelerometerReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -374,7 +374,7 @@ impl AccelerometerReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -448,7 +448,7 @@ impl AccelerometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -559,7 +559,7 @@ impl AccelerometerShakenEventArgs { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -635,7 +635,7 @@ impl ActivitySensor { pub fn GetCurrentReadingAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReadingAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -644,21 +644,21 @@ impl ActivitySensor { pub fn SubscribedActivities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscribedActivities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PowerInMilliwatts(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerInMilliwatts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -667,14 +667,14 @@ impl ActivitySensor { pub fn SupportedActivities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedActivities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -686,7 +686,7 @@ impl ActivitySensor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -700,13 +700,13 @@ impl ActivitySensor { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IActivitySensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IActivitySensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -717,7 +717,7 @@ impl ActivitySensor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IActivitySensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -725,7 +725,7 @@ impl ActivitySensor { #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryAsync(fromtime: super::super::Foundation::DateTime) -> ::windows::core::Result>> { Self::IActivitySensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSystemHistoryAsync)(::windows::core::Interface::as_raw(this), fromtime, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -733,7 +733,7 @@ impl ActivitySensor { #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryWithDurationAsync(fromtime: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan) -> ::windows::core::Result>> { Self::IActivitySensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSystemHistoryWithDurationAsync)(::windows::core::Interface::as_raw(this), fromtime, duration, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -814,21 +814,21 @@ impl ActivitySensorReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Activity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Activity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Confidence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Confidence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -902,7 +902,7 @@ impl ActivitySensorReadingChangeReport { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -976,7 +976,7 @@ impl ActivitySensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1086,7 +1086,7 @@ impl ActivitySensorTriggerDetails { pub fn ReadReports(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadReports)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1200,21 +1200,21 @@ impl Altimeter { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1225,7 +1225,7 @@ impl Altimeter { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1237,7 +1237,7 @@ impl Altimeter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1254,20 +1254,20 @@ impl Altimeter { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IAltimeterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1348,14 +1348,14 @@ impl AltimeterReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AltitudeChangeInMeters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AltitudeChangeInMeters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1364,7 +1364,7 @@ impl AltimeterReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1373,7 +1373,7 @@ impl AltimeterReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1447,7 +1447,7 @@ impl AltimeterReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1521,21 +1521,21 @@ impl Barometer { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1546,7 +1546,7 @@ impl Barometer { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1558,7 +1558,7 @@ impl Barometer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1575,27 +1575,27 @@ impl Barometer { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportThreshold(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportThreshold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IBarometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1606,13 +1606,13 @@ impl Barometer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBarometerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IBarometerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1696,7 +1696,7 @@ impl BarometerDataThreshold { pub fn Hectopascals(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hectopascals)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1776,14 +1776,14 @@ impl BarometerReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StationPressureInHectopascals(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StationPressureInHectopascals)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1792,7 +1792,7 @@ impl BarometerReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1801,7 +1801,7 @@ impl BarometerReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1875,7 +1875,7 @@ impl BarometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1949,14 +1949,14 @@ impl Compass { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1967,7 +1967,7 @@ impl Compass { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1979,7 +1979,7 @@ impl Compass { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2000,7 +2000,7 @@ impl Compass { pub fn ReadingTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2011,40 +2011,40 @@ impl Compass { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportThreshold(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportThreshold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::ICompassStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICompassStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2055,7 +2055,7 @@ impl Compass { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICompassStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2139,7 +2139,7 @@ impl CompassDataThreshold { pub fn Degrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Degrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2219,14 +2219,14 @@ impl CompassReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HeadingMagneticNorth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadingMagneticNorth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2235,7 +2235,7 @@ impl CompassReading { pub fn HeadingTrueNorth(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadingTrueNorth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2244,7 +2244,7 @@ impl CompassReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2253,14 +2253,14 @@ impl CompassReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn HeadingAccuracy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadingAccuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2334,7 +2334,7 @@ impl CompassReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2408,14 +2408,14 @@ impl Gyrometer { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2426,7 +2426,7 @@ impl Gyrometer { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2438,7 +2438,7 @@ impl Gyrometer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2459,7 +2459,7 @@ impl Gyrometer { pub fn ReadingTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2470,40 +2470,40 @@ impl Gyrometer { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportThreshold(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportThreshold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IGyrometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IGyrometerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2514,7 +2514,7 @@ impl Gyrometer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGyrometerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2598,7 +2598,7 @@ impl GyrometerDataThreshold { pub fn XAxisInDegreesPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XAxisInDegreesPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2609,7 +2609,7 @@ impl GyrometerDataThreshold { pub fn YAxisInDegreesPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YAxisInDegreesPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2620,7 +2620,7 @@ impl GyrometerDataThreshold { pub fn ZAxisInDegreesPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZAxisInDegreesPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2700,28 +2700,28 @@ impl GyrometerReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AngularVelocityX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AngularVelocityX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AngularVelocityY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AngularVelocityY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AngularVelocityZ(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AngularVelocityZ)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2730,7 +2730,7 @@ impl GyrometerReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2739,7 +2739,7 @@ impl GyrometerReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2813,7 +2813,7 @@ impl GyrometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2889,14 +2889,14 @@ impl HingeAngleReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AngleInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2905,7 +2905,7 @@ impl HingeAngleReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2981,28 +2981,28 @@ impl HingeAngleSensor { pub fn GetCurrentReadingAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReadingAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MinReportThresholdInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinReportThresholdInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportThresholdInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportThresholdInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3018,7 +3018,7 @@ impl HingeAngleSensor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3030,7 +3030,7 @@ impl HingeAngleSensor { } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IHingeAngleSensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3038,7 +3038,7 @@ impl HingeAngleSensor { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IHingeAngleSensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3050,7 +3050,7 @@ impl HingeAngleSensor { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHingeAngleSensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRelatedToAdjacentPanelsAsync)(::windows::core::Interface::as_raw(this), firstpanelid.into().abi(), secondpanelid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3061,7 +3061,7 @@ impl HingeAngleSensor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHingeAngleSensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3140,7 +3140,7 @@ impl HingeAngleSensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5521,14 +5521,14 @@ impl Inclinometer { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5539,7 +5539,7 @@ impl Inclinometer { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5551,7 +5551,7 @@ impl Inclinometer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5572,14 +5572,14 @@ impl Inclinometer { pub fn ReadingTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadingType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5590,52 +5590,52 @@ impl Inclinometer { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportThreshold(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportThreshold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IInclinometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefaultForRelativeReadings() -> ::windows::core::Result { Self::IInclinometerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultForRelativeReadings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefaultWithSensorReadingType(sensorreadingtype: SensorReadingType) -> ::windows::core::Result { Self::IInclinometerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultWithSensorReadingType)(::windows::core::Interface::as_raw(this), sensorreadingtype, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDeviceSelector(readingtype: SensorReadingType) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IInclinometerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), readingtype, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -5646,7 +5646,7 @@ impl Inclinometer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IInclinometerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5740,7 +5740,7 @@ impl InclinometerDataThreshold { pub fn PitchInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PitchInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5751,7 +5751,7 @@ impl InclinometerDataThreshold { pub fn RollInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RollInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5762,7 +5762,7 @@ impl InclinometerDataThreshold { pub fn YawInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YawInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5842,28 +5842,28 @@ impl InclinometerReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PitchDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PitchDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RollDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RollDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn YawDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YawDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5872,7 +5872,7 @@ impl InclinometerReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5881,14 +5881,14 @@ impl InclinometerReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn YawAccuracy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YawAccuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5962,7 +5962,7 @@ impl InclinometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6036,14 +6036,14 @@ impl LightSensor { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6054,7 +6054,7 @@ impl LightSensor { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6066,7 +6066,7 @@ impl LightSensor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6083,40 +6083,40 @@ impl LightSensor { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportThreshold(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportThreshold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::ILightSensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILightSensorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -6127,7 +6127,7 @@ impl LightSensor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILightSensorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -6211,7 +6211,7 @@ impl LightSensorDataThreshold { pub fn LuxPercentage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LuxPercentage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6222,7 +6222,7 @@ impl LightSensorDataThreshold { pub fn AbsoluteLux(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteLux)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6302,14 +6302,14 @@ impl LightSensorReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IlluminanceInLux(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IlluminanceInLux)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6318,7 +6318,7 @@ impl LightSensorReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6327,7 +6327,7 @@ impl LightSensorReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6401,7 +6401,7 @@ impl LightSensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6475,14 +6475,14 @@ impl Magnetometer { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6493,7 +6493,7 @@ impl Magnetometer { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6505,7 +6505,7 @@ impl Magnetometer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6526,7 +6526,7 @@ impl Magnetometer { pub fn ReadingTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6537,40 +6537,40 @@ impl Magnetometer { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReportThreshold(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportThreshold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IMagnetometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMagnetometerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -6581,7 +6581,7 @@ impl Magnetometer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMagnetometerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -6701,7 +6701,7 @@ impl MagnetometerDataThreshold { pub fn XAxisMicroteslas(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XAxisMicroteslas)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6712,7 +6712,7 @@ impl MagnetometerDataThreshold { pub fn YAxisMicroteslas(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YAxisMicroteslas)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6723,7 +6723,7 @@ impl MagnetometerDataThreshold { pub fn ZAxisMicroteslas(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZAxisMicroteslas)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6803,35 +6803,35 @@ impl MagnetometerReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MagneticFieldX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MagneticFieldX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MagneticFieldY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MagneticFieldY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MagneticFieldZ(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MagneticFieldZ)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DirectionalAccuracy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DirectionalAccuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6840,7 +6840,7 @@ impl MagnetometerReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6849,7 +6849,7 @@ impl MagnetometerReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6923,7 +6923,7 @@ impl MagnetometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6997,14 +6997,14 @@ impl OrientationSensor { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7015,7 +7015,7 @@ impl OrientationSensor { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7027,7 +7027,7 @@ impl OrientationSensor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7048,14 +7048,14 @@ impl OrientationSensor { pub fn ReadingTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadingType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7066,57 +7066,57 @@ impl OrientationSensor { pub fn ReportLatency(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLatency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxBatchSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBatchSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IOrientationSensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefaultForRelativeReadings() -> ::windows::core::Result { Self::IOrientationSensorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultForRelativeReadings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefaultWithSensorReadingType(sensorreadingtype: SensorReadingType) -> ::windows::core::Result { Self::IOrientationSensorStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultWithSensorReadingType)(::windows::core::Interface::as_raw(this), sensorreadingtype, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefaultWithSensorReadingTypeAndSensorOptimizationGoal(sensorreadingtype: SensorReadingType, optimizationgoal: SensorOptimizationGoal) -> ::windows::core::Result { Self::IOrientationSensorStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultWithSensorReadingTypeAndSensorOptimizationGoal)(::windows::core::Interface::as_raw(this), sensorreadingtype, optimizationgoal, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDeviceSelector(readingtype: SensorReadingType) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IOrientationSensorStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), readingtype, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal(readingtype: SensorReadingType, optimizationgoal: SensorOptimizationGoal) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IOrientationSensorStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal)(::windows::core::Interface::as_raw(this), readingtype, optimizationgoal, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -7127,7 +7127,7 @@ impl OrientationSensor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IOrientationSensorStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -7223,21 +7223,21 @@ impl OrientationSensorReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationMatrix(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Quaternion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Quaternion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7246,7 +7246,7 @@ impl OrientationSensorReading { pub fn PerformanceCount(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PerformanceCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7255,14 +7255,14 @@ impl OrientationSensorReading { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn YawAccuracy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YawAccuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7336,7 +7336,7 @@ impl OrientationSensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7410,21 +7410,21 @@ impl Pedometer { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PowerInMilliwatts(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerInMilliwatts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinimumReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinimumReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7435,7 +7435,7 @@ impl Pedometer { pub fn ReportInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7447,7 +7447,7 @@ impl Pedometer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7462,7 +7462,7 @@ impl Pedometer { pub fn GetCurrentReadings(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReadings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7473,7 +7473,7 @@ impl Pedometer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPedometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -7481,13 +7481,13 @@ impl Pedometer { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::IPedometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPedometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -7495,7 +7495,7 @@ impl Pedometer { #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryAsync(fromtime: super::super::Foundation::DateTime) -> ::windows::core::Result>> { Self::IPedometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSystemHistoryAsync)(::windows::core::Interface::as_raw(this), fromtime, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -7503,7 +7503,7 @@ impl Pedometer { #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryWithDurationAsync(fromtime: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan) -> ::windows::core::Result>> { Self::IPedometerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSystemHistoryWithDurationAsync)(::windows::core::Interface::as_raw(this), fromtime, duration, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -7514,7 +7514,7 @@ impl Pedometer { P0: ::std::convert::Into<::windows::core::InParam<'a, SensorDataThresholdTriggerDetails>>, { Self::IPedometerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetReadingsFromTriggerDetails)(::windows::core::Interface::as_raw(this), triggerdetails.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -7600,7 +7600,7 @@ impl PedometerDataThreshold { P0: ::std::convert::Into<::windows::core::InParam<'a, Pedometer>>, { Self::IPedometerDataThresholdFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), sensor.into().abi(), stepgoal, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7698,14 +7698,14 @@ impl PedometerReading { pub fn StepKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StepKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CumulativeSteps(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CumulativeSteps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7714,7 +7714,7 @@ impl PedometerReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7723,7 +7723,7 @@ impl PedometerReading { pub fn CumulativeStepsDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CumulativeStepsDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7797,7 +7797,7 @@ impl PedometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7906,7 +7906,7 @@ impl ProximitySensor { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7915,7 +7915,7 @@ impl ProximitySensor { pub fn MaxDistanceInMillimeters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxDistanceInMillimeters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7924,14 +7924,14 @@ impl ProximitySensor { pub fn MinDistanceInMillimeters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinDistanceInMillimeters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7943,7 +7943,7 @@ impl ProximitySensor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7958,13 +7958,13 @@ impl ProximitySensor { pub fn CreateDisplayOnOffController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDisplayOnOffController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IProximitySensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -7973,7 +7973,7 @@ impl ProximitySensor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProximitySensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromId)(::windows::core::Interface::as_raw(this), sensorid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7984,7 +7984,7 @@ impl ProximitySensor { P0: ::std::convert::Into<::windows::core::InParam<'a, SensorDataThresholdTriggerDetails>>, { Self::IProximitySensorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetReadingsFromTriggerDetails)(::windows::core::Interface::as_raw(this), triggerdetails.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -8070,7 +8070,7 @@ impl ProximitySensorDataThreshold { P0: ::std::convert::Into<::windows::core::InParam<'a, ProximitySensor>>, { Self::IProximitySensorDataThresholdFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), sensor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8282,14 +8282,14 @@ impl ProximitySensorReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDetected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDetected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8298,7 +8298,7 @@ impl ProximitySensorReading { pub fn DistanceInMillimeters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DistanceInMillimeters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8372,7 +8372,7 @@ impl ProximitySensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8446,14 +8446,14 @@ impl SensorDataThresholdTriggerDetails { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SensorType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SensorType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8561,28 +8561,28 @@ impl SensorQuaternion { pub fn W(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).W)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn X(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).X)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Y(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Y)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Z(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Z)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8690,63 +8690,63 @@ impl SensorRotationMatrix { pub fn M11(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).M11)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn M12(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).M12)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn M13(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).M13)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn M21(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).M21)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn M22(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).M22)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn M23(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).M23)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn M31(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).M31)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn M32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).M32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn M33(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).M33)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8904,7 +8904,7 @@ impl SimpleOrientationSensor { pub fn GetCurrentOrientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentOrientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8916,7 +8916,7 @@ impl SimpleOrientationSensor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientationChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8937,26 +8937,26 @@ impl SimpleOrientationSensor { pub fn ReadingTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadingTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::ISimpleOrientationSensorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISimpleOrientationSensorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -8967,7 +8967,7 @@ impl SimpleOrientationSensor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISimpleOrientationSensorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -9053,14 +9053,14 @@ impl SimpleOrientationSensorOrientationChangedEventArgs { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs index 21d4d6b5dd..9c34978066 100644 --- a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs @@ -5,7 +5,7 @@ impl ErrorReceivedEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -199,7 +199,7 @@ impl PinChangedEventArgs { pub fn PinChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -279,7 +279,7 @@ impl SerialDevice { pub fn BaudRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaudRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -290,7 +290,7 @@ impl SerialDevice { pub fn BreakSignalState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BreakSignalState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -301,28 +301,28 @@ impl SerialDevice { pub fn BytesReceived(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CarrierDetectState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CarrierDetectState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ClearToSendState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearToSendState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DataBits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataBits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -333,14 +333,14 @@ impl SerialDevice { pub fn DataSetReadyState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataSetReadyState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Handshake(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handshake)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -351,7 +351,7 @@ impl SerialDevice { pub fn IsDataTerminalReadyEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDataTerminalReadyEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -362,7 +362,7 @@ impl SerialDevice { pub fn IsRequestToSendEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequestToSendEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -373,7 +373,7 @@ impl SerialDevice { pub fn Parity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -384,7 +384,7 @@ impl SerialDevice { pub fn PortName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PortName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -393,7 +393,7 @@ impl SerialDevice { pub fn ReadTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -406,7 +406,7 @@ impl SerialDevice { pub fn StopBits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -417,14 +417,14 @@ impl SerialDevice { pub fn UsbVendorId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsbVendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsbProductId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsbProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -433,7 +433,7 @@ impl SerialDevice { pub fn WriteTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -448,7 +448,7 @@ impl SerialDevice { pub fn InputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -457,7 +457,7 @@ impl SerialDevice { pub fn OutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -469,7 +469,7 @@ impl SerialDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorReceived)(::windows::core::Interface::as_raw(this), reporthandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -487,7 +487,7 @@ impl SerialDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinChanged)(::windows::core::Interface::as_raw(this), reporthandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -499,7 +499,7 @@ impl SerialDevice { } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISerialDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -508,13 +508,13 @@ impl SerialDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISerialDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromPortName)(::windows::core::Interface::as_raw(this), portname.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorFromUsbVidPid(vendorid: u16, productid: u16) -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISerialDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromUsbVidPid)(::windows::core::Interface::as_raw(this), vendorid, productid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -525,7 +525,7 @@ impl SerialDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISerialDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs index de99ea4f12..a925fb80e8 100644 --- a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs @@ -5,7 +5,7 @@ impl CardAddedEventArgs { pub fn SmartCard(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartCard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -79,7 +79,7 @@ impl CardRemovedEventArgs { pub fn SmartCard(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartCard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1300,7 +1300,7 @@ impl KnownSmartCardAppletIds { #[cfg(feature = "Storage_Streams")] pub fn PaymentSystemEnvironment() -> ::windows::core::Result { Self::IKnownSmartCardAppletIds(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PaymentSystemEnvironment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1308,7 +1308,7 @@ impl KnownSmartCardAppletIds { #[cfg(feature = "Storage_Streams")] pub fn ProximityPaymentSystemEnvironment() -> ::windows::core::Result { Self::IKnownSmartCardAppletIds(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProximityPaymentSystemEnvironment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1328,7 +1328,7 @@ impl SmartCard { pub fn Reader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1337,7 +1337,7 @@ impl SmartCard { pub fn GetStatusAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatusAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1346,7 +1346,7 @@ impl SmartCard { pub fn GetAnswerToResetAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAnswerToResetAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1355,7 +1355,7 @@ impl SmartCard { pub fn ConnectAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1470,7 +1470,7 @@ impl SmartCardAppletIdGroup { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1486,14 +1486,14 @@ impl SmartCardAppletIdGroup { pub fn AppletIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppletIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SmartCardEmulationCategory(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartCardEmulationCategory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1504,7 +1504,7 @@ impl SmartCardAppletIdGroup { pub fn SmartCardEmulationType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartCardEmulationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1515,7 +1515,7 @@ impl SmartCardAppletIdGroup { pub fn AutomaticEnablement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomaticEnablement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1528,7 +1528,7 @@ impl SmartCardAppletIdGroup { pub fn Logo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1545,7 +1545,7 @@ impl SmartCardAppletIdGroup { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1561,14 +1561,14 @@ impl SmartCardAppletIdGroup { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SecureUserAuthenticationRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecureUserAuthenticationRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1585,13 +1585,13 @@ impl SmartCardAppletIdGroup { E1: ::std::convert::Into<::windows::core::Error>, { Self::ISmartCardAppletIdGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), displayname.into().abi(), appletids.try_into().map_err(|e| e.into())?.abi(), emulationcategory, emulationtype, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MaxAppletIds() -> ::windows::core::Result { Self::ISmartCardAppletIdGroupStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAppletIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1710,14 +1710,14 @@ impl SmartCardAppletIdGroupRegistration { pub fn ActivationPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivationPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppletIdGroup(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppletIdGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1726,14 +1726,14 @@ impl SmartCardAppletIdGroupRegistration { pub fn RequestActivationPolicyChangeAsync(&self, policy: SmartCardAppletIdGroupActivationPolicy) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestActivationPolicyChangeAsync)(::windows::core::Interface::as_raw(this), policy, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -1746,14 +1746,14 @@ impl SmartCardAppletIdGroupRegistration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAutomaticResponseApdusAsync)(::windows::core::Interface::as_raw(this), apdus.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SmartCardReaderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartCardReaderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1765,7 +1765,7 @@ impl SmartCardAppletIdGroupRegistration { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPropertiesAsync)(::windows::core::Interface::as_raw(this), props.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1841,7 +1841,7 @@ impl SmartCardAutomaticResponseApdu { pub fn CommandApdu(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandApdu)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1860,7 +1860,7 @@ impl SmartCardAutomaticResponseApdu { pub fn CommandApduBitMask(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandApduBitMask)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1877,7 +1877,7 @@ impl SmartCardAutomaticResponseApdu { pub fn ShouldMatchLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldMatchLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1890,7 +1890,7 @@ impl SmartCardAutomaticResponseApdu { pub fn AppletId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppletId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1909,7 +1909,7 @@ impl SmartCardAutomaticResponseApdu { pub fn ResponseApdu(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseApdu)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1928,7 +1928,7 @@ impl SmartCardAutomaticResponseApdu { pub fn InputState(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1947,7 +1947,7 @@ impl SmartCardAutomaticResponseApdu { pub fn OutputState(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1964,7 +1964,7 @@ impl SmartCardAutomaticResponseApdu { pub fn AllowWhenCryptogramGeneratorNotPrepared(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowWhenCryptogramGeneratorNotPrepared)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1982,7 +1982,7 @@ impl SmartCardAutomaticResponseApdu { E1: ::std::convert::Into<::windows::core::Error>, { Self::ISmartCardAutomaticResponseApduFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), commandapdu.try_into().map_err(|e| e.into())?.abi(), responseapdu.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2104,7 +2104,7 @@ impl SmartCardChallengeContext { pub fn Challenge(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Challenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2117,7 +2117,7 @@ impl SmartCardChallengeContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerifyResponseAsync)(::windows::core::Interface::as_raw(this), response.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2130,7 +2130,7 @@ impl SmartCardChallengeContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProvisionAsync)(::windows::core::Interface::as_raw(this), response.try_into().map_err(|e| e.into())?.abi(), formatcard, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2143,7 +2143,7 @@ impl SmartCardChallengeContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProvisionAsyncWithNewCardId)(::windows::core::Interface::as_raw(this), response.try_into().map_err(|e| e.into())?.abi(), formatcard, newcardid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2158,7 +2158,7 @@ impl SmartCardChallengeContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeAdministrativeKeyAsync)(::windows::core::Interface::as_raw(this), response.try_into().map_err(|e| e.into())?.abi(), newadministrativekey.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2266,7 +2266,7 @@ impl SmartCardConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransmitAsync)(::windows::core::Interface::as_raw(this), command.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2405,7 +2405,7 @@ impl SmartCardCryptogramGenerator { pub fn SupportedCryptogramMaterialTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCryptogramMaterialTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2414,7 +2414,7 @@ impl SmartCardCryptogramGenerator { pub fn SupportedCryptogramAlgorithms(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCryptogramAlgorithms)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2423,7 +2423,7 @@ impl SmartCardCryptogramGenerator { pub fn SupportedCryptogramMaterialPackageFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCryptogramMaterialPackageFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2432,7 +2432,7 @@ impl SmartCardCryptogramGenerator { pub fn SupportedCryptogramMaterialPackageConfirmationResponseFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCryptogramMaterialPackageConfirmationResponseFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2441,7 +2441,7 @@ impl SmartCardCryptogramGenerator { pub fn SupportedSmartCardCryptogramStorageKeyCapabilities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedSmartCardCryptogramStorageKeyCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2453,7 +2453,7 @@ impl SmartCardCryptogramGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteCryptogramMaterialStorageKeyAsync)(::windows::core::Interface::as_raw(this), storagekeyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2465,7 +2465,7 @@ impl SmartCardCryptogramGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCryptogramMaterialStorageKeyAsync)(::windows::core::Interface::as_raw(this), promptingbehavior, storagekeyname.into().abi(), algorithm, capabilities, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2477,7 +2477,7 @@ impl SmartCardCryptogramGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCryptogramMaterialStorageKeyInfoAsync)(::windows::core::Interface::as_raw(this), promptingbehavior, storagekeyname.into().abi(), format, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2492,7 +2492,7 @@ impl SmartCardCryptogramGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportCryptogramMaterialPackageAsync)(::windows::core::Interface::as_raw(this), format, storagekeyname.into().abi(), materialpackagename.into().abi(), cryptogrammaterialpackage.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2507,7 +2507,7 @@ impl SmartCardCryptogramGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryProvePossessionOfCryptogramMaterialPackageAsync)(::windows::core::Interface::as_raw(this), promptingbehavior, responseformat, materialpackagename.into().abi(), materialname.into().abi(), challenge.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2516,7 +2516,7 @@ impl SmartCardCryptogramGenerator { pub fn RequestUnlockCryptogramMaterialForUseAsync(&self, promptingbehavior: SmartCardUnlockPromptingBehavior) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestUnlockCryptogramMaterialForUseAsync)(::windows::core::Interface::as_raw(this), promptingbehavior, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2528,7 +2528,7 @@ impl SmartCardCryptogramGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteCryptogramMaterialPackageAsync)(::windows::core::Interface::as_raw(this), materialpackagename.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2543,7 +2543,7 @@ impl SmartCardCryptogramGenerator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateRequestApduAsync)(::windows::core::Interface::as_raw(this), promptingbehavior, apdutovalidate.try_into().map_err(|e| e.into())?.abi(), cryptogramplacementsteps.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2552,7 +2552,7 @@ impl SmartCardCryptogramGenerator { pub fn GetAllCryptogramStorageKeyCharacteristicsAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllCryptogramStorageKeyCharacteristicsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2561,7 +2561,7 @@ impl SmartCardCryptogramGenerator { pub fn GetAllCryptogramMaterialPackageCharacteristicsAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllCryptogramMaterialPackageCharacteristicsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2573,7 +2573,7 @@ impl SmartCardCryptogramGenerator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync)(::windows::core::Interface::as_raw(this), storagekeyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2585,7 +2585,7 @@ impl SmartCardCryptogramGenerator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllCryptogramMaterialCharacteristicsAsync)(::windows::core::Interface::as_raw(this), promptingbehavior, materialpackagename.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2593,13 +2593,13 @@ impl SmartCardCryptogramGenerator { #[cfg(feature = "Foundation")] pub fn GetSmartCardCryptogramGeneratorAsync() -> ::windows::core::Result> { Self::ISmartCardCryptogramGeneratorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSmartCardCryptogramGeneratorAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::ISmartCardCryptogramGeneratorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2736,7 +2736,7 @@ impl SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { pub fn OperationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2745,7 +2745,7 @@ impl SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { pub fn Characteristics(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Characteristics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2826,7 +2826,7 @@ impl SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { pub fn OperationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2835,7 +2835,7 @@ impl SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { pub fn Characteristics(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Characteristics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2916,7 +2916,7 @@ impl SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { pub fn OperationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2925,7 +2925,7 @@ impl SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { pub fn Characteristics(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Characteristics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3006,7 +3006,7 @@ impl SmartCardCryptogramMaterialCharacteristics { pub fn MaterialName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3015,7 +3015,7 @@ impl SmartCardCryptogramMaterialCharacteristics { pub fn AllowedAlgorithms(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowedAlgorithms)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3024,7 +3024,7 @@ impl SmartCardCryptogramMaterialCharacteristics { pub fn AllowedProofOfPossessionAlgorithms(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowedProofOfPossessionAlgorithms)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3033,35 +3033,35 @@ impl SmartCardCryptogramMaterialCharacteristics { pub fn AllowedValidations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowedValidations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaterialType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProtectionMethod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionMethod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProtectionVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaterialLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3142,14 +3142,14 @@ impl SmartCardCryptogramMaterialPackageCharacteristics { pub fn PackageName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn StorageKeyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorageKeyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3158,14 +3158,14 @@ impl SmartCardCryptogramMaterialPackageCharacteristics { pub fn DateImported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateImported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PackageFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3307,7 +3307,7 @@ impl SmartCardCryptogramMaterialPossessionProof { pub fn OperationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3316,7 +3316,7 @@ impl SmartCardCryptogramMaterialPossessionProof { pub fn Proof(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Proof)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3531,7 +3531,7 @@ impl SmartCardCryptogramPlacementStep { pub fn Algorithm(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Algorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3544,7 +3544,7 @@ impl SmartCardCryptogramPlacementStep { pub fn SourceData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3561,7 +3561,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramMaterialPackageName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CryptogramMaterialPackageName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3575,7 +3575,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramMaterialName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CryptogramMaterialName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3589,7 +3589,7 @@ impl SmartCardCryptogramPlacementStep { pub fn TemplateOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TemplateOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3600,7 +3600,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CryptogramOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3611,7 +3611,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CryptogramLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3622,7 +3622,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramPlacementOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CryptogramPlacementOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3633,7 +3633,7 @@ impl SmartCardCryptogramPlacementStep { pub fn ChainedOutputStep(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChainedOutputStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3818,7 +3818,7 @@ impl SmartCardCryptogramStorageKeyCharacteristics { pub fn StorageKeyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorageKeyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3827,21 +3827,21 @@ impl SmartCardCryptogramStorageKeyCharacteristics { pub fn DateCreated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Algorithm(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Algorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3915,7 +3915,7 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn OperationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3924,7 +3924,7 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn PublicKeyBlobType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicKeyBlobType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3933,14 +3933,14 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn PublicKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AttestationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttestationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3949,7 +3949,7 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn Attestation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attestation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3958,21 +3958,21 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn AttestationCertificateChain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttestationCertificateChain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OperationalRequirements(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperationalRequirements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4155,7 +4155,7 @@ impl SmartCardEmulator { pub fn EnablementPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnablementPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4167,7 +4167,7 @@ impl SmartCardEmulator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApduReceived)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4185,7 +4185,7 @@ impl SmartCardEmulator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionDeactivated)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4202,7 +4202,7 @@ impl SmartCardEmulator { pub fn IsHostCardEmulationSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHostCardEmulationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4210,7 +4210,7 @@ impl SmartCardEmulator { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::ISmartCardEmulatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4218,7 +4218,7 @@ impl SmartCardEmulator { #[cfg(feature = "Foundation_Collections")] pub fn GetAppletIdGroupRegistrationsAsync() -> ::windows::core::Result>> { Self::ISmartCardEmulatorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppletIdGroupRegistrationsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -4229,7 +4229,7 @@ impl SmartCardEmulator { P0: ::std::convert::Into<::windows::core::InParam<'a, SmartCardAppletIdGroup>>, { Self::ISmartCardEmulatorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterAppletIdGroupAsync)(::windows::core::Interface::as_raw(this), appletidgroup.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4240,19 +4240,19 @@ impl SmartCardEmulator { P0: ::std::convert::Into<::windows::core::InParam<'a, SmartCardAppletIdGroupRegistration>>, { Self::ISmartCardEmulatorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnregisterAppletIdGroupAsync)(::windows::core::Interface::as_raw(this), registration.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MaxAppletIdGroupRegistrations() -> ::windows::core::Result { Self::ISmartCardEmulatorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAppletIdGroupRegistrations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::ISmartCardEmulatorStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4343,14 +4343,14 @@ impl SmartCardEmulatorApduReceivedEventArgs { pub fn CommandApdu(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandApdu)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConnectionProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4363,21 +4363,21 @@ impl SmartCardEmulatorApduReceivedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRespondAsync)(::windows::core::Interface::as_raw(this), responseapdu.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AutomaticResponseStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomaticResponseStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4392,7 +4392,7 @@ impl SmartCardEmulatorApduReceivedEventArgs { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRespondWithStateAsync)(::windows::core::Interface::as_raw(this), responseapdu.try_into().map_err(|e| e.into())?.abi(), nextstate.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4407,7 +4407,7 @@ impl SmartCardEmulatorApduReceivedEventArgs { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRespondWithCryptogramsAsync)(::windows::core::Interface::as_raw(this), responsetemplate.try_into().map_err(|e| e.into())?.abi(), cryptogramplacementsteps.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4424,7 +4424,7 @@ impl SmartCardEmulatorApduReceivedEventArgs { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRespondWithCryptogramsAndStateAsync)(::windows::core::Interface::as_raw(this), responsetemplate.try_into().map_err(|e| e.into())?.abi(), cryptogramplacementsteps.try_into().map_err(|e| e.into())?.abi(), nextstate.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4498,14 +4498,14 @@ impl SmartCardEmulatorConnectionDeactivatedEventArgs { pub fn ConnectionProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4613,14 +4613,14 @@ impl SmartCardEmulatorConnectionProperties { pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4840,7 +4840,7 @@ impl SmartCardPinPolicy { pub fn MinLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4851,7 +4851,7 @@ impl SmartCardPinPolicy { pub fn MaxLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4862,7 +4862,7 @@ impl SmartCardPinPolicy { pub fn UppercaseLetters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UppercaseLetters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4873,7 +4873,7 @@ impl SmartCardPinPolicy { pub fn LowercaseLetters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LowercaseLetters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4884,7 +4884,7 @@ impl SmartCardPinPolicy { pub fn Digits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Digits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4895,7 +4895,7 @@ impl SmartCardPinPolicy { pub fn SpecialCharacters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpecialCharacters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5134,7 +5134,7 @@ impl SmartCardPinResetRequest { pub fn Challenge(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Challenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5143,14 +5143,14 @@ impl SmartCardPinResetRequest { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5234,7 +5234,7 @@ impl SmartCardProvisioning { pub fn SmartCard(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartCard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5243,7 +5243,7 @@ impl SmartCardProvisioning { pub fn GetIdAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIdAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5252,7 +5252,7 @@ impl SmartCardProvisioning { pub fn GetNameAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5261,7 +5261,7 @@ impl SmartCardProvisioning { pub fn GetChallengeContextAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChallengeContextAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5270,7 +5270,7 @@ impl SmartCardProvisioning { pub fn RequestPinChangeAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPinChangeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5282,7 +5282,7 @@ impl SmartCardProvisioning { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPinResetAsync)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5291,7 +5291,7 @@ impl SmartCardProvisioning { pub fn GetAuthorityKeyContainerNameAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAuthorityKeyContainerNameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5302,7 +5302,7 @@ impl SmartCardProvisioning { P0: ::std::convert::Into<::windows::core::InParam<'a, SmartCard>>, { Self::ISmartCardProvisioningStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromSmartCardAsync)(::windows::core::Interface::as_raw(this), card.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5316,7 +5316,7 @@ impl SmartCardProvisioning { P2: ::std::convert::Into<::windows::core::InParam<'a, SmartCardPinPolicy>>, { Self::ISmartCardProvisioningStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestVirtualSmartCardCreationAsync)(::windows::core::Interface::as_raw(this), friendlyname.into().abi(), administrativekey.try_into().map_err(|e| e.into())?.abi(), pinpolicy.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5330,7 +5330,7 @@ impl SmartCardProvisioning { P2: ::std::convert::Into<::windows::core::InParam<'a, SmartCardPinPolicy>>, { Self::ISmartCardProvisioningStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestVirtualSmartCardCreationAsyncWithCardId)(::windows::core::Interface::as_raw(this), friendlyname.into().abi(), administrativekey.try_into().map_err(|e| e.into())?.abi(), pinpolicy.into().abi(), cardid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5341,7 +5341,7 @@ impl SmartCardProvisioning { P0: ::std::convert::Into<::windows::core::InParam<'a, SmartCard>>, { Self::ISmartCardProvisioningStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestVirtualSmartCardDeletionAsync)(::windows::core::Interface::as_raw(this), card.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5355,7 +5355,7 @@ impl SmartCardProvisioning { P2: ::std::convert::Into<::windows::core::InParam<'a, SmartCardPinPolicy>>, { Self::ISmartCardProvisioningStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAttestedVirtualSmartCardCreationAsync)(::windows::core::Interface::as_raw(this), friendlyname.into().abi(), administrativekey.try_into().map_err(|e| e.into())?.abi(), pinpolicy.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5369,7 +5369,7 @@ impl SmartCardProvisioning { P2: ::std::convert::Into<::windows::core::InParam<'a, SmartCardPinPolicy>>, { Self::ISmartCardProvisioningStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAttestedVirtualSmartCardCreationAsyncWithCardId)(::windows::core::Interface::as_raw(this), friendlyname.into().abi(), administrativekey.try_into().map_err(|e| e.into())?.abi(), pinpolicy.into().abi(), cardid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5453,21 +5453,21 @@ impl SmartCardReader { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5476,7 +5476,7 @@ impl SmartCardReader { pub fn GetStatusAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatusAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5485,7 +5485,7 @@ impl SmartCardReader { pub fn FindAllCardsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllCardsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -5497,7 +5497,7 @@ impl SmartCardReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5515,7 +5515,7 @@ impl SmartCardReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CardRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5527,13 +5527,13 @@ impl SmartCardReader { } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISmartCardReaderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorWithKind(kind: SmartCardReaderKind) -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISmartCardReaderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorWithKind)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -5544,7 +5544,7 @@ impl SmartCardReader { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISmartCardReaderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5733,7 +5733,7 @@ impl SmartCardTriggerDetails { pub fn TriggerType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5742,7 +5742,7 @@ impl SmartCardTriggerDetails { pub fn SourceAppletId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceAppletId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5751,14 +5751,14 @@ impl SmartCardTriggerDetails { pub fn TriggerData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Emulator(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emulator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5770,7 +5770,7 @@ impl SmartCardTriggerDetails { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryLaunchCurrentAppAsync)(::windows::core::Interface::as_raw(this), arguments.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5782,14 +5782,14 @@ impl SmartCardTriggerDetails { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryLaunchCurrentAppWithBehaviorAsync)(::windows::core::Interface::as_raw(this), arguments.into().abi(), behavior, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SmartCard(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartCard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index f66bf04110..648631beb1 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -53,7 +53,7 @@ impl DeleteSmsMessageOperation { pub fn Completed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -68,7 +68,7 @@ impl DeleteSmsMessageOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -77,7 +77,7 @@ impl DeleteSmsMessageOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -86,7 +86,7 @@ impl DeleteSmsMessageOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -271,7 +271,7 @@ impl DeleteSmsMessagesOperation { pub fn Completed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -286,7 +286,7 @@ impl DeleteSmsMessagesOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -295,7 +295,7 @@ impl DeleteSmsMessagesOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -304,7 +304,7 @@ impl DeleteSmsMessagesOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -480,7 +480,7 @@ impl GetSmsDeviceOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -489,7 +489,7 @@ impl GetSmsDeviceOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -498,7 +498,7 @@ impl GetSmsDeviceOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -528,7 +528,7 @@ impl GetSmsDeviceOperation { pub fn Completed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -537,7 +537,7 @@ impl GetSmsDeviceOperation { pub fn GetResults(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -701,7 +701,7 @@ impl GetSmsMessageOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -710,7 +710,7 @@ impl GetSmsMessageOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -719,7 +719,7 @@ impl GetSmsMessageOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -749,7 +749,7 @@ impl GetSmsMessageOperation { pub fn Completed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -758,7 +758,7 @@ impl GetSmsMessageOperation { pub fn GetResults(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -922,7 +922,7 @@ impl GetSmsMessagesOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -931,7 +931,7 @@ impl GetSmsMessagesOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -940,7 +940,7 @@ impl GetSmsMessagesOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -970,7 +970,7 @@ impl GetSmsMessagesOperation { pub fn Progress(&self) -> ::windows::core::Result, i32>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::, i32>>(result__) } } @@ -988,7 +988,7 @@ impl GetSmsMessagesOperation { pub fn Completed(&self) -> ::windows::core::Result, i32>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::, i32>>(result__) } } @@ -997,7 +997,7 @@ impl GetSmsMessagesOperation { pub fn GetResults(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1204,7 +1204,7 @@ impl ISmsBinaryMessage { pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1219,7 +1219,7 @@ impl ISmsBinaryMessage { pub fn GetData(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetData)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -1232,14 +1232,14 @@ impl ISmsBinaryMessage { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1397,7 +1397,7 @@ impl ISmsDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendMessageAsync)(::windows::core::Interface::as_raw(this), message.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1409,7 +1409,7 @@ impl ISmsDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalculateLength)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1418,7 +1418,7 @@ impl ISmsDevice { pub fn AccountPhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountPhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1427,7 +1427,7 @@ impl ISmsDevice { pub fn CellularClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1436,7 +1436,7 @@ impl ISmsDevice { pub fn MessageStore(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageStore)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1445,7 +1445,7 @@ impl ISmsDevice { pub fn DeviceStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1457,7 +1457,7 @@ impl ISmsDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmsMessageReceived)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1475,7 +1475,7 @@ impl ISmsDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmsDeviceStatusChanged)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1839,14 +1839,14 @@ impl ISmsMessage { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1922,35 +1922,35 @@ impl ISmsMessageBase { pub fn MessageType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SimIccId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimIccId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2209,7 +2209,7 @@ impl ISmsTextMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2218,7 +2218,7 @@ impl ISmsTextMessage { pub fn PartReferenceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartReferenceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2227,7 +2227,7 @@ impl ISmsTextMessage { pub fn PartNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2236,7 +2236,7 @@ impl ISmsTextMessage { pub fn PartCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2245,7 +2245,7 @@ impl ISmsTextMessage { pub fn To(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).To)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2263,7 +2263,7 @@ impl ISmsTextMessage { pub fn From(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).From)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2281,7 +2281,7 @@ impl ISmsTextMessage { pub fn Body(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2299,7 +2299,7 @@ impl ISmsTextMessage { pub fn Encoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Encoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2314,21 +2314,21 @@ impl ISmsTextMessage { pub fn ToBinaryMessages(&self, format: SmsDataFormat) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToBinaryMessages)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2606,7 +2606,7 @@ impl SendSmsMessageOperation { pub fn Completed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2621,7 +2621,7 @@ impl SendSmsMessageOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2630,7 +2630,7 @@ impl SendSmsMessageOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2639,7 +2639,7 @@ impl SendSmsMessageOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -2820,14 +2820,14 @@ impl SmsAppMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn To(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).To)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2841,14 +2841,14 @@ impl SmsAppMessage { pub fn From(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).From)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Body(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2862,7 +2862,7 @@ impl SmsAppMessage { pub fn CallbackNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallbackNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2876,7 +2876,7 @@ impl SmsAppMessage { pub fn IsDeliveryNotificationEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDeliveryNotificationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2887,7 +2887,7 @@ impl SmsAppMessage { pub fn RetryAttemptCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetryAttemptCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2898,7 +2898,7 @@ impl SmsAppMessage { pub fn Encoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Encoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2909,7 +2909,7 @@ impl SmsAppMessage { pub fn PortNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PortNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2920,7 +2920,7 @@ impl SmsAppMessage { pub fn TeleserviceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TeleserviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2931,7 +2931,7 @@ impl SmsAppMessage { pub fn ProtocolId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2944,7 +2944,7 @@ impl SmsAppMessage { pub fn BinaryBody(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BinaryBody)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2961,35 +2961,35 @@ impl SmsAppMessage { pub fn MessageType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SimIccId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimIccId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3093,7 +3093,7 @@ impl SmsBinaryMessage { pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3108,7 +3108,7 @@ impl SmsBinaryMessage { pub fn GetData(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetData)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -3121,14 +3121,14 @@ impl SmsBinaryMessage { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3263,105 +3263,105 @@ impl SmsBroadcastMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn To(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).To)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Body(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Channel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Channel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GeographicalScope(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeographicalScope)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UpdateNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BroadcastType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEmergencyAlert(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEmergencyAlert)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUserPopupRequested(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUserPopupRequested)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SimIccId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimIccId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3546,7 +3546,7 @@ impl SmsDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendMessageAsync)(::windows::core::Interface::as_raw(this), message.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3558,7 +3558,7 @@ impl SmsDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalculateLength)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3567,7 +3567,7 @@ impl SmsDevice { pub fn AccountPhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountPhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3576,7 +3576,7 @@ impl SmsDevice { pub fn CellularClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3585,7 +3585,7 @@ impl SmsDevice { pub fn MessageStore(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageStore)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3594,7 +3594,7 @@ impl SmsDevice { pub fn DeviceStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3606,7 +3606,7 @@ impl SmsDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmsMessageReceived)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3624,7 +3624,7 @@ impl SmsDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmsDeviceStatusChanged)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3638,7 +3638,7 @@ impl SmsDevice { #[cfg(feature = "deprecated")] pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISmsDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3649,7 +3649,7 @@ impl SmsDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISmsDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3657,7 +3657,7 @@ impl SmsDevice { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::ISmsDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3668,7 +3668,7 @@ impl SmsDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISmsDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromNetworkAccountIdAsync)(::windows::core::Interface::as_raw(this), networkaccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3787,7 +3787,7 @@ impl SmsDevice2 { pub fn SmscAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmscAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3801,35 +3801,35 @@ impl SmsDevice2 { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccountPhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountPhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3840,7 +3840,7 @@ impl SmsDevice2 { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CalculateLength)(::windows::core::Interface::as_raw(this), message.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3853,7 +3853,7 @@ impl SmsDevice2 { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendMessageAndGetResultAsync)(::windows::core::Interface::as_raw(this), message.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3865,7 +3865,7 @@ impl SmsDevice2 { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceStatusChanged)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3877,7 +3877,7 @@ impl SmsDevice2 { } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISmsDevice2Statics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3886,13 +3886,13 @@ impl SmsDevice2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISmsDevice2Statics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefault() -> ::windows::core::Result { Self::ISmsDevice2Statics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3901,7 +3901,7 @@ impl SmsDevice2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISmsDevice2Statics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromParentId)(::windows::core::Interface::as_raw(this), parentdeviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3982,7 +3982,7 @@ impl SmsDeviceMessageStore { pub fn DeleteMessageAsync(&self, messageid: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteMessageAsync)(::windows::core::Interface::as_raw(this), messageid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3991,7 +3991,7 @@ impl SmsDeviceMessageStore { pub fn DeleteMessagesAsync(&self, messagefilter: SmsMessageFilter) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteMessagesAsync)(::windows::core::Interface::as_raw(this), messagefilter, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4000,7 +4000,7 @@ impl SmsDeviceMessageStore { pub fn GetMessageAsync(&self, messageid: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageAsync)(::windows::core::Interface::as_raw(this), messageid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4009,7 +4009,7 @@ impl SmsDeviceMessageStore { pub fn GetMessagesAsync(&self, messagefilter: SmsMessageFilter) -> ::windows::core::Result, i32>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessagesAsync)(::windows::core::Interface::as_raw(this), messagefilter, result__.as_mut_ptr()).from_abi::, i32>>(result__) } } @@ -4018,7 +4018,7 @@ impl SmsDeviceMessageStore { pub fn MaxMessages(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxMessages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4366,7 +4366,7 @@ impl SmsFilterRule { pub fn MessageType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4375,7 +4375,7 @@ impl SmsFilterRule { pub fn ImsiPrefixes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImsiPrefixes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4384,7 +4384,7 @@ impl SmsFilterRule { pub fn DeviceIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4393,7 +4393,7 @@ impl SmsFilterRule { pub fn SenderNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SenderNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4402,7 +4402,7 @@ impl SmsFilterRule { pub fn TextMessagePrefixes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextMessagePrefixes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4411,14 +4411,14 @@ impl SmsFilterRule { pub fn PortNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PortNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4431,7 +4431,7 @@ impl SmsFilterRule { pub fn ProtocolIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4440,7 +4440,7 @@ impl SmsFilterRule { pub fn TeleserviceIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TeleserviceIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4449,7 +4449,7 @@ impl SmsFilterRule { pub fn WapApplicationIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WapApplicationIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4458,7 +4458,7 @@ impl SmsFilterRule { pub fn WapContentTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WapContentTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4467,7 +4467,7 @@ impl SmsFilterRule { pub fn BroadcastTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4476,13 +4476,13 @@ impl SmsFilterRule { pub fn BroadcastChannels(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastChannels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateFilterRule(messagetype: SmsMessageType) -> ::windows::core::Result { Self::ISmsFilterRuleFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFilterRule)(::windows::core::Interface::as_raw(this), messagetype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4561,7 +4561,7 @@ impl SmsFilterRules { pub fn ActionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4570,13 +4570,13 @@ impl SmsFilterRules { pub fn Rules(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rules)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateFilterRules(actiontype: SmsFilterActionType) -> ::windows::core::Result { Self::ISmsFilterRulesFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFilterRules)(::windows::core::Interface::as_raw(this), actiontype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4778,7 +4778,7 @@ impl SmsMessageReceivedEventArgs { pub fn TextMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4787,7 +4787,7 @@ impl SmsMessageReceivedEventArgs { pub fn BinaryMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BinaryMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4976,49 +4976,49 @@ impl SmsMessageReceivedTriggerDetails { pub fn MessageType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TextMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WapMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WapMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BroadcastMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VoicemailMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VoicemailMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StatusMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5100,7 +5100,7 @@ impl SmsMessageRegistration { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5116,7 +5116,7 @@ impl SmsMessageRegistration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReceived)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5130,7 +5130,7 @@ impl SmsMessageRegistration { #[cfg(feature = "Foundation_Collections")] pub fn AllRegistrations() -> ::windows::core::Result> { Self::ISmsMessageRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllRegistrations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5140,7 +5140,7 @@ impl SmsMessageRegistration { P1: ::std::convert::Into<::windows::core::InParam<'a, SmsFilterRules>>, { Self::ISmsMessageRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Register)(::windows::core::Interface::as_raw(this), id.into().abi(), filterrules.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5304,7 +5304,7 @@ impl SmsReceivedEventDetails { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5313,7 +5313,7 @@ impl SmsReceivedEventDetails { pub fn MessageIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5322,7 +5322,7 @@ impl SmsReceivedEventDetails { pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5331,7 +5331,7 @@ impl SmsReceivedEventDetails { pub fn BinaryMessage(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BinaryMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5420,7 +5420,7 @@ impl SmsSendMessageResult { pub fn IsSuccessful(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSuccessful)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5429,42 +5429,42 @@ impl SmsSendMessageResult { pub fn MessageReferenceNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReferenceNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ModemErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModemErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsErrorTransient(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsErrorTransient)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkCauseCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkCauseCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TransportFailureCause(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportFailureCause)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5538,70 +5538,70 @@ impl SmsStatusMessage { pub fn MessageType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SimIccId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimIccId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn To(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).To)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn From(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).From)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Body(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageReferenceNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReferenceNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5610,7 +5610,7 @@ impl SmsStatusMessage { pub fn ServiceCenterTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceCenterTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5619,7 +5619,7 @@ impl SmsStatusMessage { pub fn DischargeTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DischargeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5721,14 +5721,14 @@ impl SmsTextMessage { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5737,7 +5737,7 @@ impl SmsTextMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5746,7 +5746,7 @@ impl SmsTextMessage { pub fn PartReferenceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartReferenceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5755,7 +5755,7 @@ impl SmsTextMessage { pub fn PartNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5764,7 +5764,7 @@ impl SmsTextMessage { pub fn PartCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5773,7 +5773,7 @@ impl SmsTextMessage { pub fn To(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).To)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5791,7 +5791,7 @@ impl SmsTextMessage { pub fn From(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).From)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5809,7 +5809,7 @@ impl SmsTextMessage { pub fn Body(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5827,7 +5827,7 @@ impl SmsTextMessage { pub fn Encoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Encoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5842,7 +5842,7 @@ impl SmsTextMessage { pub fn ToBinaryMessages(&self, format: SmsDataFormat) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToBinaryMessages)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5853,7 +5853,7 @@ impl SmsTextMessage { P0: ::std::convert::Into<::windows::core::InParam<'a, SmsBinaryMessage>>, { Self::ISmsTextMessageStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromBinaryMessage)(::windows::core::Interface::as_raw(this), binarymessage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5861,7 +5861,7 @@ impl SmsTextMessage { #[cfg(feature = "deprecated")] pub fn FromBinaryData(format: SmsDataFormat, value: &[u8]) -> ::windows::core::Result { Self::ISmsTextMessageStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromBinaryData)(::windows::core::Interface::as_raw(this), format, value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6007,35 +6007,35 @@ impl SmsTextMessage2 { pub fn MessageType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SimIccId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimIccId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6044,14 +6044,14 @@ impl SmsTextMessage2 { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn To(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).To)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6065,14 +6065,14 @@ impl SmsTextMessage2 { pub fn From(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).From)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Body(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6086,7 +6086,7 @@ impl SmsTextMessage2 { pub fn Encoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Encoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6097,7 +6097,7 @@ impl SmsTextMessage2 { pub fn CallbackNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallbackNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6111,7 +6111,7 @@ impl SmsTextMessage2 { pub fn IsDeliveryNotificationEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDeliveryNotificationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6122,7 +6122,7 @@ impl SmsTextMessage2 { pub fn RetryAttemptCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetryAttemptCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6133,14 +6133,14 @@ impl SmsTextMessage2 { pub fn TeleserviceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TeleserviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProtocolId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6233,35 +6233,35 @@ impl SmsVoicemailMessage { pub fn MessageType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SimIccId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimIccId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6270,21 +6270,21 @@ impl SmsVoicemailMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn To(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).To)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Body(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6293,7 +6293,7 @@ impl SmsVoicemailMessage { pub fn MessageCount(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6386,35 +6386,35 @@ impl SmsWapMessage { pub fn MessageType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CellularClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageClass(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SimIccId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimIccId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6423,35 +6423,35 @@ impl SmsWapMessage { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn To(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).To)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn From(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).From)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ApplicationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6460,7 +6460,7 @@ impl SmsWapMessage { pub fn BinaryBody(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BinaryBody)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6469,7 +6469,7 @@ impl SmsWapMessage { pub fn Headers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } 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 99f919f083..4641184271 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs @@ -43,7 +43,7 @@ impl ISpiControllerProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceProvider)(::windows::core::Interface::as_raw(this), settings.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -118,14 +118,14 @@ impl ISpiDeviceProvider { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ConnectionSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -251,7 +251,7 @@ impl ISpiProvider { pub fn GetControllersAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllersAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -329,7 +329,7 @@ impl ProviderSpiConnectionSettings { pub fn ChipSelectLine(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChipSelectLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -340,7 +340,7 @@ impl ProviderSpiConnectionSettings { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -351,7 +351,7 @@ impl ProviderSpiConnectionSettings { pub fn DataBitLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataBitLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -362,7 +362,7 @@ impl ProviderSpiConnectionSettings { pub fn ClockFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClockFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -373,7 +373,7 @@ impl ProviderSpiConnectionSettings { pub fn SharingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -383,7 +383,7 @@ impl ProviderSpiConnectionSettings { } pub fn Create(chipselectline: i32) -> ::windows::core::Result { Self::IProviderSpiConnectionSettingsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), chipselectline, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs index a006a0d489..aa527144d9 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs @@ -112,7 +112,7 @@ impl ISpiDeviceStatics { pub fn GetDeviceSelector(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -122,7 +122,7 @@ impl ISpiDeviceStatics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(::windows::core::Interface::as_raw(this), friendlyname.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -132,7 +132,7 @@ impl ISpiDeviceStatics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBusInfo)(::windows::core::Interface::as_raw(this), busid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -145,7 +145,7 @@ impl ISpiDeviceStatics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), busid.into().abi(), settings.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -226,21 +226,21 @@ impl SpiBusInfo { pub fn ChipSelectLineCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChipSelectLineCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinClockFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinClockFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxClockFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxClockFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -249,7 +249,7 @@ impl SpiBusInfo { pub fn SupportedDataBitLengths(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedDataBitLengths)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -323,7 +323,7 @@ impl SpiConnectionSettings { pub fn ChipSelectLine(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChipSelectLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -334,7 +334,7 @@ impl SpiConnectionSettings { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -345,7 +345,7 @@ impl SpiConnectionSettings { pub fn DataBitLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataBitLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -356,7 +356,7 @@ impl SpiConnectionSettings { pub fn ClockFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClockFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -367,7 +367,7 @@ impl SpiConnectionSettings { pub fn SharingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -377,7 +377,7 @@ impl SpiConnectionSettings { } pub fn Create(chipselectline: i32) -> ::windows::core::Result { Self::ISpiConnectionSettingsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), chipselectline, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -459,7 +459,7 @@ impl SpiController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDevice)(::windows::core::Interface::as_raw(this), settings.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -467,7 +467,7 @@ impl SpiController { #[cfg(feature = "Foundation")] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::ISpiControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -479,7 +479,7 @@ impl SpiController { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISpiControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetControllersAsync)(::windows::core::Interface::as_raw(this), provider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -564,14 +564,14 @@ impl SpiDevice { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ConnectionSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -593,7 +593,7 @@ impl SpiDevice { } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISpiDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -602,7 +602,7 @@ impl SpiDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISpiDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(::windows::core::Interface::as_raw(this), friendlyname.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -611,7 +611,7 @@ impl SpiDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISpiDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBusInfo)(::windows::core::Interface::as_raw(this), busid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -623,7 +623,7 @@ impl SpiDevice { P1: ::std::convert::Into<::windows::core::InParam<'a, SpiConnectionSettings>>, { Self::ISpiDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), busid.into().abi(), settings.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs index a87731238d..4f06f3ee5a 100644 --- a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs @@ -583,21 +583,21 @@ impl UsbBulkInEndpointDescriptor { pub fn MaxPacketSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPacketSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndpointNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pipe(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pipe)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -671,14 +671,14 @@ impl UsbBulkInPipe { pub fn MaxTransferSizeBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxTransferSizeBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndpointDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -687,7 +687,7 @@ impl UsbBulkInPipe { pub fn ClearStallAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearStallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -698,7 +698,7 @@ impl UsbBulkInPipe { pub fn ReadOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -711,7 +711,7 @@ impl UsbBulkInPipe { pub fn InputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -785,21 +785,21 @@ impl UsbBulkOutEndpointDescriptor { pub fn MaxPacketSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPacketSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndpointNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pipe(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pipe)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -873,7 +873,7 @@ impl UsbBulkOutPipe { pub fn EndpointDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -882,7 +882,7 @@ impl UsbBulkOutPipe { pub fn ClearStallAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearStallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -893,7 +893,7 @@ impl UsbBulkOutPipe { pub fn WriteOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -902,7 +902,7 @@ impl UsbBulkOutPipe { pub fn OutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -978,14 +978,14 @@ impl UsbConfiguration { pub fn UsbInterfaces(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsbInterfaces)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ConfigurationDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConfigurationDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -994,7 +994,7 @@ impl UsbConfiguration { pub fn Descriptors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Descriptors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1068,28 +1068,28 @@ impl UsbConfigurationDescriptor { pub fn ConfigurationValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConfigurationValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxPowerMilliamps(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPowerMilliamps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelfPowered(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelfPowered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoteWakeup(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteWakeup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1098,7 +1098,7 @@ impl UsbConfigurationDescriptor { P0: ::std::convert::Into<::windows::core::InParam<'a, UsbDescriptor>>, { Self::IUsbConfigurationDescriptorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), descriptor.into().abi(), parsed as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1107,7 +1107,7 @@ impl UsbConfigurationDescriptor { P0: ::std::convert::Into<::windows::core::InParam<'a, UsbDescriptor>>, { Self::IUsbConfigurationDescriptorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), descriptor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1230,7 +1230,7 @@ impl UsbControlRequestType { pub fn Direction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1241,7 +1241,7 @@ impl UsbControlRequestType { pub fn ControlTransferType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlTransferType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1252,7 +1252,7 @@ impl UsbControlRequestType { pub fn Recipient(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recipient)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1263,7 +1263,7 @@ impl UsbControlRequestType { pub fn AsByte(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AsByte)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1376,14 +1376,14 @@ impl UsbDescriptor { pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DescriptorType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DescriptorType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1480,7 +1480,7 @@ impl UsbDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendControlOutTransferAsync)(::windows::core::Interface::as_raw(this), setuppacket.into().abi(), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1492,7 +1492,7 @@ impl UsbDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendControlOutTransferAsyncNoBuffer)(::windows::core::Interface::as_raw(this), setuppacket.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1506,7 +1506,7 @@ impl UsbDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendControlInTransferAsync)(::windows::core::Interface::as_raw(this), setuppacket.into().abi(), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1518,46 +1518,46 @@ impl UsbDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendControlInTransferAsyncNoBuffer)(::windows::core::Interface::as_raw(this), setuppacket.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DefaultInterface(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultInterface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeviceSelector(vendorid: u32, productid: u32, winusbinterfaceclass: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), vendorid, productid, winusbinterfaceclass, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorGuidOnly(winusbinterfaceclass: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorGuidOnly)(::windows::core::Interface::as_raw(this), winusbinterfaceclass, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDeviceSelectorVidPidOnly(vendorid: u32, productid: u32) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorVidPidOnly)(::windows::core::Interface::as_raw(this), vendorid, productid, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1566,7 +1566,7 @@ impl UsbDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, UsbDeviceClass>>, { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceClassSelector)(::windows::core::Interface::as_raw(this), usbclass.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1577,7 +1577,7 @@ impl UsbDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1685,7 +1685,7 @@ impl UsbDeviceClass { pub fn ClassCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClassCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1698,7 +1698,7 @@ impl UsbDeviceClass { pub fn SubclassCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubclassCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1717,7 +1717,7 @@ impl UsbDeviceClass { pub fn ProtocolCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1800,55 +1800,55 @@ pub struct UsbDeviceClasses(::windows::core::IUnknown); impl UsbDeviceClasses { pub fn CdcControl() -> ::windows::core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CdcControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Physical() -> ::windows::core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Physical)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PersonalHealthcare() -> ::windows::core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PersonalHealthcare)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ActiveSync() -> ::windows::core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActiveSync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PalmSync() -> ::windows::core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PalmSync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DeviceFirmwareUpdate() -> ::windows::core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceFirmwareUpdate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Irda() -> ::windows::core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Irda)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Measurement() -> ::windows::core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Measurement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn VendorSpecific() -> ::windows::core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VendorSpecific)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1927,42 +1927,42 @@ impl UsbDeviceDescriptor { pub fn BcdUsb(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BcdUsb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxPacketSize0(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPacketSize0)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VendorId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProductId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BcdDeviceRevision(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BcdDeviceRevision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfConfigurations(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfConfigurations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2036,49 +2036,49 @@ impl UsbEndpointDescriptor { pub fn EndpointNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Direction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndpointType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AsBulkInEndpointDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AsBulkInEndpointDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AsInterruptInEndpointDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AsInterruptInEndpointDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AsBulkOutEndpointDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AsBulkOutEndpointDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AsInterruptOutEndpointDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AsInterruptOutEndpointDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2087,7 +2087,7 @@ impl UsbEndpointDescriptor { P0: ::std::convert::Into<::windows::core::InParam<'a, UsbDescriptor>>, { Self::IUsbEndpointDescriptorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), descriptor.into().abi(), parsed as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2096,7 +2096,7 @@ impl UsbEndpointDescriptor { P0: ::std::convert::Into<::windows::core::InParam<'a, UsbDescriptor>>, { Self::IUsbEndpointDescriptorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), descriptor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2213,7 +2213,7 @@ impl UsbInterface { pub fn BulkInPipes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BulkInPipes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2222,7 +2222,7 @@ impl UsbInterface { pub fn InterruptInPipes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterruptInPipes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2231,7 +2231,7 @@ impl UsbInterface { pub fn BulkOutPipes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BulkOutPipes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2240,7 +2240,7 @@ impl UsbInterface { pub fn InterruptOutPipes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterruptOutPipes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2249,14 +2249,14 @@ impl UsbInterface { pub fn InterfaceSettings(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterfaceSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn InterfaceNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterfaceNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2265,7 +2265,7 @@ impl UsbInterface { pub fn Descriptors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Descriptors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2339,35 +2339,35 @@ impl UsbInterfaceDescriptor { pub fn ClassCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClassCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SubclassCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubclassCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProtocolCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AlternateSettingNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateSettingNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InterfaceNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterfaceNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2376,7 +2376,7 @@ impl UsbInterfaceDescriptor { P0: ::std::convert::Into<::windows::core::InParam<'a, UsbDescriptor>>, { Self::IUsbInterfaceDescriptorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), descriptor.into().abi(), parsed as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2385,7 +2385,7 @@ impl UsbInterfaceDescriptor { P0: ::std::convert::Into<::windows::core::InParam<'a, UsbDescriptor>>, { Self::IUsbInterfaceDescriptorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), descriptor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2466,7 +2466,7 @@ impl UsbInterfaceSetting { pub fn BulkInEndpoints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BulkInEndpoints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2475,7 +2475,7 @@ impl UsbInterfaceSetting { pub fn InterruptInEndpoints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterruptInEndpoints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2484,7 +2484,7 @@ impl UsbInterfaceSetting { pub fn BulkOutEndpoints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BulkOutEndpoints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2493,14 +2493,14 @@ impl UsbInterfaceSetting { pub fn InterruptOutEndpoints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterruptOutEndpoints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Selected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Selected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2509,14 +2509,14 @@ impl UsbInterfaceSetting { pub fn SelectSettingAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSettingAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InterfaceDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterfaceDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2525,7 +2525,7 @@ impl UsbInterfaceSetting { pub fn Descriptors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Descriptors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2599,14 +2599,14 @@ impl UsbInterruptInEndpointDescriptor { pub fn MaxPacketSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPacketSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndpointNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2615,14 +2615,14 @@ impl UsbInterruptInEndpointDescriptor { pub fn Interval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Interval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pipe(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pipe)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2698,7 +2698,7 @@ impl UsbInterruptInEventArgs { pub fn InterruptData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterruptData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2772,7 +2772,7 @@ impl UsbInterruptInPipe { pub fn EndpointDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2781,7 +2781,7 @@ impl UsbInterruptInPipe { pub fn ClearStallAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearStallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2793,7 +2793,7 @@ impl UsbInterruptInPipe { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2873,14 +2873,14 @@ impl UsbInterruptOutEndpointDescriptor { pub fn MaxPacketSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPacketSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndpointNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2889,14 +2889,14 @@ impl UsbInterruptOutEndpointDescriptor { pub fn Interval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Interval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pipe(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pipe)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2970,7 +2970,7 @@ impl UsbInterruptOutPipe { pub fn EndpointDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2979,7 +2979,7 @@ impl UsbInterruptOutPipe { pub fn ClearStallAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearStallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2990,7 +2990,7 @@ impl UsbInterruptOutPipe { pub fn WriteOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2999,7 +2999,7 @@ impl UsbInterruptOutPipe { pub fn OutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3145,7 +3145,7 @@ impl UsbSetupPacket { pub fn RequestType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3159,7 +3159,7 @@ impl UsbSetupPacket { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3170,7 +3170,7 @@ impl UsbSetupPacket { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3181,7 +3181,7 @@ impl UsbSetupPacket { pub fn Index(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Index)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3192,7 +3192,7 @@ impl UsbSetupPacket { pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3208,7 +3208,7 @@ impl UsbSetupPacket { E0: ::std::convert::Into<::windows::core::Error>, { Self::IUsbSetupPacketFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithEightByteBuffer)(::windows::core::Interface::as_raw(this), eightbytebuffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs index 4c9ff3b806..9d1c898ab6 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs @@ -212,7 +212,7 @@ impl WiFiAdapter { pub fn NetworkAdapter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAdapter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -221,14 +221,14 @@ impl WiFiAdapter { pub fn ScanAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -240,7 +240,7 @@ impl WiFiAdapter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableNetworksChanged)(::windows::core::Interface::as_raw(this), args.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -258,7 +258,7 @@ impl WiFiAdapter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), availablenetwork.into().abi(), reconnectionkind, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -271,7 +271,7 @@ impl WiFiAdapter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectWithPasswordCredentialAsync)(::windows::core::Interface::as_raw(this), availablenetwork.into().abi(), reconnectionkind, passwordcredential.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -285,7 +285,7 @@ impl WiFiAdapter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectWithPasswordCredentialAndSsidAsync)(::windows::core::Interface::as_raw(this), availablenetwork.into().abi(), reconnectionkind, passwordcredential.into().abi(), ssid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -301,7 +301,7 @@ impl WiFiAdapter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWpsConfigurationAsync)(::windows::core::Interface::as_raw(this), availablenetwork.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -315,7 +315,7 @@ impl WiFiAdapter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectWithPasswordCredentialAndSsidAndConnectionMethodAsync)(::windows::core::Interface::as_raw(this), availablenetwork.into().abi(), reconnectionkind, passwordcredential.into().abi(), ssid.into().abi(), connectionmethod, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -323,13 +323,13 @@ impl WiFiAdapter { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAdaptersAsync() -> ::windows::core::Result>> { Self::IWiFiAdapterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAdaptersAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IWiFiAdapterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -340,7 +340,7 @@ impl WiFiAdapter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWiFiAdapterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -348,7 +348,7 @@ impl WiFiAdapter { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IWiFiAdapterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -429,56 +429,56 @@ impl WiFiAvailableNetwork { pub fn Uptime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uptime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Ssid(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ssid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Bssid(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bssid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChannelCenterFrequencyInKilohertz(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelCenterFrequencyInKilohertz)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkRssiInDecibelMilliwatts(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkRssiInDecibelMilliwatts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SignalBars(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalBars)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhyKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhyKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -487,7 +487,7 @@ impl WiFiAvailableNetwork { pub fn SecuritySettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecuritySettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -496,14 +496,14 @@ impl WiFiAvailableNetwork { pub fn BeaconInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeaconInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWiFiDirect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWiFiDirect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -612,7 +612,7 @@ impl WiFiConnectionResult { pub fn ConnectionStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -762,7 +762,7 @@ impl WiFiNetworkReport { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -771,7 +771,7 @@ impl WiFiNetworkReport { pub fn AvailableNetworks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableNetworks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -922,7 +922,7 @@ impl WiFiWpsConfigurationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -931,7 +931,7 @@ impl WiFiWpsConfigurationResult { pub fn SupportedWpsKinds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedWpsKinds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs index f2df9a564e..429c9316be 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs @@ -318,7 +318,7 @@ impl WiFiDirectService { pub fn RemoteServiceInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteServiceInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -327,14 +327,14 @@ impl WiFiDirectService { pub fn SupportedConfigurationMethods(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedConfigurationMethods)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PreferGroupOwnerMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferGroupOwnerMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -347,7 +347,7 @@ impl WiFiDirectService { pub fn SessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -364,7 +364,7 @@ impl WiFiDirectService { pub fn ServiceError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -376,7 +376,7 @@ impl WiFiDirectService { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionDeferred)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -391,7 +391,7 @@ impl WiFiDirectService { pub fn GetProvisioningInfoAsync(&self, selectedconfigurationmethod: WiFiDirectServiceConfigurationMethod) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProvisioningInfoAsync)(::windows::core::Interface::as_raw(this), selectedconfigurationmethod, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -400,7 +400,7 @@ impl WiFiDirectService { pub fn ConnectAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -412,7 +412,7 @@ impl WiFiDirectService { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsyncWithPin)(::windows::core::Interface::as_raw(this), pin.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -421,7 +421,7 @@ impl WiFiDirectService { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWiFiDirectServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSelector)(::windows::core::Interface::as_raw(this), servicename.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -434,7 +434,7 @@ impl WiFiDirectService { E1: ::std::convert::Into<::windows::core::Error>, { Self::IWiFiDirectServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSelectorWithFilter)(::windows::core::Interface::as_raw(this), servicename.into().abi(), serviceinfofilter.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -445,7 +445,7 @@ impl WiFiDirectService { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWiFiDirectServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -560,7 +560,7 @@ impl WiFiDirectServiceAdvertiser { pub fn ServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -569,7 +569,7 @@ impl WiFiDirectServiceAdvertiser { pub fn ServiceNamePrefixes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceNamePrefixes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -578,7 +578,7 @@ impl WiFiDirectServiceAdvertiser { pub fn ServiceInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -595,7 +595,7 @@ impl WiFiDirectServiceAdvertiser { pub fn AutoAcceptSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoAcceptSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -606,7 +606,7 @@ impl WiFiDirectServiceAdvertiser { pub fn PreferGroupOwnerMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferGroupOwnerMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -619,14 +619,14 @@ impl WiFiDirectServiceAdvertiser { pub fn PreferredConfigurationMethods(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredConfigurationMethods)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ServiceStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -637,7 +637,7 @@ impl WiFiDirectServiceAdvertiser { pub fn CustomServiceStatusCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomServiceStatusCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -650,7 +650,7 @@ impl WiFiDirectServiceAdvertiser { pub fn DeferredSessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeferredSessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -667,14 +667,14 @@ impl WiFiDirectServiceAdvertiser { pub fn AdvertisementStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisementStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServiceError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -686,7 +686,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -704,7 +704,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoAcceptSessionConnected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -722,7 +722,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisementStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -740,7 +740,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), deviceinfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -753,7 +753,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsyncWithPin)(::windows::core::Interface::as_raw(this), deviceinfo.into().abi(), pin.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -770,7 +770,7 @@ impl WiFiDirectServiceAdvertiser { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWiFiDirectServiceAdvertiserFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWiFiDirectServiceAdvertiser)(::windows::core::Interface::as_raw(this), servicename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -849,7 +849,7 @@ impl WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -858,7 +858,7 @@ impl WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { pub fn SessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1038,14 +1038,14 @@ impl WiFiDirectServiceProvisioningInfo { pub fn SelectedConfigurationMethod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedConfigurationMethod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGroupFormationNeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGroupFormationNeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1121,14 +1121,14 @@ impl WiFiDirectServiceRemotePortAddedEventArgs { pub fn EndpointPairs(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointPairs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Protocol(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Protocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1208,49 +1208,49 @@ impl WiFiDirectServiceSession { pub fn ServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SessionId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdvertisementId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisementId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServiceAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SessionAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1259,7 +1259,7 @@ impl WiFiDirectServiceSession { pub fn GetConnectionEndpointPairs(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectionEndpointPairs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1271,7 +1271,7 @@ impl WiFiDirectServiceSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1289,7 +1289,7 @@ impl WiFiDirectServiceSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddStreamSocketListenerAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1301,7 +1301,7 @@ impl WiFiDirectServiceSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddDatagramSocketAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1313,7 +1313,7 @@ impl WiFiDirectServiceSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemotePortAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1417,7 +1417,7 @@ impl WiFiDirectServiceSessionDeferredEventArgs { pub fn DeferredSessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeferredSessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1537,14 +1537,14 @@ impl WiFiDirectServiceSessionRequest { pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProvisioningInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProvisioningInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1553,7 +1553,7 @@ impl WiFiDirectServiceSessionRequest { pub fn SessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1649,7 +1649,7 @@ impl WiFiDirectServiceSessionRequestedEventArgs { pub fn GetSessionRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSessionRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs index d13b0ca182..3f6134ff4d 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs @@ -319,7 +319,7 @@ impl WiFiDirectAdvertisement { pub fn InformationElements(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InformationElements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -336,7 +336,7 @@ impl WiFiDirectAdvertisement { pub fn ListenStateDiscoverability(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ListenStateDiscoverability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -347,7 +347,7 @@ impl WiFiDirectAdvertisement { pub fn IsAutonomousGroupOwnerEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAutonomousGroupOwnerEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -358,7 +358,7 @@ impl WiFiDirectAdvertisement { pub fn LegacySettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LegacySettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -367,7 +367,7 @@ impl WiFiDirectAdvertisement { pub fn SupportedConfigurationMethods(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedConfigurationMethods)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -483,14 +483,14 @@ impl WiFiDirectAdvertisementPublisher { pub fn Advertisement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Advertisement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -502,7 +502,7 @@ impl WiFiDirectAdvertisementPublisher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -626,14 +626,14 @@ impl WiFiDirectAdvertisementPublisherStatusChangedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -754,7 +754,7 @@ impl WiFiDirectConnectionListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -841,7 +841,7 @@ impl WiFiDirectConnectionParameters { pub fn GroupOwnerIntent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GroupOwnerIntent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -854,14 +854,14 @@ impl WiFiDirectConnectionParameters { pub fn PreferenceOrderedConfigurationMethods(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferenceOrderedConfigurationMethods)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PreferredPairingProcedure(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredPairingProcedure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -873,7 +873,7 @@ impl WiFiDirectConnectionParameters { #[cfg(feature = "Devices_Enumeration")] pub fn GetDevicePairingKinds(configurationmethod: WiFiDirectConfigurationMethod) -> ::windows::core::Result { Self::IWiFiDirectConnectionParametersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDevicePairingKinds)(::windows::core::Interface::as_raw(this), configurationmethod, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -982,7 +982,7 @@ impl WiFiDirectConnectionRequest { pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1078,7 +1078,7 @@ impl WiFiDirectConnectionRequestedEventArgs { pub fn GetConnectionRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectionRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1192,14 +1192,14 @@ impl WiFiDirectDevice { pub fn ConnectionStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1211,7 +1211,7 @@ impl WiFiDirectDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1226,13 +1226,13 @@ impl WiFiDirectDevice { pub fn GetConnectionEndpointPairs(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectionEndpointPairs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IWiFiDirectDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1243,13 +1243,13 @@ impl WiFiDirectDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWiFiDirectDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector2(r#type: WiFiDirectDeviceSelectorType) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IWiFiDirectDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1261,7 +1261,7 @@ impl WiFiDirectDevice { P1: ::std::convert::Into<::windows::core::InParam<'a, WiFiDirectConnectionParameters>>, { Self::IWiFiDirectDeviceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), connectionparameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1445,7 +1445,7 @@ impl WiFiDirectInformationElement { pub fn Oui(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Oui)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1462,7 +1462,7 @@ impl WiFiDirectInformationElement { pub fn OuiType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OuiType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1475,7 +1475,7 @@ impl WiFiDirectInformationElement { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1497,7 +1497,7 @@ impl WiFiDirectInformationElement { E0: ::std::convert::Into<::windows::core::Error>, { Self::IWiFiDirectInformationElementStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1508,7 +1508,7 @@ impl WiFiDirectInformationElement { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Enumeration::DeviceInformation>>, { Self::IWiFiDirectInformationElementStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDeviceInformation)(::windows::core::Interface::as_raw(this), deviceinformation.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1587,7 +1587,7 @@ impl WiFiDirectLegacySettings { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1598,7 +1598,7 @@ impl WiFiDirectLegacySettings { pub fn Ssid(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ssid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1614,7 +1614,7 @@ impl WiFiDirectLegacySettings { pub fn Passphrase(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Passphrase)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/mod.rs b/crates/libs/windows/src/Windows/Devices/mod.rs index 03c9e619b3..182d9df857 100644 --- a/crates/libs/windows/src/Windows/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/mod.rs @@ -69,7 +69,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn AdcControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdcControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -78,7 +78,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn PwmControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PwmControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -87,7 +87,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn GpioControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GpioControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -96,7 +96,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn I2cControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).I2cControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -105,7 +105,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn SpiControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpiControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -243,7 +243,7 @@ impl LowLevelDevicesAggregateProvider { pub fn AdcControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdcControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -252,7 +252,7 @@ impl LowLevelDevicesAggregateProvider { pub fn PwmControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PwmControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -261,7 +261,7 @@ impl LowLevelDevicesAggregateProvider { pub fn GpioControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GpioControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -270,7 +270,7 @@ impl LowLevelDevicesAggregateProvider { pub fn I2cControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).I2cControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -279,7 +279,7 @@ impl LowLevelDevicesAggregateProvider { pub fn SpiControllerProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpiControllerProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -299,7 +299,7 @@ impl LowLevelDevicesAggregateProvider { E4: ::std::convert::Into<::windows::core::Error>, { Self::ILowLevelDevicesAggregateProviderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), adc.try_into().map_err(|e| e.into())?.abi(), pwm.try_into().map_err(|e| e.into())?.abi(), gpio.try_into().map_err(|e| e.into())?.abi(), i2c.try_into().map_err(|e| e.into())?.abi(), spi.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -396,7 +396,7 @@ pub struct LowLevelDevicesController(::windows::core::IUnknown); impl LowLevelDevicesController { pub fn DefaultProvider() -> ::windows::core::Result { Self::ILowLevelDevicesControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs index dece299814..64db5085c6 100644 --- a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs +++ b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs @@ -5,13 +5,13 @@ impl DeviceLockdownProfile { #[cfg(feature = "Foundation_Collections")] pub fn GetSupportedLockdownProfiles() -> ::windows::core::Result> { Self::IDeviceLockdownProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedLockdownProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetCurrentLockdownProfile() -> ::windows::core::Result<::windows::core::GUID> { Self::IDeviceLockdownProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentLockdownProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -19,13 +19,13 @@ impl DeviceLockdownProfile { #[cfg(feature = "Foundation")] pub fn ApplyLockdownProfileAsync(profileid: ::windows::core::GUID) -> ::windows::core::Result { Self::IDeviceLockdownProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplyLockdownProfileAsync)(::windows::core::Interface::as_raw(this), profileid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetLockdownProfileInformation(profileid: ::windows::core::GUID) -> ::windows::core::Result { Self::IDeviceLockdownProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLockdownProfileInformation)(::windows::core::Interface::as_raw(this), profileid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -45,7 +45,7 @@ impl DeviceLockdownProfileInformation { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index e75ada1641..854e03bd4c 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -43,7 +43,7 @@ impl IIterable { pub fn First(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -138,28 +138,28 @@ impl IIterator { pub fn Current(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasCurrent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCurrent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveNext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveNext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetMany(&self, items: &mut [::DefaultType]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -254,14 +254,14 @@ impl ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Key)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -349,14 +349,14 @@ impl::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -366,14 +366,14 @@ impl::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -384,7 +384,7 @@ impl::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -402,7 +402,7 @@ impl ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -524,14 +524,14 @@ impl IMapChangedEventArgs { pub fn CollectionChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CollectionChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Key(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Key)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -617,14 +617,14 @@ impl::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -634,7 +634,7 @@ impl::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -645,7 +645,7 @@ impl ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -768,7 +768,7 @@ impl::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -779,7 +779,7 @@ impl ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -789,14 +789,14 @@ impl>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -806,14 +806,14 @@ impl>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -824,7 +824,7 @@ impl>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -974,7 +974,7 @@ impl IObservableVector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VectorChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -985,28 +985,28 @@ impl IObservableVector { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1016,7 +1016,7 @@ impl IObservableVector { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1056,7 +1056,7 @@ impl IObservableVector { pub fn GetMany(&self, startindex: u32, items: &mut [::DefaultType]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1192,7 +1192,7 @@ impl IPropertySet { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1202,14 +1202,14 @@ impl IPropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1219,14 +1219,14 @@ impl IPropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1237,7 +1237,7 @@ impl IPropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1258,7 +1258,7 @@ impl IPropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1409,21 +1409,21 @@ impl IVector { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1433,7 +1433,7 @@ impl IVector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1473,7 +1473,7 @@ impl IVector { pub fn GetMany(&self, startindex: u32, items: &mut [::DefaultType]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1484,7 +1484,7 @@ impl IVector { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1625,14 +1625,14 @@ impl IVectorChangedEventArgs { pub fn CollectionChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CollectionChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Index(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Index)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1710,14 +1710,14 @@ impl IVectorView { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1727,21 +1727,21 @@ impl IVectorView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetMany(&self, startindex: u32, items: &mut [::DefaultType]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1986,7 +1986,7 @@ impl PropertySet { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1996,14 +1996,14 @@ impl PropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2013,14 +2013,14 @@ impl PropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2031,7 +2031,7 @@ impl PropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2052,7 +2052,7 @@ impl PropertySet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2227,7 +2227,7 @@ impl StringMap { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2237,14 +2237,14 @@ impl StringMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2254,14 +2254,14 @@ impl StringMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2272,7 +2272,7 @@ impl StringMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2293,7 +2293,7 @@ impl StringMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2449,7 +2449,7 @@ impl ValueSet { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2459,14 +2459,14 @@ impl ValueSet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2476,14 +2476,14 @@ impl ValueSet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2494,7 +2494,7 @@ impl ValueSet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2515,7 +2515,7 @@ impl ValueSet { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index d396972014..86ebb64cc3 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -24,7 +24,7 @@ impl AsyncCausalityTracer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::EventHandler>>, { Self::IAsyncCausalityTracerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TracingStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -189,27 +189,27 @@ impl ErrorDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LongDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LongDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn HelpUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HelpUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateFromHResultAsync(errorcode: i32) -> ::windows::core::Result> { Self::IErrorDetailsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromHResultAsync)(::windows::core::Interface::as_raw(this), errorcode, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -357,7 +357,7 @@ impl FileLoggingSession { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -390,7 +390,7 @@ impl FileLoggingSession { pub fn CloseAndSaveToFileAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloseAndSaveToFileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -400,7 +400,7 @@ impl FileLoggingSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogFileGenerated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -413,7 +413,7 @@ impl FileLoggingSession { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileLoggingSessionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -581,7 +581,7 @@ impl IErrorReportingSettings { pub fn GetErrorOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetErrorOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -657,7 +657,7 @@ impl IFileLoggingSession { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -690,7 +690,7 @@ impl IFileLoggingSession { pub fn CloseAndSaveToFileAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloseAndSaveToFileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -700,7 +700,7 @@ impl IFileLoggingSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogFileGenerated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -884,21 +884,21 @@ impl ILoggingChannel { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Level(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Level)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -936,7 +936,7 @@ impl ILoggingChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoggingEnabled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1280,7 +1280,7 @@ impl ILoggingSession { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1294,7 +1294,7 @@ impl ILoggingSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveToFileAsync)(::windows::core::Interface::as_raw(this), folder.try_into().map_err(|e| e.into())?.abi(), filename.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1436,21 +1436,21 @@ impl ILoggingTarget { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabledWithLevel(&self, level: LoggingLevel) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabledWithLevel)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabledWithLevelAndKeywords(&self, level: LoggingLevel, keywords: i64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabledWithLevelAndKeywords)(::windows::core::Interface::as_raw(this), level, keywords, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1492,7 +1492,7 @@ impl ILoggingTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivity)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1503,7 +1503,7 @@ impl ILoggingTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivityWithFields)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), fields.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1514,7 +1514,7 @@ impl ILoggingTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivityWithFieldsAndLevel)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), fields.into().abi(), level, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1526,7 +1526,7 @@ impl ILoggingTarget { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivityWithFieldsAndOptions)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), fields.into().abi(), level, options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1627,7 +1627,7 @@ impl LogFileGeneratedEventArgs { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1705,21 +1705,21 @@ impl LoggingActivity { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Channel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Channel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1754,7 +1754,7 @@ impl LoggingActivity { E1: ::std::convert::Into<::windows::core::Error>, { Self::ILoggingActivityFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLoggingActivity)(::windows::core::Interface::as_raw(this), activityname.into().abi(), loggingchannel.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1765,28 +1765,28 @@ impl LoggingActivity { E1: ::std::convert::Into<::windows::core::Error>, { Self::ILoggingActivityFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLoggingActivityWithLevel)(::windows::core::Interface::as_raw(this), activityname.into().abi(), loggingchannel.try_into().map_err(|e| e.into())?.abi(), level, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabledWithLevel(&self, level: LoggingLevel) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabledWithLevel)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabledWithLevelAndKeywords(&self, level: LoggingLevel, keywords: i64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabledWithLevelAndKeywords)(::windows::core::Interface::as_raw(this), level, keywords, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1828,7 +1828,7 @@ impl LoggingActivity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivity)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1839,7 +1839,7 @@ impl LoggingActivity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivityWithFields)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), fields.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1850,7 +1850,7 @@ impl LoggingActivity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivityWithFieldsAndLevel)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), fields.into().abi(), level, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1862,7 +1862,7 @@ impl LoggingActivity { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivityWithFieldsAndOptions)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), fields.into().abi(), level, options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1983,21 +1983,21 @@ impl LoggingChannel { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Level(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Level)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2035,7 +2035,7 @@ impl LoggingChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoggingEnabled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2046,7 +2046,7 @@ impl LoggingChannel { pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2057,7 +2057,7 @@ impl LoggingChannel { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILoggingChannelFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2067,7 +2067,7 @@ impl LoggingChannel { P1: ::std::convert::Into<::windows::core::InParam<'a, LoggingChannelOptions>>, { Self::ILoggingChannelFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithOptions)(::windows::core::Interface::as_raw(this), name.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2077,28 +2077,28 @@ impl LoggingChannel { P1: ::std::convert::Into<::windows::core::InParam<'a, LoggingChannelOptions>>, { Self::ILoggingChannelFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithOptionsAndId)(::windows::core::Interface::as_raw(this), name.into().abi(), options.into().abi(), id, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabledWithLevel(&self, level: LoggingLevel) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabledWithLevel)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabledWithLevelAndKeywords(&self, level: LoggingLevel, keywords: i64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabledWithLevelAndKeywords)(::windows::core::Interface::as_raw(this), level, keywords, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2140,7 +2140,7 @@ impl LoggingChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivity)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2151,7 +2151,7 @@ impl LoggingChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivityWithFields)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), fields.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2162,7 +2162,7 @@ impl LoggingChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivityWithFieldsAndLevel)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), fields.into().abi(), level, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2174,7 +2174,7 @@ impl LoggingChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartActivityWithFieldsAndOptions)(::windows::core::Interface::as_raw(this), starteventname.into().abi(), fields.into().abi(), level, options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2322,7 +2322,7 @@ impl LoggingChannelOptions { pub fn Group(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Group)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2332,7 +2332,7 @@ impl LoggingChannelOptions { } pub fn Create(group: ::windows::core::GUID) -> ::windows::core::Result { Self::ILoggingChannelOptionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), group, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3421,7 +3421,7 @@ impl LoggingOptions { pub fn Keywords(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keywords)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3432,7 +3432,7 @@ impl LoggingOptions { pub fn Tags(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tags)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3443,7 +3443,7 @@ impl LoggingOptions { pub fn Task(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Task)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3454,7 +3454,7 @@ impl LoggingOptions { pub fn Opcode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opcode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3465,7 +3465,7 @@ impl LoggingOptions { pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -3476,7 +3476,7 @@ impl LoggingOptions { pub fn RelatedActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelatedActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -3486,7 +3486,7 @@ impl LoggingOptions { } pub fn CreateWithKeywords(keywords: i64) -> ::windows::core::Result { Self::ILoggingOptionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithKeywords)(::windows::core::Interface::as_raw(this), keywords, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3569,7 +3569,7 @@ impl LoggingSession { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3583,7 +3583,7 @@ impl LoggingSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveToFileAsync)(::windows::core::Interface::as_raw(this), folder.try_into().map_err(|e| e.into())?.abi(), filename.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3616,7 +3616,7 @@ impl LoggingSession { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILoggingSessionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3744,7 +3744,7 @@ impl RuntimeBrokerErrorSettings { pub fn GetErrorOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetErrorOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3837,14 +3837,14 @@ impl TracingStatusChangedEventArgs { pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TraceLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TraceLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs index c615d2b773..869a211093 100644 --- a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs @@ -6,7 +6,7 @@ impl ApiInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTypePresent)(::windows::core::Interface::as_raw(this), typename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -16,7 +16,7 @@ impl ApiInformation { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMethodPresent)(::windows::core::Interface::as_raw(this), typename.into().abi(), methodname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -26,7 +26,7 @@ impl ApiInformation { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMethodPresentWithArity)(::windows::core::Interface::as_raw(this), typename.into().abi(), methodname.into().abi(), inputparametercount, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -36,7 +36,7 @@ impl ApiInformation { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEventPresent)(::windows::core::Interface::as_raw(this), typename.into().abi(), eventname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -46,7 +46,7 @@ impl ApiInformation { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPropertyPresent)(::windows::core::Interface::as_raw(this), typename.into().abi(), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -56,7 +56,7 @@ impl ApiInformation { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnlyPropertyPresent)(::windows::core::Interface::as_raw(this), typename.into().abi(), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -66,7 +66,7 @@ impl ApiInformation { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWriteablePropertyPresent)(::windows::core::Interface::as_raw(this), typename.into().abi(), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -76,7 +76,7 @@ impl ApiInformation { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnumNamedValuePresent)(::windows::core::Interface::as_raw(this), enumtypename.into().abi(), valuename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -85,7 +85,7 @@ impl ApiInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsApiContractPresentByMajor)(::windows::core::Interface::as_raw(this), contractname.into().abi(), majorversion, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -94,7 +94,7 @@ impl ApiInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsApiContractPresentByMajorAndMinor)(::windows::core::Interface::as_raw(this), contractname.into().abi(), majorversion, minorversion, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index 0267c52c04..2d56684dc3 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -686,7 +686,7 @@ impl Deferral { P0: ::std::convert::Into<::windows::core::InParam<'a, DeferralCompletedHandler>>, { Self::IDeferralFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1001,19 +1001,19 @@ pub struct GuidHelper; impl GuidHelper { pub fn CreateNewGuid() -> ::windows::core::Result<::windows::core::GUID> { Self::IGuidHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNewGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn Empty() -> ::windows::core::Result<::windows::core::GUID> { Self::IGuidHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Empty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn Equals(target: ::windows::core::GUID, value: ::windows::core::GUID) -> ::windows::core::Result { Self::IGuidHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Equals)(::windows::core::Interface::as_raw(this), &target, &value, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1040,7 +1040,7 @@ impl IAsyncAction { pub fn Completed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1051,21 +1051,21 @@ impl IAsyncAction { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1209,7 +1209,7 @@ impl IAsyncActionWithProgress pub fn Progress(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1223,7 +1223,7 @@ impl IAsyncActionWithProgress pub fn Completed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1234,21 +1234,21 @@ impl IAsyncActionWithProgress pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1389,21 +1389,21 @@ impl IAsyncInfo { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1499,35 +1499,35 @@ impl IAsyncOperation { pub fn Completed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetResults(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1676,7 +1676,7 @@ impl ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1690,35 +1690,35 @@ impl ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetResults(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1962,7 +1962,7 @@ impl IGetActivationFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetActivationFactory)(::windows::core::Interface::as_raw(this), activatableclassid.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2052,7 +2052,7 @@ impl IMemoryBuffer { pub fn CreateReference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2163,7 +2163,7 @@ impl IMemoryBufferReference { pub fn Capacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2173,7 +2173,7 @@ impl IMemoryBufferReference { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2277,140 +2277,140 @@ impl IPropertyValue { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsNumericScalar(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNumericScalar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt8(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt64(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt64(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSingle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSingle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDouble(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDouble)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetChar16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChar16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBoolean(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn GetDateTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetTimeSpan(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTimeSpan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2652,147 +2652,147 @@ impl IReference { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsNumericScalar(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNumericScalar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt8(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt16(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt16(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt32(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt32(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt64(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt64(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSingle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSingle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDouble(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDouble)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetChar16(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChar16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBoolean(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn GetDateTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetTimeSpan(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTimeSpan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2968,147 +2968,147 @@ impl IReferenceArray { pub fn Value(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsNumericScalar(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNumericScalar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt8(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt16(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt16(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt32(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt32(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt64(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt64(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSingle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSingle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDouble(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDouble)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetChar16(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChar16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBoolean(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn GetDateTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetTimeSpan(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTimeSpan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3282,7 +3282,7 @@ impl IStringable { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3428,14 +3428,14 @@ impl IWwwFormUrlDecoderEntry { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3541,13 +3541,13 @@ impl MemoryBuffer { pub fn CreateReference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(capacity: u32) -> ::windows::core::Result { Self::IMemoryBufferFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), capacity, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3773,73 +3773,73 @@ pub struct PropertyValue; impl PropertyValue { pub fn CreateEmpty() -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt8(value: u8) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt8)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt16(value: i16) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt16)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt16(value: u16) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt16)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt32(value: i32) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt32(value: u32) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt64(value: i64) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt64(value: u64) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateSingle(value: f32) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSingle)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateDouble(value: f64) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateChar16(value: u16) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateChar16)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateBoolean(value: bool) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBoolean)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } @@ -3848,7 +3848,7 @@ impl PropertyValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateString)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } @@ -3857,157 +3857,157 @@ impl PropertyValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IInspectable>>, { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInspectable)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateGuid(value: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateGuid)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateDateTime(value: DateTime) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTime)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateTimeSpan(value: TimeSpan) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTimeSpan)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreatePoint(value: Point) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePoint)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateSize(value: Size) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSize)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateRect(value: Rect) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRect)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt8Array(value: &[u8]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt8Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt16Array(value: &[i16]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt16Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt16Array(value: &[u16]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt16Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt32Array(value: &[i32]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt32Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt32Array(value: &[u32]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt32Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt64Array(value: &[i64]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt64Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt64Array(value: &[u64]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt64Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateSingleArray(value: &[f32]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSingleArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateDoubleArray(value: &[f64]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDoubleArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateChar16Array(value: &[u16]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateChar16Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateBooleanArray(value: &[bool]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBooleanArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateStringArray(value: &[::windows::core::HSTRING]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStringArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInspectableArray(value: &[::core::option::Option<::windows::core::IInspectable>]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInspectableArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateGuidArray(value: &[::windows::core::GUID]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateGuidArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateDateTimeArray(value: &[DateTime]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateTimeSpanArray(value: &[TimeSpan]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTimeSpanArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreatePointArray(value: &[Point]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePointArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateSizeArray(value: &[Size]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSizeArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateRectArray(value: &[Rect]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRectArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } @@ -4255,7 +4255,7 @@ impl Uri { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4264,7 +4264,7 @@ impl Uri { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUriEscapeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnescapeComponent)(::windows::core::Interface::as_raw(this), tounescape.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -4273,112 +4273,112 @@ impl Uri { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUriEscapeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EscapeComponent)(::windows::core::Interface::as_raw(this), toescape.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AbsoluteUri(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayUri(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Domain(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Domain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Extension(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Extension)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Fragment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Fragment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Host(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Host)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Password(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Password)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Query(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Query)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn QueryParsed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryParsed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RawUri(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SchemeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SchemeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Port(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Port)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Suspicious(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Suspicious)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4388,7 +4388,7 @@ impl Uri { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Equals)(::windows::core::Interface::as_raw(this), puri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4398,7 +4398,7 @@ impl Uri { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CombineUri)(::windows::core::Interface::as_raw(this), relativeuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4407,7 +4407,7 @@ impl Uri { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUriRuntimeClassFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUri)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4417,21 +4417,21 @@ impl Uri { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUriRuntimeClassFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithRelativeUri)(::windows::core::Interface::as_raw(this), baseuri.into().abi(), relativeuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AbsoluteCanonicalUri(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteCanonicalUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayIri(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayIri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4536,7 +4536,7 @@ impl WwwFormUrlDecoder { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4545,7 +4545,7 @@ impl WwwFormUrlDecoder { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4554,7 +4554,7 @@ impl WwwFormUrlDecoder { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4567,7 +4567,7 @@ impl WwwFormUrlDecoder { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4576,7 +4576,7 @@ impl WwwFormUrlDecoder { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4586,7 +4586,7 @@ impl WwwFormUrlDecoder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFirstValueByName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4595,7 +4595,7 @@ impl WwwFormUrlDecoder { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWwwFormUrlDecoderRuntimeClassFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWwwFormUrlDecoder)(::windows::core::Interface::as_raw(this), query.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4734,14 +4734,14 @@ impl WwwFormUrlDecoderEntry { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } 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 987c4022a0..5f2b15c81f 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs @@ -30,7 +30,7 @@ impl GameControllerFactoryManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IGameControllerFactoryManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetFactoryControllerFromGameController)(::windows::core::Interface::as_raw(this), factory.try_into().map_err(|e| e.into())?.abi(), gamecontroller.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -133,21 +133,21 @@ impl GipFirmwareUpdateResult { pub fn ExtendedErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FinalComponentId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalComponentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -256,35 +256,35 @@ impl GipGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirmwareVersionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareProductId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVendorId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVersionInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVersionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsConnected(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -305,7 +305,7 @@ impl GipGameControllerProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateFirmwareAsync)(::windows::core::Interface::as_raw(this), firmwareimage.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -433,49 +433,49 @@ impl HidGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirmwareVersionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareProductId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVendorId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVersionInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVersionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsConnected(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsageId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsageId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsagePage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsagePage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -584,7 +584,7 @@ impl ICustomGameControllerFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateGameController)(::windows::core::Interface::as_raw(this), provider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -782,35 +782,35 @@ impl IGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirmwareVersionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareProductId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVendorId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVersionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVersionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsConnected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1331,35 +1331,35 @@ impl XusbGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirmwareVersionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareProductId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVendorId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVersionInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVersionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsConnected(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } 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 860059243f..d01daa925a 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -5,7 +5,7 @@ impl ConditionForceEffect { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17,14 +17,14 @@ impl ConditionForceEffect { } pub fn CreateInstance(effectkind: ConditionForceEffectKind) -> ::windows::core::Result { Self::IConditionForceEffectFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), effectkind, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35,7 +35,7 @@ impl ConditionForceEffect { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -196,7 +196,7 @@ impl ConstantForceEffect { pub fn Gain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -207,7 +207,7 @@ impl ConstantForceEffect { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -443,14 +443,14 @@ impl ForceFeedbackMotor { pub fn AreEffectsPaused(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreEffectsPaused)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MasterGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MasterGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -461,14 +461,14 @@ impl ForceFeedbackMotor { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportedAxes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedAxes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -481,7 +481,7 @@ impl ForceFeedbackMotor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadEffectAsync)(::windows::core::Interface::as_raw(this), effect.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -502,7 +502,7 @@ impl ForceFeedbackMotor { pub fn TryDisableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDisableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -511,7 +511,7 @@ impl ForceFeedbackMotor { pub fn TryEnableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryEnableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -520,7 +520,7 @@ impl ForceFeedbackMotor { pub fn TryResetAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryResetAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -533,7 +533,7 @@ impl ForceFeedbackMotor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUnloadEffectAsync)(::windows::core::Interface::as_raw(this), effect.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -657,7 +657,7 @@ impl IForceFeedbackEffect { pub fn Gain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -668,7 +668,7 @@ impl IForceFeedbackEffect { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -849,7 +849,7 @@ impl PeriodicForceEffect { pub fn Gain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -860,7 +860,7 @@ impl PeriodicForceEffect { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -875,7 +875,7 @@ impl PeriodicForceEffect { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -893,7 +893,7 @@ impl PeriodicForceEffect { } pub fn CreateInstance(effectkind: PeriodicForceEffectKind) -> ::windows::core::Result { Self::IPeriodicForceEffectFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), effectkind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1035,7 +1035,7 @@ impl RampForceEffect { pub fn Gain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1046,7 +1046,7 @@ impl RampForceEffect { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs index 918ff0d5f7..2cfdb2fb78 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs @@ -9,7 +9,7 @@ impl GameControllerProviderInfo { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGameControllerProviderInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetParentProviderId)(::windows::core::Interface::as_raw(this), provider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -21,7 +21,7 @@ impl GameControllerProviderInfo { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGameControllerProviderInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProviderId)(::windows::core::Interface::as_raw(this), provider.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs index 56de716a4d..8f6f4887e9 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs @@ -11,14 +11,14 @@ impl ArcadeStick { pub fn GetButtonLabel(&self, button: ArcadeStickButtons) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetButtonLabel)(::windows::core::Interface::as_raw(this), button, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29,7 +29,7 @@ impl ArcadeStick { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IArcadeStickStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ArcadeStickAdded)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -45,7 +45,7 @@ impl ArcadeStick { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IArcadeStickStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ArcadeStickRemoved)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -58,7 +58,7 @@ impl ArcadeStick { #[cfg(feature = "Foundation_Collections")] pub fn ArcadeSticks() -> ::windows::core::Result> { Self::IArcadeStickStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ArcadeSticks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -68,7 +68,7 @@ impl ArcadeStick { E0: ::std::convert::Into<::windows::core::Error>, { Self::IArcadeStickStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromGameController)(::windows::core::Interface::as_raw(this), gamecontroller.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -80,7 +80,7 @@ impl ArcadeStick { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetConnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -98,7 +98,7 @@ impl ArcadeStick { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetDisconnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -116,7 +116,7 @@ impl ArcadeStick { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -129,14 +129,14 @@ impl ArcadeStick { pub fn Headset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWireless(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWireless)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -145,7 +145,7 @@ impl ArcadeStick { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -154,7 +154,7 @@ impl ArcadeStick { pub fn TryGetBatteryReport(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBatteryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -387,21 +387,21 @@ impl FlightStick { pub fn HatSwitchKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HatSwitchKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetButtonLabel(&self, button: FlightStickButtons) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetButtonLabel)(::windows::core::Interface::as_raw(this), button, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -412,7 +412,7 @@ impl FlightStick { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IFlightStickStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlightStickAdded)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -428,7 +428,7 @@ impl FlightStick { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IFlightStickStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlightStickRemoved)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -441,7 +441,7 @@ impl FlightStick { #[cfg(feature = "Foundation_Collections")] pub fn FlightSticks() -> ::windows::core::Result> { Self::IFlightStickStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlightSticks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -451,7 +451,7 @@ impl FlightStick { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFlightStickStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromGameController)(::windows::core::Interface::as_raw(this), gamecontroller.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -463,7 +463,7 @@ impl FlightStick { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetConnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -481,7 +481,7 @@ impl FlightStick { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetDisconnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -499,7 +499,7 @@ impl FlightStick { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -512,14 +512,14 @@ impl FlightStick { pub fn Headset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWireless(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWireless)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -528,7 +528,7 @@ impl FlightStick { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -537,7 +537,7 @@ impl FlightStick { pub fn TryGetBatteryReport(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBatteryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -942,7 +942,7 @@ impl Gamepad { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetConnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -960,7 +960,7 @@ impl Gamepad { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetDisconnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -978,7 +978,7 @@ impl Gamepad { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -991,14 +991,14 @@ impl Gamepad { pub fn Headset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWireless(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWireless)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1007,7 +1007,7 @@ impl Gamepad { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1016,14 +1016,14 @@ impl Gamepad { pub fn TryGetBatteryReport(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBatteryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Vibration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Vibration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1034,14 +1034,14 @@ impl Gamepad { pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetButtonLabel(&self, button: GamepadButtons) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetButtonLabel)(::windows::core::Interface::as_raw(this), button, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1052,7 +1052,7 @@ impl Gamepad { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IGamepadStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GamepadAdded)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1068,7 +1068,7 @@ impl Gamepad { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IGamepadStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GamepadRemoved)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1081,7 +1081,7 @@ impl Gamepad { #[cfg(feature = "Foundation_Collections")] pub fn Gamepads() -> ::windows::core::Result> { Self::IGamepadStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gamepads)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1091,7 +1091,7 @@ impl Gamepad { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGamepadStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromGameController)(::windows::core::Interface::as_raw(this), gamecontroller.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1378,21 +1378,21 @@ impl Headset { pub fn TryGetBatteryReport(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBatteryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CaptureDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RenderDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1597,7 +1597,7 @@ impl IGameController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetConnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1615,7 +1615,7 @@ impl IGameController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetDisconnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1633,7 +1633,7 @@ impl IGameController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1646,14 +1646,14 @@ impl IGameController { pub fn Headset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWireless(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWireless)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1662,7 +1662,7 @@ impl IGameController { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1768,7 +1768,7 @@ impl IGameControllerBatteryInfo { pub fn TryGetBatteryReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBatteryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2214,7 +2214,7 @@ impl RacingWheel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetConnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2232,7 +2232,7 @@ impl RacingWheel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetDisconnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2250,7 +2250,7 @@ impl RacingWheel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2263,14 +2263,14 @@ impl RacingWheel { pub fn Headset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWireless(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWireless)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2279,7 +2279,7 @@ impl RacingWheel { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2288,42 +2288,42 @@ impl RacingWheel { pub fn TryGetBatteryReport(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBatteryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasClutch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasClutch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasHandbrake(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasHandbrake)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasPatternShifter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasPatternShifter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxPatternShifterGear(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPatternShifterGear)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxWheelAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxWheelAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2332,21 +2332,21 @@ impl RacingWheel { pub fn WheelMotor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WheelMotor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetButtonLabel(&self, button: RacingWheelButtons) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetButtonLabel)(::windows::core::Interface::as_raw(this), button, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2357,7 +2357,7 @@ impl RacingWheel { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IRacingWheelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RacingWheelAdded)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2373,7 +2373,7 @@ impl RacingWheel { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IRacingWheelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RacingWheelRemoved)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2386,7 +2386,7 @@ impl RacingWheel { #[cfg(feature = "Foundation_Collections")] pub fn RacingWheels() -> ::windows::core::Result> { Self::IRacingWheelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RacingWheels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2396,7 +2396,7 @@ impl RacingWheel { E0: ::std::convert::Into<::windows::core::Error>, { Self::IRacingWheelStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromGameController)(::windows::core::Interface::as_raw(this), gamecontroller.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2650,7 +2650,7 @@ impl RawGameController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetConnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2668,7 +2668,7 @@ impl RawGameController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetDisconnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2686,7 +2686,7 @@ impl RawGameController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2699,14 +2699,14 @@ impl RawGameController { pub fn Headset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWireless(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWireless)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2715,7 +2715,7 @@ impl RawGameController { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2724,21 +2724,21 @@ impl RawGameController { pub fn TryGetBatteryReport(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBatteryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AxisCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AxisCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ButtonCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2747,49 +2747,49 @@ impl RawGameController { pub fn ForceFeedbackMotors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceFeedbackMotors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn HardwareProductId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareVendorId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareVendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SwitchCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SwitchCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetButtonLabel(&self, buttonindex: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetButtonLabel)(::windows::core::Interface::as_raw(this), buttonindex, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentReading(&self, buttonarray: &mut [bool], switcharray: &mut [GameControllerSwitchPosition], axisarray: &mut [f64]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), buttonarray.len() as u32, ::core::mem::transmute_copy(&buttonarray), switcharray.len() as u32, ::core::mem::transmute_copy(&switcharray), axisarray.len() as u32, ::core::mem::transmute_copy(&axisarray), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSwitchKind(&self, switchindex: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSwitchKind)(::windows::core::Interface::as_raw(this), switchindex, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2798,21 +2798,21 @@ impl RawGameController { pub fn SimpleHapticsControllers(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsControllers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn NonRoamableId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NonRoamableId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2823,7 +2823,7 @@ impl RawGameController { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IRawGameControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawGameControllerAdded)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2839,7 +2839,7 @@ impl RawGameController { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IRawGameControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawGameControllerRemoved)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2852,7 +2852,7 @@ impl RawGameController { #[cfg(feature = "Foundation_Collections")] pub fn RawGameControllers() -> ::windows::core::Result> { Self::IRawGameControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawGameControllers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2862,7 +2862,7 @@ impl RawGameController { E0: ::std::convert::Into<::windows::core::Error>, { Self::IRawGameControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromGameController)(::windows::core::Interface::as_raw(this), gamecontroller.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3053,7 +3053,7 @@ impl UINavigationController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetConnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3071,7 +3071,7 @@ impl UINavigationController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeadsetDisconnected)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3089,7 +3089,7 @@ impl UINavigationController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3102,14 +3102,14 @@ impl UINavigationController { pub fn Headset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWireless(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWireless)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3118,7 +3118,7 @@ impl UINavigationController { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3127,28 +3127,28 @@ impl UINavigationController { pub fn TryGetBatteryReport(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBatteryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentReading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentReading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetOptionalButtonLabel(&self, button: OptionalUINavigationButtons) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOptionalButtonLabel)(::windows::core::Interface::as_raw(this), button, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetRequiredButtonLabel(&self, button: RequiredUINavigationButtons) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRequiredButtonLabel)(::windows::core::Interface::as_raw(this), button, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3159,7 +3159,7 @@ impl UINavigationController { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IUINavigationControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UINavigationControllerAdded)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3175,7 +3175,7 @@ impl UINavigationController { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IUINavigationControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UINavigationControllerRemoved)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3188,7 +3188,7 @@ impl UINavigationController { #[cfg(feature = "Foundation_Collections")] pub fn UINavigationControllers() -> ::windows::core::Result> { Self::IUINavigationControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UINavigationControllers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3198,7 +3198,7 @@ impl UINavigationController { E0: ::std::convert::Into<::windows::core::Error>, { Self::IUINavigationControllerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromGameController)(::windows::core::Interface::as_raw(this), gamecontroller.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } 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 dab9698c33..e6b7d47376 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -5,7 +5,7 @@ impl GameList { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IGameListStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -16,7 +16,7 @@ impl GameList { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGameListStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncPackageFamilyName)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -27,7 +27,7 @@ impl GameList { P0: ::std::convert::Into<::windows::core::InParam<'a, GameListChangedEventHandler>>, { Self::IGameListStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GameAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -43,7 +43,7 @@ impl GameList { P0: ::std::convert::Into<::windows::core::InParam<'a, GameListRemovedEventHandler>>, { Self::IGameListStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GameRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -59,7 +59,7 @@ impl GameList { P0: ::std::convert::Into<::windows::core::InParam<'a, GameListChangedEventHandler>>, { Self::IGameListStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GameUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -76,7 +76,7 @@ impl GameList { P1: ::std::convert::Into<::windows::core::InParam<'a, GameListEntry>>, { Self::IGameListStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MergeEntriesAsync)(::windows::core::Interface::as_raw(this), left.into().abi(), right.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -87,7 +87,7 @@ impl GameList { P0: ::std::convert::Into<::windows::core::InParam<'a, GameListEntry>>, { Self::IGameListStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnmergeEntryAsync)(::windows::core::Interface::as_raw(this), mergedentry.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -236,7 +236,7 @@ impl GameListEntry { pub fn DisplayInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -245,14 +245,14 @@ impl GameListEntry { pub fn LaunchAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Category(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -261,7 +261,7 @@ impl GameListEntry { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -270,14 +270,14 @@ impl GameListEntry { pub fn SetCategoryAsync(&self, value: GameListCategory) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetCategoryAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn LaunchableState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchableState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -286,14 +286,14 @@ impl GameListEntry { pub fn LauncherExecutable(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LauncherExecutable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LaunchParameters(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -306,7 +306,7 @@ impl GameListEntry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetLauncherExecutableFileAsync)(::windows::core::Interface::as_raw(this), executablefile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -320,14 +320,14 @@ impl GameListEntry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetLauncherExecutableFileWithParamsAsync)(::windows::core::Interface::as_raw(this), executablefile.try_into().map_err(|e| e.into())?.abi(), launchparams.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TitleId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TitleId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -339,14 +339,14 @@ impl GameListEntry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetTitleIdAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GameModeConfiguration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GameModeConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -562,7 +562,7 @@ impl GameModeConfiguration { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -575,7 +575,7 @@ impl GameModeConfiguration { pub fn RelatedProcessNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelatedProcessNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -584,7 +584,7 @@ impl GameModeConfiguration { pub fn PercentGpuTimeAllocatedToGame(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PercentGpuTimeAllocatedToGame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -603,7 +603,7 @@ impl GameModeConfiguration { pub fn PercentGpuMemoryAllocatedToGame(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PercentGpuMemoryAllocatedToGame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -622,7 +622,7 @@ impl GameModeConfiguration { pub fn PercentGpuMemoryAllocatedToSystemCompositor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PercentGpuMemoryAllocatedToSystemCompositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -641,7 +641,7 @@ impl GameModeConfiguration { pub fn MaxCpuCount(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxCpuCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -660,7 +660,7 @@ impl GameModeConfiguration { pub fn CpuExclusivityMaskLow(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CpuExclusivityMaskLow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -679,7 +679,7 @@ impl GameModeConfiguration { pub fn CpuExclusivityMaskHigh(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CpuExclusivityMaskHigh)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -696,7 +696,7 @@ impl GameModeConfiguration { pub fn AffinitizeToExclusiveCpus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AffinitizeToExclusiveCpus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -709,7 +709,7 @@ impl GameModeConfiguration { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -785,7 +785,7 @@ impl GameModeUserConfiguration { pub fn GamingRelatedProcessNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GamingRelatedProcessNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -794,13 +794,13 @@ impl GameModeUserConfiguration { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IGameModeUserConfigurationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -881,7 +881,7 @@ impl IGameListEntry { pub fn DisplayInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -890,14 +890,14 @@ impl IGameListEntry { pub fn LaunchAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Category(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -906,7 +906,7 @@ impl IGameListEntry { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -915,7 +915,7 @@ impl IGameListEntry { pub fn SetCategoryAsync(&self, value: GameListCategory) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetCategoryAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs index 1dd849c519..8a4e3a1095 100644 --- a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs @@ -8,7 +8,7 @@ impl GameBar { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IGameBarStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisibilityChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -24,7 +24,7 @@ impl GameBar { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IGameBarStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInputRedirectedChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -35,13 +35,13 @@ impl GameBar { } pub fn Visible() -> ::windows::core::Result { Self::IGameBarStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsInputRedirected() -> ::windows::core::Result { Self::IGameBarStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInputRedirected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -95,35 +95,35 @@ impl GameChatMessageReceivedEventArgs { pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SenderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SenderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Origin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Origin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -197,7 +197,7 @@ impl GameChatOverlay { pub fn DesiredPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -215,7 +215,7 @@ impl GameChatOverlay { } pub fn GetDefault() -> ::windows::core::Result { Self::IGameChatOverlayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -306,7 +306,7 @@ impl GameChatOverlayMessageSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -434,7 +434,7 @@ impl GameUIProviderActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -443,7 +443,7 @@ impl GameUIProviderActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -452,7 +452,7 @@ impl GameUIProviderActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -461,7 +461,7 @@ impl GameUIProviderActivatedEventArgs { pub fn GameUIArgs(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GameUIArgs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs index 333f0223a9..c87c88e0ff 100644 --- a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs @@ -5,7 +5,7 @@ impl GameSaveBlobGetResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14,7 +14,7 @@ impl GameSaveBlobGetResult { pub fn Value(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -88,14 +88,14 @@ impl GameSaveBlobInfo { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -169,7 +169,7 @@ impl GameSaveBlobInfoGetResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -178,7 +178,7 @@ impl GameSaveBlobInfoGetResult { pub fn Value(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -254,7 +254,7 @@ impl GameSaveBlobInfoQuery { pub fn GetBlobInfoAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBlobInfoAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -263,7 +263,7 @@ impl GameSaveBlobInfoQuery { pub fn GetBlobInfoWithIndexAndMaxAsync(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBlobInfoWithIndexAndMaxAsync)(::windows::core::Interface::as_raw(this), startindex, maxnumberofitems, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -272,7 +272,7 @@ impl GameSaveBlobInfoQuery { pub fn GetItemCountAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -346,14 +346,14 @@ impl GameSaveContainer { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Provider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Provider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -369,7 +369,7 @@ impl GameSaveContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubmitUpdatesAsync)(::windows::core::Interface::as_raw(this), blobstowrite.try_into().map_err(|e| e.into())?.abi(), blobstodelete.try_into().map_err(|e| e.into())?.abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -382,7 +382,7 @@ impl GameSaveContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), blobstoread.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -395,7 +395,7 @@ impl GameSaveContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsync)(::windows::core::Interface::as_raw(this), blobstoread.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -411,7 +411,7 @@ impl GameSaveContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubmitPropertySetUpdatesAsync)(::windows::core::Interface::as_raw(this), blobstowrite.try_into().map_err(|e| e.into())?.abi(), blobstodelete.try_into().map_err(|e| e.into())?.abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -421,7 +421,7 @@ impl GameSaveContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBlobInfoQuery)(::windows::core::Interface::as_raw(this), blobnameprefix.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -495,21 +495,21 @@ impl GameSaveContainerInfo { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TotalSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -518,14 +518,14 @@ impl GameSaveContainerInfo { pub fn LastModifiedTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastModifiedTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NeedsSync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeedsSync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -599,7 +599,7 @@ impl GameSaveContainerInfoGetResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -608,7 +608,7 @@ impl GameSaveContainerInfoGetResult { pub fn Value(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -684,7 +684,7 @@ impl GameSaveContainerInfoQuery { pub fn GetContainerInfoAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContainerInfoAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -693,7 +693,7 @@ impl GameSaveContainerInfoQuery { pub fn GetContainerInfoWithIndexAndMaxAsync(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContainerInfoWithIndexAndMaxAsync)(::windows::core::Interface::as_raw(this), startindex, maxnumberofitems, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -702,7 +702,7 @@ impl GameSaveContainerInfoQuery { pub fn GetItemCountAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -823,7 +823,7 @@ impl GameSaveOperationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -899,7 +899,7 @@ impl GameSaveProvider { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -909,7 +909,7 @@ impl GameSaveProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContainer)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -921,14 +921,14 @@ impl GameSaveProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteContainerAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateContainerInfoQuery(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContainerInfoQuery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -938,7 +938,7 @@ impl GameSaveProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContainerInfoQueryWithName)(::windows::core::Interface::as_raw(this), containernameprefix.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -947,7 +947,7 @@ impl GameSaveProvider { pub fn GetRemainingBytesInQuotaAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRemainingBytesInQuotaAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -956,7 +956,7 @@ impl GameSaveProvider { pub fn ContainersChangedSinceLastSync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainersChangedSinceLastSync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -968,7 +968,7 @@ impl GameSaveProvider { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGameSaveProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), serviceconfigid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -980,7 +980,7 @@ impl GameSaveProvider { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGameSaveProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSyncOnDemandForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), serviceconfigid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1059,14 +1059,14 @@ impl GameSaveProviderGetResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs index 3ca338bd95..f9e60ac1ce 100644 --- a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs @@ -5,14 +5,14 @@ impl CharacterGrouping { pub fn First(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -96,7 +96,7 @@ impl CharacterGroupings { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -105,7 +105,7 @@ impl CharacterGroupings { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICharacterGroupingsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), language.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -114,7 +114,7 @@ impl CharacterGroupings { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -123,7 +123,7 @@ impl CharacterGroupings { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -132,7 +132,7 @@ impl CharacterGroupings { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -144,7 +144,7 @@ impl CharacterGroupings { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -153,7 +153,7 @@ impl CharacterGroupings { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs index 79bb6b9ba8..e69f95c468 100644 --- a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs @@ -7,35 +7,35 @@ impl DateTimeFormatter { pub fn Languages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Calendar(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Calendar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Clock(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clock)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NumeralSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumeralSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -51,14 +51,14 @@ impl DateTimeFormatter { pub fn Patterns(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Patterns)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Template(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Template)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -67,70 +67,70 @@ impl DateTimeFormatter { pub fn Format(&self, value: super::super::Foundation::DateTime) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IncludeYear(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeYear)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IncludeMonth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeMonth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IncludeDayOfWeek(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeDayOfWeek)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IncludeDay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeDay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IncludeHour(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeHour)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IncludeMinute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeMinute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IncludeSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ResolvedGeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedGeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -142,7 +142,7 @@ impl DateTimeFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUsingTimeZone)(::windows::core::Interface::as_raw(this), datetime, timezoneid.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -151,7 +151,7 @@ impl DateTimeFormatter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeFormatter)(::windows::core::Interface::as_raw(this), formattemplate.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -164,7 +164,7 @@ impl DateTimeFormatter { E1: ::std::convert::Into<::windows::core::Error>, { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeFormatterLanguages)(::windows::core::Interface::as_raw(this), formattemplate.into().abi(), languages.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -180,19 +180,19 @@ impl DateTimeFormatter { P4: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeFormatterContext)(::windows::core::Interface::as_raw(this), formattemplate.into().abi(), languages.try_into().map_err(|e| e.into())?.abi(), geographicregion.into().abi(), calendar.into().abi(), clock.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateDateTimeFormatterDate(yearformat: YearFormat, monthformat: MonthFormat, dayformat: DayFormat, dayofweekformat: DayOfWeekFormat) -> ::windows::core::Result { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeFormatterDate)(::windows::core::Interface::as_raw(this), yearformat, monthformat, dayformat, dayofweekformat, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateDateTimeFormatterTime(hourformat: HourFormat, minuteformat: MinuteFormat, secondformat: SecondFormat) -> ::windows::core::Result { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeFormatterTime)(::windows::core::Interface::as_raw(this), hourformat, minuteformat, secondformat, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -204,7 +204,7 @@ impl DateTimeFormatter { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeFormatterDateTimeLanguages)(::windows::core::Interface::as_raw(this), yearformat, monthformat, dayformat, dayofweekformat, hourformat, minuteformat, secondformat, languages.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -219,31 +219,31 @@ impl DateTimeFormatter { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeFormatterDateTimeContext)(::windows::core::Interface::as_raw(this), yearformat, monthformat, dayformat, dayofweekformat, hourformat, minuteformat, secondformat, languages.try_into().map_err(|e| e.into())?.abi(), geographicregion.into().abi(), calendar.into().abi(), clock.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LongDate() -> ::windows::core::Result { Self::IDateTimeFormatterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LongDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LongTime() -> ::windows::core::Result { Self::IDateTimeFormatterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LongTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ShortDate() -> ::windows::core::Result { Self::IDateTimeFormatterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShortDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ShortTime() -> ::windows::core::Result { Self::IDateTimeFormatterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShortTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs index b0bc16929a..36a000e18a 100644 --- a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs @@ -67,7 +67,7 @@ impl LanguageFont { pub fn FontFamily(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontFamily)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -76,7 +76,7 @@ impl LanguageFont { pub fn FontWeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontWeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -85,7 +85,7 @@ impl LanguageFont { pub fn FontStretch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontStretch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -94,14 +94,14 @@ impl LanguageFont { pub fn FontStyle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ScaleFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaleFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -175,77 +175,77 @@ impl LanguageFontGroup { pub fn UITextFont(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UITextFont)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UIHeadingFont(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UIHeadingFont)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UITitleFont(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UITitleFont)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UICaptionFont(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UICaptionFont)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UINotificationHeadingFont(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UINotificationHeadingFont)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TraditionalDocumentFont(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TraditionalDocumentFont)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ModernDocumentFont(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModernDocumentFont)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentHeadingFont(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentHeadingFont)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FixedWidthTextFont(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FixedWidthTextFont)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentAlternate1Font(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentAlternate1Font)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentAlternate2Font(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentAlternate2Font)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -254,7 +254,7 @@ impl LanguageFontGroup { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILanguageFontGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLanguageFontGroup)(::windows::core::Interface::as_raw(this), languagetag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index 8b4bd1c309..d74f418a15 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -5,7 +5,7 @@ impl CurrencyFormatter { pub fn Currency(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Currency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -21,7 +21,7 @@ impl CurrencyFormatter { pub fn Mode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38,7 +38,7 @@ impl CurrencyFormatter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrencyFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCurrencyFormatterCode)(::windows::core::Interface::as_raw(this), currencycode.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -52,49 +52,49 @@ impl CurrencyFormatter { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrencyFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCurrencyFormatterCodeContext)(::windows::core::Interface::as_raw(this), currencycode.into().abi(), languages.try_into().map_err(|e| e.into())?.abi(), geographicregion.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FormatInt(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatInt2(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt2(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble2(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -103,21 +103,21 @@ impl CurrencyFormatter { pub fn Languages(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IntegerDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IntegerDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -128,7 +128,7 @@ impl CurrencyFormatter { pub fn FractionDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FractionDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -139,7 +139,7 @@ impl CurrencyFormatter { pub fn IsGrouped(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGrouped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -150,7 +150,7 @@ impl CurrencyFormatter { pub fn IsDecimalPointAlwaysDisplayed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -161,7 +161,7 @@ impl CurrencyFormatter { pub fn NumeralSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumeralSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -175,14 +175,14 @@ impl CurrencyFormatter { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ResolvedGeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedGeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -194,7 +194,7 @@ impl CurrencyFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -206,7 +206,7 @@ impl CurrencyFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseUInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -218,14 +218,14 @@ impl CurrencyFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseDouble)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn NumberRounder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberRounder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -240,7 +240,7 @@ impl CurrencyFormatter { pub fn IsZeroSigned(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsZeroSigned)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -251,7 +251,7 @@ impl CurrencyFormatter { pub fn SignificantDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignificantDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -514,49 +514,49 @@ impl DecimalFormatter { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDecimalFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDecimalFormatter)(::windows::core::Interface::as_raw(this), languages.try_into().map_err(|e| e.into())?.abi(), geographicregion.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FormatInt(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatInt2(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt2(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble2(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -565,21 +565,21 @@ impl DecimalFormatter { pub fn Languages(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IntegerDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IntegerDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -590,7 +590,7 @@ impl DecimalFormatter { pub fn FractionDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FractionDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -601,7 +601,7 @@ impl DecimalFormatter { pub fn IsGrouped(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGrouped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -612,7 +612,7 @@ impl DecimalFormatter { pub fn IsDecimalPointAlwaysDisplayed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -623,7 +623,7 @@ impl DecimalFormatter { pub fn NumeralSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumeralSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -637,14 +637,14 @@ impl DecimalFormatter { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ResolvedGeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedGeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -656,7 +656,7 @@ impl DecimalFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -668,7 +668,7 @@ impl DecimalFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseUInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -680,14 +680,14 @@ impl DecimalFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseDouble)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn NumberRounder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberRounder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -702,7 +702,7 @@ impl DecimalFormatter { pub fn IsZeroSigned(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsZeroSigned)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -713,7 +713,7 @@ impl DecimalFormatter { pub fn SignificantDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignificantDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1010,21 +1010,21 @@ impl INumberFormatter { pub fn FormatInt(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1101,21 +1101,21 @@ impl INumberFormatter2 { pub fn FormatInt(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1194,21 +1194,21 @@ impl INumberFormatterOptions { pub fn Languages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IntegerDigits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IntegerDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1219,7 +1219,7 @@ impl INumberFormatterOptions { pub fn FractionDigits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FractionDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1230,7 +1230,7 @@ impl INumberFormatterOptions { pub fn IsGrouped(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGrouped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1241,7 +1241,7 @@ impl INumberFormatterOptions { pub fn IsDecimalPointAlwaysDisplayed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1252,7 +1252,7 @@ impl INumberFormatterOptions { pub fn NumeralSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumeralSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1266,14 +1266,14 @@ impl INumberFormatterOptions { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ResolvedGeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedGeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1369,7 +1369,7 @@ impl INumberParser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1381,7 +1381,7 @@ impl INumberParser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseUInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1393,7 +1393,7 @@ impl INumberParser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseDouble)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1479,42 +1479,42 @@ impl INumberRounder { pub fn RoundInt32(&self, value: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundUInt32(&self, value: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundUInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundInt64(&self, value: i64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundUInt64(&self, value: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundUInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundSingle(&self, value: f32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundSingle)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundDouble(&self, value: f64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1594,7 +1594,7 @@ impl INumberRounderOption { pub fn NumberRounder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberRounder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1746,7 +1746,7 @@ impl ISignedZeroOption { pub fn IsZeroSigned(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsZeroSigned)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1842,7 +1842,7 @@ impl ISignificantDigitsOption { pub fn SignificantDigits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignificantDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1929,7 +1929,7 @@ impl IncrementNumberRounder { pub fn RoundingAlgorithm(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundingAlgorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1940,7 +1940,7 @@ impl IncrementNumberRounder { pub fn Increment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Increment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1951,42 +1951,42 @@ impl IncrementNumberRounder { pub fn RoundInt32(&self, value: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundUInt32(&self, value: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundUInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundInt64(&self, value: i64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundUInt64(&self, value: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundUInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundSingle(&self, value: f32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundSingle)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundDouble(&self, value: f64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2088,21 +2088,21 @@ impl NumeralSystemTranslator { pub fn Languages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NumeralSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumeralSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2119,7 +2119,7 @@ impl NumeralSystemTranslator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TranslateNumerals)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2131,7 +2131,7 @@ impl NumeralSystemTranslator { E0: ::std::convert::Into<::windows::core::Error>, { Self::INumeralSystemTranslatorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), languages.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2217,42 +2217,42 @@ impl PercentFormatter { pub fn FormatInt(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatInt2(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt2(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble2(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2261,21 +2261,21 @@ impl PercentFormatter { pub fn Languages(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IntegerDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IntegerDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2286,7 +2286,7 @@ impl PercentFormatter { pub fn FractionDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FractionDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2297,7 +2297,7 @@ impl PercentFormatter { pub fn IsGrouped(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGrouped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2308,7 +2308,7 @@ impl PercentFormatter { pub fn IsDecimalPointAlwaysDisplayed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2319,7 +2319,7 @@ impl PercentFormatter { pub fn NumeralSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumeralSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2333,14 +2333,14 @@ impl PercentFormatter { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ResolvedGeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedGeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2352,7 +2352,7 @@ impl PercentFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2364,7 +2364,7 @@ impl PercentFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseUInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2376,14 +2376,14 @@ impl PercentFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseDouble)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn NumberRounder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberRounder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2404,14 +2404,14 @@ impl PercentFormatter { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPercentFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePercentFormatter)(::windows::core::Interface::as_raw(this), languages.try_into().map_err(|e| e.into())?.abi(), geographicregion.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsZeroSigned(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsZeroSigned)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2422,7 +2422,7 @@ impl PercentFormatter { pub fn SignificantDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignificantDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2645,42 +2645,42 @@ impl PermilleFormatter { pub fn FormatInt(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatInt2(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatUInt2(&self, value: u64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUInt)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormatDouble2(&self, value: f64) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2689,21 +2689,21 @@ impl PermilleFormatter { pub fn Languages(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IntegerDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IntegerDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2714,7 +2714,7 @@ impl PermilleFormatter { pub fn FractionDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FractionDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2725,7 +2725,7 @@ impl PermilleFormatter { pub fn IsGrouped(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGrouped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2736,7 +2736,7 @@ impl PermilleFormatter { pub fn IsDecimalPointAlwaysDisplayed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2747,7 +2747,7 @@ impl PermilleFormatter { pub fn NumeralSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumeralSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2761,14 +2761,14 @@ impl PermilleFormatter { pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ResolvedGeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedGeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2780,7 +2780,7 @@ impl PermilleFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2792,7 +2792,7 @@ impl PermilleFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseUInt)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2804,14 +2804,14 @@ impl PermilleFormatter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseDouble)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn NumberRounder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberRounder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2832,14 +2832,14 @@ impl PermilleFormatter { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPermilleFormatterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePermilleFormatter)(::windows::core::Interface::as_raw(this), languages.try_into().map_err(|e| e.into())?.abi(), geographicregion.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsZeroSigned(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsZeroSigned)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2850,7 +2850,7 @@ impl PermilleFormatter { pub fn SignificantDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignificantDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3116,49 +3116,49 @@ impl SignificantDigitsNumberRounder { pub fn RoundInt32(&self, value: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundUInt32(&self, value: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundUInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundInt64(&self, value: i64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundUInt64(&self, value: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundUInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundSingle(&self, value: f32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundSingle)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundDouble(&self, value: f64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoundingAlgorithm(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundingAlgorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3169,7 +3169,7 @@ impl SignificantDigitsNumberRounder { pub fn SignificantDigits(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignificantDigits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs index 69bdffdd27..76b1e2c920 100644 --- a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs @@ -131,7 +131,7 @@ impl PhoneNumberFormatter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), number.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -141,7 +141,7 @@ impl PhoneNumberFormatter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatWithOutputFormat)(::windows::core::Interface::as_raw(this), number.into().abi(), numberformat, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -151,7 +151,7 @@ impl PhoneNumberFormatter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatPartialString)(::windows::core::Interface::as_raw(this), number.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -161,7 +161,7 @@ impl PhoneNumberFormatter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatString)(::windows::core::Interface::as_raw(this), number.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -171,7 +171,7 @@ impl PhoneNumberFormatter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatStringWithLeftToRightMarkers)(::windows::core::Interface::as_raw(this), number.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -186,7 +186,7 @@ impl PhoneNumberFormatter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneNumberFormatterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCountryCodeForRegion)(::windows::core::Interface::as_raw(this), regioncode.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -195,7 +195,7 @@ impl PhoneNumberFormatter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneNumberFormatterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNationalDirectDialingPrefixForRegion)(::windows::core::Interface::as_raw(this), regioncode.into().abi(), stripnondigit, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -204,7 +204,7 @@ impl PhoneNumberFormatter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneNumberFormatterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WrapWithLeftToRightMarkers)(::windows::core::Interface::as_raw(this), number.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -283,49 +283,49 @@ impl PhoneNumberInfo { pub fn CountryCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CountryCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetLengthOfGeographicalAreaCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLengthOfGeographicalAreaCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetNationalSignificantNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNationalSignificantNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetLengthOfNationalDestinationCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLengthOfNationalDestinationCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PredictNumberKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PredictNumberKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetGeographicRegionCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGeographicRegionCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -335,7 +335,7 @@ impl PhoneNumberInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckNumberMatch)(::windows::core::Interface::as_raw(this), othernumber.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -344,7 +344,7 @@ impl PhoneNumberInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneNumberInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), number.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -353,7 +353,7 @@ impl PhoneNumberInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneNumberInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), phonenumber as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -363,7 +363,7 @@ impl PhoneNumberInfo { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhoneNumberInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseWithRegion)(::windows::core::Interface::as_raw(this), input.into().abi(), regioncode.into().abi(), phonenumber as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -372,7 +372,7 @@ impl PhoneNumberInfo { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Globalization/mod.rs b/crates/libs/windows/src/Windows/Globalization/mod.rs index ebc7299fdd..97205688a1 100644 --- a/crates/libs/windows/src/Windows/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/mod.rs @@ -13,7 +13,7 @@ pub struct ApplicationLanguages; impl ApplicationLanguages { pub fn PrimaryLanguageOverride() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IApplicationLanguagesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryLanguageOverride)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -27,7 +27,7 @@ impl ApplicationLanguages { #[cfg(feature = "Foundation_Collections")] pub fn Languages() -> ::windows::core::Result> { Self::IApplicationLanguagesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -35,7 +35,7 @@ impl ApplicationLanguages { #[cfg(feature = "Foundation_Collections")] pub fn ManifestLanguages() -> ::windows::core::Result> { Self::IApplicationLanguagesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManifestLanguages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -46,7 +46,7 @@ impl ApplicationLanguages { P0: ::std::convert::Into<::windows::core::InParam<'a, super::System::User>>, { Self::IApplicationLanguagesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLanguagesForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -78,7 +78,7 @@ impl Calendar { pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -95,14 +95,14 @@ impl Calendar { pub fn Languages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn NumeralSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumeralSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -116,7 +116,7 @@ impl Calendar { pub fn GetCalendarSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCalendarSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -130,7 +130,7 @@ impl Calendar { pub fn GetClock(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetClock)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -146,7 +146,7 @@ impl Calendar { pub fn GetDateTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -163,28 +163,28 @@ impl Calendar { pub fn FirstEra(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstEra)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastEra(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastEra)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfEras(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfEras)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Era(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Era)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -199,42 +199,42 @@ impl Calendar { pub fn EraAsFullString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EraAsFullString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EraAsString(&self, ideallength: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EraAsString)(::windows::core::Interface::as_raw(this), ideallength, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirstYearInThisEra(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstYearInThisEra)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastYearInThisEra(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastYearInThisEra)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfYearsInThisEra(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfYearsInThisEra)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Year(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Year)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -249,49 +249,49 @@ impl Calendar { pub fn YearAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YearAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn YearAsTruncatedString(&self, remainingdigits: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YearAsTruncatedString)(::windows::core::Interface::as_raw(this), remainingdigits, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn YearAsPaddedString(&self, mindigits: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YearAsPaddedString)(::windows::core::Interface::as_raw(this), mindigits, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirstMonthInThisYear(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstMonthInThisYear)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastMonthInThisYear(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastMonthInThisYear)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfMonthsInThisYear(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfMonthsInThisYear)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Month(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Month)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -306,42 +306,42 @@ impl Calendar { pub fn MonthAsFullString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonthAsFullString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MonthAsString(&self, ideallength: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonthAsString)(::windows::core::Interface::as_raw(this), ideallength, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MonthAsFullSoloString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonthAsFullSoloString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MonthAsSoloString(&self, ideallength: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonthAsSoloString)(::windows::core::Interface::as_raw(this), ideallength, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MonthAsNumericString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonthAsNumericString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MonthAsPaddedNumericString(&self, mindigits: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MonthAsPaddedNumericString)(::windows::core::Interface::as_raw(this), mindigits, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -352,28 +352,28 @@ impl Calendar { pub fn FirstDayInThisMonth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstDayInThisMonth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastDayInThisMonth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastDayInThisMonth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfDaysInThisMonth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfDaysInThisMonth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Day(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Day)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -388,77 +388,77 @@ impl Calendar { pub fn DayAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DayAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DayAsPaddedString(&self, mindigits: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DayAsPaddedString)(::windows::core::Interface::as_raw(this), mindigits, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DayOfWeek(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DayOfWeek)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DayOfWeekAsFullString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DayOfWeekAsFullString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DayOfWeekAsString(&self, ideallength: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DayOfWeekAsString)(::windows::core::Interface::as_raw(this), ideallength, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DayOfWeekAsFullSoloString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DayOfWeekAsFullSoloString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DayOfWeekAsSoloString(&self, ideallength: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DayOfWeekAsSoloString)(::windows::core::Interface::as_raw(this), ideallength, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirstPeriodInThisDay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstPeriodInThisDay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastPeriodInThisDay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastPeriodInThisDay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfPeriodsInThisDay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfPeriodsInThisDay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Period(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Period)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -473,42 +473,42 @@ impl Calendar { pub fn PeriodAsFullString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeriodAsFullString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PeriodAsString(&self, ideallength: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeriodAsString)(::windows::core::Interface::as_raw(this), ideallength, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirstHourInThisPeriod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstHourInThisPeriod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastHourInThisPeriod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastHourInThisPeriod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfHoursInThisPeriod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfHoursInThisPeriod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Hour(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hour)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -523,21 +523,21 @@ impl Calendar { pub fn HourAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HourAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn HourAsPaddedString(&self, mindigits: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HourAsPaddedString)(::windows::core::Interface::as_raw(this), mindigits, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Minute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Minute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -552,21 +552,21 @@ impl Calendar { pub fn MinuteAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinuteAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MinuteAsPaddedString(&self, mindigits: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinuteAsPaddedString)(::windows::core::Interface::as_raw(this), mindigits, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Second(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Second)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -581,21 +581,21 @@ impl Calendar { pub fn SecondAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecondAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SecondAsPaddedString(&self, mindigits: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecondAsPaddedString)(::windows::core::Interface::as_raw(this), mindigits, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Nanosecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Nanosecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -610,14 +610,14 @@ impl Calendar { pub fn NanosecondAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NanosecondAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NanosecondAsPaddedString(&self, mindigits: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NanosecondAsPaddedString)(::windows::core::Interface::as_raw(this), mindigits, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -627,7 +627,7 @@ impl Calendar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compare)(::windows::core::Interface::as_raw(this), other.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -636,7 +636,7 @@ impl Calendar { pub fn CompareDateTime(&self, other: super::Foundation::DateTime) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompareDateTime)(::windows::core::Interface::as_raw(this), other, result__.as_mut_ptr()).from_abi::(result__) } } @@ -650,56 +650,56 @@ impl Calendar { pub fn FirstMinuteInThisHour(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstMinuteInThisHour)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastMinuteInThisHour(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastMinuteInThisHour)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfMinutesInThisHour(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfMinutesInThisHour)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FirstSecondInThisMinute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstSecondInThisMinute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastSecondInThisMinute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastSecondInThisMinute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NumberOfSecondsInThisMinute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfSecondsInThisMinute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResolvedLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolvedLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsDaylightSavingTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDaylightSavingTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -711,7 +711,7 @@ impl Calendar { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICalendarFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCalendarDefaultCalendarAndClock)(::windows::core::Interface::as_raw(this), languages.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -725,7 +725,7 @@ impl Calendar { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICalendarFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCalendar)(::windows::core::Interface::as_raw(this), languages.try_into().map_err(|e| e.into())?.abi(), calendar.into().abi(), clock.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -740,14 +740,14 @@ impl Calendar { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICalendarFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCalendarWithTimeZone)(::windows::core::Interface::as_raw(this), languages.try_into().map_err(|e| e.into())?.abi(), calendar.into().abi(), clock.into().abi(), timezoneid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetTimeZone(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTimeZone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -761,14 +761,14 @@ impl Calendar { pub fn TimeZoneAsFullString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeZoneAsFullString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TimeZoneAsString(&self, ideallength: i32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeZoneAsString)(::windows::core::Interface::as_raw(this), ideallength, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -850,91 +850,91 @@ pub struct CalendarIdentifiers; impl CalendarIdentifiers { pub fn Gregorian() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gregorian)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Hebrew() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hebrew)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Hijri() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hijri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Japanese() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Japanese)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Julian() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Julian)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Korean() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Korean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Taiwan() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Taiwan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Thai() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thai)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn UmAlQura() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UmAlQura)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Persian() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Persian)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ChineseLunar() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChineseLunar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn JapaneseLunar() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JapaneseLunar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KoreanLunar() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KoreanLunar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TaiwanLunar() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaiwanLunar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VietnameseLunar() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VietnameseLunar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -962,13 +962,13 @@ pub struct ClockIdentifiers; impl ClockIdentifiers { pub fn TwelveHour() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IClockIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TwelveHour)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TwentyFourHour() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IClockIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TwentyFourHour)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -988,14 +988,14 @@ impl CurrencyAmount { pub fn Amount(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Amount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Currency(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Currency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1005,7 +1005,7 @@ impl CurrencyAmount { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICurrencyAmountFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), amount.into().abi(), currency.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1082,973 +1082,973 @@ pub struct CurrencyIdentifiers; impl CurrencyIdentifiers { pub fn AED() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AED)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AFN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AFN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ALL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ALL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AMD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AMD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ANG() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ANG)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AOA() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AOA)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ARS() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ARS)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AUD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AUD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AWG() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AWG)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AZN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AZN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BAM() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BAM)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BBD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BBD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BDT() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BDT)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BGN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BGN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BHD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BHD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BIF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BIF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BMD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BMD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BND() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BND)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BOB() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BOB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BRL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BRL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BSD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BSD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BTN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BTN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BWP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BWP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BYR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BYR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BZD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BZD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CAD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CAD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CDF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CDF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CHF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CHF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CLP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CLP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CNY() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CNY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn COP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).COP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CRC() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CRC)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CUP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CUP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CVE() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CVE)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CZK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CZK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DJF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DJF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DKK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DKK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DOP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DOP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DZD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DZD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn EGP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EGP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ERN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ERN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ETB() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ETB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn EUR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EUR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn FJD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FJD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn FKP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FKP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GBP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GBP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GEL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GEL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GHS() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GHS)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GIP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GIP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GMD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GMD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GNF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GNF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GTQ() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GTQ)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GYD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GYD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HKD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HKD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HNL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HNL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HRK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HRK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HTG() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HTG)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HUF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HUF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn IDR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IDR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ILS() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ILS)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn INR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).INR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn IQD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IQD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn IRR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IRR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ISK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ISK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn JMD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JMD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn JOD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JOD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn JPY() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JPY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KES() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KES)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KGS() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KGS)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KHR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KHR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KMF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KMF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KPW() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KPW)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KRW() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KRW)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KWD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KWD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KYD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KYD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn KZT() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KZT)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LAK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LAK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LBP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LBP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LKR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LKR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LRD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LRD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LSL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LSL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LTL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LTL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LVL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LVL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LYD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LYD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MAD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MAD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MDL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MDL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MGA() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MGA)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MKD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MKD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MMK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MMK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MNT() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MNT)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MOP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MOP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MRO() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MRO)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MUR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MUR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MVR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MVR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MWK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MWK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MXN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MXN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MYR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MYR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MZN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MZN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NAD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NAD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NGN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NGN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NIO() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NIO)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NOK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NOK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NPR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NPR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NZD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NZD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn OMR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OMR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PAB() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PAB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PEN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PEN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PGK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PGK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PHP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PHP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PKR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PKR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PLN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PLN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PYG() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PYG)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn QAR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QAR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RON() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RON)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RSD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RSD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RUB() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RUB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RWF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RWF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SAR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SAR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SBD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SBD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SCR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SCR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SDG() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SDG)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SEK() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SEK)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SGD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SGD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SHP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SHP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SLL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SLL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SOS() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SOS)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SRD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SRD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn STD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).STD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SYP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SYP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SZL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SZL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn THB() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).THB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TJS() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TJS)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TMT() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TMT)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TND() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TND)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TOP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TOP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TRY() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TRY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TTD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TTD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TWD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TWD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TZS() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TZS)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn UAH() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UAH)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn UGX() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UGX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn USD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).USD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn UYU() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UYU)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn UZS() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UZS)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VEF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VEF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VND() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VND)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VUV() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VUV)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn WST() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WST)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn XAF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XAF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn XCD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XCD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn XOF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XOF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn XPF() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XPF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn XXX() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XXX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn YER() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YER)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ZAR() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZAR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ZMW() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZMW)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ZWL() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZWL)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BYN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BYN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MRU() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MRU)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SSP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SSP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn STN() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).STN)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VES() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICurrencyIdentifiersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VES)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2124,42 +2124,42 @@ impl GeographicRegion { pub fn Code(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CodeTwoLetter(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CodeTwoLetter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CodeThreeLetter(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CodeThreeLetter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CodeThreeDigit(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CodeThreeDigit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NativeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NativeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2168,7 +2168,7 @@ impl GeographicRegion { pub fn CurrenciesInUse(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrenciesInUse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2177,7 +2177,7 @@ impl GeographicRegion { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGeographicRegionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateGeographicRegion)(::windows::core::Interface::as_raw(this), geographicregioncode.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2186,7 +2186,7 @@ impl GeographicRegion { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGeographicRegionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), geographicregioncode.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3041,21 +3041,21 @@ impl JapanesePhoneme { pub fn DisplayText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn YomiText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YomiText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsPhraseStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPhraseStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3130,7 +3130,7 @@ impl JapanesePhoneticAnalyzer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJapanesePhoneticAnalyzerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWords)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3141,7 +3141,7 @@ impl JapanesePhoneticAnalyzer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJapanesePhoneticAnalyzerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWordsWithMonoRubyOption)(::windows::core::Interface::as_raw(this), input.into().abi(), monoruby, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3161,42 +3161,42 @@ impl Language { pub fn LanguageTag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LanguageTag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NativeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NativeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Script(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Script)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LayoutDirection(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LayoutDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AbbreviatedName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbbreviatedName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3208,7 +3208,7 @@ impl Language { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetExtensionSubtags)(::windows::core::Interface::as_raw(this), singleton.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3217,7 +3217,7 @@ impl Language { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILanguageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLanguage)(::windows::core::Interface::as_raw(this), languagetag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3226,13 +3226,13 @@ impl Language { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILanguageStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWellFormed)(::windows::core::Interface::as_raw(this), languagetag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CurrentInputMethodLanguageTag() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILanguageStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentInputMethodLanguageTag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3241,7 +3241,7 @@ impl Language { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILanguageStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetInputMethodLanguageTag)(::windows::core::Interface::as_raw(this), languagetag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3253,7 +3253,7 @@ impl Language { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILanguageStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMuiCompatibleLanguageListFromLanguageTags)(::windows::core::Interface::as_raw(this), languagetags.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3381,289 +3381,289 @@ pub struct NumeralSystemIdentifiers; impl NumeralSystemIdentifiers { pub fn Arab() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arab)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ArabExt() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ArabExt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Bali() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bali)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Beng() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Beng)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Cham() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cham)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Deva() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deva)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn FullWide() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FullWide)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Gujr() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gujr)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Guru() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Guru)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HaniDec() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HaniDec)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Java() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Java)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Kali() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kali)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Khmr() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Khmr)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Knda() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Knda)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Lana() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lana)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LanaTham() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LanaTham)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Laoo() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Laoo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Latn() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Latn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Lepc() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lepc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Limb() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Limb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mlym() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mlym)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mong() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mong)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mtei() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mtei)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mymr() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mymr)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MymrShan() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MymrShan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Nkoo() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Nkoo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Olck() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Olck)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Orya() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orya)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Saur() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Saur)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sund() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sund)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Talu() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Talu)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TamlDec() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TamlDec)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Telu() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Telu)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Thai() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thai)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Tibt() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tibt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Vaii() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Vaii)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Brah() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Brah)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Osma() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Osma)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MathBold() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MathBold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MathDbl() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MathDbl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MathSans() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MathSans)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MathSanb() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MathSanb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MathMono() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MathMono)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ZmthBold() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZmthBold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ZmthDbl() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZmthDbl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ZmthSans() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZmthSans)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ZmthSanb() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZmthSanb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ZmthMono() -> ::windows::core::Result<::windows::core::HSTRING> { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZmthMono)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs index 3353c488fb..28ed2ca2a8 100644 --- a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs @@ -13,7 +13,7 @@ impl Direct3D11CaptureFrame { pub fn Surface(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Surface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22,14 +22,14 @@ impl Direct3D11CaptureFrame { pub fn SystemRelativeTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContentSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -141,7 +141,7 @@ impl Direct3D11CaptureFramePool { pub fn TryGetNextFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetNextFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -153,7 +153,7 @@ impl Direct3D11CaptureFramePool { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameArrived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -169,7 +169,7 @@ impl Direct3D11CaptureFramePool { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCaptureSession)(::windows::core::Interface::as_raw(this), item.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -178,7 +178,7 @@ impl Direct3D11CaptureFramePool { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -190,7 +190,7 @@ impl Direct3D11CaptureFramePool { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDirect3D11CaptureFramePoolStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), device.try_into().map_err(|e| e.into())?.abi(), pixelformat, numberofbuffers, size, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -202,7 +202,7 @@ impl Direct3D11CaptureFramePool { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDirect3D11CaptureFramePoolStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFreeThreaded)(::windows::core::Interface::as_raw(this), device.try_into().map_err(|e| e.into())?.abi(), pixelformat, numberofbuffers, size, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -308,7 +308,7 @@ impl GraphicsCaptureAccess { #[cfg(all(feature = "Foundation", feature = "Security_Authorization_AppCapabilityAccess"))] pub fn RequestAccessAsync(request: GraphicsCaptureAccessKind) -> ::windows::core::Result> { Self::IGraphicsCaptureAccessStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), request, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -362,14 +362,14 @@ impl GraphicsCaptureItem { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -381,7 +381,7 @@ impl GraphicsCaptureItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -398,7 +398,7 @@ impl GraphicsCaptureItem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::UI::Composition::Visual>>, { Self::IGraphicsCaptureItemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromVisual)(::windows::core::Interface::as_raw(this), visual.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -406,13 +406,13 @@ impl GraphicsCaptureItem { #[cfg(feature = "UI")] pub fn TryCreateFromWindowId(windowid: super::super::UI::WindowId) -> ::windows::core::Result { Self::IGraphicsCaptureItemStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFromWindowId)(::windows::core::Interface::as_raw(this), windowid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TryCreateFromDisplayId(displayid: super::DisplayId) -> ::windows::core::Result { Self::IGraphicsCaptureItemStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFromDisplayId)(::windows::core::Interface::as_raw(this), displayid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -505,7 +505,7 @@ impl GraphicsCapturePicker { pub fn PickSingleItemAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleItemAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -589,7 +589,7 @@ impl GraphicsCaptureSession { pub fn IsCursorCaptureEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCursorCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -600,7 +600,7 @@ impl GraphicsCaptureSession { pub fn IsBorderRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBorderRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -610,7 +610,7 @@ impl GraphicsCaptureSession { } pub fn IsSupported() -> ::windows::core::Result { Self::IGraphicsCaptureSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } 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 2c157a11fa..99d3769dbc 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs @@ -289,7 +289,7 @@ impl IDirect3DSurface { pub fn Description(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs index 638718ecbf..54e160e2e4 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs @@ -140,14 +140,14 @@ impl HdmiDisplayInformation { pub fn GetSupportedDisplayModes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedDisplayModes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetCurrentDisplayMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentDisplayMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -156,7 +156,7 @@ impl HdmiDisplayInformation { pub fn SetDefaultDisplayModeAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDefaultDisplayModeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -168,7 +168,7 @@ impl HdmiDisplayInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSetCurrentDisplayModeAsync)(::windows::core::Interface::as_raw(this), mode.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -180,7 +180,7 @@ impl HdmiDisplayInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSetCurrentDisplayModeWithHdrAsync)(::windows::core::Interface::as_raw(this), mode.into().abi(), hdroption, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -192,7 +192,7 @@ impl HdmiDisplayInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSetCurrentDisplayModeWithHdrAndMetadataAsync)(::windows::core::Interface::as_raw(this), mode.into().abi(), hdroption, hdrmetadata, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -204,7 +204,7 @@ impl HdmiDisplayInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayModesChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -216,7 +216,7 @@ impl HdmiDisplayInformation { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IHdmiDisplayInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -295,35 +295,35 @@ impl HdmiDisplayMode { pub fn ResolutionWidthInRawPixels(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolutionWidthInRawPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResolutionHeightInRawPixels(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolutionHeightInRawPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RefreshRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RefreshRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StereoEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StereoEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitsPerPixel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitsPerPixel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -333,49 +333,49 @@ impl HdmiDisplayMode { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), mode.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColorSpace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSdrLuminanceSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSdrLuminanceSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSmpte2084Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSmpte2084Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Is2086MetadataSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Is2086MetadataSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDolbyVisionLowLatencySupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDolbyVisionLowLatencySupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs index 14d482c20e..a224934bc0 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs @@ -7,7 +7,7 @@ impl AdvancedColorInfo { pub fn CurrentAdvancedColorKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentAdvancedColorKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16,7 +16,7 @@ impl AdvancedColorInfo { pub fn RedPrimary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedPrimary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -25,7 +25,7 @@ impl AdvancedColorInfo { pub fn GreenPrimary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GreenPrimary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34,7 +34,7 @@ impl AdvancedColorInfo { pub fn BluePrimary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BluePrimary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -43,49 +43,49 @@ impl AdvancedColorInfo { pub fn WhitePoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WhitePoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxLuminanceInNits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxLuminanceInNits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinLuminanceInNits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinLuminanceInNits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxAverageFullFrameLuminanceInNits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAverageFullFrameLuminanceInNits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SdrWhiteLevelInNits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SdrWhiteLevelInNits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHdrMetadataFormatCurrentlySupported(&self, format: HdrMetadataFormat) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHdrMetadataFormatCurrentlySupported)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAdvancedColorKindAvailable(&self, kind: AdvancedColorKind) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAdvancedColorKindAvailable)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::(result__) } } @@ -194,21 +194,21 @@ impl BrightnessOverride { pub fn IsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOverrideActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOverrideActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BrightnessLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrightnessLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -223,7 +223,7 @@ impl BrightnessOverride { pub fn GetLevelForScenario(&self, scenario: DisplayBrightnessScenario) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLevelForScenario)(::windows::core::Interface::as_raw(this), scenario, result__.as_mut_ptr()).from_abi::(result__) } } @@ -243,7 +243,7 @@ impl BrightnessOverride { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupportedChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -261,7 +261,7 @@ impl BrightnessOverride { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOverrideActiveChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -279,7 +279,7 @@ impl BrightnessOverride { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrightnessLevelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -291,13 +291,13 @@ impl BrightnessOverride { } pub fn GetDefaultForSystem() -> ::windows::core::Result { Self::IBrightnessOverrideStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultForSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IBrightnessOverrideStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -308,7 +308,7 @@ impl BrightnessOverride { P0: ::std::convert::Into<::windows::core::InParam<'a, BrightnessOverride>>, { Self::IBrightnessOverrideStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveForSystemAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -387,32 +387,32 @@ impl BrightnessOverrideSettings { pub fn DesiredLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DesiredNits(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredNits)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateFromLevel(level: f64) -> ::windows::core::Result { Self::IBrightnessOverrideSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromLevel)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromNits(nits: f32) -> ::windows::core::Result { Self::IBrightnessOverrideSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNits)(::windows::core::Interface::as_raw(this), nits, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromDisplayBrightnessOverrideScenario(overridescenario: DisplayBrightnessOverrideScenario) -> ::windows::core::Result { Self::IBrightnessOverrideSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDisplayBrightnessOverrideScenario)(::windows::core::Interface::as_raw(this), overridescenario, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -491,13 +491,13 @@ impl ColorOverrideSettings { pub fn DesiredDisplayColorOverrideScenario(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredDisplayColorOverrideScenario)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateFromDisplayColorOverrideScenario(overridescenario: DisplayColorOverrideScenario) -> ::windows::core::Result { Self::IColorOverrideSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDisplayColorOverrideScenario)(::windows::core::Interface::as_raw(this), overridescenario, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -742,7 +742,7 @@ impl DisplayEnhancementOverride { pub fn ColorOverrideSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorOverrideSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -756,7 +756,7 @@ impl DisplayEnhancementOverride { pub fn BrightnessOverrideSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrightnessOverrideSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -770,21 +770,21 @@ impl DisplayEnhancementOverride { pub fn CanOverride(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanOverride)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOverrideActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOverrideActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentDisplayEnhancementOverrideCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentDisplayEnhancementOverrideCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -804,7 +804,7 @@ impl DisplayEnhancementOverride { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanOverrideChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -822,7 +822,7 @@ impl DisplayEnhancementOverride { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOverrideActiveChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -840,7 +840,7 @@ impl DisplayEnhancementOverride { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayEnhancementOverrideCapabilitiesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -852,7 +852,7 @@ impl DisplayEnhancementOverride { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IDisplayEnhancementOverrideStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -931,14 +931,14 @@ impl DisplayEnhancementOverrideCapabilities { pub fn IsBrightnessControlSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBrightnessControlSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBrightnessNitsControlSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBrightnessNitsControlSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -947,7 +947,7 @@ impl DisplayEnhancementOverrideCapabilities { pub fn GetSupportedNitRanges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedNitRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1021,7 +1021,7 @@ impl DisplayEnhancementOverrideCapabilitiesChangedEventArgs { pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1095,14 +1095,14 @@ impl DisplayInformation { pub fn CurrentOrientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentOrientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NativeOrientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NativeOrientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1114,7 +1114,7 @@ impl DisplayInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientationChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1127,28 +1127,28 @@ impl DisplayInformation { pub fn ResolutionScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolutionScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LogicalDpi(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogicalDpi)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RawDpiX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawDpiX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RawDpiY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawDpiY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1160,7 +1160,7 @@ impl DisplayInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1173,7 +1173,7 @@ impl DisplayInformation { pub fn StereoEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StereoEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1185,7 +1185,7 @@ impl DisplayInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StereoEnabledChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1200,7 +1200,7 @@ impl DisplayInformation { pub fn GetColorProfileAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetColorProfileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1212,7 +1212,7 @@ impl DisplayInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorProfileChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1225,7 +1225,7 @@ impl DisplayInformation { pub fn RawPixelsPerViewPixel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawPixelsPerViewPixel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1234,28 +1234,28 @@ impl DisplayInformation { pub fn DiagonalSizeInInches(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiagonalSizeInInches)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ScreenWidthInRawPixels(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenWidthInRawPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ScreenHeightInRawPixels(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenHeightInRawPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetAdvancedColorInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAdvancedColorInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1267,7 +1267,7 @@ impl DisplayInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvancedColorInfoChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1279,13 +1279,13 @@ impl DisplayInformation { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IDisplayInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AutoRotationPreferences() -> ::windows::core::Result { Self::IDisplayInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoRotationPreferences)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1299,7 +1299,7 @@ impl DisplayInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::TypedEventHandler>>, { Self::IDisplayInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayContentsInvalidated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1450,7 +1450,7 @@ impl DisplayProperties { #[cfg(feature = "deprecated")] pub fn CurrentOrientation() -> ::windows::core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentOrientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1458,7 +1458,7 @@ impl DisplayProperties { #[cfg(feature = "deprecated")] pub fn NativeOrientation() -> ::windows::core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NativeOrientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1466,7 +1466,7 @@ impl DisplayProperties { #[cfg(feature = "deprecated")] pub fn AutoRotationPreferences() -> ::windows::core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoRotationPreferences)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1482,7 +1482,7 @@ impl DisplayProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, DisplayPropertiesEventHandler>>, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientationChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1495,7 +1495,7 @@ impl DisplayProperties { #[cfg(feature = "deprecated")] pub fn ResolutionScale() -> ::windows::core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResolutionScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1503,7 +1503,7 @@ impl DisplayProperties { #[cfg(feature = "deprecated")] pub fn LogicalDpi() -> ::windows::core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogicalDpi)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1514,7 +1514,7 @@ impl DisplayProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, DisplayPropertiesEventHandler>>, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogicalDpiChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1527,7 +1527,7 @@ impl DisplayProperties { #[cfg(feature = "deprecated")] pub fn StereoEnabled() -> ::windows::core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StereoEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1538,7 +1538,7 @@ impl DisplayProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, DisplayPropertiesEventHandler>>, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StereoEnabledChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1551,7 +1551,7 @@ impl DisplayProperties { #[cfg(all(feature = "Foundation", feature = "Storage_Streams", feature = "deprecated"))] pub fn GetColorProfileAsync() -> ::windows::core::Result> { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetColorProfileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1562,7 +1562,7 @@ impl DisplayProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, DisplayPropertiesEventHandler>>, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorProfileChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1578,7 +1578,7 @@ impl DisplayProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, DisplayPropertiesEventHandler>>, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayContentsInvalidated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1707,7 +1707,7 @@ pub struct DisplayServices(::windows::core::IUnknown); impl DisplayServices { pub fn FindAll() -> ::windows::core::Result<::windows::core::Array> { Self::IDisplayServicesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAll)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) }) } diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs index 07331e76bb..aba1c2c0ea 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs @@ -5,7 +5,7 @@ impl IGraphicsEffect { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs index 55492dde91..65454c36ad 100644 --- a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs @@ -45,14 +45,14 @@ impl HolographicCamera { pub fn RenderTargetSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderTargetSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ViewportScaleFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewportScaleFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -63,14 +63,14 @@ impl HolographicCamera { pub fn IsStereo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStereo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -85,28 +85,28 @@ impl HolographicCamera { pub fn LeftViewportParameters(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeftViewportParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RightViewportParameters(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightViewportParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Display(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Display)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPrimaryLayerEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrimaryLayerEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -117,7 +117,7 @@ impl HolographicCamera { pub fn MaxQuadLayerCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxQuadLayerCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -126,28 +126,28 @@ impl HolographicCamera { pub fn QuadLayers(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QuadLayers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CanOverrideViewport(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanOverrideViewport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHardwareContentProtectionSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHardwareContentProtectionSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHardwareContentProtectionEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHardwareContentProtectionEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -158,7 +158,7 @@ impl HolographicCamera { pub fn ViewConfiguration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -232,7 +232,7 @@ impl HolographicCameraPose { pub fn HolographicCamera(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HolographicCamera)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -241,7 +241,7 @@ impl HolographicCameraPose { pub fn Viewport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Viewport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -253,7 +253,7 @@ impl HolographicCameraPose { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetViewTransform)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -262,7 +262,7 @@ impl HolographicCameraPose { pub fn ProjectionTransform(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProjectionTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -274,7 +274,7 @@ impl HolographicCameraPose { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetCullingFrustum)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -286,21 +286,21 @@ impl HolographicCameraPose { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetVisibleFrustum)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn NearPlaneDistance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NearPlaneDistance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FarPlaneDistance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FarPlaneDistance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -424,7 +424,7 @@ impl HolographicCameraRenderingParameters { pub fn Direct3D11Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direct3D11Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -433,14 +433,14 @@ impl HolographicCameraRenderingParameters { pub fn Direct3D11BackBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direct3D11BackBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReprojectionMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReprojectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -461,7 +461,7 @@ impl HolographicCameraRenderingParameters { pub fn IsContentProtectionEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsContentProtectionEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -472,7 +472,7 @@ impl HolographicCameraRenderingParameters { pub fn DepthReprojectionMethod(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DepthReprojectionMethod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -552,7 +552,7 @@ impl HolographicCameraViewportParameters { pub fn HiddenAreaMesh(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HiddenAreaMesh)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -561,7 +561,7 @@ impl HolographicCameraViewportParameters { pub fn VisibleAreaMesh(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisibleAreaMesh)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -669,7 +669,7 @@ impl HolographicDisplay { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -678,28 +678,28 @@ impl HolographicDisplay { pub fn MaxViewportSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxViewportSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStereo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStereo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOpaque(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOpaque)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdapterId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdapterId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -708,27 +708,27 @@ impl HolographicDisplay { pub fn SpatialLocator(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpatialLocator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RefreshRate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RefreshRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryGetViewConfiguration(&self, kind: HolographicViewConfigurationKind) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetViewConfiguration)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IHolographicDisplayStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -809,7 +809,7 @@ impl HolographicFrame { pub fn AddedCameras(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddedCameras)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -818,7 +818,7 @@ impl HolographicFrame { pub fn RemovedCameras(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovedCameras)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -828,7 +828,7 @@ impl HolographicFrame { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRenderingParameters)(::windows::core::Interface::as_raw(this), camerapose.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -837,14 +837,14 @@ impl HolographicFrame { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentPrediction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentPrediction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -855,14 +855,14 @@ impl HolographicFrame { pub fn PresentUsingCurrentPrediction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentUsingCurrentPrediction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PresentUsingCurrentPredictionWithBehavior(&self, waitbehavior: HolographicFramePresentWaitBehavior) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentUsingCurrentPredictionWithBehavior)(::windows::core::Interface::as_raw(this), waitbehavior, result__.as_mut_ptr()).from_abi::(result__) } } @@ -876,14 +876,14 @@ impl HolographicFrame { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetQuadLayerUpdateParameters)(::windows::core::Interface::as_raw(this), layer.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -996,7 +996,7 @@ impl HolographicFramePrediction { pub fn CameraPoses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraPoses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1005,7 +1005,7 @@ impl HolographicFramePrediction { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1157,7 +1157,7 @@ impl HolographicFramePresentationMonitor { pub fn ReadReports(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadReports)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1272,7 +1272,7 @@ impl HolographicFramePresentationReport { pub fn CompositorGpuDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositorGpuDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1281,7 +1281,7 @@ impl HolographicFramePresentationReport { pub fn AppGpuDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppGpuDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1290,7 +1290,7 @@ impl HolographicFramePresentationReport { pub fn AppGpuOverrun(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppGpuOverrun)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1299,7 +1299,7 @@ impl HolographicFramePresentationReport { pub fn MissedPresentationOpportunityCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MissedPresentationOpportunityCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1308,7 +1308,7 @@ impl HolographicFramePresentationReport { pub fn PresentationCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1397,14 +1397,14 @@ impl HolographicFrameRenderingReport { pub fn FrameId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MissedLatchCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MissedLatchCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1413,7 +1413,7 @@ impl HolographicFrameRenderingReport { pub fn SystemRelativeFrameReadyTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeFrameReadyTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1422,7 +1422,7 @@ impl HolographicFrameRenderingReport { pub fn SystemRelativeActualGpuFinishTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeActualGpuFinishTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1431,7 +1431,7 @@ impl HolographicFrameRenderingReport { pub fn SystemRelativeTargetLatchTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeTargetLatchTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1513,7 +1513,7 @@ impl HolographicFrameScanoutMonitor { pub fn ReadReports(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadReports)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1609,14 +1609,14 @@ impl HolographicFrameScanoutReport { pub fn RenderingReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderingReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MissedScanoutCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MissedScanoutCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1625,7 +1625,7 @@ impl HolographicFrameScanoutReport { pub fn SystemRelativeLatchTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeLatchTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1634,7 +1634,7 @@ impl HolographicFrameScanoutReport { pub fn SystemRelativeScanoutStartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeScanoutStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1643,7 +1643,7 @@ impl HolographicFrameScanoutReport { pub fn SystemRelativePhotonTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativePhotonTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1725,7 +1725,7 @@ impl HolographicQuadLayer { pub fn PixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1734,7 +1734,7 @@ impl HolographicQuadLayer { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1742,7 +1742,7 @@ impl HolographicQuadLayer { #[cfg(feature = "Foundation")] pub fn Create(size: super::super::Foundation::Size) -> ::windows::core::Result { Self::IHolographicQuadLayerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), size, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1750,7 +1750,7 @@ impl HolographicQuadLayer { #[cfg(all(feature = "Foundation", feature = "Graphics_DirectX"))] pub fn CreateWithPixelFormat(size: super::super::Foundation::Size, pixelformat: super::DirectX::DirectXPixelFormat) -> ::windows::core::Result { Self::IHolographicQuadLayerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithPixelFormat)(::windows::core::Interface::as_raw(this), size, pixelformat, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1853,7 +1853,7 @@ impl HolographicQuadLayerUpdateParameters { pub fn AcquireBufferToUpdateContent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquireBufferToUpdateContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1891,7 +1891,7 @@ impl HolographicQuadLayerUpdateParameters { pub fn CanAcquireWithHardwareProtection(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanAcquireWithHardwareProtection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1900,7 +1900,7 @@ impl HolographicQuadLayerUpdateParameters { pub fn AcquireBufferToUpdateContentWithHardwareProtection(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquireBufferToUpdateContentWithHardwareProtection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2009,7 +2009,7 @@ impl HolographicSpace { pub fn PrimaryAdapterId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryAdapterId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2031,7 +2031,7 @@ impl HolographicSpace { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2049,7 +2049,7 @@ impl HolographicSpace { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2062,14 +2062,14 @@ impl HolographicSpace { pub fn CreateNextFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNextFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UserPresence(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserPresence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2081,7 +2081,7 @@ impl HolographicSpace { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserPresenceChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2106,14 +2106,14 @@ impl HolographicSpace { pub fn CreateFramePresentationMonitor(&self, maxqueuedreports: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFramePresentationMonitor)(::windows::core::Interface::as_raw(this), maxqueuedreports, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateFrameScanoutMonitor(&self, maxqueuedreports: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameScanoutMonitor)(::windows::core::Interface::as_raw(this), maxqueuedreports, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2124,19 +2124,19 @@ impl HolographicSpace { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::UI::Core::CoreWindow>>, { Self::IHolographicSpaceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForCoreWindow)(::windows::core::Interface::as_raw(this), window.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IHolographicSpaceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsAvailable() -> ::windows::core::Result { Self::IHolographicSpaceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2147,7 +2147,7 @@ impl HolographicSpace { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IHolographicSpaceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailableChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2158,7 +2158,7 @@ impl HolographicSpace { } pub fn IsConfigured() -> ::windows::core::Result { Self::IHolographicSpaceStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConfigured)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2247,7 +2247,7 @@ impl HolographicSpaceCameraAddedEventArgs { pub fn Camera(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Camera)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2256,7 +2256,7 @@ impl HolographicSpaceCameraAddedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2330,7 +2330,7 @@ impl HolographicSpaceCameraRemovedEventArgs { pub fn Camera(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Camera)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2488,7 +2488,7 @@ impl HolographicViewConfiguration { pub fn NativeRenderTargetSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NativeRenderTargetSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2497,7 +2497,7 @@ impl HolographicViewConfiguration { pub fn RenderTargetSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderTargetSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2506,7 +2506,7 @@ impl HolographicViewConfiguration { pub fn RequestRenderTargetSize(&self, size: super::super::Foundation::Size) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestRenderTargetSize)(::windows::core::Interface::as_raw(this), size, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2515,7 +2515,7 @@ impl HolographicViewConfiguration { pub fn SupportedPixelFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedPixelFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2524,7 +2524,7 @@ impl HolographicViewConfiguration { pub fn PixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2537,35 +2537,35 @@ impl HolographicViewConfiguration { pub fn IsStereo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStereo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RefreshRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RefreshRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Display(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Display)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2578,7 +2578,7 @@ impl HolographicViewConfiguration { pub fn SupportedDepthReprojectionMethods(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedDepthReprojectionMethods)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index f1bbf707d0..7ba4e81a4e 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -80,14 +80,14 @@ impl BitmapBuffer { pub fn GetPlaneCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPlaneCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPlaneDescription(&self, index: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPlaneDescription)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -102,7 +102,7 @@ impl BitmapBuffer { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -255,7 +255,7 @@ impl BitmapCodecInformation { pub fn CodecId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CodecId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -264,14 +264,14 @@ impl BitmapCodecInformation { pub fn FileExtensions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -280,7 +280,7 @@ impl BitmapCodecInformation { pub fn MimeTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MimeTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -354,21 +354,21 @@ impl BitmapDecoder { pub fn BitmapContainerProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapContainerProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DecoderInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecoderInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FrameCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -377,7 +377,7 @@ impl BitmapDecoder { pub fn GetPreviewAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPreviewAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -386,49 +386,49 @@ impl BitmapDecoder { pub fn GetFrameAsync(&self, frameindex: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFrameAsync)(::windows::core::Interface::as_raw(this), frameindex, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BmpDecoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BmpDecoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn JpegDecoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JpegDecoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn PngDecoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PngDecoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TiffDecoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TiffDecoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GifDecoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GifDecoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn JpegXRDecoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JpegXRDecoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn IcoDecoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IcoDecoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -436,7 +436,7 @@ impl BitmapDecoder { #[cfg(feature = "Foundation_Collections")] pub fn GetDecoderInformationEnumerator() -> ::windows::core::Result> { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDecoderInformationEnumerator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -448,7 +448,7 @@ impl BitmapDecoder { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -460,19 +460,19 @@ impl BitmapDecoder { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithIdAsync)(::windows::core::Interface::as_raw(this), decoderid, stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn HeifDecoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapDecoderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeifDecoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn WebpDecoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapDecoderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebpDecoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -481,70 +481,70 @@ impl BitmapDecoder { pub fn GetThumbnailAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BitmapProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapPixelFormat(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapAlphaMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapAlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DpiX(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DpiY(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelWidth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelHeight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OrientedPixelWidth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientedPixelWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OrientedPixelHeight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientedPixelHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -553,7 +553,7 @@ impl BitmapDecoder { pub fn GetPixelDataAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPixelDataAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -565,7 +565,7 @@ impl BitmapDecoder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPixelDataTransformedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, transform.into().abi(), exiforientationmode, colormanagementmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -574,7 +574,7 @@ impl BitmapDecoder { pub fn GetSoftwareBitmapAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSoftwareBitmapAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -583,7 +583,7 @@ impl BitmapDecoder { pub fn GetSoftwareBitmapConvertedAsync(&self, pixelformat: BitmapPixelFormat, alphamode: BitmapAlphaMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSoftwareBitmapConvertedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -595,7 +595,7 @@ impl BitmapDecoder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSoftwareBitmapTransformedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, transform.into().abi(), exiforientationmode, colormanagementmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -717,28 +717,28 @@ impl BitmapEncoder { pub fn EncoderInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncoderInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapContainerProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapContainerProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsThumbnailGenerated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsThumbnailGenerated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -749,7 +749,7 @@ impl BitmapEncoder { pub fn GeneratedThumbnailWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeneratedThumbnailWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -760,7 +760,7 @@ impl BitmapEncoder { pub fn GeneratedThumbnailHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeneratedThumbnailHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -771,7 +771,7 @@ impl BitmapEncoder { pub fn BitmapTransform(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -784,7 +784,7 @@ impl BitmapEncoder { pub fn GoToNextFrameAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GoToNextFrameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -797,7 +797,7 @@ impl BitmapEncoder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GoToNextFrameWithEncodingOptionsAsync)(::windows::core::Interface::as_raw(this), encodingoptions.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -806,43 +806,43 @@ impl BitmapEncoder { pub fn FlushAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BmpEncoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BmpEncoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn JpegEncoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JpegEncoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn PngEncoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PngEncoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn TiffEncoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TiffEncoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn GifEncoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GifEncoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn JpegXREncoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JpegXREncoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -850,7 +850,7 @@ impl BitmapEncoder { #[cfg(feature = "Foundation_Collections")] pub fn GetEncoderInformationEnumerator() -> ::windows::core::Result> { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEncoderInformationEnumerator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -862,7 +862,7 @@ impl BitmapEncoder { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), encoderid, stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -876,7 +876,7 @@ impl BitmapEncoder { E1: ::std::convert::Into<::windows::core::Error>, { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithEncodingOptionsAsync)(::windows::core::Interface::as_raw(this), encoderid, stream.try_into().map_err(|e| e.into())?.abi(), encodingoptions.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -889,7 +889,7 @@ impl BitmapEncoder { P1: ::std::convert::Into<::windows::core::InParam<'a, BitmapDecoder>>, { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForTranscodingAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), bitmapdecoder.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -900,13 +900,13 @@ impl BitmapEncoder { P0: ::std::convert::Into<::windows::core::InParam<'a, BitmapDecoder>>, { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForInPlacePropertyEncodingAsync)(::windows::core::Interface::as_raw(this), bitmapdecoder.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn HeifEncoderId() -> ::windows::core::Result<::windows::core::GUID> { Self::IBitmapEncoderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeifEncoderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -1034,70 +1034,70 @@ impl BitmapFrame { pub fn GetThumbnailAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BitmapProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapPixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapAlphaMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapAlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DpiX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DpiY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OrientedPixelWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientedPixelWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OrientedPixelHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientedPixelHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1106,7 +1106,7 @@ impl BitmapFrame { pub fn GetPixelDataAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPixelDataAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1118,7 +1118,7 @@ impl BitmapFrame { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPixelDataTransformedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, transform.into().abi(), exiforientationmode, colormanagementmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1127,7 +1127,7 @@ impl BitmapFrame { pub fn GetSoftwareBitmapAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSoftwareBitmapAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1136,7 +1136,7 @@ impl BitmapFrame { pub fn GetSoftwareBitmapConvertedAsync(&self, pixelformat: BitmapPixelFormat, alphamode: BitmapAlphaMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSoftwareBitmapConvertedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1148,7 +1148,7 @@ impl BitmapFrame { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSoftwareBitmapTransformedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, transform.into().abi(), exiforientationmode, colormanagementmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1383,7 +1383,7 @@ impl BitmapProperties { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoset.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1396,7 +1396,7 @@ impl BitmapProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1495,7 +1495,7 @@ impl BitmapPropertiesView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1599,7 +1599,7 @@ impl BitmapPropertySet { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1611,7 +1611,7 @@ impl BitmapPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1620,7 +1620,7 @@ impl BitmapPropertySet { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1632,7 +1632,7 @@ impl BitmapPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1641,7 +1641,7 @@ impl BitmapPropertySet { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1654,7 +1654,7 @@ impl BitmapPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1899,7 +1899,7 @@ impl BitmapTransform { pub fn ScaledWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaledWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1910,7 +1910,7 @@ impl BitmapTransform { pub fn ScaledHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaledHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1921,7 +1921,7 @@ impl BitmapTransform { pub fn InterpolationMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterpolationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1932,7 +1932,7 @@ impl BitmapTransform { pub fn Flip(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Flip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1943,7 +1943,7 @@ impl BitmapTransform { pub fn Rotation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rotation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1954,7 +1954,7 @@ impl BitmapTransform { pub fn Bounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2032,7 +2032,7 @@ impl BitmapTypedValue { pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2041,7 +2041,7 @@ impl BitmapTypedValue { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2052,7 +2052,7 @@ impl BitmapTypedValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IInspectable>>, { Self::IBitmapTypedValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), value.into().abi(), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2404,70 +2404,70 @@ impl IBitmapFrame { pub fn GetThumbnailAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BitmapProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapPixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapAlphaMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapAlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DpiX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DpiY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OrientedPixelWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientedPixelWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OrientedPixelHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientedPixelHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2476,7 +2476,7 @@ impl IBitmapFrame { pub fn GetPixelDataAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPixelDataAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2488,7 +2488,7 @@ impl IBitmapFrame { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPixelDataTransformedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, transform.into().abi(), exiforientationmode, colormanagementmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2585,7 +2585,7 @@ impl IBitmapFrameWithSoftwareBitmap { pub fn GetSoftwareBitmapAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSoftwareBitmapAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2594,7 +2594,7 @@ impl IBitmapFrameWithSoftwareBitmap { pub fn GetSoftwareBitmapConvertedAsync(&self, pixelformat: BitmapPixelFormat, alphamode: BitmapAlphaMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSoftwareBitmapConvertedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2606,7 +2606,7 @@ impl IBitmapFrameWithSoftwareBitmap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSoftwareBitmapTransformedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, transform.into().abi(), exiforientationmode, colormanagementmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2615,70 +2615,70 @@ impl IBitmapFrameWithSoftwareBitmap { pub fn GetThumbnailAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BitmapProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapPixelFormat(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapAlphaMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapAlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DpiX(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DpiY(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelWidth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelHeight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OrientedPixelWidth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientedPixelWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OrientedPixelHeight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrientedPixelHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2687,7 +2687,7 @@ impl IBitmapFrameWithSoftwareBitmap { pub fn GetPixelDataAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPixelDataAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2699,7 +2699,7 @@ impl IBitmapFrameWithSoftwareBitmap { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPixelDataTransformedAsync)(::windows::core::Interface::as_raw(this), pixelformat, alphamode, transform.into().abi(), exiforientationmode, colormanagementmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2826,7 +2826,7 @@ impl IBitmapPropertiesView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3061,7 +3061,7 @@ impl ImageStream { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3074,7 +3074,7 @@ impl ImageStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3087,7 +3087,7 @@ impl ImageStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3096,7 +3096,7 @@ impl ImageStream { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3105,7 +3105,7 @@ impl ImageStream { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3120,7 +3120,7 @@ impl ImageStream { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3129,7 +3129,7 @@ impl ImageStream { pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3138,7 +3138,7 @@ impl ImageStream { pub fn Position(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3153,7 +3153,7 @@ impl ImageStream { pub fn CloneStream(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3162,7 +3162,7 @@ impl ImageStream { pub fn CanRead(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3171,7 +3171,7 @@ impl ImageStream { pub fn CanWrite(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3428,7 +3428,7 @@ impl PixelDataProvider { pub fn DetachPixelData(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachPixelData)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -3547,35 +3547,35 @@ impl SoftwareBitmap { pub fn BitmapPixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapAlphaMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapAlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3586,7 +3586,7 @@ impl SoftwareBitmap { pub fn DpiX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3597,14 +3597,14 @@ impl SoftwareBitmap { pub fn DpiY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LockBuffer(&self, mode: BitmapBufferAccessMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LockBuffer)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3638,19 +3638,19 @@ impl SoftwareBitmap { pub fn GetReadOnlyView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetReadOnlyView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(format: BitmapPixelFormat, width: i32, height: i32) -> ::windows::core::Result { Self::ISoftwareBitmapFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), format, width, height, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWithAlpha(format: BitmapPixelFormat, width: i32, height: i32, alpha: BitmapAlphaMode) -> ::windows::core::Result { Self::ISoftwareBitmapFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAlpha)(::windows::core::Interface::as_raw(this), format, width, height, alpha, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3659,7 +3659,7 @@ impl SoftwareBitmap { P0: ::std::convert::Into<::windows::core::InParam<'a, SoftwareBitmap>>, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copy)(::windows::core::Interface::as_raw(this), source.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3668,7 +3668,7 @@ impl SoftwareBitmap { P0: ::std::convert::Into<::windows::core::InParam<'a, SoftwareBitmap>>, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Convert)(::windows::core::Interface::as_raw(this), source.into().abi(), format, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3677,7 +3677,7 @@ impl SoftwareBitmap { P0: ::std::convert::Into<::windows::core::InParam<'a, SoftwareBitmap>>, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertWithAlpha)(::windows::core::Interface::as_raw(this), source.into().abi(), format, alpha, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3689,7 +3689,7 @@ impl SoftwareBitmap { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCopyFromBuffer)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), format, width, height, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3701,7 +3701,7 @@ impl SoftwareBitmap { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCopyWithAlphaFromBuffer)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), format, width, height, alpha, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3713,7 +3713,7 @@ impl SoftwareBitmap { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCopyFromSurfaceAsync)(::windows::core::Interface::as_raw(this), surface.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3725,7 +3725,7 @@ impl SoftwareBitmap { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCopyWithAlphaFromSurfaceAsync)(::windows::core::Interface::as_raw(this), surface.try_into().map_err(|e| e.into())?.abi(), alpha, result__.as_mut_ptr()).from_abi::>(result__) }) } 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 14106fa1d4..3276644808 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs @@ -152,21 +152,21 @@ impl IPrintCustomOptionDetails { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -180,7 +180,7 @@ impl IPrintCustomOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -191,14 +191,14 @@ impl IPrintCustomOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -208,7 +208,7 @@ impl IPrintCustomOptionDetails { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -383,21 +383,21 @@ impl IPrintItemListOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -411,7 +411,7 @@ impl IPrintItemListOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -422,14 +422,14 @@ impl IPrintItemListOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -439,7 +439,7 @@ impl IPrintItemListOptionDetails { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -568,28 +568,28 @@ impl IPrintNumberOptionDetails { pub fn MinValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -603,7 +603,7 @@ impl IPrintNumberOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -614,14 +614,14 @@ impl IPrintNumberOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -631,7 +631,7 @@ impl IPrintNumberOptionDetails { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -726,14 +726,14 @@ impl IPrintOptionDetails { pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -747,7 +747,7 @@ impl IPrintOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -758,14 +758,14 @@ impl IPrintOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -775,7 +775,7 @@ impl IPrintOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -994,21 +994,21 @@ impl IPrintTextOptionDetails { pub fn MaxCharacters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxCharacters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1022,7 +1022,7 @@ impl IPrintTextOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1033,14 +1033,14 @@ impl IPrintTextOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1050,7 +1050,7 @@ impl IPrintTextOptionDetails { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1151,7 +1151,7 @@ impl PrintBindingOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1165,7 +1165,7 @@ impl PrintBindingOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1174,21 +1174,21 @@ impl PrintBindingOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1202,7 +1202,7 @@ impl PrintBindingOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1213,14 +1213,14 @@ impl PrintBindingOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1230,7 +1230,7 @@ impl PrintBindingOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1349,7 +1349,7 @@ impl PrintBorderingOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1363,7 +1363,7 @@ impl PrintBorderingOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1372,21 +1372,21 @@ impl PrintBorderingOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1400,7 +1400,7 @@ impl PrintBorderingOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1411,14 +1411,14 @@ impl PrintBorderingOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1428,7 +1428,7 @@ impl PrintBorderingOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1547,7 +1547,7 @@ impl PrintCollationOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1561,7 +1561,7 @@ impl PrintCollationOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1570,21 +1570,21 @@ impl PrintCollationOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1598,7 +1598,7 @@ impl PrintCollationOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1609,14 +1609,14 @@ impl PrintCollationOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1626,7 +1626,7 @@ impl PrintCollationOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1745,7 +1745,7 @@ impl PrintColorModeOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1759,7 +1759,7 @@ impl PrintColorModeOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1768,21 +1768,21 @@ impl PrintColorModeOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1796,7 +1796,7 @@ impl PrintColorModeOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1807,14 +1807,14 @@ impl PrintColorModeOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1824,7 +1824,7 @@ impl PrintColorModeOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1943,7 +1943,7 @@ impl PrintCopiesOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1957,35 +1957,35 @@ impl PrintCopiesOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MinValue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxValue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1999,7 +1999,7 @@ impl PrintCopiesOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2010,14 +2010,14 @@ impl PrintCopiesOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2027,7 +2027,7 @@ impl PrintCopiesOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2139,7 +2139,7 @@ impl PrintCustomItemDetails { pub fn ItemId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2153,7 +2153,7 @@ impl PrintCustomItemDetails { pub fn ItemDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2255,7 +2255,7 @@ impl PrintCustomItemListOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2269,7 +2269,7 @@ impl PrintCustomItemListOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2283,7 +2283,7 @@ impl PrintCustomItemListOptionDetails { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2292,21 +2292,21 @@ impl PrintCustomItemListOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2320,7 +2320,7 @@ impl PrintCustomItemListOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2331,14 +2331,14 @@ impl PrintCustomItemListOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2348,7 +2348,7 @@ impl PrintCustomItemListOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2486,7 +2486,7 @@ impl PrintCustomTextOptionDetails { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2497,7 +2497,7 @@ impl PrintCustomTextOptionDetails { pub fn MaxCharacters(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxCharacters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2511,7 +2511,7 @@ impl PrintCustomTextOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2525,21 +2525,21 @@ impl PrintCustomTextOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2553,7 +2553,7 @@ impl PrintCustomTextOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2564,14 +2564,14 @@ impl PrintCustomTextOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2581,7 +2581,7 @@ impl PrintCustomTextOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2700,7 +2700,7 @@ impl PrintCustomToggleOptionDetails { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2714,7 +2714,7 @@ impl PrintCustomToggleOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2728,21 +2728,21 @@ impl PrintCustomToggleOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2756,7 +2756,7 @@ impl PrintCustomToggleOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2767,14 +2767,14 @@ impl PrintCustomToggleOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2784,7 +2784,7 @@ impl PrintCustomToggleOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2903,7 +2903,7 @@ impl PrintDuplexOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2917,7 +2917,7 @@ impl PrintDuplexOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2926,21 +2926,21 @@ impl PrintDuplexOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2954,7 +2954,7 @@ impl PrintDuplexOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2965,14 +2965,14 @@ impl PrintDuplexOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2982,7 +2982,7 @@ impl PrintDuplexOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3101,7 +3101,7 @@ impl PrintHolePunchOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3115,7 +3115,7 @@ impl PrintHolePunchOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3124,21 +3124,21 @@ impl PrintHolePunchOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3152,7 +3152,7 @@ impl PrintHolePunchOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3163,14 +3163,14 @@ impl PrintHolePunchOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3180,7 +3180,7 @@ impl PrintHolePunchOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3294,7 +3294,7 @@ impl PrintMediaSizeOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3308,7 +3308,7 @@ impl PrintMediaSizeOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3322,21 +3322,21 @@ impl PrintMediaSizeOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3350,7 +3350,7 @@ impl PrintMediaSizeOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3361,14 +3361,14 @@ impl PrintMediaSizeOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3378,7 +3378,7 @@ impl PrintMediaSizeOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3492,7 +3492,7 @@ impl PrintMediaTypeOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3506,7 +3506,7 @@ impl PrintMediaTypeOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3520,21 +3520,21 @@ impl PrintMediaTypeOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3548,7 +3548,7 @@ impl PrintMediaTypeOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3559,14 +3559,14 @@ impl PrintMediaTypeOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3576,7 +3576,7 @@ impl PrintMediaTypeOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3790,21 +3790,21 @@ impl PrintOrientationOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3818,7 +3818,7 @@ impl PrintOrientationOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3829,14 +3829,14 @@ impl PrintOrientationOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3846,7 +3846,7 @@ impl PrintOrientationOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3860,7 +3860,7 @@ impl PrintOrientationOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3874,7 +3874,7 @@ impl PrintOrientationOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3986,14 +3986,14 @@ impl PrintPageRangeOptionDetails { pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4007,7 +4007,7 @@ impl PrintPageRangeOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4018,14 +4018,14 @@ impl PrintPageRangeOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4035,7 +4035,7 @@ impl PrintPageRangeOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4049,7 +4049,7 @@ impl PrintPageRangeOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4063,7 +4063,7 @@ impl PrintPageRangeOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4158,21 +4158,21 @@ impl PrintQualityOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4186,7 +4186,7 @@ impl PrintQualityOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4197,14 +4197,14 @@ impl PrintQualityOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4214,7 +4214,7 @@ impl PrintQualityOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4228,7 +4228,7 @@ impl PrintQualityOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4242,7 +4242,7 @@ impl PrintQualityOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4356,21 +4356,21 @@ impl PrintStapleOptionDetails { pub fn Items(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn OptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4384,7 +4384,7 @@ impl PrintStapleOptionDetails { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4395,14 +4395,14 @@ impl PrintStapleOptionDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4412,7 +4412,7 @@ impl PrintStapleOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4426,7 +4426,7 @@ impl PrintStapleOptionDetails { pub fn WarningText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WarningText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4440,7 +4440,7 @@ impl PrintStapleOptionDetails { pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4552,7 +4552,7 @@ impl PrintTaskOptionChangedEventArgs { pub fn OptionId(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4628,7 +4628,7 @@ impl PrintTaskOptionDetails { pub fn Options(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4639,7 +4639,7 @@ impl PrintTaskOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateItemListOption)(::windows::core::Interface::as_raw(this), optionid.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4650,7 +4650,7 @@ impl PrintTaskOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTextOption)(::windows::core::Interface::as_raw(this), optionid.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4662,7 +4662,7 @@ impl PrintTaskOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionChanged)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4680,7 +4680,7 @@ impl PrintTaskOptionDetails { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginValidation)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4697,7 +4697,7 @@ impl PrintTaskOptionDetails { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateToggleOption)(::windows::core::Interface::as_raw(this), optionid.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4706,7 +4706,7 @@ impl PrintTaskOptionDetails { P0: ::std::convert::Into<::windows::core::InParam<'a, super::PrintTaskOptions>>, { Self::IPrintTaskOptionDetailsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFromPrintTaskOptions)(::windows::core::Interface::as_raw(this), printtaskoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4715,7 +4715,7 @@ impl PrintTaskOptionDetails { pub fn GetPageDescription(&self, jobpagenumber: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPageDescription)(::windows::core::Interface::as_raw(this), jobpagenumber, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4724,7 +4724,7 @@ impl PrintTaskOptionDetails { pub fn DisplayedOptions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayedOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs index cc189c2ec3..e97dd067e5 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs @@ -158,7 +158,7 @@ impl PrintSupportExtensionSession { pub fn Printer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Printer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -170,7 +170,7 @@ impl PrintSupportExtensionSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintTicketValidationRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -188,7 +188,7 @@ impl PrintSupportExtensionSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintDeviceCapabilitiesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -272,7 +272,7 @@ impl PrintSupportExtensionTriggerDetails { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -348,7 +348,7 @@ impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs { pub fn GetCurrentPrintDeviceCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentPrintDeviceCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -366,7 +366,7 @@ impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -442,7 +442,7 @@ impl PrintSupportPrintTicketValidationRequestedEventArgs { pub fn PrintTicket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintTicket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -455,7 +455,7 @@ impl PrintSupportPrintTicketValidationRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -531,7 +531,7 @@ impl PrintSupportSessionInfo { pub fn SourceAppInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceAppInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -540,7 +540,7 @@ impl PrintSupportSessionInfo { pub fn Printer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Printer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -616,7 +616,7 @@ impl PrintSupportSettingsActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -625,7 +625,7 @@ impl PrintSupportSettingsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -634,7 +634,7 @@ impl PrintSupportSettingsActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -643,14 +643,14 @@ impl PrintSupportSettingsActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -659,7 +659,7 @@ impl PrintSupportSettingsActivatedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -779,21 +779,21 @@ impl PrintSupportSettingsUISession { pub fn SessionPrintTicket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionPrintTicket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LaunchKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -809,7 +809,7 @@ impl PrintSupportSettingsUISession { pub fn SessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs index c031953251..5bc7ad8320 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs @@ -214,14 +214,14 @@ impl PrintTicketCapabilities { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn XmlNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -230,112 +230,112 @@ impl PrintTicketCapabilities { pub fn XmlNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentBindingFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentBindingFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentCollateFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentCollateFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentDuplexFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentDuplexFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentHolePunchFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentHolePunchFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentInputBinFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentInputBinFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentNUpFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentNUpFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentStapleFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentStapleFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn JobPasscodeFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JobPasscodeFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageBorderlessFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageBorderlessFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageMediaSizeFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageMediaSizeFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageMediaTypeFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageMediaTypeFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageOrientationFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageOrientationFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageOutputColorFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageOutputColorFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageOutputQualityFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageOutputQualityFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageResolutionFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageResolutionFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -346,7 +346,7 @@ impl PrintTicketCapabilities { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFeature)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -357,7 +357,7 @@ impl PrintTicketCapabilities { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetParameterDefinition)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -431,14 +431,14 @@ impl PrintTicketFeature { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn XmlNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -447,14 +447,14 @@ impl PrintTicketFeature { pub fn XmlNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -465,7 +465,7 @@ impl PrintTicketFeature { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOption)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -474,14 +474,14 @@ impl PrintTicketFeature { pub fn Options(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetSelectedOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSelectedOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -495,7 +495,7 @@ impl PrintTicketFeature { pub fn SelectionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -603,14 +603,14 @@ impl PrintTicketOption { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn XmlNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -619,14 +619,14 @@ impl PrintTicketOption { pub fn XmlNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -639,7 +639,7 @@ impl PrintTicketOption { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertyNode)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -652,7 +652,7 @@ impl PrintTicketOption { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScoredPropertyNode)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -663,7 +663,7 @@ impl PrintTicketOption { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertyValue)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -674,7 +674,7 @@ impl PrintTicketOption { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScoredPropertyValue)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -783,14 +783,14 @@ impl PrintTicketParameterDefinition { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn XmlNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -799,35 +799,35 @@ impl PrintTicketParameterDefinition { pub fn XmlNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DataType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UnitType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnitType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RangeMin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RangeMin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RangeMax(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RangeMax)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -901,14 +901,14 @@ impl PrintTicketParameterInitializer { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn XmlNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -917,7 +917,7 @@ impl PrintTicketParameterInitializer { pub fn XmlNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -931,7 +931,7 @@ impl PrintTicketParameterInitializer { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1005,21 +1005,21 @@ impl PrintTicketValue { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetValueAsInteger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetValueAsInteger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetValueAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetValueAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1128,14 +1128,14 @@ impl WorkflowPrintTicket { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn XmlNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1144,119 +1144,119 @@ impl WorkflowPrintTicket { pub fn XmlNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XmlNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentBindingFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentBindingFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentCollateFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentCollateFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentDuplexFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentDuplexFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentHolePunchFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentHolePunchFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentInputBinFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentInputBinFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentNUpFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentNUpFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DocumentStapleFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentStapleFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn JobPasscodeFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JobPasscodeFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageBorderlessFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageBorderlessFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageMediaSizeFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageMediaSizeFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageMediaTypeFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageMediaTypeFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageOrientationFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageOrientationFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageOutputColorFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageOutputColorFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageOutputQualityFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageOutputQualityFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageResolutionFeature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageResolutionFeature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1267,7 +1267,7 @@ impl WorkflowPrintTicket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFeature)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1276,7 +1276,7 @@ impl WorkflowPrintTicket { pub fn NotifyXmlChangedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotifyXmlChangedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1285,7 +1285,7 @@ impl WorkflowPrintTicket { pub fn ValidateAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1296,7 +1296,7 @@ impl WorkflowPrintTicket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetParameterInitializer)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1307,7 +1307,7 @@ impl WorkflowPrintTicket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetParameterInitializerAsInteger)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), integervalue, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1319,7 +1319,7 @@ impl WorkflowPrintTicket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetParameterInitializerAsString)(::windows::core::Interface::as_raw(this), name.into().abi(), xmlnamespace.into().abi(), stringvalue.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1329,7 +1329,7 @@ impl WorkflowPrintTicket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MergeAndValidateTicket)(::windows::core::Interface::as_raw(this), deltashematicket.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1403,14 +1403,14 @@ impl WorkflowPrintTicketValidationResult { pub fn Validated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Validated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs index 9eb411b678..9137a4f8fe 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs @@ -608,7 +608,7 @@ impl PrintWorkflowBackgroundSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetupRequested)(::windows::core::Interface::as_raw(this), setupeventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -626,7 +626,7 @@ impl PrintWorkflowBackgroundSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Submitted)(::windows::core::Interface::as_raw(this), submittedeventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -639,7 +639,7 @@ impl PrintWorkflowBackgroundSession { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -719,14 +719,14 @@ impl PrintWorkflowBackgroundSetupRequestedEventArgs { pub fn GetUserPrintTicketAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUserPrintTicketAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -739,7 +739,7 @@ impl PrintWorkflowBackgroundSetupRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -813,21 +813,21 @@ impl PrintWorkflowConfiguration { pub fn SourceAppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceAppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn JobTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JobTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SessionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -910,7 +910,7 @@ impl PrintWorkflowForegroundSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetupRequested)(::windows::core::Interface::as_raw(this), setupeventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -928,7 +928,7 @@ impl PrintWorkflowForegroundSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XpsDataAvailable)(::windows::core::Interface::as_raw(this), xpsdataavailableeventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -941,7 +941,7 @@ impl PrintWorkflowForegroundSession { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1021,14 +1021,14 @@ impl PrintWorkflowForegroundSetupRequestedEventArgs { pub fn GetUserPrintTicketAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUserPrintTicketAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1037,7 +1037,7 @@ impl PrintWorkflowForegroundSetupRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1147,7 +1147,7 @@ impl PrintWorkflowJobActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1156,7 +1156,7 @@ impl PrintWorkflowJobActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1165,7 +1165,7 @@ impl PrintWorkflowJobActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1174,14 +1174,14 @@ impl PrintWorkflowJobActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1299,7 +1299,7 @@ impl PrintWorkflowJobBackgroundSession { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1311,7 +1311,7 @@ impl PrintWorkflowJobBackgroundSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JobStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1329,7 +1329,7 @@ impl PrintWorkflowJobBackgroundSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PdlModificationRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1413,14 +1413,14 @@ impl PrintWorkflowJobNotificationEventArgs { pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PrinterJob(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrinterJob)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1429,7 +1429,7 @@ impl PrintWorkflowJobNotificationEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1503,7 +1503,7 @@ impl PrintWorkflowJobStartingEventArgs { pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1512,7 +1512,7 @@ impl PrintWorkflowJobStartingEventArgs { pub fn Printer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Printer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1525,7 +1525,7 @@ impl PrintWorkflowJobStartingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1599,7 +1599,7 @@ impl PrintWorkflowJobTriggerDetails { pub fn PrintWorkflowJobSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintWorkflowJobSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1673,7 +1673,7 @@ impl PrintWorkflowJobUISession { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1685,7 +1685,7 @@ impl PrintWorkflowJobUISession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PdlDataAvailable)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1703,7 +1703,7 @@ impl PrintWorkflowJobUISession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JobNotification)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1792,7 +1792,7 @@ impl PrintWorkflowObjectModelSourceFileContent { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPrintWorkflowObjectModelSourceFileContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), xpsstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1981,7 +1981,7 @@ impl PrintWorkflowPdlConverter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertPdlAsync)(::windows::core::Interface::as_raw(this), printticket.into().abi(), inputstream.try_into().map_err(|e| e.into())?.abi(), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2055,21 +2055,21 @@ impl PrintWorkflowPdlDataAvailableEventArgs { pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PrinterJob(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrinterJob)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourceContent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2078,7 +2078,7 @@ impl PrintWorkflowPdlDataAvailableEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2152,28 +2152,28 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PrinterJob(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrinterJob)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourceContent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UILauncher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UILauncher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2183,7 +2183,7 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateJobOnPrinter)(::windows::core::Interface::as_raw(this), targetcontenttype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2197,7 +2197,7 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateJobOnPrinterWithAttributes)(::windows::core::Interface::as_raw(this), jobattributes.try_into().map_err(|e| e.into())?.abi(), targetcontenttype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2211,14 +2211,14 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateJobOnPrinterWithAttributesBuffer)(::windows::core::Interface::as_raw(this), jobattributesbuffer.try_into().map_err(|e| e.into())?.abi(), targetcontenttype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPdlConverter(&self, conversiontype: PrintWorkflowPdlConversionType) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPdlConverter)(::windows::core::Interface::as_raw(this), conversiontype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2227,7 +2227,7 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2301,7 +2301,7 @@ impl PrintWorkflowPdlSourceContent { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2310,7 +2310,7 @@ impl PrintWorkflowPdlSourceContent { pub fn GetInputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2319,7 +2319,7 @@ impl PrintWorkflowPdlSourceContent { pub fn GetContentFileAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContentFileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2395,7 +2395,7 @@ impl PrintWorkflowPdlTargetStream { pub fn GetOutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2473,7 +2473,7 @@ impl PrintWorkflowPrinterJob { pub fn JobId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JobId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2482,14 +2482,14 @@ impl PrintWorkflowPrinterJob { pub fn Printer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Printer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetJobStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetJobStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2498,7 +2498,7 @@ impl PrintWorkflowPrinterJob { pub fn GetJobPrintTicket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetJobPrintTicket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2511,7 +2511,7 @@ impl PrintWorkflowPrinterJob { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetJobAttributesAsBuffer)(::windows::core::Interface::as_raw(this), attributenames.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2524,7 +2524,7 @@ impl PrintWorkflowPrinterJob { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetJobAttributes)(::windows::core::Interface::as_raw(this), attributenames.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2537,7 +2537,7 @@ impl PrintWorkflowPrinterJob { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetJobAttributesFromBuffer)(::windows::core::Interface::as_raw(this), jobattributesbuffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2550,7 +2550,7 @@ impl PrintWorkflowPrinterJob { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetJobAttributes)(::windows::core::Interface::as_raw(this), jobattributes.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2699,21 +2699,21 @@ impl PrintWorkflowSourceContent { pub fn GetJobPrintTicketAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetJobPrintTicketAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetSourceSpoolDataAsStreamContent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSourceSpoolDataAsStreamContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSourceSpoolDataAsXpsObjectModel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSourceSpoolDataAsXpsObjectModel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2789,7 +2789,7 @@ impl PrintWorkflowSpoolStreamContent { pub fn GetInputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2865,7 +2865,7 @@ impl PrintWorkflowStreamTarget { pub fn GetOutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2939,7 +2939,7 @@ impl PrintWorkflowSubmittedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2951,7 +2951,7 @@ impl PrintWorkflowSubmittedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTarget)(::windows::core::Interface::as_raw(this), jobprintticket.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2960,7 +2960,7 @@ impl PrintWorkflowSubmittedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3038,14 +3038,14 @@ impl PrintWorkflowSubmittedOperation { pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn XpsContent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XpsContent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3154,14 +3154,14 @@ impl PrintWorkflowTarget { pub fn TargetAsStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetAsStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TargetAsXpsObjectModelPackage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetAsXpsObjectModelPackage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3235,7 +3235,7 @@ impl PrintWorkflowTriggerDetails { pub fn PrintWorkflowSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintWorkflowSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3311,7 +3311,7 @@ impl PrintWorkflowUIActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3320,7 +3320,7 @@ impl PrintWorkflowUIActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3329,7 +3329,7 @@ impl PrintWorkflowUIActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3338,14 +3338,14 @@ impl PrintWorkflowUIActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PrintWorkflowSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintWorkflowSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3499,7 +3499,7 @@ impl PrintWorkflowUILauncher { pub fn IsUILaunchEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUILaunchEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3508,7 +3508,7 @@ impl PrintWorkflowUILauncher { pub fn LaunchAndCompleteUIAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchAndCompleteUIAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3582,7 +3582,7 @@ impl PrintWorkflowXpsDataAvailableEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3591,7 +3591,7 @@ impl PrintWorkflowXpsDataAvailableEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs index 1f2394c165..d1fdb8b488 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -317,7 +317,7 @@ impl IPrintTaskOptionsCore { pub fn GetPageDescription(&self, jobpagenumber: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPageDescription)(::windows::core::Interface::as_raw(this), jobpagenumber, result__.as_mut_ptr()).from_abi::(result__) } } @@ -399,7 +399,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn MediaSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -410,7 +410,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn MediaType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -421,7 +421,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -432,7 +432,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn PrintQuality(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintQuality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -443,7 +443,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn ColorMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -454,7 +454,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn Duplex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duplex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -465,7 +465,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn Collation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Collation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -476,7 +476,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn Staple(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Staple)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -487,7 +487,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn HolePunch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HolePunch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -498,21 +498,21 @@ impl IPrintTaskOptionsCoreProperties { pub fn Binding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Binding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinCopies(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinCopies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxCopies(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxCopies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -523,7 +523,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn NumberOfCopies(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfCopies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -623,7 +623,7 @@ impl IPrintTaskOptionsCoreUIConfiguration { pub fn DisplayedOptions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayedOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1100,7 +1100,7 @@ impl PrintManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintTaskRequested)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1112,7 +1112,7 @@ impl PrintManager { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IPrintManagerStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1120,13 +1120,13 @@ impl PrintManager { #[cfg(feature = "Foundation")] pub fn ShowPrintUIAsync() -> ::windows::core::Result> { Self::IPrintManagerStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowPrintUIAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IPrintManagerStatic2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1578,7 +1578,7 @@ impl PrintPageInfo { pub fn MediaSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1593,7 +1593,7 @@ impl PrintPageInfo { pub fn PageSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1604,7 +1604,7 @@ impl PrintPageInfo { pub fn DpiX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1615,7 +1615,7 @@ impl PrintPageInfo { pub fn DpiY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DpiY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1626,7 +1626,7 @@ impl PrintPageInfo { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1700,26 +1700,26 @@ impl PrintPageRange { pub fn FirstPageNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstPageNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LastPageNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastPageNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(firstpage: i32, lastpage: i32) -> ::windows::core::Result { Self::IPrintPageRangeFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), firstpage, lastpage, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWithSinglePage(page: i32) -> ::windows::core::Result { Self::IPrintPageRangeFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithSinglePage)(::windows::core::Interface::as_raw(this), page, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1802,7 +1802,7 @@ impl PrintPageRangeOptions { pub fn AllowAllPages(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowAllPages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1813,7 +1813,7 @@ impl PrintPageRangeOptions { pub fn AllowCurrentPage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowCurrentPage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1824,7 +1824,7 @@ impl PrintPageRangeOptions { pub fn AllowCustomSetOfPages(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowCustomSetOfPages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1987,21 +1987,21 @@ impl PrintTask { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Options(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2013,7 +2013,7 @@ impl PrintTask { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Previewing)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2031,7 +2031,7 @@ impl PrintTask { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Submitting)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2049,7 +2049,7 @@ impl PrintTask { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progressing)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2067,7 +2067,7 @@ impl PrintTask { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2084,7 +2084,7 @@ impl PrintTask { pub fn IsPreviewEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPreviewEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2095,7 +2095,7 @@ impl PrintTask { pub fn IsPrinterTargetEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrinterTargetEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2106,7 +2106,7 @@ impl PrintTask { pub fn Is3DManufacturingTargetEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Is3DManufacturingTargetEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2180,7 +2180,7 @@ impl PrintTaskCompletedEventArgs { pub fn Completion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2294,7 +2294,7 @@ impl PrintTaskOptions { pub fn Bordering(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bordering)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2306,14 +2306,14 @@ impl PrintTaskOptions { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPagePrintTicket)(::windows::core::Interface::as_raw(this), printpageinfo.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageRangeOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageRangeOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2322,7 +2322,7 @@ impl PrintTaskOptions { pub fn CustomPageRanges(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomPageRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2331,7 +2331,7 @@ impl PrintTaskOptions { pub fn GetPageDescription(&self, jobpagenumber: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPageDescription)(::windows::core::Interface::as_raw(this), jobpagenumber, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2342,7 +2342,7 @@ impl PrintTaskOptions { pub fn MediaSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2353,7 +2353,7 @@ impl PrintTaskOptions { pub fn MediaType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2364,7 +2364,7 @@ impl PrintTaskOptions { pub fn Orientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2375,7 +2375,7 @@ impl PrintTaskOptions { pub fn PrintQuality(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintQuality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2386,7 +2386,7 @@ impl PrintTaskOptions { pub fn ColorMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2397,7 +2397,7 @@ impl PrintTaskOptions { pub fn Duplex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duplex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2408,7 +2408,7 @@ impl PrintTaskOptions { pub fn Collation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Collation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2419,7 +2419,7 @@ impl PrintTaskOptions { pub fn Staple(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Staple)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2430,7 +2430,7 @@ impl PrintTaskOptions { pub fn HolePunch(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HolePunch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2441,21 +2441,21 @@ impl PrintTaskOptions { pub fn Binding(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Binding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinCopies(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinCopies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxCopies(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxCopies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2466,7 +2466,7 @@ impl PrintTaskOptions { pub fn NumberOfCopies(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfCopies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2475,7 +2475,7 @@ impl PrintTaskOptions { pub fn DisplayedOptions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayedOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2606,7 +2606,7 @@ impl PrintTaskProgressingEventArgs { pub fn DocumentPageCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentPageCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2682,7 +2682,7 @@ impl PrintTaskRequest { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2693,14 +2693,14 @@ impl PrintTaskRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePrintTask)(::windows::core::Interface::as_raw(this), title.into().abi(), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2845,7 +2845,7 @@ impl PrintTaskRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2921,7 +2921,7 @@ impl PrintTaskSourceRequestedArgs { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2936,7 +2936,7 @@ impl PrintTaskSourceRequestedArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3166,91 +3166,91 @@ pub struct StandardPrintTaskOptions; impl StandardPrintTaskOptions { pub fn MediaSize() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MediaType() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Orientation() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PrintQuality() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintQuality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ColorMode() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Duplex() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duplex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Collation() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Collation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Staple() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Staple)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HolePunch() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HolePunch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Binding() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Binding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Copies() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NUp() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NUp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn InputBin() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputBin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Bordering() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bordering)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CustomPageRanges() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardPrintTaskOptionsStatic3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomPageRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs index 3751bbb893..019d6040e1 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs @@ -822,7 +822,7 @@ impl Print3DManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskRequested)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -834,7 +834,7 @@ impl Print3DManager { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IPrint3DManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -842,7 +842,7 @@ impl Print3DManager { #[cfg(feature = "Foundation")] pub fn ShowPrintUIAsync() -> ::windows::core::Result> { Self::IPrint3DManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowPrintUIAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -921,7 +921,7 @@ impl Print3DTask { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -933,7 +933,7 @@ impl Print3DTask { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Submitting)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -951,7 +951,7 @@ impl Print3DTask { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -969,7 +969,7 @@ impl Print3DTask { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceChanged)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1049,14 +1049,14 @@ impl Print3DTaskCompletedEventArgs { pub fn Completion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1211,7 +1211,7 @@ impl Print3DTaskRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTask)(::windows::core::Interface::as_raw(this), title.into().abi(), printerid.into().abi(), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1285,7 +1285,7 @@ impl Print3DTaskRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1359,7 +1359,7 @@ impl Print3DTaskSourceChangedEventArgs { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1603,7 +1603,7 @@ impl Printing3D3MFPackage { pub fn SaveAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1612,7 +1612,7 @@ impl Printing3D3MFPackage { pub fn PrintTicket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrintTicket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1631,7 +1631,7 @@ impl Printing3D3MFPackage { pub fn ModelPart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelPart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1648,7 +1648,7 @@ impl Printing3D3MFPackage { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1664,7 +1664,7 @@ impl Printing3D3MFPackage { pub fn Textures(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Textures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1677,7 +1677,7 @@ impl Printing3D3MFPackage { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadModelFromPackageAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1689,14 +1689,14 @@ impl Printing3D3MFPackage { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveModelToPackageAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Compression(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compression)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1712,7 +1712,7 @@ impl Printing3D3MFPackage { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPrinting3D3MFPackageStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1798,7 +1798,7 @@ impl Printing3DBaseMaterial { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1812,7 +1812,7 @@ impl Printing3DBaseMaterial { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1825,13 +1825,13 @@ impl Printing3DBaseMaterial { } pub fn Abs() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPrinting3DBaseMaterialStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Abs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Pla() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPrinting3DBaseMaterialStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pla)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1912,20 +1912,20 @@ impl Printing3DBaseMaterialGroup { pub fn Bases(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bases)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaterialGroupId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialGroupId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(materialgroupid: u32) -> ::windows::core::Result { Self::IPrinting3DBaseMaterialGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), materialgroupid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2088,7 +2088,7 @@ impl Printing3DColorMaterial { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2101,7 +2101,7 @@ impl Printing3DColorMaterial { pub fn Color(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2183,20 +2183,20 @@ impl Printing3DColorMaterialGroup { pub fn Colors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Colors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaterialGroupId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialGroupId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(materialgroupid: u32) -> ::windows::core::Result { Self::IPrinting3DColorMaterialGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), materialgroupid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2282,7 +2282,7 @@ impl Printing3DComponent { pub fn Mesh(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mesh)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2298,14 +2298,14 @@ impl Printing3DComponent { pub fn Components(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Components)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2319,7 +2319,7 @@ impl Printing3DComponent { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2330,7 +2330,7 @@ impl Printing3DComponent { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2344,7 +2344,7 @@ impl Printing3DComponent { pub fn PartNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PartNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2432,7 +2432,7 @@ impl Printing3DComponentWithMatrix { pub fn Component(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Component)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2448,7 +2448,7 @@ impl Printing3DComponentWithMatrix { pub fn Matrix(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Matrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2537,7 +2537,7 @@ impl Printing3DCompositeMaterial { pub fn Values(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Values)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2613,14 +2613,14 @@ impl Printing3DCompositeMaterialGroup { pub fn Composites(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Composites)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaterialGroupId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialGroupId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2629,14 +2629,14 @@ impl Printing3DCompositeMaterialGroup { pub fn MaterialIndices(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialIndices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BaseMaterialGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseMaterialGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2649,7 +2649,7 @@ impl Printing3DCompositeMaterialGroup { } pub fn Create(materialgroupid: u32) -> ::windows::core::Result { Self::IPrinting3DCompositeMaterialGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), materialgroupid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2735,7 +2735,7 @@ impl Printing3DFaceReductionOptions { pub fn MaxReductionArea(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxReductionArea)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2746,7 +2746,7 @@ impl Printing3DFaceReductionOptions { pub fn TargetTriangleCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetTriangleCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2757,7 +2757,7 @@ impl Printing3DFaceReductionOptions { pub fn MaxEdgeLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxEdgeLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2844,7 +2844,7 @@ impl Printing3DMaterial { pub fn BaseGroups(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseGroups)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2853,7 +2853,7 @@ impl Printing3DMaterial { pub fn ColorGroups(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorGroups)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2862,7 +2862,7 @@ impl Printing3DMaterial { pub fn Texture2CoordGroups(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Texture2CoordGroups)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2871,7 +2871,7 @@ impl Printing3DMaterial { pub fn CompositeGroups(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositeGroups)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2880,7 +2880,7 @@ impl Printing3DMaterial { pub fn MultiplePropertyGroups(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MultiplePropertyGroups)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2961,7 +2961,7 @@ impl Printing3DMesh { pub fn VertexCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VertexCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2972,7 +2972,7 @@ impl Printing3DMesh { pub fn IndexCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2983,7 +2983,7 @@ impl Printing3DMesh { pub fn VertexPositionsDescription(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VertexPositionsDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2994,7 +2994,7 @@ impl Printing3DMesh { pub fn VertexNormalsDescription(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VertexNormalsDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3005,7 +3005,7 @@ impl Printing3DMesh { pub fn TriangleIndicesDescription(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriangleIndicesDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3016,7 +3016,7 @@ impl Printing3DMesh { pub fn TriangleMaterialIndicesDescription(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriangleMaterialIndicesDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3029,7 +3029,7 @@ impl Printing3DMesh { pub fn GetVertexPositions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVertexPositions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3042,7 +3042,7 @@ impl Printing3DMesh { pub fn GetVertexNormals(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVertexNormals)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3055,7 +3055,7 @@ impl Printing3DMesh { pub fn GetTriangleIndices(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTriangleIndices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3068,7 +3068,7 @@ impl Printing3DMesh { pub fn GetTriangleMaterialIndices(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTriangleMaterialIndices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3081,7 +3081,7 @@ impl Printing3DMesh { pub fn BufferDescriptionSet(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferDescriptionSet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3090,7 +3090,7 @@ impl Printing3DMesh { pub fn BufferSet(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferSet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3099,7 +3099,7 @@ impl Printing3DMesh { pub fn VerifyAsync(&self, value: Printing3DMeshVerificationMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerifyAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3207,7 +3207,7 @@ impl Printing3DMeshVerificationResult { pub fn IsValid(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsValid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3216,7 +3216,7 @@ impl Printing3DMeshVerificationResult { pub fn NonmanifoldTriangles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NonmanifoldTriangles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3225,7 +3225,7 @@ impl Printing3DMeshVerificationResult { pub fn ReversedNormalTriangles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReversedNormalTriangles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3306,7 +3306,7 @@ impl Printing3DModel { pub fn Unit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3319,7 +3319,7 @@ impl Printing3DModel { pub fn Textures(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Textures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3328,7 +3328,7 @@ impl Printing3DModel { pub fn Meshes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Meshes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3337,14 +3337,14 @@ impl Printing3DModel { pub fn Components(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Components)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Material(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Material)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3358,7 +3358,7 @@ impl Printing3DModel { pub fn Build(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Build)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3372,7 +3372,7 @@ impl Printing3DModel { pub fn Version(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3388,7 +3388,7 @@ impl Printing3DModel { pub fn RequiredExtensions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequiredExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3397,7 +3397,7 @@ impl Printing3DModel { pub fn Metadata(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Metadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3406,14 +3406,14 @@ impl Printing3DModel { pub fn RepairAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RepairAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3422,7 +3422,7 @@ impl Printing3DModel { pub fn TryPartialRepairAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryPartialRepairAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3431,7 +3431,7 @@ impl Printing3DModel { pub fn TryPartialRepairWithTimeAsync(&self, maxwaittime: super::super::Foundation::TimeSpan) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryPartialRepairWithTimeAsync)(::windows::core::Interface::as_raw(this), maxwaittime, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3440,7 +3440,7 @@ impl Printing3DModel { pub fn TryReduceFacesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryReduceFacesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3452,7 +3452,7 @@ impl Printing3DModel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryReduceFacesWithOptionsAsync)(::windows::core::Interface::as_raw(this), printing3dfacereductionoptions.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3464,7 +3464,7 @@ impl Printing3DModel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryReduceFacesWithOptionsAndTimeAsync)(::windows::core::Interface::as_raw(this), printing3dfacereductionoptions.into().abi(), maxwait, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3473,7 +3473,7 @@ impl Printing3DModel { pub fn RepairWithProgressAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RepairWithProgressAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3554,7 +3554,7 @@ impl Printing3DModelTexture { pub fn TextureResource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextureResource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3568,7 +3568,7 @@ impl Printing3DModelTexture { pub fn TileStyleU(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileStyleU)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3579,7 +3579,7 @@ impl Printing3DModelTexture { pub fn TileStyleV(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileStyleV)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3704,7 +3704,7 @@ impl Printing3DMultiplePropertyMaterial { pub fn MaterialIndices(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialIndices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3780,7 +3780,7 @@ impl Printing3DMultiplePropertyMaterialGroup { pub fn MultipleProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MultipleProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3789,20 +3789,20 @@ impl Printing3DMultiplePropertyMaterialGroup { pub fn MaterialGroupIndices(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialGroupIndices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaterialGroupId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialGroupId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(materialgroupid: u32) -> ::windows::core::Result { Self::IPrinting3DMultiplePropertyMaterialGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), materialgroupid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3958,7 +3958,7 @@ impl Printing3DTexture2CoordMaterial { pub fn Texture(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Texture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3972,7 +3972,7 @@ impl Printing3DTexture2CoordMaterial { pub fn U(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).U)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3983,7 +3983,7 @@ impl Printing3DTexture2CoordMaterial { pub fn V(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).V)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4063,21 +4063,21 @@ impl Printing3DTexture2CoordMaterialGroup { pub fn Texture2Coords(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Texture2Coords)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaterialGroupId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaterialGroupId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Texture(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Texture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4090,7 +4090,7 @@ impl Printing3DTexture2CoordMaterialGroup { } pub fn Create(materialgroupid: u32) -> ::windows::core::Result { Self::IPrinting3DTexture2CoordMaterialGroupFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), materialgroupid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4214,7 +4214,7 @@ impl Printing3DTextureResource { pub fn TextureData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextureData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4231,7 +4231,7 @@ impl Printing3DTextureResource { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Management/Core/mod.rs b/crates/libs/windows/src/Windows/Management/Core/mod.rs index 178dba3bad..264c0ed31c 100644 --- a/crates/libs/windows/src/Windows/Management/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Core/mod.rs @@ -9,7 +9,7 @@ impl ApplicationDataManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IApplicationDataManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForPackageFamily)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs index 4e7a954693..dadce0148f 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs @@ -6,7 +6,7 @@ impl ClassicAppManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IClassicAppManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindInstalledApp)(::windows::core::Interface::as_raw(this), appuninstallkey.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -53,14 +53,14 @@ impl InstalledClassicAppInfo { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs index fa7f32e454..9a5026a578 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs @@ -81,14 +81,14 @@ impl AddPackageOptions { pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DependencyPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TargetVolume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -104,7 +104,7 @@ impl AddPackageOptions { pub fn OptionalPackageFamilyNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionalPackageFamilyNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -113,7 +113,7 @@ impl AddPackageOptions { pub fn OptionalPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionalPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -122,7 +122,7 @@ impl AddPackageOptions { pub fn RelatedPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelatedPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -131,7 +131,7 @@ impl AddPackageOptions { pub fn ExternalLocationUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExternalLocationUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -147,7 +147,7 @@ impl AddPackageOptions { pub fn StubPackageOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StubPackageOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -158,7 +158,7 @@ impl AddPackageOptions { pub fn DeveloperMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeveloperMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -169,7 +169,7 @@ impl AddPackageOptions { pub fn ForceAppShutdown(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceAppShutdown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -180,7 +180,7 @@ impl AddPackageOptions { pub fn ForceTargetAppShutdown(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceTargetAppShutdown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -191,7 +191,7 @@ impl AddPackageOptions { pub fn ForceUpdateFromAnyVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceUpdateFromAnyVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -202,7 +202,7 @@ impl AddPackageOptions { pub fn InstallAllResources(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallAllResources)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -213,7 +213,7 @@ impl AddPackageOptions { pub fn RequiredContentGroupOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequiredContentGroupOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -224,7 +224,7 @@ impl AddPackageOptions { pub fn RetainFilesOnFailure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetainFilesOnFailure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -235,7 +235,7 @@ impl AddPackageOptions { pub fn StageInPlace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StageInPlace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -246,7 +246,7 @@ impl AddPackageOptions { pub fn AllowUnsigned(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowUnsigned)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -257,7 +257,7 @@ impl AddPackageOptions { pub fn DeferRegistrationWhenPackagesAreInUse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeferRegistrationWhenPackagesAreInUse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -358,13 +358,13 @@ impl AppInstallerManager { } pub fn GetDefault() -> ::windows::core::Result { Self::IAppInstallerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetForSystem() -> ::windows::core::Result { Self::IAppInstallerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -452,7 +452,7 @@ impl AutoUpdateSettingsOptions { pub fn Version(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -467,7 +467,7 @@ impl AutoUpdateSettingsOptions { pub fn AppInstallerUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppInstallerUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -483,7 +483,7 @@ impl AutoUpdateSettingsOptions { pub fn OnLaunch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OnLaunch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -494,7 +494,7 @@ impl AutoUpdateSettingsOptions { pub fn HoursBetweenUpdateChecks(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoursBetweenUpdateChecks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -505,7 +505,7 @@ impl AutoUpdateSettingsOptions { pub fn ShowPrompt(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowPrompt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -516,7 +516,7 @@ impl AutoUpdateSettingsOptions { pub fn UpdateBlocksActivation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateBlocksActivation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -527,7 +527,7 @@ impl AutoUpdateSettingsOptions { pub fn AutomaticBackgroundTask(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomaticBackgroundTask)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -538,7 +538,7 @@ impl AutoUpdateSettingsOptions { pub fn ForceUpdateFromAnyVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceUpdateFromAnyVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -549,7 +549,7 @@ impl AutoUpdateSettingsOptions { pub fn IsAutoRepairEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAutoRepairEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -562,7 +562,7 @@ impl AutoUpdateSettingsOptions { pub fn UpdateUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -571,7 +571,7 @@ impl AutoUpdateSettingsOptions { pub fn RepairUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RepairUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -580,7 +580,7 @@ impl AutoUpdateSettingsOptions { pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DependencyPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -589,7 +589,7 @@ impl AutoUpdateSettingsOptions { pub fn OptionalPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionalPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -600,7 +600,7 @@ impl AutoUpdateSettingsOptions { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::ApplicationModel::AppInstallerInfo>>, { Self::IAutoUpdateSettingsOptionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromAppInstallerInfo)(::windows::core::Interface::as_raw(this), appinstallerinfo.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -688,14 +688,14 @@ impl CreateSharedPackageContainerOptions { pub fn Members(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Members)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ForceAppShutdown(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceAppShutdown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -706,7 +706,7 @@ impl CreateSharedPackageContainerOptions { pub fn CreateCollisionOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCollisionOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -784,21 +784,21 @@ impl CreateSharedPackageContainerResult { pub fn Container(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Container)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -879,7 +879,7 @@ impl DeleteSharedPackageContainerOptions { pub fn ForceAppShutdown(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceAppShutdown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -890,7 +890,7 @@ impl DeleteSharedPackageContainerOptions { pub fn AllUsers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllUsers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -968,14 +968,14 @@ impl DeleteSharedPackageContainerResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1190,28 +1190,28 @@ impl DeploymentResult { pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ExtendedErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn IsRegistered(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRegistered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1292,7 +1292,7 @@ impl FindSharedPackageContainerOptions { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1306,7 +1306,7 @@ impl FindSharedPackageContainerOptions { pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2370,7 +2370,7 @@ impl PackageAllUserProvisioningOptions { pub fn OptionalPackageFamilyNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionalPackageFamilyNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2379,7 +2379,7 @@ impl PackageAllUserProvisioningOptions { pub fn ProjectionOrderPackageFamilyNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProjectionOrderPackageFamilyNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2503,7 +2503,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddPackageAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2517,7 +2517,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdatePackageAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2529,7 +2529,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovePackageAsync)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2543,7 +2543,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StagePackageAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2557,7 +2557,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterPackageAsync)(::windows::core::Interface::as_raw(this), manifesturi.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2566,7 +2566,7 @@ impl PackageManager { pub fn FindPackages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2578,7 +2578,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityId)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2591,7 +2591,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByNamePublisher)(::windows::core::Interface::as_raw(this), packagename.into().abi(), packagepublisher.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2605,7 +2605,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdNamePublisher)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagename.into().abi(), packagepublisher.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2617,7 +2617,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindUsers)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2636,7 +2636,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackageByPackageFullName)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2649,7 +2649,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CleanupPackageForUserAsync)(::windows::core::Interface::as_raw(this), packagename.into().abi(), usersecurityid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2661,7 +2661,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByPackageFamilyName)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2674,7 +2674,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdPackageFamilyName)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2687,7 +2687,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackageByUserSecurityIdPackageFullName)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagefullname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2700,7 +2700,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProvisionPackageForAllUsersWithOptionsAsync)(::windows::core::Interface::as_raw(this), mainpackagefamilyname.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2712,7 +2712,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovePackageWithOptionsAsync)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), removaloptions, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2726,7 +2726,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StagePackageWithOptionsAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2740,7 +2740,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterPackageByFullNameAsync)(::windows::core::Interface::as_raw(this), mainpackagefullname.into().abi(), dependencypackagefullnames.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2749,7 +2749,7 @@ impl PackageManager { pub fn FindPackagesWithPackageTypes(&self, packagetypes: PackageTypes) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesWithPackageTypes)(::windows::core::Interface::as_raw(this), packagetypes, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2761,7 +2761,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdWithPackageTypes)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagetypes, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2774,7 +2774,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByNamePublisherWithPackageTypes)(::windows::core::Interface::as_raw(this), packagename.into().abi(), packagepublisher.into().abi(), packagetypes, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2788,7 +2788,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdNamePublisherWithPackageTypes)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagename.into().abi(), packagepublisher.into().abi(), packagetypes, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2800,7 +2800,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByPackageFamilyNameWithPackageTypes)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), packagetypes, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2813,7 +2813,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdPackageFamilyNameWithPackageTypes)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagefamilyname.into().abi(), packagetypes, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2825,7 +2825,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StageUserDataAsync)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2837,7 +2837,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddPackageVolumeAsync)(::windows::core::Interface::as_raw(this), packagestorepath.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2852,7 +2852,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddPackageToVolumeAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, targetvolume.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2874,7 +2874,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterPackageWithAppDataVolumeAsync)(::windows::core::Interface::as_raw(this), manifesturi.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, appdatavolume.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2884,7 +2884,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackageVolumeByName)(::windows::core::Interface::as_raw(this), volumename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2893,14 +2893,14 @@ impl PackageManager { pub fn FindPackageVolumes(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackageVolumes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefaultPackageVolume(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultPackageVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2913,7 +2913,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MovePackageToVolumeAsync)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), deploymentoptions, targetvolume.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2925,7 +2925,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovePackageVolumeAsync)(::windows::core::Interface::as_raw(this), volume.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2951,7 +2951,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPackageVolumeOfflineAsync)(::windows::core::Interface::as_raw(this), packagevolume.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2963,7 +2963,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPackageVolumeOnlineAsync)(::windows::core::Interface::as_raw(this), packagevolume.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2978,7 +2978,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StagePackageToVolumeAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, targetvolume.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2990,7 +2990,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StageUserDataWithOptionsAsync)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), deploymentoptions, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2999,7 +2999,7 @@ impl PackageManager { pub fn GetPackageVolumesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPackageVolumesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3018,7 +3018,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddPackageToVolumeAndOptionalPackagesAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, targetvolume.into().abi(), optionalpackagefamilynames.try_into().map_err(|e| e.into())?.abi(), externalpackageuris.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3037,7 +3037,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StagePackageToVolumeAndOptionalPackagesAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, targetvolume.into().abi(), optionalpackagefamilynames.try_into().map_err(|e| e.into())?.abi(), externalpackageuris.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3054,14 +3054,14 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterPackageByFamilyNameAndOptionalPackagesAsync)(::windows::core::Interface::as_raw(this), mainpackagefamilyname.into().abi(), dependencypackagefamilynames.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, appdatavolume.into().abi(), optionalpackagefamilynames.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DebugSettings(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DebugSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3073,7 +3073,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProvisionPackageForAllUsersAsync)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3086,7 +3086,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddPackageByAppInstallerFileAsync)(::windows::core::Interface::as_raw(this), appinstallerfileuri.into().abi(), options, targetvolume.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3099,7 +3099,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAddPackageByAppInstallerFileAsync)(::windows::core::Interface::as_raw(this), appinstallerfileuri.into().abi(), options, targetvolume.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3120,7 +3120,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddPackageToVolumeAndRelatedSetAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), options, targetvolume.into().abi(), optionalpackagefamilynames.try_into().map_err(|e| e.into())?.abi(), packageuristoinstall.try_into().map_err(|e| e.into())?.abi(), relatedpackageuris.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3141,7 +3141,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StagePackageToVolumeAndRelatedSetAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), options, targetvolume.into().abi(), optionalpackagefamilynames.try_into().map_err(|e| e.into())?.abi(), packageuristoinstall.try_into().map_err(|e| e.into())?.abi(), relatedpackageuris.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3160,7 +3160,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAddPackageAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, targetvolume.into().abi(), optionalpackagefamilynames.try_into().map_err(|e| e.into())?.abi(), relatedpackageuris.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3181,7 +3181,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAddPackageAndRelatedSetAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, targetvolume.into().abi(), optionalpackagefamilynames.try_into().map_err(|e| e.into())?.abi(), relatedpackageuris.try_into().map_err(|e| e.into())?.abi(), packageuristoinstall.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3193,7 +3193,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeprovisionPackageForAllUsersAsync)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3202,7 +3202,7 @@ impl PackageManager { pub fn FindProvisionedPackages(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindProvisionedPackages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3215,7 +3215,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddPackageByUriAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3228,7 +3228,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StagePackageByUriAsync)(::windows::core::Interface::as_raw(this), packageuri.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3241,7 +3241,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterPackageByUriAsync)(::windows::core::Interface::as_raw(this), manifesturi.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3255,7 +3255,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterPackagesByFullNameAsync)(::windows::core::Interface::as_raw(this), packagefullnames.try_into().map_err(|e| e.into())?.abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3272,7 +3272,7 @@ impl PackageManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPackageStubPreference)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3352,7 +3352,7 @@ impl PackageManagerDebugSettings { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetContentGroupStateAsync)(::windows::core::Interface::as_raw(this), package.into().abi(), contentgroupname.into().abi(), state, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3365,7 +3365,7 @@ impl PackageManagerDebugSettings { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetContentGroupStateWithPercentageAsync)(::windows::core::Interface::as_raw(this), package.into().abi(), contentgroupname.into().abi(), state, completionpercentage, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3642,14 +3642,14 @@ impl PackageUserInformation { pub fn UserSecurityId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserSecurityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InstallState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3723,42 +3723,42 @@ impl PackageVolume { pub fn IsOffline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOffline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSystemVolume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSystemVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MountPoint(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MountPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PackageStorePath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageStorePath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SupportsHardLinks(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsHardLinks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3767,7 +3767,7 @@ impl PackageVolume { pub fn FindPackages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3780,7 +3780,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByNamePublisher)(::windows::core::Interface::as_raw(this), packagename.into().abi(), packagepublisher.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3792,7 +3792,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByPackageFamilyName)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3801,7 +3801,7 @@ impl PackageVolume { pub fn FindPackagesWithPackageTypes(&self, packagetypes: PackageTypes) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesWithPackageTypes)(::windows::core::Interface::as_raw(this), packagetypes, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3814,7 +3814,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByNamePublisherWithPackagesTypes)(::windows::core::Interface::as_raw(this), packagetypes, packagename.into().abi(), packagepublisher.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3826,7 +3826,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByPackageFamilyNameWithPackageTypes)(::windows::core::Interface::as_raw(this), packagetypes, packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3838,7 +3838,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackageByPackageFullName)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3850,7 +3850,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityId)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3864,7 +3864,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdNamePublisher)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagename.into().abi(), packagepublisher.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3877,7 +3877,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdPackageFamilyName)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3889,7 +3889,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdWithPackageTypes)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagetypes, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3903,7 +3903,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdNamePublisherWithPackageTypes)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagetypes, packagename.into().abi(), packagepublisher.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3916,7 +3916,7 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagetypes, packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3929,21 +3929,21 @@ impl PackageVolume { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackageByUserSecurityIdPackageFullName)(::windows::core::Interface::as_raw(this), usersecurityid.into().abi(), packagefullname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsFullTrustPackageSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFullTrustPackageSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAppxInstallSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAppxInstallSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3952,7 +3952,7 @@ impl PackageVolume { pub fn GetAvailableSpaceAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAvailableSpaceAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4035,14 +4035,14 @@ impl RegisterPackageOptions { pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DependencyPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AppDataVolume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDataVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4058,7 +4058,7 @@ impl RegisterPackageOptions { pub fn OptionalPackageFamilyNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionalPackageFamilyNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4067,7 +4067,7 @@ impl RegisterPackageOptions { pub fn ExternalLocationUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExternalLocationUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4083,7 +4083,7 @@ impl RegisterPackageOptions { pub fn DeveloperMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeveloperMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4094,7 +4094,7 @@ impl RegisterPackageOptions { pub fn ForceAppShutdown(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceAppShutdown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4105,7 +4105,7 @@ impl RegisterPackageOptions { pub fn ForceTargetAppShutdown(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceTargetAppShutdown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4116,7 +4116,7 @@ impl RegisterPackageOptions { pub fn ForceUpdateFromAnyVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceUpdateFromAnyVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4127,7 +4127,7 @@ impl RegisterPackageOptions { pub fn InstallAllResources(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallAllResources)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4138,7 +4138,7 @@ impl RegisterPackageOptions { pub fn StageInPlace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StageInPlace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4149,7 +4149,7 @@ impl RegisterPackageOptions { pub fn AllowUnsigned(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowUnsigned)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4160,7 +4160,7 @@ impl RegisterPackageOptions { pub fn DeferRegistrationWhenPackagesAreInUse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeferRegistrationWhenPackagesAreInUse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4302,14 +4302,14 @@ impl SharedPackageContainer { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4318,7 +4318,7 @@ impl SharedPackageContainer { pub fn GetMembers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMembers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4329,14 +4329,14 @@ impl SharedPackageContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovePackageFamily)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResetData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResetData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4449,7 +4449,7 @@ impl SharedPackageContainerManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContainer)(::windows::core::Interface::as_raw(this), name.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4460,7 +4460,7 @@ impl SharedPackageContainerManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteContainer)(::windows::core::Interface::as_raw(this), id.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4470,7 +4470,7 @@ impl SharedPackageContainerManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContainer)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4479,7 +4479,7 @@ impl SharedPackageContainerManager { pub fn FindContainers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContainers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4491,13 +4491,13 @@ impl SharedPackageContainerManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContainersWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::ISharedPackageContainerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4506,13 +4506,13 @@ impl SharedPackageContainerManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISharedPackageContainerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), usersid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetForProvisioning() -> ::windows::core::Result { Self::ISharedPackageContainerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForProvisioning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4591,7 +4591,7 @@ impl SharedPackageContainerMember { pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4600,7 +4600,7 @@ impl SharedPackageContainerMember { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISharedPackageContainerMemberFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4726,14 +4726,14 @@ impl StagePackageOptions { pub fn DependencyPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DependencyPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TargetVolume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4749,7 +4749,7 @@ impl StagePackageOptions { pub fn OptionalPackageFamilyNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionalPackageFamilyNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4758,7 +4758,7 @@ impl StagePackageOptions { pub fn OptionalPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionalPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4767,7 +4767,7 @@ impl StagePackageOptions { pub fn RelatedPackageUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelatedPackageUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4776,7 +4776,7 @@ impl StagePackageOptions { pub fn ExternalLocationUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExternalLocationUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4792,7 +4792,7 @@ impl StagePackageOptions { pub fn StubPackageOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StubPackageOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4803,7 +4803,7 @@ impl StagePackageOptions { pub fn DeveloperMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeveloperMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4814,7 +4814,7 @@ impl StagePackageOptions { pub fn ForceUpdateFromAnyVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceUpdateFromAnyVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4825,7 +4825,7 @@ impl StagePackageOptions { pub fn InstallAllResources(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallAllResources)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4836,7 +4836,7 @@ impl StagePackageOptions { pub fn RequiredContentGroupOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequiredContentGroupOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4847,7 +4847,7 @@ impl StagePackageOptions { pub fn StageInPlace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StageInPlace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4858,7 +4858,7 @@ impl StagePackageOptions { pub fn AllowUnsigned(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowUnsigned)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4979,7 +4979,7 @@ impl UpdateSharedPackageContainerOptions { pub fn ForceAppShutdown(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceAppShutdown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4990,7 +4990,7 @@ impl UpdateSharedPackageContainerOptions { pub fn RequirePackagesPresent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequirePackagesPresent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5068,14 +5068,14 @@ impl UpdateSharedPackageContainerResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } diff --git a/crates/libs/windows/src/Windows/Management/Policies/mod.rs b/crates/libs/windows/src/Windows/Management/Policies/mod.rs index 7509d5e9d3..e29e5690c1 100644 --- a/crates/libs/windows/src/Windows/Management/Policies/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Policies/mod.rs @@ -61,7 +61,7 @@ impl NamedPolicy { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::INamedPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPolicyFromPath)(::windows::core::Interface::as_raw(this), area.into().abi(), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -74,7 +74,7 @@ impl NamedPolicy { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::INamedPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPolicyFromPathForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), area.into().abi(), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -94,35 +94,35 @@ impl NamedPolicyData { pub fn Area(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Area)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsManaged(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsManaged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsUserPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUserPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -131,14 +131,14 @@ impl NamedPolicyData { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBoolean(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -147,28 +147,28 @@ impl NamedPolicyData { pub fn GetBinary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBinary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt64(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -180,7 +180,7 @@ impl NamedPolicyData { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Management/Update/mod.rs b/crates/libs/windows/src/Windows/Management/Update/mod.rs index 37d5035e81..da1dba466f 100644 --- a/crates/libs/windows/src/Windows/Management/Update/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Update/mod.rs @@ -54,7 +54,7 @@ impl PreviewBuildsManager { pub fn ArePreviewBuildsAllowed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ArePreviewBuildsAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -65,7 +65,7 @@ impl PreviewBuildsManager { pub fn GetCurrentState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -74,19 +74,19 @@ impl PreviewBuildsManager { pub fn SyncAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SyncAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IPreviewBuildsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IPreviewBuildsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -167,7 +167,7 @@ impl PreviewBuildsState { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs index aafd2960f0..66628ca8d9 100644 --- a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs @@ -45,31 +45,31 @@ pub struct MdmPolicy; impl MdmPolicy { pub fn IsBrowserAllowed() -> ::windows::core::Result { Self::IMdmAllowPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBrowserAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsCameraAllowed() -> ::windows::core::Result { Self::IMdmAllowPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCameraAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsMicrosoftAccountAllowed() -> ::windows::core::Result { Self::IMdmAllowPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMicrosoftAccountAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsStoreAllowed() -> ::windows::core::Result { Self::IMdmAllowPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStoreAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetMessagingSyncPolicy() -> ::windows::core::Result { Self::IMdmPolicyStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessagingSyncPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -127,7 +127,7 @@ pub struct WorkplaceSettings; impl WorkplaceSettings { pub fn IsMicrosoftAccountOptional() -> ::windows::core::Result { Self::IWorkplaceSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMicrosoftAccountOptional)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Management/mod.rs b/crates/libs/windows/src/Windows/Management/mod.rs index 910e89056d..9e9da69126 100644 --- a/crates/libs/windows/src/Windows/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Management/mod.rs @@ -98,7 +98,7 @@ impl MdmAlert { pub fn Data(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -112,7 +112,7 @@ impl MdmAlert { pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -123,7 +123,7 @@ impl MdmAlert { pub fn Mark(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mark)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -134,7 +134,7 @@ impl MdmAlert { pub fn Source(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -148,14 +148,14 @@ impl MdmAlert { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -169,7 +169,7 @@ impl MdmAlert { pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -323,28 +323,28 @@ impl MdmSession { pub fn Alerts(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Alerts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -353,7 +353,7 @@ impl MdmSession { pub fn AttachAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttachAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -366,7 +366,7 @@ impl MdmSession { pub fn StartAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -379,7 +379,7 @@ impl MdmSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartWithAlertsAsync)(::windows::core::Interface::as_raw(this), alerts.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -451,13 +451,13 @@ impl MdmSessionManager { #[cfg(feature = "Foundation_Collections")] pub fn SessionIds() -> ::windows::core::Result> { Self::IMdmSessionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn TryCreateSession() -> ::windows::core::Result { Self::IMdmSessionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -472,7 +472,7 @@ impl MdmSessionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMdmSessionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSessionById)(::windows::core::Interface::as_raw(this), sessionid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs index 7f95cfe2f0..f7d6dec525 100644 --- a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs @@ -12,7 +12,7 @@ impl AppBroadcastingMonitor { pub fn IsCurrentAppBroadcasting(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCurrentAppBroadcasting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24,7 +24,7 @@ impl AppBroadcastingMonitor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCurrentAppBroadcastingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -104,14 +104,14 @@ impl AppBroadcastingStatus { pub fn CanStartBroadcast(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanStartBroadcast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Details(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Details)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -185,56 +185,56 @@ impl AppBroadcastingStatusDetails { pub fn IsAnyAppBroadcasting(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAnyAppBroadcasting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCaptureResourceUnavailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCaptureResourceUnavailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGameStreamInProgress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGameStreamInProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGpuConstrained(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGpuConstrained)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAppInactive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAppInactive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBlockedForApp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBlockedForApp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDisabledByUser(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabledByUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDisabledBySystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabledBySystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -308,7 +308,7 @@ impl AppBroadcastingUI { pub fn GetStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -318,7 +318,7 @@ impl AppBroadcastingUI { } pub fn GetDefault() -> ::windows::core::Result { Self::IAppBroadcastingUIStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -329,7 +329,7 @@ impl AppBroadcastingUI { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IAppBroadcastingUIStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs index 004441b9c9..9100768892 100644 --- a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs @@ -5,7 +5,7 @@ impl AppRecordingManager { pub fn GetStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17,7 +17,7 @@ impl AppRecordingManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartRecordingToFileAsync)(::windows::core::Interface::as_raw(this), file.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -29,7 +29,7 @@ impl AppRecordingManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordTimeSpanToFileAsync)(::windows::core::Interface::as_raw(this), starttime, duration, file.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -38,7 +38,7 @@ impl AppRecordingManager { pub fn SupportedScreenshotMediaEncodingSubtypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedScreenshotMediaEncodingSubtypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -53,13 +53,13 @@ impl AppRecordingManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveScreenshotToFilesAsync)(::windows::core::Interface::as_raw(this), folder.into().abi(), filenameprefix.into().abi(), option, requestedformats.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IAppRecordingManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -138,14 +138,14 @@ impl AppRecordingResult { pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -154,14 +154,14 @@ impl AppRecordingResult { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsFileTruncated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFileTruncated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -269,14 +269,14 @@ impl AppRecordingSaveScreenshotResult { pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -285,7 +285,7 @@ impl AppRecordingSaveScreenshotResult { pub fn SavedScreenshotInfos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavedScreenshotInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -361,14 +361,14 @@ impl AppRecordingSavedScreenshotInfo { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaEncodingSubtype(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaEncodingSubtype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -442,14 +442,14 @@ impl AppRecordingStatus { pub fn CanRecord(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRecord)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanRecordTimeSpan(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRecordTimeSpan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -458,14 +458,14 @@ impl AppRecordingStatus { pub fn HistoricalBufferDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HistoricalBufferDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Details(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Details)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -539,63 +539,63 @@ impl AppRecordingStatusDetails { pub fn IsAnyAppBroadcasting(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAnyAppBroadcasting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCaptureResourceUnavailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCaptureResourceUnavailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGameStreamInProgress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGameStreamInProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTimeSpanRecordingDisabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTimeSpanRecordingDisabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGpuConstrained(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGpuConstrained)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAppInactive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAppInactive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBlockedForApp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBlockedForApp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDisabledByUser(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabledByUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDisabledBySystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabledBySystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Media/Audio/mod.rs index 0a5c987d50..602b875b8e 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/mod.rs @@ -7,7 +7,7 @@ impl AudioDeviceInputNode { pub fn Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16,7 +16,7 @@ impl AudioDeviceInputNode { pub fn OutgoingConnections(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -47,7 +47,7 @@ impl AudioDeviceInputNode { pub fn Emitter(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emitter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -56,7 +56,7 @@ impl AudioDeviceInputNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -67,7 +67,7 @@ impl AudioDeviceInputNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -76,14 +76,14 @@ impl AudioDeviceInputNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -317,7 +317,7 @@ impl AudioDeviceOutputNode { pub fn Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -326,7 +326,7 @@ impl AudioDeviceOutputNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -337,7 +337,7 @@ impl AudioDeviceOutputNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -346,14 +346,14 @@ impl AudioDeviceOutputNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -403,7 +403,7 @@ impl AudioDeviceOutputNode { pub fn Listener(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Listener)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -547,7 +547,7 @@ impl AudioFileInputNode { pub fn PlaybackSpeedFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackSpeedFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -556,7 +556,7 @@ impl AudioFileInputNode { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -571,7 +571,7 @@ impl AudioFileInputNode { pub fn StartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -590,7 +590,7 @@ impl AudioFileInputNode { pub fn EndTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -609,7 +609,7 @@ impl AudioFileInputNode { pub fn LoopCount(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoopCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -628,7 +628,7 @@ impl AudioFileInputNode { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -637,7 +637,7 @@ impl AudioFileInputNode { pub fn SourceFile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceFile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -649,7 +649,7 @@ impl AudioFileInputNode { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -664,7 +664,7 @@ impl AudioFileInputNode { pub fn OutgoingConnections(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -695,7 +695,7 @@ impl AudioFileInputNode { pub fn Emitter(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emitter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -704,7 +704,7 @@ impl AudioFileInputNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -715,7 +715,7 @@ impl AudioFileInputNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -724,14 +724,14 @@ impl AudioFileInputNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -965,7 +965,7 @@ impl AudioFileOutputNode { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -974,7 +974,7 @@ impl AudioFileOutputNode { pub fn FileEncodingProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileEncodingProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -983,7 +983,7 @@ impl AudioFileOutputNode { pub fn FinalizeAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalizeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -992,7 +992,7 @@ impl AudioFileOutputNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1003,7 +1003,7 @@ impl AudioFileOutputNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1012,14 +1012,14 @@ impl AudioFileOutputNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1176,7 +1176,7 @@ impl AudioFrameCompletedEventArgs { pub fn Frame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Frame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1254,7 +1254,7 @@ impl AudioFrameInputNode { pub fn PlaybackSpeedFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackSpeedFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1272,7 +1272,7 @@ impl AudioFrameInputNode { pub fn QueuedSampleCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueuedSampleCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1284,7 +1284,7 @@ impl AudioFrameInputNode { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFrameCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1302,7 +1302,7 @@ impl AudioFrameInputNode { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QuantumStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1317,7 +1317,7 @@ impl AudioFrameInputNode { pub fn OutgoingConnections(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1348,7 +1348,7 @@ impl AudioFrameInputNode { pub fn Emitter(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emitter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1357,7 +1357,7 @@ impl AudioFrameInputNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1368,7 +1368,7 @@ impl AudioFrameInputNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1377,14 +1377,14 @@ impl AudioFrameInputNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1579,7 +1579,7 @@ impl AudioFrameOutputNode { pub fn GetFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1588,7 +1588,7 @@ impl AudioFrameOutputNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1599,7 +1599,7 @@ impl AudioFrameOutputNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1608,14 +1608,14 @@ impl AudioFrameOutputNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1772,7 +1772,7 @@ impl AudioGraph { pub fn CreateFrameInputNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameInputNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1784,7 +1784,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameInputNodeWithFormat)(::windows::core::Interface::as_raw(this), encodingproperties.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1793,7 +1793,7 @@ impl AudioGraph { pub fn CreateDeviceInputNodeAsync(&self, category: super::Capture::MediaCategory) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDeviceInputNodeAsync)(::windows::core::Interface::as_raw(this), category, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1805,7 +1805,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDeviceInputNodeWithFormatAsync)(::windows::core::Interface::as_raw(this), category, encodingproperties.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1818,14 +1818,14 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDeviceInputNodeWithFormatOnDeviceAsync)(::windows::core::Interface::as_raw(this), category, encodingproperties.into().abi(), device.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateFrameOutputNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameOutputNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1837,7 +1837,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameOutputNodeWithFormat)(::windows::core::Interface::as_raw(this), encodingproperties.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1846,7 +1846,7 @@ impl AudioGraph { pub fn CreateDeviceOutputNodeAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDeviceOutputNodeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1859,7 +1859,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileInputNodeAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1872,7 +1872,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileOutputNodeAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1886,14 +1886,14 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileOutputNodeWithFileProfileAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), fileencodingprofile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateSubmixNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSubmixNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1905,7 +1905,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSubmixNodeWithFormat)(::windows::core::Interface::as_raw(this), encodingproperties.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1929,7 +1929,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QuantumStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1947,7 +1947,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QuantumProcessed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1965,7 +1965,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnrecoverableErrorOccurred)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1978,7 +1978,7 @@ impl AudioGraph { pub fn CompletedQuantumCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompletedQuantumCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1987,14 +1987,14 @@ impl AudioGraph { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LatencyInSamples(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LatencyInSamples)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2003,21 +2003,21 @@ impl AudioGraph { pub fn PrimaryRenderDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryRenderDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RenderDeviceAudioProcessing(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderDeviceAudioProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SamplesPerQuantum(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SamplesPerQuantum)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2030,7 +2030,7 @@ impl AudioGraph { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameInputNodeWithFormatAndEmitter)(::windows::core::Interface::as_raw(this), encodingproperties.into().abi(), emitter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2044,7 +2044,7 @@ impl AudioGraph { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync)(::windows::core::Interface::as_raw(this), category, encodingproperties.into().abi(), device.into().abi(), emitter.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2058,7 +2058,7 @@ impl AudioGraph { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileInputNodeWithEmitterAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), emitter.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2071,7 +2071,7 @@ impl AudioGraph { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSubmixNodeWithFormatAndEmitter)(::windows::core::Interface::as_raw(this), encodingproperties.into().abi(), emitter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2080,7 +2080,7 @@ impl AudioGraph { pub fn CreateBatchUpdater(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBatchUpdater)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2092,7 +2092,7 @@ impl AudioGraph { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMediaSourceAudioInputNodeAsync)(::windows::core::Interface::as_raw(this), mediasource.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2105,7 +2105,7 @@ impl AudioGraph { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMediaSourceAudioInputNodeWithEmitterAsync)(::windows::core::Interface::as_raw(this), mediasource.into().abi(), emitter.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2116,7 +2116,7 @@ impl AudioGraph { P0: ::std::convert::Into<::windows::core::InParam<'a, AudioGraphSettings>>, { Self::IAudioGraphStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), settings.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2335,7 +2335,7 @@ impl AudioGraphConnection { pub fn Destination(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Destination)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2346,7 +2346,7 @@ impl AudioGraphConnection { pub fn Gain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2458,7 +2458,7 @@ impl AudioGraphSettings { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2476,7 +2476,7 @@ impl AudioGraphSettings { pub fn PrimaryRenderDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryRenderDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2492,7 +2492,7 @@ impl AudioGraphSettings { pub fn QuantumSizeSelectionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QuantumSizeSelectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2503,7 +2503,7 @@ impl AudioGraphSettings { pub fn DesiredSamplesPerQuantum(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredSamplesPerQuantum)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2516,7 +2516,7 @@ impl AudioGraphSettings { pub fn AudioRenderCategory(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioRenderCategory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2529,7 +2529,7 @@ impl AudioGraphSettings { pub fn DesiredRenderDeviceAudioProcessing(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredRenderDeviceAudioProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2544,7 +2544,7 @@ impl AudioGraphSettings { pub fn MaxPlaybackSpeedFactor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPlaybackSpeedFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2552,7 +2552,7 @@ impl AudioGraphSettings { #[cfg(feature = "Media_Render")] pub fn Create(audiorendercategory: super::Render::AudioRenderCategory) -> ::windows::core::Result { Self::IAudioGraphSettingsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), audiorendercategory, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2667,7 +2667,7 @@ impl AudioGraphUnrecoverableErrorOccurredEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2750,7 +2750,7 @@ impl AudioNodeEmitter { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2765,7 +2765,7 @@ impl AudioNodeEmitter { pub fn Direction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2778,21 +2778,21 @@ impl AudioNodeEmitter { pub fn Shape(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DecayModel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecayModel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Gain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2803,7 +2803,7 @@ impl AudioNodeEmitter { pub fn DistanceScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DistanceScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2814,7 +2814,7 @@ impl AudioNodeEmitter { pub fn DopplerScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DopplerScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2827,7 +2827,7 @@ impl AudioNodeEmitter { pub fn DopplerVelocity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DopplerVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2840,14 +2840,14 @@ impl AudioNodeEmitter { pub fn IsDopplerDisabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDopplerDisabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SpatialAudioModel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpatialAudioModel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2861,7 +2861,7 @@ impl AudioNodeEmitter { P1: ::std::convert::Into<::windows::core::InParam<'a, AudioNodeEmitterDecayModel>>, { Self::IAudioNodeEmitterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAudioNodeEmitter)(::windows::core::Interface::as_raw(this), shape.into().abi(), decaymodel.into().abi(), settings, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2940,21 +2940,21 @@ impl AudioNodeEmitterConeProperties { pub fn InnerAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OuterAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OuterAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OuterAngleGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OuterAngleGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3062,40 +3062,40 @@ impl AudioNodeEmitterDecayModel { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NaturalProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateNatural(mingain: f64, maxgain: f64, unitygaindistance: f64, cutoffdistance: f64) -> ::windows::core::Result { Self::IAudioNodeEmitterDecayModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNatural)(::windows::core::Interface::as_raw(this), mingain, maxgain, unitygaindistance, cutoffdistance, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateCustom(mingain: f64, maxgain: f64) -> ::windows::core::Result { Self::IAudioNodeEmitterDecayModelStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCustom)(::windows::core::Interface::as_raw(this), mingain, maxgain, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3174,14 +3174,14 @@ impl AudioNodeEmitterNaturalDecayModelProperties { pub fn UnityGainDistance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnityGainDistance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CutoffDistance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CutoffDistance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3317,26 +3317,26 @@ impl AudioNodeEmitterShape { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConeProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConeProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateCone(innerangle: f64, outerangle: f64, outeranglegain: f64) -> ::windows::core::Result { Self::IAudioNodeEmitterShapeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCone)(::windows::core::Interface::as_raw(this), innerangle, outerangle, outeranglegain, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateOmnidirectional() -> ::windows::core::Result { Self::IAudioNodeEmitterShapeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOmnidirectional)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3458,7 +3458,7 @@ impl AudioNodeListener { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3473,7 +3473,7 @@ impl AudioNodeListener { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3486,7 +3486,7 @@ impl AudioNodeListener { pub fn SpeedOfSound(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpeedOfSound)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3499,7 +3499,7 @@ impl AudioNodeListener { pub fn DopplerVelocity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DopplerVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3585,28 +3585,28 @@ impl AudioPlaybackConnection { pub fn StartAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Open(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Open)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3615,7 +3615,7 @@ impl AudioPlaybackConnection { pub fn OpenAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3627,7 +3627,7 @@ impl AudioPlaybackConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3639,7 +3639,7 @@ impl AudioPlaybackConnection { } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAudioPlaybackConnectionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3648,7 +3648,7 @@ impl AudioPlaybackConnection { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAudioPlaybackConnectionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFromId)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3755,14 +3755,14 @@ impl AudioPlaybackConnectionOpenResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3911,7 +3911,7 @@ impl AudioStateMonitor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoundLevelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3924,13 +3924,13 @@ impl AudioStateMonitor { pub fn SoundLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoundLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateForRenderMonitoring() -> ::windows::core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForRenderMonitoring)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3938,7 +3938,7 @@ impl AudioStateMonitor { #[cfg(feature = "Media_Render")] pub fn CreateForRenderMonitoringWithCategory(category: super::Render::AudioRenderCategory) -> ::windows::core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForRenderMonitoringWithCategory)(::windows::core::Interface::as_raw(this), category, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3946,7 +3946,7 @@ impl AudioStateMonitor { #[cfg(all(feature = "Media_Devices", feature = "Media_Render"))] pub fn CreateForRenderMonitoringWithCategoryAndDeviceRole(category: super::Render::AudioRenderCategory, role: super::Devices::AudioDeviceRole) -> ::windows::core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForRenderMonitoringWithCategoryAndDeviceRole)(::windows::core::Interface::as_raw(this), category, role, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3957,13 +3957,13 @@ impl AudioStateMonitor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForRenderMonitoringWithCategoryAndDeviceId)(::windows::core::Interface::as_raw(this), category, deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateForCaptureMonitoring() -> ::windows::core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForCaptureMonitoring)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3971,7 +3971,7 @@ impl AudioStateMonitor { #[cfg(feature = "Media_Capture")] pub fn CreateForCaptureMonitoringWithCategory(category: super::Capture::MediaCategory) -> ::windows::core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForCaptureMonitoringWithCategory)(::windows::core::Interface::as_raw(this), category, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3979,7 +3979,7 @@ impl AudioStateMonitor { #[cfg(all(feature = "Media_Capture", feature = "Media_Devices"))] pub fn CreateForCaptureMonitoringWithCategoryAndDeviceRole(category: super::Capture::MediaCategory, role: super::Devices::AudioDeviceRole) -> ::windows::core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForCaptureMonitoringWithCategoryAndDeviceRole)(::windows::core::Interface::as_raw(this), category, role, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3990,7 +3990,7 @@ impl AudioStateMonitor { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForCaptureMonitoringWithCategoryAndDeviceId)(::windows::core::Interface::as_raw(this), category, deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4071,7 +4071,7 @@ impl AudioSubmixNode { pub fn OutgoingConnections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4102,7 +4102,7 @@ impl AudioSubmixNode { pub fn Emitter(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emitter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4111,7 +4111,7 @@ impl AudioSubmixNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4122,7 +4122,7 @@ impl AudioSubmixNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4131,14 +4131,14 @@ impl AudioSubmixNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4333,21 +4333,21 @@ impl CreateAudioDeviceInputNodeResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceInputNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInputNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4421,21 +4421,21 @@ impl CreateAudioDeviceOutputNodeResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceOutputNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceOutputNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4509,21 +4509,21 @@ impl CreateAudioFileInputNodeResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FileInputNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileInputNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4597,21 +4597,21 @@ impl CreateAudioFileOutputNodeResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FileOutputNode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileOutputNode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4685,21 +4685,21 @@ impl CreateAudioGraphResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Graph(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Graph)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4773,21 +4773,21 @@ impl CreateMediaSourceAudioInputNodeResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Node(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Node)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4863,7 +4863,7 @@ impl EchoEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4872,7 +4872,7 @@ impl EchoEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4883,7 +4883,7 @@ impl EchoEffectDefinition { pub fn WetDryMix(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WetDryMix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4894,7 +4894,7 @@ impl EchoEffectDefinition { pub fn Feedback(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Feedback)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4905,7 +4905,7 @@ impl EchoEffectDefinition { pub fn Delay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4914,7 +4914,7 @@ impl EchoEffectDefinition { P0: ::std::convert::Into<::windows::core::InParam<'a, AudioGraph>>, { Self::IEchoEffectDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), audiograph.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5015,7 +5015,7 @@ impl EqualizerBand { pub fn Bandwidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bandwidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5026,7 +5026,7 @@ impl EqualizerBand { pub fn FrequencyCenter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrequencyCenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5037,7 +5037,7 @@ impl EqualizerBand { pub fn Gain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5117,7 +5117,7 @@ impl EqualizerEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5126,7 +5126,7 @@ impl EqualizerEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5135,7 +5135,7 @@ impl EqualizerEffectDefinition { pub fn Bands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5144,7 +5144,7 @@ impl EqualizerEffectDefinition { P0: ::std::convert::Into<::windows::core::InParam<'a, AudioGraph>>, { Self::IEqualizerEffectDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), audiograph.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5245,7 +5245,7 @@ impl FrameInputNodeQuantumStartedEventArgs { pub fn RequiredSamples(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequiredSamples)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5760,7 +5760,7 @@ impl IAudioInputNode { pub fn OutgoingConnections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5793,7 +5793,7 @@ impl IAudioInputNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5804,7 +5804,7 @@ impl IAudioInputNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5813,14 +5813,14 @@ impl IAudioInputNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5984,7 +5984,7 @@ impl IAudioInputNode2 { pub fn Emitter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emitter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5993,7 +5993,7 @@ impl IAudioInputNode2 { pub fn OutgoingConnections(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6026,7 +6026,7 @@ impl IAudioInputNode2 { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6037,7 +6037,7 @@ impl IAudioInputNode2 { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6046,14 +6046,14 @@ impl IAudioInputNode2 { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6232,7 +6232,7 @@ impl IAudioNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6243,7 +6243,7 @@ impl IAudioNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6252,14 +6252,14 @@ impl IAudioNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6624,7 +6624,7 @@ impl IAudioNodeWithListener { pub fn Listener(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Listener)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6633,7 +6633,7 @@ impl IAudioNodeWithListener { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6644,7 +6644,7 @@ impl IAudioNodeWithListener { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6653,14 +6653,14 @@ impl IAudioNodeWithListener { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7476,7 +7476,7 @@ impl LimiterEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7485,7 +7485,7 @@ impl LimiterEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7496,7 +7496,7 @@ impl LimiterEffectDefinition { pub fn Release(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Release)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7507,7 +7507,7 @@ impl LimiterEffectDefinition { pub fn Loudness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Loudness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7516,7 +7516,7 @@ impl LimiterEffectDefinition { P0: ::std::convert::Into<::windows::core::InParam<'a, AudioGraph>>, { Self::ILimiterEffectDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), audiograph.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7619,7 +7619,7 @@ impl MediaSourceAudioInputNode { pub fn OutgoingConnections(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7650,7 +7650,7 @@ impl MediaSourceAudioInputNode { pub fn Emitter(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emitter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7659,7 +7659,7 @@ impl MediaSourceAudioInputNode { pub fn EffectDefinitions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7670,7 +7670,7 @@ impl MediaSourceAudioInputNode { pub fn OutgoingGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutgoingGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7679,14 +7679,14 @@ impl MediaSourceAudioInputNode { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConsumeInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConsumeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7739,7 +7739,7 @@ impl MediaSourceAudioInputNode { pub fn PlaybackSpeedFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackSpeedFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7748,7 +7748,7 @@ impl MediaSourceAudioInputNode { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7763,7 +7763,7 @@ impl MediaSourceAudioInputNode { pub fn StartTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7782,7 +7782,7 @@ impl MediaSourceAudioInputNode { pub fn EndTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7801,7 +7801,7 @@ impl MediaSourceAudioInputNode { pub fn LoopCount(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoopCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7820,7 +7820,7 @@ impl MediaSourceAudioInputNode { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7829,7 +7829,7 @@ impl MediaSourceAudioInputNode { pub fn MediaSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7841,7 +7841,7 @@ impl MediaSourceAudioInputNode { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSourceCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8107,7 +8107,7 @@ impl ReverbEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8116,7 +8116,7 @@ impl ReverbEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8127,7 +8127,7 @@ impl ReverbEffectDefinition { pub fn WetDryMix(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WetDryMix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8138,7 +8138,7 @@ impl ReverbEffectDefinition { pub fn ReflectionsDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReflectionsDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8149,7 +8149,7 @@ impl ReverbEffectDefinition { pub fn ReverbDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReverbDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8160,7 +8160,7 @@ impl ReverbEffectDefinition { pub fn RearDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RearDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8171,7 +8171,7 @@ impl ReverbEffectDefinition { pub fn PositionLeft(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionLeft)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8182,7 +8182,7 @@ impl ReverbEffectDefinition { pub fn PositionRight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionRight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8193,7 +8193,7 @@ impl ReverbEffectDefinition { pub fn PositionMatrixLeft(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionMatrixLeft)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8204,7 +8204,7 @@ impl ReverbEffectDefinition { pub fn PositionMatrixRight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionMatrixRight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8215,7 +8215,7 @@ impl ReverbEffectDefinition { pub fn EarlyDiffusion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EarlyDiffusion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8226,7 +8226,7 @@ impl ReverbEffectDefinition { pub fn LateDiffusion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LateDiffusion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8237,7 +8237,7 @@ impl ReverbEffectDefinition { pub fn LowEQGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LowEQGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8248,7 +8248,7 @@ impl ReverbEffectDefinition { pub fn LowEQCutoff(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LowEQCutoff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8259,7 +8259,7 @@ impl ReverbEffectDefinition { pub fn HighEQGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HighEQGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8270,7 +8270,7 @@ impl ReverbEffectDefinition { pub fn HighEQCutoff(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HighEQCutoff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8281,7 +8281,7 @@ impl ReverbEffectDefinition { pub fn RoomFilterFreq(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoomFilterFreq)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8292,7 +8292,7 @@ impl ReverbEffectDefinition { pub fn RoomFilterMain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoomFilterMain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8303,7 +8303,7 @@ impl ReverbEffectDefinition { pub fn RoomFilterHF(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoomFilterHF)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8314,7 +8314,7 @@ impl ReverbEffectDefinition { pub fn ReflectionsGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReflectionsGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8325,7 +8325,7 @@ impl ReverbEffectDefinition { pub fn ReverbGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReverbGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8336,7 +8336,7 @@ impl ReverbEffectDefinition { pub fn DecayTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8347,7 +8347,7 @@ impl ReverbEffectDefinition { pub fn Density(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Density)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8358,7 +8358,7 @@ impl ReverbEffectDefinition { pub fn RoomSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoomSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8369,7 +8369,7 @@ impl ReverbEffectDefinition { pub fn DisableLateField(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableLateField)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8378,7 +8378,7 @@ impl ReverbEffectDefinition { P0: ::std::convert::Into<::windows::core::InParam<'a, AudioGraph>>, { Self::IReverbEffectDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), audiograph.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8479,7 +8479,7 @@ impl SetDefaultSpatialAudioFormatResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8591,14 +8591,14 @@ impl SpatialAudioDeviceConfiguration { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsSpatialAudioSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSpatialAudioSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8608,21 +8608,21 @@ impl SpatialAudioDeviceConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSpatialAudioFormatSupported)(::windows::core::Interface::as_raw(this), subtype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActiveSpatialAudioFormat(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActiveSpatialAudioFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DefaultSpatialAudioFormat(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultSpatialAudioFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8634,7 +8634,7 @@ impl SpatialAudioDeviceConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDefaultSpatialAudioFormatAsync)(::windows::core::Interface::as_raw(this), subtype.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8646,7 +8646,7 @@ impl SpatialAudioDeviceConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConfigurationChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8661,7 +8661,7 @@ impl SpatialAudioDeviceConfiguration { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISpatialAudioDeviceConfigurationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForDeviceId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8745,7 +8745,7 @@ impl SpatialAudioFormatConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportLicenseChangedAsync)(::windows::core::Interface::as_raw(this), subtype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8757,14 +8757,14 @@ impl SpatialAudioFormatConfiguration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportConfigurationChangedAsync)(::windows::core::Interface::as_raw(this), subtype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MixedRealityExclusiveModePolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MixedRealityExclusiveModePolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8774,7 +8774,7 @@ impl SpatialAudioFormatConfiguration { } pub fn GetDefault() -> ::windows::core::Result { Self::ISpatialAudioFormatConfigurationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8851,43 +8851,43 @@ pub struct SpatialAudioFormatSubtype; impl SpatialAudioFormatSubtype { pub fn WindowsSonic() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowsSonic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DolbyAtmosForHeadphones() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DolbyAtmosForHeadphones)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DolbyAtmosForHomeTheater() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DolbyAtmosForHomeTheater)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DolbyAtmosForSpeakers() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DolbyAtmosForSpeakers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DTSHeadphoneX() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DTSHeadphoneX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DTSXUltra() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DTSXUltra)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DTSXForHomeTheater() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISpatialAudioFormatSubtypeStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DTSXForHomeTheater)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs index c08b4a934c..19c972f253 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs @@ -83,7 +83,7 @@ impl VariablePhotoCapturedEventArgs { pub fn Frame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Frame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -92,7 +92,7 @@ impl VariablePhotoCapturedEventArgs { pub fn CaptureTimeOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureTimeOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -101,14 +101,14 @@ impl VariablePhotoCapturedEventArgs { pub fn UsedFrameControllerIndex(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsedFrameControllerIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CapturedFrameControlValues(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapturedFrameControlValues)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -184,7 +184,7 @@ impl VariablePhotoSequenceCapture { pub fn StartAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -193,7 +193,7 @@ impl VariablePhotoSequenceCapture { pub fn StopAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -202,7 +202,7 @@ impl VariablePhotoSequenceCapture { pub fn FinishAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinishAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -214,7 +214,7 @@ impl VariablePhotoSequenceCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoCaptured)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -232,7 +232,7 @@ impl VariablePhotoSequenceCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -247,7 +247,7 @@ impl VariablePhotoSequenceCapture { pub fn UpdateSettingsAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateSettingsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs index 17d9d1464d..7034602346 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs @@ -5,7 +5,7 @@ impl AudioMediaFrame { pub fn FrameReference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14,14 +14,14 @@ impl AudioMediaFrame { pub fn AudioEncodingProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetAudioFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -95,7 +95,7 @@ impl BufferMediaFrame { pub fn FrameReference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -104,7 +104,7 @@ impl BufferMediaFrame { pub fn Buffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Buffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -178,21 +178,21 @@ impl DepthMediaFrame { pub fn FrameReference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoMediaFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoMediaFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DepthFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DepthFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -205,21 +205,21 @@ impl DepthMediaFrame { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateCoordinateMapper)(::windows::core::Interface::as_raw(this), cameraintrinsics.into().abi(), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxReliableDepth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxReliableDepth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinReliableDepth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinReliableDepth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -293,14 +293,14 @@ impl DepthMediaFrameFormat { pub fn VideoFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DepthScaleInMeters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DepthScaleInMeters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -932,21 +932,21 @@ impl InfraredMediaFrame { pub fn FrameReference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoMediaFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoMediaFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsIlluminated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIlluminated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1086,14 +1086,14 @@ impl MediaFrameFormat { pub fn MajorType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MajorType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Subtype(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1102,7 +1102,7 @@ impl MediaFrameFormat { pub fn FrameRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1111,14 +1111,14 @@ impl MediaFrameFormat { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn VideoFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1127,7 +1127,7 @@ impl MediaFrameFormat { pub fn AudioEncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1212,7 +1212,7 @@ impl MediaFrameReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameArrived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1225,7 +1225,7 @@ impl MediaFrameReader { pub fn TryAcquireLatestFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAcquireLatestFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1234,7 +1234,7 @@ impl MediaFrameReader { pub fn StartAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1243,7 +1243,7 @@ impl MediaFrameReader { pub fn StopAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1254,7 +1254,7 @@ impl MediaFrameReader { pub fn AcquisitionMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquisitionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1427,14 +1427,14 @@ impl MediaFrameReference { pub fn SourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1443,7 +1443,7 @@ impl MediaFrameReference { pub fn SystemRelativeTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1452,7 +1452,7 @@ impl MediaFrameReference { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1461,21 +1461,21 @@ impl MediaFrameReference { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BufferMediaFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferMediaFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoMediaFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoMediaFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1484,14 +1484,14 @@ impl MediaFrameReference { pub fn CoordinateSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AudioMediaFrame(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioMediaFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1587,14 +1587,14 @@ impl MediaFrameSource { pub fn Info(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Info)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Controller(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Controller)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1603,14 +1603,14 @@ impl MediaFrameSource { pub fn SupportedFormats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CurrentFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1622,7 +1622,7 @@ impl MediaFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetFormatAsync)(::windows::core::Interface::as_raw(this), format.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1634,7 +1634,7 @@ impl MediaFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1652,7 +1652,7 @@ impl MediaFrameSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetCameraIntrinsics)(::windows::core::Interface::as_raw(this), format.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1731,7 +1731,7 @@ impl MediaFrameSourceController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertyAsync)(::windows::core::Interface::as_raw(this), propertyid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1744,7 +1744,7 @@ impl MediaFrameSourceController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPropertyAsync)(::windows::core::Interface::as_raw(this), propertyid.into().abi(), propertyvalue.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1753,7 +1753,7 @@ impl MediaFrameSourceController { pub fn VideoDeviceController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1766,7 +1766,7 @@ impl MediaFrameSourceController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertyByExtendedIdAsync)(::windows::core::Interface::as_raw(this), extendedpropertyid.len() as u32, ::core::mem::transmute(extendedpropertyid.as_ptr()), maxpropertyvaluesize.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1775,7 +1775,7 @@ impl MediaFrameSourceController { pub fn SetPropertyByExtendedIdAsync(&self, extendedpropertyid: &[u8], propertyvalue: &[u8]) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPropertyByExtendedIdAsync)(::windows::core::Interface::as_raw(this), extendedpropertyid.len() as u32, ::core::mem::transmute(extendedpropertyid.as_ptr()), propertyvalue.len() as u32, ::core::mem::transmute(propertyvalue.as_ptr()), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1784,7 +1784,7 @@ impl MediaFrameSourceController { pub fn AudioDeviceController(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioDeviceController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1858,14 +1858,14 @@ impl MediaFrameSourceGetPropertyResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1977,14 +1977,14 @@ impl MediaFrameSourceGroup { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1993,7 +1993,7 @@ impl MediaFrameSourceGroup { pub fn SourceInfos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2001,7 +2001,7 @@ impl MediaFrameSourceGroup { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IMediaFrameSourceGroupStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -2012,13 +2012,13 @@ impl MediaFrameSourceGroup { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMediaFrameSourceGroupStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaFrameSourceGroupStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2097,28 +2097,28 @@ impl MediaFrameSourceInfo { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MediaStreamType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaStreamType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourceGroup(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2127,7 +2127,7 @@ impl MediaFrameSourceInfo { pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2136,7 +2136,7 @@ impl MediaFrameSourceInfo { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2145,14 +2145,14 @@ impl MediaFrameSourceInfo { pub fn CoordinateSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProfileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2161,7 +2161,7 @@ impl MediaFrameSourceInfo { pub fn VideoProfileMediaDescription(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProfileMediaDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2173,7 +2173,7 @@ impl MediaFrameSourceInfo { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRelativePanel)(::windows::core::Interface::as_raw(this), displayregion.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2401,7 +2401,7 @@ impl MultiSourceMediaFrameReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameArrived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2414,7 +2414,7 @@ impl MultiSourceMediaFrameReader { pub fn TryAcquireLatestFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAcquireLatestFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2423,7 +2423,7 @@ impl MultiSourceMediaFrameReader { pub fn StartAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2432,7 +2432,7 @@ impl MultiSourceMediaFrameReader { pub fn StopAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2443,7 +2443,7 @@ impl MultiSourceMediaFrameReader { pub fn AcquisitionMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquisitionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2585,7 +2585,7 @@ impl MultiSourceMediaFrameReference { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetFrameReferenceBySourceId)(::windows::core::Interface::as_raw(this), sourceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2681,14 +2681,14 @@ impl VideoMediaFrame { pub fn FrameReference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2697,7 +2697,7 @@ impl VideoMediaFrame { pub fn SoftwareBitmap(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoftwareBitmap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2706,7 +2706,7 @@ impl VideoMediaFrame { pub fn Direct3DSurface(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direct3DSurface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2715,28 +2715,28 @@ impl VideoMediaFrame { pub fn CameraIntrinsics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraIntrinsics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InfraredMediaFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InfraredMediaFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DepthMediaFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DepthMediaFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetVideoFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVideoFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2810,28 +2810,28 @@ impl VideoMediaFrameFormat { pub fn MediaFrameFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaFrameFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DepthFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DepthFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index 5c44f8c322..9dfa3f438c 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -9,7 +9,7 @@ impl AdvancedCapturedPhoto { pub fn Frame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Frame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18,14 +18,14 @@ impl AdvancedCapturedPhoto { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Context(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Context)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -34,7 +34,7 @@ impl AdvancedCapturedPhoto { pub fn FrameBoundsRelativeToReferencePhoto(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameBoundsRelativeToReferencePhoto)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -110,7 +110,7 @@ impl AdvancedPhotoCapture { pub fn CaptureAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -122,7 +122,7 @@ impl AdvancedPhotoCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureWithContextAsync)(::windows::core::Interface::as_raw(this), context.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -134,7 +134,7 @@ impl AdvancedPhotoCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionalReferencePhotoCaptured)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -152,7 +152,7 @@ impl AdvancedPhotoCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllPhotosCaptured)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -167,7 +167,7 @@ impl AdvancedPhotoCapture { pub fn FinishAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinishAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -245,7 +245,7 @@ impl AppBroadcastBackgroundService { pub fn PlugInState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlugInState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -259,7 +259,7 @@ impl AppBroadcastBackgroundService { pub fn SignInInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignInInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -273,21 +273,21 @@ impl AppBroadcastBackgroundService { pub fn StreamInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn BroadcastTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -298,7 +298,7 @@ impl AppBroadcastBackgroundService { pub fn ViewerCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewerCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -314,7 +314,7 @@ impl AppBroadcastBackgroundService { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeartbeatRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -327,7 +327,7 @@ impl AppBroadcastBackgroundService { pub fn TitleId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TitleId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -341,7 +341,7 @@ impl AppBroadcastBackgroundService { pub fn BroadcastLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -355,7 +355,7 @@ impl AppBroadcastBackgroundService { pub fn BroadcastChannel(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastChannel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -374,7 +374,7 @@ impl AppBroadcastBackgroundService { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastTitleChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -392,7 +392,7 @@ impl AppBroadcastBackgroundService { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastLanguageChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -410,7 +410,7 @@ impl AppBroadcastBackgroundService { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastChannelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -488,7 +488,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn SignInState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignInState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -506,7 +506,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn OAuthRequestUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OAuthRequestUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -524,7 +524,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn OAuthCallbackUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OAuthCallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -533,7 +533,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn AuthenticationResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -547,7 +547,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn UserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -559,7 +559,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignInStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -577,7 +577,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserNameChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -655,7 +655,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { pub fn StreamState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -666,7 +666,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { pub fn DesiredVideoEncodingBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredVideoEncodingBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -677,7 +677,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { pub fn BandwidthTestBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BandwidthTestBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -691,14 +691,14 @@ impl AppBroadcastBackgroundServiceStreamInfo { pub fn AudioCodec(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioCodec)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn BroadcastStreamReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastStreamReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -710,7 +710,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -728,7 +728,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoEncodingResolutionChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -746,7 +746,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoEncodingBitrateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -863,14 +863,14 @@ impl AppBroadcastCameraCaptureStateChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1090,28 +1090,28 @@ impl AppBroadcastGlobalSettings { pub fn IsBroadcastEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBroadcastEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDisabledByPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabledByPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGpuConstrained(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGpuConstrained)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasHardwareEncoder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasHardwareEncoder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1122,7 +1122,7 @@ impl AppBroadcastGlobalSettings { pub fn IsAudioCaptureEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAudioCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1133,7 +1133,7 @@ impl AppBroadcastGlobalSettings { pub fn IsMicrophoneCaptureEnabledByDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMicrophoneCaptureEnabledByDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1144,7 +1144,7 @@ impl AppBroadcastGlobalSettings { pub fn IsEchoCancellationEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEchoCancellationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1155,7 +1155,7 @@ impl AppBroadcastGlobalSettings { pub fn SystemAudioGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemAudioGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1166,7 +1166,7 @@ impl AppBroadcastGlobalSettings { pub fn MicrophoneGain(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicrophoneGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1177,7 +1177,7 @@ impl AppBroadcastGlobalSettings { pub fn IsCameraCaptureEnabledByDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCameraCaptureEnabledByDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1191,7 +1191,7 @@ impl AppBroadcastGlobalSettings { pub fn SelectedCameraId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedCameraId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1202,7 +1202,7 @@ impl AppBroadcastGlobalSettings { pub fn CameraOverlayLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraOverlayLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1213,7 +1213,7 @@ impl AppBroadcastGlobalSettings { pub fn CameraOverlaySize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraOverlaySize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1224,7 +1224,7 @@ impl AppBroadcastGlobalSettings { pub fn IsCursorImageCaptureEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCursorImageCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1300,7 +1300,7 @@ impl AppBroadcastHeartbeatRequestedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1370,7 +1370,7 @@ pub struct AppBroadcastManager; impl AppBroadcastManager { pub fn GetGlobalSettings() -> ::windows::core::Result { Self::IAppBroadcastManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGlobalSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1382,7 +1382,7 @@ impl AppBroadcastManager { } pub fn GetProviderSettings() -> ::windows::core::Result { Self::IAppBroadcastManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProviderSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1443,14 +1443,14 @@ impl AppBroadcastMicrophoneCaptureStateChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1524,14 +1524,14 @@ impl AppBroadcastPlugIn { pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProviderSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1540,14 +1540,14 @@ impl AppBroadcastPlugIn { pub fn Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1621,7 +1621,7 @@ impl AppBroadcastPlugInManager { pub fn IsBroadcastProviderAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBroadcastProviderAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1630,14 +1630,14 @@ impl AppBroadcastPlugInManager { pub fn PlugInList(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlugInList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DefaultPlugIn(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultPlugIn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1650,7 +1650,7 @@ impl AppBroadcastPlugInManager { } pub fn GetDefault() -> ::windows::core::Result { Self::IAppBroadcastPlugInManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1661,7 +1661,7 @@ impl AppBroadcastPlugInManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IAppBroadcastPlugInManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1779,7 +1779,7 @@ impl AppBroadcastPlugInStateChangedEventArgs { pub fn PlugInState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlugInState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1857,7 +1857,7 @@ impl AppBroadcastPreview { pub fn PreviewState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviewState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1866,7 +1866,7 @@ impl AppBroadcastPreview { pub fn ErrorCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1878,7 +1878,7 @@ impl AppBroadcastPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviewStateChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1891,7 +1891,7 @@ impl AppBroadcastPreview { pub fn PreviewStreamReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviewStreamReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2000,14 +2000,14 @@ impl AppBroadcastPreviewStateChangedEventArgs { pub fn PreviewState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviewState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2081,21 +2081,21 @@ impl AppBroadcastPreviewStreamReader { pub fn VideoWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoStride(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoStride)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2104,7 +2104,7 @@ impl AppBroadcastPreviewStreamReader { pub fn VideoBitmapPixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoBitmapPixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2113,14 +2113,14 @@ impl AppBroadcastPreviewStreamReader { pub fn VideoBitmapAlphaMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoBitmapAlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryGetNextVideoFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetNextVideoFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2132,7 +2132,7 @@ impl AppBroadcastPreviewStreamReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFrameArrived)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2212,7 +2212,7 @@ impl AppBroadcastPreviewStreamVideoFrame { pub fn VideoHeader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoHeader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2221,7 +2221,7 @@ impl AppBroadcastPreviewStreamVideoFrame { pub fn VideoBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2297,7 +2297,7 @@ impl AppBroadcastPreviewStreamVideoHeader { pub fn AbsoluteTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2306,7 +2306,7 @@ impl AppBroadcastPreviewStreamVideoHeader { pub fn RelativeTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2315,14 +2315,14 @@ impl AppBroadcastPreviewStreamVideoHeader { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FrameId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2403,7 +2403,7 @@ impl AppBroadcastProviderSettings { pub fn DefaultBroadcastTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultBroadcastTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2414,7 +2414,7 @@ impl AppBroadcastProviderSettings { pub fn AudioEncodingBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEncodingBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2425,7 +2425,7 @@ impl AppBroadcastProviderSettings { pub fn CustomVideoEncodingBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomVideoEncodingBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2436,7 +2436,7 @@ impl AppBroadcastProviderSettings { pub fn CustomVideoEncodingHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomVideoEncodingHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2447,7 +2447,7 @@ impl AppBroadcastProviderSettings { pub fn CustomVideoEncodingWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomVideoEncodingWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2458,7 +2458,7 @@ impl AppBroadcastProviderSettings { pub fn VideoEncodingBitrateMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoEncodingBitrateMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2469,7 +2469,7 @@ impl AppBroadcastProviderSettings { pub fn VideoEncodingResolutionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoEncodingResolutionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2541,7 +2541,7 @@ impl AppBroadcastServices { pub fn CaptureTargetType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureTargetType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2552,7 +2552,7 @@ impl AppBroadcastServices { pub fn BroadcastTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2566,7 +2566,7 @@ impl AppBroadcastServices { pub fn BroadcastLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2580,14 +2580,14 @@ impl AppBroadcastServices { pub fn UserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CanCapture(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCapture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2599,7 +2599,7 @@ impl AppBroadcastServices { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterBroadcastModeAsync)(::windows::core::Interface::as_raw(this), plugin.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2624,14 +2624,14 @@ impl AppBroadcastServices { pub fn StartPreview(&self, desiredsize: super::super::Foundation::Size) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPreview)(::windows::core::Interface::as_raw(this), desiredsize, result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2779,14 +2779,14 @@ impl AppBroadcastSignInStateChangedEventArgs { pub fn SignInState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignInState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2858,21 +2858,21 @@ impl AppBroadcastState { pub fn IsCaptureTargetRunning(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCaptureTargetRunning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ViewerCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewerCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShouldCaptureMicrophone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldCaptureMicrophone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2887,7 +2887,7 @@ impl AppBroadcastState { pub fn ShouldCaptureCamera(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldCaptureCamera)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2904,49 +2904,49 @@ impl AppBroadcastState { pub fn EncodedVideoSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodedVideoSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MicrophoneCaptureState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicrophoneCaptureState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MicrophoneCaptureError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicrophoneCaptureError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CameraCaptureState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraCaptureState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CameraCaptureError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraCaptureError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StreamState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PlugInState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlugInState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2955,7 +2955,7 @@ impl AppBroadcastState { pub fn OAuthRequestUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OAuthRequestUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2964,7 +2964,7 @@ impl AppBroadcastState { pub fn OAuthCallbackUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OAuthCallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2973,7 +2973,7 @@ impl AppBroadcastState { pub fn AuthenticationResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2993,21 +2993,21 @@ impl AppBroadcastState { pub fn SignInState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignInState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TerminationReason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TerminationReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TerminationReasonPlugInSpecific(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TerminationReasonPlugInSpecific)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3019,7 +3019,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewerCountChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3037,7 +3037,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicrophoneCaptureStateChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3055,7 +3055,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraCaptureStateChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3073,7 +3073,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlugInStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3091,7 +3091,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3109,7 +3109,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureTargetClosed)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3189,7 +3189,7 @@ impl AppBroadcastStreamAudioFrame { pub fn AudioHeader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioHeader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3198,7 +3198,7 @@ impl AppBroadcastStreamAudioFrame { pub fn AudioBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3272,7 +3272,7 @@ impl AppBroadcastStreamAudioHeader { pub fn AbsoluteTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3281,7 +3281,7 @@ impl AppBroadcastStreamAudioHeader { pub fn RelativeTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3290,21 +3290,21 @@ impl AppBroadcastStreamAudioHeader { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasDiscontinuity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasDiscontinuity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FrameId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3376,14 +3376,14 @@ impl AppBroadcastStreamReader { pub fn AudioChannels(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioChannels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AudioSampleRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioSampleRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3392,49 +3392,49 @@ impl AppBroadcastStreamReader { pub fn AudioAacSequence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioAacSequence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AudioBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryGetNextAudioFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetNextAudioFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryGetNextVideoFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetNextVideoFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3446,7 +3446,7 @@ impl AppBroadcastStreamReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFrameArrived)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3464,7 +3464,7 @@ impl AppBroadcastStreamReader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFrameArrived)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3579,7 +3579,7 @@ impl AppBroadcastStreamStateChangedEventArgs { pub fn StreamState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3651,7 +3651,7 @@ impl AppBroadcastStreamVideoFrame { pub fn VideoHeader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoHeader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3660,7 +3660,7 @@ impl AppBroadcastStreamVideoFrame { pub fn VideoBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3734,7 +3734,7 @@ impl AppBroadcastStreamVideoHeader { pub fn AbsoluteTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3743,7 +3743,7 @@ impl AppBroadcastStreamVideoHeader { pub fn RelativeTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3752,28 +3752,28 @@ impl AppBroadcastStreamVideoHeader { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsKeyFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsKeyFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasDiscontinuity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasDiscontinuity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FrameId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3887,7 +3887,7 @@ impl AppBroadcastTriggerDetails { pub fn BackgroundService(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundService)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4027,7 +4027,7 @@ impl AppBroadcastViewerCountChangedEventArgs { pub fn ViewerCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewerCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4101,14 +4101,14 @@ impl AppCapture { pub fn IsCapturingAudio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCapturingAudio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCapturingVideo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCapturingVideo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4120,7 +4120,7 @@ impl AppCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapturingChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4132,7 +4132,7 @@ impl AppCapture { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IAppCaptureStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4140,7 +4140,7 @@ impl AppCapture { #[cfg(feature = "Foundation")] pub fn SetAllowedAsync(allowed: bool) -> ::windows::core::Result { Self::IAppCaptureStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAllowedAsync)(::windows::core::Interface::as_raw(this), allowed, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4230,7 +4230,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleGameBarKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleGameBarKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4245,7 +4245,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleGameBarKeyModifiers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleGameBarKeyModifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4260,7 +4260,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn SaveHistoricalVideoKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveHistoricalVideoKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4275,7 +4275,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn SaveHistoricalVideoKeyModifiers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveHistoricalVideoKeyModifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4290,7 +4290,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleRecordingKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleRecordingKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4305,7 +4305,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleRecordingKeyModifiers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleRecordingKeyModifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4320,7 +4320,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn TakeScreenshotKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TakeScreenshotKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4335,7 +4335,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn TakeScreenshotKeyModifiers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TakeScreenshotKeyModifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4350,7 +4350,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleRecordingIndicatorKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleRecordingIndicatorKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4365,7 +4365,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleRecordingIndicatorKeyModifiers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleRecordingIndicatorKeyModifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4380,7 +4380,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleMicrophoneCaptureKey(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleMicrophoneCaptureKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4395,7 +4395,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleMicrophoneCaptureKeyModifiers(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleMicrophoneCaptureKeyModifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4410,7 +4410,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleCameraCaptureKey(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleCameraCaptureKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4425,7 +4425,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleCameraCaptureKeyModifiers(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleCameraCaptureKeyModifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4440,7 +4440,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleBroadcastKey(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleBroadcastKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4455,7 +4455,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleBroadcastKeyModifiers(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToggleBroadcastKeyModifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4529,7 +4529,7 @@ impl AppCaptureDurationGeneratedEventArgs { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4605,7 +4605,7 @@ impl AppCaptureFileGeneratedEventArgs { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4711,7 +4711,7 @@ pub struct AppCaptureManager; impl AppCaptureManager { pub fn GetCurrentSettings() -> ::windows::core::Result { Self::IAppCaptureManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4833,7 +4833,7 @@ impl AppCaptureMetadataWriter { pub fn RemainingStorageBytesAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingStorageBytesAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4845,7 +4845,7 @@ impl AppCaptureMetadataWriter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MetadataPurged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4988,14 +4988,14 @@ impl AppCaptureMicrophoneCaptureStateChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5073,7 +5073,7 @@ impl AppCaptureRecordOperation { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5082,7 +5082,7 @@ impl AppCaptureRecordOperation { pub fn ErrorCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5091,7 +5091,7 @@ impl AppCaptureRecordOperation { pub fn Duration(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5100,7 +5100,7 @@ impl AppCaptureRecordOperation { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5109,7 +5109,7 @@ impl AppCaptureRecordOperation { pub fn IsFileTruncated(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFileTruncated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5121,7 +5121,7 @@ impl AppCaptureRecordOperation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5139,7 +5139,7 @@ impl AppCaptureRecordOperation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DurationGenerated)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5157,7 +5157,7 @@ impl AppCaptureRecordOperation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileGenerated)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5272,14 +5272,14 @@ impl AppCaptureRecordingStateChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5353,7 +5353,7 @@ impl AppCaptureServices { pub fn Record(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Record)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5362,21 +5362,21 @@ impl AppCaptureServices { pub fn RecordTimeSpan(&self, starttime: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordTimeSpan)(::windows::core::Interface::as_raw(this), starttime, duration, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanCapture(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCapture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5461,7 +5461,7 @@ impl AppCaptureSettings { pub fn AppCaptureDestinationFolder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppCaptureDestinationFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5472,7 +5472,7 @@ impl AppCaptureSettings { pub fn AudioEncodingBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEncodingBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5483,7 +5483,7 @@ impl AppCaptureSettings { pub fn IsAudioCaptureEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAudioCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5494,7 +5494,7 @@ impl AppCaptureSettings { pub fn CustomVideoEncodingBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomVideoEncodingBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5505,7 +5505,7 @@ impl AppCaptureSettings { pub fn CustomVideoEncodingHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomVideoEncodingHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5516,7 +5516,7 @@ impl AppCaptureSettings { pub fn CustomVideoEncodingWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomVideoEncodingWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5527,7 +5527,7 @@ impl AppCaptureSettings { pub fn HistoricalBufferLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HistoricalBufferLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5538,7 +5538,7 @@ impl AppCaptureSettings { pub fn HistoricalBufferLengthUnit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HistoricalBufferLengthUnit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5549,7 +5549,7 @@ impl AppCaptureSettings { pub fn IsHistoricalCaptureEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHistoricalCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5560,7 +5560,7 @@ impl AppCaptureSettings { pub fn IsHistoricalCaptureOnBatteryAllowed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHistoricalCaptureOnBatteryAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5571,7 +5571,7 @@ impl AppCaptureSettings { pub fn IsHistoricalCaptureOnWirelessDisplayAllowed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHistoricalCaptureOnWirelessDisplayAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5586,7 +5586,7 @@ impl AppCaptureSettings { pub fn MaximumRecordLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaximumRecordLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5604,7 +5604,7 @@ impl AppCaptureSettings { pub fn ScreenshotDestinationFolder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenshotDestinationFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5615,7 +5615,7 @@ impl AppCaptureSettings { pub fn VideoEncodingBitrateMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoEncodingBitrateMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5626,7 +5626,7 @@ impl AppCaptureSettings { pub fn VideoEncodingResolutionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoEncodingResolutionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5637,49 +5637,49 @@ impl AppCaptureSettings { pub fn IsAppCaptureEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAppCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCpuConstrained(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCpuConstrained)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDisabledByPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabledByPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMemoryConstrained(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMemoryConstrained)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasHardwareEncoder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasHardwareEncoder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGpuConstrained(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGpuConstrained)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AlternateShortcutKeys(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateShortcutKeys)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5690,7 +5690,7 @@ impl AppCaptureSettings { pub fn IsMicrophoneCaptureEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMicrophoneCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5701,7 +5701,7 @@ impl AppCaptureSettings { pub fn IsMicrophoneCaptureEnabledByDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMicrophoneCaptureEnabledByDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5712,7 +5712,7 @@ impl AppCaptureSettings { pub fn SystemAudioGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemAudioGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5723,7 +5723,7 @@ impl AppCaptureSettings { pub fn MicrophoneGain(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicrophoneGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5734,7 +5734,7 @@ impl AppCaptureSettings { pub fn VideoEncodingFrameRateMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoEncodingFrameRateMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5745,7 +5745,7 @@ impl AppCaptureSettings { pub fn IsEchoCancellationEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEchoCancellationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5756,7 +5756,7 @@ impl AppCaptureSettings { pub fn IsCursorImageCaptureEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCursorImageCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5828,21 +5828,21 @@ impl AppCaptureState { pub fn IsTargetRunning(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTargetRunning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHistoricalCaptureEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHistoricalCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShouldCaptureMicrophone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldCaptureMicrophone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5857,14 +5857,14 @@ impl AppCaptureState { pub fn MicrophoneCaptureState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicrophoneCaptureState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MicrophoneCaptureError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicrophoneCaptureError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5876,7 +5876,7 @@ impl AppCaptureState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MicrophoneCaptureStateChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5894,7 +5894,7 @@ impl AppCaptureState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureTargetClosed)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6085,14 +6085,14 @@ impl CameraCaptureUI { pub fn PhotoSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6101,7 +6101,7 @@ impl CameraCaptureUI { pub fn CaptureFileAsync(&self, mode: CameraCaptureUIMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureFileAsync)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6282,7 +6282,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6293,7 +6293,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn MaxResolution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6306,7 +6306,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn CroppedSizeInPixels(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CroppedSizeInPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6321,7 +6321,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn CroppedAspectRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CroppedAspectRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6334,7 +6334,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn AllowCropping(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowCropping)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6447,7 +6447,7 @@ impl CameraCaptureUIVideoCaptureSettings { pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6458,7 +6458,7 @@ impl CameraCaptureUIVideoCaptureSettings { pub fn MaxResolution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxResolution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6469,7 +6469,7 @@ impl CameraCaptureUIVideoCaptureSettings { pub fn MaxDurationInSeconds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxDurationInSeconds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6480,7 +6480,7 @@ impl CameraCaptureUIVideoCaptureSettings { pub fn AllowTrimming(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowTrimming)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6610,21 +6610,21 @@ impl CapturedFrame { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ControlValues(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlValues)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6633,7 +6633,7 @@ impl CapturedFrame { pub fn BitmapProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6642,7 +6642,7 @@ impl CapturedFrame { pub fn SoftwareBitmap(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoftwareBitmap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6657,7 +6657,7 @@ impl CapturedFrame { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6670,7 +6670,7 @@ impl CapturedFrame { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6683,7 +6683,7 @@ impl CapturedFrame { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6692,7 +6692,7 @@ impl CapturedFrame { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6701,7 +6701,7 @@ impl CapturedFrame { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6716,7 +6716,7 @@ impl CapturedFrame { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6725,7 +6725,7 @@ impl CapturedFrame { pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6734,7 +6734,7 @@ impl CapturedFrame { pub fn Position(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6749,7 +6749,7 @@ impl CapturedFrame { pub fn CloneStream(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6758,7 +6758,7 @@ impl CapturedFrame { pub fn CanRead(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6767,7 +6767,7 @@ impl CapturedFrame { pub fn CanWrite(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6975,7 +6975,7 @@ impl CapturedFrameControlValues { pub fn Exposure(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exposure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6984,7 +6984,7 @@ impl CapturedFrameControlValues { pub fn ExposureCompensation(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExposureCompensation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6993,7 +6993,7 @@ impl CapturedFrameControlValues { pub fn IsoSpeed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsoSpeed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7002,7 +7002,7 @@ impl CapturedFrameControlValues { pub fn Focus(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Focus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7011,7 +7011,7 @@ impl CapturedFrameControlValues { pub fn SceneMode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SceneMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7020,7 +7020,7 @@ impl CapturedFrameControlValues { pub fn Flashed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Flashed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7029,7 +7029,7 @@ impl CapturedFrameControlValues { pub fn FlashPowerPercent(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlashPowerPercent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7038,7 +7038,7 @@ impl CapturedFrameControlValues { pub fn WhiteBalance(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WhiteBalance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7047,7 +7047,7 @@ impl CapturedFrameControlValues { pub fn ZoomFactor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZoomFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7056,7 +7056,7 @@ impl CapturedFrameControlValues { pub fn FocusState(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocusState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7065,7 +7065,7 @@ impl CapturedFrameControlValues { pub fn IsoDigitalGain(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsoDigitalGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7074,7 +7074,7 @@ impl CapturedFrameControlValues { pub fn IsoAnalogGain(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsoAnalogGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7083,7 +7083,7 @@ impl CapturedFrameControlValues { pub fn SensorFrameRate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SensorFrameRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7092,7 +7092,7 @@ impl CapturedFrameControlValues { pub fn WhiteBalanceGain(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WhiteBalanceGain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7166,14 +7166,14 @@ impl CapturedPhoto { pub fn Frame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Frame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7362,7 +7362,7 @@ impl GameBarServices { pub fn TargetCapturePolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetCapturePolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7377,28 +7377,28 @@ impl GameBarServices { pub fn TargetInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SessionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppBroadcastServices(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppBroadcastServices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppCaptureServices(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppCaptureServices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7410,7 +7410,7 @@ impl GameBarServices { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandReceived)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7490,14 +7490,14 @@ impl GameBarServicesCommandEventArgs { pub fn Command(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Command)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Origin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Origin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7610,7 +7610,7 @@ impl GameBarServicesManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GameBarServicesCreated)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7622,7 +7622,7 @@ impl GameBarServicesManager { } pub fn GetDefault() -> ::windows::core::Result { Self::IGameBarServicesManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7701,7 +7701,7 @@ impl GameBarServicesManagerGameBarServicesCreatedEventArgs { pub fn GameBarServices(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GameBarServices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7775,28 +7775,28 @@ impl GameBarServicesTargetInfo { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TitleId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TitleId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10721,7 +10721,7 @@ impl LowLagMediaRecording { pub fn StartAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10730,7 +10730,7 @@ impl LowLagMediaRecording { pub fn StopAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10739,7 +10739,7 @@ impl LowLagMediaRecording { pub fn FinishAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinishAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10748,7 +10748,7 @@ impl LowLagMediaRecording { pub fn PauseAsync(&self, behavior: super::Devices::MediaCapturePauseBehavior) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseAsync)(::windows::core::Interface::as_raw(this), behavior, result__.as_mut_ptr()).from_abi::(result__) } } @@ -10757,7 +10757,7 @@ impl LowLagMediaRecording { pub fn ResumeAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResumeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10766,7 +10766,7 @@ impl LowLagMediaRecording { pub fn PauseWithResultAsync(&self, behavior: super::Devices::MediaCapturePauseBehavior) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseWithResultAsync)(::windows::core::Interface::as_raw(this), behavior, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10775,7 +10775,7 @@ impl LowLagMediaRecording { pub fn StopWithResultAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopWithResultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10849,7 +10849,7 @@ impl LowLagPhotoCapture { pub fn CaptureAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10858,7 +10858,7 @@ impl LowLagPhotoCapture { pub fn FinishAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinishAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10932,7 +10932,7 @@ impl LowLagPhotoSequenceCapture { pub fn StartAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10941,7 +10941,7 @@ impl LowLagPhotoSequenceCapture { pub fn StopAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10950,7 +10950,7 @@ impl LowLagPhotoSequenceCapture { pub fn FinishAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinishAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10962,7 +10962,7 @@ impl LowLagPhotoSequenceCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoCaptured)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11055,7 +11055,7 @@ impl MediaCapture { pub fn InitializeAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitializeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11067,7 +11067,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitializeWithSettingsAsync)(::windows::core::Interface::as_raw(this), mediacaptureinitializationsettings.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11081,7 +11081,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartRecordToStorageFileAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11095,7 +11095,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartRecordToStreamAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11109,7 +11109,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartRecordToCustomSinkAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), custommediasink.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11124,7 +11124,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartRecordToCustomSinkIdAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), customsinkactivationid.into().abi(), customsinksettings.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11133,7 +11133,7 @@ impl MediaCapture { pub fn StopRecordAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopRecordAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11147,7 +11147,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapturePhotoToStorageFileAsync)(::windows::core::Interface::as_raw(this), r#type.into().abi(), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11161,7 +11161,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapturePhotoToStreamAsync)(::windows::core::Interface::as_raw(this), r#type.into().abi(), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11175,7 +11175,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddEffectAsync)(::windows::core::Interface::as_raw(this), mediastreamtype, effectactivationid.into().abi(), effectsettings.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11184,7 +11184,7 @@ impl MediaCapture { pub fn ClearEffectsAsync(&self, mediastreamtype: MediaStreamType) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearEffectsAsync)(::windows::core::Interface::as_raw(this), mediastreamtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -11198,7 +11198,7 @@ impl MediaCapture { pub fn GetEncoderProperty(&self, mediastreamtype: MediaStreamType, propertyid: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEncoderProperty)(::windows::core::Interface::as_raw(this), mediastreamtype, propertyid, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -11210,7 +11210,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Failed)(::windows::core::Interface::as_raw(this), erroreventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11228,7 +11228,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordLimitationExceeded)(::windows::core::Interface::as_raw(this), recordlimitationexceededeventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11241,7 +11241,7 @@ impl MediaCapture { pub fn MediaCaptureSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaCaptureSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11250,7 +11250,7 @@ impl MediaCapture { pub fn AudioDeviceController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioDeviceController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11259,7 +11259,7 @@ impl MediaCapture { pub fn VideoDeviceController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11270,7 +11270,7 @@ impl MediaCapture { pub fn GetPreviewMirroring(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPreviewMirroring)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11281,7 +11281,7 @@ impl MediaCapture { pub fn GetPreviewRotation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPreviewRotation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11292,7 +11292,7 @@ impl MediaCapture { pub fn GetRecordRotation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecordRotation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11306,7 +11306,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareLowLagRecordToStorageFileAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11320,7 +11320,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareLowLagRecordToStreamAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11334,7 +11334,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareLowLagRecordToCustomSinkAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), custommediasink.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11349,7 +11349,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareLowLagRecordToCustomSinkIdAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), customsinkactivationid.into().abi(), customsinksettings.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11361,7 +11361,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareLowLagPhotoCaptureAsync)(::windows::core::Interface::as_raw(this), r#type.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11373,7 +11373,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareLowLagPhotoSequenceCaptureAsync)(::windows::core::Interface::as_raw(this), r#type.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11387,7 +11387,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetEncodingPropertiesAsync)(::windows::core::Interface::as_raw(this), mediastreamtype, mediaencodingproperties.try_into().map_err(|e| e.into())?.abi(), encoderproperties.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11399,7 +11399,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareVariablePhotoSequenceCaptureAsync)(::windows::core::Interface::as_raw(this), r#type.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11411,7 +11411,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11429,7 +11429,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoConfirmationCaptured)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11448,7 +11448,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddAudioEffectAsync)(::windows::core::Interface::as_raw(this), definition.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11461,7 +11461,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddVideoEffectAsync)(::windows::core::Interface::as_raw(this), definition.try_into().map_err(|e| e.into())?.abi(), mediastreamtype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11470,7 +11470,7 @@ impl MediaCapture { pub fn PauseRecordAsync(&self, behavior: super::Devices::MediaCapturePauseBehavior) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseRecordAsync)(::windows::core::Interface::as_raw(this), behavior, result__.as_mut_ptr()).from_abi::(result__) } } @@ -11479,7 +11479,7 @@ impl MediaCapture { pub fn ResumeRecordAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResumeRecordAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11491,7 +11491,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraStreamStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11506,7 +11506,7 @@ impl MediaCapture { pub fn CameraStreamState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraStreamState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11515,7 +11515,7 @@ impl MediaCapture { pub fn GetPreviewFrameAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPreviewFrameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11527,7 +11527,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPreviewFrameCopyAsync)(::windows::core::Interface::as_raw(this), destination.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11539,7 +11539,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThermalStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11552,7 +11552,7 @@ impl MediaCapture { pub fn ThermalStatus(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThermalStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11564,7 +11564,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareAdvancedPhotoCaptureAsync)(::windows::core::Interface::as_raw(this), encodingproperties.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11577,7 +11577,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveEffectAsync)(::windows::core::Interface::as_raw(this), effect.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11586,7 +11586,7 @@ impl MediaCapture { pub fn PauseRecordWithResultAsync(&self, behavior: super::Devices::MediaCapturePauseBehavior) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseRecordWithResultAsync)(::windows::core::Interface::as_raw(this), behavior, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11595,7 +11595,7 @@ impl MediaCapture { pub fn StopRecordWithResultAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopRecordWithResultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11604,7 +11604,7 @@ impl MediaCapture { pub fn FrameSources(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameSources)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11616,7 +11616,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameReaderAsync)(::windows::core::Interface::as_raw(this), inputsource.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11629,7 +11629,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameReaderWithSubtypeAsync)(::windows::core::Interface::as_raw(this), inputsource.into().abi(), outputsubtype.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11642,7 +11642,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFrameReaderWithSubtypeAndSizeAsync)(::windows::core::Interface::as_raw(this), inputsource.into().abi(), outputsubtype.into().abi(), outputsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11654,7 +11654,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureDeviceExclusiveControlStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11673,7 +11673,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMultiSourceFrameReaderAsync)(::windows::core::Interface::as_raw(this), inputsources.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11685,7 +11685,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRelativePanelWatcher)(::windows::core::Interface::as_raw(this), capturemode, displayregion.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11694,7 +11694,7 @@ impl MediaCapture { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMediaCaptureStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVideoProfileSupported)(::windows::core::Interface::as_raw(this), videodeviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -11705,7 +11705,7 @@ impl MediaCapture { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMediaCaptureStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllVideoProfiles)(::windows::core::Interface::as_raw(this), videodeviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -11716,7 +11716,7 @@ impl MediaCapture { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMediaCaptureStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindConcurrentProfiles)(::windows::core::Interface::as_raw(this), videodeviceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -11727,7 +11727,7 @@ impl MediaCapture { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMediaCaptureStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindKnownVideoProfiles)(::windows::core::Interface::as_raw(this), videodeviceid.into().abi(), name, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -11736,7 +11736,7 @@ impl MediaCapture { pub fn StartPreviewAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPreviewAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11750,7 +11750,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPreviewToCustomSinkAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), custommediasink.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11765,7 +11765,7 @@ impl MediaCapture { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPreviewToCustomSinkIdAsync)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), customsinkactivationid.into().abi(), customsinksettings.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11774,7 +11774,7 @@ impl MediaCapture { pub fn StopPreviewAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopPreviewAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11907,14 +11907,14 @@ impl MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11988,14 +11988,14 @@ impl MediaCaptureFailedEventArgs { pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Code(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12157,7 +12157,7 @@ impl MediaCaptureFocusChangedEventArgs { pub fn FocusState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocusState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12245,7 +12245,7 @@ impl MediaCaptureInitializationSettings { pub fn AudioDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12259,7 +12259,7 @@ impl MediaCaptureInitializationSettings { pub fn VideoDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12270,7 +12270,7 @@ impl MediaCaptureInitializationSettings { pub fn StreamingCaptureMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamingCaptureMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12281,7 +12281,7 @@ impl MediaCaptureInitializationSettings { pub fn PhotoCaptureSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoCaptureSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12292,7 +12292,7 @@ impl MediaCaptureInitializationSettings { pub fn MediaCategory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaCategory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12303,7 +12303,7 @@ impl MediaCaptureInitializationSettings { pub fn AudioProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12322,7 +12322,7 @@ impl MediaCaptureInitializationSettings { pub fn AudioSource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12341,14 +12341,14 @@ impl MediaCaptureInitializationSettings { pub fn VideoSource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoProfile(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12362,7 +12362,7 @@ impl MediaCaptureInitializationSettings { pub fn PreviewMediaDescription(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviewMediaDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12376,7 +12376,7 @@ impl MediaCaptureInitializationSettings { pub fn RecordMediaDescription(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordMediaDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12390,7 +12390,7 @@ impl MediaCaptureInitializationSettings { pub fn PhotoMediaDescription(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoMediaDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12406,7 +12406,7 @@ impl MediaCaptureInitializationSettings { pub fn SourceGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12422,7 +12422,7 @@ impl MediaCaptureInitializationSettings { pub fn SharingMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12433,7 +12433,7 @@ impl MediaCaptureInitializationSettings { pub fn MemoryPreference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MemoryPreference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12444,7 +12444,7 @@ impl MediaCaptureInitializationSettings { pub fn AlwaysPlaySystemShutterSound(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlwaysPlaySystemShutterSound)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12457,7 +12457,7 @@ impl MediaCaptureInitializationSettings { pub fn DeviceUriPasswordCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceUriPasswordCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12475,7 +12475,7 @@ impl MediaCaptureInitializationSettings { pub fn DeviceUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12598,7 +12598,7 @@ impl MediaCapturePauseResult { pub fn LastFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12607,7 +12607,7 @@ impl MediaCapturePauseResult { pub fn RecordDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12709,7 +12709,7 @@ impl MediaCaptureRelativePanelWatcher { pub fn RelativePanel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativePanel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12721,7 +12721,7 @@ impl MediaCaptureRelativePanelWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12831,56 +12831,56 @@ impl MediaCaptureSettings { pub fn AudioDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn VideoDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn StreamingCaptureMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamingCaptureMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhotoCaptureSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoCaptureSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoDeviceCharacteristic(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceCharacteristic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConcurrentRecordAndPhotoSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConcurrentRecordAndPhotoSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConcurrentRecordAndPhotoSequenceSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConcurrentRecordAndPhotoSequenceSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CameraSoundRequiredForRegion(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraSoundRequiredForRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12889,7 +12889,7 @@ impl MediaCaptureSettings { pub fn Horizontal35mmEquivalentFocalLength(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Horizontal35mmEquivalentFocalLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -12898,7 +12898,7 @@ impl MediaCaptureSettings { pub fn PitchOffsetDegrees(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PitchOffsetDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -12907,21 +12907,21 @@ impl MediaCaptureSettings { pub fn Vertical35mmEquivalentFocalLength(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Vertical35mmEquivalentFocalLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MediaCategory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaCategory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AudioProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12930,7 +12930,7 @@ impl MediaCaptureSettings { pub fn Direct3D11Device(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direct3D11Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13042,7 +13042,7 @@ impl MediaCaptureStopResult { pub fn LastFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13051,7 +13051,7 @@ impl MediaCaptureStopResult { pub fn RecordDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13179,14 +13179,14 @@ impl MediaCaptureVideoProfile { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn VideoDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13195,7 +13195,7 @@ impl MediaCaptureVideoProfile { pub fn SupportedPreviewMediaDescription(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedPreviewMediaDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13204,7 +13204,7 @@ impl MediaCaptureVideoProfile { pub fn SupportedRecordMediaDescription(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedRecordMediaDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13213,7 +13213,7 @@ impl MediaCaptureVideoProfile { pub fn SupportedPhotoMediaDescription(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedPhotoMediaDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13222,7 +13222,7 @@ impl MediaCaptureVideoProfile { pub fn GetConcurrency(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConcurrency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13231,7 +13231,7 @@ impl MediaCaptureVideoProfile { pub fn FrameSourceInfos(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameSourceInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13240,7 +13240,7 @@ impl MediaCaptureVideoProfile { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13314,21 +13314,21 @@ impl MediaCaptureVideoProfileMediaDescription { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FrameRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13337,7 +13337,7 @@ impl MediaCaptureVideoProfileMediaDescription { pub fn IsVariablePhotoSequenceSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVariablePhotoSequenceSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13346,14 +13346,14 @@ impl MediaCaptureVideoProfileMediaDescription { pub fn IsHdrVideoSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHdrVideoSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Subtype(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13362,7 +13362,7 @@ impl MediaCaptureVideoProfileMediaDescription { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13513,14 +13513,14 @@ impl OptionalReferencePhotoCapturedEventArgs { pub fn Frame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Frame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Context(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Context)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -13629,14 +13629,14 @@ impl PhotoCapturedEventArgs { pub fn Frame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Frame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13645,7 +13645,7 @@ impl PhotoCapturedEventArgs { pub fn CaptureTimeOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureTimeOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13719,7 +13719,7 @@ impl PhotoConfirmationCapturedEventArgs { pub fn Frame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Frame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13728,7 +13728,7 @@ impl PhotoConfirmationCapturedEventArgs { pub fn CaptureTimeOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureTimeOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13927,7 +13927,7 @@ impl ScreenCapture { pub fn AudioSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13936,21 +13936,21 @@ impl ScreenCapture { pub fn VideoSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAudioSuspended(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAudioSuspended)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVideoSuspended(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVideoSuspended)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13962,7 +13962,7 @@ impl ScreenCapture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceSuspensionChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13974,7 +13974,7 @@ impl ScreenCapture { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IScreenCaptureStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -14053,14 +14053,14 @@ impl SourceSuspensionChangedEventArgs { pub fn IsAudioSuspended(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAudioSuspended)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVideoSuspended(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVideoSuspended)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14244,7 +14244,7 @@ impl VideoStreamConfiguration { pub fn InputProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14253,7 +14253,7 @@ impl VideoStreamConfiguration { pub fn OutputProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Casting/mod.rs b/crates/libs/windows/src/Windows/Media/Casting/mod.rs index 5cbb0aa231..c85290fc13 100644 --- a/crates/libs/windows/src/Windows/Media/Casting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Casting/mod.rs @@ -5,21 +5,21 @@ impl CastingConnection { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38,7 +38,7 @@ impl CastingConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -56,7 +56,7 @@ impl CastingConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorOccurred)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -74,7 +74,7 @@ impl CastingConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStartCastingAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -83,7 +83,7 @@ impl CastingConnection { pub fn DisconnectAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisconnectAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -185,14 +185,14 @@ impl CastingConnectionErrorOccurredEventArgs { pub fn ErrorStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -342,14 +342,14 @@ impl CastingDevice { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -358,7 +358,7 @@ impl CastingDevice { pub fn Icon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Icon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -367,20 +367,20 @@ impl CastingDevice { pub fn GetSupportedCastingPlaybackTypesAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedCastingPlaybackTypesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateCastingConnection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCastingConnection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeviceSelector(r#type: CastingPlaybackTypes) -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICastingDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -391,7 +391,7 @@ impl CastingDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, CastingSource>>, { Self::ICastingDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelectorFromCastingSourceAsync)(::windows::core::Interface::as_raw(this), castingsource.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -402,7 +402,7 @@ impl CastingDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICastingDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -413,7 +413,7 @@ impl CastingDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Enumeration::DeviceInformation>>, { Self::ICastingDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInfoSupportsCastingAsync)(::windows::core::Interface::as_raw(this), device.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -499,7 +499,7 @@ impl CastingDevicePicker { pub fn Filter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Filter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -508,7 +508,7 @@ impl CastingDevicePicker { pub fn Appearance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Appearance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -520,7 +520,7 @@ impl CastingDevicePicker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CastingDeviceSelected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -538,7 +538,7 @@ impl CastingDevicePicker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CastingDevicePickerDismissed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -634,7 +634,7 @@ impl CastingDevicePickerFilter { pub fn SupportsAudio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsAudio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -645,7 +645,7 @@ impl CastingDevicePickerFilter { pub fn SupportsVideo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsVideo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -656,7 +656,7 @@ impl CastingDevicePickerFilter { pub fn SupportsPictures(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsPictures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -669,7 +669,7 @@ impl CastingDevicePickerFilter { pub fn SupportedCastingSources(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCastingSources)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -743,7 +743,7 @@ impl CastingDeviceSelectedEventArgs { pub fn SelectedCastingDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedCastingDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -883,7 +883,7 @@ impl CastingSource { pub fn PreferredSourceUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredSourceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs index e97df60d2b..407485f204 100644 --- a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs @@ -119,7 +119,7 @@ pub struct ClosedCaptionProperties; impl ClosedCaptionProperties { pub fn FontColor() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -127,37 +127,37 @@ impl ClosedCaptionProperties { #[cfg(feature = "UI")] pub fn ComputedFontColor() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ComputedFontColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FontOpacity() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontOpacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FontSize() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FontStyle() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FontEffect() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontEffect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BackgroundColor() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -165,19 +165,19 @@ impl ClosedCaptionProperties { #[cfg(feature = "UI")] pub fn ComputedBackgroundColor() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ComputedBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BackgroundOpacity() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundOpacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RegionColor() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegionColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -185,13 +185,13 @@ impl ClosedCaptionProperties { #[cfg(feature = "UI")] pub fn ComputedRegionColor() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ComputedRegionColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RegionOpacity() -> ::windows::core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegionOpacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs index 0331f9a277..e9618d8721 100644 --- a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs @@ -41,7 +41,7 @@ impl ContentRestrictionsBrowsePolicy { pub fn GeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -50,7 +50,7 @@ impl ContentRestrictionsBrowsePolicy { pub fn MaxBrowsableAgeRating(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBrowsableAgeRating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -59,7 +59,7 @@ impl ContentRestrictionsBrowsePolicy { pub fn PreferredAgeRating(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredAgeRating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -284,7 +284,7 @@ impl RatedContentDescription { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -298,7 +298,7 @@ impl RatedContentDescription { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -314,7 +314,7 @@ impl RatedContentDescription { pub fn Image(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Image)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -331,7 +331,7 @@ impl RatedContentDescription { pub fn Category(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -344,7 +344,7 @@ impl RatedContentDescription { pub fn Ratings(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ratings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -364,7 +364,7 @@ impl RatedContentDescription { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRatedContentDescriptionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), id.into().abi(), title.into().abi(), category, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -452,7 +452,7 @@ impl RatedContentRestrictions { pub fn GetBrowsePolicyAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBrowsePolicyAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -464,7 +464,7 @@ impl RatedContentRestrictions { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRestrictionLevelAsync)(::windows::core::Interface::as_raw(this), ratedcontentdescription.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -476,7 +476,7 @@ impl RatedContentRestrictions { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestContentAccessAsync)(::windows::core::Interface::as_raw(this), ratedcontentdescription.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -488,7 +488,7 @@ impl RatedContentRestrictions { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RestrictionsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -500,7 +500,7 @@ impl RatedContentRestrictions { } pub fn CreateWithMaxAgeRating(maxagerating: u32) -> ::windows::core::Result { Self::IRatedContentRestrictionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithMaxAgeRating)(::windows::core::Interface::as_raw(this), maxagerating, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Control/mod.rs b/crates/libs/windows/src/Windows/Media/Control/mod.rs index 0891a6fe17..8d8c88b6d9 100644 --- a/crates/libs/windows/src/Windows/Media/Control/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Control/mod.rs @@ -71,7 +71,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn SourceAppUserModelId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceAppUserModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -80,21 +80,21 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryGetMediaPropertiesAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetMediaPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetTimelineProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTimelineProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPlaybackInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPlaybackInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -103,7 +103,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryPlayAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryPlayAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -112,7 +112,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryPauseAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryPauseAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -121,7 +121,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryStopAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryStopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -130,7 +130,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryRecordAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRecordAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -139,7 +139,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryFastForwardAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryFastForwardAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -148,7 +148,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryRewindAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRewindAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -157,7 +157,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TrySkipNextAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySkipNextAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -166,7 +166,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TrySkipPreviousAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySkipPreviousAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -175,7 +175,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryChangeChannelUpAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryChangeChannelUpAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -184,7 +184,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryChangeChannelDownAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryChangeChannelDownAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -193,7 +193,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryTogglePlayPauseAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryTogglePlayPauseAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -202,7 +202,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryChangeAutoRepeatModeAsync(&self, requestedautorepeatmode: super::MediaPlaybackAutoRepeatMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryChangeAutoRepeatModeAsync)(::windows::core::Interface::as_raw(this), requestedautorepeatmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -211,7 +211,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryChangePlaybackRateAsync(&self, requestedplaybackrate: f64) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryChangePlaybackRateAsync)(::windows::core::Interface::as_raw(this), requestedplaybackrate, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -220,7 +220,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryChangeShuffleActiveAsync(&self, requestedshufflestate: bool) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryChangeShuffleActiveAsync)(::windows::core::Interface::as_raw(this), requestedshufflestate, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -229,7 +229,7 @@ impl GlobalSystemMediaTransportControlsSession { pub fn TryChangePlaybackPositionAsync(&self, requestedplaybackposition: i64) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryChangePlaybackPositionAsync)(::windows::core::Interface::as_raw(this), requestedplaybackposition, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -241,7 +241,7 @@ impl GlobalSystemMediaTransportControlsSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimelinePropertiesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -259,7 +259,7 @@ impl GlobalSystemMediaTransportControlsSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackInfoChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -277,7 +277,7 @@ impl GlobalSystemMediaTransportControlsSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaPropertiesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -357,7 +357,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { pub fn GetCurrentSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -366,7 +366,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { pub fn GetSessions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSessions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -378,7 +378,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentSessionChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -396,7 +396,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -410,7 +410,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { #[cfg(feature = "Foundation")] pub fn RequestAsync() -> ::windows::core::Result> { Self::IGlobalSystemMediaTransportControlsSessionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -489,42 +489,42 @@ impl GlobalSystemMediaTransportControlsSessionMediaProperties { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Subtitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AlbumArtist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumArtist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Artist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Artist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AlbumTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TrackNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -533,14 +533,14 @@ impl GlobalSystemMediaTransportControlsSessionMediaProperties { pub fn Genres(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Genres)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AlbumTrackCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumTrackCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -549,7 +549,7 @@ impl GlobalSystemMediaTransportControlsSessionMediaProperties { pub fn PlaybackType(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -558,7 +558,7 @@ impl GlobalSystemMediaTransportControlsSessionMediaProperties { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -632,105 +632,105 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackControls { pub fn IsPlayEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPlayEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPauseEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPauseEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStopEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStopEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRecordEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRecordEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsFastForwardEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFastForwardEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRewindEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRewindEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsNextEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNextEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPreviousEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPreviousEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsChannelUpEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsChannelUpEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsChannelDownEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsChannelDownEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPlayPauseToggleEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPlayPauseToggleEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsShuffleEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsShuffleEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRepeatEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRepeatEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPlaybackRateEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPlaybackRateEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPlaybackPositionEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPlaybackPositionEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -804,14 +804,14 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackInfo { pub fn Controls(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Controls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PlaybackStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -820,7 +820,7 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackInfo { pub fn PlaybackType(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -829,7 +829,7 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackInfo { pub fn AutoRepeatMode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoRepeatMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -838,7 +838,7 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackInfo { pub fn PlaybackRate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -847,7 +847,7 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackInfo { pub fn IsShuffleActive(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsShuffleActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -961,7 +961,7 @@ impl GlobalSystemMediaTransportControlsSessionTimelineProperties { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -970,7 +970,7 @@ impl GlobalSystemMediaTransportControlsSessionTimelineProperties { pub fn EndTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -979,7 +979,7 @@ impl GlobalSystemMediaTransportControlsSessionTimelineProperties { pub fn MinSeekTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinSeekTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -988,7 +988,7 @@ impl GlobalSystemMediaTransportControlsSessionTimelineProperties { pub fn MaxSeekTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSeekTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -997,7 +997,7 @@ impl GlobalSystemMediaTransportControlsSessionTimelineProperties { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1006,7 +1006,7 @@ impl GlobalSystemMediaTransportControlsSessionTimelineProperties { pub fn LastUpdatedTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastUpdatedTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs index 2fdb3e500c..c7c8d05b7d 100644 --- a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs @@ -24,7 +24,7 @@ pub struct SoundLevelBroker; impl SoundLevelBroker { pub fn SoundLevel() -> ::windows::core::Result { Self::ISoundLevelBrokerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoundLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -35,7 +35,7 @@ impl SoundLevelBroker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::ISoundLevelBrokerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoundLevelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index eb85a632db..15cc17f38a 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -80,7 +80,7 @@ impl AudioStreamDescriptor { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -99,7 +99,7 @@ impl AudioStreamDescriptor { pub fn LeadingEncoderPadding(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeadingEncoderPadding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -118,14 +118,14 @@ impl AudioStreamDescriptor { pub fn TrailingEncoderPadding(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrailingEncoderPadding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Copy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -136,14 +136,14 @@ impl AudioStreamDescriptor { P0: ::std::convert::Into<::windows::core::InParam<'a, super::MediaProperties::AudioEncodingProperties>>, { Self::IAudioStreamDescriptorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), encodingproperties.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSelected(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -157,7 +157,7 @@ impl AudioStreamDescriptor { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -171,7 +171,7 @@ impl AudioStreamDescriptor { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -185,7 +185,7 @@ impl AudioStreamDescriptor { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -307,7 +307,7 @@ impl AudioTrack { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenFailed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -322,7 +322,7 @@ impl AudioTrack { pub fn GetEncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -331,42 +331,42 @@ impl AudioTrack { pub fn PlaybackItem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SupportInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TrackKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -380,7 +380,7 @@ impl AudioTrack { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -473,7 +473,7 @@ impl AudioTrackOpenFailedEventArgs { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -547,28 +547,28 @@ impl AudioTrackSupportInfo { pub fn DecoderStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecoderStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Degradation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Degradation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DegradationReason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DegradationReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaSourceStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSourceStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -656,7 +656,7 @@ impl ChapterCue { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -671,7 +671,7 @@ impl ChapterCue { pub fn StartTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -686,7 +686,7 @@ impl ChapterCue { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -700,7 +700,7 @@ impl ChapterCue { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -827,14 +827,14 @@ impl CodecInfo { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Category(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -843,21 +843,21 @@ impl CodecInfo { pub fn Subtypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsTrusted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTrusted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -977,7 +977,7 @@ impl CodecQuery { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), kind, category, subtype.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1049,307 +1049,307 @@ pub struct CodecSubtypes; impl CodecSubtypes { pub fn VideoFormatDV25() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatDV25)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatDV50() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatDV50)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatDvc() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatDvc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatDvh1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatDvh1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatDvhD() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatDvhD)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatDvsd() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatDvsd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatDvsl() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatDvsl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatH263() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatH263)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatH264() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatH264)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatH265() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatH265)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatH264ES() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatH264ES)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatHevc() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatHevc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatHevcES() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatHevcES)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatM4S2() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatM4S2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatMjpg() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatMjpg)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatMP43() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatMP43)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatMP4S() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatMP4S)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatMP4V() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatMP4V)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatMpeg2() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatMpeg2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatVP80() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatVP80)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatVP90() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatVP90)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatMpg1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatMpg1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatMss1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatMss1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatMss2() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatMss2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatWmv1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatWmv1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatWmv2() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatWmv2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatWmv3() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatWmv3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormatWvc1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormatWvc1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VideoFormat420O() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFormat420O)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatAac() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatAac)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatAdts() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatAdts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatAlac() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatAlac)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatAmrNB() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatAmrNB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatAmrWB() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatAmrWB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatAmrWP() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatAmrWP)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatDolbyAC3() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatDolbyAC3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatDolbyAC3Spdif() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatDolbyAC3Spdif)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatDolbyDDPlus() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatDolbyDDPlus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatDrm() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatDrm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatDts() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatDts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatFlac() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatFlac)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatFloat() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatFloat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatMP3() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatMP3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatMPeg() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatMPeg)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatMsp1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatMsp1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatOpus() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatOpus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatPcm() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatPcm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatWmaSpdif() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatWmaSpdif)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatWMAudioLossless() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatWMAudioLossless)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatWMAudioV8() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatWMAudioV8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AudioFormatWMAudioV9() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFormatWMAudioV9)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1388,7 +1388,7 @@ impl DataCue { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1397,7 +1397,7 @@ impl DataCue { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1412,7 +1412,7 @@ impl DataCue { pub fn StartTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1427,7 +1427,7 @@ impl DataCue { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1441,7 +1441,7 @@ impl DataCue { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1534,7 +1534,7 @@ impl FaceDetectedEventArgs { pub fn ResultFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResultFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1612,7 +1612,7 @@ impl FaceDetectionEffect { pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1627,7 +1627,7 @@ impl FaceDetectionEffect { pub fn DesiredDetectionInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredDetectionInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1639,7 +1639,7 @@ impl FaceDetectionEffect { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FaceDetected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1761,7 +1761,7 @@ impl FaceDetectionEffectDefinition { pub fn DetectionMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1772,7 +1772,7 @@ impl FaceDetectionEffectDefinition { pub fn SynchronousDetectionEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SynchronousDetectionEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1781,7 +1781,7 @@ impl FaceDetectionEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1790,7 +1790,7 @@ impl FaceDetectionEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1909,21 +1909,21 @@ impl FaceDetectionEffectFrame { pub fn DetectedFaces(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetectedFaces)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1942,7 +1942,7 @@ impl FaceDetectionEffectFrame { pub fn RelativeTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1961,7 +1961,7 @@ impl FaceDetectionEffectFrame { pub fn SystemRelativeTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1980,7 +1980,7 @@ impl FaceDetectionEffectFrame { pub fn Duration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1991,7 +1991,7 @@ impl FaceDetectionEffectFrame { pub fn IsDiscontinuous(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDiscontinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2000,7 +2000,7 @@ impl FaceDetectionEffectFrame { pub fn ExtendedProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2154,7 +2154,7 @@ impl HighDynamicRangeControl { pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2228,7 +2228,7 @@ impl HighDynamicRangeOutput { pub fn Certainty(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Certainty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2237,7 +2237,7 @@ impl HighDynamicRangeOutput { pub fn FrameControllers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameControllers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2884,7 +2884,7 @@ impl IMediaCue { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2899,7 +2899,7 @@ impl IMediaCue { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2913,7 +2913,7 @@ impl IMediaCue { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3342,7 +3342,7 @@ impl IMediaStreamDescriptor { pub fn IsSelected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3356,7 +3356,7 @@ impl IMediaStreamDescriptor { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3370,7 +3370,7 @@ impl IMediaStreamDescriptor { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3456,14 +3456,14 @@ impl IMediaStreamDescriptor2 { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsSelected(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3477,7 +3477,7 @@ impl IMediaStreamDescriptor2 { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3491,7 +3491,7 @@ impl IMediaStreamDescriptor2 { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4051,21 +4051,21 @@ impl IMediaTrack { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TrackKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4079,7 +4079,7 @@ impl IMediaTrack { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4450,7 +4450,7 @@ impl ISingleSelectMediaTrackList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedIndexChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4467,7 +4467,7 @@ impl ISingleSelectMediaTrackList { pub fn SelectedIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4721,7 +4721,7 @@ impl ITimedMetadataTrackProvider { pub fn TimedMetadataTracks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimedMetadataTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5274,7 +5274,7 @@ impl ImageCue { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5285,7 +5285,7 @@ impl ImageCue { pub fn Extent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Extent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5307,7 +5307,7 @@ impl ImageCue { pub fn SoftwareBitmap(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoftwareBitmap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5322,7 +5322,7 @@ impl ImageCue { pub fn StartTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5337,7 +5337,7 @@ impl ImageCue { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5351,7 +5351,7 @@ impl ImageCue { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5444,7 +5444,7 @@ impl InitializeMediaStreamSourceRequestedEventArgs { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5453,7 +5453,7 @@ impl InitializeMediaStreamSourceRequestedEventArgs { pub fn RandomAccessStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RandomAccessStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5462,7 +5462,7 @@ impl InitializeMediaStreamSourceRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5536,13 +5536,13 @@ impl LowLightFusion { #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub fn SupportedBitmapPixelFormats() -> ::windows::core::Result> { Self::ILowLightFusionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedBitmapPixelFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn MaxSupportedFrameCount() -> ::windows::core::Result { Self::ILowLightFusionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSupportedFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5554,7 +5554,7 @@ impl LowLightFusion { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILowLightFusionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FuseAsync)(::windows::core::Interface::as_raw(this), frameset.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5582,7 +5582,7 @@ impl LowLightFusionResult { pub fn Frame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Frame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5690,7 +5690,7 @@ impl MediaBinder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Binding)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5703,7 +5703,7 @@ impl MediaBinder { pub fn Token(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Token)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5717,7 +5717,7 @@ impl MediaBinder { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5796,7 +5796,7 @@ impl MediaBindingEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Canceled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5809,7 +5809,7 @@ impl MediaBindingEventArgs { pub fn MediaBinder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaBinder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5818,7 +5818,7 @@ impl MediaBindingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5951,7 +5951,7 @@ impl MediaCueEventArgs { pub fn Cue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6072,7 +6072,7 @@ impl MediaSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenOperationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6087,7 +6087,7 @@ impl MediaSource { pub fn CustomProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6096,14 +6096,14 @@ impl MediaSource { pub fn Duration(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsOpen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6112,7 +6112,7 @@ impl MediaSource { pub fn ExternalTimedTextSources(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExternalTimedTextSources)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6121,7 +6121,7 @@ impl MediaSource { pub fn ExternalTimedMetadataTracks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExternalTimedMetadataTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6133,7 +6133,7 @@ impl MediaSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6146,7 +6146,7 @@ impl MediaSource { pub fn State(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6159,21 +6159,21 @@ impl MediaSource { pub fn AdaptiveMediaSource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdaptiveMediaSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaStreamSource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaStreamSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MseStreamSource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MseStreamSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6182,7 +6182,7 @@ impl MediaSource { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6191,7 +6191,7 @@ impl MediaSource { pub fn OpenAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6200,7 +6200,7 @@ impl MediaSource { pub fn DownloadOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6211,7 +6211,7 @@ impl MediaSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Streaming::Adaptive::AdaptiveMediaSource>>, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromAdaptiveMediaSource)(::windows::core::Interface::as_raw(this), mediasource.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6220,7 +6220,7 @@ impl MediaSource { P0: ::std::convert::Into<::windows::core::InParam<'a, MediaStreamSource>>, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromMediaStreamSource)(::windows::core::Interface::as_raw(this), mediasource.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6229,7 +6229,7 @@ impl MediaSource { P0: ::std::convert::Into<::windows::core::InParam<'a, MseStreamSource>>, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromMseStreamSource)(::windows::core::Interface::as_raw(this), mediasource.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6239,7 +6239,7 @@ impl MediaSource { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIMediaSource)(::windows::core::Interface::as_raw(this), mediasource.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6251,7 +6251,7 @@ impl MediaSource { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStorageFile)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6264,7 +6264,7 @@ impl MediaSource { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStream)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), contenttype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6277,7 +6277,7 @@ impl MediaSource { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStreamReference)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), contenttype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6288,7 +6288,7 @@ impl MediaSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromUri)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6297,7 +6297,7 @@ impl MediaSource { P0: ::std::convert::Into<::windows::core::InParam<'a, MediaBinder>>, { Self::IMediaSourceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromMediaBinder)(::windows::core::Interface::as_raw(this), binder.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6308,7 +6308,7 @@ impl MediaSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Capture::Frames::MediaFrameSource>>, { Self::IMediaSourceStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromMediaFrameSource)(::windows::core::Interface::as_raw(this), framesource.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6319,7 +6319,7 @@ impl MediaSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Networking::BackgroundTransfer::DownloadOperation>>, { Self::IMediaSourceStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDownloadOperation)(::windows::core::Interface::as_raw(this), downloadoperation.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6462,7 +6462,7 @@ impl MediaSourceAppServiceConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitializeMediaStreamSourceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6483,7 +6483,7 @@ impl MediaSourceAppServiceConnection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::ApplicationModel::AppService::AppServiceConnection>>, { Self::IMediaSourceAppServiceConnectionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), appserviceconnection.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6560,7 +6560,7 @@ impl MediaSourceError { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -6634,7 +6634,7 @@ impl MediaSourceOpenOperationCompletedEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6745,14 +6745,14 @@ impl MediaSourceStateChangedEventArgs { pub fn OldState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NewState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6865,7 +6865,7 @@ impl MediaStreamSample { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Processed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6880,7 +6880,7 @@ impl MediaStreamSample { pub fn Buffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Buffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6889,7 +6889,7 @@ impl MediaStreamSample { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6898,14 +6898,14 @@ impl MediaStreamSample { pub fn ExtendedProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Protection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Protection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6920,7 +6920,7 @@ impl MediaStreamSample { pub fn DecodeTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecodeTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6935,7 +6935,7 @@ impl MediaStreamSample { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6946,7 +6946,7 @@ impl MediaStreamSample { pub fn KeyFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6957,7 +6957,7 @@ impl MediaStreamSample { pub fn Discontinuous(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Discontinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6966,7 +6966,7 @@ impl MediaStreamSample { pub fn Direct3D11Surface(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direct3D11Surface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6978,7 +6978,7 @@ impl MediaStreamSample { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaStreamSampleStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), timestamp, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6990,7 +6990,7 @@ impl MediaStreamSample { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaStreamSampleStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStreamAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), count, timestamp, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -7002,7 +7002,7 @@ impl MediaStreamSample { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaStreamSampleStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDirect3D11Surface)(::windows::core::Interface::as_raw(this), surface.try_into().map_err(|e| e.into())?.abi(), timestamp, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7090,7 +7090,7 @@ impl MediaStreamSamplePropertySet { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -7099,7 +7099,7 @@ impl MediaStreamSamplePropertySet { pub fn Lookup(&self, key: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -7108,7 +7108,7 @@ impl MediaStreamSamplePropertySet { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7117,7 +7117,7 @@ impl MediaStreamSamplePropertySet { pub fn HasKey(&self, key: ::windows::core::GUID) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7126,7 +7126,7 @@ impl MediaStreamSamplePropertySet { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7138,7 +7138,7 @@ impl MediaStreamSamplePropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key, value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7395,7 +7395,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7413,7 +7413,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Starting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7431,7 +7431,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Paused)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7449,7 +7449,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SampleRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7467,7 +7467,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SwitchStreamsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7503,7 +7503,7 @@ impl MediaStreamSource { pub fn MediaProtectionManager(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaProtectionManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7518,7 +7518,7 @@ impl MediaStreamSource { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7529,7 +7529,7 @@ impl MediaStreamSource { pub fn CanSeek(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanSeek)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7544,7 +7544,7 @@ impl MediaStreamSource { pub fn BufferTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7559,7 +7559,7 @@ impl MediaStreamSource { pub fn MusicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MusicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7568,7 +7568,7 @@ impl MediaStreamSource { pub fn VideoProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7587,7 +7587,7 @@ impl MediaStreamSource { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7607,7 +7607,7 @@ impl MediaStreamSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SampleRendered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7632,7 +7632,7 @@ impl MediaStreamSource { pub fn MaxSupportedPlaybackRate(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSupportedPlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7643,7 +7643,7 @@ impl MediaStreamSource { pub fn IsLive(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7653,7 +7653,7 @@ impl MediaStreamSource { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaStreamSourceFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDescriptor)(::windows::core::Interface::as_raw(this), descriptor.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7665,7 +7665,7 @@ impl MediaStreamSource { E1: ::std::convert::Into<::windows::core::Error>, { Self::IMediaStreamSourceFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromDescriptors)(::windows::core::Interface::as_raw(this), descriptor.try_into().map_err(|e| e.into())?.abi(), descriptor2.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7763,7 +7763,7 @@ impl MediaStreamSourceClosedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7876,7 +7876,7 @@ impl MediaStreamSourceClosedRequest { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7992,7 +7992,7 @@ impl MediaStreamSourceSampleRenderedEventArgs { pub fn SampleLag(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SampleLag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8066,14 +8066,14 @@ impl MediaStreamSourceSampleRequest { pub fn StreamDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8087,7 +8087,7 @@ impl MediaStreamSourceSampleRequest { pub fn Sample(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sample)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8236,7 +8236,7 @@ impl MediaStreamSourceSampleRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8310,7 +8310,7 @@ impl MediaStreamSourceStartingEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8386,14 +8386,14 @@ impl MediaStreamSourceStartingRequest { pub fn StartPosition(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8544,21 +8544,21 @@ impl MediaStreamSourceSwitchStreamsRequest { pub fn OldStreamDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldStreamDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NewStreamDescriptor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewStreamDescriptor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8703,7 +8703,7 @@ impl MediaStreamSourceSwitchStreamsRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8922,7 +8922,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8940,7 +8940,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8958,7 +8958,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateEnded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8976,7 +8976,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorOccurred)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8994,7 +8994,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Aborted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9007,7 +9007,7 @@ impl MseSourceBuffer { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9018,7 +9018,7 @@ impl MseSourceBuffer { pub fn IsUpdating(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUpdating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9027,7 +9027,7 @@ impl MseSourceBuffer { pub fn Buffered(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Buffered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9036,7 +9036,7 @@ impl MseSourceBuffer { pub fn TimestampOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimestampOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9051,7 +9051,7 @@ impl MseSourceBuffer { pub fn AppendWindowStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendWindowStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9066,7 +9066,7 @@ impl MseSourceBuffer { pub fn AppendWindowEnd(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendWindowEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9199,7 +9199,7 @@ impl MseSourceBufferList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceBufferAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9217,7 +9217,7 @@ impl MseSourceBufferList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceBufferRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9232,7 +9232,7 @@ impl MseSourceBufferList { pub fn Buffers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Buffers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9318,7 +9318,7 @@ impl MseStreamSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opened)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9336,7 +9336,7 @@ impl MseStreamSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ended)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9354,7 +9354,7 @@ impl MseStreamSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9367,21 +9367,21 @@ impl MseStreamSource { pub fn SourceBuffers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceBuffers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActiveSourceBuffers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActiveSourceBuffers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadyState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadyState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9390,7 +9390,7 @@ impl MseStreamSource { pub fn Duration(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9410,7 +9410,7 @@ impl MseStreamSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddSourceBuffer)(::windows::core::Interface::as_raw(this), mimetype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9430,7 +9430,7 @@ impl MseStreamSource { pub fn LiveSeekableRange(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LiveSeekableRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9449,7 +9449,7 @@ impl MseStreamSource { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMseStreamSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsContentTypeSupported)(::windows::core::Interface::as_raw(this), contenttype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9604,7 +9604,7 @@ impl SceneAnalysisEffect { pub fn HighDynamicRangeAnalyzer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HighDynamicRangeAnalyzer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9619,7 +9619,7 @@ impl SceneAnalysisEffect { pub fn DesiredAnalysisInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredAnalysisInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9631,7 +9631,7 @@ impl SceneAnalysisEffect { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SceneAnalyzed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9741,7 +9741,7 @@ impl SceneAnalysisEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9750,7 +9750,7 @@ impl SceneAnalysisEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9867,14 +9867,14 @@ impl SceneAnalysisEffectFrame { pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9893,7 +9893,7 @@ impl SceneAnalysisEffectFrame { pub fn RelativeTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9912,7 +9912,7 @@ impl SceneAnalysisEffectFrame { pub fn SystemRelativeTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9931,7 +9931,7 @@ impl SceneAnalysisEffectFrame { pub fn Duration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9942,7 +9942,7 @@ impl SceneAnalysisEffectFrame { pub fn IsDiscontinuous(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDiscontinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9951,7 +9951,7 @@ impl SceneAnalysisEffectFrame { pub fn ExtendedProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9960,21 +9960,21 @@ impl SceneAnalysisEffectFrame { pub fn FrameControlValues(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameControlValues)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HighDynamicRange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HighDynamicRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AnalysisRecommendation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnalysisRecommendation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10124,7 +10124,7 @@ impl SceneAnalyzedEventArgs { pub fn ResultFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResultFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10213,7 +10213,7 @@ impl SpeechCue { pub fn StartTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10228,7 +10228,7 @@ impl SpeechCue { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10242,14 +10242,14 @@ impl SpeechCue { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10265,7 +10265,7 @@ impl SpeechCue { pub fn StartPositionInInput(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPositionInInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10284,7 +10284,7 @@ impl SpeechCue { pub fn EndPositionInInput(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndPositionInInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10427,7 +10427,7 @@ impl TimedMetadataStreamDescriptor { pub fn IsSelected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10441,7 +10441,7 @@ impl TimedMetadataStreamDescriptor { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10455,7 +10455,7 @@ impl TimedMetadataStreamDescriptor { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10469,7 +10469,7 @@ impl TimedMetadataStreamDescriptor { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10478,14 +10478,14 @@ impl TimedMetadataStreamDescriptor { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Copy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10496,7 +10496,7 @@ impl TimedMetadataStreamDescriptor { P0: ::std::convert::Into<::windows::core::InParam<'a, super::MediaProperties::TimedMetadataEncodingProperties>>, { Self::ITimedMetadataStreamDescriptorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), encodingproperties.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10613,21 +10613,21 @@ impl TimedMetadataTrack { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TrackKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10641,7 +10641,7 @@ impl TimedMetadataTrack { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10653,7 +10653,7 @@ impl TimedMetadataTrack { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CueEntered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10671,7 +10671,7 @@ impl TimedMetadataTrack { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CueExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10689,7 +10689,7 @@ impl TimedMetadataTrack { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackFailed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10704,7 +10704,7 @@ impl TimedMetadataTrack { pub fn Cues(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cues)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10713,21 +10713,21 @@ impl TimedMetadataTrack { pub fn ActiveCues(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActiveCues)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TimedMetadataKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimedMetadataKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DispatchType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatchType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10752,14 +10752,14 @@ impl TimedMetadataTrack { pub fn PlaybackItem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10769,7 +10769,7 @@ impl TimedMetadataTrack { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITimedMetadataTrackFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), id.into().abi(), language.into().abi(), kind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10867,14 +10867,14 @@ impl TimedMetadataTrackError { pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -10984,7 +10984,7 @@ impl TimedMetadataTrackFailedEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11058,7 +11058,7 @@ impl TimedTextBouten { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11071,7 +11071,7 @@ impl TimedTextBouten { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11084,7 +11084,7 @@ impl TimedTextBouten { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11252,7 +11252,7 @@ impl TimedTextCue { pub fn StartTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11267,7 +11267,7 @@ impl TimedTextCue { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11281,14 +11281,14 @@ impl TimedTextCue { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CueRegion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CueRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11302,7 +11302,7 @@ impl TimedTextCue { pub fn CueStyle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CueStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11318,7 +11318,7 @@ impl TimedTextCue { pub fn Lines(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lines)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11560,7 +11560,7 @@ impl TimedTextLine { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11576,7 +11576,7 @@ impl TimedTextLine { pub fn Subformats(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subformats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11772,7 +11772,7 @@ impl TimedTextRegion { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11786,7 +11786,7 @@ impl TimedTextRegion { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11797,7 +11797,7 @@ impl TimedTextRegion { pub fn Extent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Extent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11810,7 +11810,7 @@ impl TimedTextRegion { pub fn Background(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Background)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11823,7 +11823,7 @@ impl TimedTextRegion { pub fn WritingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WritingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11834,7 +11834,7 @@ impl TimedTextRegion { pub fn DisplayAlignment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayAlignment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11845,7 +11845,7 @@ impl TimedTextRegion { pub fn LineHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11856,7 +11856,7 @@ impl TimedTextRegion { pub fn IsOverflowClipped(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOverflowClipped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11867,7 +11867,7 @@ impl TimedTextRegion { pub fn Padding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Padding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11878,7 +11878,7 @@ impl TimedTextRegion { pub fn TextWrapping(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextWrapping)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11889,7 +11889,7 @@ impl TimedTextRegion { pub fn ZIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11900,7 +11900,7 @@ impl TimedTextRegion { pub fn ScrollMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScrollMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11978,7 +11978,7 @@ impl TimedTextRuby { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11992,7 +11992,7 @@ impl TimedTextRuby { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12003,7 +12003,7 @@ impl TimedTextRuby { pub fn Align(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Align)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12014,7 +12014,7 @@ impl TimedTextRuby { pub fn Reserve(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reserve)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12280,7 +12280,7 @@ impl TimedTextSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Resolved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12298,7 +12298,7 @@ impl TimedTextSource { E0: ::std::convert::Into<::windows::core::Error>, { Self::ITimedTextSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStream)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -12309,7 +12309,7 @@ impl TimedTextSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ITimedTextSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromUri)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -12322,7 +12322,7 @@ impl TimedTextSource { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITimedTextSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStreamWithLanguage)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), defaultlanguage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -12334,7 +12334,7 @@ impl TimedTextSource { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITimedTextSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromUriWithLanguage)(::windows::core::Interface::as_raw(this), uri.into().abi(), defaultlanguage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -12348,7 +12348,7 @@ impl TimedTextSource { E1: ::std::convert::Into<::windows::core::Error>, { Self::ITimedTextSourceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStreamWithIndex)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), indexstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -12360,7 +12360,7 @@ impl TimedTextSource { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ITimedTextSourceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromUriWithIndex)(::windows::core::Interface::as_raw(this), uri.into().abi(), indexuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -12375,7 +12375,7 @@ impl TimedTextSource { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITimedTextSourceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStreamWithIndexAndLanguage)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), indexstream.try_into().map_err(|e| e.into())?.abi(), defaultlanguage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -12388,7 +12388,7 @@ impl TimedTextSource { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITimedTextSourceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromUriWithIndexAndLanguage)(::windows::core::Interface::as_raw(this), uri.into().abi(), indexuri.into().abi(), defaultlanguage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -12472,7 +12472,7 @@ impl TimedTextSourceResolveResultEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12481,7 +12481,7 @@ impl TimedTextSourceResolveResultEventArgs { pub fn Tracks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -12562,7 +12562,7 @@ impl TimedTextStyle { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12576,7 +12576,7 @@ impl TimedTextStyle { pub fn FontFamily(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontFamily)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12590,7 +12590,7 @@ impl TimedTextStyle { pub fn FontSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12601,7 +12601,7 @@ impl TimedTextStyle { pub fn FontWeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontWeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12614,7 +12614,7 @@ impl TimedTextStyle { pub fn Foreground(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Foreground)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12629,7 +12629,7 @@ impl TimedTextStyle { pub fn Background(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Background)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12642,7 +12642,7 @@ impl TimedTextStyle { pub fn IsBackgroundAlwaysShown(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBackgroundAlwaysShown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12653,7 +12653,7 @@ impl TimedTextStyle { pub fn FlowDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlowDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12664,7 +12664,7 @@ impl TimedTextStyle { pub fn LineAlignment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineAlignment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12677,7 +12677,7 @@ impl TimedTextStyle { pub fn OutlineColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutlineColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12690,7 +12690,7 @@ impl TimedTextStyle { pub fn OutlineThickness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutlineThickness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12701,7 +12701,7 @@ impl TimedTextStyle { pub fn OutlineRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutlineRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12712,7 +12712,7 @@ impl TimedTextStyle { pub fn FontStyle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12723,7 +12723,7 @@ impl TimedTextStyle { pub fn IsUnderlineEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUnderlineEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12734,7 +12734,7 @@ impl TimedTextStyle { pub fn IsLineThroughEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLineThroughEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12745,7 +12745,7 @@ impl TimedTextStyle { pub fn IsOverlineEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOverlineEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12756,21 +12756,21 @@ impl TimedTextStyle { pub fn Ruby(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ruby)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Bouten(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bouten)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTextCombined(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTextCombined)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12781,7 +12781,7 @@ impl TimedTextStyle { pub fn FontAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12866,7 +12866,7 @@ impl TimedTextSubformat { pub fn StartIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12877,7 +12877,7 @@ impl TimedTextSubformat { pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12888,7 +12888,7 @@ impl TimedTextSubformat { pub fn SubformatStyle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubformatStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13124,7 +13124,7 @@ impl VideoStabilizationEffect { pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13136,7 +13136,7 @@ impl VideoStabilizationEffect { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnabledChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13155,7 +13155,7 @@ impl VideoStabilizationEffect { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecommendedStreamConfiguration)(::windows::core::Interface::as_raw(this), controller.into().abi(), desiredproperties.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13259,7 +13259,7 @@ impl VideoStabilizationEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13268,7 +13268,7 @@ impl VideoStabilizationEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13379,7 +13379,7 @@ impl VideoStabilizationEffectEnabledChangedEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13488,7 +13488,7 @@ impl VideoStreamDescriptor { pub fn IsSelected(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13502,7 +13502,7 @@ impl VideoStreamDescriptor { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13516,7 +13516,7 @@ impl VideoStreamDescriptor { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13530,7 +13530,7 @@ impl VideoStreamDescriptor { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13539,14 +13539,14 @@ impl VideoStreamDescriptor { pub fn EncodingProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Copy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13557,7 +13557,7 @@ impl VideoStreamDescriptor { P0: ::std::convert::Into<::windows::core::InParam<'a, super::MediaProperties::VideoEncodingProperties>>, { Self::IVideoStreamDescriptorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), encodingproperties.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -13674,21 +13674,21 @@ impl VideoTrack { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TrackKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13702,7 +13702,7 @@ impl VideoTrack { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13714,7 +13714,7 @@ impl VideoTrack { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenFailed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13729,7 +13729,7 @@ impl VideoTrack { pub fn GetEncodingProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13738,21 +13738,21 @@ impl VideoTrack { pub fn PlaybackItem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SupportInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13845,7 +13845,7 @@ impl VideoTrackOpenFailedEventArgs { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -13919,14 +13919,14 @@ impl VideoTrackSupportInfo { pub fn DecoderStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecoderStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaSourceStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSourceStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs index 74f345cc57..dc6731c08c 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs @@ -7,7 +7,7 @@ impl CameraIntrinsics { pub fn FocalLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocalLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16,7 +16,7 @@ impl CameraIntrinsics { pub fn PrincipalPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrincipalPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -25,7 +25,7 @@ impl CameraIntrinsics { pub fn RadialDistortion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RadialDistortion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34,21 +34,21 @@ impl CameraIntrinsics { pub fn TangentialDistortion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TangentialDistortion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ImageWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ImageHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -57,7 +57,7 @@ impl CameraIntrinsics { pub fn ProjectOntoFrame(&self, coordinate: super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProjectOntoFrame)(::windows::core::Interface::as_raw(this), coordinate, result__.as_mut_ptr()).from_abi::(result__) } } @@ -66,7 +66,7 @@ impl CameraIntrinsics { pub fn UnprojectAtUnitDepth(&self, pixelcoordinate: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprojectAtUnitDepth)(::windows::core::Interface::as_raw(this), pixelcoordinate, result__.as_mut_ptr()).from_abi::(result__) } } @@ -87,7 +87,7 @@ impl CameraIntrinsics { pub fn UndistortedProjectionTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UndistortedProjectionTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -96,7 +96,7 @@ impl CameraIntrinsics { pub fn DistortPoint(&self, input: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DistortPoint)(::windows::core::Interface::as_raw(this), input, result__.as_mut_ptr()).from_abi::(result__) } } @@ -111,7 +111,7 @@ impl CameraIntrinsics { pub fn UndistortPoint(&self, input: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UndistortPoint)(::windows::core::Interface::as_raw(this), input, result__.as_mut_ptr()).from_abi::(result__) } } @@ -125,7 +125,7 @@ impl CameraIntrinsics { #[cfg(feature = "Foundation_Numerics")] pub fn Create(focallength: super::super::super::Foundation::Numerics::Vector2, principalpoint: super::super::super::Foundation::Numerics::Vector2, radialdistortion: super::super::super::Foundation::Numerics::Vector3, tangentialdistortion: super::super::super::Foundation::Numerics::Vector2, imagewidth: u32, imageheight: u32) -> ::windows::core::Result { Self::ICameraIntrinsicsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), focallength, principalpoint, radialdistortion, tangentialdistortion, imagewidth, imageheight, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -215,7 +215,7 @@ impl DepthCorrelatedCoordinateMapper { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprojectPoint)(::windows::core::Interface::as_raw(this), sourcepoint, targetcoordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -237,7 +237,7 @@ impl DepthCorrelatedCoordinateMapper { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapPoint)(::windows::core::Interface::as_raw(this), sourcepoint, targetcoordinatesystem.into().abi(), targetcameraintrinsics.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -343,42 +343,42 @@ impl FrameControlCapabilities { pub fn Exposure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exposure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExposureCompensation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExposureCompensation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsoSpeed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsoSpeed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Focus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Focus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhotoConfirmationSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoConfirmationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Flash(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Flash)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -457,28 +457,28 @@ impl FrameController { pub fn ExposureControl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExposureControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExposureCompensationControl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExposureCompensationControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsoSpeedControl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsoSpeedControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FocusControl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocusControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -487,7 +487,7 @@ impl FrameController { pub fn PhotoConfirmationEnabled(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoConfirmationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -504,7 +504,7 @@ impl FrameController { pub fn FlashControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlashControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -578,7 +578,7 @@ impl FrameExposureCapabilities { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -587,7 +587,7 @@ impl FrameExposureCapabilities { pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -596,7 +596,7 @@ impl FrameExposureCapabilities { pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -605,7 +605,7 @@ impl FrameExposureCapabilities { pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -677,28 +677,28 @@ impl FrameExposureCompensationCapabilities { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -772,7 +772,7 @@ impl FrameExposureCompensationControl { pub fn Value(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -854,7 +854,7 @@ impl FrameExposureControl { pub fn Auto(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Auto)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -867,7 +867,7 @@ impl FrameExposureControl { pub fn Value(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -949,21 +949,21 @@ impl FrameFlashCapabilities { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RedEyeReductionSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedEyeReductionSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PowerSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1035,7 +1035,7 @@ impl FrameFlashControl { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1046,7 +1046,7 @@ impl FrameFlashControl { pub fn Auto(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Auto)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1057,7 +1057,7 @@ impl FrameFlashControl { pub fn RedEyeReduction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedEyeReduction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1068,7 +1068,7 @@ impl FrameFlashControl { pub fn PowerPercent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerPercent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1179,28 +1179,28 @@ impl FrameFocusCapabilities { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1274,7 +1274,7 @@ impl FrameFocusControl { pub fn Value(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1356,28 +1356,28 @@ impl FrameIsoSpeedCapabilities { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1449,7 +1449,7 @@ impl FrameIsoSpeedControl { pub fn Auto(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Auto)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1462,7 +1462,7 @@ impl FrameIsoSpeedControl { pub fn Value(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1954,21 +1954,21 @@ impl VariablePhotoSequenceController { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxPhotosPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPhotosPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhotosPerSecondLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotosPerSecondLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1985,7 +1985,7 @@ impl VariablePhotoSequenceController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHighestConcurrentFrameRate)(::windows::core::Interface::as_raw(this), captureproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1994,14 +1994,14 @@ impl VariablePhotoSequenceController { pub fn GetCurrentFrameRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentFrameRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FrameCapabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2010,7 +2010,7 @@ impl VariablePhotoSequenceController { pub fn DesiredFrameControllers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredFrameControllers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index d39f934abe..c05a3bcb5d 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -14,7 +14,7 @@ impl AdvancedPhotoCaptureSettings { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -92,7 +92,7 @@ impl AdvancedPhotoControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -101,14 +101,14 @@ impl AdvancedPhotoControl { pub fn SupportedModes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedModes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -229,7 +229,7 @@ impl AudioDeviceController { pub fn Muted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Muted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -240,7 +240,7 @@ impl AudioDeviceController { pub fn VolumePercent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VolumePercent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -249,7 +249,7 @@ impl AudioDeviceController { pub fn GetAvailableMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAvailableMediaStreamProperties)(::windows::core::Interface::as_raw(this), mediastreamtype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -258,7 +258,7 @@ impl AudioDeviceController { pub fn GetMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMediaStreamProperties)(::windows::core::Interface::as_raw(this), mediastreamtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -271,7 +271,7 @@ impl AudioDeviceController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetMediaStreamPropertiesAsync)(::windows::core::Interface::as_raw(this), mediastreamtype, mediaencodingproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -362,35 +362,35 @@ impl AudioDeviceModule { pub fn ClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InstanceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MajorVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MajorVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinorVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinorVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -403,7 +403,7 @@ impl AudioDeviceModule { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendCommandAsync)(::windows::core::Interface::as_raw(this), command.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -475,7 +475,7 @@ impl AudioDeviceModuleNotificationEventArgs { pub fn Module(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Module)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -484,7 +484,7 @@ impl AudioDeviceModuleNotificationEventArgs { pub fn NotificationData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotificationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -563,7 +563,7 @@ impl AudioDeviceModulesManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModuleNotificationReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -581,7 +581,7 @@ impl AudioDeviceModulesManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllById)(::windows::core::Interface::as_raw(this), moduleid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -590,7 +590,7 @@ impl AudioDeviceModulesManager { pub fn FindAll(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAll)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -599,7 +599,7 @@ impl AudioDeviceModulesManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAudioDeviceModulesManagerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -750,14 +750,14 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndicateNewIncomingCall)(::windows::core::Interface::as_raw(this), enableringer, callerid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IndicateNewOutgoingCall(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndicateNewOutgoingCall)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -772,7 +772,7 @@ impl CallControl { pub fn HasRinger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasRinger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -784,7 +784,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnswerRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -802,7 +802,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HangUpRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -820,7 +820,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DialRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -838,7 +838,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedialRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -856,7 +856,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeypadPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -874,7 +874,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioTransferRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -886,7 +886,7 @@ impl CallControl { } pub fn GetDefault() -> ::windows::core::Result { Self::ICallControlStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -895,7 +895,7 @@ impl CallControl { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICallControlStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1061,14 +1061,14 @@ impl CameraOcclusionInfo { pub fn GetState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOcclusionKindSupported(&self, occlusionkind: CameraOcclusionKind) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOcclusionKindSupported)(::windows::core::Interface::as_raw(this), occlusionkind, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1080,7 +1080,7 @@ impl CameraOcclusionInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1194,14 +1194,14 @@ impl CameraOcclusionState { pub fn IsOccluded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOccluded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOcclusionKind(&self, occlusionkind: CameraOcclusionKind) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOcclusionKind)(::windows::core::Interface::as_raw(this), occlusionkind, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1275,7 +1275,7 @@ impl CameraOcclusionStateChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1505,14 +1505,14 @@ impl DefaultAudioCaptureDeviceChangedEventArgs { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Role(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Role)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1605,14 +1605,14 @@ impl DefaultAudioRenderDeviceChangedEventArgs { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Role(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Role)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1709,7 +1709,7 @@ impl DialRequestedEventArgs { pub fn Contact(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1878,7 +1878,7 @@ impl DigitalWindowBounds { pub fn NormalizedOriginTop(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalizedOriginTop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1889,7 +1889,7 @@ impl DigitalWindowBounds { pub fn NormalizedOriginLeft(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalizedOriginLeft)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1900,7 +1900,7 @@ impl DigitalWindowBounds { pub fn Scale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1978,35 +1978,35 @@ impl DigitalWindowCapability { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinScaleValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinScaleValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxScaleValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxScaleValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinScaleValueWithoutUpsampling(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinScaleValueWithoutUpsampling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2015,7 +2015,7 @@ impl DigitalWindowCapability { pub fn NormalizedFieldOfViewLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalizedFieldOfViewLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2089,28 +2089,28 @@ impl DigitalWindowControl { pub fn IsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportedModes(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedModes)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn CurrentMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2130,14 +2130,14 @@ impl DigitalWindowControl { pub fn SupportedCapabilities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetCapabilityForSize(&self, width: i32, height: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCapabilityForSize)(::windows::core::Interface::as_raw(this), width, height, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2246,35 +2246,35 @@ impl ExposureCompensationControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2283,7 +2283,7 @@ impl ExposureCompensationControl { pub fn SetValueAsync(&self, value: f32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetValueAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2355,14 +2355,14 @@ impl ExposureControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Auto(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Auto)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2371,7 +2371,7 @@ impl ExposureControl { pub fn SetAutoAsync(&self, value: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAutoAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2380,7 +2380,7 @@ impl ExposureControl { pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2389,7 +2389,7 @@ impl ExposureControl { pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2398,7 +2398,7 @@ impl ExposureControl { pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2407,7 +2407,7 @@ impl ExposureControl { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2416,7 +2416,7 @@ impl ExposureControl { pub fn SetValueAsync(&self, shutterduration: super::super::Foundation::TimeSpan) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetValueAsync)(::windows::core::Interface::as_raw(this), shutterduration, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2488,14 +2488,14 @@ impl ExposurePriorityVideoControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2573,28 +2573,28 @@ impl FlashControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PowerSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RedEyeReductionSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedEyeReductionSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2605,7 +2605,7 @@ impl FlashControl { pub fn Auto(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Auto)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2616,7 +2616,7 @@ impl FlashControl { pub fn RedEyeReduction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedEyeReduction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2627,7 +2627,7 @@ impl FlashControl { pub fn PowerPercent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerPercent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2638,14 +2638,14 @@ impl FlashControl { pub fn AssistantLightSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AssistantLightSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AssistantLightEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AssistantLightEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2721,7 +2721,7 @@ impl FocusControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2730,14 +2730,14 @@ impl FocusControl { pub fn SupportedPresets(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedPresets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Preset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Preset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2746,7 +2746,7 @@ impl FocusControl { pub fn SetPresetAsync(&self, preset: FocusPreset) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPresetAsync)(::windows::core::Interface::as_raw(this), preset, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2755,35 +2755,35 @@ impl FocusControl { pub fn SetPresetWithCompletionOptionAsync(&self, preset: FocusPreset, completebeforefocus: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPresetWithCompletionOptionAsync)(::windows::core::Interface::as_raw(this), preset, completebeforefocus, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2792,7 +2792,7 @@ impl FocusControl { pub fn SetValueAsync(&self, focus: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetValueAsync)(::windows::core::Interface::as_raw(this), focus, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2801,21 +2801,21 @@ impl FocusControl { pub fn FocusAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocusAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FocusChangedSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocusChangedSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WaitForFocusSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WaitForFocusSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2824,7 +2824,7 @@ impl FocusControl { pub fn SupportedFocusModes(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedFocusModes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2833,7 +2833,7 @@ impl FocusControl { pub fn SupportedFocusDistances(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedFocusDistances)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2842,21 +2842,21 @@ impl FocusControl { pub fn SupportedFocusRanges(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedFocusRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FocusState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocusState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2865,7 +2865,7 @@ impl FocusControl { pub fn UnlockAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnlockAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2874,7 +2874,7 @@ impl FocusControl { pub fn LockAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LockAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3034,7 +3034,7 @@ impl FocusSettings { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3045,7 +3045,7 @@ impl FocusSettings { pub fn AutoFocusRange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoFocusRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3058,7 +3058,7 @@ impl FocusSettings { pub fn Value(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3077,7 +3077,7 @@ impl FocusSettings { pub fn Distance(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Distance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3094,7 +3094,7 @@ impl FocusSettings { pub fn WaitForFocus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WaitForFocus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3105,7 +3105,7 @@ impl FocusSettings { pub fn DisableDriverFallback(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableDriverFallback)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3183,7 +3183,7 @@ impl HdrVideoControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3192,14 +3192,14 @@ impl HdrVideoControl { pub fn SupportedModes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedModes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3731,14 +3731,14 @@ impl IDefaultAudioDeviceChangedEventArgs { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Role(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Role)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4329,7 +4329,7 @@ impl IMediaDeviceController { pub fn GetAvailableMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAvailableMediaStreamProperties)(::windows::core::Interface::as_raw(this), mediastreamtype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4338,7 +4338,7 @@ impl IMediaDeviceController { pub fn GetMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMediaStreamProperties)(::windows::core::Interface::as_raw(this), mediastreamtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4351,7 +4351,7 @@ impl IMediaDeviceController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetMediaStreamPropertiesAsync)(::windows::core::Interface::as_raw(this), mediastreamtype, mediaencodingproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4816,7 +4816,7 @@ impl InfraredTorchControl { pub fn IsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4825,14 +4825,14 @@ impl InfraredTorchControl { pub fn SupportedModes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedModes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CurrentMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4843,28 +4843,28 @@ impl InfraredTorchControl { pub fn MinPower(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinPower)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxPower(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPower)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PowerStep(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Power(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Power)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4977,7 +4977,7 @@ impl IsoSpeedControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4986,7 +4986,7 @@ impl IsoSpeedControl { pub fn SupportedPresets(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedPresets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4995,7 +4995,7 @@ impl IsoSpeedControl { pub fn Preset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Preset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5004,35 +5004,35 @@ impl IsoSpeedControl { pub fn SetPresetAsync(&self, preset: IsoSpeedPreset) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPresetAsync)(::windows::core::Interface::as_raw(this), preset, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Min(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Max(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Step(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5041,14 +5041,14 @@ impl IsoSpeedControl { pub fn SetValueAsync(&self, isospeed: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetValueAsync)(::windows::core::Interface::as_raw(this), isospeed, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Auto(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Auto)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5057,7 +5057,7 @@ impl IsoSpeedControl { pub fn SetAutoAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAutoAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5181,7 +5181,7 @@ impl KeypadPressedEventArgs { pub fn TelephonyKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TelephonyKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5349,7 +5349,7 @@ impl LowLagPhotoControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHighestConcurrentFrameRate)(::windows::core::Interface::as_raw(this), captureproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5358,14 +5358,14 @@ impl LowLagPhotoControl { pub fn GetCurrentFrameRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentFrameRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ThumbnailEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThumbnailEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5378,7 +5378,7 @@ impl LowLagPhotoControl { pub fn ThumbnailFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThumbnailFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5391,7 +5391,7 @@ impl LowLagPhotoControl { pub fn DesiredThumbnailSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredThumbnailSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5402,7 +5402,7 @@ impl LowLagPhotoControl { pub fn HardwareAcceleratedThumbnailSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareAcceleratedThumbnailSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5474,28 +5474,28 @@ impl LowLagPhotoSequenceControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxPastPhotos(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPastPhotos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxPhotosPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPhotosPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PastPhotoLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PastPhotoLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5506,7 +5506,7 @@ impl LowLagPhotoSequenceControl { pub fn PhotosPerSecondLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotosPerSecondLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5523,7 +5523,7 @@ impl LowLagPhotoSequenceControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHighestConcurrentFrameRate)(::windows::core::Interface::as_raw(this), captureproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5532,14 +5532,14 @@ impl LowLagPhotoSequenceControl { pub fn GetCurrentFrameRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentFrameRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ThumbnailEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThumbnailEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5552,7 +5552,7 @@ impl LowLagPhotoSequenceControl { pub fn ThumbnailFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThumbnailFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5565,7 +5565,7 @@ impl LowLagPhotoSequenceControl { pub fn DesiredThumbnailSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredThumbnailSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5576,7 +5576,7 @@ impl LowLagPhotoSequenceControl { pub fn HardwareAcceleratedThumbnailSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareAcceleratedThumbnailSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5791,31 +5791,31 @@ pub struct MediaDevice; impl MediaDevice { pub fn GetAudioCaptureSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioCaptureSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetAudioRenderSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioRenderSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetVideoCaptureSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVideoCaptureSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDefaultAudioCaptureId(role: AudioDeviceRole) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAudioCaptureId)(::windows::core::Interface::as_raw(this), role, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDefaultAudioRenderId(role: AudioDeviceRole) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAudioRenderId)(::windows::core::Interface::as_raw(this), role, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -5826,7 +5826,7 @@ impl MediaDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::TypedEventHandler<::windows::core::IInspectable, DefaultAudioCaptureDeviceChangedEventArgs>>>, { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultAudioCaptureDeviceChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5842,7 +5842,7 @@ impl MediaDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::TypedEventHandler<::windows::core::IInspectable, DefaultAudioRenderDeviceChangedEventArgs>>>, { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultAudioRenderDeviceChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5867,35 +5867,35 @@ impl MediaDeviceControl { pub fn Capabilities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryGetValue(&self, value: &mut f64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetValue)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrySetValue(&self, value: f64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetValue)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryGetAuto(&self, value: &mut bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAuto)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrySetAuto(&self, value: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetAuto)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5967,42 +5967,42 @@ impl MediaDeviceControlCapabilities { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Default(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Default)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AutoModeSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoModeSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6074,7 +6074,7 @@ impl ModuleCommandResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6083,7 +6083,7 @@ impl ModuleCommandResult { pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6155,7 +6155,7 @@ impl OpticalImageStabilizationControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6164,14 +6164,14 @@ impl OpticalImageStabilizationControl { pub fn SupportedModes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedModes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6284,7 +6284,7 @@ impl PanelBasedOptimizationControl { pub fn IsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6293,7 +6293,7 @@ impl PanelBasedOptimizationControl { pub fn Panel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Panel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6373,14 +6373,14 @@ impl PhotoConfirmationControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6393,7 +6393,7 @@ impl PhotoConfirmationControl { pub fn PixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6637,7 +6637,7 @@ impl RegionOfInterest { pub fn AutoFocusEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoFocusEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6648,7 +6648,7 @@ impl RegionOfInterest { pub fn AutoWhiteBalanceEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoWhiteBalanceEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6659,7 +6659,7 @@ impl RegionOfInterest { pub fn AutoExposureEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoExposureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6672,7 +6672,7 @@ impl RegionOfInterest { pub fn Bounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6685,7 +6685,7 @@ impl RegionOfInterest { pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6696,7 +6696,7 @@ impl RegionOfInterest { pub fn BoundsNormalized(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundsNormalized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6707,7 +6707,7 @@ impl RegionOfInterest { pub fn Weight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Weight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6819,7 +6819,7 @@ impl RegionsOfInterestControl { pub fn MaxRegions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxRegions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6832,7 +6832,7 @@ impl RegionsOfInterestControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetRegionsAsync)(::windows::core::Interface::as_raw(this), regions.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6845,7 +6845,7 @@ impl RegionsOfInterestControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetRegionsWithLockAsync)(::windows::core::Interface::as_raw(this), regions.try_into().map_err(|e| e.into())?.abi(), lockvalues, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6854,28 +6854,28 @@ impl RegionsOfInterestControl { pub fn ClearRegionsAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearRegionsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AutoFocusSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoFocusSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AutoWhiteBalanceSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoWhiteBalanceSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AutoExposureSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoExposureSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6949,14 +6949,14 @@ impl SceneModeControl { pub fn SupportedModes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedModes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6965,7 +6965,7 @@ impl SceneModeControl { pub fn SetValueAsync(&self, scenemode: CaptureSceneMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetValueAsync)(::windows::core::Interface::as_raw(this), scenemode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7119,21 +7119,21 @@ impl TorchControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PowerSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7144,7 +7144,7 @@ impl TorchControl { pub fn PowerPercent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerPercent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7231,98 +7231,98 @@ impl VideoDeviceController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceProperty)(::windows::core::Interface::as_raw(this), propertyid.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn CameraOcclusionInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraOcclusionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LowLagPhotoSequence(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LowLagPhotoSequence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LowLagPhoto(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LowLagPhoto)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SceneModeControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SceneModeControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TorchControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TorchControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FlashControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlashControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WhiteBalanceControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WhiteBalanceControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExposureControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExposureControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FocusControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocusControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExposureCompensationControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExposureCompensationControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsoSpeedControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsoSpeedControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RegionsOfInterestControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegionsOfInterestControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PrimaryUse(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryUse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7335,35 +7335,35 @@ impl VideoDeviceController { pub fn VariablePhotoSequenceController(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VariablePhotoSequenceController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhotoConfirmationControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotoConfirmationControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ZoomControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZoomControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExposurePriorityVideoControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExposurePriorityVideoControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DesiredOptimization(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredOptimization)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7374,28 +7374,28 @@ impl VideoDeviceController { pub fn HdrVideoControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HdrVideoControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpticalImageStabilizationControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpticalImageStabilizationControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdvancedPhotoControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvancedPhotoControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7409,7 +7409,7 @@ impl VideoDeviceController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDevicePropertyById)(::windows::core::Interface::as_raw(this), propertyid.into().abi(), maxpropertyvaluesize.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7420,7 +7420,7 @@ impl VideoDeviceController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDevicePropertyById)(::windows::core::Interface::as_raw(this), propertyid.into().abi(), propertyvalue.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7433,42 +7433,42 @@ impl VideoDeviceController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDevicePropertyByExtendedId)(::windows::core::Interface::as_raw(this), extendedpropertyid.len() as u32, ::core::mem::transmute(extendedpropertyid.as_ptr()), maxpropertyvaluesize.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SetDevicePropertyByExtendedId(&self, extendedpropertyid: &[u8], propertyvalue: &[u8]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDevicePropertyByExtendedId)(::windows::core::Interface::as_raw(this), extendedpropertyid.len() as u32, ::core::mem::transmute(extendedpropertyid.as_ptr()), propertyvalue.len() as u32, ::core::mem::transmute(propertyvalue.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoTemporalDenoisingControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoTemporalDenoisingControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InfraredTorchControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InfraredTorchControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PanelBasedOptimizationControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PanelBasedOptimizationControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DigitalWindowControl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DigitalWindowControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7477,7 +7477,7 @@ impl VideoDeviceController { pub fn GetAvailableMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAvailableMediaStreamProperties)(::windows::core::Interface::as_raw(this), mediastreamtype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7486,7 +7486,7 @@ impl VideoDeviceController { pub fn GetMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMediaStreamProperties)(::windows::core::Interface::as_raw(this), mediastreamtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7499,84 +7499,84 @@ impl VideoDeviceController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetMediaStreamPropertiesAsync)(::windows::core::Interface::as_raw(this), mediastreamtype, mediaencodingproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Brightness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Brightness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Contrast(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Hue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WhiteBalance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WhiteBalance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BacklightCompensation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BacklightCompensation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pan(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Tilt(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tilt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Zoom(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Zoom)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Roll(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Roll)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Exposure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exposure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Focus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Focus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7585,7 +7585,7 @@ impl VideoDeviceController { pub fn TrySetPowerlineFrequency(&self, value: super::Capture::PowerlineFrequency) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetPowerlineFrequency)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7594,7 +7594,7 @@ impl VideoDeviceController { pub fn TryGetPowerlineFrequency(&self, value: &mut super::Capture::PowerlineFrequency) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetPowerlineFrequency)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7685,14 +7685,14 @@ impl VideoDeviceControllerGetDevicePropertyResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -7843,7 +7843,7 @@ impl VideoTemporalDenoisingControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7852,14 +7852,14 @@ impl VideoTemporalDenoisingControl { pub fn SupportedModes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedModes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7972,14 +7972,14 @@ impl WhiteBalanceControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Preset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Preset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7988,35 +7988,35 @@ impl WhiteBalanceControl { pub fn SetPresetAsync(&self, preset: ColorTemperaturePreset) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPresetAsync)(::windows::core::Interface::as_raw(this), preset, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8025,7 +8025,7 @@ impl WhiteBalanceControl { pub fn SetValueAsync(&self, temperature: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetValueAsync)(::windows::core::Interface::as_raw(this), temperature, result__.as_mut_ptr()).from_abi::(result__) } } @@ -8097,35 +8097,35 @@ impl ZoomControl { pub fn Supported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Supported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Step(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Step)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8138,14 +8138,14 @@ impl ZoomControl { pub fn SupportedModes(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedModes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8231,7 +8231,7 @@ impl ZoomSettings { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8242,7 +8242,7 @@ impl ZoomSettings { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs index e1be3ebf6d..c6009e0b3f 100644 --- a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs @@ -5,7 +5,7 @@ impl DialApp { pub fn AppName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -17,7 +17,7 @@ impl DialApp { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestLaunchAsync)(::windows::core::Interface::as_raw(this), appargument.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -26,7 +26,7 @@ impl DialApp { pub fn StopAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -35,7 +35,7 @@ impl DialApp { pub fn GetAppStateAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppStateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -181,14 +181,14 @@ impl DialAppStateDetails { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FullXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FullXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -298,7 +298,7 @@ impl DialDevice { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -308,14 +308,14 @@ impl DialDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDialApp)(::windows::core::Interface::as_raw(this), appname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -324,7 +324,7 @@ impl DialDevice { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -333,7 +333,7 @@ impl DialDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDialDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), appname.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -344,7 +344,7 @@ impl DialDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDialDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -355,7 +355,7 @@ impl DialDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Enumeration::DeviceInformation>>, { Self::IDialDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInfoSupportsDialAsync)(::windows::core::Interface::as_raw(this), device.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -479,7 +479,7 @@ impl DialDevicePicker { pub fn Filter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Filter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -488,7 +488,7 @@ impl DialDevicePicker { pub fn Appearance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Appearance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -500,7 +500,7 @@ impl DialDevicePicker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DialDeviceSelected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -518,7 +518,7 @@ impl DialDevicePicker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisconnectButtonClicked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -536,7 +536,7 @@ impl DialDevicePicker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DialDevicePickerDismissed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -563,7 +563,7 @@ impl DialDevicePicker { pub fn PickSingleDialDeviceAsync(&self, selection: super::super::Foundation::Rect) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleDialDeviceAsync)(::windows::core::Interface::as_raw(this), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -572,7 +572,7 @@ impl DialDevicePicker { pub fn PickSingleDialDeviceAsyncWithPlacement(&self, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleDialDeviceAsyncWithPlacement)(::windows::core::Interface::as_raw(this), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -659,7 +659,7 @@ impl DialDevicePickerFilter { pub fn SupportedAppNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedAppNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -733,7 +733,7 @@ impl DialDeviceSelectedEventArgs { pub fn SelectedDialDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedDialDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -807,7 +807,7 @@ impl DialDisconnectButtonClickedEventArgs { pub fn Device(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Device)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -883,7 +883,7 @@ impl DialReceiverApp { pub fn GetAdditionalDataAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAdditionalDataAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -896,7 +896,7 @@ impl DialReceiverApp { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAdditionalDataAsync)(::windows::core::Interface::as_raw(this), additionaldata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -905,13 +905,13 @@ impl DialReceiverApp { pub fn GetUniqueDeviceNameAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUniqueDeviceNameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Current() -> ::windows::core::Result { Self::IDialReceiverAppStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Editing/mod.rs b/crates/libs/windows/src/Windows/Media/Editing/mod.rs index 57b3f5ccf5..aa3f5066cc 100644 --- a/crates/libs/windows/src/Windows/Media/Editing/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Editing/mod.rs @@ -7,7 +7,7 @@ impl BackgroundAudioTrack { pub fn TrimTimeFromStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimTimeFromStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22,7 +22,7 @@ impl BackgroundAudioTrack { pub fn TrimTimeFromEnd(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimTimeFromEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37,7 +37,7 @@ impl BackgroundAudioTrack { pub fn OriginalDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -46,7 +46,7 @@ impl BackgroundAudioTrack { pub fn TrimmedDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimmedDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -55,7 +55,7 @@ impl BackgroundAudioTrack { pub fn UserData(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -70,7 +70,7 @@ impl BackgroundAudioTrack { pub fn Delay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -81,14 +81,14 @@ impl BackgroundAudioTrack { pub fn Volume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Volume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -97,7 +97,7 @@ impl BackgroundAudioTrack { pub fn GetAudioEncodingProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioEncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -106,7 +106,7 @@ impl BackgroundAudioTrack { pub fn AudioEffectDefinitions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -115,7 +115,7 @@ impl BackgroundAudioTrack { P0: ::std::convert::Into<::windows::core::InParam<'a, EmbeddedAudioTrack>>, { Self::IBackgroundAudioTrackStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromEmbeddedAudioTrack)(::windows::core::Interface::as_raw(this), embeddedaudiotrack.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -127,7 +127,7 @@ impl BackgroundAudioTrack { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBackgroundAudioTrackStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromFileAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -208,7 +208,7 @@ impl EmbeddedAudioTrack { pub fn GetAudioEncodingProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioEncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -674,7 +674,7 @@ impl MediaClip { pub fn TrimTimeFromStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimTimeFromStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -689,7 +689,7 @@ impl MediaClip { pub fn TrimTimeFromEnd(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimTimeFromEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -704,7 +704,7 @@ impl MediaClip { pub fn OriginalDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -713,7 +713,7 @@ impl MediaClip { pub fn TrimmedDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimmedDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -722,14 +722,14 @@ impl MediaClip { pub fn UserData(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -738,7 +738,7 @@ impl MediaClip { pub fn StartTimeInComposition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTimeInComposition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -747,7 +747,7 @@ impl MediaClip { pub fn EndTimeInComposition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndTimeInComposition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -756,14 +756,14 @@ impl MediaClip { pub fn EmbeddedAudioTracks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmbeddedAudioTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SelectedEmbeddedAudioTrackIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedEmbeddedAudioTrackIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -778,7 +778,7 @@ impl MediaClip { pub fn Volume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Volume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -787,7 +787,7 @@ impl MediaClip { pub fn GetVideoEncodingProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVideoEncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -796,7 +796,7 @@ impl MediaClip { pub fn AudioEffectDefinitions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -805,7 +805,7 @@ impl MediaClip { pub fn VideoEffectDefinitions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoEffectDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -813,7 +813,7 @@ impl MediaClip { #[cfg(all(feature = "Foundation", feature = "UI"))] pub fn CreateFromColor(color: super::super::UI::Color, originalduration: super::super::Foundation::TimeSpan) -> ::windows::core::Result { Self::IMediaClipStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromColor)(::windows::core::Interface::as_raw(this), color, originalduration, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -825,7 +825,7 @@ impl MediaClip { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaClipStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromFileAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -837,7 +837,7 @@ impl MediaClip { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaClipStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromImageFileAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), originalduration, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -849,7 +849,7 @@ impl MediaClip { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaClipStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromSurface)(::windows::core::Interface::as_raw(this), surface.try_into().map_err(|e| e.into())?.abi(), originalduration, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -942,7 +942,7 @@ impl MediaComposition { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -951,7 +951,7 @@ impl MediaComposition { pub fn Clips(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clips)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -960,7 +960,7 @@ impl MediaComposition { pub fn BackgroundAudioTracks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundAudioTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -969,14 +969,14 @@ impl MediaComposition { pub fn UserData(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -989,7 +989,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -998,7 +998,7 @@ impl MediaComposition { pub fn GetThumbnailAsync(&self, timefromstart: super::super::Foundation::TimeSpan, scaledwidth: i32, scaledheight: i32, frameprecision: VideoFramePrecision) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), timefromstart, scaledwidth, scaledheight, frameprecision, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1011,7 +1011,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailsAsync)(::windows::core::Interface::as_raw(this), timesfromstart.try_into().map_err(|e| e.into())?.abi(), scaledwidth, scaledheight, frameprecision, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1024,7 +1024,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderToFileAsync)(::windows::core::Interface::as_raw(this), destination.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1037,7 +1037,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderToFileWithTrimmingPreferenceAsync)(::windows::core::Interface::as_raw(this), destination.try_into().map_err(|e| e.into())?.abi(), trimmingpreference, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1051,7 +1051,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderToFileWithProfileAsync)(::windows::core::Interface::as_raw(this), destination.try_into().map_err(|e| e.into())?.abi(), trimmingpreference, encodingprofile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1060,7 +1060,7 @@ impl MediaComposition { pub fn CreateDefaultEncodingProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDefaultEncodingProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1069,7 +1069,7 @@ impl MediaComposition { pub fn GenerateMediaStreamSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateMediaStreamSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1081,7 +1081,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateMediaStreamSourceWithProfile)(::windows::core::Interface::as_raw(this), encodingprofile.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1090,7 +1090,7 @@ impl MediaComposition { pub fn GeneratePreviewMediaStreamSource(&self, scaledwidth: i32, scaledheight: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GeneratePreviewMediaStreamSource)(::windows::core::Interface::as_raw(this), scaledwidth, scaledheight, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1099,7 +1099,7 @@ impl MediaComposition { pub fn OverlayLayers(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OverlayLayers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1110,7 +1110,7 @@ impl MediaComposition { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::StorageFile>>, { Self::IMediaCompositionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadAsync)(::windows::core::Interface::as_raw(this), file.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1191,7 +1191,7 @@ impl MediaOverlay { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1212,14 +1212,14 @@ impl MediaOverlay { pub fn Delay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Opacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1230,21 +1230,21 @@ impl MediaOverlay { pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Clip(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AudioEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1257,7 +1257,7 @@ impl MediaOverlay { P0: ::std::convert::Into<::windows::core::InParam<'a, MediaClip>>, { Self::IMediaOverlayFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), clip.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1268,7 +1268,7 @@ impl MediaOverlay { P0: ::std::convert::Into<::windows::core::InParam<'a, MediaClip>>, { Self::IMediaOverlayFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithPositionAndOpacity)(::windows::core::Interface::as_raw(this), clip.into().abi(), position, opacity, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1354,7 +1354,7 @@ impl MediaOverlayLayer { pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1363,7 +1363,7 @@ impl MediaOverlayLayer { pub fn Overlays(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Overlays)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1372,7 +1372,7 @@ impl MediaOverlayLayer { pub fn CustomCompositorDefinition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomCompositorDefinition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1384,7 +1384,7 @@ impl MediaOverlayLayer { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaOverlayLayerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithCompositorDefinition)(::windows::core::Interface::as_raw(this), compositordefinition.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index 2f54351e1f..fd72c40e21 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -10,7 +10,7 @@ impl AudioCaptureEffectsManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioCaptureEffectsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -25,7 +25,7 @@ impl AudioCaptureEffectsManager { pub fn GetAudioCaptureEffects(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioCaptureEffects)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -99,7 +99,7 @@ impl AudioEffect { pub fn AudioEffectType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEffectType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -173,7 +173,7 @@ impl AudioEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -182,7 +182,7 @@ impl AudioEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -191,7 +191,7 @@ impl AudioEffectDefinition { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAudioEffectDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), activatableclassid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -204,7 +204,7 @@ impl AudioEffectDefinition { E1: ::std::convert::Into<::windows::core::Error>, { Self::IAudioEffectDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithProperties)(::windows::core::Interface::as_raw(this), activatableclassid.into().abi(), props.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -357,7 +357,7 @@ impl AudioEffectsManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAudioEffectsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAudioRenderEffectsManager)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), category, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -368,7 +368,7 @@ impl AudioEffectsManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAudioEffectsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAudioRenderEffectsManagerWithMode)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), category, mode, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -379,7 +379,7 @@ impl AudioEffectsManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAudioEffectsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAudioCaptureEffectsManager)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), category, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -390,7 +390,7 @@ impl AudioEffectsManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAudioEffectsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAudioCaptureEffectsManagerWithMode)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), category, mode, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -415,7 +415,7 @@ impl AudioRenderEffectsManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioRenderEffectsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -430,7 +430,7 @@ impl AudioRenderEffectsManager { pub fn GetAudioRenderEffects(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioRenderEffects)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -439,7 +439,7 @@ impl AudioRenderEffectsManager { pub fn EffectsProviderThumbnail(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectsProviderThumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -448,7 +448,7 @@ impl AudioRenderEffectsManager { pub fn EffectsProviderSettingsLabel(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EffectsProviderSettingsLabel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -530,21 +530,21 @@ impl CompositeVideoFrameContext { pub fn SurfacesToOverlay(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SurfacesToOverlay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn BackgroundFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OutputFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -557,7 +557,7 @@ impl CompositeVideoFrameContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOverlayForSurface)(::windows::core::Interface::as_raw(this), surfacetooverlay.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -668,7 +668,7 @@ impl IAudioEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -677,7 +677,7 @@ impl IAudioEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -852,7 +852,7 @@ impl IBasicAudioEffect { pub fn UseInputFrameForOutput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UseInputFrameForOutput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -861,7 +861,7 @@ impl IBasicAudioEffect { pub fn SupportedEncodingProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedEncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1000,21 +1000,21 @@ impl IBasicVideoEffect { pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportedMemoryTypes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedMemoryTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TimeIndependent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeIndependent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1023,7 +1023,7 @@ impl IBasicVideoEffect { pub fn SupportedEncodingProperties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedEncodingProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1230,7 +1230,7 @@ impl IVideoCompositor { pub fn TimeIndependent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeIndependent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1367,7 +1367,7 @@ impl IVideoCompositorDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1376,7 +1376,7 @@ impl IVideoCompositorDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1472,7 +1472,7 @@ impl IVideoEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1481,7 +1481,7 @@ impl IVideoEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1761,14 +1761,14 @@ impl ProcessAudioFrameContext { pub fn InputFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OutputFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1842,14 +1842,14 @@ impl ProcessVideoFrameContext { pub fn InputFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OutputFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1930,7 +1930,7 @@ impl SlowMotionEffectDefinition { pub fn TimeStretchRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeStretchRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1941,7 +1941,7 @@ impl SlowMotionEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1950,7 +1950,7 @@ impl SlowMotionEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2043,7 +2043,7 @@ impl VideoCompositorDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2052,7 +2052,7 @@ impl VideoCompositorDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2061,7 +2061,7 @@ impl VideoCompositorDefinition { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IVideoCompositorDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), activatableclassid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2074,7 +2074,7 @@ impl VideoCompositorDefinition { E1: ::std::convert::Into<::windows::core::Error>, { Self::IVideoCompositorDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithProperties)(::windows::core::Interface::as_raw(this), activatableclassid.into().abi(), props.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2172,7 +2172,7 @@ impl VideoEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2181,7 +2181,7 @@ impl VideoEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2190,7 +2190,7 @@ impl VideoEffectDefinition { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IVideoEffectDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), activatableclassid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2203,7 +2203,7 @@ impl VideoEffectDefinition { E1: ::std::convert::Into<::windows::core::Error>, { Self::IVideoEffectDefinitionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithProperties)(::windows::core::Interface::as_raw(this), activatableclassid.into().abi(), props.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2308,7 +2308,7 @@ impl VideoTransformEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatableClassId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2317,7 +2317,7 @@ impl VideoTransformEffectDefinition { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2326,7 +2326,7 @@ impl VideoTransformEffectDefinition { pub fn PaddingColor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PaddingColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2341,7 +2341,7 @@ impl VideoTransformEffectDefinition { pub fn OutputSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2356,7 +2356,7 @@ impl VideoTransformEffectDefinition { pub fn CropRectangle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CropRectangle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2371,7 +2371,7 @@ impl VideoTransformEffectDefinition { pub fn Rotation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rotation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2386,7 +2386,7 @@ impl VideoTransformEffectDefinition { pub fn Mirror(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mirror)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2407,14 +2407,14 @@ impl VideoTransformEffectDefinition { pub fn ProcessingAlgorithm(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessingAlgorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SphericalProjection(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SphericalProjection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2507,7 +2507,7 @@ impl VideoTransformSphericalProjection { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2520,7 +2520,7 @@ impl VideoTransformSphericalProjection { pub fn FrameFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2535,7 +2535,7 @@ impl VideoTransformSphericalProjection { pub fn ProjectionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProjectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2548,7 +2548,7 @@ impl VideoTransformSphericalProjection { pub fn HorizontalFieldOfViewInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HorizontalFieldOfViewInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2561,7 +2561,7 @@ impl VideoTransformSphericalProjection { pub fn ViewOrientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewOrientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs index bf9ed6b901..56a171cbb4 100644 --- a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs @@ -7,7 +7,7 @@ impl DetectedFace { pub fn FaceBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FaceBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -86,7 +86,7 @@ impl FaceDetector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetectFacesAsync)(::windows::core::Interface::as_raw(this), image.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -98,7 +98,7 @@ impl FaceDetector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetectFacesWithSearchAreaAsync)(::windows::core::Interface::as_raw(this), image.into().abi(), searcharea, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -107,7 +107,7 @@ impl FaceDetector { pub fn MinDetectableFaceSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinDetectableFaceSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -122,7 +122,7 @@ impl FaceDetector { pub fn MaxDetectableFaceSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxDetectableFaceSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -136,7 +136,7 @@ impl FaceDetector { #[cfg(feature = "Foundation")] pub fn CreateAsync() -> ::windows::core::Result> { Self::IFaceDetectorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -144,7 +144,7 @@ impl FaceDetector { #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub fn GetSupportedBitmapPixelFormats() -> ::windows::core::Result> { Self::IFaceDetectorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedBitmapPixelFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -152,13 +152,13 @@ impl FaceDetector { #[cfg(feature = "Graphics_Imaging")] pub fn IsBitmapPixelFormatSupported(bitmappixelformat: super::super::Graphics::Imaging::BitmapPixelFormat) -> ::windows::core::Result { Self::IFaceDetectorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBitmapPixelFormatSupported)(::windows::core::Interface::as_raw(this), bitmappixelformat, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IFaceDetectorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -242,7 +242,7 @@ impl FaceTracker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessNextFrameAsync)(::windows::core::Interface::as_raw(this), videoframe.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -251,7 +251,7 @@ impl FaceTracker { pub fn MinDetectableFaceSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinDetectableFaceSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -266,7 +266,7 @@ impl FaceTracker { pub fn MaxDetectableFaceSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxDetectableFaceSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -280,7 +280,7 @@ impl FaceTracker { #[cfg(feature = "Foundation")] pub fn CreateAsync() -> ::windows::core::Result> { Self::IFaceTrackerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -288,7 +288,7 @@ impl FaceTracker { #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub fn GetSupportedBitmapPixelFormats() -> ::windows::core::Result> { Self::IFaceTrackerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSupportedBitmapPixelFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -296,13 +296,13 @@ impl FaceTracker { #[cfg(feature = "Graphics_Imaging")] pub fn IsBitmapPixelFormatSupported(bitmappixelformat: super::super::Graphics::Imaging::BitmapPixelFormat) -> ::windows::core::Result { Self::IFaceTrackerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBitmapPixelFormatSupported)(::windows::core::Interface::as_raw(this), bitmappixelformat, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IFaceTrackerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Import/mod.rs b/crates/libs/windows/src/Windows/Media/Import/mod.rs index f501c2e232..c95b6d94ee 100644 --- a/crates/libs/windows/src/Windows/Media/Import/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Import/mod.rs @@ -594,14 +594,14 @@ impl PhotoImportDeleteImportedItemsFromSourceResult { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasSucceeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasSucceeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -610,77 +610,77 @@ impl PhotoImportDeleteImportedItemsFromSourceResult { pub fn DeletedItems(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeletedItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PhotosCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotosCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhotosSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotosSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideosCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideosCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideosSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideosSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SidecarsCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidecarsCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SidecarsSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidecarsSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SiblingsCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SiblingsCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SiblingsSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SiblingsSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -754,14 +754,14 @@ impl PhotoImportFindItemsResult { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasSucceeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasSucceeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -770,77 +770,77 @@ impl PhotoImportFindItemsResult { pub fn FoundItems(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FoundItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PhotosCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotosCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhotosSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotosSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideosCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideosCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideosSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideosSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SidecarsCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidecarsCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SidecarsSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidecarsSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SiblingsCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SiblingsCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SiblingsSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SiblingsSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -857,7 +857,7 @@ impl PhotoImportFindItemsResult { pub fn SelectNewAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectNewAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -868,77 +868,77 @@ impl PhotoImportFindItemsResult { pub fn ImportMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedPhotosCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedPhotosCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedPhotosSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedPhotosSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedVideosCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedVideosCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedVideosSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedVideosSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedSidecarsCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedSidecarsCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedSidecarsSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedSidecarsSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedSiblingsCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedSiblingsCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedSiblingsSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedSiblingsSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedTotalCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedTotalCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectedTotalSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedTotalSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -950,7 +950,7 @@ impl PhotoImportFindItemsResult { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectionChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -965,7 +965,7 @@ impl PhotoImportFindItemsResult { pub fn ImportItemsAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportItemsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -977,7 +977,7 @@ impl PhotoImportFindItemsResult { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemImported)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1063,14 +1063,14 @@ impl PhotoImportImportItemsResult { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasSucceeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasSucceeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1079,77 +1079,77 @@ impl PhotoImportImportItemsResult { pub fn ImportedItems(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportedItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PhotosCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotosCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhotosSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhotosSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideosCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideosCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideosSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideosSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SidecarsCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidecarsCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SidecarsSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SidecarsSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SiblingsCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SiblingsCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SiblingsSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SiblingsSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1158,7 +1158,7 @@ impl PhotoImportImportItemsResult { pub fn DeleteImportedItemsFromSourceAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteImportedItemsFromSourceAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1268,28 +1268,28 @@ impl PhotoImportItem { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ItemKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContentType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1298,14 +1298,14 @@ impl PhotoImportItem { pub fn Date(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Date)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Sibling(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1314,7 +1314,7 @@ impl PhotoImportItem { pub fn Sidecars(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sidecars)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1323,14 +1323,14 @@ impl PhotoImportItem { pub fn VideoSegments(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoSegments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsSelected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1343,7 +1343,7 @@ impl PhotoImportItem { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1352,7 +1352,7 @@ impl PhotoImportItem { pub fn ImportedFileNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportedFileNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1361,14 +1361,14 @@ impl PhotoImportItem { pub fn DeletedFileNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeletedFileNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1442,7 +1442,7 @@ impl PhotoImportItemImportedEventArgs { pub fn ImportedItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportedItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1551,7 +1551,7 @@ impl PhotoImportManager { #[cfg(feature = "Foundation")] pub fn IsSupportedAsync() -> ::windows::core::Result> { Self::IPhotoImportManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupportedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1559,7 +1559,7 @@ impl PhotoImportManager { #[cfg(feature = "Foundation_Collections")] pub fn FindAllSourcesAsync() -> ::windows::core::Result>> { Self::IPhotoImportManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllSourcesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1567,7 +1567,7 @@ impl PhotoImportManager { #[cfg(feature = "Foundation_Collections")] pub fn GetPendingOperations() -> ::windows::core::Result> { Self::IPhotoImportManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPendingOperations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1587,14 +1587,14 @@ impl PhotoImportOperation { pub fn Stage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1603,7 +1603,7 @@ impl PhotoImportOperation { pub fn ContinueFindingItemsAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinueFindingItemsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1612,7 +1612,7 @@ impl PhotoImportOperation { pub fn ContinueImportingItemsAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinueImportingItemsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1621,7 +1621,7 @@ impl PhotoImportOperation { pub fn ContinueDeletingImportedItemsFromSourceAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinueDeletingImportedItemsFromSourceAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1771,7 +1771,7 @@ impl PhotoImportSelectionChangedEventArgs { pub fn IsSelectionEmpty(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSelectionEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1851,14 +1851,14 @@ impl PhotoImportSession { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SessionId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -1877,7 +1877,7 @@ impl PhotoImportSession { pub fn DestinationFolder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DestinationFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1888,7 +1888,7 @@ impl PhotoImportSession { pub fn AppendSessionDateToDestinationFolder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendSessionDateToDestinationFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1899,7 +1899,7 @@ impl PhotoImportSession { pub fn SubfolderCreationMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubfolderCreationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1913,7 +1913,7 @@ impl PhotoImportSession { pub fn DestinationFileNamePrefix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DestinationFileNamePrefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1922,7 +1922,7 @@ impl PhotoImportSession { pub fn FindItemsAsync(&self, contenttypefilter: PhotoImportContentTypeFilter, itemselectionmode: PhotoImportItemSelectionMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindItemsAsync)(::windows::core::Interface::as_raw(this), contenttypefilter, itemselectionmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1933,7 +1933,7 @@ impl PhotoImportSession { pub fn SubfolderDateFormat(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubfolderDateFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1944,7 +1944,7 @@ impl PhotoImportSession { pub fn RememberDeselectedItems(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RememberDeselectedItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2040,14 +2040,14 @@ impl PhotoImportSidecar { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2056,7 +2056,7 @@ impl PhotoImportSidecar { pub fn Date(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Date)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2130,70 +2130,70 @@ impl PhotoImportSource { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Manufacturer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Manufacturer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Model(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Model)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SerialNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SerialNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ConnectionProtocol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionProtocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ConnectionTransport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionTransport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PowerSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2202,7 +2202,7 @@ impl PhotoImportSource { pub fn BatteryLevelPercent(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BatteryLevelPercent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2211,7 +2211,7 @@ impl PhotoImportSource { pub fn DateTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2220,7 +2220,7 @@ impl PhotoImportSource { pub fn StorageMedia(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorageMedia)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2229,14 +2229,14 @@ impl PhotoImportSource { pub fn IsLocked(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLocked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsMassStorage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMassStorage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2245,14 +2245,14 @@ impl PhotoImportSource { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateImportSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateImportSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2263,7 +2263,7 @@ impl PhotoImportSource { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPhotoImportSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromIdAsync)(::windows::core::Interface::as_raw(this), sourceid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2275,7 +2275,7 @@ impl PhotoImportSource { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPhotoImportSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromFolderAsync)(::windows::core::Interface::as_raw(this), sourcerootfolder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2429,49 +2429,49 @@ impl PhotoImportStorageMedium { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SerialNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SerialNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn StorageMediumType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorageMediumType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportedAccessMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedAccessMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CapacityInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapacityInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AvailableSpaceInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableSpaceInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2655,14 +2655,14 @@ impl PhotoImportVideoSegment { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2671,14 +2671,14 @@ impl PhotoImportVideoSegment { pub fn Date(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Date)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Sibling(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sibling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2687,7 +2687,7 @@ impl PhotoImportVideoSegment { pub fn Sidecars(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sidecars)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index fa4e81e8d4..d28ecd4abe 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -16,7 +16,7 @@ impl AudioEncodingProperties { pub fn Bitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -27,7 +27,7 @@ impl AudioEncodingProperties { pub fn ChannelCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38,7 +38,7 @@ impl AudioEncodingProperties { pub fn SampleRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SampleRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -49,63 +49,63 @@ impl AudioEncodingProperties { pub fn BitsPerSample(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitsPerSample)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSpatial(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSpatial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Copy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateAac(samplerate: u32, channelcount: u32, bitrate: u32) -> ::windows::core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAac)(::windows::core::Interface::as_raw(this), samplerate, channelcount, bitrate, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateAacAdts(samplerate: u32, channelcount: u32, bitrate: u32) -> ::windows::core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAacAdts)(::windows::core::Interface::as_raw(this), samplerate, channelcount, bitrate, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateMp3(samplerate: u32, channelcount: u32, bitrate: u32) -> ::windows::core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMp3)(::windows::core::Interface::as_raw(this), samplerate, channelcount, bitrate, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreatePcm(samplerate: u32, channelcount: u32, bitspersample: u32) -> ::windows::core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePcm)(::windows::core::Interface::as_raw(this), samplerate, channelcount, bitspersample, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWma(samplerate: u32, channelcount: u32, bitrate: u32) -> ::windows::core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWma)(::windows::core::Interface::as_raw(this), samplerate, channelcount, bitrate, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateAlac(samplerate: u32, channelcount: u32, bitspersample: u32) -> ::windows::core::Result { Self::IAudioEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAlac)(::windows::core::Interface::as_raw(this), samplerate, channelcount, bitspersample, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFlac(samplerate: u32, channelcount: u32, bitspersample: u32) -> ::windows::core::Result { Self::IAudioEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFlac)(::windows::core::Interface::as_raw(this), samplerate, channelcount, bitspersample, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -122,14 +122,14 @@ impl AudioEncodingProperties { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -143,7 +143,7 @@ impl AudioEncodingProperties { pub fn Subtype(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -289,7 +289,7 @@ impl ContainerEncodingProperties { pub fn Copy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -298,14 +298,14 @@ impl ContainerEncodingProperties { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -319,7 +319,7 @@ impl ContainerEncodingProperties { pub fn Subtype(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -410,61 +410,61 @@ pub struct H264ProfileIds; impl H264ProfileIds { pub fn ConstrainedBaseline() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConstrainedBaseline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Baseline() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Baseline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Extended() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Extended)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Main() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Main)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn High() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).High)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn High10() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).High10)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn High422() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).High422)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn High444() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).High444)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn StereoHigh() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StereoHigh)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MultiviewHigh() -> ::windows::core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MultiviewHigh)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -815,14 +815,14 @@ impl IMediaEncodingProperties { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -836,7 +836,7 @@ impl IMediaEncodingProperties { pub fn Subtype(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1219,7 +1219,7 @@ impl ImageEncodingProperties { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1230,50 +1230,50 @@ impl ImageEncodingProperties { pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Copy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateJpeg() -> ::windows::core::Result { Self::IImageEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateJpeg)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreatePng() -> ::windows::core::Result { Self::IImageEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePng)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateJpegXR() -> ::windows::core::Result { Self::IImageEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateJpegXR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateUncompressed(format: MediaPixelFormat) -> ::windows::core::Result { Self::IImageEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUncompressed)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateBmp() -> ::windows::core::Result { Self::IImageEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBmp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateHeif() -> ::windows::core::Result { Self::IImageEncodingPropertiesStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateHeif)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1282,14 +1282,14 @@ impl ImageEncodingProperties { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1303,7 +1303,7 @@ impl ImageEncodingProperties { pub fn Subtype(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1425,7 +1425,7 @@ impl MediaEncodingProfile { pub fn Audio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Audio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1439,7 +1439,7 @@ impl MediaEncodingProfile { pub fn Video(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Video)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1453,7 +1453,7 @@ impl MediaEncodingProfile { pub fn Container(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Container)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1472,7 +1472,7 @@ impl MediaEncodingProfile { pub fn GetAudioTracks(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1491,7 +1491,7 @@ impl MediaEncodingProfile { pub fn GetVideoTracks(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVideoTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1510,37 +1510,37 @@ impl MediaEncodingProfile { pub fn GetTimedMetadataTracks(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTimedMetadataTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateM4a(quality: AudioEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateM4a)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateMp3(quality: AudioEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMp3)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWma(quality: AudioEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWma)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateMp4(quality: VideoEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMp4)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateWmv(quality: VideoEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWmv)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1552,7 +1552,7 @@ impl MediaEncodingProfile { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromFileAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1564,37 +1564,37 @@ impl MediaEncodingProfile { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStreamAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn CreateWav(quality: AudioEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWav)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateAvi(quality: VideoEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAvi)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateAlac(quality: AudioEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAlac)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFlac(quality: AudioEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFlac)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateHevc(quality: VideoEncodingQuality) -> ::windows::core::Result { Self::IMediaEncodingProfileStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateHevc)(::windows::core::Interface::as_raw(this), quality, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1681,313 +1681,313 @@ pub struct MediaEncodingSubtypes; impl MediaEncodingSubtypes { pub fn Aac() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Aac)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AacAdts() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AacAdts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ac3() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ac3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AmrNb() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AmrNb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AmrWb() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AmrWb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Argb32() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Argb32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Asf() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Asf)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Avi() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Avi)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Bgra8() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bgra8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Bmp() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bmp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Eac3() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Eac3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Float() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Float)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Gif() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gif)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn H263() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).H263)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn H264() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).H264)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn H264Es() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).H264Es)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Hevc() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hevc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HevcEs() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HevcEs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Iyuv() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Iyuv)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Jpeg() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Jpeg)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn JpegXr() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JpegXr)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mjpg() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mjpg)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mpeg() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mpeg)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mpeg1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mpeg1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mpeg2() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mpeg2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mp3() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mp3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Mpeg4() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mpeg4)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Nv12() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Nv12)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Pcm() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pcm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Png() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Png)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Rgb24() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rgb24)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Rgb32() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rgb32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Tiff() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tiff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Wave() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wave)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Wma8() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wma8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Wma9() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wma9)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Wmv3() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wmv3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Wvc1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wvc1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Yuy2() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Yuy2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Yv12() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Yv12)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Vp9() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Vp9)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn L8() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).L8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn L16() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).L16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn D16() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).D16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Alac() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Alac)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Flac() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Flac)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn P010() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).P010)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Heif() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Heif)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Pgs() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics6(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pgs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Srt() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics6(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Srt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ssa() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics6(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ssa)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn VobSub() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaEncodingSubtypesStatics6(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VobSub)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2141,7 +2141,7 @@ impl MediaPropertySet { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2150,7 +2150,7 @@ impl MediaPropertySet { pub fn Lookup(&self, key: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2159,7 +2159,7 @@ impl MediaPropertySet { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2168,7 +2168,7 @@ impl MediaPropertySet { pub fn HasKey(&self, key: ::windows::core::GUID) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2177,7 +2177,7 @@ impl MediaPropertySet { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2189,7 +2189,7 @@ impl MediaPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key, value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2354,7 +2354,7 @@ impl MediaRatio { pub fn Numerator(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Numerator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2365,7 +2365,7 @@ impl MediaRatio { pub fn Denominator(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Denominator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2507,31 +2507,31 @@ pub struct Mpeg2ProfileIds; impl Mpeg2ProfileIds { pub fn Simple() -> ::windows::core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Simple)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Main() -> ::windows::core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Main)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SignalNoiseRatioScalable() -> ::windows::core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalNoiseRatioScalable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SpatiallyScalable() -> ::windows::core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpatiallyScalable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn High() -> ::windows::core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).High)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2630,14 +2630,14 @@ impl TimedMetadataEncodingProperties { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2651,7 +2651,7 @@ impl TimedMetadataEncodingProperties { pub fn Subtype(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2666,31 +2666,31 @@ impl TimedMetadataEncodingProperties { pub fn Copy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreatePgs() -> ::windows::core::Result { Self::ITimedMetadataEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePgs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateSrt() -> ::windows::core::Result { Self::ITimedMetadataEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSrt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateSsa(formatuserdata: &[u8]) -> ::windows::core::Result { Self::ITimedMetadataEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSsa)(::windows::core::Interface::as_raw(this), formatuserdata.len() as u32, ::core::mem::transmute(formatuserdata.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateVobSub(formatuserdata: &[u8]) -> ::windows::core::Result { Self::ITimedMetadataEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVobSub)(::windows::core::Interface::as_raw(this), formatuserdata.len() as u32, ::core::mem::transmute(formatuserdata.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2797,14 +2797,14 @@ impl VideoEncodingProperties { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2818,7 +2818,7 @@ impl VideoEncodingProperties { pub fn Subtype(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtype)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2829,7 +2829,7 @@ impl VideoEncodingProperties { pub fn Bitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2840,7 +2840,7 @@ impl VideoEncodingProperties { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2851,21 +2851,21 @@ impl VideoEncodingProperties { pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FrameRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PixelAspectRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelAspectRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2884,40 +2884,40 @@ impl VideoEncodingProperties { pub fn ProfileId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StereoscopicVideoPackingMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StereoscopicVideoPackingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SphericalVideoFrameFormat(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SphericalVideoFrameFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Copy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Copy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateH264() -> ::windows::core::Result { Self::IVideoEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateH264)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateMpeg2() -> ::windows::core::Result { Self::IVideoEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMpeg2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2926,13 +2926,13 @@ impl VideoEncodingProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IVideoEncodingPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUncompressed)(::windows::core::Interface::as_raw(this), subtype.into().abi(), width, height, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateHevc() -> ::windows::core::Result { Self::IVideoEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateHevc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs index ac36be9b1c..41d72b902c 100644 --- a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs @@ -452,14 +452,14 @@ impl MiracastReceiver { pub fn GetDefaultSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -468,7 +468,7 @@ impl MiracastReceiver { pub fn GetCurrentSettingsAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentSettingsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -478,7 +478,7 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisconnectAllAndApplySettings)(::windows::core::Interface::as_raw(this), settings.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -490,14 +490,14 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisconnectAllAndApplySettingsAsync)(::windows::core::Interface::as_raw(this), settings.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -506,7 +506,7 @@ impl MiracastReceiver { pub fn GetStatusAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatusAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -518,7 +518,7 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -536,7 +536,7 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSession)(::windows::core::Interface::as_raw(this), view.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -548,7 +548,7 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSessionAsync)(::windows::core::Interface::as_raw(this), view.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -633,14 +633,14 @@ impl MiracastReceiverApplySettingsResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -813,7 +813,7 @@ impl MiracastReceiverConnection { pub fn PauseAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -826,35 +826,35 @@ impl MiracastReceiverConnection { pub fn ResumeAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResumeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Transmitter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Transmitter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InputDevices(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputDevices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CursorImageChannel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CursorImageChannel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StreamControl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -950,14 +950,14 @@ impl MiracastReceiverConnectionCreatedEventArgs { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pin(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -966,7 +966,7 @@ impl MiracastReceiverConnectionCreatedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1040,7 +1040,7 @@ impl MiracastReceiverCursorImageChannel { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1049,7 +1049,7 @@ impl MiracastReceiverCursorImageChannel { pub fn MaxImageSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxImageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1058,7 +1058,7 @@ impl MiracastReceiverCursorImageChannel { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1067,7 +1067,7 @@ impl MiracastReceiverCursorImageChannel { pub fn ImageStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1079,7 +1079,7 @@ impl MiracastReceiverCursorImageChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageStreamChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1097,7 +1097,7 @@ impl MiracastReceiverCursorImageChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1177,7 +1177,7 @@ impl MiracastReceiverCursorImageChannelSettings { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1190,7 +1190,7 @@ impl MiracastReceiverCursorImageChannelSettings { pub fn MaxImageSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxImageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1310,7 +1310,7 @@ impl MiracastReceiverDisconnectedEventArgs { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1384,7 +1384,7 @@ impl MiracastReceiverGameControllerDevice { pub fn TransmitInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransmitInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1395,21 +1395,21 @@ impl MiracastReceiverGameControllerDevice { pub fn IsRequestedByTransmitter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequestedByTransmitter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTransmittingInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTransmittingInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1425,7 +1425,7 @@ impl MiracastReceiverGameControllerDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1539,14 +1539,14 @@ impl MiracastReceiverInputDevices { pub fn Keyboard(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keyboard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GameController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GameController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1620,7 +1620,7 @@ impl MiracastReceiverKeyboardDevice { pub fn TransmitInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransmitInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1631,14 +1631,14 @@ impl MiracastReceiverKeyboardDevice { pub fn IsRequestedByTransmitter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRequestedByTransmitter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTransmittingInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTransmittingInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1650,7 +1650,7 @@ impl MiracastReceiverKeyboardDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1768,7 +1768,7 @@ impl MiracastReceiverMediaSourceCreatedEventArgs { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1777,14 +1777,14 @@ impl MiracastReceiverMediaSourceCreatedEventArgs { pub fn MediaSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CursorImageChannelSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CursorImageChannelSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1793,7 +1793,7 @@ impl MiracastReceiverMediaSourceCreatedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1878,7 +1878,7 @@ impl MiracastReceiverSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionCreated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1896,7 +1896,7 @@ impl MiracastReceiverSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSourceCreated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1914,7 +1914,7 @@ impl MiracastReceiverSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Disconnected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1927,7 +1927,7 @@ impl MiracastReceiverSession { pub fn AllowConnectionTakeover(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowConnectionTakeover)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1938,7 +1938,7 @@ impl MiracastReceiverSession { pub fn MaxSimultaneousConnections(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSimultaneousConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1949,7 +1949,7 @@ impl MiracastReceiverSession { pub fn Start(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Start)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1958,7 +1958,7 @@ impl MiracastReceiverSession { pub fn StartAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2054,14 +2054,14 @@ impl MiracastReceiverSessionStartResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -2171,7 +2171,7 @@ impl MiracastReceiverSettings { pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2185,7 +2185,7 @@ impl MiracastReceiverSettings { pub fn ModelName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2199,7 +2199,7 @@ impl MiracastReceiverSettings { pub fn ModelNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2213,7 +2213,7 @@ impl MiracastReceiverSettings { pub fn AuthorizationMethod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthorizationMethod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2224,7 +2224,7 @@ impl MiracastReceiverSettings { pub fn RequireAuthorizationFromKnownTransmitters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequireAuthorizationFromKnownTransmitters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2302,28 +2302,28 @@ impl MiracastReceiverStatus { pub fn ListeningStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ListeningStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WiFiStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WiFiStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsConnectionTakeoverSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnectionTakeoverSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxSimultaneousConnections(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSimultaneousConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2332,7 +2332,7 @@ impl MiracastReceiverStatus { pub fn KnownTransmitters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KnownTransmitters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2406,7 +2406,7 @@ impl MiracastReceiverStreamControl { pub fn GetVideoStreamSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVideoStreamSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2415,7 +2415,7 @@ impl MiracastReceiverStreamControl { pub fn GetVideoStreamSettingsAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVideoStreamSettingsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2434,14 +2434,14 @@ impl MiracastReceiverStreamControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestVideoStreamSettingsAsync)(::windows::core::Interface::as_raw(this), settings.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MuteAudio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MuteAudio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2521,7 +2521,7 @@ impl MiracastReceiverVideoStreamSettings { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2534,7 +2534,7 @@ impl MiracastReceiverVideoStreamSettings { pub fn Bitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2648,7 +2648,7 @@ impl MiracastTransmitter { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2662,7 +2662,7 @@ impl MiracastTransmitter { pub fn AuthorizationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthorizationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2675,14 +2675,14 @@ impl MiracastTransmitter { pub fn GetConnections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MacAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MacAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2691,7 +2691,7 @@ impl MiracastTransmitter { pub fn LastConnectionTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastConnectionTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs index 61c0f7868a..b4838dc863 100644 --- a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs @@ -111,7 +111,7 @@ impl OcrEngine { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizeAsync)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -120,13 +120,13 @@ impl OcrEngine { pub fn RecognizerLanguage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizerLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxImageDimension() -> ::windows::core::Result { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxImageDimension)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -134,7 +134,7 @@ impl OcrEngine { #[cfg(all(feature = "Foundation_Collections", feature = "Globalization"))] pub fn AvailableRecognizerLanguages() -> ::windows::core::Result> { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableRecognizerLanguages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -145,7 +145,7 @@ impl OcrEngine { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Globalization::Language>>, { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLanguageSupported)(::windows::core::Interface::as_raw(this), language.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -156,13 +156,13 @@ impl OcrEngine { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Globalization::Language>>, { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFromLanguage)(::windows::core::Interface::as_raw(this), language.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TryCreateFromUserProfileLanguages() -> ::windows::core::Result { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFromUserProfileLanguages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -243,14 +243,14 @@ impl OcrLine { pub fn Words(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Words)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -326,7 +326,7 @@ impl OcrResult { pub fn Lines(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lines)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -335,14 +335,14 @@ impl OcrResult { pub fn TextAngle(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -418,14 +418,14 @@ impl OcrWord { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs index 88ce890a02..3d701cae39 100644 --- a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs +++ b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs @@ -7,7 +7,7 @@ impl CurrentTimeChangeRequestedEventArgs { pub fn Time(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Time)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -625,7 +625,7 @@ impl MuteChangeRequestedEventArgs { pub fn Mute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -701,7 +701,7 @@ impl PlayToConnection { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -713,7 +713,7 @@ impl PlayToConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -731,7 +731,7 @@ impl PlayToConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Transferred)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -749,7 +749,7 @@ impl PlayToConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -893,7 +893,7 @@ impl PlayToConnectionErrorEventArgs { pub fn Code(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -902,7 +902,7 @@ impl PlayToConnectionErrorEventArgs { pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1038,7 +1038,7 @@ impl PlayToConnectionStateChangedEventArgs { pub fn PreviousState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1047,7 +1047,7 @@ impl PlayToConnectionStateChangedEventArgs { pub fn CurrentState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1140,7 +1140,7 @@ impl PlayToConnectionTransferredEventArgs { pub fn PreviousSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1149,7 +1149,7 @@ impl PlayToConnectionTransferredEventArgs { pub fn CurrentSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1245,7 +1245,7 @@ impl PlayToManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1263,7 +1263,7 @@ impl PlayToManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceSelected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1284,7 +1284,7 @@ impl PlayToManager { pub fn DefaultSourceSelection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultSourceSelection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1292,7 +1292,7 @@ impl PlayToManager { #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> ::windows::core::Result { Self::IPlayToManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1404,7 +1404,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlayRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1422,7 +1422,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1440,7 +1440,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceChangeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1458,7 +1458,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRateChangeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1476,7 +1476,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentTimeChangeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1494,7 +1494,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MuteChangeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1512,7 +1512,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VolumeChangeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1530,7 +1530,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeUpdateRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1548,7 +1548,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1613,7 +1613,7 @@ impl PlayToReceiver { pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1631,7 +1631,7 @@ impl PlayToReceiver { pub fn SupportsImage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsImage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1642,7 +1642,7 @@ impl PlayToReceiver { pub fn SupportsAudio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsAudio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1653,7 +1653,7 @@ impl PlayToReceiver { pub fn SupportsVideo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsVideo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1662,7 +1662,7 @@ impl PlayToReceiver { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1671,7 +1671,7 @@ impl PlayToReceiver { pub fn StartAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1680,7 +1680,7 @@ impl PlayToReceiver { pub fn StopAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1756,7 +1756,7 @@ impl PlayToSource { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1765,7 +1765,7 @@ impl PlayToSource { pub fn Next(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Next)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1789,7 +1789,7 @@ impl PlayToSource { pub fn PreferredSourceUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredSourceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1981,7 +1981,7 @@ impl PlayToSourceRequest { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1999,7 +1999,7 @@ impl PlayToSourceRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2101,7 +2101,7 @@ impl PlayToSourceRequestedEventArgs { pub fn SourceRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2194,7 +2194,7 @@ impl PlayToSourceSelectedEventArgs { pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2203,7 +2203,7 @@ impl PlayToSourceSelectedEventArgs { pub fn Icon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Icon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2212,7 +2212,7 @@ impl PlayToSourceSelectedEventArgs { pub fn SupportsImage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsImage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2221,7 +2221,7 @@ impl PlayToSourceSelectedEventArgs { pub fn SupportsAudio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsAudio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2230,7 +2230,7 @@ impl PlayToSourceSelectedEventArgs { pub fn SupportsVideo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsVideo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2319,7 +2319,7 @@ impl PlaybackRateChangeRequestedEventArgs { pub fn Rate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2393,42 +2393,42 @@ impl SourceChangeRequestedEventArgs { pub fn Stream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Author(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Author)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Album(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Album)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Genre(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Genre)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2437,7 +2437,7 @@ impl SourceChangeRequestedEventArgs { pub fn Date(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Date)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2446,7 +2446,7 @@ impl SourceChangeRequestedEventArgs { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2455,7 +2455,7 @@ impl SourceChangeRequestedEventArgs { pub fn Rating(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2464,7 +2464,7 @@ impl SourceChangeRequestedEventArgs { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2536,7 +2536,7 @@ impl VolumeChangeRequestedEventArgs { pub fn Volume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Volume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index a5aaf48b52..ebee8425a7 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -43,7 +43,7 @@ impl BackgroundMediaPlayer { #[cfg(feature = "deprecated")] pub fn Current() -> ::windows::core::Result { Self::IBackgroundMediaPlayerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -54,7 +54,7 @@ impl BackgroundMediaPlayer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IBackgroundMediaPlayerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReceivedFromBackground)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -70,7 +70,7 @@ impl BackgroundMediaPlayer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IBackgroundMediaPlayerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReceivedFromForeground)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -99,7 +99,7 @@ impl BackgroundMediaPlayer { #[cfg(feature = "deprecated")] pub fn IsMediaPlaying() -> ::windows::core::Result { Self::IBackgroundMediaPlayerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMediaPlaying)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -126,21 +126,21 @@ impl CurrentMediaPlaybackItemChangedEventArgs { pub fn NewItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OldItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Reason(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -514,7 +514,7 @@ impl IMediaEnginePlaybackSource { pub fn CurrentItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2160,7 +2160,7 @@ impl MediaBreak { pub fn PlaybackList(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2169,14 +2169,14 @@ impl MediaBreak { pub fn PresentationPosition(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn InsertionMethod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InsertionMethod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2185,14 +2185,14 @@ impl MediaBreak { pub fn CustomProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2202,7 +2202,7 @@ impl MediaBreak { } pub fn Create(insertionmethod: MediaBreakInsertionMethod) -> ::windows::core::Result { Self::IMediaBreakFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), insertionmethod, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2210,7 +2210,7 @@ impl MediaBreak { #[cfg(feature = "Foundation")] pub fn CreateWithPresentationPosition(insertionmethod: MediaBreakInsertionMethod, presentationposition: super::super::Foundation::TimeSpan) -> ::windows::core::Result { Self::IMediaBreakFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithPresentationPosition)(::windows::core::Interface::as_raw(this), insertionmethod, presentationposition, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2289,7 +2289,7 @@ impl MediaBreakEndedEventArgs { pub fn MediaBreak(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaBreak)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2402,7 +2402,7 @@ impl MediaBreakManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BreaksSeekedOver)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2420,7 +2420,7 @@ impl MediaBreakManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BreakStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2438,7 +2438,7 @@ impl MediaBreakManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BreakEnded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2456,7 +2456,7 @@ impl MediaBreakManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BreakSkipped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2469,14 +2469,14 @@ impl MediaBreakManager { pub fn CurrentBreak(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentBreak)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PlaybackSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2566,7 +2566,7 @@ impl MediaBreakSchedule { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScheduleChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2595,7 +2595,7 @@ impl MediaBreakSchedule { pub fn MidrollBreaks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MidrollBreaks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2609,7 +2609,7 @@ impl MediaBreakSchedule { pub fn PrerollBreak(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrerollBreak)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2623,14 +2623,14 @@ impl MediaBreakSchedule { pub fn PostrollBreak(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostrollBreak)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PlaybackItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2706,7 +2706,7 @@ impl MediaBreakSeekedOverEventArgs { pub fn SeekedOverBreaks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SeekedOverBreaks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2715,7 +2715,7 @@ impl MediaBreakSeekedOverEventArgs { pub fn OldPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2724,7 +2724,7 @@ impl MediaBreakSeekedOverEventArgs { pub fn NewPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2798,7 +2798,7 @@ impl MediaBreakSkippedEventArgs { pub fn MediaBreak(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaBreak)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2872,7 +2872,7 @@ impl MediaBreakStartedEventArgs { pub fn MediaBreak(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaBreak)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2981,7 +2981,7 @@ impl MediaItemDisplayProperties { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2992,14 +2992,14 @@ impl MediaItemDisplayProperties { pub fn MusicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MusicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3008,7 +3008,7 @@ impl MediaItemDisplayProperties { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3099,7 +3099,7 @@ impl MediaPlaybackAudioTrackList { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3111,7 +3111,7 @@ impl MediaPlaybackAudioTrackList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedIndexChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3132,7 +3132,7 @@ impl MediaPlaybackAudioTrackList { pub fn SelectedIndex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3141,7 +3141,7 @@ impl MediaPlaybackAudioTrackList { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3150,7 +3150,7 @@ impl MediaPlaybackAudioTrackList { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3162,7 +3162,7 @@ impl MediaPlaybackAudioTrackList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3171,7 +3171,7 @@ impl MediaPlaybackAudioTrackList { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3342,7 +3342,7 @@ impl MediaPlaybackCommandManager { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3353,77 +3353,77 @@ impl MediaPlaybackCommandManager { pub fn MediaPlayer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaPlayer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PlayBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PauseBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreviousBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FastForwardBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FastForwardBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RewindBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RewindBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShuffleBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShuffleBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AutoRepeatModeBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoRepeatModeBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PositionBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RateBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RateBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3435,7 +3435,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlayReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3453,7 +3453,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3471,7 +3471,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3489,7 +3489,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3507,7 +3507,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FastForwardReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3525,7 +3525,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RewindReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3543,7 +3543,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShuffleReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3561,7 +3561,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoRepeatModeReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3579,7 +3579,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3597,7 +3597,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RateReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3677,7 +3677,7 @@ impl MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3688,7 +3688,7 @@ impl MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { pub fn AutoRepeatMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoRepeatMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3697,7 +3697,7 @@ impl MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3771,21 +3771,21 @@ impl MediaPlaybackCommandManagerCommandBehavior { pub fn CommandManager(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EnablingRule(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnablingRule)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3801,7 +3801,7 @@ impl MediaPlaybackCommandManagerCommandBehavior { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabledChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3881,7 +3881,7 @@ impl MediaPlaybackCommandManagerFastForwardReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3894,7 +3894,7 @@ impl MediaPlaybackCommandManagerFastForwardReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3968,7 +3968,7 @@ impl MediaPlaybackCommandManagerNextReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3981,7 +3981,7 @@ impl MediaPlaybackCommandManagerNextReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4055,7 +4055,7 @@ impl MediaPlaybackCommandManagerPauseReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4068,7 +4068,7 @@ impl MediaPlaybackCommandManagerPauseReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4142,7 +4142,7 @@ impl MediaPlaybackCommandManagerPlayReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4155,7 +4155,7 @@ impl MediaPlaybackCommandManagerPlayReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4229,7 +4229,7 @@ impl MediaPlaybackCommandManagerPositionReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4242,7 +4242,7 @@ impl MediaPlaybackCommandManagerPositionReceivedEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4251,7 +4251,7 @@ impl MediaPlaybackCommandManagerPositionReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4325,7 +4325,7 @@ impl MediaPlaybackCommandManagerPreviousReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4338,7 +4338,7 @@ impl MediaPlaybackCommandManagerPreviousReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4412,7 +4412,7 @@ impl MediaPlaybackCommandManagerRateReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4423,7 +4423,7 @@ impl MediaPlaybackCommandManagerRateReceivedEventArgs { pub fn PlaybackRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4432,7 +4432,7 @@ impl MediaPlaybackCommandManagerRateReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4506,7 +4506,7 @@ impl MediaPlaybackCommandManagerRewindReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4519,7 +4519,7 @@ impl MediaPlaybackCommandManagerRewindReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4593,7 +4593,7 @@ impl MediaPlaybackCommandManagerShuffleReceivedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4604,7 +4604,7 @@ impl MediaPlaybackCommandManagerShuffleReceivedEventArgs { pub fn IsShuffleRequested(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsShuffleRequested)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4613,7 +4613,7 @@ impl MediaPlaybackCommandManagerShuffleReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4692,7 +4692,7 @@ impl MediaPlaybackItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioTracksChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4710,7 +4710,7 @@ impl MediaPlaybackItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoTracksChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4728,7 +4728,7 @@ impl MediaPlaybackItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimedMetadataTracksChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4743,7 +4743,7 @@ impl MediaPlaybackItem { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4752,7 +4752,7 @@ impl MediaPlaybackItem { pub fn AudioTracks(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4761,7 +4761,7 @@ impl MediaPlaybackItem { pub fn VideoTracks(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4770,14 +4770,14 @@ impl MediaPlaybackItem { pub fn TimedMetadataTracks(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimedMetadataTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BreakSchedule(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BreakSchedule)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4786,7 +4786,7 @@ impl MediaPlaybackItem { pub fn StartTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4795,14 +4795,14 @@ impl MediaPlaybackItem { pub fn DurationLimit(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DurationLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CanSkip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanSkip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4813,7 +4813,7 @@ impl MediaPlaybackItem { pub fn GetDisplayProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDisplayProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4827,7 +4827,7 @@ impl MediaPlaybackItem { pub fn IsDisabledInPlaybackList(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisabledInPlaybackList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4838,14 +4838,14 @@ impl MediaPlaybackItem { pub fn TotalDownloadProgress(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalDownloadProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AutoLoadedDisplayProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoLoadedDisplayProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4860,7 +4860,7 @@ impl MediaPlaybackItem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Core::MediaSource>>, { Self::IMediaPlaybackItemFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), source.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4871,7 +4871,7 @@ impl MediaPlaybackItem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Core::MediaSource>>, { Self::IMediaPlaybackItemFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithStartTime)(::windows::core::Interface::as_raw(this), source.into().abi(), starttime, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4882,7 +4882,7 @@ impl MediaPlaybackItem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Core::MediaSource>>, { Self::IMediaPlaybackItemFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithStartTimeAndDurationLimit)(::windows::core::Interface::as_raw(this), source.into().abi(), starttime, durationlimit, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4893,7 +4893,7 @@ impl MediaPlaybackItem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Core::MediaSource>>, { Self::IMediaPlaybackItemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindFromMediaSource)(::windows::core::Interface::as_raw(this), source.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5037,14 +5037,14 @@ impl MediaPlaybackItemError { pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -5156,14 +5156,14 @@ impl MediaPlaybackItemFailedEventArgs { pub fn Item(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Item)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5237,7 +5237,7 @@ impl MediaPlaybackItemOpenedEventArgs { pub fn Item(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Item)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5323,7 +5323,7 @@ impl MediaPlaybackList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemFailed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5341,7 +5341,7 @@ impl MediaPlaybackList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentItemChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5359,7 +5359,7 @@ impl MediaPlaybackList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemOpened)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5374,14 +5374,14 @@ impl MediaPlaybackList { pub fn Items(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AutoRepeatEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoRepeatEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5392,7 +5392,7 @@ impl MediaPlaybackList { pub fn ShuffleEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShuffleEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5403,35 +5403,35 @@ impl MediaPlaybackList { pub fn CurrentItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentItemIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentItemIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveNext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveNext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MovePrevious(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MovePrevious)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveTo(&self, itemindex: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveTo)(::windows::core::Interface::as_raw(this), itemindex, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5440,7 +5440,7 @@ impl MediaPlaybackList { pub fn MaxPrefetchTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPrefetchTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5457,7 +5457,7 @@ impl MediaPlaybackList { pub fn StartingItem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartingItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5473,7 +5473,7 @@ impl MediaPlaybackList { pub fn ShuffledItems(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShuffledItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5492,7 +5492,7 @@ impl MediaPlaybackList { pub fn MaxPlayedItemsToKeepOpen(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPlayedItemsToKeepOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5600,7 +5600,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackStateChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5618,7 +5618,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRateChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5636,7 +5636,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SeekCompleted)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5654,7 +5654,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferingStarted)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5672,7 +5672,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferingEnded)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5690,7 +5690,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferingProgressChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5708,7 +5708,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadProgressChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5726,7 +5726,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalDurationChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5744,7 +5744,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5762,7 +5762,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalVideoSizeChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5775,7 +5775,7 @@ impl MediaPlaybackSession { pub fn MediaPlayer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaPlayer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5784,7 +5784,7 @@ impl MediaPlaybackSession { pub fn NaturalDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5793,7 +5793,7 @@ impl MediaPlaybackSession { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5806,35 +5806,35 @@ impl MediaPlaybackSession { pub fn PlaybackState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanSeek(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanSeek)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanPause(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPause)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsProtected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsProtected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PlaybackRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5845,28 +5845,28 @@ impl MediaPlaybackSession { pub fn BufferingProgress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferingProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DownloadProgress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NaturalVideoHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalVideoHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NaturalVideoWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalVideoWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5875,7 +5875,7 @@ impl MediaPlaybackSession { pub fn NormalizedSourceRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalizedSourceRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5890,7 +5890,7 @@ impl MediaPlaybackSession { pub fn StereoscopicVideoPackingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StereoscopicVideoPackingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5908,7 +5908,7 @@ impl MediaPlaybackSession { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferedRangesChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5926,7 +5926,7 @@ impl MediaPlaybackSession { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlayedRangesChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5944,7 +5944,7 @@ impl MediaPlaybackSession { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SeekableRangesChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5962,7 +5962,7 @@ impl MediaPlaybackSession { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedPlaybackRatesChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5975,14 +5975,14 @@ impl MediaPlaybackSession { pub fn SphericalVideoProjection(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SphericalVideoProjection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMirroring(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMirroring)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5995,7 +5995,7 @@ impl MediaPlaybackSession { pub fn GetBufferedRanges(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBufferedRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6004,7 +6004,7 @@ impl MediaPlaybackSession { pub fn GetPlayedRanges(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPlayedRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6013,14 +6013,14 @@ impl MediaPlaybackSession { pub fn GetSeekableRanges(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSeekableRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsSupportedPlaybackRateRange(&self, rate1: f64, rate2: f64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupportedPlaybackRateRange)(::windows::core::Interface::as_raw(this), rate1, rate2, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6029,7 +6029,7 @@ impl MediaPlaybackSession { pub fn PlaybackRotation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRotation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6042,7 +6042,7 @@ impl MediaPlaybackSession { pub fn GetOutputDegradationPolicyState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputDegradationPolicyState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6116,7 +6116,7 @@ impl MediaPlaybackSessionBufferingStartedEventArgs { pub fn IsPlaybackInterruption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPlaybackInterruption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6190,7 +6190,7 @@ impl MediaPlaybackSessionOutputDegradationPolicyState { pub fn VideoConstrictionReason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoConstrictionReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6303,7 +6303,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6316,7 +6316,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn FrameFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6329,7 +6329,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn HorizontalFieldOfViewInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HorizontalFieldOfViewInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6342,7 +6342,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn ViewOrientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewOrientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6355,7 +6355,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn ProjectionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProjectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6474,7 +6474,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6486,7 +6486,7 @@ impl MediaPlaybackTimedMetadataTrackList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationModeChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6499,7 +6499,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn GetPresentationMode(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPresentationMode)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6512,7 +6512,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6521,7 +6521,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6533,7 +6533,7 @@ impl MediaPlaybackTimedMetadataTrackList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6542,7 +6542,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6695,7 +6695,7 @@ impl MediaPlaybackVideoTrackList { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6707,7 +6707,7 @@ impl MediaPlaybackVideoTrackList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedIndexChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6728,7 +6728,7 @@ impl MediaPlaybackVideoTrackList { pub fn SelectedIndex(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6737,7 +6737,7 @@ impl MediaPlaybackVideoTrackList { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6746,7 +6746,7 @@ impl MediaPlaybackVideoTrackList { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6758,7 +6758,7 @@ impl MediaPlaybackVideoTrackList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6767,7 +6767,7 @@ impl MediaPlaybackVideoTrackList { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6951,7 +6951,7 @@ impl MediaPlayer { pub fn AutoPlay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoPlay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6964,7 +6964,7 @@ impl MediaPlayer { pub fn NaturalDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6973,7 +6973,7 @@ impl MediaPlayer { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6988,7 +6988,7 @@ impl MediaPlayer { pub fn BufferingProgress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferingProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6997,7 +6997,7 @@ impl MediaPlayer { pub fn CurrentState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7006,7 +7006,7 @@ impl MediaPlayer { pub fn CanSeek(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanSeek)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7015,14 +7015,14 @@ impl MediaPlayer { pub fn CanPause(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPause)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsLoopingEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLoopingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7035,14 +7035,14 @@ impl MediaPlayer { pub fn IsProtected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsProtected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMuted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMuted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7055,7 +7055,7 @@ impl MediaPlayer { pub fn PlaybackRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7068,7 +7068,7 @@ impl MediaPlayer { pub fn Volume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Volume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7081,7 +7081,7 @@ impl MediaPlayer { pub fn PlaybackMediaMarkers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackMediaMarkers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7093,7 +7093,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaOpened)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7111,7 +7111,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaEnded)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7129,7 +7129,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaFailed)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7147,7 +7147,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentStateChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7165,7 +7165,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackMediaMarkerReached)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7183,7 +7183,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaPlayerRateChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7201,7 +7201,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VolumeChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7219,7 +7219,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SeekCompleted)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7237,7 +7237,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferingStarted)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7255,7 +7255,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferingEnded)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7285,14 +7285,14 @@ impl MediaPlayer { pub fn SystemMediaTransportControls(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemMediaTransportControls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AudioCategory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioCategory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7303,7 +7303,7 @@ impl MediaPlayer { pub fn AudioDeviceType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7319,7 +7319,7 @@ impl MediaPlayer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMutedChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7337,7 +7337,7 @@ impl MediaPlayer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7350,7 +7350,7 @@ impl MediaPlayer { pub fn AudioBalance(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioBalance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7361,7 +7361,7 @@ impl MediaPlayer { pub fn RealTimePlayback(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RealTimePlayback)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7372,7 +7372,7 @@ impl MediaPlayer { pub fn StereoscopicVideoRenderMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StereoscopicVideoRenderMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7383,14 +7383,14 @@ impl MediaPlayer { pub fn BreakManager(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BreakManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CommandManager(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7399,7 +7399,7 @@ impl MediaPlayer { pub fn AudioDevice(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7415,7 +7415,7 @@ impl MediaPlayer { pub fn TimelineController(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimelineController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7431,7 +7431,7 @@ impl MediaPlayer { pub fn TimelineControllerPositionOffset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimelineControllerPositionOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7444,7 +7444,7 @@ impl MediaPlayer { pub fn PlaybackSession(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7461,7 +7461,7 @@ impl MediaPlayer { pub fn GetAsCastingSource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsCastingSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7479,7 +7479,7 @@ impl MediaPlayer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSurface)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7491,7 +7491,7 @@ impl MediaPlayer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoFrameAvailable)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7504,7 +7504,7 @@ impl MediaPlayer { pub fn IsVideoFrameServerEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVideoFrameServerEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7552,7 +7552,7 @@ impl MediaPlayer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubtitleFrameChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7571,7 +7571,7 @@ impl MediaPlayer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderSubtitlesToSurface)(::windows::core::Interface::as_raw(this), destination.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7584,7 +7584,7 @@ impl MediaPlayer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderSubtitlesToSurfaceWithTargetRectangle)(::windows::core::Interface::as_raw(this), destination.try_into().map_err(|e| e.into())?.abi(), targetrectangle, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7593,7 +7593,7 @@ impl MediaPlayer { pub fn AudioStateMonitor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioStateMonitor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7628,7 +7628,7 @@ impl MediaPlayer { pub fn ProtectionManager(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7674,7 +7674,7 @@ impl MediaPlayer { pub fn Source(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7857,7 +7857,7 @@ impl MediaPlayerDataReceivedEventArgs { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7968,21 +7968,21 @@ impl MediaPlayerFailedEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn ErrorMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8056,7 +8056,7 @@ impl MediaPlayerRateChangedEventArgs { pub fn NewRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8184,7 +8184,7 @@ impl MediaPlayerSurface { pub fn CompositionSurface(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositionSurface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8193,14 +8193,14 @@ impl MediaPlayerSurface { pub fn Compositor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaPlayer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaPlayer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8298,21 +8298,21 @@ impl PlaybackMediaMarker { pub fn Time(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Time)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaMarkerType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaMarkerType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8320,7 +8320,7 @@ impl PlaybackMediaMarker { #[cfg(feature = "Foundation")] pub fn CreateFromTime(value: super::super::Foundation::TimeSpan) -> ::windows::core::Result { Self::IPlaybackMediaMarkerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromTime)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8332,7 +8332,7 @@ impl PlaybackMediaMarker { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPlaybackMediaMarkerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), value, mediamarkettype.into().abi(), text.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8411,7 +8411,7 @@ impl PlaybackMediaMarkerReachedEventArgs { pub fn PlaybackMediaMarker(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackMediaMarker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8487,14 +8487,14 @@ impl PlaybackMediaMarkerSequence { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8687,21 +8687,21 @@ impl TimedMetadataPresentationModeChangedEventArgs { pub fn Track(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OldPresentationMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldPresentationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NewPresentationMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewPresentationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs index 683e9042c1..a9c116bc4a 100644 --- a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs @@ -58,7 +58,7 @@ impl Playlist { pub fn Files(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -67,7 +67,7 @@ impl Playlist { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -81,7 +81,7 @@ impl Playlist { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsAsync)(::windows::core::Interface::as_raw(this), savelocation.try_into().map_err(|e| e.into())?.abi(), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -95,7 +95,7 @@ impl Playlist { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsWithFormatAsync)(::windows::core::Interface::as_raw(this), savelocation.try_into().map_err(|e| e.into())?.abi(), desiredname.into().abi(), option, playlistformat, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -107,7 +107,7 @@ impl Playlist { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPlaylistStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } 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 fd0fbde20e..d2db136cd9 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -99,7 +99,7 @@ impl INDClosedCaptionDataReceivedEventArgs { pub fn ClosedCaptionDataFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClosedCaptionDataFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -108,7 +108,7 @@ impl INDClosedCaptionDataReceivedEventArgs { pub fn PresentationTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -117,7 +117,7 @@ impl INDClosedCaptionDataReceivedEventArgs { pub fn ClosedCaptionData(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClosedCaptionData)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -220,7 +220,7 @@ impl INDCustomData { pub fn CustomDataTypeID(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomDataTypeID)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -229,7 +229,7 @@ impl INDCustomData { pub fn CustomData(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomData)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -380,7 +380,7 @@ impl INDDownloadEngine { pub fn CanSeek(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanSeek)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -389,7 +389,7 @@ impl INDDownloadEngine { pub fn BufferFullMinThresholdInSamples(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferFullMinThresholdInSamples)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -398,7 +398,7 @@ impl INDDownloadEngine { pub fn BufferFullMaxThresholdInSamples(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferFullMaxThresholdInSamples)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -407,7 +407,7 @@ impl INDDownloadEngine { pub fn Notifier(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Notifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -680,7 +680,7 @@ impl INDLicenseFetchCompletedEventArgs { pub fn ResponseCustomData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -775,7 +775,7 @@ impl INDLicenseFetchDescriptor { pub fn ContentIDType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentIDType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -784,7 +784,7 @@ impl INDLicenseFetchDescriptor { pub fn ContentID(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentID)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -793,7 +793,7 @@ impl INDLicenseFetchDescriptor { pub fn LicenseFetchChallengeCustomData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseFetchChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -929,7 +929,7 @@ impl INDLicenseFetchResult { pub fn ResponseCustomData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1024,7 +1024,7 @@ impl INDMessenger { pub fn SendRegistrationRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendRegistrationRequestAsync)(::windows::core::Interface::as_raw(this), sessionidbytes.len() as u32, ::core::mem::transmute(sessionidbytes.as_ptr()), challengedatabytes.len() as u32, ::core::mem::transmute(challengedatabytes.as_ptr()), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1033,7 +1033,7 @@ impl INDMessenger { pub fn SendProximityDetectionStartAsync(&self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], challengedatabytes: &[u8]) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendProximityDetectionStartAsync)(::windows::core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len() as u32, ::core::mem::transmute(transmitterchannelbytes.as_ptr()), sessionidbytes.len() as u32, ::core::mem::transmute(sessionidbytes.as_ptr()), challengedatabytes.len() as u32, ::core::mem::transmute(challengedatabytes.as_ptr()), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1042,7 +1042,7 @@ impl INDMessenger { pub fn SendProximityDetectionResponseAsync(&self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], responsedatabytes: &[u8]) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendProximityDetectionResponseAsync)(::windows::core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len() as u32, ::core::mem::transmute(transmitterchannelbytes.as_ptr()), sessionidbytes.len() as u32, ::core::mem::transmute(sessionidbytes.as_ptr()), responsedatabytes.len() as u32, ::core::mem::transmute(responsedatabytes.as_ptr()), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1051,7 +1051,7 @@ impl INDMessenger { pub fn SendLicenseFetchRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendLicenseFetchRequestAsync)(::windows::core::Interface::as_raw(this), sessionidbytes.len() as u32, ::core::mem::transmute(sessionidbytes.as_ptr()), challengedatabytes.len() as u32, ::core::mem::transmute(challengedatabytes.as_ptr()), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1158,7 +1158,7 @@ impl INDProximityDetectionCompletedEventArgs { pub fn ProximityDetectionRetryCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProximityDetectionRetryCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1253,7 +1253,7 @@ impl INDRegistrationCompletedEventArgs { pub fn ResponseCustomData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1262,7 +1262,7 @@ impl INDRegistrationCompletedEventArgs { pub fn TransmitterProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransmitterProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1271,7 +1271,7 @@ impl INDRegistrationCompletedEventArgs { pub fn TransmitterCertificateAccepted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransmitterCertificateAccepted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1384,7 +1384,7 @@ impl INDSendResult { pub fn Response(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Response)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -1479,7 +1479,7 @@ impl INDStartResult { pub fn MediaStreamSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaStreamSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1578,7 +1578,7 @@ impl INDStorageFileHelper { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileURLs)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1683,7 +1683,7 @@ impl INDStreamParser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStreamInformation)(::windows::core::Interface::as_raw(this), descriptor.try_into().map_err(|e| e.into())?.abi(), streamtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1704,7 +1704,7 @@ impl INDStreamParser { pub fn Notifier(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Notifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1973,7 +1973,7 @@ impl INDTransmitterProperties { pub fn CertificateType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CertificateType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1982,7 +1982,7 @@ impl INDTransmitterProperties { pub fn PlatformIdentifier(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlatformIdentifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1991,7 +1991,7 @@ impl INDTransmitterProperties { pub fn SupportedFeatures(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedFeatures)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -2000,7 +2000,7 @@ impl INDTransmitterProperties { pub fn SecurityLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecurityLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2009,7 +2009,7 @@ impl INDTransmitterProperties { pub fn SecurityVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecurityVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2018,7 +2018,7 @@ impl INDTransmitterProperties { pub fn ExpirationDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2027,7 +2027,7 @@ impl INDTransmitterProperties { pub fn ClientID(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientID)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -2036,7 +2036,7 @@ impl INDTransmitterProperties { pub fn ModelDigest(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelDigest)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -2045,7 +2045,7 @@ impl INDTransmitterProperties { pub fn ModelManufacturerName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelManufacturerName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2054,7 +2054,7 @@ impl INDTransmitterProperties { pub fn ModelName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2063,7 +2063,7 @@ impl INDTransmitterProperties { pub fn ModelNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2286,28 +2286,28 @@ impl IPlayReadyDomain { pub fn AccountId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Revision(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Revision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2316,7 +2316,7 @@ impl IPlayReadyDomain { pub fn DomainJoinUrl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainJoinUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2476,14 +2476,14 @@ impl IPlayReadyLicense { pub fn FullyEvaluated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FullyEvaluated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsableForPlay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsableForPlay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2492,35 +2492,35 @@ impl IPlayReadyLicense { pub fn ExpirationDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ExpireAfterFirstPlay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpireAfterFirstPlay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DomainAccountID(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainAccountID)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ChainDepth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChainDepth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetKIDAtChainDepth(&self, chaindepth: u32) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetKIDAtChainDepth)(::windows::core::Interface::as_raw(this), chaindepth, result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2620,7 +2620,7 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn ContentHeader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentHeader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2634,7 +2634,7 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn DomainServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2645,14 +2645,14 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2661,7 +2661,7 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2677,14 +2677,14 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2700,28 +2700,28 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -2898,7 +2898,7 @@ impl IPlayReadyLicenseSession { pub fn CreateLAServiceRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLAServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2986,14 +2986,14 @@ impl IPlayReadyLicenseSession2 { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLicenseIterable)(::windows::core::Interface::as_raw(this), contentheader.into().abi(), fullyevaluated, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateLAServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLAServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3155,7 +3155,7 @@ impl IPlayReadySecureStopServiceRequest { pub fn SessionID(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionID)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -3164,7 +3164,7 @@ impl IPlayReadySecureStopServiceRequest { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3173,35 +3173,35 @@ impl IPlayReadySecureStopServiceRequest { pub fn UpdateTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Stopped(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PublisherCertificate(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublisherCertificate)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -3210,7 +3210,7 @@ impl IPlayReadySecureStopServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3226,14 +3226,14 @@ impl IPlayReadySecureStopServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3249,28 +3249,28 @@ impl IPlayReadySecureStopServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3409,7 +3409,7 @@ impl IPlayReadyServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3425,14 +3425,14 @@ impl IPlayReadyServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3448,42 +3448,42 @@ impl IPlayReadyServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -3856,7 +3856,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegistrationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3874,7 +3874,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProximityDetectionCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3892,7 +3892,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseFetchCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3910,7 +3910,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReRegistrationNeeded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3928,7 +3928,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClosedCaptionDataReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3950,7 +3950,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), contenturl.into().abi(), startasyncoptions, registrationcustomdata.try_into().map_err(|e| e.into())?.abi(), licensefetchdescriptor.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3963,7 +3963,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseFetchAsync)(::windows::core::Interface::as_raw(this), licensefetchdescriptor.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3976,7 +3976,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReRegistrationAsync)(::windows::core::Interface::as_raw(this), registrationcustomdata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3998,7 +3998,7 @@ impl NDClient { E2: ::std::convert::Into<::windows::core::Error>, { Self::INDClientFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), downloadengine.try_into().map_err(|e| e.into())?.abi(), streamparser.try_into().map_err(|e| e.into())?.abi(), pmessenger.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4179,7 +4179,7 @@ impl NDCustomData { pub fn CustomDataTypeID(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomDataTypeID)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -4188,7 +4188,7 @@ impl NDCustomData { pub fn CustomData(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomData)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -4196,7 +4196,7 @@ impl NDCustomData { #[cfg(feature = "deprecated")] pub fn CreateInstance(customdatatypeidbytes: &[u8], customdatabytes: &[u8]) -> ::windows::core::Result { Self::INDCustomDataFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), customdatatypeidbytes.len() as u32, ::core::mem::transmute(customdatatypeidbytes.as_ptr()), customdatabytes.len() as u32, ::core::mem::transmute(customdatabytes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4462,7 +4462,7 @@ impl NDLicenseFetchDescriptor { pub fn ContentIDType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentIDType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4471,7 +4471,7 @@ impl NDLicenseFetchDescriptor { pub fn ContentID(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentID)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -4480,7 +4480,7 @@ impl NDLicenseFetchDescriptor { pub fn LicenseFetchChallengeCustomData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseFetchChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4502,7 +4502,7 @@ impl NDLicenseFetchDescriptor { E0: ::std::convert::Into<::windows::core::Error>, { Self::INDLicenseFetchDescriptorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), contentidtype, contentidbytes.len() as u32, ::core::mem::transmute(contentidbytes.as_ptr()), licensefetchchallengecustomdata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4757,7 +4757,7 @@ impl NDStorageFileHelper { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileURLs)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5018,7 +5018,7 @@ impl NDTCPMessenger { pub fn SendRegistrationRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendRegistrationRequestAsync)(::windows::core::Interface::as_raw(this), sessionidbytes.len() as u32, ::core::mem::transmute(sessionidbytes.as_ptr()), challengedatabytes.len() as u32, ::core::mem::transmute(challengedatabytes.as_ptr()), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5027,7 +5027,7 @@ impl NDTCPMessenger { pub fn SendProximityDetectionStartAsync(&self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], challengedatabytes: &[u8]) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendProximityDetectionStartAsync)(::windows::core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len() as u32, ::core::mem::transmute(transmitterchannelbytes.as_ptr()), sessionidbytes.len() as u32, ::core::mem::transmute(sessionidbytes.as_ptr()), challengedatabytes.len() as u32, ::core::mem::transmute(challengedatabytes.as_ptr()), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5036,7 +5036,7 @@ impl NDTCPMessenger { pub fn SendProximityDetectionResponseAsync(&self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], responsedatabytes: &[u8]) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendProximityDetectionResponseAsync)(::windows::core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len() as u32, ::core::mem::transmute(transmitterchannelbytes.as_ptr()), sessionidbytes.len() as u32, ::core::mem::transmute(sessionidbytes.as_ptr()), responsedatabytes.len() as u32, ::core::mem::transmute(responsedatabytes.as_ptr()), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5045,7 +5045,7 @@ impl NDTCPMessenger { pub fn SendLicenseFetchRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendLicenseFetchRequestAsync)(::windows::core::Interface::as_raw(this), sessionidbytes.len() as u32, ::core::mem::transmute(sessionidbytes.as_ptr()), challengedatabytes.len() as u32, ::core::mem::transmute(challengedatabytes.as_ptr()), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5056,7 +5056,7 @@ impl NDTCPMessenger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::INDTCPMessengerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remotehostport, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5169,14 +5169,14 @@ impl PlayReadyContentHeader { pub fn KeyId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn KeyIdString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyIdString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5185,7 +5185,7 @@ impl PlayReadyContentHeader { pub fn LicenseAcquisitionUrl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseAcquisitionUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5194,63 +5194,63 @@ impl PlayReadyContentHeader { pub fn LicenseAcquisitionUserInterfaceUrl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseAcquisitionUserInterfaceUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DomainServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn EncryptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncryptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CustomAttributes(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DecryptorSetup(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecryptorSetup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSerializedHeader(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSerializedHeader)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn HeaderWithEmbeddedUpdates(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderWithEmbeddedUpdates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn KeyIds(&self) -> ::windows::core::Result<::windows::core::Array<::windows::core::GUID>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array<::windows::core::GUID>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyIds)(::windows::core::Interface::as_raw(this), ::windows::core::Array::<::windows::core::GUID>::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn KeyIdStrings(&self) -> ::windows::core::Result<::windows::core::Array<::windows::core::HSTRING>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyIdStrings)(::windows::core::Interface::as_raw(this), ::windows::core::Array::<::windows::core::HSTRING>::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -5263,7 +5263,7 @@ impl PlayReadyContentHeader { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPlayReadyContentHeaderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstanceFromWindowsMediaDrmHeader)(::windows::core::Interface::as_raw(this), headerbytes.len() as u32, ::core::mem::transmute(headerbytes.as_ptr()), licenseacquisitionurl.into().abi(), licenseacquisitionuserinterfaceurl.into().abi(), customattributes.into().abi(), domainserviceid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5277,13 +5277,13 @@ impl PlayReadyContentHeader { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPlayReadyContentHeaderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstanceFromComponents)(::windows::core::Interface::as_raw(this), contentkeyid, contentkeyidstring.into().abi(), contentencryptionalgorithm, licenseacquisitionurl.into().abi(), licenseacquisitionuserinterfaceurl.into().abi(), customattributes.into().abi(), domainserviceid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateInstanceFromPlayReadyHeader(headerbytes: &[u8]) -> ::windows::core::Result { Self::IPlayReadyContentHeaderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstanceFromPlayReadyHeader)(::windows::core::Interface::as_raw(this), headerbytes.len() as u32, ::core::mem::transmute(headerbytes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5296,7 +5296,7 @@ impl PlayReadyContentHeader { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPlayReadyContentHeaderFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstanceFromComponents2)(::windows::core::Interface::as_raw(this), dwflags, contentkeyids.len() as u32, ::core::mem::transmute(contentkeyids.as_ptr()), contentkeyidstrings.len() as u32, ::core::mem::transmute(contentkeyidstrings.as_ptr()), contentencryptionalgorithm, licenseacquisitionurl.into().abi(), licenseacquisitionuserinterfaceurl.into().abi(), customattributes.into().abi(), domainserviceid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5379,7 +5379,7 @@ impl PlayReadyContentResolver { P0: ::std::convert::Into<::windows::core::InParam<'a, PlayReadyContentHeader>>, { Self::IPlayReadyContentResolver(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceRequest)(::windows::core::Interface::as_raw(this), contentheader.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5433,28 +5433,28 @@ impl PlayReadyDomain { pub fn AccountId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Revision(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Revision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5463,7 +5463,7 @@ impl PlayReadyDomain { pub fn DomainJoinUrl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainJoinUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5558,7 +5558,7 @@ impl PlayReadyDomainIterable { pub fn First(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5566,7 +5566,7 @@ impl PlayReadyDomainIterable { #[cfg(feature = "Foundation_Collections")] pub fn CreateInstance(domainaccountid: ::windows::core::GUID) -> ::windows::core::Result { Self::IPlayReadyDomainIterableFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), domainaccountid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5698,7 +5698,7 @@ impl PlayReadyDomainIterator { pub fn Current(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5707,7 +5707,7 @@ impl PlayReadyDomainIterator { pub fn HasCurrent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCurrent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5716,7 +5716,7 @@ impl PlayReadyDomainIterator { pub fn MoveNext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveNext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5725,7 +5725,7 @@ impl PlayReadyDomainIterator { pub fn GetMany(&self, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5839,21 +5839,21 @@ impl PlayReadyDomainJoinServiceRequest { pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn DomainAccountId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -5864,7 +5864,7 @@ impl PlayReadyDomainJoinServiceRequest { pub fn DomainFriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainFriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5878,7 +5878,7 @@ impl PlayReadyDomainJoinServiceRequest { pub fn DomainServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -5891,7 +5891,7 @@ impl PlayReadyDomainJoinServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5907,14 +5907,14 @@ impl PlayReadyDomainJoinServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5930,28 +5930,28 @@ impl PlayReadyDomainJoinServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -6068,21 +6068,21 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn DomainAccountId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -6093,7 +6093,7 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn DomainServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -6106,7 +6106,7 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6122,14 +6122,14 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6145,28 +6145,28 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -6396,7 +6396,7 @@ impl PlayReadyITADataGenerator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateData)(::windows::core::Interface::as_raw(this), guidcpsystemid, countofstreams, configuration.try_into().map_err(|e| e.into())?.abi(), format, ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -6475,14 +6475,14 @@ impl PlayReadyIndividualizationServiceRequest { pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -6491,7 +6491,7 @@ impl PlayReadyIndividualizationServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6507,14 +6507,14 @@ impl PlayReadyIndividualizationServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6530,28 +6530,28 @@ impl PlayReadyIndividualizationServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -6661,14 +6661,14 @@ impl PlayReadyLicense { pub fn FullyEvaluated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FullyEvaluated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UsableForPlay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UsableForPlay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6677,63 +6677,63 @@ impl PlayReadyLicense { pub fn ExpirationDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ExpireAfterFirstPlay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpireAfterFirstPlay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DomainAccountID(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainAccountID)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ChainDepth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChainDepth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetKIDAtChainDepth(&self, chaindepth: u32) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetKIDAtChainDepth)(::windows::core::Interface::as_raw(this), chaindepth, result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn SecureStopId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecureStopId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn SecurityLevel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecurityLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InMemoryOnly(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InMemoryOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExpiresInRealTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpiresInRealTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6831,21 +6831,21 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ContentHeader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentHeader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6859,7 +6859,7 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn DomainServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -6870,7 +6870,7 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn SessionId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -6882,7 +6882,7 @@ impl PlayReadyLicenseAcquisitionServiceRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLicenseIterable)(::windows::core::Interface::as_raw(this), contentheader.into().abi(), fullyevaluated, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6891,7 +6891,7 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6907,14 +6907,14 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6930,28 +6930,28 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -7091,7 +7091,7 @@ impl PlayReadyLicenseIterable { pub fn First(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7102,7 +7102,7 @@ impl PlayReadyLicenseIterable { P0: ::std::convert::Into<::windows::core::InParam<'a, PlayReadyContentHeader>>, { Self::IPlayReadyLicenseIterableFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), contentheader.into().abi(), fullyevaluated, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7234,7 +7234,7 @@ impl PlayReadyLicenseIterator { pub fn Current(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7243,7 +7243,7 @@ impl PlayReadyLicenseIterator { pub fn HasCurrent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCurrent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7252,7 +7252,7 @@ impl PlayReadyLicenseIterator { pub fn MoveNext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveNext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7261,7 +7261,7 @@ impl PlayReadyLicenseIterator { pub fn GetMany(&self, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7371,7 +7371,7 @@ impl PlayReadyLicenseManagement { P0: ::std::convert::Into<::windows::core::InParam<'a, PlayReadyContentHeader>>, { Self::IPlayReadyLicenseManagement(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteLicenses)(::windows::core::Interface::as_raw(this), contentheader.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7391,7 +7391,7 @@ impl PlayReadyLicenseSession { pub fn CreateLAServiceRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLAServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7410,7 +7410,7 @@ impl PlayReadyLicenseSession { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLicenseIterable)(::windows::core::Interface::as_raw(this), contentheader.into().abi(), fullyevaluated, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7422,7 +7422,7 @@ impl PlayReadyLicenseSession { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPlayReadyLicenseSessionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), configuration.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7544,21 +7544,21 @@ impl PlayReadyMeteringReportServiceRequest { pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn MeteringCertificate(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MeteringCertificate)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -7571,7 +7571,7 @@ impl PlayReadyMeteringReportServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7587,14 +7587,14 @@ impl PlayReadyMeteringReportServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7610,28 +7610,28 @@ impl PlayReadyMeteringReportServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -7748,14 +7748,14 @@ impl PlayReadyRevocationServiceRequest { pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -7764,7 +7764,7 @@ impl PlayReadyRevocationServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7780,14 +7780,14 @@ impl PlayReadyRevocationServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7803,28 +7803,28 @@ impl PlayReadyRevocationServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -7938,7 +7938,7 @@ impl PlayReadySecureStopIterable { pub fn First(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7946,7 +7946,7 @@ impl PlayReadySecureStopIterable { #[cfg(feature = "Foundation_Collections")] pub fn CreateInstance(publishercertbytes: &[u8]) -> ::windows::core::Result { Self::IPlayReadySecureStopIterableFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), publishercertbytes.len() as u32, ::core::mem::transmute(publishercertbytes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8078,7 +8078,7 @@ impl PlayReadySecureStopIterator { pub fn Current(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8087,7 +8087,7 @@ impl PlayReadySecureStopIterator { pub fn HasCurrent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCurrent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8096,7 +8096,7 @@ impl PlayReadySecureStopIterator { pub fn MoveNext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveNext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8105,7 +8105,7 @@ impl PlayReadySecureStopIterator { pub fn GetMany(&self, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8212,21 +8212,21 @@ impl PlayReadySecureStopServiceRequest { pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn SessionID(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionID)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -8235,7 +8235,7 @@ impl PlayReadySecureStopServiceRequest { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8244,33 +8244,33 @@ impl PlayReadySecureStopServiceRequest { pub fn UpdateTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Stopped(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PublisherCertificate(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublisherCertificate)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn CreateInstance(publishercertbytes: &[u8]) -> ::windows::core::Result { Self::IPlayReadySecureStopServiceRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), publishercertbytes.len() as u32, ::core::mem::transmute(publishercertbytes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateInstanceFromSessionID(sessionid: ::windows::core::GUID, publishercertbytes: &[u8]) -> ::windows::core::Result { Self::IPlayReadySecureStopServiceRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstanceFromSessionID)(::windows::core::Interface::as_raw(this), sessionid, publishercertbytes.len() as u32, ::core::mem::transmute(publishercertbytes.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8279,7 +8279,7 @@ impl PlayReadySecureStopServiceRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8295,14 +8295,14 @@ impl PlayReadySecureStopServiceRequest { pub fn ResponseCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ChallengeCustomData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChallengeCustomData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8318,28 +8318,28 @@ impl PlayReadySecureStopServiceRequest { pub fn BeginServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextServiceRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextServiceRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GenerateManualEnablingChallenge(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateManualEnablingChallenge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessManualEnablingResponse)(::windows::core::Interface::as_raw(this), responsebytes.len() as u32, ::core::mem::transmute(responsebytes.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -8473,7 +8473,7 @@ impl PlayReadySoapMessage { pub fn GetMessageBody(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMessageBody)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -8482,7 +8482,7 @@ impl PlayReadySoapMessage { pub fn MessageHeaders(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageHeaders)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8491,7 +8491,7 @@ impl PlayReadySoapMessage { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8561,79 +8561,79 @@ pub struct PlayReadyStatics; impl PlayReadyStatics { pub fn DomainJoinServiceRequestType() -> ::windows::core::Result<::windows::core::GUID> { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainJoinServiceRequestType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn DomainLeaveServiceRequestType() -> ::windows::core::Result<::windows::core::GUID> { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainLeaveServiceRequestType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn IndividualizationServiceRequestType() -> ::windows::core::Result<::windows::core::GUID> { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndividualizationServiceRequestType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn LicenseAcquirerServiceRequestType() -> ::windows::core::Result<::windows::core::GUID> { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseAcquirerServiceRequestType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn MeteringReportServiceRequestType() -> ::windows::core::Result<::windows::core::GUID> { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MeteringReportServiceRequestType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn RevocationServiceRequestType() -> ::windows::core::Result<::windows::core::GUID> { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RevocationServiceRequestType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn MediaProtectionSystemId() -> ::windows::core::Result<::windows::core::GUID> { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaProtectionSystemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn PlayReadySecurityVersion() -> ::windows::core::Result { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlayReadySecurityVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PlayReadyCertificateSecurityLevel() -> ::windows::core::Result { Self::IPlayReadyStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlayReadyCertificateSecurityLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SecureStopServiceRequestType() -> ::windows::core::Result<::windows::core::GUID> { Self::IPlayReadyStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecureStopServiceRequestType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } pub fn CheckSupportedHardware(hwdrmfeature: PlayReadyHardwareDRMFeatures) -> ::windows::core::Result { Self::IPlayReadyStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckSupportedHardware)(::windows::core::Interface::as_raw(this), hwdrmfeature, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InputTrustAuthorityToCreate() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPlayReadyStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputTrustAuthorityToCreate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ProtectionSystemId() -> ::windows::core::Result<::windows::core::GUID> { Self::IPlayReadyStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } @@ -8641,7 +8641,7 @@ impl PlayReadyStatics { #[cfg(feature = "Foundation")] pub fn HardwareDRMDisabledAtTime() -> ::windows::core::Result> { Self::IPlayReadyStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareDRMDisabledAtTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -8649,7 +8649,7 @@ impl PlayReadyStatics { #[cfg(feature = "Foundation")] pub fn HardwareDRMDisabledUntilTime() -> ::windows::core::Result> { Self::IPlayReadyStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareDRMDisabledUntilTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Protection/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/mod.rs index 99e41c214d..f2c0f65684 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/mod.rs @@ -7,14 +7,14 @@ impl ComponentLoadFailedEventArgs { pub fn Information(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Information)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Completion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -179,7 +179,7 @@ impl ComponentRenewal { P0: ::std::convert::Into<::windows::core::InParam<'a, RevocationAndRenewalInformation>>, { Self::IComponentRenewalStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenewSystemComponentsAsync)(::windows::core::Interface::as_raw(this), information.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -285,7 +285,7 @@ impl HdcpSession { pub fn IsEffectiveProtectionAtLeast(&self, protection: HdcpProtection) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEffectiveProtectionAtLeast)(::windows::core::Interface::as_raw(this), protection, result__.as_mut_ptr()).from_abi::(result__) } } @@ -294,7 +294,7 @@ impl HdcpSession { pub fn GetEffectiveProtection(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEffectiveProtection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -303,7 +303,7 @@ impl HdcpSession { pub fn SetDesiredMinProtectionAsync(&self, protection: HdcpProtection) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDesiredMinProtectionAsync)(::windows::core::Interface::as_raw(this), protection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -315,7 +315,7 @@ impl HdcpSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -597,14 +597,14 @@ impl IMediaProtectionServiceRequest { pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Type(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -768,7 +768,7 @@ impl MediaProtectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -786,7 +786,7 @@ impl MediaProtectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RebootNeeded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -804,7 +804,7 @@ impl MediaProtectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ComponentLoadFailed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -819,7 +819,7 @@ impl MediaProtectionManager { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -895,7 +895,7 @@ impl MediaProtectionPMPServer { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -907,7 +907,7 @@ impl MediaProtectionPMPServer { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMediaProtectionPMPServerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePMPServer)(::windows::core::Interface::as_raw(this), pproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1068,7 +1068,7 @@ impl ProtectionCapabilities { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTypeSupported)(::windows::core::Interface::as_raw(this), r#type.into().abi(), keysystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1303,7 +1303,7 @@ impl RevocationAndRenewalInformation { pub fn Items(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1377,35 +1377,35 @@ impl RevocationAndRenewalItem { pub fn Reasons(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reasons)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HeaderHash(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderHash)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PublicKeyHash(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicKeyHash)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RenewalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenewalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1554,14 +1554,14 @@ impl ServiceRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Completion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1570,7 +1570,7 @@ impl ServiceRequestedEventArgs { pub fn MediaPlaybackItem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaPlaybackItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs index 6535c18382..a48a15d3d6 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs @@ -101,7 +101,7 @@ impl ISpeechRecognitionConstraint { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -112,7 +112,7 @@ impl ISpeechRecognitionConstraint { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -126,14 +126,14 @@ impl ISpeechRecognitionConstraint { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Probability(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Probability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -670,7 +670,7 @@ impl SpeechContinuousRecognitionCompletedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -778,7 +778,7 @@ impl SpeechContinuousRecognitionResultGeneratedEventArgs { pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -854,7 +854,7 @@ impl SpeechContinuousRecognitionSession { pub fn AutoStopSilenceTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoStopSilenceTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -869,7 +869,7 @@ impl SpeechContinuousRecognitionSession { pub fn StartAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -878,7 +878,7 @@ impl SpeechContinuousRecognitionSession { pub fn StartWithModeAsync(&self, mode: SpeechContinuousRecognitionMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartWithModeAsync)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -887,7 +887,7 @@ impl SpeechContinuousRecognitionSession { pub fn StopAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -896,7 +896,7 @@ impl SpeechContinuousRecognitionSession { pub fn CancelAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CancelAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -905,7 +905,7 @@ impl SpeechContinuousRecognitionSession { pub fn PauseAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -921,7 +921,7 @@ impl SpeechContinuousRecognitionSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -939,7 +939,7 @@ impl SpeechContinuousRecognitionSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResultGenerated)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1058,7 +1058,7 @@ impl SpeechRecognitionCompilationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1239,7 +1239,7 @@ impl SpeechRecognitionGrammarFileConstraint { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1250,7 +1250,7 @@ impl SpeechRecognitionGrammarFileConstraint { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1264,14 +1264,14 @@ impl SpeechRecognitionGrammarFileConstraint { pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Probability(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Probability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1284,7 +1284,7 @@ impl SpeechRecognitionGrammarFileConstraint { pub fn GrammarFile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GrammarFile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1295,7 +1295,7 @@ impl SpeechRecognitionGrammarFileConstraint { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::StorageFile>>, { Self::ISpeechRecognitionGrammarFileConstraintFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), file.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1307,7 +1307,7 @@ impl SpeechRecognitionGrammarFileConstraint { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISpeechRecognitionGrammarFileConstraintFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTag)(::windows::core::Interface::as_raw(this), file.into().abi(), tag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1405,7 +1405,7 @@ impl SpeechRecognitionHypothesis { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1479,7 +1479,7 @@ impl SpeechRecognitionHypothesisGeneratedEventArgs { pub fn Hypothesis(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hypothesis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1553,7 +1553,7 @@ impl SpeechRecognitionListConstraint { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1564,7 +1564,7 @@ impl SpeechRecognitionListConstraint { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1578,14 +1578,14 @@ impl SpeechRecognitionListConstraint { pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Probability(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Probability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1598,7 +1598,7 @@ impl SpeechRecognitionListConstraint { pub fn Commands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Commands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1610,7 +1610,7 @@ impl SpeechRecognitionListConstraint { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISpeechRecognitionListConstraintFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), commands.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1623,7 +1623,7 @@ impl SpeechRecognitionListConstraint { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISpeechRecognitionListConstraintFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTag)(::windows::core::Interface::as_raw(this), commands.try_into().map_err(|e| e.into())?.abi(), tag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1721,7 +1721,7 @@ impl SpeechRecognitionQualityDegradingEventArgs { pub fn Problem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Problem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1795,28 +1795,28 @@ impl SpeechRecognitionResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Confidence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Confidence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SemanticInterpretation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SemanticInterpretation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1825,14 +1825,14 @@ impl SpeechRecognitionResult { pub fn GetAlternates(&self, maxalternates: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAlternates)(::windows::core::Interface::as_raw(this), maxalternates, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Constraint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Constraint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1841,14 +1841,14 @@ impl SpeechRecognitionResult { pub fn RulePath(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RulePath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RawConfidence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawConfidence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1857,7 +1857,7 @@ impl SpeechRecognitionResult { pub fn PhraseStartTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhraseStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1866,7 +1866,7 @@ impl SpeechRecognitionResult { pub fn PhraseDuration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhraseDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2020,7 +2020,7 @@ impl SpeechRecognitionSemanticInterpretation { pub fn Properties(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2094,7 +2094,7 @@ impl SpeechRecognitionTopicConstraint { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2105,7 +2105,7 @@ impl SpeechRecognitionTopicConstraint { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2119,14 +2119,14 @@ impl SpeechRecognitionTopicConstraint { pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Probability(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Probability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2137,14 +2137,14 @@ impl SpeechRecognitionTopicConstraint { pub fn Scenario(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scenario)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TopicHint(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TopicHint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2153,7 +2153,7 @@ impl SpeechRecognitionTopicConstraint { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISpeechRecognitionTopicConstraintFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), scenario, topichint.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2163,7 +2163,7 @@ impl SpeechRecognitionTopicConstraint { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISpeechRecognitionTopicConstraintFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTag)(::windows::core::Interface::as_raw(this), scenario, topichint.into().abi(), tag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2261,7 +2261,7 @@ impl SpeechRecognitionVoiceCommandDefinitionConstraint { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2272,7 +2272,7 @@ impl SpeechRecognitionVoiceCommandDefinitionConstraint { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2286,14 +2286,14 @@ impl SpeechRecognitionVoiceCommandDefinitionConstraint { pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Probability(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Probability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2405,7 +2405,7 @@ impl SpeechRecognizer { pub fn CurrentLanguage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2414,21 +2414,21 @@ impl SpeechRecognizer { pub fn Constraints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Constraints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Timeouts(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timeouts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UIOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UIOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2437,7 +2437,7 @@ impl SpeechRecognizer { pub fn CompileConstraintsAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompileConstraintsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2446,7 +2446,7 @@ impl SpeechRecognizer { pub fn RecognizeAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2455,7 +2455,7 @@ impl SpeechRecognizer { pub fn RecognizeWithUIAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizeWithUIAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2467,7 +2467,7 @@ impl SpeechRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognitionQualityDegrading)(::windows::core::Interface::as_raw(this), speechrecognitionqualitydegradinghandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2485,7 +2485,7 @@ impl SpeechRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), statechangedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2498,14 +2498,14 @@ impl SpeechRecognizer { pub fn ContinuousRecognitionSession(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuousRecognitionSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2514,7 +2514,7 @@ impl SpeechRecognizer { pub fn StopRecognitionAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopRecognitionAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2526,7 +2526,7 @@ impl SpeechRecognizer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HypothesisGenerated)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2543,7 +2543,7 @@ impl SpeechRecognizer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Globalization::Language>>, { Self::ISpeechRecognizerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), language.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2551,7 +2551,7 @@ impl SpeechRecognizer { #[cfg(feature = "Globalization")] pub fn SystemSpeechLanguage() -> ::windows::core::Result { Self::ISpeechRecognizerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemSpeechLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2559,7 +2559,7 @@ impl SpeechRecognizer { #[cfg(all(feature = "Foundation_Collections", feature = "Globalization"))] pub fn SupportedTopicLanguages() -> ::windows::core::Result> { Self::ISpeechRecognizerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedTopicLanguages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2567,7 +2567,7 @@ impl SpeechRecognizer { #[cfg(all(feature = "Foundation_Collections", feature = "Globalization"))] pub fn SupportedGrammarLanguages() -> ::windows::core::Result> { Self::ISpeechRecognizerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedGrammarLanguages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2578,7 +2578,7 @@ impl SpeechRecognizer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Globalization::Language>>, { Self::ISpeechRecognizerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetSystemSpeechLanguageAsync)(::windows::core::Interface::as_raw(this), speechlanguage.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2728,7 +2728,7 @@ impl SpeechRecognizerStateChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2804,7 +2804,7 @@ impl SpeechRecognizerTimeouts { pub fn InitialSilenceTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialSilenceTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2819,7 +2819,7 @@ impl SpeechRecognizerTimeouts { pub fn EndSilenceTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndSilenceTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2834,7 +2834,7 @@ impl SpeechRecognizerTimeouts { pub fn BabbleTimeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BabbleTimeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2914,7 +2914,7 @@ impl SpeechRecognizerUIOptions { pub fn ExampleText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExampleText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2928,7 +2928,7 @@ impl SpeechRecognizerUIOptions { pub fn AudiblePrompt(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudiblePrompt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2942,7 +2942,7 @@ impl SpeechRecognizerUIOptions { pub fn IsReadBackEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadBackEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2953,7 +2953,7 @@ impl SpeechRecognizerUIOptions { pub fn ShowConfirmation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowConfirmation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3034,7 +3034,7 @@ impl VoiceCommandManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::StorageFile>>, { Self::IVoiceCommandManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallCommandSetsFromStorageFileAsync)(::windows::core::Interface::as_raw(this), file.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3042,7 +3042,7 @@ impl VoiceCommandManager { #[cfg(feature = "Foundation_Collections")] pub fn InstalledCommandSets() -> ::windows::core::Result> { Self::IVoiceCommandManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstalledCommandSets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3062,14 +3062,14 @@ impl VoiceCommandSet { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3083,7 +3083,7 @@ impl VoiceCommandSet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPhraseListAsync)(::windows::core::Interface::as_raw(this), phraselistname.into().abi(), phraselist.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs index 9f94cfb0cb..f245d2859a 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs @@ -232,7 +232,7 @@ impl SpeechSynthesisStream { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -245,7 +245,7 @@ impl SpeechSynthesisStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -258,7 +258,7 @@ impl SpeechSynthesisStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -267,7 +267,7 @@ impl SpeechSynthesisStream { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -276,7 +276,7 @@ impl SpeechSynthesisStream { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -291,7 +291,7 @@ impl SpeechSynthesisStream { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -300,7 +300,7 @@ impl SpeechSynthesisStream { pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -309,7 +309,7 @@ impl SpeechSynthesisStream { pub fn Position(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -324,7 +324,7 @@ impl SpeechSynthesisStream { pub fn CloneStream(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -333,7 +333,7 @@ impl SpeechSynthesisStream { pub fn CanRead(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -342,7 +342,7 @@ impl SpeechSynthesisStream { pub fn CanWrite(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -351,7 +351,7 @@ impl SpeechSynthesisStream { pub fn Markers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Markers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -360,7 +360,7 @@ impl SpeechSynthesisStream { pub fn TimedMetadataTracks(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimedMetadataTracks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -602,13 +602,13 @@ impl SpeechSynthesizer { #[cfg(feature = "Foundation_Collections")] pub fn AllVoices() -> ::windows::core::Result> { Self::IInstalledVoicesStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllVoices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn DefaultVoice() -> ::windows::core::Result { Self::IInstalledVoicesStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultVoice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -619,7 +619,7 @@ impl SpeechSynthesizer { P0: ::std::convert::Into<::windows::core::InParam<'a, VoiceInformation>>, { Self::IInstalledVoicesStatic2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetDefaultVoiceAsync)(::windows::core::Interface::as_raw(this), voice.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -631,7 +631,7 @@ impl SpeechSynthesizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SynthesizeTextToStreamAsync)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -643,7 +643,7 @@ impl SpeechSynthesizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SynthesizeSsmlToStreamAsync)(::windows::core::Interface::as_raw(this), ssml.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -657,14 +657,14 @@ impl SpeechSynthesizer { pub fn Voice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Voice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Options(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -770,7 +770,7 @@ impl SpeechSynthesizerOptions { pub fn IncludeWordBoundaryMetadata(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeWordBoundaryMetadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -781,7 +781,7 @@ impl SpeechSynthesizerOptions { pub fn IncludeSentenceBoundaryMetadata(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeSentenceBoundaryMetadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -792,7 +792,7 @@ impl SpeechSynthesizerOptions { pub fn AudioVolume(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -803,7 +803,7 @@ impl SpeechSynthesizerOptions { pub fn SpeakingRate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpeakingRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -814,7 +814,7 @@ impl SpeechSynthesizerOptions { pub fn AudioPitch(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioPitch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -825,7 +825,7 @@ impl SpeechSynthesizerOptions { pub fn AppendedSilence(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendedSilence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -836,7 +836,7 @@ impl SpeechSynthesizerOptions { pub fn PunctuationSilence(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PunctuationSilence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -948,35 +948,35 @@ impl VoiceInformation { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Gender(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gender)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs index 4768f96831..2ed129c5ac 100644 --- a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs @@ -5,7 +5,7 @@ impl AdaptiveMediaSource { pub fn IsLive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14,7 +14,7 @@ impl AdaptiveMediaSource { pub fn DesiredLiveOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredLiveOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -27,7 +27,7 @@ impl AdaptiveMediaSource { pub fn InitialBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38,14 +38,14 @@ impl AdaptiveMediaSource { pub fn CurrentDownloadBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentDownloadBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentPlaybackBitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentPlaybackBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -54,7 +54,7 @@ impl AdaptiveMediaSource { pub fn AvailableBitrates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableBitrates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -63,7 +63,7 @@ impl AdaptiveMediaSource { pub fn DesiredMinBitrate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredMinBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -82,7 +82,7 @@ impl AdaptiveMediaSource { pub fn DesiredMaxBitrate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredMaxBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -99,14 +99,14 @@ impl AdaptiveMediaSource { pub fn AudioOnlyPlayback(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioOnlyPlayback)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InboundBitsPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InboundBitsPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -115,7 +115,7 @@ impl AdaptiveMediaSource { pub fn InboundBitsPerSecondWindow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InboundBitsPerSecondWindow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -133,7 +133,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadBitrateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -151,7 +151,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackBitrateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -169,7 +169,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -187,7 +187,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -205,7 +205,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadFailed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -218,7 +218,7 @@ impl AdaptiveMediaSource { pub fn AdvancedSettings(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvancedSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -227,7 +227,7 @@ impl AdaptiveMediaSource { pub fn MinLiveOffset(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinLiveOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -236,7 +236,7 @@ impl AdaptiveMediaSource { pub fn MaxSeekableWindowSize(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSeekableWindowSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -245,7 +245,7 @@ impl AdaptiveMediaSource { pub fn DesiredSeekableWindowSize(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredSeekableWindowSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -262,14 +262,14 @@ impl AdaptiveMediaSource { pub fn Diagnostics(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Diagnostics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCorrelatedTimes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCorrelatedTimes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -278,7 +278,7 @@ impl AdaptiveMediaSource { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsContentTypeSupported)(::windows::core::Interface::as_raw(this), contenttype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -289,7 +289,7 @@ impl AdaptiveMediaSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromUriAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -301,7 +301,7 @@ impl AdaptiveMediaSource { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Web::Http::HttpClient>>, { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromUriWithDownloaderAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), httpclient.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -315,7 +315,7 @@ impl AdaptiveMediaSource { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStreamAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), uri.into().abi(), contenttype.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -330,7 +330,7 @@ impl AdaptiveMediaSource { P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Web::Http::HttpClient>>, { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStreamWithDownloaderAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), uri.into().abi(), contenttype.into().abi(), httpclient.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -459,7 +459,7 @@ impl AdaptiveMediaSourceAdvancedSettings { pub fn AllSegmentsIndependent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllSegmentsIndependent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -472,7 +472,7 @@ impl AdaptiveMediaSourceAdvancedSettings { pub fn DesiredBitrateHeadroomRatio(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredBitrateHeadroomRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -491,7 +491,7 @@ impl AdaptiveMediaSourceAdvancedSettings { pub fn BitrateDowngradeTriggerRatio(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitrateDowngradeTriggerRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -577,7 +577,7 @@ impl AdaptiveMediaSourceCorrelatedTimes { pub fn Position(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -586,7 +586,7 @@ impl AdaptiveMediaSourceCorrelatedTimes { pub fn PresentationTimeStamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresentationTimeStamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -595,7 +595,7 @@ impl AdaptiveMediaSourceCorrelatedTimes { pub fn ProgramDateTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProgramDateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -669,14 +669,14 @@ impl AdaptiveMediaSourceCreationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -685,14 +685,14 @@ impl AdaptiveMediaSourceCreationResult { pub fn HttpResponseMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HttpResponseMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -805,7 +805,7 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn DiagnosticType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiagnosticType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -814,7 +814,7 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn RequestId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -823,7 +823,7 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn Position(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -832,7 +832,7 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn SegmentId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SegmentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -841,7 +841,7 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn ResourceType(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -850,7 +850,7 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn ResourceUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -859,7 +859,7 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn ResourceByteRangeOffset(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -868,7 +868,7 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn ResourceByteRangeLength(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -877,14 +877,14 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn Bitrate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -893,14 +893,14 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn ResourceDuration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ResourceContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1020,7 +1020,7 @@ impl AdaptiveMediaSourceDiagnostics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiagnosticAvailable)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1100,21 +1100,21 @@ impl AdaptiveMediaSourceDownloadBitrateChangedEventArgs { pub fn OldValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NewValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Reason(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1227,7 +1227,7 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn ResourceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1236,7 +1236,7 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn ResourceUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1245,7 +1245,7 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn ResourceByteRangeOffset(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1254,7 +1254,7 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn ResourceByteRangeLength(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1263,21 +1263,21 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn HttpResponseMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HttpResponseMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequestId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Statistics(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Statistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1286,7 +1286,7 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn Position(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1295,14 +1295,14 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn ResourceDuration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ResourceContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1376,7 +1376,7 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn ResourceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1385,7 +1385,7 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn ResourceUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1394,7 +1394,7 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn ResourceByteRangeOffset(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1403,7 +1403,7 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn ResourceByteRangeLength(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1412,28 +1412,28 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn HttpResponseMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HttpResponseMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequestId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn Statistics(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Statistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1442,7 +1442,7 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn Position(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1451,14 +1451,14 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn ResourceDuration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ResourceContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1603,7 +1603,7 @@ impl AdaptiveMediaSourceDownloadRequestedEventArgs { pub fn ResourceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1612,7 +1612,7 @@ impl AdaptiveMediaSourceDownloadRequestedEventArgs { pub fn ResourceUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1621,7 +1621,7 @@ impl AdaptiveMediaSourceDownloadRequestedEventArgs { pub fn ResourceByteRangeOffset(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1630,28 +1630,28 @@ impl AdaptiveMediaSourceDownloadRequestedEventArgs { pub fn ResourceByteRangeLength(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequestId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1660,7 +1660,7 @@ impl AdaptiveMediaSourceDownloadRequestedEventArgs { pub fn Position(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1669,14 +1669,14 @@ impl AdaptiveMediaSourceDownloadRequestedEventArgs { pub fn ResourceDuration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ResourceContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1752,7 +1752,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ResourceUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1770,7 +1770,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn InputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1789,7 +1789,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn Buffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Buffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1806,7 +1806,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1820,7 +1820,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ExtendedStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1833,7 +1833,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ResourceByteRangeOffset(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1852,7 +1852,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ResourceByteRangeLength(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceByteRangeLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1936,7 +1936,7 @@ impl AdaptiveMediaSourceDownloadStatistics { pub fn ContentBytesReceivedCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentBytesReceivedCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1945,7 +1945,7 @@ impl AdaptiveMediaSourceDownloadStatistics { pub fn TimeToHeadersReceived(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeToHeadersReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1954,7 +1954,7 @@ impl AdaptiveMediaSourceDownloadStatistics { pub fn TimeToFirstByteReceived(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeToFirstByteReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1963,7 +1963,7 @@ impl AdaptiveMediaSourceDownloadStatistics { pub fn TimeToLastByteReceived(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeToLastByteReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2037,21 +2037,21 @@ impl AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { pub fn OldValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NewValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AudioOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs index 86c0eb4c94..45aab9e26c 100644 --- a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs @@ -107,7 +107,7 @@ impl MediaTranscoder { pub fn TrimStartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -122,7 +122,7 @@ impl MediaTranscoder { pub fn TrimStopTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimStopTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -133,7 +133,7 @@ impl MediaTranscoder { pub fn AlwaysReencode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlwaysReencode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -144,7 +144,7 @@ impl MediaTranscoder { pub fn HardwareAccelerationEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareAccelerationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -200,7 +200,7 @@ impl MediaTranscoder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareFileTranscodeAsync)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), destination.try_into().map_err(|e| e.into())?.abi(), profile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -216,7 +216,7 @@ impl MediaTranscoder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareStreamTranscodeAsync)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), destination.try_into().map_err(|e| e.into())?.abi(), profile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -232,7 +232,7 @@ impl MediaTranscoder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareMediaStreamSourceTranscodeAsync)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), destination.try_into().map_err(|e| e.into())?.abi(), profile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -243,7 +243,7 @@ impl MediaTranscoder { pub fn VideoProcessingAlgorithm(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProcessingAlgorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -351,14 +351,14 @@ impl PrepareTranscodeResult { pub fn CanTranscode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanTranscode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FailureReason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FailureReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -367,7 +367,7 @@ impl PrepareTranscodeResult { pub fn TranscodeAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TranscodeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index 7fa898c9d9..7547e49768 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -59,14 +59,14 @@ impl AudioBuffer { pub fn Capacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -85,7 +85,7 @@ impl AudioBuffer { pub fn CreateReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -238,13 +238,13 @@ impl AudioFrame { pub fn LockBuffer(&self, mode: AudioBufferAccessMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LockBuffer)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(capacity: u32) -> ::windows::core::Result { Self::IAudioFrameFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), capacity, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -257,14 +257,14 @@ impl AudioFrame { pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -283,7 +283,7 @@ impl AudioFrame { pub fn RelativeTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -302,7 +302,7 @@ impl AudioFrame { pub fn SystemRelativeTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -321,7 +321,7 @@ impl AudioFrame { pub fn Duration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -332,7 +332,7 @@ impl AudioFrame { pub fn IsDiscontinuous(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDiscontinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -341,7 +341,7 @@ impl AudioFrame { pub fn ExtendedProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -495,7 +495,7 @@ impl AutoRepeatModeChangeRequestedEventArgs { pub fn RequestedAutoRepeatMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedAutoRepeatMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -925,14 +925,14 @@ impl IMediaFrame { pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -951,7 +951,7 @@ impl IMediaFrame { pub fn RelativeTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -970,7 +970,7 @@ impl IMediaFrame { pub fn SystemRelativeTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -989,7 +989,7 @@ impl IMediaFrame { pub fn Duration(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1000,7 +1000,7 @@ impl IMediaFrame { pub fn IsDiscontinuous(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDiscontinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1009,7 +1009,7 @@ impl IMediaFrame { pub fn ExtendedProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1145,21 +1145,21 @@ impl IMediaMarker { pub fn Time(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Time)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaMarkerType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaMarkerType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1254,7 +1254,7 @@ impl IMediaMarkers { pub fn Markers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Markers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1897,7 +1897,7 @@ impl ImageDisplayProperties { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1911,7 +1911,7 @@ impl ImageDisplayProperties { pub fn Subtitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1997,7 +1997,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoundLevelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2013,7 +2013,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlayPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2029,7 +2029,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PausePressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2045,7 +2045,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2061,7 +2061,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlayPauseTogglePressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2077,7 +2077,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2093,7 +2093,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextTrackPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2109,7 +2109,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousTrackPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2125,7 +2125,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FastForwardPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2141,7 +2141,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RewindPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2157,7 +2157,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelUpPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2173,7 +2173,7 @@ impl MediaControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelDownPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2186,7 +2186,7 @@ impl MediaControl { #[cfg(feature = "deprecated")] pub fn SoundLevel() -> ::windows::core::Result { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoundLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2202,7 +2202,7 @@ impl MediaControl { #[cfg(feature = "deprecated")] pub fn TrackName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2218,7 +2218,7 @@ impl MediaControl { #[cfg(feature = "deprecated")] pub fn ArtistName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ArtistName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2231,7 +2231,7 @@ impl MediaControl { #[cfg(feature = "deprecated")] pub fn IsPlaying() -> ::windows::core::Result { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPlaying)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2247,7 +2247,7 @@ impl MediaControl { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn AlbumArt() -> ::windows::core::Result { Self::IMediaControl(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumArt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2466,7 +2466,7 @@ pub struct MediaMarkerTypes; impl MediaMarkerTypes { pub fn Bookmark() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMediaMarkerTypesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bookmark)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2596,7 +2596,7 @@ impl MediaProcessingTriggerDetails { pub fn Arguments(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2738,7 +2738,7 @@ impl MediaTimelineController { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2751,7 +2751,7 @@ impl MediaTimelineController { pub fn ClockRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClockRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2762,7 +2762,7 @@ impl MediaTimelineController { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2774,7 +2774,7 @@ impl MediaTimelineController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionChanged)(::windows::core::Interface::as_raw(this), positionchangedeventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2792,7 +2792,7 @@ impl MediaTimelineController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), statechangedeventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2807,7 +2807,7 @@ impl MediaTimelineController { pub fn Duration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2824,7 +2824,7 @@ impl MediaTimelineController { pub fn IsLoopingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLoopingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2840,7 +2840,7 @@ impl MediaTimelineController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Failed)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2858,7 +2858,7 @@ impl MediaTimelineController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ended)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2938,7 +2938,7 @@ impl MediaTimelineControllerFailedEventArgs { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3048,7 +3048,7 @@ impl MusicDisplayProperties { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3062,7 +3062,7 @@ impl MusicDisplayProperties { pub fn AlbumArtist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumArtist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3076,7 +3076,7 @@ impl MusicDisplayProperties { pub fn Artist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Artist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3090,7 +3090,7 @@ impl MusicDisplayProperties { pub fn AlbumTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3104,7 +3104,7 @@ impl MusicDisplayProperties { pub fn TrackNumber(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3117,14 +3117,14 @@ impl MusicDisplayProperties { pub fn Genres(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Genres)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AlbumTrackCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumTrackCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3204,7 +3204,7 @@ impl PlaybackPositionChangeRequestedEventArgs { pub fn RequestedPlaybackPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedPlaybackPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3278,7 +3278,7 @@ impl PlaybackRateChangeRequestedEventArgs { pub fn RequestedPlaybackRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedPlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3352,7 +3352,7 @@ impl ShuffleEnabledChangeRequestedEventArgs { pub fn RequestedShuffleEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedShuffleEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3461,7 +3461,7 @@ impl SystemMediaTransportControls { pub fn PlaybackStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3472,21 +3472,21 @@ impl SystemMediaTransportControls { pub fn DisplayUpdater(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayUpdater)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SoundLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoundLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3497,7 +3497,7 @@ impl SystemMediaTransportControls { pub fn IsPlayEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPlayEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3508,7 +3508,7 @@ impl SystemMediaTransportControls { pub fn IsStopEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStopEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3519,7 +3519,7 @@ impl SystemMediaTransportControls { pub fn IsPauseEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPauseEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3530,7 +3530,7 @@ impl SystemMediaTransportControls { pub fn IsRecordEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRecordEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3541,7 +3541,7 @@ impl SystemMediaTransportControls { pub fn IsFastForwardEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFastForwardEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3552,7 +3552,7 @@ impl SystemMediaTransportControls { pub fn IsRewindEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRewindEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3563,7 +3563,7 @@ impl SystemMediaTransportControls { pub fn IsPreviousEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPreviousEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3574,7 +3574,7 @@ impl SystemMediaTransportControls { pub fn IsNextEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNextEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3585,7 +3585,7 @@ impl SystemMediaTransportControls { pub fn IsChannelUpEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsChannelUpEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3596,7 +3596,7 @@ impl SystemMediaTransportControls { pub fn IsChannelDownEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsChannelDownEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3612,7 +3612,7 @@ impl SystemMediaTransportControls { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3630,7 +3630,7 @@ impl SystemMediaTransportControls { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PropertyChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3643,7 +3643,7 @@ impl SystemMediaTransportControls { pub fn AutoRepeatMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoRepeatMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3654,7 +3654,7 @@ impl SystemMediaTransportControls { pub fn ShuffleEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShuffleEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3665,7 +3665,7 @@ impl SystemMediaTransportControls { pub fn PlaybackRate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3688,7 +3688,7 @@ impl SystemMediaTransportControls { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackPositionChangeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3706,7 +3706,7 @@ impl SystemMediaTransportControls { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRateChangeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3724,7 +3724,7 @@ impl SystemMediaTransportControls { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShuffleEnabledChangeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3742,7 +3742,7 @@ impl SystemMediaTransportControls { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoRepeatModeChangeRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3754,7 +3754,7 @@ impl SystemMediaTransportControls { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ISystemMediaTransportControlsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3875,7 +3875,7 @@ impl SystemMediaTransportControlsButtonPressedEventArgs { pub fn Button(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Button)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3949,7 +3949,7 @@ impl SystemMediaTransportControlsDisplayUpdater { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3960,7 +3960,7 @@ impl SystemMediaTransportControlsDisplayUpdater { pub fn AppMediaId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppMediaId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3976,7 +3976,7 @@ impl SystemMediaTransportControlsDisplayUpdater { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3992,21 +3992,21 @@ impl SystemMediaTransportControlsDisplayUpdater { pub fn MusicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MusicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ImageProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4018,7 +4018,7 @@ impl SystemMediaTransportControlsDisplayUpdater { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyFromFileAsync)(::windows::core::Interface::as_raw(this), r#type, source.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4133,7 +4133,7 @@ impl SystemMediaTransportControlsPropertyChangedEventArgs { pub fn Property(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Property)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4216,7 +4216,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4231,7 +4231,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn EndTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4246,7 +4246,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn MinSeekTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinSeekTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4261,7 +4261,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn MaxSeekTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSeekTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4276,7 +4276,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4356,7 +4356,7 @@ impl VideoDisplayProperties { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4370,7 +4370,7 @@ impl VideoDisplayProperties { pub fn Subtitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4386,7 +4386,7 @@ impl VideoDisplayProperties { pub fn Genres(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Genres)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4458,7 +4458,7 @@ pub struct VideoEffects; impl VideoEffects { pub fn VideoStabilization() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IVideoEffectsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoStabilization)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -4484,14 +4484,14 @@ impl VideoFrame { pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4510,7 +4510,7 @@ impl VideoFrame { pub fn RelativeTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4529,7 +4529,7 @@ impl VideoFrame { pub fn SystemRelativeTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4548,7 +4548,7 @@ impl VideoFrame { pub fn Duration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4559,7 +4559,7 @@ impl VideoFrame { pub fn IsDiscontinuous(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDiscontinuous)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4568,7 +4568,7 @@ impl VideoFrame { pub fn ExtendedProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4577,7 +4577,7 @@ impl VideoFrame { pub fn SoftwareBitmap(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoftwareBitmap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4589,7 +4589,7 @@ impl VideoFrame { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyToAsync)(::windows::core::Interface::as_raw(this), frame.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4598,7 +4598,7 @@ impl VideoFrame { pub fn Direct3DSurface(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direct3DSurface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4614,7 +4614,7 @@ impl VideoFrame { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyToWithBoundsAsync)(::windows::core::Interface::as_raw(this), frame.into().abi(), sourcebounds.try_into().map_err(|e| e.into())?.abi(), destinationbounds.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4622,7 +4622,7 @@ impl VideoFrame { #[cfg(feature = "Graphics_Imaging")] pub fn Create(format: super::Graphics::Imaging::BitmapPixelFormat, width: i32, height: i32) -> ::windows::core::Result { Self::IVideoFrameFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), format, width, height, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4630,7 +4630,7 @@ impl VideoFrame { #[cfg(feature = "Graphics_Imaging")] pub fn CreateWithAlpha(format: super::Graphics::Imaging::BitmapPixelFormat, width: i32, height: i32, alpha: super::Graphics::Imaging::BitmapAlphaMode) -> ::windows::core::Result { Self::IVideoFrameFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithAlpha)(::windows::core::Interface::as_raw(this), format, width, height, alpha, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4638,7 +4638,7 @@ impl VideoFrame { #[cfg(feature = "Graphics_DirectX")] pub fn CreateAsDirect3D11SurfaceBacked(format: super::Graphics::DirectX::DirectXPixelFormat, width: i32, height: i32) -> ::windows::core::Result { Self::IVideoFrameStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsDirect3D11SurfaceBacked)(::windows::core::Interface::as_raw(this), format, width, height, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4650,7 +4650,7 @@ impl VideoFrame { E0: ::std::convert::Into<::windows::core::Error>, { Self::IVideoFrameStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsDirect3D11SurfaceBackedWithDevice)(::windows::core::Interface::as_raw(this), format, width, height, device.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4661,7 +4661,7 @@ impl VideoFrame { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Graphics::Imaging::SoftwareBitmap>>, { Self::IVideoFrameStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithSoftwareBitmap)(::windows::core::Interface::as_raw(this), bitmap.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4673,7 +4673,7 @@ impl VideoFrame { E0: ::std::convert::Into<::windows::core::Error>, { Self::IVideoFrameStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithDirect3D11Surface)(::windows::core::Interface::as_raw(this), surface.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs index 0fcd19b976..77e6ea6494 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -60,7 +60,7 @@ impl BackgroundDownloader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDownload)(::windows::core::Interface::as_raw(this), uri.into().abi(), resultfile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -76,7 +76,7 @@ impl BackgroundDownloader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDownloadFromFile)(::windows::core::Interface::as_raw(this), uri.into().abi(), resultfile.try_into().map_err(|e| e.into())?.abi(), requestbodyfile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -92,14 +92,14 @@ impl BackgroundDownloader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDownloadAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), resultfile.try_into().map_err(|e| e.into())?.abi(), requestbodystream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TransferGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransferGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -115,7 +115,7 @@ impl BackgroundDownloader { pub fn SuccessToastNotification(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuccessToastNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -133,7 +133,7 @@ impl BackgroundDownloader { pub fn FailureToastNotification(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FailureToastNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -151,7 +151,7 @@ impl BackgroundDownloader { pub fn SuccessTileNotification(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuccessTileNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -169,7 +169,7 @@ impl BackgroundDownloader { pub fn FailureTileNotification(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FailureTileNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -185,7 +185,7 @@ impl BackgroundDownloader { pub fn CompletionGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompletionGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -194,7 +194,7 @@ impl BackgroundDownloader { P0: ::std::convert::Into<::windows::core::InParam<'a, BackgroundTransferCompletionGroup>>, { Self::IBackgroundDownloaderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithCompletionGroup)(::windows::core::Interface::as_raw(this), completiongroup.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -202,7 +202,7 @@ impl BackgroundDownloader { #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentDownloadsAsync() -> ::windows::core::Result>> { Self::IBackgroundDownloaderStaticMethods(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentDownloadsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -213,7 +213,7 @@ impl BackgroundDownloader { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundDownloaderStaticMethods(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentDownloadsForGroupAsync)(::windows::core::Interface::as_raw(this), group.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -224,7 +224,7 @@ impl BackgroundDownloader { P0: ::std::convert::Into<::windows::core::InParam<'a, BackgroundTransferGroup>>, { Self::IBackgroundDownloaderStaticMethods2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentDownloadsForTransferGroupAsync)(::windows::core::Interface::as_raw(this), group.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -236,7 +236,7 @@ impl BackgroundDownloader { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBackgroundDownloaderUserConsent(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestUnconstrainedDownloadsAsync)(::windows::core::Interface::as_raw(this), operations.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -253,7 +253,7 @@ impl BackgroundDownloader { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -271,7 +271,7 @@ impl BackgroundDownloader { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -287,7 +287,7 @@ impl BackgroundDownloader { pub fn Method(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Method)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -303,7 +303,7 @@ impl BackgroundDownloader { pub fn Group(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Group)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -319,7 +319,7 @@ impl BackgroundDownloader { pub fn CostPolicy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CostPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -480,14 +480,14 @@ impl BackgroundTransferCompletionGroup { pub fn Trigger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Trigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -567,7 +567,7 @@ impl BackgroundTransferCompletionGroupTriggerDetails { pub fn Downloads(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Downloads)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -576,7 +576,7 @@ impl BackgroundTransferCompletionGroupTriggerDetails { pub fn Uploads(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uploads)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -684,7 +684,7 @@ impl BackgroundTransferContentPart { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundTransferContentPartFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -694,7 +694,7 @@ impl BackgroundTransferContentPart { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundTransferContentPartFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithNameAndFileName)(::windows::core::Interface::as_raw(this), name.into().abi(), filename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -808,7 +808,7 @@ impl BackgroundTransferError { #[cfg(feature = "Web")] pub fn GetStatus(hresult: i32) -> ::windows::core::Result { Self::IBackgroundTransferErrorStaticMethods(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatus)(::windows::core::Interface::as_raw(this), hresult, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -866,14 +866,14 @@ impl BackgroundTransferGroup { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TransferBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransferBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -886,7 +886,7 @@ impl BackgroundTransferGroup { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundTransferGroupStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateGroup)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1000,7 +1000,7 @@ impl BackgroundTransferRangesDownloadedEventArgs { pub fn WasDownloadRestarted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WasDownloadRestarted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1009,7 +1009,7 @@ impl BackgroundTransferRangesDownloadedEventArgs { pub fn AddedRanges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddedRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1018,7 +1018,7 @@ impl BackgroundTransferRangesDownloadedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1194,7 +1194,7 @@ impl BackgroundUploader { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1212,7 +1212,7 @@ impl BackgroundUploader { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1228,7 +1228,7 @@ impl BackgroundUploader { pub fn Method(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Method)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1244,7 +1244,7 @@ impl BackgroundUploader { pub fn Group(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Group)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1260,7 +1260,7 @@ impl BackgroundUploader { pub fn CostPolicy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CostPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1278,7 +1278,7 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUpload)(::windows::core::Interface::as_raw(this), uri.into().abi(), sourcefile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1292,7 +1292,7 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUploadFromStreamAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), sourcestream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1306,7 +1306,7 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUploadWithFormDataAndAutoBoundaryAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), parts.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1321,7 +1321,7 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUploadWithSubTypeAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), parts.try_into().map_err(|e| e.into())?.abi(), subtype.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1337,14 +1337,14 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUploadWithSubTypeAndBoundaryAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), parts.try_into().map_err(|e| e.into())?.abi(), subtype.into().abi(), boundary.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TransferGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransferGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1360,7 +1360,7 @@ impl BackgroundUploader { pub fn SuccessToastNotification(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuccessToastNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1378,7 +1378,7 @@ impl BackgroundUploader { pub fn FailureToastNotification(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FailureToastNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1396,7 +1396,7 @@ impl BackgroundUploader { pub fn SuccessTileNotification(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuccessTileNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1414,7 +1414,7 @@ impl BackgroundUploader { pub fn FailureTileNotification(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FailureTileNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1430,7 +1430,7 @@ impl BackgroundUploader { pub fn CompletionGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompletionGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1439,7 +1439,7 @@ impl BackgroundUploader { P0: ::std::convert::Into<::windows::core::InParam<'a, BackgroundTransferCompletionGroup>>, { Self::IBackgroundUploaderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithCompletionGroup)(::windows::core::Interface::as_raw(this), completiongroup.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1447,7 +1447,7 @@ impl BackgroundUploader { #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentUploadsAsync() -> ::windows::core::Result>> { Self::IBackgroundUploaderStaticMethods(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentUploadsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1458,7 +1458,7 @@ impl BackgroundUploader { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBackgroundUploaderStaticMethods(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentUploadsForGroupAsync)(::windows::core::Interface::as_raw(this), group.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1469,7 +1469,7 @@ impl BackgroundUploader { P0: ::std::convert::Into<::windows::core::InParam<'a, BackgroundTransferGroup>>, { Self::IBackgroundUploaderStaticMethods2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentUploadsForTransferGroupAsync)(::windows::core::Interface::as_raw(this), group.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1481,7 +1481,7 @@ impl BackgroundUploader { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBackgroundUploaderUserConsent(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestUnconstrainedUploadsAsync)(::windows::core::Interface::as_raw(this), operations.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1595,7 +1595,7 @@ impl ContentPrefetcher { #[cfg(feature = "Foundation_Collections")] pub fn ContentUris() -> ::windows::core::Result> { Self::IContentPrefetcher(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1611,7 +1611,7 @@ impl ContentPrefetcher { #[cfg(feature = "Foundation")] pub fn IndirectContentUri() -> ::windows::core::Result { Self::IContentPrefetcher(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndirectContentUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1619,7 +1619,7 @@ impl ContentPrefetcher { #[cfg(feature = "Foundation")] pub fn LastSuccessfulPrefetchTime() -> ::windows::core::Result> { Self::IContentPrefetcherTime(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastSuccessfulPrefetchTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1644,7 +1644,7 @@ impl DownloadOperation { pub fn Guid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Guid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -1653,14 +1653,14 @@ impl DownloadOperation { pub fn RequestedUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Method(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Method)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1669,14 +1669,14 @@ impl DownloadOperation { pub fn Group(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Group)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CostPolicy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CostPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1689,21 +1689,21 @@ impl DownloadOperation { pub fn GetResultStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResultStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetResponseInformation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResponseInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Priority(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Priority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1716,14 +1716,14 @@ impl DownloadOperation { pub fn ResultFile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResultFile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1732,7 +1732,7 @@ impl DownloadOperation { pub fn StartAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1741,7 +1741,7 @@ impl DownloadOperation { pub fn AttachAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttachAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1756,14 +1756,14 @@ impl DownloadOperation { pub fn TransferGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransferGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRandomAccessRequired(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRandomAccessRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1776,7 +1776,7 @@ impl DownloadOperation { pub fn GetResultRandomAccessStreamReference(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResultRandomAccessStreamReference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1785,7 +1785,7 @@ impl DownloadOperation { pub fn GetDownloadedRanges(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDownloadedRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1797,7 +1797,7 @@ impl DownloadOperation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RangesDownloaded)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1821,7 +1821,7 @@ impl DownloadOperation { pub fn RecoverableWebErrorStatuses(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecoverableWebErrorStatuses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1830,7 +1830,7 @@ impl DownloadOperation { pub fn CurrentWebErrorStatus(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentWebErrorStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2122,7 +2122,7 @@ impl IBackgroundTransferBase { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2140,7 +2140,7 @@ impl IBackgroundTransferBase { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2156,7 +2156,7 @@ impl IBackgroundTransferBase { pub fn Method(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Method)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2172,7 +2172,7 @@ impl IBackgroundTransferBase { pub fn Group(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Group)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2188,7 +2188,7 @@ impl IBackgroundTransferBase { pub fn CostPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CostPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2354,7 +2354,7 @@ impl IBackgroundTransferContentPartFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2365,7 +2365,7 @@ impl IBackgroundTransferContentPartFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithNameAndFileName)(::windows::core::Interface::as_raw(this), name.into().abi(), filename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2485,7 +2485,7 @@ impl IBackgroundTransferOperation { pub fn Guid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Guid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2494,14 +2494,14 @@ impl IBackgroundTransferOperation { pub fn RequestedUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Method(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Method)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2510,14 +2510,14 @@ impl IBackgroundTransferOperation { pub fn Group(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Group)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CostPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CostPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2530,14 +2530,14 @@ impl IBackgroundTransferOperation { pub fn GetResultStreamAt(&self, position: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResultStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetResponseInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResponseInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2628,7 +2628,7 @@ impl IBackgroundTransferOperationPriority { pub fn Priority(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Priority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3143,7 +3143,7 @@ impl ResponseInformation { pub fn IsResumable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsResumable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3152,14 +3152,14 @@ impl ResponseInformation { pub fn ActualUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActualUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StatusCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3168,7 +3168,7 @@ impl ResponseInformation { pub fn Headers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3246,7 +3246,7 @@ impl UnconstrainedTransferRequestResult { pub fn IsUnconstrained(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUnconstrained)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3335,7 +3335,7 @@ impl UploadOperation { pub fn Guid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Guid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -3344,14 +3344,14 @@ impl UploadOperation { pub fn RequestedUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Method(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Method)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3360,14 +3360,14 @@ impl UploadOperation { pub fn Group(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Group)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CostPolicy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CostPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3380,21 +3380,21 @@ impl UploadOperation { pub fn GetResultStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResultStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetResponseInformation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResponseInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Priority(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Priority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3407,14 +3407,14 @@ impl UploadOperation { pub fn SourceFile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceFile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3423,7 +3423,7 @@ impl UploadOperation { pub fn StartAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3432,14 +3432,14 @@ impl UploadOperation { pub fn AttachAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttachAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TransferGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransferGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs index 8071d41b61..d9d0423cfa 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -5,28 +5,28 @@ impl AttributedNetworkUsage { pub fn BytesSent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesSent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BytesReceived(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AttributionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AttributionName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributionName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -35,7 +35,7 @@ impl AttributedNetworkUsage { pub fn AttributionThumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributionThumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -152,7 +152,7 @@ impl CellularApnContext { pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -166,7 +166,7 @@ impl CellularApnContext { pub fn AccessPointName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessPointName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -180,7 +180,7 @@ impl CellularApnContext { pub fn UserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -194,7 +194,7 @@ impl CellularApnContext { pub fn Password(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Password)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -208,7 +208,7 @@ impl CellularApnContext { pub fn IsCompressionEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCompressionEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -219,7 +219,7 @@ impl CellularApnContext { pub fn AuthenticationType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -230,7 +230,7 @@ impl CellularApnContext { pub fn ProfileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -311,35 +311,35 @@ impl ConnectionCost { pub fn NetworkCostType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkCostType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Roaming(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Roaming)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OverDataLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OverDataLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ApproachingDataLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApproachingDataLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BackgroundDataUsageRestricted(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundDataUsageRestricted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -413,14 +413,14 @@ impl ConnectionProfile { pub fn ProfileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetNetworkConnectivityLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNetworkConnectivityLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -429,28 +429,28 @@ impl ConnectionProfile { pub fn GetNetworkNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNetworkNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetConnectionCost(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectionCost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDataPlanStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDataPlanStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkAdapter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAdapter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -459,7 +459,7 @@ impl ConnectionProfile { pub fn GetLocalUsage(&self, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLocalUsage)(::windows::core::Interface::as_raw(this), starttime, endtime, result__.as_mut_ptr()).from_abi::(result__) } } @@ -468,42 +468,42 @@ impl ConnectionProfile { pub fn GetLocalUsagePerRoamingStates(&self, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, states: RoamingStates) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLocalUsagePerRoamingStates)(::windows::core::Interface::as_raw(this), starttime, endtime, states, result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkSecuritySettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkSecuritySettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWwanConnectionProfile(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWwanConnectionProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWlanConnectionProfile(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWlanConnectionProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WwanConnectionProfileDetails(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WwanConnectionProfileDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WlanConnectionProfileDetails(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WlanConnectionProfileDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -512,7 +512,7 @@ impl ConnectionProfile { pub fn ServiceProviderGuid(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceProviderGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -521,14 +521,14 @@ impl ConnectionProfile { pub fn GetSignalBars(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSignalBars)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDomainConnectivityLevel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDomainConnectivityLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -537,7 +537,7 @@ impl ConnectionProfile { pub fn GetNetworkUsageAsync(&self, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, granularity: DataUsageGranularity, states: NetworkUsageStates) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNetworkUsageAsync)(::windows::core::Interface::as_raw(this), starttime, endtime, granularity, states, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -546,7 +546,7 @@ impl ConnectionProfile { pub fn GetConnectivityIntervalsAsync(&self, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, states: NetworkUsageStates) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectivityIntervalsAsync)(::windows::core::Interface::as_raw(this), starttime, endtime, states, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -555,7 +555,7 @@ impl ConnectionProfile { pub fn GetAttributedNetworkUsageAsync(&self, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, states: NetworkUsageStates) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAttributedNetworkUsageAsync)(::windows::core::Interface::as_raw(this), starttime, endtime, states, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -564,14 +564,14 @@ impl ConnectionProfile { pub fn GetProviderNetworkUsageAsync(&self, starttime: super::super::Foundation::DateTime, endtime: super::super::Foundation::DateTime, states: NetworkUsageStates) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProviderNetworkUsageAsync)(::windows::core::Interface::as_raw(this), starttime, endtime, states, result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn CanDelete(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanDelete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -580,7 +580,7 @@ impl ConnectionProfile { pub fn TryDeleteAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -701,7 +701,7 @@ impl ConnectionProfileFilter { pub fn IsConnected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConnected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -712,7 +712,7 @@ impl ConnectionProfileFilter { pub fn IsWwanConnectionProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWwanConnectionProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -723,7 +723,7 @@ impl ConnectionProfileFilter { pub fn IsWlanConnectionProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWlanConnectionProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -734,7 +734,7 @@ impl ConnectionProfileFilter { pub fn NetworkCostType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkCostType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -753,7 +753,7 @@ impl ConnectionProfileFilter { pub fn ServiceProviderGuid(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceProviderGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -772,7 +772,7 @@ impl ConnectionProfileFilter { pub fn IsRoaming(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRoaming)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -791,7 +791,7 @@ impl ConnectionProfileFilter { pub fn IsOverDataLimit(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOverDataLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -810,7 +810,7 @@ impl ConnectionProfileFilter { pub fn IsBackgroundDataUsageRestricted(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBackgroundDataUsageRestricted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -819,7 +819,7 @@ impl ConnectionProfileFilter { pub fn RawData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -838,7 +838,7 @@ impl ConnectionProfileFilter { pub fn PurposeGuid(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PurposeGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -918,7 +918,7 @@ impl ConnectionSession { pub fn ConnectionProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1016,7 +1016,7 @@ impl ConnectivityInterval { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1025,7 +1025,7 @@ impl ConnectivityInterval { pub fn ConnectionDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1102,7 +1102,7 @@ impl ConnectivityManager { P0: ::std::convert::Into<::windows::core::InParam<'a, CellularApnContext>>, { Self::IConnectivityManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquireConnectionAsync)(::windows::core::Interface::as_raw(this), cellularapncontext.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1134,7 +1134,7 @@ impl DataPlanStatus { pub fn DataPlanUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataPlanUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1143,7 +1143,7 @@ impl DataPlanStatus { pub fn DataLimitInMegabytes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataLimitInMegabytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1152,7 +1152,7 @@ impl DataPlanStatus { pub fn InboundBitsPerSecond(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InboundBitsPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1161,7 +1161,7 @@ impl DataPlanStatus { pub fn OutboundBitsPerSecond(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundBitsPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1170,7 +1170,7 @@ impl DataPlanStatus { pub fn NextBillingCycle(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextBillingCycle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1179,7 +1179,7 @@ impl DataPlanStatus { pub fn MaxTransferSizeInMegabytes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxTransferSizeInMegabytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1253,7 +1253,7 @@ impl DataPlanUsage { pub fn MegabytesUsed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MegabytesUsed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1262,7 +1262,7 @@ impl DataPlanUsage { pub fn LastSyncTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastSyncTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1340,7 +1340,7 @@ impl DataUsage { pub fn BytesSent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesSent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1349,7 +1349,7 @@ impl DataUsage { pub fn BytesReceived(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2125,7 +2125,7 @@ impl IPInformation { pub fn NetworkAdapter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAdapter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2134,7 +2134,7 @@ impl IPInformation { pub fn PrefixLength(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrefixLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2314,21 +2314,21 @@ impl LanIdentifier { pub fn InfrastructureId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InfrastructureId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PortId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PortId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkAdapterId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAdapterId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2402,7 +2402,7 @@ impl LanIdentifierData { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2411,7 +2411,7 @@ impl LanIdentifierData { pub fn Value(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2485,35 +2485,35 @@ impl NetworkAdapter { pub fn OutboundMaxBitsPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundMaxBitsPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InboundMaxBitsPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InboundMaxBitsPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IanaInterfaceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IanaInterfaceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkAdapterId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAdapterId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2522,7 +2522,7 @@ impl NetworkAdapter { pub fn GetConnectedProfileAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectedProfileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2759,13 +2759,13 @@ impl NetworkInformation { #[cfg(feature = "Foundation_Collections")] pub fn GetConnectionProfiles() -> ::windows::core::Result> { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectionProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetInternetConnectionProfile() -> ::windows::core::Result { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInternetConnectionProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2773,7 +2773,7 @@ impl NetworkInformation { #[cfg(feature = "Foundation_Collections")] pub fn GetLanIdentifiers() -> ::windows::core::Result> { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLanIdentifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2781,7 +2781,7 @@ impl NetworkInformation { #[cfg(feature = "Foundation_Collections")] pub fn GetHostNames() -> ::windows::core::Result> { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHostNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2792,7 +2792,7 @@ impl NetworkInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProxyConfigurationAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2804,7 +2804,7 @@ impl NetworkInformation { E0: ::std::convert::Into<::windows::core::Error>, { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSortedEndpointPairs)(::windows::core::Interface::as_raw(this), destinationlist.try_into().map_err(|e| e.into())?.abi(), sortoptions, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2815,7 +2815,7 @@ impl NetworkInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, NetworkStatusChangedEventHandler>>, { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkStatusChanged)(::windows::core::Interface::as_raw(this), networkstatushandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2831,7 +2831,7 @@ impl NetworkInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, ConnectionProfileFilter>>, { Self::INetworkInformationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindConnectionProfilesAsync)(::windows::core::Interface::as_raw(this), pprofilefilter.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -2856,14 +2856,14 @@ impl NetworkItem { pub fn NetworkId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn GetNetworkTypes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNetworkTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2937,14 +2937,14 @@ impl NetworkSecuritySettings { pub fn NetworkAuthenticationType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAuthenticationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkEncryptionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkEncryptionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3018,56 +3018,56 @@ impl NetworkStateChangeEventDetails { pub fn HasNewInternetConnectionProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNewInternetConnectionProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasNewConnectionCost(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNewConnectionCost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasNewNetworkConnectivityLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNewNetworkConnectivityLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasNewDomainConnectivityLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNewDomainConnectivityLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasNewHostNameList(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNewHostNameList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasNewWwanRegistrationState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNewWwanRegistrationState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasNewTetheringOperationalState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNewTetheringOperationalState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasNewTetheringClientCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNewTetheringClientCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3291,14 +3291,14 @@ impl NetworkUsage { pub fn BytesSent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesSent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BytesReceived(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3307,7 +3307,7 @@ impl NetworkUsage { pub fn ConnectionDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3419,21 +3419,21 @@ impl ProviderNetworkUsage { pub fn BytesSent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesSent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BytesReceived(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesReceived)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3509,14 +3509,14 @@ impl ProxyConfiguration { pub fn ProxyUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CanConnectDirectly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanConnectDirectly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3653,21 +3653,21 @@ impl RoutePolicy { pub fn ConnectionProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HostNameType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HostNameType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3677,7 +3677,7 @@ impl RoutePolicy { P1: ::std::convert::Into<::windows::core::InParam<'a, super::HostName>>, { Self::IRoutePolicyFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRoutePolicy)(::windows::core::Interface::as_raw(this), connectionprofile.into().abi(), hostname.into().abi(), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3791,7 +3791,7 @@ impl WlanConnectionProfileDetails { pub fn GetConnectedSsid(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectedSsid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3865,35 +3865,35 @@ impl WwanConnectionProfileDetails { pub fn HomeProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HomeProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessPointName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessPointName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetNetworkRegistrationState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNetworkRegistrationState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentDataClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentDataClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IPKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IPKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3902,7 +3902,7 @@ impl WwanConnectionProfileDetails { pub fn PurposeGuids(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PurposeGuids)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs index 6c6b80c0d5..434c4fb7f5 100644 --- a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs @@ -84,42 +84,42 @@ impl ESim { pub fn AvailableMemoryInBytes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableMemoryInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Eid(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Eid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirmwareVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirmwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MobileBroadbandModemDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MobileBroadbandModemDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Policy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Policy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -128,7 +128,7 @@ impl ESim { pub fn GetProfiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -140,7 +140,7 @@ impl ESim { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteProfileAsync)(::windows::core::Interface::as_raw(this), profileid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -152,7 +152,7 @@ impl ESim { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadProfileMetadataAsync)(::windows::core::Interface::as_raw(this), activationcode.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -161,7 +161,7 @@ impl ESim { pub fn ResetAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResetAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -173,7 +173,7 @@ impl ESim { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -186,7 +186,7 @@ impl ESim { pub fn Discover(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Discover)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -197,7 +197,7 @@ impl ESim { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiscoverWithServerAddressAndMatchingId)(::windows::core::Interface::as_raw(this), serveraddress.into().abi(), matchingid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -206,7 +206,7 @@ impl ESim { pub fn DiscoverAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiscoverAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -219,7 +219,7 @@ impl ESim { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiscoverWithServerAddressAndMatchingIdAsync)(::windows::core::Interface::as_raw(this), serveraddress.into().abi(), matchingid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -293,7 +293,7 @@ impl ESimAddedEventArgs { pub fn ESim(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ESim)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -402,14 +402,14 @@ impl ESimDiscoverEvent { pub fn MatchingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MatchingId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RspServerAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RspServerAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -485,28 +485,28 @@ impl ESimDiscoverResult { pub fn Events(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Events)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProfileMetadata(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileMetadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -615,14 +615,14 @@ impl ESimDownloadProfileMetadataResult { pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProfileMetadata(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileMetadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -694,13 +694,13 @@ pub struct ESimManager; impl ESimManager { pub fn ServiceInfo() -> ::windows::core::Result { Self::IESimManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TryCreateESimWatcher() -> ::windows::core::Result { Self::IESimManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateESimWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -711,7 +711,7 @@ impl ESimManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IESimManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceInfoChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -736,7 +736,7 @@ impl ESimOperationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -871,7 +871,7 @@ impl ESimPolicy { pub fn ShouldEnableManagingUi(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldEnableManagingUi)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -945,28 +945,28 @@ impl ESimProfile { pub fn Class(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Class)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Nickname(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Nickname)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Policy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Policy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -975,28 +975,28 @@ impl ESimProfile { pub fn ProviderIcon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderIcon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProviderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1005,7 +1005,7 @@ impl ESimProfile { pub fn DisableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1014,7 +1014,7 @@ impl ESimProfile { pub fn EnableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1026,7 +1026,7 @@ impl ESimProfile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetNicknameAsync)(::windows::core::Interface::as_raw(this), newnickname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1173,21 +1173,21 @@ impl ESimProfileMetadata { pub fn IsConfirmationCodeRequired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConfirmationCodeRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Policy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Policy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1196,28 +1196,28 @@ impl ESimProfileMetadata { pub fn ProviderIcon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderIcon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProviderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1226,7 +1226,7 @@ impl ESimProfileMetadata { pub fn DenyInstallAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DenyInstallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1235,7 +1235,7 @@ impl ESimProfileMetadata { pub fn ConfirmInstallAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConfirmInstallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1247,7 +1247,7 @@ impl ESimProfileMetadata { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConfirmInstallWithConfirmationCodeAsync)(::windows::core::Interface::as_raw(this), confirmationcode.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1256,7 +1256,7 @@ impl ESimProfileMetadata { pub fn PostponeInstallAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostponeInstallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1268,7 +1268,7 @@ impl ESimProfileMetadata { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1388,21 +1388,21 @@ impl ESimProfilePolicy { pub fn CanDelete(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanDelete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanDisable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanDisable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsManagedByEnterprise(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsManagedByEnterprise)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1512,7 +1512,7 @@ impl ESimRemovedEventArgs { pub fn ESim(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ESim)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1586,14 +1586,14 @@ impl ESimServiceInfo { pub fn AuthenticationPreference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationPreference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsESimUiEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsESimUiEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1703,7 +1703,7 @@ impl ESimUpdatedEventArgs { pub fn ESim(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ESim)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1777,7 +1777,7 @@ impl ESimWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1797,7 +1797,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1815,7 +1815,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1833,7 +1833,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1851,7 +1851,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1869,7 +1869,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1989,7 +1989,7 @@ impl FdnAccessManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFdnAccessManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestUnlockAsync)(::windows::core::Interface::as_raw(this), contactlistid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2009,7 +2009,7 @@ impl HotspotAuthenticationContext { pub fn WirelessNetworkId(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WirelessNetworkId)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -2018,7 +2018,7 @@ impl HotspotAuthenticationContext { pub fn NetworkAdapter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAdapter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2027,7 +2027,7 @@ impl HotspotAuthenticationContext { pub fn RedirectMessageUrl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedirectMessageUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2036,7 +2036,7 @@ impl HotspotAuthenticationContext { pub fn RedirectMessageXml(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RedirectMessageXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2045,7 +2045,7 @@ impl HotspotAuthenticationContext { pub fn AuthenticationUrl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2084,7 +2084,7 @@ impl HotspotAuthenticationContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IssueCredentialsAsync)(::windows::core::Interface::as_raw(this), username.into().abi(), password.into().abi(), extraparameters.into().abi(), markasmanualconnectonfailure, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2093,7 +2093,7 @@ impl HotspotAuthenticationContext { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHotspotAuthenticationContextStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAuthenticationContext)(::windows::core::Interface::as_raw(this), eventoken.into().abi(), context as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2170,7 +2170,7 @@ impl HotspotAuthenticationEventDetails { pub fn EventToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EventToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2281,14 +2281,14 @@ impl HotspotCredentialsAuthenticationResult { pub fn HasNetworkErrorOccurred(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNetworkErrorOccurred)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResponseCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2297,7 +2297,7 @@ impl HotspotCredentialsAuthenticationResult { pub fn LogoffUrl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LogoffUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2306,7 +2306,7 @@ impl HotspotCredentialsAuthenticationResult { pub fn AuthenticationReplyXml(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationReplyXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4702,7 +4702,7 @@ impl KnownCSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFSpn() -> ::windows::core::Result> { Self::IKnownCSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EFSpn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4710,7 +4710,7 @@ impl KnownCSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn Gid1() -> ::windows::core::Result> { Self::IKnownCSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gid1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4718,7 +4718,7 @@ impl KnownCSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn Gid2() -> ::windows::core::Result> { Self::IKnownCSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gid2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4738,7 +4738,7 @@ impl KnownRuimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFSpn() -> ::windows::core::Result> { Self::IKnownRuimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EFSpn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4746,7 +4746,7 @@ impl KnownRuimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn Gid1() -> ::windows::core::Result> { Self::IKnownRuimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gid1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4754,7 +4754,7 @@ impl KnownRuimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn Gid2() -> ::windows::core::Result> { Self::IKnownRuimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gid2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4774,7 +4774,7 @@ impl KnownSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFOns() -> ::windows::core::Result> { Self::IKnownSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EFOns)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4782,7 +4782,7 @@ impl KnownSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFSpn() -> ::windows::core::Result> { Self::IKnownSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EFSpn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4790,7 +4790,7 @@ impl KnownSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn Gid1() -> ::windows::core::Result> { Self::IKnownSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gid1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4798,7 +4798,7 @@ impl KnownSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn Gid2() -> ::windows::core::Result> { Self::IKnownSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gid2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4818,7 +4818,7 @@ impl KnownUSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFSpn() -> ::windows::core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EFSpn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4826,7 +4826,7 @@ impl KnownUSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFOpl() -> ::windows::core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EFOpl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4834,7 +4834,7 @@ impl KnownUSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFPnn() -> ::windows::core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EFPnn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4842,7 +4842,7 @@ impl KnownUSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn Gid1() -> ::windows::core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gid1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4850,7 +4850,7 @@ impl KnownUSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn Gid2() -> ::windows::core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gid2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4870,35 +4870,35 @@ impl MobileBroadbandAccount { pub fn NetworkAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServiceProviderGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceProviderGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ServiceProviderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceProviderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CurrentNetwork(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentNetwork)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentDeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentDeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4907,7 +4907,7 @@ impl MobileBroadbandAccount { pub fn GetConnectionProfiles(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConnectionProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4916,7 +4916,7 @@ impl MobileBroadbandAccount { pub fn AccountExperienceUrl(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountExperienceUrl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4924,7 +4924,7 @@ impl MobileBroadbandAccount { #[cfg(feature = "Foundation_Collections")] pub fn AvailableNetworkAccountIds() -> ::windows::core::Result> { Self::IMobileBroadbandAccountStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableNetworkAccountIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4933,7 +4933,7 @@ impl MobileBroadbandAccount { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMobileBroadbandAccountStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNetworkAccountId)(::windows::core::Interface::as_raw(this), networkaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5010,7 +5010,7 @@ impl MobileBroadbandAccountEventArgs { pub fn NetworkAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5082,21 +5082,21 @@ impl MobileBroadbandAccountUpdatedEventArgs { pub fn NetworkAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn HasDeviceInformationChanged(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasDeviceInformationChanged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasNetworkChanged(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNetworkChanged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5180,7 +5180,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5198,7 +5198,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5216,7 +5216,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5234,7 +5234,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5252,7 +5252,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5265,7 +5265,7 @@ impl MobileBroadbandAccountWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5382,20 +5382,20 @@ impl MobileBroadbandAntennaSar { pub fn AntennaIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AntennaIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SarBackoffIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SarBackoffIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateWithIndex(antennaindex: i32, sarbackoffindex: i32) -> ::windows::core::Result { Self::IMobileBroadbandAntennaSarFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithIndex)(::windows::core::Interface::as_raw(this), antennaindex, sarbackoffindex, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5476,7 +5476,7 @@ impl MobileBroadbandCellCdma { pub fn BaseStationId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseStationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5485,7 +5485,7 @@ impl MobileBroadbandCellCdma { pub fn BaseStationPNCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseStationPNCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5494,7 +5494,7 @@ impl MobileBroadbandCellCdma { pub fn BaseStationLatitude(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseStationLatitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5503,7 +5503,7 @@ impl MobileBroadbandCellCdma { pub fn BaseStationLongitude(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseStationLongitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5512,7 +5512,7 @@ impl MobileBroadbandCellCdma { pub fn BaseStationLastBroadcastGpsTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseStationLastBroadcastGpsTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5521,7 +5521,7 @@ impl MobileBroadbandCellCdma { pub fn NetworkId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5530,7 +5530,7 @@ impl MobileBroadbandCellCdma { pub fn PilotSignalStrengthInDB(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PilotSignalStrengthInDB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5539,7 +5539,7 @@ impl MobileBroadbandCellCdma { pub fn SystemId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5615,7 +5615,7 @@ impl MobileBroadbandCellGsm { pub fn BaseStationId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseStationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5624,7 +5624,7 @@ impl MobileBroadbandCellGsm { pub fn CellId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5633,7 +5633,7 @@ impl MobileBroadbandCellGsm { pub fn ChannelNumber(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5642,14 +5642,14 @@ impl MobileBroadbandCellGsm { pub fn LocationAreaCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationAreaCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5658,7 +5658,7 @@ impl MobileBroadbandCellGsm { pub fn ReceivedSignalStrengthInDBm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReceivedSignalStrengthInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5667,7 +5667,7 @@ impl MobileBroadbandCellGsm { pub fn TimingAdvanceInBitPeriods(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimingAdvanceInBitPeriods)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5743,7 +5743,7 @@ impl MobileBroadbandCellLte { pub fn CellId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5752,7 +5752,7 @@ impl MobileBroadbandCellLte { pub fn ChannelNumber(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5761,14 +5761,14 @@ impl MobileBroadbandCellLte { pub fn PhysicalCellId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalCellId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5777,7 +5777,7 @@ impl MobileBroadbandCellLte { pub fn ReferenceSignalReceivedPowerInDBm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReferenceSignalReceivedPowerInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5786,7 +5786,7 @@ impl MobileBroadbandCellLte { pub fn ReferenceSignalReceivedQualityInDBm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReferenceSignalReceivedQualityInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5795,7 +5795,7 @@ impl MobileBroadbandCellLte { pub fn TimingAdvanceInBitPeriods(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimingAdvanceInBitPeriods)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5804,7 +5804,7 @@ impl MobileBroadbandCellLte { pub fn TrackingAreaCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackingAreaCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5880,7 +5880,7 @@ impl MobileBroadbandCellNR { pub fn CellId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5889,7 +5889,7 @@ impl MobileBroadbandCellNR { pub fn ChannelNumber(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5898,14 +5898,14 @@ impl MobileBroadbandCellNR { pub fn PhysicalCellId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhysicalCellId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5914,7 +5914,7 @@ impl MobileBroadbandCellNR { pub fn ReferenceSignalReceivedPowerInDBm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReferenceSignalReceivedPowerInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5923,7 +5923,7 @@ impl MobileBroadbandCellNR { pub fn ReferenceSignalReceivedQualityInDBm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReferenceSignalReceivedQualityInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5932,7 +5932,7 @@ impl MobileBroadbandCellNR { pub fn TimingAdvanceInNanoseconds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimingAdvanceInNanoseconds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5941,7 +5941,7 @@ impl MobileBroadbandCellNR { pub fn TrackingAreaCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackingAreaCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5950,7 +5950,7 @@ impl MobileBroadbandCellNR { pub fn SignalToNoiseRatioInDB(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalToNoiseRatioInDB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6026,7 +6026,7 @@ impl MobileBroadbandCellTdscdma { pub fn CellId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6035,7 +6035,7 @@ impl MobileBroadbandCellTdscdma { pub fn CellParameterId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellParameterId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6044,7 +6044,7 @@ impl MobileBroadbandCellTdscdma { pub fn ChannelNumber(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6053,7 +6053,7 @@ impl MobileBroadbandCellTdscdma { pub fn LocationAreaCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationAreaCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6062,14 +6062,14 @@ impl MobileBroadbandCellTdscdma { pub fn PathLossInDB(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PathLossInDB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6078,7 +6078,7 @@ impl MobileBroadbandCellTdscdma { pub fn ReceivedSignalCodePowerInDBm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReceivedSignalCodePowerInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6087,7 +6087,7 @@ impl MobileBroadbandCellTdscdma { pub fn TimingAdvanceInBitPeriods(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimingAdvanceInBitPeriods)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6163,7 +6163,7 @@ impl MobileBroadbandCellUmts { pub fn CellId(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6172,7 +6172,7 @@ impl MobileBroadbandCellUmts { pub fn ChannelNumber(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6181,7 +6181,7 @@ impl MobileBroadbandCellUmts { pub fn LocationAreaCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocationAreaCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6190,7 +6190,7 @@ impl MobileBroadbandCellUmts { pub fn PathLossInDB(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PathLossInDB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6199,14 +6199,14 @@ impl MobileBroadbandCellUmts { pub fn PrimaryScramblingCode(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryScramblingCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6215,7 +6215,7 @@ impl MobileBroadbandCellUmts { pub fn ReceivedSignalCodePowerInDBm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReceivedSignalCodePowerInDBm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6224,7 +6224,7 @@ impl MobileBroadbandCellUmts { pub fn SignalToNoiseRatioInDB(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignalToNoiseRatioInDB)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6300,7 +6300,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsCdma(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringCellsCdma)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6309,7 +6309,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsGsm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringCellsGsm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6318,7 +6318,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsLte(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringCellsLte)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6327,7 +6327,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsTdscdma(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringCellsTdscdma)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6336,7 +6336,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsUmts(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringCellsUmts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6345,7 +6345,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsCdma(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServingCellsCdma)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6354,7 +6354,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsGsm(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServingCellsGsm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6363,7 +6363,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsLte(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServingCellsLte)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6372,7 +6372,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsTdscdma(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServingCellsTdscdma)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6381,7 +6381,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsUmts(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServingCellsUmts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6390,7 +6390,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsNR(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringCellsNR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6399,7 +6399,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsNR(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServingCellsNR)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6473,7 +6473,7 @@ impl MobileBroadbandCurrentSlotIndexChangedEventArgs { pub fn CurrentSlotIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentSlotIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6547,28 +6547,28 @@ impl MobileBroadbandDeviceInformation { pub fn NetworkDeviceStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkDeviceStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Manufacturer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Manufacturer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Model(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Model)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirmwareInformation(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirmwareInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6577,28 +6577,28 @@ impl MobileBroadbandDeviceInformation { pub fn CellularClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CellularClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DataClasses(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataClasses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CustomDataClass(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomDataClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MobileEquipmentId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MobileEquipmentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6607,91 +6607,91 @@ impl MobileBroadbandDeviceInformation { pub fn TelephoneNumbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TelephoneNumbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SubscriberId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscriberId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SimIccId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimIccId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CurrentRadioState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentRadioState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PinManager(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Revision(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Revision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SerialNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SerialNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SimSpn(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimSpn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SimPnn(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimPnn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SimGid1(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimGid1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SlotManager(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SlotManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6763,7 +6763,7 @@ impl MobileBroadbandDeviceService { pub fn DeviceServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -6772,21 +6772,21 @@ impl MobileBroadbandDeviceService { pub fn SupportedCommands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedCommands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OpenDataSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenDataSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OpenCommandSession(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenCommandSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6860,7 +6860,7 @@ impl MobileBroadbandDeviceServiceCommandResult { pub fn StatusCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6869,7 +6869,7 @@ impl MobileBroadbandDeviceServiceCommandResult { pub fn ResponseData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6949,7 +6949,7 @@ impl MobileBroadbandDeviceServiceCommandSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendQueryCommandAsync)(::windows::core::Interface::as_raw(this), commandid, data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6962,7 +6962,7 @@ impl MobileBroadbandDeviceServiceCommandSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendSetCommandAsync)(::windows::core::Interface::as_raw(this), commandid, data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7042,7 +7042,7 @@ impl MobileBroadbandDeviceServiceDataReceivedEventArgs { pub fn ReceivedData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReceivedData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7122,7 +7122,7 @@ impl MobileBroadbandDeviceServiceDataSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteDataAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7138,7 +7138,7 @@ impl MobileBroadbandDeviceServiceDataSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataReceived)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7218,21 +7218,21 @@ impl MobileBroadbandDeviceServiceInformation { pub fn DeviceServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn IsDataReadSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDataReadSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsDataWriteSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDataWriteSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7306,14 +7306,14 @@ impl MobileBroadbandDeviceServiceTriggerDetails { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeviceServiceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -7322,7 +7322,7 @@ impl MobileBroadbandDeviceServiceTriggerDetails { pub fn ReceivedData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReceivedData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7432,28 +7432,28 @@ impl MobileBroadbandModem { pub fn CurrentAccount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentAccount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxDeviceServiceCommandSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxDeviceServiceCommandSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxDeviceServiceDataSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxDeviceServiceDataSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7462,21 +7462,21 @@ impl MobileBroadbandModem { pub fn DeviceServices(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceServices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDeviceService(&self, deviceserviceid: ::windows::core::GUID) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceService)(::windows::core::Interface::as_raw(this), deviceserviceid, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsResetSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsResetSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7485,7 +7485,7 @@ impl MobileBroadbandModem { pub fn ResetAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResetAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7494,14 +7494,14 @@ impl MobileBroadbandModem { pub fn GetCurrentConfigurationAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentConfigurationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CurrentNetwork(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentNetwork)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7510,7 +7510,7 @@ impl MobileBroadbandModem { pub fn GetIsPassthroughEnabledAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsPassthroughEnabledAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7519,7 +7519,7 @@ impl MobileBroadbandModem { pub fn SetIsPassthroughEnabledAsync(&self, value: bool) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetIsPassthroughEnabledAsync)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7528,14 +7528,14 @@ impl MobileBroadbandModem { pub fn TryGetPcoAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetPcoAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsInEmergencyCallMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInEmergencyCallMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7547,7 +7547,7 @@ impl MobileBroadbandModem { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInEmergencyCallModeChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7559,7 +7559,7 @@ impl MobileBroadbandModem { } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMobileBroadbandModemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -7568,13 +7568,13 @@ impl MobileBroadbandModem { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMobileBroadbandModemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefault() -> ::windows::core::Result { Self::IMobileBroadbandModemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7653,28 +7653,28 @@ impl MobileBroadbandModemConfiguration { pub fn Uicc(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uicc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HomeProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HomeProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn HomeProviderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HomeProviderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SarManager(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SarManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7763,7 +7763,7 @@ impl MobileBroadbandModemIsolation { pub fn ApplyConfigurationAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplyConfigurationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7772,7 +7772,7 @@ impl MobileBroadbandModemIsolation { pub fn ClearConfigurationAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearConfigurationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7782,7 +7782,7 @@ impl MobileBroadbandModemIsolation { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMobileBroadbandModemIsolationFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), modemdeviceid.into().abi(), rulegroupid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7899,63 +7899,63 @@ impl MobileBroadbandNetwork { pub fn NetworkAdapter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAdapter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkRegistrationState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkRegistrationState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RegistrationNetworkError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegistrationNetworkError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PacketAttachNetworkError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PacketAttachNetworkError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivationNetworkError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivationNetworkError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AccessPointName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessPointName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RegisteredDataClass(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisteredDataClass)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RegisteredProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisteredProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RegisteredProviderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisteredProviderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7968,7 +7968,7 @@ impl MobileBroadbandNetwork { pub fn GetVoiceCallSupportAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVoiceCallSupportAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7977,7 +7977,7 @@ impl MobileBroadbandNetwork { pub fn RegistrationUiccApps(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegistrationUiccApps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7986,7 +7986,7 @@ impl MobileBroadbandNetwork { pub fn GetCellsInfoAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCellsInfoAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8058,14 +8058,14 @@ impl MobileBroadbandNetworkRegistrationStateChange { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Network(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Network)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8141,7 +8141,7 @@ impl MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { pub fn NetworkRegistrationStateChanges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkRegistrationStateChanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8217,21 +8217,21 @@ impl MobileBroadbandPco { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsComplete(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComplete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8305,7 +8305,7 @@ impl MobileBroadbandPcoDataChangeTriggerDetails { pub fn UpdatedData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdatedData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8379,49 +8379,49 @@ impl MobileBroadbandPin { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LockState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LockState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AttemptsRemaining(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttemptsRemaining)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8433,7 +8433,7 @@ impl MobileBroadbandPin { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableAsync)(::windows::core::Interface::as_raw(this), currentpin.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8445,7 +8445,7 @@ impl MobileBroadbandPin { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableAsync)(::windows::core::Interface::as_raw(this), currentpin.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8457,7 +8457,7 @@ impl MobileBroadbandPin { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterAsync)(::windows::core::Interface::as_raw(this), currentpin.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8470,7 +8470,7 @@ impl MobileBroadbandPin { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeAsync)(::windows::core::Interface::as_raw(this), currentpin.into().abi(), newpin.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8483,7 +8483,7 @@ impl MobileBroadbandPin { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnblockAsync)(::windows::core::Interface::as_raw(this), pinunblockkey.into().abi(), newpin.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8628,21 +8628,21 @@ impl MobileBroadbandPinLockStateChange { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PinType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PinLockState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinLockState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8718,7 +8718,7 @@ impl MobileBroadbandPinLockStateChangeTriggerDetails { pub fn PinLockStateChanges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PinLockStateChanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8794,14 +8794,14 @@ impl MobileBroadbandPinManager { pub fn SupportedPins(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedPins)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetPin(&self, pintype: MobileBroadbandPinType) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPin)(::windows::core::Interface::as_raw(this), pintype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -8875,14 +8875,14 @@ impl MobileBroadbandPinOperationResult { pub fn IsSuccessful(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSuccessful)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AttemptsRemaining(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttemptsRemaining)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9033,14 +9033,14 @@ impl MobileBroadbandRadioStateChange { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RadioState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RadioState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9116,7 +9116,7 @@ impl MobileBroadbandRadioStateChangeTriggerDetails { pub fn RadioStateChanges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RadioStateChanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9190,21 +9190,21 @@ impl MobileBroadbandSarManager { pub fn IsBackoffEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBackoffEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWiFiHardwareIntegrated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWiFiHardwareIntegrated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSarControlledByHardware(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSarControlledByHardware)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9213,7 +9213,7 @@ impl MobileBroadbandSarManager { pub fn Antennas(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Antennas)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9222,7 +9222,7 @@ impl MobileBroadbandSarManager { pub fn HysteresisTimerPeriod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HysteresisTimerPeriod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9234,7 +9234,7 @@ impl MobileBroadbandSarManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransmissionStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9249,7 +9249,7 @@ impl MobileBroadbandSarManager { pub fn EnableBackoffAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableBackoffAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9258,7 +9258,7 @@ impl MobileBroadbandSarManager { pub fn DisableBackoffAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableBackoffAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9271,7 +9271,7 @@ impl MobileBroadbandSarManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetConfigurationAsync)(::windows::core::Interface::as_raw(this), antennas.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9280,7 +9280,7 @@ impl MobileBroadbandSarManager { pub fn RevertSarToHardwareControlAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RevertSarToHardwareControlAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9289,7 +9289,7 @@ impl MobileBroadbandSarManager { pub fn SetTransmissionStateChangedHysteresisAsync(&self, timerperiod: super::super::Foundation::TimeSpan) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetTransmissionStateChangedHysteresisAsync)(::windows::core::Interface::as_raw(this), timerperiod, result__.as_mut_ptr()).from_abi::(result__) } } @@ -9298,7 +9298,7 @@ impl MobileBroadbandSarManager { pub fn GetIsTransmittingAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsTransmittingAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9380,14 +9380,14 @@ impl MobileBroadbandSlotInfo { pub fn Index(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Index)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9461,7 +9461,7 @@ impl MobileBroadbandSlotInfoChangedEventArgs { pub fn SlotInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SlotInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9537,21 +9537,21 @@ impl MobileBroadbandSlotManager { pub fn SlotInfos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SlotInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CurrentSlotIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentSlotIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SetCurrentSlot(&self, slotindex: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetCurrentSlot)(::windows::core::Interface::as_raw(this), slotindex, result__.as_mut_ptr()).from_abi::(result__) } } @@ -9560,7 +9560,7 @@ impl MobileBroadbandSlotManager { pub fn SetCurrentSlotAsync(&self, slotindex: i32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetCurrentSlotAsync)(::windows::core::Interface::as_raw(this), slotindex, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9572,7 +9572,7 @@ impl MobileBroadbandSlotManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SlotInfoChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9590,7 +9590,7 @@ impl MobileBroadbandSlotManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentSlotIndexChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9712,7 +9712,7 @@ impl MobileBroadbandTransmissionStateChangedEventArgs { pub fn IsTransmitting(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTransmitting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9786,7 +9786,7 @@ impl MobileBroadbandUicc { pub fn SimIccId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimIccId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9795,7 +9795,7 @@ impl MobileBroadbandUicc { pub fn GetUiccAppsAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUiccAppsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9871,14 +9871,14 @@ impl MobileBroadbandUiccApp { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9891,7 +9891,7 @@ impl MobileBroadbandUiccApp { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecordDetailsAsync)(::windows::core::Interface::as_raw(this), uiccfilepath.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -9904,7 +9904,7 @@ impl MobileBroadbandUiccApp { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadRecordAsync)(::windows::core::Interface::as_raw(this), uiccfilepath.try_into().map_err(|e| e.into())?.abi(), recordindex, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10014,7 +10014,7 @@ impl MobileBroadbandUiccAppReadRecordResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10023,7 +10023,7 @@ impl MobileBroadbandUiccAppReadRecordResult { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10097,42 +10097,42 @@ impl MobileBroadbandUiccAppRecordDetailsResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RecordCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RecordSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadAccessCondition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAccessCondition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WriteAccessCondition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAccessCondition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10206,7 +10206,7 @@ impl MobileBroadbandUiccAppsResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10215,7 +10215,7 @@ impl MobileBroadbandUiccAppsResult { pub fn UiccApps(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UiccApps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10362,7 +10362,7 @@ impl NetworkOperatorDataUsageTriggerDetails { pub fn NotificationKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotificationKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10481,35 +10481,35 @@ impl NetworkOperatorNotificationEventDetails { pub fn NotificationType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EncodingType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RuleId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RuleId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10518,7 +10518,7 @@ impl NetworkOperatorNotificationEventDetails { pub fn SmsMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmsMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10606,7 +10606,7 @@ impl NetworkOperatorTetheringAccessPointConfiguration { pub fn Ssid(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ssid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10620,7 +10620,7 @@ impl NetworkOperatorTetheringAccessPointConfiguration { pub fn Passphrase(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Passphrase)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10634,7 +10634,7 @@ impl NetworkOperatorTetheringAccessPointConfiguration { pub fn IsBandSupported(&self, band: TetheringWiFiBand) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBandSupported)(::windows::core::Interface::as_raw(this), band, result__.as_mut_ptr()).from_abi::(result__) } } @@ -10643,14 +10643,14 @@ impl NetworkOperatorTetheringAccessPointConfiguration { pub fn IsBandSupportedAsync(&self, band: TetheringWiFiBand) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBandSupportedAsync)(::windows::core::Interface::as_raw(this), band, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Band(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Band)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10728,7 +10728,7 @@ impl NetworkOperatorTetheringClient { pub fn MacAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MacAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10737,7 +10737,7 @@ impl NetworkOperatorTetheringClient { pub fn HostNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HostNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10813,35 +10813,35 @@ impl NetworkOperatorTetheringManager { pub fn GetTetheringClients(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTetheringClients)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaxClientCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxClientCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ClientCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TetheringOperationalState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TetheringOperationalState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentAccessPointConfiguration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentAccessPointConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10853,7 +10853,7 @@ impl NetworkOperatorTetheringManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConfigureAccessPointAsync)(::windows::core::Interface::as_raw(this), configuration.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10862,7 +10862,7 @@ impl NetworkOperatorTetheringManager { pub fn StartTetheringAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTetheringAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10871,7 +10871,7 @@ impl NetworkOperatorTetheringManager { pub fn StopTetheringAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopTetheringAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -10880,7 +10880,7 @@ impl NetworkOperatorTetheringManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::INetworkOperatorTetheringManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTetheringCapability)(::windows::core::Interface::as_raw(this), networkaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10889,7 +10889,7 @@ impl NetworkOperatorTetheringManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::INetworkOperatorTetheringManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNetworkAccountId)(::windows::core::Interface::as_raw(this), networkaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10900,7 +10900,7 @@ impl NetworkOperatorTetheringManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Connectivity::ConnectionProfile>>, { Self::INetworkOperatorTetheringManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTetheringCapabilityFromConnectionProfile)(::windows::core::Interface::as_raw(this), profile.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10911,7 +10911,7 @@ impl NetworkOperatorTetheringManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Connectivity::ConnectionProfile>>, { Self::INetworkOperatorTetheringManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromConnectionProfile)(::windows::core::Interface::as_raw(this), profile.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10923,13 +10923,13 @@ impl NetworkOperatorTetheringManager { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Connectivity::NetworkAdapter>>, { Self::INetworkOperatorTetheringManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromConnectionProfileWithTargetAdapter)(::windows::core::Interface::as_raw(this), profile.into().abi(), adapter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsNoConnectionsTimeoutEnabled() -> ::windows::core::Result { Self::INetworkOperatorTetheringManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNoConnectionsTimeoutEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10940,7 +10940,7 @@ impl NetworkOperatorTetheringManager { #[cfg(feature = "Foundation")] pub fn EnableNoConnectionsTimeoutAsync() -> ::windows::core::Result { Self::INetworkOperatorTetheringManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableNoConnectionsTimeoutAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -10951,7 +10951,7 @@ impl NetworkOperatorTetheringManager { #[cfg(feature = "Foundation")] pub fn DisableNoConnectionsTimeoutAsync() -> ::windows::core::Result { Self::INetworkOperatorTetheringManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableNoConnectionsTimeoutAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -11043,14 +11043,14 @@ impl NetworkOperatorTetheringOperationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdditionalErrorMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdditionalErrorMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11242,14 +11242,14 @@ impl ProvisionFromXmlDocumentResults { pub fn AllElementsProvisioned(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllElementsProvisioned)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProvisionResultsXml(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProvisionResultsXml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11410,7 +11410,7 @@ impl ProvisioningAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProvisionFromXmlDocumentAsync)(::windows::core::Interface::as_raw(this), provisioningxmldocument.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -11420,7 +11420,7 @@ impl ProvisioningAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProvisionedProfile)(::windows::core::Interface::as_raw(this), mediatype, profilename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11429,7 +11429,7 @@ impl ProvisioningAgent { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProvisioningAgentStaticMethods(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNetworkAccountId)(::windows::core::Interface::as_raw(this), networkaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -11546,7 +11546,7 @@ impl TetheringEntitlementCheckTriggerDetails { pub fn NetworkAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11857,7 +11857,7 @@ impl UssdMessage { pub fn DataCodingScheme(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataCodingScheme)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11868,7 +11868,7 @@ impl UssdMessage { pub fn GetPayload(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPayload)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -11879,7 +11879,7 @@ impl UssdMessage { pub fn PayloadAsText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PayloadAsText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11895,7 +11895,7 @@ impl UssdMessage { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUssdMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMessage)(::windows::core::Interface::as_raw(this), messagetext.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -11974,14 +11974,14 @@ impl UssdReply { pub fn ResultCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResultCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12096,7 +12096,7 @@ impl UssdSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendMessageAndGetReplyAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -12109,7 +12109,7 @@ impl UssdSession { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUssdSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNetworkAccountId)(::windows::core::Interface::as_raw(this), networkaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -12118,7 +12118,7 @@ impl UssdSession { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUssdSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNetworkInterfaceId)(::windows::core::Interface::as_raw(this), networkinterfaceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs index a40c57233f..67aa6e82a1 100644 --- a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs @@ -5,7 +5,7 @@ impl ConnectionRequestedEventArgs { pub fn PeerInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeerInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -780,7 +780,7 @@ pub struct PeerFinder; impl PeerFinder { pub fn AllowBluetooth() -> ::windows::core::Result { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowBluetooth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -789,7 +789,7 @@ impl PeerFinder { } pub fn AllowInfrastructure() -> ::windows::core::Result { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowInfrastructure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -798,7 +798,7 @@ impl PeerFinder { } pub fn AllowWiFiDirect() -> ::windows::core::Result { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowWiFiDirect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -807,7 +807,7 @@ impl PeerFinder { } pub fn DisplayName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -819,7 +819,7 @@ impl PeerFinder { } pub fn SupportedDiscoveryTypes() -> ::windows::core::Result { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedDiscoveryTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -827,7 +827,7 @@ impl PeerFinder { #[cfg(feature = "Foundation_Collections")] pub fn AlternateIdentities() -> ::windows::core::Result> { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateIdentities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -850,7 +850,7 @@ impl PeerFinder { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::TypedEventHandler<::windows::core::IInspectable, TriggeredConnectionStateChangedEventArgs>>>, { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggeredConnectionStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -866,7 +866,7 @@ impl PeerFinder { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::TypedEventHandler<::windows::core::IInspectable, ConnectionRequestedEventArgs>>>, { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -879,7 +879,7 @@ impl PeerFinder { #[cfg(feature = "Foundation_Collections")] pub fn FindAllPeersAsync() -> ::windows::core::Result>> { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllPeersAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -890,13 +890,13 @@ impl PeerFinder { P0: ::std::convert::Into<::windows::core::InParam<'a, PeerInformation>>, { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), peerinformation.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn Role() -> ::windows::core::Result { Self::IPeerFinderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Role)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -907,7 +907,7 @@ impl PeerFinder { #[cfg(feature = "Storage_Streams")] pub fn DiscoveryData() -> ::windows::core::Result { Self::IPeerFinderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiscoveryData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -922,7 +922,7 @@ impl PeerFinder { } pub fn CreateWatcher() -> ::windows::core::Result { Self::IPeerFinderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -947,14 +947,14 @@ impl PeerInformation { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -963,21 +963,21 @@ impl PeerInformation { pub fn DiscoveryData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiscoveryData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HostName(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1091,7 +1091,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1109,7 +1109,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1127,7 +1127,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1145,7 +1145,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1163,7 +1163,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1176,7 +1176,7 @@ impl PeerWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1300,7 +1300,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscribeForMessage)(::windows::core::Interface::as_raw(this), messagetype.into().abi(), messagereceivedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1311,7 +1311,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublishMessage)(::windows::core::Interface::as_raw(this), messagetype.into().abi(), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1323,7 +1323,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublishMessageWithCallback)(::windows::core::Interface::as_raw(this), messagetype.into().abi(), message.into().abi(), messagetransmittedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1337,7 +1337,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublishBinaryMessage)(::windows::core::Interface::as_raw(this), messagetype.into().abi(), message.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1352,7 +1352,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublishBinaryMessageWithCallback)(::windows::core::Interface::as_raw(this), messagetype.into().abi(), message.try_into().map_err(|e| e.into())?.abi(), messagetransmittedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1364,7 +1364,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublishUriMessage)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1377,7 +1377,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublishUriMessageWithCallback)(::windows::core::Interface::as_raw(this), message.into().abi(), messagetransmittedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1397,7 +1397,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceArrived)(::windows::core::Interface::as_raw(this), arrivedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1415,7 +1415,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceDeparted)(::windows::core::Interface::as_raw(this), departedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1428,33 +1428,33 @@ impl ProximityDevice { pub fn MaxMessageBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxMessageBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitsPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitsPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IProximityDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetDefault() -> ::windows::core::Result { Self::IProximityDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1463,7 +1463,7 @@ impl ProximityDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProximityDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1542,14 +1542,14 @@ impl ProximityMessage { pub fn MessageType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SubscriptionId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscriptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1558,14 +1558,14 @@ impl ProximityMessage { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DataAsString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataAsString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1677,14 +1677,14 @@ impl TriggeredConnectionStateChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1693,7 +1693,7 @@ impl TriggeredConnectionStateChangedEventArgs { pub fn Socket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Socket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs index 4a8c2957c5..f72f1ae9da 100644 --- a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs @@ -238,7 +238,7 @@ impl PushNotificationChannel { pub fn Uri(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -247,7 +247,7 @@ impl PushNotificationChannel { pub fn ExpirationTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -263,7 +263,7 @@ impl PushNotificationChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PushNotificationReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -343,7 +343,7 @@ impl PushNotificationChannelManager { #[cfg(feature = "Foundation")] pub fn CreatePushNotificationChannelForApplicationAsync() -> ::windows::core::Result> { Self::IPushNotificationChannelManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePushNotificationChannelForApplicationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -354,7 +354,7 @@ impl PushNotificationChannelManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPushNotificationChannelManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePushNotificationChannelForApplicationAsyncWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -365,7 +365,7 @@ impl PushNotificationChannelManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPushNotificationChannelManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePushNotificationChannelForSecondaryTileAsync)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -376,13 +376,13 @@ impl PushNotificationChannelManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IPushNotificationChannelManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefault() -> ::windows::core::Result { Self::IPushNotificationChannelManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -393,7 +393,7 @@ impl PushNotificationChannelManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IPushNotificationChannelManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelsRevoked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -435,7 +435,7 @@ impl PushNotificationChannelManagerForUser { pub fn CreatePushNotificationChannelForApplicationAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePushNotificationChannelForApplicationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -447,7 +447,7 @@ impl PushNotificationChannelManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePushNotificationChannelForApplicationAsyncWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -459,7 +459,7 @@ impl PushNotificationChannelManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePushNotificationChannelForSecondaryTileAsync)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -468,7 +468,7 @@ impl PushNotificationChannelManagerForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -482,7 +482,7 @@ impl PushNotificationChannelManagerForUser { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync)(::windows::core::Interface::as_raw(this), appserverkey.try_into().map_err(|e| e.into())?.abi(), channelid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -497,7 +497,7 @@ impl PushNotificationChannelManagerForUser { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsyncWithId)(::windows::core::Interface::as_raw(this), appserverkey.try_into().map_err(|e| e.into())?.abi(), channelid.into().abi(), appid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -641,14 +641,14 @@ impl PushNotificationReceivedEventArgs { pub fn Cancel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cancel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NotificationType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -657,7 +657,7 @@ impl PushNotificationReceivedEventArgs { pub fn ToastNotification(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToastNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -666,7 +666,7 @@ impl PushNotificationReceivedEventArgs { pub fn TileNotification(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -675,14 +675,14 @@ impl PushNotificationReceivedEventArgs { pub fn BadgeNotification(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BadgeNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RawNotification(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -793,7 +793,7 @@ impl RawNotification { pub fn Content(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -802,14 +802,14 @@ impl RawNotification { pub fn Headers(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ChannelId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChannelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -818,7 +818,7 @@ impl RawNotification { pub fn ContentBytes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs index 51926d5937..00b15e2f8c 100644 --- a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs @@ -12,21 +12,21 @@ impl DnssdRegistrationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IPAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IPAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasInstanceNameChanged(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasInstanceNameChanged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35,7 +35,7 @@ impl DnssdRegistrationResult { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -167,7 +167,7 @@ impl DnssdServiceInstance { pub fn DnssdServiceInstanceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DnssdServiceInstanceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -181,7 +181,7 @@ impl DnssdServiceInstance { pub fn HostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -195,7 +195,7 @@ impl DnssdServiceInstance { pub fn Port(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Port)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -206,7 +206,7 @@ impl DnssdServiceInstance { pub fn Priority(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Priority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -217,7 +217,7 @@ impl DnssdServiceInstance { pub fn Weight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Weight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -230,7 +230,7 @@ impl DnssdServiceInstance { pub fn TextAttributes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -242,7 +242,7 @@ impl DnssdServiceInstance { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterStreamSocketListenerAsync1)(::windows::core::Interface::as_raw(this), socket.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -255,7 +255,7 @@ impl DnssdServiceInstance { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterStreamSocketListenerAsync2)(::windows::core::Interface::as_raw(this), socket.into().abi(), adapter.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -267,7 +267,7 @@ impl DnssdServiceInstance { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterDatagramSocketAsync1)(::windows::core::Interface::as_raw(this), socket.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -280,7 +280,7 @@ impl DnssdServiceInstance { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterDatagramSocketAsync2)(::windows::core::Interface::as_raw(this), socket.into().abi(), adapter.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -290,7 +290,7 @@ impl DnssdServiceInstance { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::HostName>>, { Self::IDnssdServiceInstanceFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), dnssdserviceinstancename.into().abi(), hostname.into().abi(), port, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -299,7 +299,7 @@ impl DnssdServiceInstance { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -404,7 +404,7 @@ impl DnssdServiceInstanceCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -413,7 +413,7 @@ impl DnssdServiceInstanceCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -422,7 +422,7 @@ impl DnssdServiceInstanceCollection { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -434,7 +434,7 @@ impl DnssdServiceInstanceCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -443,7 +443,7 @@ impl DnssdServiceInstanceCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -597,7 +597,7 @@ impl DnssdServiceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -615,7 +615,7 @@ impl DnssdServiceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -633,7 +633,7 @@ impl DnssdServiceWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -646,7 +646,7 @@ impl DnssdServiceWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 72370e7ede..7c6a1711de 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -53,14 +53,14 @@ impl ControlChannelTrigger { pub fn ControlChannelTriggerId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlChannelTriggerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ServerKeepAliveIntervalInMinutes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerKeepAliveIntervalInMinutes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -71,14 +71,14 @@ impl ControlChannelTrigger { pub fn CurrentKeepAliveIntervalInMinutes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentKeepAliveIntervalInMinutes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TransportObject(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportObject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -87,7 +87,7 @@ impl ControlChannelTrigger { pub fn KeepAliveTrigger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeepAliveTrigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -96,7 +96,7 @@ impl ControlChannelTrigger { pub fn PushNotificationTrigger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PushNotificationTrigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -110,7 +110,7 @@ impl ControlChannelTrigger { pub fn WaitForPushEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WaitForPushEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -125,7 +125,7 @@ impl ControlChannelTrigger { pub fn IsWakeFromLowPowerSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWakeFromLowPowerSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -134,7 +134,7 @@ impl ControlChannelTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IControlChannelTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateControlChannelTrigger)(::windows::core::Interface::as_raw(this), channelid.into().abi(), serverkeepaliveintervalinminutes, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -143,7 +143,7 @@ impl ControlChannelTrigger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IControlChannelTriggerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateControlChannelTriggerEx)(::windows::core::Interface::as_raw(this), channelid.into().abi(), serverkeepaliveintervalinminutes, resourcerequesttype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -366,14 +366,14 @@ impl DatagramSocket { pub fn Control(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Information(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Information)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -382,7 +382,7 @@ impl DatagramSocket { pub fn OutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -395,7 +395,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remoteservicename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -407,7 +407,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectWithEndpointPairAsync)(::windows::core::Interface::as_raw(this), endpointpair.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -419,7 +419,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BindServiceNameAsync)(::windows::core::Interface::as_raw(this), localservicename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -432,7 +432,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BindEndpointAsync)(::windows::core::Interface::as_raw(this), localhostname.into().abi(), localservicename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -452,7 +452,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAsync)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remoteservicename.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -464,7 +464,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamWithEndpointPairAsync)(::windows::core::Interface::as_raw(this), endpointpair.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -476,7 +476,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReceived)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -495,7 +495,7 @@ impl DatagramSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BindServiceNameAndAdapterAsync)(::windows::core::Interface::as_raw(this), localservicename.into().abi(), adapter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -504,7 +504,7 @@ impl DatagramSocket { pub fn CancelIOAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CancelIOAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -549,7 +549,7 @@ impl DatagramSocket { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDatagramSocketStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEndpointPairsAsync)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remoteservicename.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -561,7 +561,7 @@ impl DatagramSocket { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDatagramSocketStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEndpointPairsWithSortOptionsAsync)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remoteservicename.into().abi(), sortoptions, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -662,7 +662,7 @@ impl DatagramSocketControl { pub fn QualityOfService(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QualityOfService)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -673,7 +673,7 @@ impl DatagramSocketControl { pub fn OutboundUnicastHopLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundUnicastHopLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -684,7 +684,7 @@ impl DatagramSocketControl { pub fn InboundBufferSizeInBytes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InboundBufferSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -695,7 +695,7 @@ impl DatagramSocketControl { pub fn DontFragment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DontFragment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -706,7 +706,7 @@ impl DatagramSocketControl { pub fn MulticastOnly(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MulticastOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -784,28 +784,28 @@ impl DatagramSocketInformation { pub fn LocalAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LocalPort(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalPort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemoteAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemotePort(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemotePort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -879,21 +879,21 @@ impl DatagramSocketMessageReceivedEventArgs { pub fn RemoteAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemotePort(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemotePort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LocalAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -902,7 +902,7 @@ impl DatagramSocketMessageReceivedEventArgs { pub fn GetDataReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDataReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -911,7 +911,7 @@ impl DatagramSocketMessageReceivedEventArgs { pub fn GetDataStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDataStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1027,7 +1027,7 @@ impl IControlChannelTriggerEventDetails { pub fn ControlChannelTrigger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlChannelTrigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1116,21 +1116,21 @@ impl IControlChannelTriggerResetEventDetails { pub fn ResetReason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResetReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HardwareSlotReset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareSlotReset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SoftwareSlotReset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoftwareSlotReset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2194,7 +2194,7 @@ impl IWebSocket { pub fn OutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2206,7 +2206,7 @@ impl IWebSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2226,7 +2226,7 @@ impl IWebSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2373,7 +2373,7 @@ impl IWebSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundBufferSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2386,7 +2386,7 @@ impl IWebSocketControl { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2404,7 +2404,7 @@ impl IWebSocketControl { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2422,7 +2422,7 @@ impl IWebSocketControl { pub fn SupportedProtocols(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedProtocols)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2520,14 +2520,14 @@ impl IWebSocketControl2 { pub fn IgnorableServerCertificateErrors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnorableServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OutboundBufferSizeInBytes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundBufferSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2540,7 +2540,7 @@ impl IWebSocketControl2 { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2558,7 +2558,7 @@ impl IWebSocketControl2 { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2576,7 +2576,7 @@ impl IWebSocketControl2 { pub fn SupportedProtocols(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedProtocols)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2689,21 +2689,21 @@ impl IWebSocketInformation { pub fn LocalAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BandwidthStatistics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BandwidthStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Protocol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Protocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2782,14 +2782,14 @@ impl IWebSocketInformation2 { pub fn ServerCertificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServerCertificateErrorSeverity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrorSeverity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2798,7 +2798,7 @@ impl IWebSocketInformation2 { pub fn ServerCertificateErrors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2807,28 +2807,28 @@ impl IWebSocketInformation2 { pub fn ServerIntermediateCertificates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerIntermediateCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn LocalAddress(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BandwidthStatistics(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BandwidthStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Protocol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Protocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2977,14 +2977,14 @@ impl MessageWebSocket { pub fn Control(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Information(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Information)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2996,7 +2996,7 @@ impl MessageWebSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReceived)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3014,7 +3014,7 @@ impl MessageWebSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCustomValidationRequested)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3033,7 +3033,7 @@ impl MessageWebSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendNonfinalFrameAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3046,7 +3046,7 @@ impl MessageWebSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendFinalFrameAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3055,7 +3055,7 @@ impl MessageWebSocket { pub fn OutputStream(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3067,7 +3067,7 @@ impl MessageWebSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3087,7 +3087,7 @@ impl MessageWebSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3215,7 +3215,7 @@ impl MessageWebSocketControl { pub fn MaxMessageSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxMessageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3226,7 +3226,7 @@ impl MessageWebSocketControl { pub fn MessageType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3239,7 +3239,7 @@ impl MessageWebSocketControl { pub fn DesiredUnsolicitedPongInterval(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredUnsolicitedPongInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3254,14 +3254,14 @@ impl MessageWebSocketControl { pub fn ActualUnsolicitedPongInterval(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActualUnsolicitedPongInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReceiveMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReceiveMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3274,7 +3274,7 @@ impl MessageWebSocketControl { pub fn ClientCertificate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3290,7 +3290,7 @@ impl MessageWebSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundBufferSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3303,7 +3303,7 @@ impl MessageWebSocketControl { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3321,7 +3321,7 @@ impl MessageWebSocketControl { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3339,7 +3339,7 @@ impl MessageWebSocketControl { pub fn SupportedProtocols(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedProtocols)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3348,7 +3348,7 @@ impl MessageWebSocketControl { pub fn IgnorableServerCertificateErrors(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnorableServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3460,21 +3460,21 @@ impl MessageWebSocketInformation { pub fn LocalAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BandwidthStatistics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BandwidthStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Protocol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Protocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3483,14 +3483,14 @@ impl MessageWebSocketInformation { pub fn ServerCertificate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServerCertificateErrorSeverity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrorSeverity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3499,7 +3499,7 @@ impl MessageWebSocketInformation { pub fn ServerCertificateErrors(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3508,7 +3508,7 @@ impl MessageWebSocketInformation { pub fn ServerIntermediateCertificates(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerIntermediateCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3620,7 +3620,7 @@ impl MessageWebSocketMessageReceivedEventArgs { pub fn MessageType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3629,7 +3629,7 @@ impl MessageWebSocketMessageReceivedEventArgs { pub fn GetDataReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDataReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3638,14 +3638,14 @@ impl MessageWebSocketMessageReceivedEventArgs { pub fn GetDataStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDataStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMessageComplete(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMessageComplete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3804,7 +3804,7 @@ impl ServerMessageWebSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageReceived)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3817,14 +3817,14 @@ impl ServerMessageWebSocket { pub fn Control(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Information(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Information)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3833,7 +3833,7 @@ impl ServerMessageWebSocket { pub fn OutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3845,7 +3845,7 @@ impl ServerMessageWebSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3954,7 +3954,7 @@ impl ServerMessageWebSocketControl { pub fn MessageType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4032,21 +4032,21 @@ impl ServerMessageWebSocketInformation { pub fn BandwidthStatistics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BandwidthStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Protocol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Protocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LocalAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4126,7 +4126,7 @@ impl ServerStreamWebSocket { pub fn Information(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Information)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4135,7 +4135,7 @@ impl ServerStreamWebSocket { pub fn InputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4144,7 +4144,7 @@ impl ServerStreamWebSocket { pub fn OutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4156,7 +4156,7 @@ impl ServerStreamWebSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4265,21 +4265,21 @@ impl ServerStreamWebSocketInformation { pub fn BandwidthStatistics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BandwidthStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Protocol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Protocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LocalAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4389,7 +4389,7 @@ impl SocketActivityContext { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4401,7 +4401,7 @@ impl SocketActivityContext { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISocketActivityContextFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4480,49 +4480,49 @@ impl SocketActivityInformation { pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SocketKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SocketKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Context(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Context)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DatagramSocket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DatagramSocket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StreamSocket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamSocket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StreamSocketListener(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamSocketListener)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4530,7 +4530,7 @@ impl SocketActivityInformation { #[cfg(feature = "Foundation_Collections")] pub fn AllSockets() -> ::windows::core::Result> { Self::ISocketActivityInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllSockets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4645,14 +4645,14 @@ impl SocketActivityTriggerDetails { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SocketInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SocketInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4761,7 +4761,7 @@ pub struct SocketError; impl SocketError { pub fn GetStatus(hresult: i32) -> ::windows::core::Result { Self::ISocketErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatus)(::windows::core::Interface::as_raw(this), hresult, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5002,14 +5002,14 @@ impl StreamSocket { pub fn Control(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Information(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Information)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5018,7 +5018,7 @@ impl StreamSocket { pub fn InputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5027,7 +5027,7 @@ impl StreamSocket { pub fn OutputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5039,7 +5039,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectWithEndpointPairAsync)(::windows::core::Interface::as_raw(this), endpointpair.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5052,7 +5052,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remoteservicename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5064,7 +5064,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectWithEndpointPairAndProtectionLevelAsync)(::windows::core::Interface::as_raw(this), endpointpair.into().abi(), protectionlevel, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5077,7 +5077,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectWithProtectionLevelAsync)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remoteservicename.into().abi(), protectionlevel, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5089,7 +5089,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpgradeToSslAsync)(::windows::core::Interface::as_raw(this), protectionlevel, validationhostname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5103,7 +5103,7 @@ impl StreamSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectWithProtectionLevelAndAdapterAsync)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remoteservicename.into().abi(), protectionlevel, adapter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5112,7 +5112,7 @@ impl StreamSocket { pub fn CancelIOAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CancelIOAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5157,7 +5157,7 @@ impl StreamSocket { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStreamSocketStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEndpointPairsAsync)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remoteservicename.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5169,7 +5169,7 @@ impl StreamSocket { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStreamSocketStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEndpointPairsWithSortOptionsAsync)(::windows::core::Interface::as_raw(this), remotehostname.into().abi(), remoteservicename.into().abi(), sortoptions, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5270,7 +5270,7 @@ impl StreamSocketControl { pub fn NoDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NoDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5281,7 +5281,7 @@ impl StreamSocketControl { pub fn KeepAlive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeepAlive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5292,7 +5292,7 @@ impl StreamSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundBufferSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5303,7 +5303,7 @@ impl StreamSocketControl { pub fn QualityOfService(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QualityOfService)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5314,7 +5314,7 @@ impl StreamSocketControl { pub fn OutboundUnicastHopLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundUnicastHopLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5327,14 +5327,14 @@ impl StreamSocketControl { pub fn IgnorableServerCertificateErrors(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnorableServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SerializeConnectionAttempts(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SerializeConnectionAttempts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5347,7 +5347,7 @@ impl StreamSocketControl { pub fn ClientCertificate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5363,7 +5363,7 @@ impl StreamSocketControl { pub fn MinProtectionLevel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5441,63 +5441,63 @@ impl StreamSocketInformation { pub fn LocalAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LocalPort(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalPort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemoteHostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteHostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoteAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoteServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemotePort(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemotePort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RoundTripTimeStatistics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoundTripTimeStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BandwidthStatistics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BandwidthStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5506,14 +5506,14 @@ impl StreamSocketInformation { pub fn SessionKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServerCertificateErrorSeverity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrorSeverity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5522,7 +5522,7 @@ impl StreamSocketInformation { pub fn ServerCertificateErrors(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5531,7 +5531,7 @@ impl StreamSocketInformation { pub fn ServerCertificate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5540,7 +5540,7 @@ impl StreamSocketInformation { pub fn ServerIntermediateCertificates(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerIntermediateCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5627,14 +5627,14 @@ impl StreamSocketListener { pub fn Control(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Information(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Information)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5646,7 +5646,7 @@ impl StreamSocketListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BindServiceNameAsync)(::windows::core::Interface::as_raw(this), localservicename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5659,7 +5659,7 @@ impl StreamSocketListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BindEndpointAsync)(::windows::core::Interface::as_raw(this), localhostname.into().abi(), localservicename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5671,7 +5671,7 @@ impl StreamSocketListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionReceived)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5689,7 +5689,7 @@ impl StreamSocketListener { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BindServiceNameWithProtectionLevelAsync)(::windows::core::Interface::as_raw(this), localservicename.into().abi(), protectionlevel, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5702,7 +5702,7 @@ impl StreamSocketListener { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BindServiceNameWithProtectionLevelAndAdapterAsync)(::windows::core::Interface::as_raw(this), localservicename.into().abi(), protectionlevel, adapter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5711,7 +5711,7 @@ impl StreamSocketListener { pub fn CancelIOAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CancelIOAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5830,7 +5830,7 @@ impl StreamSocketListenerConnectionReceivedEventArgs { pub fn Socket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Socket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5904,7 +5904,7 @@ impl StreamSocketListenerControl { pub fn QualityOfService(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QualityOfService)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5915,7 +5915,7 @@ impl StreamSocketListenerControl { pub fn NoDelay(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NoDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5926,7 +5926,7 @@ impl StreamSocketListenerControl { pub fn KeepAlive(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeepAlive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5937,7 +5937,7 @@ impl StreamSocketListenerControl { pub fn OutboundBufferSizeInBytes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundBufferSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5948,7 +5948,7 @@ impl StreamSocketListenerControl { pub fn OutboundUnicastHopLimit(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundUnicastHopLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6026,7 +6026,7 @@ impl StreamSocketListenerInformation { pub fn LocalPort(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalPort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6113,14 +6113,14 @@ impl StreamWebSocket { pub fn Control(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Information(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Information)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6129,7 +6129,7 @@ impl StreamWebSocket { pub fn InputStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6141,7 +6141,7 @@ impl StreamWebSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCustomValidationRequested)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6156,7 +6156,7 @@ impl StreamWebSocket { pub fn OutputStream(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutputStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6168,7 +6168,7 @@ impl StreamWebSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6188,7 +6188,7 @@ impl StreamWebSocket { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6316,7 +6316,7 @@ impl StreamWebSocketControl { pub fn NoDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NoDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6329,7 +6329,7 @@ impl StreamWebSocketControl { pub fn DesiredUnsolicitedPongInterval(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredUnsolicitedPongInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6344,7 +6344,7 @@ impl StreamWebSocketControl { pub fn ActualUnsolicitedPongInterval(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActualUnsolicitedPongInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6353,7 +6353,7 @@ impl StreamWebSocketControl { pub fn ClientCertificate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6369,7 +6369,7 @@ impl StreamWebSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutboundBufferSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6382,7 +6382,7 @@ impl StreamWebSocketControl { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6400,7 +6400,7 @@ impl StreamWebSocketControl { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6418,7 +6418,7 @@ impl StreamWebSocketControl { pub fn SupportedProtocols(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedProtocols)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6427,7 +6427,7 @@ impl StreamWebSocketControl { pub fn IgnorableServerCertificateErrors(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnorableServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6539,21 +6539,21 @@ impl StreamWebSocketInformation { pub fn LocalAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BandwidthStatistics(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BandwidthStatistics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Protocol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Protocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6562,14 +6562,14 @@ impl StreamWebSocketInformation { pub fn ServerCertificate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServerCertificateErrorSeverity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrorSeverity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6578,7 +6578,7 @@ impl StreamWebSocketInformation { pub fn ServerCertificateErrors(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6587,7 +6587,7 @@ impl StreamWebSocketInformation { pub fn ServerIntermediateCertificates(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerIntermediateCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6699,14 +6699,14 @@ impl WebSocketClosedEventArgs { pub fn Code(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Reason(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6780,7 +6780,7 @@ impl WebSocketError { #[cfg(feature = "Web")] pub fn GetStatus(hresult: i32) -> ::windows::core::Result { Self::IWebSocketErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatus)(::windows::core::Interface::as_raw(this), hresult, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6925,14 +6925,14 @@ impl WebSocketServerCustomValidationRequestedEventArgs { pub fn ServerCertificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServerCertificateErrorSeverity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrorSeverity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6941,7 +6941,7 @@ impl WebSocketServerCustomValidationRequestedEventArgs { pub fn ServerCertificateErrors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6950,7 +6950,7 @@ impl WebSocketServerCustomValidationRequestedEventArgs { pub fn ServerIntermediateCertificates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerIntermediateCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6963,7 +6963,7 @@ impl WebSocketServerCustomValidationRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index d75c771b93..7d598ac2de 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -322,7 +322,7 @@ impl IVpnCredential { pub fn PasskeyCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasskeyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -331,14 +331,14 @@ impl IVpnCredential { pub fn CertificateCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CertificateCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdditionalPin(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdditionalPin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -347,7 +347,7 @@ impl IVpnCredential { pub fn OldPasswordCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldPasswordCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -506,7 +506,7 @@ impl IVpnCustomPrompt { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -517,7 +517,7 @@ impl IVpnCustomPrompt { pub fn Compulsory(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -528,7 +528,7 @@ impl IVpnCustomPrompt { pub fn Bordered(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bordered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -630,7 +630,7 @@ impl IVpnCustomPromptElement { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -641,7 +641,7 @@ impl IVpnCustomPromptElement { pub fn Compulsory(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -652,7 +652,7 @@ impl IVpnCustomPromptElement { pub fn Emphasized(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emphasized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -867,7 +867,7 @@ impl IVpnDomainNameInfoFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnDomainNameInfo)(::windows::core::Interface::as_raw(this), name.into().abi(), nametype, dnsserverlist.try_into().map_err(|e| e.into())?.abi(), proxyserverlist.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -992,7 +992,7 @@ impl IVpnInterfaceIdFactory { pub fn CreateVpnInterfaceId(&self, address: &[u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnInterfaceId)(::windows::core::Interface::as_raw(this), address.len() as u32, ::core::mem::transmute(address.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1182,7 +1182,7 @@ impl IVpnNamespaceInfoFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnNamespaceInfo)(::windows::core::Interface::as_raw(this), name.into().abi(), dnsserverlist.try_into().map_err(|e| e.into())?.abi(), proxyserverlist.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1351,7 +1351,7 @@ impl IVpnPacketBufferFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnPacketBuffer)(::windows::core::Interface::as_raw(this), parentbuffer.into().abi(), offset, length, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1630,7 +1630,7 @@ impl IVpnProfile { pub fn ProfileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1646,7 +1646,7 @@ impl IVpnProfile { pub fn AppTriggers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppTriggers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1655,7 +1655,7 @@ impl IVpnProfile { pub fn Routes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Routes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1664,7 +1664,7 @@ impl IVpnProfile { pub fn DomainNameInfoList(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainNameInfoList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1673,14 +1673,14 @@ impl IVpnProfile { pub fn TrafficFilters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrafficFilters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RememberCredentials(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RememberCredentials)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1691,7 +1691,7 @@ impl IVpnProfile { pub fn AlwaysOn(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlwaysOn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1856,7 +1856,7 @@ impl IVpnRouteFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnRoute)(::windows::core::Interface::as_raw(this), address.into().abi(), prefixsize, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2018,7 +2018,7 @@ impl VpnAppId { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2029,7 +2029,7 @@ impl VpnAppId { pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2045,7 +2045,7 @@ impl VpnAppId { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IVpnAppIdFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), r#type, value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2229,7 +2229,7 @@ impl VpnChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCredentials)(::windows::core::Interface::as_raw(this), credtype, isretry, issinglesignoncredential, certificate.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2247,14 +2247,14 @@ impl VpnChannel { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2266,7 +2266,7 @@ impl VpnChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityChange)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2286,14 +2286,14 @@ impl VpnChannel { pub fn PlugInContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlugInContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn SystemHealth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemHealth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2360,7 +2360,7 @@ impl VpnChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityStateChange)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2373,14 +2373,14 @@ impl VpnChannel { pub fn GetVpnSendPacketBuffer(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVpnSendPacketBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetVpnReceivePacketBuffer(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVpnReceivePacketBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2393,7 +2393,7 @@ impl VpnChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCustomPromptAsync)(::windows::core::Interface::as_raw(this), custompromptelement.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2405,7 +2405,7 @@ impl VpnChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCredentialsWithCertificateAsync)(::windows::core::Interface::as_raw(this), credtype, credoptions, certificate.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2414,7 +2414,7 @@ impl VpnChannel { pub fn RequestCredentialsWithOptionsAsync(&self, credtype: VpnCredentialType, credoptions: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCredentialsWithOptionsAsync)(::windows::core::Interface::as_raw(this), credtype, credoptions, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2423,7 +2423,7 @@ impl VpnChannel { pub fn RequestCredentialsSimpleAsync(&self, credtype: VpnCredentialType) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCredentialsSimpleAsync)(::windows::core::Interface::as_raw(this), credtype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2502,14 +2502,14 @@ impl VpnChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSlotTypeForTransportContext)(::windows::core::Interface::as_raw(this), context.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentRequestTransportContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentRequestTransportContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2544,7 +2544,7 @@ impl VpnChannel { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivateForeground)(::windows::core::Interface::as_raw(this), packagerelativeappid.into().abi(), sharedcontext.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2630,7 +2630,7 @@ impl VpnChannelActivityEventArgs { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2738,7 +2738,7 @@ impl VpnChannelActivityStateChangedArgs { pub fn ActivityState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2812,7 +2812,7 @@ impl VpnChannelConfiguration { pub fn ServerServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2821,14 +2821,14 @@ impl VpnChannelConfiguration { pub fn ServerHostNameList(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerHostNameList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CustomField(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomField)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2837,7 +2837,7 @@ impl VpnChannelConfiguration { pub fn ServerUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2976,7 +2976,7 @@ impl VpnCredential { pub fn PasskeyCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasskeyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2985,14 +2985,14 @@ impl VpnCredential { pub fn CertificateCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CertificateCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdditionalPin(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdditionalPin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3001,7 +3001,7 @@ impl VpnCredential { pub fn OldPasswordCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldPasswordCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3144,14 +3144,14 @@ impl VpnCustomCheckBox { pub fn InitialCheckState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialCheckState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Checked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Checked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3165,7 +3165,7 @@ impl VpnCustomCheckBox { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3176,7 +3176,7 @@ impl VpnCustomCheckBox { pub fn Compulsory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3187,7 +3187,7 @@ impl VpnCustomCheckBox { pub fn Bordered(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bordered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3299,14 +3299,14 @@ impl VpnCustomComboBox { pub fn OptionsText(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionsText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Selected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Selected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3320,7 +3320,7 @@ impl VpnCustomComboBox { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3331,7 +3331,7 @@ impl VpnCustomComboBox { pub fn Compulsory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3342,7 +3342,7 @@ impl VpnCustomComboBox { pub fn Bordered(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bordered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3449,7 +3449,7 @@ impl VpnCustomEditBox { pub fn DefaultText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3460,14 +3460,14 @@ impl VpnCustomEditBox { pub fn NoEcho(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NoEcho)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3481,7 +3481,7 @@ impl VpnCustomEditBox { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3492,7 +3492,7 @@ impl VpnCustomEditBox { pub fn Compulsory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3503,7 +3503,7 @@ impl VpnCustomEditBox { pub fn Bordered(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bordered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3610,7 +3610,7 @@ impl VpnCustomErrorBox { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3621,7 +3621,7 @@ impl VpnCustomErrorBox { pub fn Compulsory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3632,7 +3632,7 @@ impl VpnCustomErrorBox { pub fn Bordered(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bordered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3736,14 +3736,14 @@ impl VpnCustomPromptBooleanInput { pub fn InitialValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3757,7 +3757,7 @@ impl VpnCustomPromptBooleanInput { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3768,7 +3768,7 @@ impl VpnCustomPromptBooleanInput { pub fn Compulsory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3779,7 +3779,7 @@ impl VpnCustomPromptBooleanInput { pub fn Emphasized(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emphasized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3886,7 +3886,7 @@ impl VpnCustomPromptOptionSelector { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3897,7 +3897,7 @@ impl VpnCustomPromptOptionSelector { pub fn Compulsory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3908,7 +3908,7 @@ impl VpnCustomPromptOptionSelector { pub fn Emphasized(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emphasized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3917,14 +3917,14 @@ impl VpnCustomPromptOptionSelector { pub fn Options(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SelectedIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectedIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4031,7 +4031,7 @@ impl VpnCustomPromptText { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4042,7 +4042,7 @@ impl VpnCustomPromptText { pub fn Compulsory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4053,7 +4053,7 @@ impl VpnCustomPromptText { pub fn Emphasized(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emphasized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4067,7 +4067,7 @@ impl VpnCustomPromptText { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4174,7 +4174,7 @@ impl VpnCustomPromptTextInput { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4185,7 +4185,7 @@ impl VpnCustomPromptTextInput { pub fn Compulsory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4196,7 +4196,7 @@ impl VpnCustomPromptTextInput { pub fn Emphasized(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Emphasized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4210,7 +4210,7 @@ impl VpnCustomPromptTextInput { pub fn PlaceholderText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaceholderText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4221,14 +4221,14 @@ impl VpnCustomPromptTextInput { pub fn IsTextHidden(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTextHidden)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4335,7 +4335,7 @@ impl VpnCustomTextBox { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4346,7 +4346,7 @@ impl VpnCustomTextBox { pub fn Compulsory(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compulsory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4357,7 +4357,7 @@ impl VpnCustomTextBox { pub fn Bordered(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bordered)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4371,7 +4371,7 @@ impl VpnCustomTextBox { pub fn DisplayText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4507,7 +4507,7 @@ impl VpnDomainNameAssignment { pub fn DomainNameList(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainNameList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4525,7 +4525,7 @@ impl VpnDomainNameAssignment { pub fn ProxyAutoConfigurationUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyAutoConfigurationUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4606,7 +4606,7 @@ impl VpnDomainNameInfo { pub fn DomainName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4617,7 +4617,7 @@ impl VpnDomainNameInfo { pub fn DomainNameType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainNameType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4626,7 +4626,7 @@ impl VpnDomainNameInfo { pub fn DnsServers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DnsServers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4635,7 +4635,7 @@ impl VpnDomainNameInfo { pub fn WebProxyServers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebProxyServers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4644,7 +4644,7 @@ impl VpnDomainNameInfo { pub fn WebProxyUris(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebProxyUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4659,7 +4659,7 @@ impl VpnDomainNameInfo { E2: ::std::convert::Into<::windows::core::Error>, { Self::IVpnDomainNameInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnDomainNameInfo)(::windows::core::Interface::as_raw(this), name.into().abi(), nametype, dnsserverlist.try_into().map_err(|e| e.into())?.abi(), proxyserverlist.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4775,7 +4775,7 @@ impl VpnForegroundActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4784,7 +4784,7 @@ impl VpnForegroundActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4793,7 +4793,7 @@ impl VpnForegroundActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4802,14 +4802,14 @@ impl VpnForegroundActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProfileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4818,14 +4818,14 @@ impl VpnForegroundActivatedEventArgs { pub fn SharedContext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivationOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivationOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5061,7 +5061,7 @@ impl VpnInterfaceId { } pub fn CreateVpnInterfaceId(address: &[u8]) -> ::windows::core::Result { Self::IVpnInterfaceIdFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnInterfaceId)(::windows::core::Interface::as_raw(this), address.len() as u32, ::core::mem::transmute(address.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5152,7 +5152,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddProfileFromXmlAsync)(::windows::core::Interface::as_raw(this), xml.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5165,7 +5165,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddProfileFromObjectAsync)(::windows::core::Interface::as_raw(this), profile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5177,7 +5177,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateProfileFromXmlAsync)(::windows::core::Interface::as_raw(this), xml.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5190,7 +5190,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateProfileFromObjectAsync)(::windows::core::Interface::as_raw(this), profile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5199,7 +5199,7 @@ impl VpnManagementAgent { pub fn GetProfilesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProfilesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -5212,7 +5212,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteProfileAsync)(::windows::core::Interface::as_raw(this), profile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5225,7 +5225,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectProfileAsync)(::windows::core::Interface::as_raw(this), profile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5239,7 +5239,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectProfileWithPasswordCredentialAsync)(::windows::core::Interface::as_raw(this), profile.try_into().map_err(|e| e.into())?.abi(), passwordcredential.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5252,7 +5252,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisconnectProfileAsync)(::windows::core::Interface::as_raw(this), profile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5432,7 +5432,7 @@ impl VpnNamespaceAssignment { pub fn NamespaceList(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NamespaceList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5450,7 +5450,7 @@ impl VpnNamespaceAssignment { pub fn ProxyAutoConfigUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyAutoConfigUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5531,7 +5531,7 @@ impl VpnNamespaceInfo { pub fn Namespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Namespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5550,7 +5550,7 @@ impl VpnNamespaceInfo { pub fn DnsServers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DnsServers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5569,7 +5569,7 @@ impl VpnNamespaceInfo { pub fn WebProxyServers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebProxyServers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5584,7 +5584,7 @@ impl VpnNamespaceInfo { E2: ::std::convert::Into<::windows::core::Error>, { Self::IVpnNamespaceInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnNamespaceInfo)(::windows::core::Interface::as_raw(this), name.into().abi(), dnsserverlist.try_into().map_err(|e| e.into())?.abi(), proxyserverlist.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5672,14 +5672,14 @@ impl VpnNativeProfile { pub fn Servers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Servers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RoutingPolicyType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoutingPolicyType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5690,7 +5690,7 @@ impl VpnNativeProfile { pub fn NativeProtocolType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NativeProtocolType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5701,7 +5701,7 @@ impl VpnNativeProfile { pub fn UserAuthenticationMethod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserAuthenticationMethod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5712,7 +5712,7 @@ impl VpnNativeProfile { pub fn TunnelAuthenticationMethod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TunnelAuthenticationMethod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5723,7 +5723,7 @@ impl VpnNativeProfile { pub fn EapConfiguration(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EapConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5737,7 +5737,7 @@ impl VpnNativeProfile { pub fn RequireVpnClientAppUI(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequireVpnClientAppUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5748,14 +5748,14 @@ impl VpnNativeProfile { pub fn ConnectionStatus(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProfileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5771,7 +5771,7 @@ impl VpnNativeProfile { pub fn AppTriggers(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppTriggers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5780,7 +5780,7 @@ impl VpnNativeProfile { pub fn Routes(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Routes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5789,7 +5789,7 @@ impl VpnNativeProfile { pub fn DomainNameInfoList(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainNameInfoList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5798,14 +5798,14 @@ impl VpnNativeProfile { pub fn TrafficFilters(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrafficFilters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RememberCredentials(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RememberCredentials)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5816,7 +5816,7 @@ impl VpnNativeProfile { pub fn AlwaysOn(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlwaysOn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5950,7 +5950,7 @@ impl VpnPacketBuffer { pub fn Buffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Buffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5961,7 +5961,7 @@ impl VpnPacketBuffer { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5972,14 +5972,14 @@ impl VpnPacketBuffer { pub fn TransportAffinity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportAffinity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5993,7 +5993,7 @@ impl VpnPacketBuffer { pub fn TransportContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -6002,7 +6002,7 @@ impl VpnPacketBuffer { P0: ::std::convert::Into<::windows::core::InParam<'a, VpnPacketBuffer>>, { Self::IVpnPacketBufferFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnPacketBuffer)(::windows::core::Interface::as_raw(this), parentbuffer.into().abi(), offset, length, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6083,7 +6083,7 @@ impl VpnPacketBufferList { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6104,14 +6104,14 @@ impl VpnPacketBufferList { pub fn RemoveAtEnd(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveAtEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoveAtBegin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveAtBegin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6126,14 +6126,14 @@ impl VpnPacketBufferList { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6281,14 +6281,14 @@ impl VpnPickedCredential { pub fn PasskeyCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasskeyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdditionalPin(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdditionalPin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6297,7 +6297,7 @@ impl VpnPickedCredential { pub fn OldPasswordCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldPasswordCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6380,14 +6380,14 @@ impl VpnPlugInProfile { pub fn ServerUris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerUris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CustomConfiguration(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6401,7 +6401,7 @@ impl VpnPlugInProfile { pub fn VpnPluginPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VpnPluginPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6415,7 +6415,7 @@ impl VpnPlugInProfile { pub fn RequireVpnClientAppUI(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequireVpnClientAppUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6426,14 +6426,14 @@ impl VpnPlugInProfile { pub fn ConnectionStatus(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProfileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6449,7 +6449,7 @@ impl VpnPlugInProfile { pub fn AppTriggers(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppTriggers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6458,7 +6458,7 @@ impl VpnPlugInProfile { pub fn Routes(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Routes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6467,7 +6467,7 @@ impl VpnPlugInProfile { pub fn DomainNameInfoList(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainNameInfoList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6476,14 +6476,14 @@ impl VpnPlugInProfile { pub fn TrafficFilters(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrafficFilters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RememberCredentials(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RememberCredentials)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6494,7 +6494,7 @@ impl VpnPlugInProfile { pub fn AlwaysOn(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlwaysOn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6598,7 +6598,7 @@ impl VpnRoute { pub fn Address(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6609,7 +6609,7 @@ impl VpnRoute { pub fn PrefixSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrefixSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6618,7 +6618,7 @@ impl VpnRoute { P0: ::std::convert::Into<::windows::core::InParam<'a, super::HostName>>, { Self::IVpnRouteFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVpnRoute)(::windows::core::Interface::as_raw(this), address.into().abi(), prefixsize, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6726,7 +6726,7 @@ impl VpnRouteAssignment { pub fn Ipv4InclusionRoutes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ipv4InclusionRoutes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6735,7 +6735,7 @@ impl VpnRouteAssignment { pub fn Ipv6InclusionRoutes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ipv6InclusionRoutes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6764,7 +6764,7 @@ impl VpnRouteAssignment { pub fn Ipv4ExclusionRoutes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ipv4ExclusionRoutes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6773,7 +6773,7 @@ impl VpnRouteAssignment { pub fn Ipv6ExclusionRoutes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ipv6ExclusionRoutes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6784,7 +6784,7 @@ impl VpnRouteAssignment { pub fn ExcludeLocalSubnets(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExcludeLocalSubnets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6894,7 +6894,7 @@ impl VpnSystemHealth { pub fn StatementOfHealth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatementOfHealth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6968,7 +6968,7 @@ impl VpnTrafficFilter { pub fn AppId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6984,14 +6984,14 @@ impl VpnTrafficFilter { pub fn AppClaims(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppClaims)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Protocol(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Protocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7004,7 +7004,7 @@ impl VpnTrafficFilter { pub fn LocalPortRanges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalPortRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7013,7 +7013,7 @@ impl VpnTrafficFilter { pub fn RemotePortRanges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemotePortRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7022,7 +7022,7 @@ impl VpnTrafficFilter { pub fn LocalAddressRanges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAddressRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7031,14 +7031,14 @@ impl VpnTrafficFilter { pub fn RemoteAddressRanges(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteAddressRanges)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RoutingPolicyType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoutingPolicyType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7051,7 +7051,7 @@ impl VpnTrafficFilter { P0: ::std::convert::Into<::windows::core::InParam<'a, VpnAppId>>, { Self::IVpnTrafficFilterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), appid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7139,14 +7139,14 @@ impl VpnTrafficFilterAssignment { pub fn TrafficFilterList(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrafficFilterList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AllowOutbound(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowOutbound)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7157,7 +7157,7 @@ impl VpnTrafficFilterAssignment { pub fn AllowInbound(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowInbound)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs index 490ced1b25..26dd55e07e 100644 --- a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs @@ -325,7 +325,7 @@ impl XboxLiveDeviceAddress { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SnapshotChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -338,7 +338,7 @@ impl XboxLiveDeviceAddress { pub fn GetSnapshotAsBase64(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSnapshotAsBase64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -347,7 +347,7 @@ impl XboxLiveDeviceAddress { pub fn GetSnapshotAsBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSnapshotAsBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -361,28 +361,28 @@ impl XboxLiveDeviceAddress { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compare)(::windows::core::Interface::as_raw(this), otherdeviceaddress.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsValid(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsValid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsLocal(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLocal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NetworkAccessKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkAccessKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -391,7 +391,7 @@ impl XboxLiveDeviceAddress { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromSnapshotBase64)(::windows::core::Interface::as_raw(this), base64.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -403,25 +403,25 @@ impl XboxLiveDeviceAddress { E0: ::std::convert::Into<::windows::core::Error>, { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromSnapshotBuffer)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromSnapshotBytes(buffer: &[u8]) -> ::windows::core::Result { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromSnapshotBytes)(::windows::core::Interface::as_raw(this), buffer.len() as u32, ::core::mem::transmute(buffer.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetLocal() -> ::windows::core::Result { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLocal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MaxSnapshotBytesSize() -> ::windows::core::Result { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSnapshotBytesSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -505,7 +505,7 @@ impl XboxLiveEndpointPair { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -520,7 +520,7 @@ impl XboxLiveEndpointPair { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -535,55 +535,55 @@ impl XboxLiveEndpointPair { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Template(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Template)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoteDeviceAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteDeviceAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoteHostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteHostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemotePort(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemotePort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LocalHostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalHostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LocalPort(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalPort)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FindEndpointPairBySocketAddressBytes(localsocketaddress: &[u8], remotesocketaddress: &[u8]) -> ::windows::core::Result { Self::IXboxLiveEndpointPairStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindEndpointPairBySocketAddressBytes)(::windows::core::Interface::as_raw(this), localsocketaddress.len() as u32, ::core::mem::transmute(localsocketaddress.as_ptr()), remotesocketaddress.len() as u32, ::core::mem::transmute(remotesocketaddress.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -595,7 +595,7 @@ impl XboxLiveEndpointPair { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IXboxLiveEndpointPairStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindEndpointPairByHostNamesAndPorts)(::windows::core::Interface::as_raw(this), localhostname.into().abi(), localport.into().abi(), remotehostname.into().abi(), remoteport.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -736,28 +736,28 @@ impl XboxLiveEndpointPairCreationResult { pub fn DeviceAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsExistingPathEvaluation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsExistingPathEvaluation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndpointPair(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointPair)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -911,14 +911,14 @@ impl XboxLiveEndpointPairStateChangedEventArgs { pub fn OldState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NewState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -997,7 +997,7 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InboundEndpointPairCreated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1015,7 +1015,7 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEndpointPairDefaultAsync)(::windows::core::Interface::as_raw(this), deviceaddress.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1027,7 +1027,7 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEndpointPairWithBehaviorsAsync)(::windows::core::Interface::as_raw(this), deviceaddress.into().abi(), behaviors, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1041,7 +1041,7 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEndpointPairForPortsDefaultAsync)(::windows::core::Interface::as_raw(this), deviceaddress.into().abi(), initiatorport.into().abi(), acceptorport.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1055,49 +1055,49 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEndpointPairForPortsWithBehaviorsAsync)(::windows::core::Interface::as_raw(this), deviceaddress.into().abi(), initiatorport.into().abi(), acceptorport.into().abi(), behaviors, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SocketKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SocketKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InitiatorBoundPortRangeLower(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitiatorBoundPortRangeLower)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InitiatorBoundPortRangeUpper(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitiatorBoundPortRangeUpper)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AcceptorBoundPortRangeLower(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptorBoundPortRangeLower)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AcceptorBoundPortRangeUpper(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptorBoundPortRangeUpper)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1106,7 +1106,7 @@ impl XboxLiveEndpointPairTemplate { pub fn EndpointPairs(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointPairs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1115,7 +1115,7 @@ impl XboxLiveEndpointPairTemplate { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IXboxLiveEndpointPairTemplateStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTemplateByName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1123,7 +1123,7 @@ impl XboxLiveEndpointPairTemplate { #[cfg(feature = "Foundation_Collections")] pub fn Templates() -> ::windows::core::Result> { Self::IXboxLiveEndpointPairTemplateStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Templates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1202,7 +1202,7 @@ impl XboxLiveInboundEndpointPairCreatedEventArgs { pub fn EndpointPair(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndpointPair)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1320,7 +1320,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn MeasureAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MeasureAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1332,7 +1332,7 @@ impl XboxLiveQualityOfServiceMeasurement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMetricResultsForDevice)(::windows::core::Interface::as_raw(this), deviceaddress.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1341,7 +1341,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn GetMetricResultsForMetric(&self, metric: XboxLiveQualityOfServiceMetric) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMetricResultsForMetric)(::windows::core::Interface::as_raw(this), metric, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1351,7 +1351,7 @@ impl XboxLiveQualityOfServiceMeasurement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMetricResult)(::windows::core::Interface::as_raw(this), deviceaddress.into().abi(), metric, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1361,7 +1361,7 @@ impl XboxLiveQualityOfServiceMeasurement { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPrivatePayloadResult)(::windows::core::Interface::as_raw(this), deviceaddress.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1370,7 +1370,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn Metrics(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Metrics)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1379,14 +1379,14 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn DeviceAddresses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAddresses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ShouldRequestPrivatePayloads(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldRequestPrivatePayloads)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1397,7 +1397,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn TimeoutInMilliseconds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeoutInMilliseconds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1408,7 +1408,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn NumberOfProbesToAttempt(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfProbesToAttempt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1419,7 +1419,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn NumberOfResultsPending(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberOfResultsPending)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1428,7 +1428,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn MetricResults(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MetricResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1437,7 +1437,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn PrivatePayloadResults(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrivatePayloadResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1449,7 +1449,7 @@ impl XboxLiveQualityOfServiceMeasurement { } pub fn MaxSimultaneousProbeConnections() -> ::windows::core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSimultaneousProbeConnections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1458,7 +1458,7 @@ impl XboxLiveQualityOfServiceMeasurement { } pub fn IsSystemOutboundBandwidthConstrained() -> ::windows::core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSystemOutboundBandwidthConstrained)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1467,7 +1467,7 @@ impl XboxLiveQualityOfServiceMeasurement { } pub fn IsSystemInboundBandwidthConstrained() -> ::windows::core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSystemInboundBandwidthConstrained)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1478,7 +1478,7 @@ impl XboxLiveQualityOfServiceMeasurement { #[cfg(feature = "Storage_Streams")] pub fn PublishedPrivatePayload() -> ::windows::core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublishedPrivatePayload)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1493,7 +1493,7 @@ impl XboxLiveQualityOfServiceMeasurement { } pub fn MaxPrivatePayloadSize() -> ::windows::core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPrivatePayloadSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1657,28 +1657,28 @@ impl XboxLiveQualityOfServiceMetricResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Metric(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Metric)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1752,14 +1752,14 @@ impl XboxLiveQualityOfServicePrivatePayloadResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceAddress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1768,7 +1768,7 @@ impl XboxLiveQualityOfServicePrivatePayloadResult { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/mod.rs b/crates/libs/windows/src/Windows/Networking/mod.rs index 5f4ca578b7..1a15f2125b 100644 --- a/crates/libs/windows/src/Windows/Networking/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/mod.rs @@ -57,7 +57,7 @@ impl EndpointPair { pub fn LocalHostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalHostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -71,7 +71,7 @@ impl EndpointPair { pub fn LocalServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -85,7 +85,7 @@ impl EndpointPair { pub fn RemoteHostName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteHostName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -99,7 +99,7 @@ impl EndpointPair { pub fn RemoteServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteServiceName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -118,7 +118,7 @@ impl EndpointPair { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IEndpointPairFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEndpointPair)(::windows::core::Interface::as_raw(this), localhostname.into().abi(), localservicename.into().abi(), remotehostname.into().abi(), remoteservicename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -199,35 +199,35 @@ impl HostName { pub fn IPInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IPInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RawName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CanonicalName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanonicalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -237,7 +237,7 @@ impl HostName { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), hostname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -246,7 +246,7 @@ impl HostName { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHostNameFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateHostName)(::windows::core::Interface::as_raw(this), hostname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -256,7 +256,7 @@ impl HostName { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHostNameStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compare)(::windows::core::Interface::as_raw(this), value1.into().abi(), value2.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -265,7 +265,7 @@ impl HostName { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Perception/People/mod.rs b/crates/libs/windows/src/Windows/Perception/People/mod.rs index e5bb71fe5d..310be516b5 100644 --- a/crates/libs/windows/src/Windows/Perception/People/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/People/mod.rs @@ -5,7 +5,7 @@ impl EyesPose { pub fn IsCalibrationValid(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCalibrationValid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14,20 +14,20 @@ impl EyesPose { pub fn Gaze(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gaze)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn UpdateTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSupported() -> ::windows::core::Result { Self::IEyesPoseStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -35,7 +35,7 @@ impl EyesPose { #[cfg(all(feature = "Foundation", feature = "UI_Input"))] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IEyesPoseStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -174,21 +174,21 @@ impl HandMeshObserver { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TriangleIndexCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriangleIndexCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VertexCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VertexCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -202,28 +202,28 @@ impl HandMeshObserver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVertexStateForPose)(::windows::core::Interface::as_raw(this), handpose.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NeutralPose(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeutralPose)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NeutralPoseVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeutralPoseVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ModelId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -346,7 +346,7 @@ impl HandMeshVertexState { pub fn CoordinateSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -359,7 +359,7 @@ impl HandMeshVertexState { pub fn UpdateTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -438,7 +438,7 @@ impl HandPose { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetJoint)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), joint, jointpose, result__.as_mut_ptr()).from_abi::(result__) } } @@ -450,7 +450,7 @@ impl HandPose { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetJoints)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), joints.len() as u32, ::core::mem::transmute(joints.as_ptr()), jointposes.len() as u32, ::core::mem::transmute_copy(&jointposes), result__.as_mut_ptr()).from_abi::(result__) } } @@ -459,7 +459,7 @@ impl HandPose { pub fn GetRelativeJoint(&self, joint: HandJointKind, referencejoint: HandJointKind) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRelativeJoint)(::windows::core::Interface::as_raw(this), joint, referencejoint, result__.as_mut_ptr()).from_abi::(result__) } } @@ -541,7 +541,7 @@ impl HeadPose { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -550,7 +550,7 @@ impl HeadPose { pub fn ForwardDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForwardDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -559,7 +559,7 @@ impl HeadPose { pub fn UpDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs index b8a97c2ca0..10229885cd 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs @@ -66,14 +66,14 @@ impl SpatialGraphInteropFrameOfReferencePreview { pub fn CoordinateSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NodeId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -82,7 +82,7 @@ impl SpatialGraphInteropFrameOfReferencePreview { pub fn CoordinateSystemToNodeTransform(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSystemToNodeTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -154,7 +154,7 @@ pub struct SpatialGraphInteropPreview; impl SpatialGraphInteropPreview { pub fn CreateCoordinateSystemForNode(nodeid: ::windows::core::GUID) -> ::windows::core::Result { Self::ISpatialGraphInteropPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCoordinateSystemForNode)(::windows::core::Interface::as_raw(this), nodeid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -162,7 +162,7 @@ impl SpatialGraphInteropPreview { #[cfg(feature = "Foundation_Numerics")] pub fn CreateCoordinateSystemForNodeWithPosition(nodeid: ::windows::core::GUID, relativeposition: super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::Result { Self::ISpatialGraphInteropPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCoordinateSystemForNodeWithPosition)(::windows::core::Interface::as_raw(this), nodeid, relativeposition, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -170,13 +170,13 @@ impl SpatialGraphInteropPreview { #[cfg(feature = "Foundation_Numerics")] pub fn CreateCoordinateSystemForNodeWithPositionAndOrientation(nodeid: ::windows::core::GUID, relativeposition: super::super::super::Foundation::Numerics::Vector3, relativeorientation: super::super::super::Foundation::Numerics::Quaternion) -> ::windows::core::Result { Self::ISpatialGraphInteropPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCoordinateSystemForNodeWithPositionAndOrientation)(::windows::core::Interface::as_raw(this), nodeid, relativeposition, relativeorientation, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateLocatorForNode(nodeid: ::windows::core::GUID) -> ::windows::core::Result { Self::ISpatialGraphInteropPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLocatorForNode)(::windows::core::Interface::as_raw(this), nodeid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -185,7 +185,7 @@ impl SpatialGraphInteropPreview { P0: ::std::convert::Into<::windows::core::InParam<'a, super::SpatialCoordinateSystem>>, { Self::ISpatialGraphInteropPreviewStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFrameOfReference)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -196,7 +196,7 @@ impl SpatialGraphInteropPreview { P0: ::std::convert::Into<::windows::core::InParam<'a, super::SpatialCoordinateSystem>>, { Self::ISpatialGraphInteropPreviewStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFrameOfReferenceWithPosition)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), relativeposition, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -207,7 +207,7 @@ impl SpatialGraphInteropPreview { P0: ::std::convert::Into<::windows::core::InParam<'a, super::SpatialCoordinateSystem>>, { Self::ISpatialGraphInteropPreviewStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFrameOfReferenceWithPositionAndOrientation)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), relativeposition, relativeorientation, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs index 4e2bc1212e..d6665b042c 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs @@ -197,7 +197,7 @@ impl SpatialSurfaceInfo { pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -206,7 +206,7 @@ impl SpatialSurfaceInfo { pub fn UpdateTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -218,7 +218,7 @@ impl SpatialSurfaceInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBounds)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -227,7 +227,7 @@ impl SpatialSurfaceInfo { pub fn TryComputeLatestMeshAsync(&self, maxtrianglespercubicmeter: f64) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeLatestMeshAsync)(::windows::core::Interface::as_raw(this), maxtrianglespercubicmeter, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -239,7 +239,7 @@ impl SpatialSurfaceInfo { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeLatestMeshWithOptionsAsync)(::windows::core::Interface::as_raw(this), maxtrianglespercubicmeter, options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -313,28 +313,28 @@ impl SpatialSurfaceMesh { pub fn SurfaceInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SurfaceInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CoordinateSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TriangleIndices(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriangleIndices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VertexPositions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VertexPositions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -343,14 +343,14 @@ impl SpatialSurfaceMesh { pub fn VertexPositionScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VertexPositionScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VertexNormals(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VertexNormals)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -426,21 +426,21 @@ impl SpatialSurfaceMeshBuffer { pub fn Format(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Format)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Stride(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stride)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ElementCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -449,7 +449,7 @@ impl SpatialSurfaceMeshBuffer { pub fn Data(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -532,7 +532,7 @@ impl SpatialSurfaceMeshOptions { pub fn VertexPositionFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VertexPositionFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -547,7 +547,7 @@ impl SpatialSurfaceMeshOptions { pub fn TriangleIndexFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriangleIndexFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -562,7 +562,7 @@ impl SpatialSurfaceMeshOptions { pub fn VertexNormalFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VertexNormalFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -575,7 +575,7 @@ impl SpatialSurfaceMeshOptions { pub fn IncludeVertexNormals(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeVertexNormals)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -587,7 +587,7 @@ impl SpatialSurfaceMeshOptions { #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX"))] pub fn SupportedVertexPositionFormats() -> ::windows::core::Result> { Self::ISpatialSurfaceMeshOptionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedVertexPositionFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -595,7 +595,7 @@ impl SpatialSurfaceMeshOptions { #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX"))] pub fn SupportedTriangleIndexFormats() -> ::windows::core::Result> { Self::ISpatialSurfaceMeshOptionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedTriangleIndexFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -603,7 +603,7 @@ impl SpatialSurfaceMeshOptions { #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX"))] pub fn SupportedVertexNormalFormats() -> ::windows::core::Result> { Self::ISpatialSurfaceMeshOptionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedVertexNormalFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -691,7 +691,7 @@ impl SpatialSurfaceObserver { pub fn GetObservedSurfaces(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetObservedSurfaces)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -720,7 +720,7 @@ impl SpatialSurfaceObserver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ObservedSurfacesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -734,13 +734,13 @@ impl SpatialSurfaceObserver { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::ISpatialSurfaceObserverStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::ISpatialSurfaceObserverStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs index a3207f252f..ea61eadfc2 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs @@ -641,14 +641,14 @@ impl SpatialAnchor { pub fn CoordinateSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RawCoordinateSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawCoordinateSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -660,7 +660,7 @@ impl SpatialAnchor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawCoordinateSystemAdjusted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -673,7 +673,7 @@ impl SpatialAnchor { pub fn RemovedByUser(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovedByUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -682,7 +682,7 @@ impl SpatialAnchor { P0: ::std::convert::Into<::windows::core::InParam<'a, SpatialCoordinateSystem>>, { Self::ISpatialAnchorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateRelativeTo)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -693,7 +693,7 @@ impl SpatialAnchor { P0: ::std::convert::Into<::windows::core::InParam<'a, SpatialCoordinateSystem>>, { Self::ISpatialAnchorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateWithPositionRelativeTo)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), position, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -704,7 +704,7 @@ impl SpatialAnchor { P0: ::std::convert::Into<::windows::core::InParam<'a, SpatialCoordinateSystem>>, { Self::ISpatialAnchorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateWithPositionAndOrientationRelativeTo)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), position, orientation, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -817,21 +817,21 @@ impl SpatialAnchorExportSufficiency { pub fn IsMinimallySufficient(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMinimallySufficient)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SufficiencyLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SufficiencyLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RecommendedSufficiencyLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecommendedSufficiencyLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -910,7 +910,7 @@ impl SpatialAnchorExporter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAnchorExportSufficiencyAsync)(::windows::core::Interface::as_raw(this), anchor.into().abi(), purpose, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -924,13 +924,13 @@ impl SpatialAnchorExporter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryExportAnchorAsync)(::windows::core::Interface::as_raw(this), anchor.into().abi(), purpose, stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::ISpatialAnchorExporterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -938,7 +938,7 @@ impl SpatialAnchorExporter { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::ISpatialAnchorExporterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1017,7 +1017,7 @@ impl SpatialAnchorManager { #[cfg(feature = "Foundation")] pub fn RequestStoreAsync() -> ::windows::core::Result> { Self::ISpatialAnchorManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStoreAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1039,7 +1039,7 @@ impl SpatialAnchorRawCoordinateSystemAdjustedEventArgs { pub fn OldRawCoordinateSystemToNewRawCoordinateSystemTransform(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldRawCoordinateSystemToNewRawCoordinateSystemTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1115,7 +1115,7 @@ impl SpatialAnchorStore { pub fn GetAllSavedAnchors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllSavedAnchors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1126,7 +1126,7 @@ impl SpatialAnchorStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySave)(::windows::core::Interface::as_raw(this), id.into().abi(), anchor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1217,7 +1217,7 @@ impl SpatialAnchorTransferManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::ISpatialAnchorTransferManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryImportAnchorsAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1231,7 +1231,7 @@ impl SpatialAnchorTransferManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::ISpatialAnchorTransferManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryExportAnchorsAsync)(::windows::core::Interface::as_raw(this), anchors.try_into().map_err(|e| e.into())?.abi(), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1239,7 +1239,7 @@ impl SpatialAnchorTransferManager { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::ISpatialAnchorTransferManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1458,7 +1458,7 @@ impl SpatialBoundingVolume { P0: ::std::convert::Into<::windows::core::InParam<'a, SpatialCoordinateSystem>>, { Self::ISpatialBoundingVolumeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromBox)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), r#box, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1469,7 +1469,7 @@ impl SpatialBoundingVolume { P0: ::std::convert::Into<::windows::core::InParam<'a, SpatialCoordinateSystem>>, { Self::ISpatialBoundingVolumeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromOrientedBox)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), r#box, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1480,7 +1480,7 @@ impl SpatialBoundingVolume { P0: ::std::convert::Into<::windows::core::InParam<'a, SpatialCoordinateSystem>>, { Self::ISpatialBoundingVolumeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromSphere)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), sphere, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1491,7 +1491,7 @@ impl SpatialBoundingVolume { P0: ::std::convert::Into<::windows::core::InParam<'a, SpatialCoordinateSystem>>, { Self::ISpatialBoundingVolumeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromFrustum)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), frustum, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1575,7 +1575,7 @@ impl SpatialCoordinateSystem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetTransformTo)(::windows::core::Interface::as_raw(this), target.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1649,14 +1649,14 @@ impl SpatialEntity { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Anchor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Anchor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1665,7 +1665,7 @@ impl SpatialEntity { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1674,7 +1674,7 @@ impl SpatialEntity { P0: ::std::convert::Into<::windows::core::InParam<'a, SpatialAnchor>>, { Self::ISpatialEntityFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithSpatialAnchor)(::windows::core::Interface::as_raw(this), spatialanchor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1686,7 +1686,7 @@ impl SpatialEntity { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Collections::ValueSet>>, { Self::ISpatialEntityFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithSpatialAnchorAndProperties)(::windows::core::Interface::as_raw(this), spatialanchor.into().abi(), propertyset.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1765,7 +1765,7 @@ impl SpatialEntityAddedEventArgs { pub fn Entity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Entity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1839,7 +1839,7 @@ impl SpatialEntityRemovedEventArgs { pub fn Entity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Entity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1918,7 +1918,7 @@ impl SpatialEntityStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), entity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1930,20 +1930,20 @@ impl SpatialEntityStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveAsync)(::windows::core::Interface::as_raw(this), entity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateEntityWatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEntityWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSupported() -> ::windows::core::Result { Self::ISpatialEntityStoreStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1954,7 +1954,7 @@ impl SpatialEntityStore { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::RemoteSystems::RemoteSystemSession>>, { Self::ISpatialEntityStoreStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetForRemoteSystemSession)(::windows::core::Interface::as_raw(this), session.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2033,7 +2033,7 @@ impl SpatialEntityUpdatedEventArgs { pub fn Entity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Entity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2107,7 +2107,7 @@ impl SpatialEntityWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2119,7 +2119,7 @@ impl SpatialEntityWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2137,7 +2137,7 @@ impl SpatialEntityWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2155,7 +2155,7 @@ impl SpatialEntityWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2173,7 +2173,7 @@ impl SpatialEntityWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2338,7 +2338,7 @@ impl SpatialLocation { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2347,7 +2347,7 @@ impl SpatialLocation { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2356,7 +2356,7 @@ impl SpatialLocation { pub fn AbsoluteLinearVelocity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteLinearVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2365,7 +2365,7 @@ impl SpatialLocation { pub fn AbsoluteLinearAcceleration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteLinearAcceleration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2374,7 +2374,7 @@ impl SpatialLocation { pub fn AbsoluteAngularVelocity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteAngularVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2383,7 +2383,7 @@ impl SpatialLocation { pub fn AbsoluteAngularAcceleration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteAngularAcceleration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2392,7 +2392,7 @@ impl SpatialLocation { pub fn AbsoluteAngularVelocityAxisAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteAngularVelocityAxisAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2401,7 +2401,7 @@ impl SpatialLocation { pub fn AbsoluteAngularAccelerationAxisAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbsoluteAngularAccelerationAxisAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2475,7 +2475,7 @@ impl SpatialLocator { pub fn Locatability(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Locatability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2487,7 +2487,7 @@ impl SpatialLocator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocatabilityChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2505,7 +2505,7 @@ impl SpatialLocator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionalTrackingDeactivating)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2522,14 +2522,14 @@ impl SpatialLocator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryLocateAtTimestamp)(::windows::core::Interface::as_raw(this), timestamp.into().abi(), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateAttachedFrameOfReferenceAtCurrentHeading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAttachedFrameOfReferenceAtCurrentHeading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2538,7 +2538,7 @@ impl SpatialLocator { pub fn CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition(&self, relativeposition: super::super::Foundation::Numerics::Vector3) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition)(::windows::core::Interface::as_raw(this), relativeposition, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2547,7 +2547,7 @@ impl SpatialLocator { pub fn CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientation(&self, relativeposition: super::super::Foundation::Numerics::Vector3, relativeorientation: super::super::Foundation::Numerics::Quaternion) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientation)(::windows::core::Interface::as_raw(this), relativeposition, relativeorientation, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2556,14 +2556,14 @@ impl SpatialLocator { pub fn CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientationAndRelativeHeading(&self, relativeposition: super::super::Foundation::Numerics::Vector3, relativeorientation: super::super::Foundation::Numerics::Quaternion, relativeheadinginradians: f64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientationAndRelativeHeading)(::windows::core::Interface::as_raw(this), relativeposition, relativeorientation, relativeheadinginradians, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateStationaryFrameOfReferenceAtCurrentLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStationaryFrameOfReferenceAtCurrentLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2572,7 +2572,7 @@ impl SpatialLocator { pub fn CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition(&self, relativeposition: super::super::Foundation::Numerics::Vector3) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition)(::windows::core::Interface::as_raw(this), relativeposition, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2581,7 +2581,7 @@ impl SpatialLocator { pub fn CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientation(&self, relativeposition: super::super::Foundation::Numerics::Vector3, relativeorientation: super::super::Foundation::Numerics::Quaternion) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientation)(::windows::core::Interface::as_raw(this), relativeposition, relativeorientation, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2590,13 +2590,13 @@ impl SpatialLocator { pub fn CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading(&self, relativeposition: super::super::Foundation::Numerics::Vector3, relativeorientation: super::super::Foundation::Numerics::Quaternion, relativeheadinginradians: f64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading)(::windows::core::Interface::as_raw(this), relativeposition, relativeorientation, relativeheadinginradians, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::ISpatialLocatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2677,7 +2677,7 @@ impl SpatialLocatorAttachedFrameOfReference { pub fn RelativePosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativePosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2692,7 +2692,7 @@ impl SpatialLocatorAttachedFrameOfReference { pub fn RelativeOrientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeOrientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2712,7 +2712,7 @@ impl SpatialLocatorAttachedFrameOfReference { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStationaryCoordinateSystemAtTimestamp)(::windows::core::Interface::as_raw(this), timestamp.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2724,7 +2724,7 @@ impl SpatialLocatorAttachedFrameOfReference { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetRelativeHeadingAtTimestamp)(::windows::core::Interface::as_raw(this), timestamp.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2798,7 +2798,7 @@ impl SpatialLocatorPositionalTrackingDeactivatingEventArgs { pub fn Canceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Canceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3027,21 +3027,21 @@ impl SpatialStageFrameOfReference { pub fn CoordinateSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MovementRange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MovementRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LookDirectionRange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LookDirectionRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3051,7 +3051,7 @@ impl SpatialStageFrameOfReference { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCoordinateSystemAtCurrentLocation)(::windows::core::Interface::as_raw(this), locator.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3063,13 +3063,13 @@ impl SpatialStageFrameOfReference { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetMovementBounds)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn Current() -> ::windows::core::Result { Self::ISpatialStageFrameOfReferenceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3080,7 +3080,7 @@ impl SpatialStageFrameOfReference { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::ISpatialStageFrameOfReferenceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3093,7 +3093,7 @@ impl SpatialStageFrameOfReference { #[cfg(feature = "Foundation")] pub fn RequestNewStageAsync() -> ::windows::core::Result> { Self::ISpatialStageFrameOfReferenceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestNewStageAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3172,7 +3172,7 @@ impl SpatialStationaryFrameOfReference { pub fn CoordinateSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Perception/mod.rs b/crates/libs/windows/src/Windows/Perception/mod.rs index e58008d0d5..2df82173d1 100644 --- a/crates/libs/windows/src/Windows/Perception/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/mod.rs @@ -81,7 +81,7 @@ impl PerceptionTimestamp { pub fn TargetTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -90,7 +90,7 @@ impl PerceptionTimestamp { pub fn PredictionAmount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PredictionAmount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -99,7 +99,7 @@ impl PerceptionTimestamp { pub fn SystemRelativeTargetTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemRelativeTargetTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -173,7 +173,7 @@ impl PerceptionTimestampHelper { #[cfg(feature = "Foundation")] pub fn FromHistoricalTargetTime(targettime: super::Foundation::DateTime) -> ::windows::core::Result { Self::IPerceptionTimestampHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromHistoricalTargetTime)(::windows::core::Interface::as_raw(this), targettime, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -181,7 +181,7 @@ impl PerceptionTimestampHelper { #[cfg(feature = "Foundation")] pub fn FromSystemRelativeTargetTime(targettime: super::Foundation::TimeSpan) -> ::windows::core::Result { Self::IPerceptionTimestampHelperStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromSystemRelativeTargetTime)(::windows::core::Interface::as_raw(this), targettime, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs index 1d3101cec4..68d3cd954b 100644 --- a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs @@ -3,7 +3,7 @@ pub struct ApplicationProfile; impl ApplicationProfile { pub fn Modes() -> ::windows::core::Result { Self::IApplicationProfileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Modes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs index f5a7b61e03..9046cbc5a1 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs @@ -44,7 +44,7 @@ impl VibrationDevice { } pub fn GetDefault() -> ::windows::core::Result { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs index 3dece9e202..32cd70c292 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs @@ -5,7 +5,7 @@ impl Battery { pub fn RemainingChargePercent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingChargePercent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14,7 +14,7 @@ impl Battery { pub fn RemainingDischargeTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingDischargeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -26,7 +26,7 @@ impl Battery { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingChargePercentChanged)(::windows::core::Interface::as_raw(this), changehandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38,7 +38,7 @@ impl Battery { } pub fn GetDefault() -> ::windows::core::Result { Self::IBatteryStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs index c284972200..ad9a5a824e 100644 --- a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs @@ -5,21 +5,21 @@ impl Enterprise { pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn WorkplaceId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorkplaceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28,7 +28,7 @@ impl Enterprise { pub fn EnrollmentValidFrom(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnrollmentValidFrom)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37,14 +37,14 @@ impl Enterprise { pub fn EnrollmentValidTo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnrollmentValidTo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -118,13 +118,13 @@ impl EnterpriseEnrollmentManager { #[cfg(feature = "Foundation_Collections")] pub fn EnrolledEnterprises() -> ::windows::core::Result> { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnrolledEnterprises)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn CurrentEnterprise() -> ::windows::core::Result { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentEnterprise)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -132,7 +132,7 @@ impl EnterpriseEnrollmentManager { #[cfg(feature = "Foundation")] pub fn ValidateEnterprisesAsync() -> ::windows::core::Result { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateEnterprisesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -143,7 +143,7 @@ impl EnterpriseEnrollmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestEnrollmentAsync)(::windows::core::Interface::as_raw(this), enrollmenttoken.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -154,7 +154,7 @@ impl EnterpriseEnrollmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, Enterprise>>, { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestUnenrollmentAsync)(::windows::core::Interface::as_raw(this), enterprise.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -174,14 +174,14 @@ impl EnterpriseEnrollmentResult { pub fn EnrolledEnterprise(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnrolledEnterprise)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -481,7 +481,7 @@ impl InstallationManager { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddPackageAsync)(::windows::core::Interface::as_raw(this), title.into().abi(), sourcelocation.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -496,7 +496,7 @@ impl InstallationManager { P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddPackagePreloadedAsync)(::windows::core::Interface::as_raw(this), title.into().abi(), sourcelocation.into().abi(), instanceid.into().abi(), offerid.into().abi(), license.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -504,7 +504,7 @@ impl InstallationManager { #[cfg(feature = "Foundation_Collections")] pub fn GetPendingPackageInstalls() -> ::windows::core::Result>> { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPendingPackageInstalls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -512,7 +512,7 @@ impl InstallationManager { #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindPackagesForCurrentPublisher() -> ::windows::core::Result> { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesForCurrentPublisher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -520,7 +520,7 @@ impl InstallationManager { #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindPackages() -> ::windows::core::Result> { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -531,7 +531,7 @@ impl InstallationManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IInstallationManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovePackageAsync)(::windows::core::Interface::as_raw(this), packagefullname.into().abi(), removaloptions, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -544,7 +544,7 @@ impl InstallationManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IInstallationManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterPackageAsync)(::windows::core::Interface::as_raw(this), manifesturi.into().abi(), dependencypackageuris.try_into().map_err(|e| e.into())?.abi(), deploymentoptions, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -556,7 +556,7 @@ impl InstallationManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IInstallationManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesByNamePublisher)(::windows::core::Interface::as_raw(this), packagename.into().abi(), packagepublisher.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -581,7 +581,7 @@ impl PackageInstallResult { pub fn ProductId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -590,14 +590,14 @@ impl PackageInstallResult { pub fn InstallState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs index baae1da0a8..c5b05087ee 100644 --- a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs @@ -45,7 +45,7 @@ impl AudioRoutingManager { pub fn GetAudioEndpoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAudioEndpoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -61,7 +61,7 @@ impl AudioRoutingManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioEndpointChanged)(::windows::core::Interface::as_raw(this), endpointchangehandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -74,13 +74,13 @@ impl AudioRoutingManager { pub fn AvailableAudioEndpoints(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableAudioEndpoints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IAudioRoutingManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } 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 d199cfc0c2..da8fbc30a8 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs @@ -3,13 +3,13 @@ pub struct AccessoryManager; impl AccessoryManager { pub fn RegisterAccessoryApp() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterAccessoryApp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GetNextTriggerDetails() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNextTriggerDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -24,13 +24,13 @@ impl AccessoryManager { #[cfg(feature = "Foundation_Collections")] pub fn PhoneLineDetails() -> ::windows::core::Result> { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneLineDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetPhoneLineDetails(phoneline: ::windows::core::GUID) -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPhoneLineDetails)(::windows::core::Interface::as_raw(this), phoneline, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -90,7 +90,7 @@ impl AccessoryManager { } pub fn PhoneMute() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneMute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -99,7 +99,7 @@ impl AccessoryManager { } pub fn PhoneCallAudioEndpoint() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneCallAudioEndpoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -127,19 +127,19 @@ impl AccessoryManager { } pub fn GetMediaMetadata() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMediaMetadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediaPlaybackCapabilities() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaPlaybackCapabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediaPlaybackStatus() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaPlaybackStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -148,19 +148,19 @@ impl AccessoryManager { } pub fn DoNotDisturbEnabled() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DoNotDisturbEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DrivingModeEnabled() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DrivingModeEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BatterySaverState() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BatterySaverState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -168,7 +168,7 @@ impl AccessoryManager { #[cfg(feature = "Foundation_Collections")] pub fn GetApps() -> ::windows::core::Result> { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetApps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -189,13 +189,13 @@ impl AccessoryManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNotificationEnabledForApplication)(::windows::core::Interface::as_raw(this), appid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetEnabledAccessoryNotificationTypes() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEnabledAccessoryNotificationTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -207,7 +207,7 @@ impl AccessoryManager { } pub fn GetUserConsent() -> ::windows::core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUserConsent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -218,7 +218,7 @@ impl AccessoryManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAccessoryManager(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppIcon)(::windows::core::Interface::as_raw(this), appid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -229,7 +229,7 @@ impl AccessoryManager { #[cfg(feature = "Foundation_Collections")] pub fn SpeedDialList() -> ::windows::core::Result> { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpeedDialList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -241,7 +241,7 @@ impl AccessoryManager { } pub fn IsPhonePinLocked() -> ::windows::core::Result { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPhonePinLocked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -259,7 +259,7 @@ impl AccessoryManager { } pub fn VolumeInfo() -> ::windows::core::Result { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VolumeInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -267,7 +267,7 @@ impl AccessoryManager { #[cfg(feature = "Foundation_Collections")] pub fn GetAllEmailAccounts() -> ::windows::core::Result> { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllEmailAccounts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -278,7 +278,7 @@ impl AccessoryManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolders)(::windows::core::Interface::as_raw(this), emailaccount.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -438,35 +438,35 @@ impl AlarmNotificationTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -477,14 +477,14 @@ impl AlarmNotificationTriggerDetails { pub fn AlarmId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlarmId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -493,21 +493,21 @@ impl AlarmNotificationTriggerDetails { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReminderState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReminderState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -598,14 +598,14 @@ impl AppNotificationInfo { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -677,14 +677,14 @@ impl BinaryId { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -797,35 +797,35 @@ impl CalendarChangedNotificationTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -836,14 +836,14 @@ impl CalendarChangedNotificationTriggerDetails { pub fn EventType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EventType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ItemId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -936,35 +936,35 @@ impl CortanaTileNotificationTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -975,70 +975,70 @@ impl CortanaTileNotificationTriggerDetails { pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Content(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LargeContent1(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LargeContent1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LargeContent2(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LargeContent2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EmphasizedText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmphasizedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NonWrappedSmallContent1(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NonWrappedSmallContent1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NonWrappedSmallContent2(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NonWrappedSmallContent2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NonWrappedSmallContent3(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NonWrappedSmallContent3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NonWrappedSmallContent4(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NonWrappedSmallContent4)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Source(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1129,14 +1129,14 @@ impl EmailAccountInfo { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsNotificationEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNotificationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1208,14 +1208,14 @@ impl EmailFolderInfo { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsNotificationEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNotificationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1289,35 +1289,35 @@ impl EmailNotificationTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1328,28 +1328,28 @@ impl EmailNotificationTriggerDetails { pub fn AccountName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentFolderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentFolderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SenderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SenderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SenderAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SenderAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1358,7 +1358,7 @@ impl EmailNotificationTriggerDetails { pub fn EmailMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1367,14 +1367,14 @@ impl EmailNotificationTriggerDetails { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageEntryId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageEntryId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1467,35 +1467,35 @@ impl EmailReadNotificationTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1506,28 +1506,28 @@ impl EmailReadNotificationTriggerDetails { pub fn AccountName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ParentFolderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentFolderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MessageEntryId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageEntryId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRead(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1746,35 +1746,35 @@ impl IAccessoryNotificationTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2272,35 +2272,35 @@ impl MediaControlsTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2311,14 +2311,14 @@ impl MediaControlsTriggerDetails { pub fn PlaybackStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaMetadata(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaMetadata)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2409,35 +2409,35 @@ impl MediaMetadata { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Subtitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Artist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Artist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Album(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Album)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Track(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Track)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2446,7 +2446,7 @@ impl MediaMetadata { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2455,7 +2455,7 @@ impl MediaMetadata { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2562,49 +2562,49 @@ impl PhoneCallDetails { pub fn PhoneLine(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn CallId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CallTransport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallTransport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CallMediaType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallMediaType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CallDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConferenceCallId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConferenceCallId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2613,7 +2613,7 @@ impl PhoneCallDetails { pub fn StartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2622,21 +2622,21 @@ impl PhoneCallDetails { pub fn EndTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContactName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2645,7 +2645,7 @@ impl PhoneCallDetails { pub fn PresetTextResponses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresetTextResponses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2822,49 +2822,49 @@ impl PhoneLineDetails { pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LineNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DefaultOutgoingLine(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultOutgoingLine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VoicemailCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VoicemailCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RegistrationState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegistrationState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MissedCallCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MissedCallCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3007,35 +3007,35 @@ impl PhoneNotificationTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3046,21 +3046,21 @@ impl PhoneNotificationTriggerDetails { pub fn PhoneNotificationType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CallDetails(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhoneLineChangedId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneLineChangedId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -3340,35 +3340,35 @@ impl ReminderNotificationTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3379,28 +3379,28 @@ impl ReminderNotificationTriggerDetails { pub fn ReminderId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReminderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Details(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Details)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3409,7 +3409,7 @@ impl ReminderNotificationTriggerDetails { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3418,21 +3418,21 @@ impl ReminderNotificationTriggerDetails { pub fn Appointment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Appointment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReminderState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReminderState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3558,21 +3558,21 @@ impl SpeedDialEntry { pub fn PhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NumberType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumberType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContactName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3644,14 +3644,14 @@ impl TextResponse { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Content(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3725,35 +3725,35 @@ impl ToastNotificationTriggerDetails { pub fn TimeCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AccessoryNotificationType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessoryNotificationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartedProcessing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartedProcessing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3764,42 +3764,42 @@ impl ToastNotificationTriggerDetails { pub fn Text1(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Text2(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Text3(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Text4(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text4)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SuppressPopup(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuppressPopup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3926,35 +3926,35 @@ impl VolumeInfo { pub fn SystemVolume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CallVolume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaVolume(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaVolume)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMuted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMuted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVibrateEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVibrateEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs index 1ddc692c62..98242284f1 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs @@ -10,7 +10,7 @@ impl ContactPartnerProvisioningManager { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactPartnerProvisioningManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AssociateNetworkAccountAsync)(::windows::core::Interface::as_raw(this), store.into().abi(), networkname.into().abi(), networkaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -22,7 +22,7 @@ impl ContactPartnerProvisioningManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IContactPartnerProvisioningManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportVcardToSystemAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -35,7 +35,7 @@ impl ContactPartnerProvisioningManager { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContactPartnerProvisioningManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AssociateSocialNetworkAccountAsync)(::windows::core::Interface::as_raw(this), store.into().abi(), networkname.into().abi(), networkaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -122,7 +122,7 @@ impl MessagePartnerProvisioningManager { E2: ::std::convert::Into<::windows::core::Error>, { Self::IMessagePartnerProvisioningManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportSmsToSystemAsync)(::windows::core::Interface::as_raw(this), incoming, read, body.into().abi(), sender.into().abi(), recipients.try_into().map_err(|e| e.into())?.abi(), deliverytime, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -138,7 +138,7 @@ impl MessagePartnerProvisioningManager { E3: ::std::convert::Into<::windows::core::Error>, { Self::IMessagePartnerProvisioningManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportMmsToSystemAsync)(::windows::core::Interface::as_raw(this), incoming, read, subject.into().abi(), sender.into().abi(), recipients.try_into().map_err(|e| e.into())?.abi(), deliverytime, attachments.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index e2bfac3569..53d2d06f9a 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -14,7 +14,7 @@ impl ContactAddress { pub fn Country(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Country)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -28,7 +28,7 @@ impl ContactAddress { pub fn Locality(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Locality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -42,7 +42,7 @@ impl ContactAddress { pub fn Region(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Region)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -56,7 +56,7 @@ impl ContactAddress { pub fn PostalCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostalCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -70,7 +70,7 @@ impl ContactAddress { pub fn StreetAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreetAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -151,28 +151,28 @@ impl ContactChangeRecord { pub fn ChangeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RevisionNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RevisionNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -288,7 +288,7 @@ impl ContactInformation { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -302,7 +302,7 @@ impl ContactInformation { pub fn FamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -316,7 +316,7 @@ impl ContactInformation { pub fn GivenName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GivenName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -330,7 +330,7 @@ impl ContactInformation { pub fn HonorificPrefix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificPrefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -344,7 +344,7 @@ impl ContactInformation { pub fn HonorificSuffix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificSuffix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -360,7 +360,7 @@ impl ContactInformation { pub fn GetDisplayPictureAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDisplayPictureAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -373,7 +373,7 @@ impl ContactInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDisplayPictureAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -382,7 +382,7 @@ impl ContactInformation { pub fn DisplayPicture(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayPicture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -391,7 +391,7 @@ impl ContactInformation { pub fn GetPropertiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -400,7 +400,7 @@ impl ContactInformation { pub fn ToVcardAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToVcardAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -409,7 +409,7 @@ impl ContactInformation { pub fn ToVcardWithOptionsAsync(&self, format: VCardFormat) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToVcardWithOptionsAsync)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -421,7 +421,7 @@ impl ContactInformation { E0: ::std::convert::Into<::windows::core::Error>, { Self::IContactInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParseVcardAsync)(::windows::core::Interface::as_raw(this), vcard.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -528,14 +528,14 @@ impl ContactQueryOptions { pub fn DesiredFields(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredFields)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn OrderBy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrderBy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -615,7 +615,7 @@ impl ContactQueryResult { pub fn GetContactCountAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -624,7 +624,7 @@ impl ContactQueryResult { pub fn GetContactsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -633,14 +633,14 @@ impl ContactQueryResult { pub fn GetContactsAsyncInRange(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContactsAsyncInRange)(::windows::core::Interface::as_raw(this), startindex, maxnumberofitems, result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn GetCurrentQueryOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentQueryOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -754,7 +754,7 @@ impl ContactStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactByRemoteIdAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -766,7 +766,7 @@ impl ContactStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindContactByIdAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -778,14 +778,14 @@ impl ContactStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteContactAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateContactQueryDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContactQueryDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -795,7 +795,7 @@ impl ContactStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContactQueryWithOptions)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -804,14 +804,14 @@ impl ContactStore { pub fn DeleteAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RevisionNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RevisionNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -820,7 +820,7 @@ impl ContactStore { pub fn GetChangesAsync(&self, baserevisionnumber: u64) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangesAsync)(::windows::core::Interface::as_raw(this), baserevisionnumber, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -829,7 +829,7 @@ impl ContactStore { pub fn LoadExtendedPropertiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadExtendedPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -842,7 +842,7 @@ impl ContactStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveExtendedPropertiesAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -854,7 +854,7 @@ impl ContactStore { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMeContactAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -862,7 +862,7 @@ impl ContactStore { #[cfg(feature = "Foundation")] pub fn CreateOrOpenAsync() -> ::windows::core::Result> { Self::IContactStoreStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOrOpenAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -870,7 +870,7 @@ impl ContactStore { #[cfg(feature = "Foundation")] pub fn CreateOrOpenWithOptionsAsync(access: ContactStoreSystemAccessMode, sharing: ContactStoreApplicationAccessMode) -> ::windows::core::Result> { Self::IContactStoreStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOrOpenWithOptionsAsync)(::windows::core::Interface::as_raw(this), access, sharing, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1055,7 +1055,7 @@ impl IContactInformation { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1069,7 +1069,7 @@ impl IContactInformation { pub fn FamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1083,7 +1083,7 @@ impl IContactInformation { pub fn GivenName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GivenName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1097,7 +1097,7 @@ impl IContactInformation { pub fn HonorificPrefix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificPrefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1111,7 +1111,7 @@ impl IContactInformation { pub fn HonorificSuffix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificSuffix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1127,7 +1127,7 @@ impl IContactInformation { pub fn GetDisplayPictureAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDisplayPictureAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1140,7 +1140,7 @@ impl IContactInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDisplayPictureAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1149,7 +1149,7 @@ impl IContactInformation { pub fn DisplayPicture(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayPicture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1158,7 +1158,7 @@ impl IContactInformation { pub fn GetPropertiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1167,7 +1167,7 @@ impl IContactInformation { pub fn ToVcardAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToVcardAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1176,7 +1176,7 @@ impl IContactInformation { pub fn ToVcardWithOptionsAsync(&self, format: VCardFormat) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToVcardWithOptionsAsync)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1286,7 +1286,7 @@ impl IContactInformation2 { pub fn DisplayPictureDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayPictureDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1599,211 +1599,211 @@ pub struct KnownContactProperties; impl KnownContactProperties { pub fn DisplayName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn FamilyName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GivenName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GivenName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HonorificPrefix() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificPrefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HonorificSuffix() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificSuffix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AdditionalName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdditionalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Address() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn OtherAddress() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Email() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Email)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn WorkAddress() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorkAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn WorkTelephone() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorkTelephone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn JobTitle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JobTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Birthdate() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Birthdate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Anniversary() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Anniversary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Telephone() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Telephone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MobileTelephone() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MobileTelephone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Url() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Url)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Notes() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Notes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn WorkFax() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorkFax)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Children() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SignificantOther() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignificantOther)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CompanyName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompanyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CompanyTelephone() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompanyTelephone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HomeFax() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HomeFax)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AlternateTelephone() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateTelephone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Manager() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Manager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Nickname() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Nickname)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn OfficeLocation() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OfficeLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn WorkEmail() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorkEmail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn YomiGivenName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YomiGivenName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn YomiFamilyName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YomiFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn YomiCompanyName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YomiCompanyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn OtherEmail() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherEmail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AlternateMobileTelephone() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateMobileTelephone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AlternateWorkTelephone() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateWorkTelephone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1823,7 +1823,7 @@ impl StoredContact { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1837,7 +1837,7 @@ impl StoredContact { pub fn FamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1851,7 +1851,7 @@ impl StoredContact { pub fn GivenName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GivenName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1865,7 +1865,7 @@ impl StoredContact { pub fn HonorificPrefix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificPrefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1879,7 +1879,7 @@ impl StoredContact { pub fn HonorificSuffix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HonorificSuffix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1895,7 +1895,7 @@ impl StoredContact { pub fn GetDisplayPictureAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDisplayPictureAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1908,7 +1908,7 @@ impl StoredContact { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDisplayPictureAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1917,7 +1917,7 @@ impl StoredContact { pub fn DisplayPicture(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayPicture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1926,7 +1926,7 @@ impl StoredContact { pub fn GetPropertiesAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1935,7 +1935,7 @@ impl StoredContact { pub fn ToVcardAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToVcardAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1944,7 +1944,7 @@ impl StoredContact { pub fn ToVcardWithOptionsAsync(&self, format: VCardFormat) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToVcardWithOptionsAsync)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1953,7 +1953,7 @@ impl StoredContact { pub fn DisplayPictureDate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayPictureDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1966,21 +1966,21 @@ impl StoredContact { pub fn Store(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Store)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1996,7 +1996,7 @@ impl StoredContact { pub fn GetExtendedPropertiesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetExtendedPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2005,7 +2005,7 @@ impl StoredContact { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2017,7 +2017,7 @@ impl StoredContact { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceExistingContactAsync)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2026,7 +2026,7 @@ impl StoredContact { P0: ::std::convert::Into<::windows::core::InParam<'a, ContactStore>>, { Self::IStoredContactFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStoredContact)(::windows::core::Interface::as_raw(this), store.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2036,7 +2036,7 @@ impl StoredContact { P1: ::std::convert::Into<::windows::core::InParam<'a, ContactInformation>>, { Self::IStoredContactFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStoredContactFromInformation)(::windows::core::Interface::as_raw(this), store.into().abi(), contact.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs index 8541a293f3..629f1ff7b5 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs @@ -19,14 +19,14 @@ impl DualSimTile { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsPinnedToStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPinnedToStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35,7 +35,7 @@ impl DualSimTile { pub fn CreateAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -44,7 +44,7 @@ impl DualSimTile { pub fn UpdateAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -53,13 +53,13 @@ impl DualSimTile { pub fn DeleteAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetTileForSim2() -> ::windows::core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTileForSim2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -70,7 +70,7 @@ impl DualSimTile { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateDisplayNameForSim1Async)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -78,7 +78,7 @@ impl DualSimTile { #[cfg(feature = "UI_Notifications")] pub fn CreateTileUpdaterForSim1() -> ::windows::core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileUpdaterForSim1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -86,7 +86,7 @@ impl DualSimTile { #[cfg(feature = "UI_Notifications")] pub fn CreateTileUpdaterForSim2() -> ::windows::core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileUpdaterForSim2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -94,7 +94,7 @@ impl DualSimTile { #[cfg(feature = "UI_Notifications")] pub fn CreateBadgeUpdaterForSim1() -> ::windows::core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBadgeUpdaterForSim1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -102,7 +102,7 @@ impl DualSimTile { #[cfg(feature = "UI_Notifications")] pub fn CreateBadgeUpdaterForSim2() -> ::windows::core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBadgeUpdaterForSim2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -110,7 +110,7 @@ impl DualSimTile { #[cfg(feature = "UI_Notifications")] pub fn CreateToastNotifierForSim1() -> ::windows::core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateToastNotifierForSim1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -118,7 +118,7 @@ impl DualSimTile { #[cfg(feature = "UI_Notifications")] pub fn CreateToastNotifierForSim2() -> ::windows::core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateToastNotifierForSim2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -268,7 +268,7 @@ impl IToastNotificationManagerStatics3 { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateToastNotifierForSecondaryTile)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs index 25146f8503..cfe1e90537 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs @@ -37,7 +37,7 @@ pub struct PowerManager; impl PowerManager { pub fn PowerSavingMode() -> ::windows::core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerSavingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -48,7 +48,7 @@ impl PowerManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerSavingModeChanged)(::windows::core::Interface::as_raw(this), changehandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -59,7 +59,7 @@ impl PowerManager { } pub fn PowerSavingModeEnabled() -> ::windows::core::Result { Self::IPowerManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerSavingModeEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs index be36e43ec3..f87ddfe4c8 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs @@ -26,7 +26,7 @@ impl RetailMode { #[cfg(feature = "deprecated")] pub fn RetailModeEnabled() -> ::windows::core::Result { Self::IRetailModeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetailModeEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs b/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs index c6fdb286f4..24178faaa1 100644 --- a/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs @@ -5,7 +5,7 @@ impl GameService { #[cfg(feature = "Foundation")] pub fn ServiceUri() -> ::windows::core::Result { Self::IGameService(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -13,7 +13,7 @@ impl GameService { #[cfg(feature = "Foundation")] pub fn GetGamerProfileAsync() -> ::windows::core::Result> { Self::IGameService(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGamerProfileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -21,7 +21,7 @@ impl GameService { #[cfg(feature = "Foundation")] pub fn GetInstalledGameItemsAsync() -> ::windows::core::Result> { Self::IGameService(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInstalledGameItemsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -32,7 +32,7 @@ impl GameService { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::super::Foundation::Uri>>, { Self::IGameService(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPartnerTokenAsync)(::windows::core::Interface::as_raw(this), audienceuri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -40,7 +40,7 @@ impl GameService { #[cfg(feature = "Foundation")] pub fn GetPrivilegesAsync() -> ::windows::core::Result> { Self::IGameService(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPrivilegesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -69,7 +69,7 @@ impl GameService { } pub fn GetAuthenticationStatus() -> ::windows::core::Result { Self::IGameService2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAuthenticationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -135,7 +135,7 @@ impl GameServicePropertyCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertyAsync)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Phone/System/mod.rs b/crates/libs/windows/src/Windows/Phone/System/mod.rs index 676956be84..d47ab9dfd7 100644 --- a/crates/libs/windows/src/Windows/Phone/System/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/mod.rs @@ -35,7 +35,7 @@ pub struct SystemProtection; impl SystemProtection { pub fn ScreenLocked() -> ::windows::core::Result { Self::ISystemProtectionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenLocked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs index 483b35c3bf..68a2b0a938 100644 --- a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs @@ -5,7 +5,7 @@ impl BackPressedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -152,7 +152,7 @@ impl HardwareButtons { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::EventHandler>>, { Self::IHardwareButtonsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -168,7 +168,7 @@ impl HardwareButtons { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::EventHandler>>, { Self::IHardwareButtonsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraHalfPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -184,7 +184,7 @@ impl HardwareButtons { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::EventHandler>>, { Self::IHardwareButtonsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -200,7 +200,7 @@ impl HardwareButtons { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::EventHandler>>, { Self::IHardwareButtonsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs index d2dc4a8813..7f4742253f 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs @@ -160,7 +160,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOneTimePassCodeAsync)(::windows::core::Interface::as_raw(this), useraccountid.into().abi(), codelength, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -174,7 +174,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddDeviceAsync)(::windows::core::Interface::as_raw(this), useraccountid.into().abi(), authenticationtoken.into().abi(), wnschannelid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -186,7 +186,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveDeviceAsync)(::windows::core::Interface::as_raw(this), useraccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -199,7 +199,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateWnsChannelAsync)(::windows::core::Interface::as_raw(this), useraccountid.into().abi(), channeluri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -212,7 +212,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSessionsAsync)(::windows::core::Interface::as_raw(this), useraccountidlist.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -225,7 +225,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSessionsAndUnregisteredAccountsAsync)(::windows::core::Interface::as_raw(this), useraccountidlist.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -237,7 +237,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApproveSessionUsingAuthSessionInfoAsync)(::windows::core::Interface::as_raw(this), sessionauthentictionstatus, authenticationsessioninfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -250,7 +250,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApproveSessionAsync)(::windows::core::Interface::as_raw(this), sessionauthentictionstatus, useraccountid.into().abi(), sessionid.into().abi(), sessionauthenticationtype, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -262,7 +262,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DenySessionUsingAuthSessionInfoAsync)(::windows::core::Interface::as_raw(this), authenticationsessioninfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -275,13 +275,13 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DenySessionAsync)(::windows::core::Interface::as_raw(this), useraccountid.into().abi(), sessionid.into().abi(), sessionauthenticationtype, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Current() -> ::windows::core::Result { Self::IMicrosoftAccountMultiFactorAuthenticatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -396,14 +396,14 @@ impl MicrosoftAccountMultiFactorGetSessionsResult { pub fn Sessions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sessions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ServiceResponse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceResponse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -477,7 +477,7 @@ impl MicrosoftAccountMultiFactorOneTimeCodedInfo { pub fn Code(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Code)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -486,7 +486,7 @@ impl MicrosoftAccountMultiFactorOneTimeCodedInfo { pub fn TimeInterval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -495,14 +495,14 @@ impl MicrosoftAccountMultiFactorOneTimeCodedInfo { pub fn TimeToLive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeToLive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ServiceResponse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceResponse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -699,35 +699,35 @@ impl MicrosoftAccountMultiFactorSessionInfo { pub fn UserAccountId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserAccountId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SessionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplaySessionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplaySessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ApprovalStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApprovalStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AuthenticationType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -736,7 +736,7 @@ impl MicrosoftAccountMultiFactorSessionInfo { pub fn RequestTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -745,7 +745,7 @@ impl MicrosoftAccountMultiFactorSessionInfo { pub fn ExpirationTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -821,7 +821,7 @@ impl MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { pub fn Sessions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sessions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -830,14 +830,14 @@ impl MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { pub fn UnregisteredAccounts(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnregisteredAccounts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ServiceResponse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceResponse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Provider/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Provider/mod.rs index 45a20ce4f8..9b0c2ddb2e 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Provider/mod.rs @@ -318,7 +318,7 @@ impl SecondaryAuthenticationFactorAuthentication { pub fn ServiceAuthenticationHmac(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceAuthenticationHmac)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -327,7 +327,7 @@ impl SecondaryAuthenticationFactorAuthentication { pub fn SessionNonce(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionNonce)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -336,7 +336,7 @@ impl SecondaryAuthenticationFactorAuthentication { pub fn DeviceNonce(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceNonce)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -345,7 +345,7 @@ impl SecondaryAuthenticationFactorAuthentication { pub fn DeviceConfigurationData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceConfigurationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -360,7 +360,7 @@ impl SecondaryAuthenticationFactorAuthentication { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinishAuthenticationAsync)(::windows::core::Interface::as_raw(this), devicehmac.try_into().map_err(|e| e.into())?.abi(), sessionhmac.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -372,7 +372,7 @@ impl SecondaryAuthenticationFactorAuthentication { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbortAuthenticationAsync)(::windows::core::Interface::as_raw(this), errorlogmessage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -383,7 +383,7 @@ impl SecondaryAuthenticationFactorAuthentication { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISecondaryAuthenticationFactorAuthenticationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowNotificationMessageAsync)(::windows::core::Interface::as_raw(this), devicename.into().abi(), message, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -396,7 +396,7 @@ impl SecondaryAuthenticationFactorAuthentication { E1: ::std::convert::Into<::windows::core::Error>, { Self::ISecondaryAuthenticationFactorAuthenticationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAuthenticationAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), serviceauthenticationnonce.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -407,7 +407,7 @@ impl SecondaryAuthenticationFactorAuthentication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Foundation::EventHandler>>, { Self::ISecondaryAuthenticationFactorAuthenticationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationStageChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -420,7 +420,7 @@ impl SecondaryAuthenticationFactorAuthentication { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn GetAuthenticationStageInfoAsync() -> ::windows::core::Result> { Self::ISecondaryAuthenticationFactorAuthenticationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAuthenticationStageInfoAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -588,7 +588,7 @@ impl SecondaryAuthenticationFactorAuthenticationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -597,7 +597,7 @@ impl SecondaryAuthenticationFactorAuthenticationResult { pub fn Authentication(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Authentication)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -781,7 +781,7 @@ impl SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs { pub fn StageInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StageInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -874,7 +874,7 @@ impl SecondaryAuthenticationFactorAuthenticationStageInfo { pub fn Stage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -883,7 +883,7 @@ impl SecondaryAuthenticationFactorAuthenticationStageInfo { pub fn Scenario(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scenario)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -892,7 +892,7 @@ impl SecondaryAuthenticationFactorAuthenticationStageInfo { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1324,7 +1324,7 @@ impl SecondaryAuthenticationFactorInfo { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1333,7 +1333,7 @@ impl SecondaryAuthenticationFactorInfo { pub fn DeviceFriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceFriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1342,7 +1342,7 @@ impl SecondaryAuthenticationFactorInfo { pub fn DeviceModelNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceModelNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1351,7 +1351,7 @@ impl SecondaryAuthenticationFactorInfo { pub fn DeviceConfigurationData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceConfigurationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1360,7 +1360,7 @@ impl SecondaryAuthenticationFactorInfo { pub fn PresenceMonitoringMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PresenceMonitoringMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1369,7 +1369,7 @@ impl SecondaryAuthenticationFactorInfo { pub fn UpdateDevicePresenceAsync(&self, presencestate: SecondaryAuthenticationFactorDevicePresence) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateDevicePresenceAsync)(::windows::core::Interface::as_raw(this), presencestate, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1378,7 +1378,7 @@ impl SecondaryAuthenticationFactorInfo { pub fn IsAuthenticationSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAuthenticationSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1474,7 +1474,7 @@ impl SecondaryAuthenticationFactorRegistration { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterDevicePresenceMonitoringAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), deviceinstancepath.into().abi(), monitoringmode, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1490,7 +1490,7 @@ impl SecondaryAuthenticationFactorRegistration { E4: ::std::convert::Into<::windows::core::Error>, { Self::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterDevicePresenceMonitoringWithNewDeviceAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), deviceinstancepath.into().abi(), monitoringmode, devicefriendlyname.into().abi(), devicemodelnumber.into().abi(), deviceconfigurationdata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1501,7 +1501,7 @@ impl SecondaryAuthenticationFactorRegistration { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnregisterDevicePresenceMonitoringAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1509,7 +1509,7 @@ impl SecondaryAuthenticationFactorRegistration { #[cfg(feature = "deprecated")] pub fn IsDevicePresenceMonitoringSupported() -> ::windows::core::Result { Self::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDevicePresenceMonitoringSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1522,7 +1522,7 @@ impl SecondaryAuthenticationFactorRegistration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinishRegisteringDeviceAsync)(::windows::core::Interface::as_raw(this), deviceconfigurationdata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1534,7 +1534,7 @@ impl SecondaryAuthenticationFactorRegistration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AbortRegisteringDeviceAsync)(::windows::core::Interface::as_raw(this), errorlogmessage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1551,7 +1551,7 @@ impl SecondaryAuthenticationFactorRegistration { E4: ::std::convert::Into<::windows::core::Error>, { Self::ISecondaryAuthenticationFactorRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStartRegisteringDeviceAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), capabilities, devicefriendlyname.into().abi(), devicemodelnumber.into().abi(), devicekey.try_into().map_err(|e| e.into())?.abi(), mutualauthenticationkey.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1559,7 +1559,7 @@ impl SecondaryAuthenticationFactorRegistration { #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllRegisteredDeviceInfoAsync(querytype: SecondaryAuthenticationFactorDeviceFindScope) -> ::windows::core::Result>> { Self::ISecondaryAuthenticationFactorRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllRegisteredDeviceInfoAsync)(::windows::core::Interface::as_raw(this), querytype, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1570,7 +1570,7 @@ impl SecondaryAuthenticationFactorRegistration { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISecondaryAuthenticationFactorRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnregisterDeviceAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1583,7 +1583,7 @@ impl SecondaryAuthenticationFactorRegistration { E1: ::std::convert::Into<::windows::core::Error>, { Self::ISecondaryAuthenticationFactorRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateDeviceConfigurationDataAsync)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), deviceconfigurationdata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1688,7 +1688,7 @@ impl SecondaryAuthenticationFactorRegistrationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1697,7 +1697,7 @@ impl SecondaryAuthenticationFactorRegistrationResult { pub fn Registration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Registration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs index 51aa75b7fe..0dee87a524 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs @@ -9,35 +9,35 @@ impl EnterpriseKeyCredentialRegistrationInfo { pub fn TenantId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TenantId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TenantName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TenantName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn KeyId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn KeyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -113,13 +113,13 @@ impl EnterpriseKeyCredentialRegistrationManager { pub fn GetRegistrationsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRegistrationsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn Current() -> ::windows::core::Result { Self::IEnterpriseKeyCredentialRegistrationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs index 8519145204..58149bb9fd 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs @@ -214,7 +214,7 @@ impl OnlineIdAuthenticator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticateUserAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -227,7 +227,7 @@ impl OnlineIdAuthenticator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticateUserAsyncAdvanced)(::windows::core::Interface::as_raw(this), requests.try_into().map_err(|e| e.into())?.abi(), credentialprompttype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -236,7 +236,7 @@ impl OnlineIdAuthenticator { pub fn SignOutUserAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignOutUserAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -247,21 +247,21 @@ impl OnlineIdAuthenticator { pub fn ApplicationId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn CanSignOut(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanSignOut)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AuthenticatedSafeCustomerId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticatedSafeCustomerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -335,21 +335,21 @@ impl OnlineIdServiceTicket { pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -423,14 +423,14 @@ impl OnlineIdServiceTicketRequest { pub fn Service(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Service)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Policy(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Policy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -440,7 +440,7 @@ impl OnlineIdServiceTicketRequest { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IOnlineIdServiceTicketRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOnlineIdServiceTicketRequest)(::windows::core::Interface::as_raw(this), service.into().abi(), policy.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -449,7 +449,7 @@ impl OnlineIdServiceTicketRequest { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IOnlineIdServiceTicketRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOnlineIdServiceTicketRequestAdvanced)(::windows::core::Interface::as_raw(this), service.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -526,7 +526,7 @@ pub struct OnlineIdSystemAuthenticator; impl OnlineIdSystemAuthenticator { pub fn Default() -> ::windows::core::Result { Self::IOnlineIdSystemAuthenticatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Default)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -537,7 +537,7 @@ impl OnlineIdSystemAuthenticator { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::User>>, { Self::IOnlineIdSystemAuthenticatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -562,7 +562,7 @@ impl OnlineIdSystemAuthenticatorForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTicketAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -573,7 +573,7 @@ impl OnlineIdSystemAuthenticatorForUser { pub fn ApplicationId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -582,7 +582,7 @@ impl OnlineIdSystemAuthenticatorForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -656,14 +656,14 @@ impl OnlineIdSystemIdentity { pub fn Ticket(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ticket)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -737,21 +737,21 @@ impl OnlineIdSystemTicketResult { pub fn Identity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Identity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -873,7 +873,7 @@ impl SignOutUserOperation { pub fn Completed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -888,7 +888,7 @@ impl SignOutUserOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -897,7 +897,7 @@ impl SignOutUserOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -906,7 +906,7 @@ impl SignOutUserOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1086,7 +1086,7 @@ impl UserAuthenticationOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1095,7 +1095,7 @@ impl UserAuthenticationOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1104,7 +1104,7 @@ impl UserAuthenticationOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1134,7 +1134,7 @@ impl UserAuthenticationOperation { pub fn Completed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1143,7 +1143,7 @@ impl UserAuthenticationOperation { pub fn GetResults(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1309,56 +1309,56 @@ impl UserIdentity { pub fn Tickets(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tickets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SafeCustomerId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SafeCustomerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SignInName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignInName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FirstName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LastName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsBetaAccount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBetaAccount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsConfirmedPC(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsConfirmedPC)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs index c59feb46a6..17c14d6040 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs @@ -7,21 +7,21 @@ impl FindAllAccountsResult { pub fn Accounts(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Accounts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProviderError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -504,7 +504,7 @@ impl WebAccountEventArgs { pub fn Account(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Account)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -583,7 +583,7 @@ impl WebAccountMonitor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -601,7 +601,7 @@ impl WebAccountMonitor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -619,7 +619,7 @@ impl WebAccountMonitor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultSignInAccountChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -637,7 +637,7 @@ impl WebAccountMonitor { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountPictureUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -720,7 +720,7 @@ impl WebAuthenticationCoreManager { P0: ::std::convert::Into<::windows::core::InParam<'a, WebTokenRequest>>, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTokenSilentlyAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -732,7 +732,7 @@ impl WebAuthenticationCoreManager { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTokenSilentlyWithWebAccountAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -743,7 +743,7 @@ impl WebAuthenticationCoreManager { P0: ::std::convert::Into<::windows::core::InParam<'a, WebTokenRequest>>, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestTokenAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -755,7 +755,7 @@ impl WebAuthenticationCoreManager { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestTokenWithWebAccountAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -767,7 +767,7 @@ impl WebAuthenticationCoreManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAccountAsync)(::windows::core::Interface::as_raw(this), provider.into().abi(), webaccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -778,7 +778,7 @@ impl WebAuthenticationCoreManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAccountProviderAsync)(::windows::core::Interface::as_raw(this), webaccountproviderid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -790,7 +790,7 @@ impl WebAuthenticationCoreManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAccountProviderWithAuthorityAsync)(::windows::core::Interface::as_raw(this), webaccountproviderid.into().abi(), authority.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -803,7 +803,7 @@ impl WebAuthenticationCoreManager { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::System::User>>, { Self::IWebAuthenticationCoreManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAccountProviderWithAuthorityForUserAsync)(::windows::core::Interface::as_raw(this), webaccountproviderid.into().abi(), authority.into().abi(), user.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -815,7 +815,7 @@ impl WebAuthenticationCoreManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IWebAuthenticationCoreManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWebAccountMonitor)(::windows::core::Interface::as_raw(this), webaccounts.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -826,7 +826,7 @@ impl WebAuthenticationCoreManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccountProvider>>, { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAccountsAsync)(::windows::core::Interface::as_raw(this), provider.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -838,7 +838,7 @@ impl WebAuthenticationCoreManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAccountsWithClientIdAsync)(::windows::core::Interface::as_raw(this), provider.into().abi(), clientid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -849,7 +849,7 @@ impl WebAuthenticationCoreManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindSystemAccountProviderAsync)(::windows::core::Interface::as_raw(this), webaccountproviderid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -861,7 +861,7 @@ impl WebAuthenticationCoreManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindSystemAccountProviderWithAuthorityAsync)(::windows::core::Interface::as_raw(this), webaccountproviderid.into().abi(), authority.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -874,7 +874,7 @@ impl WebAuthenticationCoreManager { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::System::User>>, { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindSystemAccountProviderWithAuthorityForUserAsync)(::windows::core::Interface::as_raw(this), webaccountproviderid.into().abi(), authority.into().abi(), user.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -909,14 +909,14 @@ impl WebProviderError { pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ErrorMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -925,7 +925,7 @@ impl WebProviderError { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -934,7 +934,7 @@ impl WebProviderError { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebProviderErrorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), errorcode, errormessage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1015,28 +1015,28 @@ impl WebTokenRequest { pub fn WebAccountProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccountProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Scope(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scope)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ClientId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PromptType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PromptType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1045,7 +1045,7 @@ impl WebTokenRequest { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1054,14 +1054,14 @@ impl WebTokenRequest { pub fn AppProperties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CorrelationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CorrelationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1081,7 +1081,7 @@ impl WebTokenRequest { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebTokenRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), provider.into().abi(), scope.into().abi(), clientid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1094,7 +1094,7 @@ impl WebTokenRequest { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebTokenRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithPromptType)(::windows::core::Interface::as_raw(this), provider.into().abi(), scope.into().abi(), clientid.into().abi(), prompttype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1105,7 +1105,7 @@ impl WebTokenRequest { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccountProvider>>, { Self::IWebTokenRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithProvider)(::windows::core::Interface::as_raw(this), provider.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1117,7 +1117,7 @@ impl WebTokenRequest { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebTokenRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithScope)(::windows::core::Interface::as_raw(this), provider.into().abi(), scope.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1232,21 +1232,21 @@ impl WebTokenRequestResult { pub fn ResponseData(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ResponseStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResponseError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1255,7 +1255,7 @@ impl WebTokenRequestResult { pub fn InvalidateCacheAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidateCacheAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1374,14 +1374,14 @@ impl WebTokenResponse { pub fn Token(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Token)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProviderError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1390,7 +1390,7 @@ impl WebTokenResponse { pub fn WebAccount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1399,7 +1399,7 @@ impl WebTokenResponse { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1408,7 +1408,7 @@ impl WebTokenResponse { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebTokenResponseFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithToken)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1420,7 +1420,7 @@ impl WebTokenResponse { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebTokenResponseFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTokenAndAccount)(::windows::core::Interface::as_raw(this), token.into().abi(), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1433,7 +1433,7 @@ impl WebTokenResponse { P2: ::std::convert::Into<::windows::core::InParam<'a, WebProviderError>>, { Self::IWebTokenResponseFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTokenAccountAndError)(::windows::core::Interface::as_raw(this), token.into().abi(), webaccount.into().abi(), error.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } 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 49239549d0..d42611281b 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 @@ -318,7 +318,7 @@ impl IWebAccountProviderOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -563,7 +563,7 @@ impl IWebAccountProviderTokenObjects { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -640,14 +640,14 @@ impl IWebAccountProviderTokenObjects2 { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Operation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -744,7 +744,7 @@ impl IWebAccountProviderTokenOperation { pub fn ProviderRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -753,7 +753,7 @@ impl IWebAccountProviderTokenOperation { pub fn ProviderResponses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderResponses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -768,14 +768,14 @@ impl IWebAccountProviderTokenOperation { pub fn CacheExpirationTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CacheExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1106,21 +1106,21 @@ impl WebAccountClientView { pub fn ApplicationCallbackUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationCallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AccountPairwiseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountPairwiseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1131,7 +1131,7 @@ impl WebAccountClientView { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Foundation::Uri>>, { Self::IWebAccountClientViewFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), viewtype, applicationcallbackuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1143,7 +1143,7 @@ impl WebAccountClientView { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAccountClientViewFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithPairwiseId)(::windows::core::Interface::as_raw(this), viewtype, applicationcallbackuri.into().abi(), accountpairwiseid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1262,7 +1262,7 @@ impl WebAccountManager { E2: ::std::convert::Into<::windows::core::Error>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateWebAccountPropertiesAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), webaccountusername.into().abi(), additionalproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1276,7 +1276,7 @@ impl WebAccountManager { E2: ::std::convert::Into<::windows::core::Error>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddWebAccountAsync)(::windows::core::Interface::as_raw(this), webaccountid.into().abi(), webaccountusername.into().abi(), props.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1287,7 +1287,7 @@ impl WebAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteWebAccountAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1295,7 +1295,7 @@ impl WebAccountManager { #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub fn FindAllProviderWebAccountsAsync() -> ::windows::core::Result>> { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllProviderWebAccountsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1308,7 +1308,7 @@ impl WebAccountManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PushCookiesAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), cookies.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1320,7 +1320,7 @@ impl WebAccountManager { P1: ::std::convert::Into<::windows::core::InParam<'a, WebAccountClientView>>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetViewAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), view.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1332,7 +1332,7 @@ impl WebAccountManager { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Foundation::Uri>>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearViewAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), applicationcallbackuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1343,7 +1343,7 @@ impl WebAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetViewsAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1356,7 +1356,7 @@ impl WebAccountManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetWebAccountPictureAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), webaccountpicture.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1367,7 +1367,7 @@ impl WebAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearWebAccountPictureAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1379,7 +1379,7 @@ impl WebAccountManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAccountManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PullCookiesAsync)(::windows::core::Interface::as_raw(this), uristring.into().abi(), callerpfn.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1390,7 +1390,7 @@ impl WebAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::System::User>>, { Self::IWebAccountManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllProviderWebAccountsForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1405,7 +1405,7 @@ impl WebAccountManager { E3: ::std::convert::Into<::windows::core::Error>, { Self::IWebAccountManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddWebAccountForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), webaccountid.into().abi(), webaccountusername.into().abi(), props.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1420,7 +1420,7 @@ impl WebAccountManager { E3: ::std::convert::Into<::windows::core::Error>, { Self::IWebAccountManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddWebAccountWithScopeForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), webaccountid.into().abi(), webaccountusername.into().abi(), props.try_into().map_err(|e| e.into())?.abi(), scope, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1436,7 +1436,7 @@ impl WebAccountManager { P4: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAccountManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddWebAccountWithScopeAndMapForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), webaccountid.into().abi(), webaccountusername.into().abi(), props.try_into().map_err(|e| e.into())?.abi(), scope, peruserwebaccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1444,7 +1444,7 @@ impl WebAccountManager { #[cfg(feature = "Foundation")] pub fn InvalidateAppCacheForAllAccountsAsync() -> ::windows::core::Result { Self::IWebAccountManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidateAppCacheForAllAccountsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1455,7 +1455,7 @@ impl WebAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAccountManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvalidateAppCacheForAccountAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1470,7 +1470,7 @@ impl WebAccountManager { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAccountMapManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddWebAccountWithScopeAndMapAsync)(::windows::core::Interface::as_raw(this), webaccountid.into().abi(), webaccountusername.into().abi(), props.try_into().map_err(|e| e.into())?.abi(), scope, peruserwebaccountid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1482,7 +1482,7 @@ impl WebAccountManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAccountMapManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetPerAppToPerUserAccountAsync)(::windows::core::Interface::as_raw(this), perappaccount.into().abi(), peruserwebaccountid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1493,7 +1493,7 @@ impl WebAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAccountMapManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPerUserFromPerAppAccountAsync)(::windows::core::Interface::as_raw(this), perappaccount.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1504,7 +1504,7 @@ impl WebAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAccountMapManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearPerUserFromPerAppAccountAsync)(::windows::core::Interface::as_raw(this), perappaccount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1518,7 +1518,7 @@ impl WebAccountManager { E2: ::std::convert::Into<::windows::core::Error>, { Self::IWebAccountScopeManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddWebAccountWithScopeAsync)(::windows::core::Interface::as_raw(this), webaccountid.into().abi(), webaccountusername.into().abi(), props.try_into().map_err(|e| e.into())?.abi(), scope, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1529,7 +1529,7 @@ impl WebAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAccountScopeManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetScopeAsync)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), scope, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1540,7 +1540,7 @@ impl WebAccountManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Credentials::WebAccount>>, { Self::IWebAccountScopeManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScope)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1589,7 +1589,7 @@ impl WebAccountProviderAddAccountOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1697,14 +1697,14 @@ impl WebAccountProviderDeleteAccountOperation { pub fn WebAccount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1829,7 +1829,7 @@ impl WebAccountProviderGetTokenSilentOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1849,7 +1849,7 @@ impl WebAccountProviderGetTokenSilentOperation { pub fn ProviderRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1858,7 +1858,7 @@ impl WebAccountProviderGetTokenSilentOperation { pub fn ProviderResponses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderResponses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1873,7 +1873,7 @@ impl WebAccountProviderGetTokenSilentOperation { pub fn CacheExpirationTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CacheExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2025,7 +2025,7 @@ impl WebAccountProviderManageAccountOperation { pub fn WebAccount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2036,7 +2036,7 @@ impl WebAccountProviderManageAccountOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2181,14 +2181,14 @@ impl WebAccountProviderRequestTokenOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProviderRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2197,7 +2197,7 @@ impl WebAccountProviderRequestTokenOperation { pub fn ProviderResponses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderResponses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2212,7 +2212,7 @@ impl WebAccountProviderRequestTokenOperation { pub fn CacheExpirationTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CacheExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2379,7 +2379,7 @@ impl WebAccountProviderRetrieveCookiesOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2388,7 +2388,7 @@ impl WebAccountProviderRetrieveCookiesOperation { pub fn Context(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Context)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2397,7 +2397,7 @@ impl WebAccountProviderRetrieveCookiesOperation { pub fn Cookies(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cookies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2415,7 +2415,7 @@ impl WebAccountProviderRetrieveCookiesOperation { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2424,7 +2424,7 @@ impl WebAccountProviderRetrieveCookiesOperation { pub fn ApplicationCallbackUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationCallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2549,7 +2549,7 @@ impl WebAccountProviderSignOutAccountOperation { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2558,7 +2558,7 @@ impl WebAccountProviderSignOutAccountOperation { pub fn WebAccount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2567,14 +2567,14 @@ impl WebAccountProviderSignOutAccountOperation { pub fn ApplicationCallbackUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationCallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ClientId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2686,7 +2686,7 @@ impl WebAccountProviderTriggerDetails { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2695,7 +2695,7 @@ impl WebAccountProviderTriggerDetails { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2905,7 +2905,7 @@ impl WebProviderTokenRequest { pub fn ClientRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2914,14 +2914,14 @@ impl WebProviderTokenRequest { pub fn WebAccounts(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccounts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn WebAccountSelectionOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccountSelectionOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2930,7 +2930,7 @@ impl WebProviderTokenRequest { pub fn ApplicationCallbackUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationCallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2942,7 +2942,7 @@ impl WebProviderTokenRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetApplicationTokenBindingKeyAsync)(::windows::core::Interface::as_raw(this), keytype, target.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2954,21 +2954,21 @@ impl WebProviderTokenRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetApplicationTokenBindingKeyIdAsync)(::windows::core::Interface::as_raw(this), keytype, target.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ApplicationPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ApplicationProcessName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationProcessName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2980,7 +2980,7 @@ impl WebProviderTokenRequest { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckApplicationForCapabilityAsync)(::windows::core::Interface::as_raw(this), capabilityname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3056,7 +3056,7 @@ impl WebProviderTokenResponse { pub fn ClientResponse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientResponse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3067,7 +3067,7 @@ impl WebProviderTokenResponse { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Core::WebTokenResponse>>, { Self::IWebProviderTokenResponseFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), webtokenresponse.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs index 4baa0c15b3..9bf3c9a404 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs @@ -119,7 +119,7 @@ impl WebAuthenticationBroker { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IWebAuthenticationBrokerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticateWithCallbackUriAsync)(::windows::core::Interface::as_raw(this), options, requesturi.into().abi(), callbackuri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -130,7 +130,7 @@ impl WebAuthenticationBroker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IWebAuthenticationBrokerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticateWithoutCallbackUriAsync)(::windows::core::Interface::as_raw(this), options, requesturi.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -138,7 +138,7 @@ impl WebAuthenticationBroker { #[cfg(feature = "Foundation")] pub fn GetCurrentApplicationCallbackUri() -> ::windows::core::Result { Self::IWebAuthenticationBrokerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentApplicationCallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -176,7 +176,7 @@ impl WebAuthenticationBroker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IWebAuthenticationBrokerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticateSilentlyAsync)(::windows::core::Interface::as_raw(this), requesturi.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -187,7 +187,7 @@ impl WebAuthenticationBroker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IWebAuthenticationBrokerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticateSilentlyWithOptionsAsync)(::windows::core::Interface::as_raw(this), requesturi.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -277,21 +277,21 @@ impl WebAuthenticationResult { pub fn ResponseData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ResponseStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResponseErrorDetail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseErrorDetail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs index c33c2d7342..5d57278791 100644 --- a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs @@ -5,7 +5,7 @@ impl AppCapability { pub fn CapabilityName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapabilityName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -14,7 +14,7 @@ impl AppCapability { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23,14 +23,14 @@ impl AppCapability { pub fn RequestAccessAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CheckAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42,7 +42,7 @@ impl AppCapability { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -60,7 +60,7 @@ impl AppCapability { E0: ::std::convert::Into<::windows::core::Error>, { Self::IAppCapabilityStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessForCapabilitiesAsync)(::windows::core::Interface::as_raw(this), capabilitynames.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -73,7 +73,7 @@ impl AppCapability { E1: ::std::convert::Into<::windows::core::Error>, { Self::IAppCapabilityStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessForCapabilitiesForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), capabilitynames.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -82,7 +82,7 @@ impl AppCapability { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppCapabilityStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), capabilityname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -94,7 +94,7 @@ impl AppCapability { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppCapabilityStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithProcessIdForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), capabilityname.into().abi(), pid, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs index aa9e1d5a1a..ffbee4358f 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs @@ -47,7 +47,7 @@ impl CredentialPicker { P0: ::std::convert::Into<::windows::core::InParam<'a, CredentialPickerOptions>>, { Self::ICredentialPickerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickWithOptionsAsync)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -59,7 +59,7 @@ impl CredentialPicker { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICredentialPickerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickWithMessageAsync)(::windows::core::Interface::as_raw(this), targetname.into().abi(), message.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -72,7 +72,7 @@ impl CredentialPicker { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICredentialPickerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickWithCaptionAsync)(::windows::core::Interface::as_raw(this), targetname.into().abi(), message.into().abi(), caption.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -106,7 +106,7 @@ impl CredentialPickerOptions { pub fn Caption(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Caption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -120,7 +120,7 @@ impl CredentialPickerOptions { pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -131,7 +131,7 @@ impl CredentialPickerOptions { pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -145,7 +145,7 @@ impl CredentialPickerOptions { pub fn TargetName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -156,7 +156,7 @@ impl CredentialPickerOptions { pub fn AuthenticationProtocol(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationProtocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -170,7 +170,7 @@ impl CredentialPickerOptions { pub fn CustomAuthenticationProtocol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomAuthenticationProtocol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -189,7 +189,7 @@ impl CredentialPickerOptions { pub fn PreviousCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -200,7 +200,7 @@ impl CredentialPickerOptions { pub fn AlwaysDisplayDialog(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlwaysDisplayDialog)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -211,7 +211,7 @@ impl CredentialPickerOptions { pub fn CallerSavesCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerSavesCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -222,7 +222,7 @@ impl CredentialPickerOptions { pub fn CredentialSaveOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialSaveOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -294,21 +294,21 @@ impl CredentialPickerResults { pub fn ErrorCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CredentialSaveOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialSaveOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CredentialSaved(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialSaved)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -317,28 +317,28 @@ impl CredentialPickerResults { pub fn Credential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Credential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CredentialDomainName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialDomainName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CredentialUserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialUserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CredentialPassword(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialPassword)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -588,7 +588,7 @@ impl UserConsentVerifier { #[cfg(feature = "Foundation")] pub fn CheckAvailabilityAsync() -> ::windows::core::Result> { Self::IUserConsentVerifierStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckAvailabilityAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -599,7 +599,7 @@ impl UserConsentVerifier { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserConsentVerifierStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestVerificationAsync)(::windows::core::Interface::as_raw(this), message.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index 5801c7d85e..448bade892 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -183,21 +183,21 @@ impl IWebAccount { pub fn WebAccountProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccountProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -393,7 +393,7 @@ impl KeyCredential { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -402,7 +402,7 @@ impl KeyCredential { pub fn RetrievePublicKeyWithDefaultBlobType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePublicKeyWithDefaultBlobType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -411,7 +411,7 @@ impl KeyCredential { pub fn RetrievePublicKeyWithBlobType(&self, blobtype: super::Cryptography::Core::CryptographicPublicKeyBlobType) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePublicKeyWithBlobType)(::windows::core::Interface::as_raw(this), blobtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -424,7 +424,7 @@ impl KeyCredential { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSignAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -433,7 +433,7 @@ impl KeyCredential { pub fn GetAttestationAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAttestationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -509,7 +509,7 @@ impl KeyCredentialAttestationResult { pub fn CertificateChainBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CertificateChainBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -518,14 +518,14 @@ impl KeyCredentialAttestationResult { pub fn AttestationBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttestationBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -669,7 +669,7 @@ impl KeyCredentialManager { #[cfg(feature = "Foundation")] pub fn IsSupportedAsync() -> ::windows::core::Result> { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupportedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -677,7 +677,7 @@ impl KeyCredentialManager { #[cfg(feature = "Foundation")] pub fn RenewAttestationAsync() -> ::windows::core::Result { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenewAttestationAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -688,7 +688,7 @@ impl KeyCredentialManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCreateAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), option, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -699,7 +699,7 @@ impl KeyCredentialManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -710,7 +710,7 @@ impl KeyCredentialManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -732,14 +732,14 @@ impl KeyCredentialOperationResult { pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -813,14 +813,14 @@ impl KeyCredentialRetrievalResult { pub fn Credential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Credential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -944,14 +944,14 @@ impl PasswordCredential { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICredentialFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePasswordCredential)(::windows::core::Interface::as_raw(this), resource.into().abi(), username.into().abi(), password.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Resource(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Resource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -965,7 +965,7 @@ impl PasswordCredential { pub fn UserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -979,7 +979,7 @@ impl PasswordCredential { pub fn Password(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Password)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -999,7 +999,7 @@ impl PasswordCredential { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1089,7 +1089,7 @@ impl PasswordCredentialPropertyStore { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1101,7 +1101,7 @@ impl PasswordCredentialPropertyStore { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1110,7 +1110,7 @@ impl PasswordCredentialPropertyStore { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1122,7 +1122,7 @@ impl PasswordCredentialPropertyStore { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1131,7 +1131,7 @@ impl PasswordCredentialPropertyStore { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1144,7 +1144,7 @@ impl PasswordCredentialPropertyStore { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1171,7 +1171,7 @@ impl PasswordCredentialPropertyStore { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1395,7 +1395,7 @@ impl PasswordVault { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Retrieve)(::windows::core::Interface::as_raw(this), resource.into().abi(), username.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1407,7 +1407,7 @@ impl PasswordVault { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllByResource)(::windows::core::Interface::as_raw(this), resource.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1419,7 +1419,7 @@ impl PasswordVault { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllByUserName)(::windows::core::Interface::as_raw(this), username.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1428,7 +1428,7 @@ impl PasswordVault { pub fn RetrieveAll(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveAll)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1502,28 +1502,28 @@ impl WebAccount { pub fn WebAccountProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccountProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1532,7 +1532,7 @@ impl WebAccount { pub fn Properties(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1541,7 +1541,7 @@ impl WebAccount { pub fn GetPictureAsync(&self, desizedsize: WebAccountPictureSize) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPictureAsync)(::windows::core::Interface::as_raw(this), desizedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1550,7 +1550,7 @@ impl WebAccount { pub fn SignOutAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignOutAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1562,7 +1562,7 @@ impl WebAccount { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignOutWithClientIdAsync)(::windows::core::Interface::as_raw(this), clientid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1572,7 +1572,7 @@ impl WebAccount { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebAccountFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWebAccount)(::windows::core::Interface::as_raw(this), webaccountprovider.into().abi(), username.into().abi(), state, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1706,14 +1706,14 @@ impl WebAccountProvider { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1722,21 +1722,21 @@ impl WebAccountProvider { pub fn IconUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IconUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayPurpose(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayPurpose)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Authority(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Authority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1745,14 +1745,14 @@ impl WebAccountProvider { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSystemProvider(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSystemProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1765,7 +1765,7 @@ impl WebAccountProvider { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IWebAccountProviderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWebAccountProvider)(::windows::core::Interface::as_raw(this), id.into().abi(), displayname.into().abi(), iconuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs index 1d0f5cfdce..63b2a84fa9 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs @@ -11,7 +11,7 @@ impl Certificate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildChainAsync)(::windows::core::Interface::as_raw(this), certificates.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -25,21 +25,21 @@ impl Certificate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildChainWithParametersAsync)(::windows::core::Interface::as_raw(this), certificates.try_into().map_err(|e| e.into())?.abi(), parameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SerialNumber(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SerialNumber)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } pub fn GetHashValue(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHashValue)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -49,7 +49,7 @@ impl Certificate { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHashValueWithAlgorithm)(::windows::core::Interface::as_raw(this), hashalgorithmname.into().abi(), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -58,35 +58,35 @@ impl Certificate { pub fn GetCertificateBlob(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCertificateBlob)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Issuer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Issuer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn HasPrivateKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasPrivateKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsStronglyProtected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStronglyProtected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -95,7 +95,7 @@ impl Certificate { pub fn ValidFrom(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidFrom)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -104,7 +104,7 @@ impl Certificate { pub fn ValidTo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidTo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -113,7 +113,7 @@ impl Certificate { pub fn EnhancedKeyUsages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnhancedKeyUsages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -127,70 +127,70 @@ impl Certificate { pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsSecurityDeviceBound(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSecurityDeviceBound)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn KeyUsages(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyUsages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn KeyAlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyAlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SignatureAlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignatureAlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SignatureHashAlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignatureHashAlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SubjectAlternativeName(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubjectAlternativeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPerUser(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPerUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StoreName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn KeyStorageProviderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyStorageProviderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -202,7 +202,7 @@ impl Certificate { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICertificateFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCertificate)(::windows::core::Interface::as_raw(this), certblob.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -281,7 +281,7 @@ impl CertificateChain { pub fn Validate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Validate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -291,7 +291,7 @@ impl CertificateChain { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidateWithParameters)(::windows::core::Interface::as_raw(this), parameter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -300,7 +300,7 @@ impl CertificateChain { pub fn GetCertificates(&self, includeroot: bool) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCertificates)(::windows::core::Interface::as_raw(this), includeroot, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -413,7 +413,7 @@ impl CertificateEnrollmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, CertificateRequestProperties>>, { Self::ICertificateEnrollmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRequestAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -424,7 +424,7 @@ impl CertificateEnrollmentManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICertificateEnrollmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallCertificateAsync)(::windows::core::Interface::as_raw(this), certificate.into().abi(), installoption, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -437,13 +437,13 @@ impl CertificateEnrollmentManager { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICertificateEnrollmentManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportPfxDataAsync)(::windows::core::Interface::as_raw(this), pfxdata.into().abi(), password.into().abi(), exportable, keyprotectionlevel, installoption, friendlyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UserCertificateEnrollmentManager() -> ::windows::core::Result { Self::ICertificateEnrollmentManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserCertificateEnrollmentManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -457,7 +457,7 @@ impl CertificateEnrollmentManager { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICertificateEnrollmentManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportPfxDataToKspAsync)(::windows::core::Interface::as_raw(this), pfxdata.into().abi(), password.into().abi(), exportable, keyprotectionlevel, installoption, friendlyname.into().abi(), keystorageprovider.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -470,7 +470,7 @@ impl CertificateEnrollmentManager { P2: ::std::convert::Into<::windows::core::InParam<'a, PfxImportParameters>>, { Self::ICertificateEnrollmentManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportPfxDataToKspWithParametersAsync)(::windows::core::Interface::as_raw(this), pfxdata.into().abi(), password.into().abi(), pfximportparameters.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -507,7 +507,7 @@ impl CertificateExtension { pub fn ObjectId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ObjectId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -521,7 +521,7 @@ impl CertificateExtension { pub fn IsCritical(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCritical)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -539,7 +539,7 @@ impl CertificateExtension { pub fn Value(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -624,7 +624,7 @@ impl CertificateKeyUsages { pub fn EncipherOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncipherOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -635,7 +635,7 @@ impl CertificateKeyUsages { pub fn CrlSign(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CrlSign)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -646,7 +646,7 @@ impl CertificateKeyUsages { pub fn KeyCertificateSign(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyCertificateSign)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -657,7 +657,7 @@ impl CertificateKeyUsages { pub fn KeyAgreement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyAgreement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -668,7 +668,7 @@ impl CertificateKeyUsages { pub fn DataEncipherment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataEncipherment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -679,7 +679,7 @@ impl CertificateKeyUsages { pub fn KeyEncipherment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyEncipherment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -690,7 +690,7 @@ impl CertificateKeyUsages { pub fn NonRepudiation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NonRepudiation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -701,7 +701,7 @@ impl CertificateKeyUsages { pub fn DigitalSignature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DigitalSignature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -788,14 +788,14 @@ impl CertificateQuery { pub fn EnhancedKeyUsages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnhancedKeyUsages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IssuerName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IssuerName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -809,7 +809,7 @@ impl CertificateQuery { pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -823,7 +823,7 @@ impl CertificateQuery { pub fn Thumbprint(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbprint)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -834,7 +834,7 @@ impl CertificateQuery { pub fn HardwareOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardwareOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -845,7 +845,7 @@ impl CertificateQuery { pub fn IncludeDuplicates(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeDuplicates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -856,7 +856,7 @@ impl CertificateQuery { pub fn IncludeExpiredCertificates(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IncludeExpiredCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -867,7 +867,7 @@ impl CertificateQuery { pub fn StoreName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -955,7 +955,7 @@ impl CertificateRequestProperties { pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -969,7 +969,7 @@ impl CertificateRequestProperties { pub fn KeyAlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyAlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -983,7 +983,7 @@ impl CertificateRequestProperties { pub fn KeySize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeySize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -994,7 +994,7 @@ impl CertificateRequestProperties { pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1008,7 +1008,7 @@ impl CertificateRequestProperties { pub fn HashAlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HashAlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1022,7 +1022,7 @@ impl CertificateRequestProperties { pub fn Exportable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exportable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1033,7 +1033,7 @@ impl CertificateRequestProperties { pub fn KeyUsages(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyUsages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1044,7 +1044,7 @@ impl CertificateRequestProperties { pub fn KeyProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1055,7 +1055,7 @@ impl CertificateRequestProperties { pub fn KeyStorageProviderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyStorageProviderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1069,7 +1069,7 @@ impl CertificateRequestProperties { pub fn SmartcardReaderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartcardReaderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1083,7 +1083,7 @@ impl CertificateRequestProperties { pub fn SigningCertificate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SigningCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1097,7 +1097,7 @@ impl CertificateRequestProperties { pub fn AttestationCredentialCertificate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttestationCredentialCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1111,7 +1111,7 @@ impl CertificateRequestProperties { pub fn CurveName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurveName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1125,7 +1125,7 @@ impl CertificateRequestProperties { pub fn CurveParameters(&self) -> ::windows::core::Result<::windows::core::Array> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurveParameters)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -1136,7 +1136,7 @@ impl CertificateRequestProperties { pub fn ContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainerNamePrefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1150,7 +1150,7 @@ impl CertificateRequestProperties { pub fn ContainerName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainerName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1164,7 +1164,7 @@ impl CertificateRequestProperties { pub fn UseExistingKey(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UseExistingKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1177,14 +1177,14 @@ impl CertificateRequestProperties { pub fn SuppressedDefaults(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuppressedDefaults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SubjectAlternativeName(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubjectAlternativeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1193,7 +1193,7 @@ impl CertificateRequestProperties { pub fn Extensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Extensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1281,7 +1281,7 @@ impl CertificateStore { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1355,7 +1355,7 @@ impl CertificateStores { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1366,19 +1366,19 @@ impl CertificateStores { P0: ::std::convert::Into<::windows::core::InParam<'a, CertificateQuery>>, { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllWithQueryAsync)(::windows::core::Interface::as_raw(this), query.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } pub fn TrustedRootCertificationAuthorities() -> ::windows::core::Result { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrustedRootCertificationAuthorities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IntermediateCertificationAuthorities() -> ::windows::core::Result { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IntermediateCertificationAuthorities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1387,7 +1387,7 @@ impl CertificateStores { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStoreByName)(::windows::core::Interface::as_raw(this), storename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1396,7 +1396,7 @@ impl CertificateStores { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICertificateStoresStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUserStoreByName)(::windows::core::Interface::as_raw(this), storename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1430,7 +1430,7 @@ impl ChainBuildingParameters { pub fn EnhancedKeyUsages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnhancedKeyUsages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1439,7 +1439,7 @@ impl ChainBuildingParameters { pub fn ValidationTimestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValidationTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1452,7 +1452,7 @@ impl ChainBuildingParameters { pub fn RevocationCheckEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RevocationCheckEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1463,7 +1463,7 @@ impl ChainBuildingParameters { pub fn NetworkRetrievalEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NetworkRetrievalEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1474,7 +1474,7 @@ impl ChainBuildingParameters { pub fn AuthorityInformationAccessEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthorityInformationAccessEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1485,7 +1485,7 @@ impl ChainBuildingParameters { pub fn CurrentTimeValidationEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentTimeValidationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1498,7 +1498,7 @@ impl ChainBuildingParameters { pub fn ExclusiveTrustRoots(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExclusiveTrustRoots)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1579,7 +1579,7 @@ impl ChainValidationParameters { pub fn CertificateChainPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CertificateChainPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1592,7 +1592,7 @@ impl ChainValidationParameters { pub fn ServerDnsName(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerDnsName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1723,14 +1723,14 @@ impl CmsAttachedSignature { pub fn Certificates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Certificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Content(&self) -> ::windows::core::Result<::windows::core::Array> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::Array>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), ::windows::core::Array::::set_abi_len(result__.assume_init_mut()), result__.as_mut_ptr() as *mut _ as _).and_then(|| result__.assume_init()) } } @@ -1739,14 +1739,14 @@ impl CmsAttachedSignature { pub fn Signers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Signers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn VerifySignature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerifySignature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1758,7 +1758,7 @@ impl CmsAttachedSignature { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICmsAttachedSignatureFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCmsAttachedSignature)(::windows::core::Interface::as_raw(this), inputblob.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1774,7 +1774,7 @@ impl CmsAttachedSignature { E2: ::std::convert::Into<::windows::core::Error>, { Self::ICmsAttachedSignatureStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateSignatureAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), signers.try_into().map_err(|e| e.into())?.abi(), certificates.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1860,7 +1860,7 @@ impl CmsDetachedSignature { pub fn Certificates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Certificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1869,7 +1869,7 @@ impl CmsDetachedSignature { pub fn Signers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Signers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1882,7 +1882,7 @@ impl CmsDetachedSignature { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerifySignatureAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1894,7 +1894,7 @@ impl CmsDetachedSignature { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICmsDetachedSignatureFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCmsDetachedSignature)(::windows::core::Interface::as_raw(this), inputblob.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1910,7 +1910,7 @@ impl CmsDetachedSignature { E2: ::std::convert::Into<::windows::core::Error>, { Self::ICmsDetachedSignatureStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateSignatureAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), signers.try_into().map_err(|e| e.into())?.abi(), certificates.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2001,7 +2001,7 @@ impl CmsSignerInfo { pub fn Certificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Certificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2015,7 +2015,7 @@ impl CmsSignerInfo { pub fn HashAlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HashAlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2029,7 +2029,7 @@ impl CmsSignerInfo { pub fn TimestampInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimestampInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2103,7 +2103,7 @@ impl CmsTimestampInfo { pub fn SigningCertificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SigningCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2112,7 +2112,7 @@ impl CmsTimestampInfo { pub fn Certificates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Certificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2121,7 +2121,7 @@ impl CmsTimestampInfo { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3246,61 +3246,61 @@ pub struct KeyAlgorithmNames; impl KeyAlgorithmNames { pub fn Rsa() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rsa)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Dsa() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dsa)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ecdh256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ecdh256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ecdh384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ecdh384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ecdh521() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ecdh521)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ecdsa256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ecdsa256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ecdsa384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ecdsa384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ecdsa521() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ecdsa521)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ecdsa() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ecdsa)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ecdh() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ecdh)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3328,7 +3328,7 @@ impl KeyAttestationHelper { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IKeyAttestationHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecryptTpmAttestationCredentialAsync)(::windows::core::Interface::as_raw(this), credential.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3337,7 +3337,7 @@ impl KeyAttestationHelper { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IKeyAttestationHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTpmAttestationCredentialId)(::windows::core::Interface::as_raw(this), credential.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3349,7 +3349,7 @@ impl KeyAttestationHelper { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IKeyAttestationHelperStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecryptTpmAttestationCredentialWithContainerNameAsync)(::windows::core::Interface::as_raw(this), credential.into().abi(), containername.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3443,25 +3443,25 @@ pub struct KeyStorageProviderNames; impl KeyStorageProviderNames { pub fn SoftwareKeyStorageProvider() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyStorageProviderNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SoftwareKeyStorageProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SmartcardKeyStorageProvider() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyStorageProviderNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmartcardKeyStorageProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PlatformKeyStorageProvider() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyStorageProviderNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlatformKeyStorageProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PassportKeyStorageProvider() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyStorageProviderNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PassportKeyStorageProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3493,7 +3493,7 @@ impl PfxImportParameters { pub fn Exportable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exportable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3504,7 +3504,7 @@ impl PfxImportParameters { pub fn KeyProtectionLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyProtectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3515,7 +3515,7 @@ impl PfxImportParameters { pub fn InstallOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3526,7 +3526,7 @@ impl PfxImportParameters { pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3540,7 +3540,7 @@ impl PfxImportParameters { pub fn KeyStorageProviderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyStorageProviderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3554,7 +3554,7 @@ impl PfxImportParameters { pub fn ContainerNamePrefix(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainerNamePrefix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3568,7 +3568,7 @@ impl PfxImportParameters { pub fn ReaderName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReaderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3684,19 +3684,19 @@ pub struct StandardCertificateStoreNames; impl StandardCertificateStoreNames { pub fn Personal() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardCertificateStoreNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Personal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TrustedRootCertificationAuthorities() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardCertificateStoreNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrustedRootCertificationAuthorities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn IntermediateCertificationAuthorities() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IStandardCertificateStoreNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IntermediateCertificationAuthorities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3725,7 +3725,7 @@ impl SubjectAlternativeNameInfo { pub fn EmailName(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3734,7 +3734,7 @@ impl SubjectAlternativeNameInfo { pub fn IPAddress(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IPAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3743,7 +3743,7 @@ impl SubjectAlternativeNameInfo { pub fn Url(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Url)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3752,7 +3752,7 @@ impl SubjectAlternativeNameInfo { pub fn DnsName(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DnsName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3761,7 +3761,7 @@ impl SubjectAlternativeNameInfo { pub fn DistinguishedName(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DistinguishedName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3770,7 +3770,7 @@ impl SubjectAlternativeNameInfo { pub fn PrincipalName(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrincipalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3779,7 +3779,7 @@ impl SubjectAlternativeNameInfo { pub fn EmailNames(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmailNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3788,7 +3788,7 @@ impl SubjectAlternativeNameInfo { pub fn IPAddresses(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IPAddresses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3797,7 +3797,7 @@ impl SubjectAlternativeNameInfo { pub fn Urls(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Urls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3806,7 +3806,7 @@ impl SubjectAlternativeNameInfo { pub fn DnsNames(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DnsNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3815,7 +3815,7 @@ impl SubjectAlternativeNameInfo { pub fn DistinguishedNames(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DistinguishedNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3824,14 +3824,14 @@ impl SubjectAlternativeNameInfo { pub fn PrincipalNames(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrincipalNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Extension(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Extension)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3910,7 +3910,7 @@ impl UserCertificateEnrollmentManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRequestAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3922,7 +3922,7 @@ impl UserCertificateEnrollmentManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallCertificateAsync)(::windows::core::Interface::as_raw(this), certificate.into().abi(), installoption, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3936,7 +3936,7 @@ impl UserCertificateEnrollmentManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportPfxDataAsync)(::windows::core::Interface::as_raw(this), pfxdata.into().abi(), password.into().abi(), exportable, keyprotectionlevel, installoption, friendlyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3951,7 +3951,7 @@ impl UserCertificateEnrollmentManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportPfxDataToKspAsync)(::windows::core::Interface::as_raw(this), pfxdata.into().abi(), password.into().abi(), exportable, keyprotectionlevel, installoption, friendlyname.into().abi(), keystorageprovider.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3965,7 +3965,7 @@ impl UserCertificateEnrollmentManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportPfxDataToKspWithParametersAsync)(::windows::core::Interface::as_raw(this), pfxdata.into().abi(), password.into().abi(), pfximportparameters.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4044,7 +4044,7 @@ impl UserCertificateStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAddAsync)(::windows::core::Interface::as_raw(this), certificate.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4056,14 +4056,14 @@ impl UserCertificateStore { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDeleteAsync)(::windows::core::Interface::as_raw(this), certificate.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs index a967e09340..05b1a2f48f 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs @@ -3,127 +3,127 @@ pub struct AsymmetricAlgorithmNames; impl AsymmetricAlgorithmNames { pub fn RsaPkcs1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaPkcs1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaOaepSha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaOaepSha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaOaepSha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaOaepSha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaOaepSha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaOaepSha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaOaepSha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaOaepSha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn EcdsaP256Sha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EcdsaP256Sha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn EcdsaP384Sha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EcdsaP384Sha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn EcdsaP521Sha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EcdsaP521Sha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DsaSha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DsaSha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DsaSha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DsaSha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaSignPkcs1Sha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaSignPkcs1Sha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaSignPkcs1Sha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaSignPkcs1Sha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaSignPkcs1Sha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaSignPkcs1Sha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaSignPkcs1Sha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaSignPkcs1Sha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaSignPssSha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaSignPssSha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaSignPssSha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaSignPssSha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaSignPssSha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaSignPssSha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RsaSignPssSha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RsaSignPssSha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn EcdsaSha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EcdsaSha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn EcdsaSha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EcdsaSha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn EcdsaSha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAsymmetricAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EcdsaSha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -148,14 +148,14 @@ impl AsymmetricKeyAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CreateKeyPair(&self, keysize: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateKeyPair)(::windows::core::Interface::as_raw(this), keysize, result__.as_mut_ptr()).from_abi::(result__) } } @@ -168,7 +168,7 @@ impl AsymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportDefaultPrivateKeyBlob)(::windows::core::Interface::as_raw(this), keyblob.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -181,7 +181,7 @@ impl AsymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportKeyPairWithBlobType)(::windows::core::Interface::as_raw(this), keyblob.try_into().map_err(|e| e.into())?.abi(), blobtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -194,7 +194,7 @@ impl AsymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportDefaultPublicKeyBlob)(::windows::core::Interface::as_raw(this), keyblob.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -207,7 +207,7 @@ impl AsymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImportPublicKeyWithBlobType)(::windows::core::Interface::as_raw(this), keyblob.try_into().map_err(|e| e.into())?.abi(), blobtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -217,14 +217,14 @@ impl AsymmetricKeyAlgorithmProvider { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateKeyPairWithCurveName)(::windows::core::Interface::as_raw(this), curvename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateKeyPairWithCurveParameters(&self, parameters: &[u8]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateKeyPairWithCurveParameters)(::windows::core::Interface::as_raw(this), parameters.len() as u32, ::core::mem::transmute(parameters.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -233,7 +233,7 @@ impl AsymmetricKeyAlgorithmProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAsymmetricKeyAlgorithmProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAlgorithm)(::windows::core::Interface::as_raw(this), algorithm.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -353,7 +353,7 @@ impl CryptographicEngine { E2: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Encrypt)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), iv.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -368,7 +368,7 @@ impl CryptographicEngine { E2: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Decrypt)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), iv.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -385,7 +385,7 @@ impl CryptographicEngine { E3: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncryptAndAuthenticate)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), nonce.try_into().map_err(|e| e.into())?.abi(), authenticateddata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -404,7 +404,7 @@ impl CryptographicEngine { E4: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecryptAndAuthenticate)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), nonce.try_into().map_err(|e| e.into())?.abi(), authenticationtag.try_into().map_err(|e| e.into())?.abi(), authenticateddata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -417,7 +417,7 @@ impl CryptographicEngine { E1: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sign)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -432,7 +432,7 @@ impl CryptographicEngine { E2: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerifySignature)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), signature.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -444,7 +444,7 @@ impl CryptographicEngine { P1: ::std::convert::Into<::windows::core::InParam<'a, KeyDerivationParameters>>, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeriveKeyMaterial)(::windows::core::Interface::as_raw(this), key.into().abi(), parameters.into().abi(), desiredkeysize, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -457,7 +457,7 @@ impl CryptographicEngine { E1: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignHashedData)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -472,7 +472,7 @@ impl CryptographicEngine { E2: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerifySignatureWithHashInput)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), signature.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -487,7 +487,7 @@ impl CryptographicEngine { E2: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecryptAsync)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), iv.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -500,7 +500,7 @@ impl CryptographicEngine { E1: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignAsync)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -513,7 +513,7 @@ impl CryptographicEngine { E1: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SignHashedDataAsync)(::windows::core::Interface::as_raw(this), key.into().abi(), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -550,7 +550,7 @@ impl CryptographicHash { pub fn GetValueAndReset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetValueAndReset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -624,7 +624,7 @@ impl CryptographicKey { pub fn KeySize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeySize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -633,7 +633,7 @@ impl CryptographicKey { pub fn ExportDefaultPrivateKeyBlobType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExportDefaultPrivateKeyBlobType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -642,7 +642,7 @@ impl CryptographicKey { pub fn ExportPrivateKeyWithBlobType(&self, blobtype: CryptographicPrivateKeyBlobType) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExportPrivateKeyWithBlobType)(::windows::core::Interface::as_raw(this), blobtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -651,7 +651,7 @@ impl CryptographicKey { pub fn ExportDefaultPublicKeyBlobType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExportDefaultPublicKeyBlobType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -660,7 +660,7 @@ impl CryptographicKey { pub fn ExportPublicKeyWithBlobType(&self, blobtype: CryptographicPublicKeyBlobType) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExportPublicKeyWithBlobType)(::windows::core::Interface::as_raw(this), blobtype, result__.as_mut_ptr()).from_abi::(result__) } } @@ -842,271 +842,271 @@ pub struct EccCurveNames; impl EccCurveNames { pub fn BrainpoolP160r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP160r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP160t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP160t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP192r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP192r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP192t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP192t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP224r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP224r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP224t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP224t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP256r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP256r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP256t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP256t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP320r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP320r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP320t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP320t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP384r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP384r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP384t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP384t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP512r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP512r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BrainpoolP512t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BrainpoolP512t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Curve25519() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Curve25519)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Ec192wapi() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ec192wapi)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NistP192() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NistP192)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NistP224() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NistP224)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NistP256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NistP256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NistP384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NistP384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NistP521() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NistP521)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NumsP256t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumsP256t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NumsP384t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumsP384t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn NumsP512t1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NumsP512t1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP160k1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP160k1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP160r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP160r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP160r2() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP160r2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP192k1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP192k1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP192r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP192r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP224k1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP224k1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP224r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP224r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP256k1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP256k1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP256r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP256r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP384r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP384r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SecP521r1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecP521r1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Wtls7() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wtls7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Wtls9() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wtls9)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Wtls12() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wtls12)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn X962P192v1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).X962P192v1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn X962P192v2() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).X962P192v2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn X962P192v3() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).X962P192v3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn X962P239v1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).X962P239v1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn X962P239v2() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).X962P239v2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn X962P239v3() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).X962P239v3)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn X962P256v1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).X962P256v1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1114,7 +1114,7 @@ impl EccCurveNames { #[cfg(feature = "Foundation_Collections")] pub fn AllEccCurveNames() -> ::windows::core::Result> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllEccCurveNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1136,7 +1136,7 @@ impl EncryptedAndAuthenticatedData { pub fn EncryptedData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncryptedData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1145,7 +1145,7 @@ impl EncryptedAndAuthenticatedData { pub fn AuthenticationTag(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationTag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1217,31 +1217,31 @@ pub struct HashAlgorithmNames; impl HashAlgorithmNames { pub fn Md5() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Md5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1261,14 +1261,14 @@ impl HashAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn HashLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HashLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1281,14 +1281,14 @@ impl HashAlgorithmProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HashData)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateHash(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateHash)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1297,7 +1297,7 @@ impl HashAlgorithmProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHashAlgorithmProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAlgorithm)(::windows::core::Interface::as_raw(this), algorithm.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2020,121 +2020,121 @@ pub struct KeyDerivationAlgorithmNames; impl KeyDerivationAlgorithmNames { pub fn Pbkdf2Md5() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pbkdf2Md5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Pbkdf2Sha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pbkdf2Sha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Pbkdf2Sha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pbkdf2Sha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Pbkdf2Sha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pbkdf2Sha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Pbkdf2Sha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pbkdf2Sha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp800108CtrHmacMd5() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp800108CtrHmacMd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp800108CtrHmacSha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp800108CtrHmacSha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp800108CtrHmacSha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp800108CtrHmacSha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp800108CtrHmacSha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp800108CtrHmacSha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp800108CtrHmacSha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp800108CtrHmacSha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp80056aConcatMd5() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp80056aConcatMd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp80056aConcatSha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp80056aConcatSha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp80056aConcatSha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp80056aConcatSha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp80056aConcatSha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp80056aConcatSha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Sp80056aConcatSha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sp80056aConcatSha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CapiKdfMd5() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapiKdfMd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CapiKdfSha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapiKdfSha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CapiKdfSha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapiKdfSha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CapiKdfSha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapiKdfSha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CapiKdfSha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapiKdfSha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2159,7 +2159,7 @@ impl KeyDerivationAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2172,7 +2172,7 @@ impl KeyDerivationAlgorithmProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateKey)(::windows::core::Interface::as_raw(this), keymaterial.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2181,7 +2181,7 @@ impl KeyDerivationAlgorithmProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IKeyDerivationAlgorithmProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAlgorithm)(::windows::core::Interface::as_raw(this), algorithm.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2262,7 +2262,7 @@ impl KeyDerivationParameters { pub fn KdfGenericBinary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KdfGenericBinary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2279,14 +2279,14 @@ impl KeyDerivationParameters { pub fn IterationCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Capi1KdfTargetAlgorithm(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capi1KdfTargetAlgorithm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2302,7 +2302,7 @@ impl KeyDerivationParameters { E0: ::std::convert::Into<::windows::core::Error>, { Self::IKeyDerivationParametersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildForPbkdf2)(::windows::core::Interface::as_raw(this), pbkdf2salt.try_into().map_err(|e| e.into())?.abi(), iterationcount, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2316,7 +2316,7 @@ impl KeyDerivationParameters { E1: ::std::convert::Into<::windows::core::Error>, { Self::IKeyDerivationParametersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildForSP800108)(::windows::core::Interface::as_raw(this), label.try_into().map_err(|e| e.into())?.abi(), context.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2336,13 +2336,13 @@ impl KeyDerivationParameters { E4: ::std::convert::Into<::windows::core::Error>, { Self::IKeyDerivationParametersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildForSP80056a)(::windows::core::Interface::as_raw(this), algorithmid.try_into().map_err(|e| e.into())?.abi(), partyuinfo.try_into().map_err(|e| e.into())?.abi(), partyvinfo.try_into().map_err(|e| e.into())?.abi(), supppubinfo.try_into().map_err(|e| e.into())?.abi(), suppprivinfo.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BuildForCapi1Kdf(capi1kdftargetalgorithm: Capi1KdfTargetAlgorithm) -> ::windows::core::Result { Self::IKeyDerivationParametersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildForCapi1Kdf)(::windows::core::Interface::as_raw(this), capi1kdftargetalgorithm, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2424,37 +2424,37 @@ pub struct MacAlgorithmNames; impl MacAlgorithmNames { pub fn HmacMd5() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HmacMd5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HmacSha1() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HmacSha1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HmacSha256() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HmacSha256)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HmacSha384() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HmacSha384)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HmacSha512() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HmacSha512)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AesCmac() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AesCmac)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2474,14 +2474,14 @@ impl MacAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn MacLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MacLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2494,7 +2494,7 @@ impl MacAlgorithmProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateKey)(::windows::core::Interface::as_raw(this), keymaterial.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2507,7 +2507,7 @@ impl MacAlgorithmProvider { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateHash)(::windows::core::Interface::as_raw(this), keymaterial.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2516,7 +2516,7 @@ impl MacAlgorithmProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMacAlgorithmProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAlgorithm)(::windows::core::Interface::as_raw(this), algorithm.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2599,7 +2599,7 @@ impl PersistedKeyProvider { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPersistedKeyProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenKeyPairFromCertificateAsync)(::windows::core::Interface::as_raw(this), certificate.into().abi(), hashalgorithmname.into().abi(), padding, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2611,7 +2611,7 @@ impl PersistedKeyProvider { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPersistedKeyProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenPublicKeyFromCertificate)(::windows::core::Interface::as_raw(this), certificate.into().abi(), hashalgorithmname.into().abi(), padding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2629,115 +2629,115 @@ pub struct SymmetricAlgorithmNames; impl SymmetricAlgorithmNames { pub fn DesCbc() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesCbc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DesEcb() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesEcb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TripleDesCbc() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TripleDesCbc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TripleDesEcb() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TripleDesEcb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Rc2Cbc() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rc2Cbc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Rc2Ecb() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rc2Ecb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AesCbc() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AesCbc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AesEcb() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AesEcb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AesGcm() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AesGcm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AesCcm() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AesCcm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AesCbcPkcs7() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AesCbcPkcs7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AesEcbPkcs7() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AesEcbPkcs7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DesCbcPkcs7() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesCbcPkcs7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DesEcbPkcs7() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesEcbPkcs7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TripleDesCbcPkcs7() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TripleDesCbcPkcs7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TripleDesEcbPkcs7() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TripleDesEcbPkcs7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Rc2CbcPkcs7() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rc2CbcPkcs7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Rc2EcbPkcs7() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rc2EcbPkcs7)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Rc4() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rc4)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2757,14 +2757,14 @@ impl SymmetricKeyAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlgorithmName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn BlockLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlockLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2777,7 +2777,7 @@ impl SymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSymmetricKey)(::windows::core::Interface::as_raw(this), keymaterial.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2786,7 +2786,7 @@ impl SymmetricKeyAlgorithmProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISymmetricKeyAlgorithmProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAlgorithm)(::windows::core::Interface::as_raw(this), algorithm.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs index 464bddbdd2..c9623e8e54 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs @@ -18,7 +18,7 @@ impl DataProtectionProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -31,7 +31,7 @@ impl DataProtectionProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprotectAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -46,7 +46,7 @@ impl DataProtectionProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectStreamAsync)(::windows::core::Interface::as_raw(this), src.try_into().map_err(|e| e.into())?.abi(), dest.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -61,7 +61,7 @@ impl DataProtectionProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprotectStreamAsync)(::windows::core::Interface::as_raw(this), src.try_into().map_err(|e| e.into())?.abi(), dest.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -70,7 +70,7 @@ impl DataProtectionProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDataProtectionProviderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOverloadExplicit)(::windows::core::Interface::as_raw(this), protectiondescriptor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs index 9bc83d51ab..4fb6bcf6c9 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs @@ -52,7 +52,7 @@ impl CryptographicBuffer { E1: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compare)(::windows::core::Interface::as_raw(this), object1.try_into().map_err(|e| e.into())?.abi(), object2.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -60,13 +60,13 @@ impl CryptographicBuffer { #[cfg(feature = "Storage_Streams")] pub fn GenerateRandom(length: u32) -> ::windows::core::Result { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateRandom)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GenerateRandomNumber() -> ::windows::core::Result { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GenerateRandomNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -74,7 +74,7 @@ impl CryptographicBuffer { #[cfg(feature = "Storage_Streams")] pub fn CreateFromByteArray(value: &[u8]) -> ::windows::core::Result { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromByteArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -94,7 +94,7 @@ impl CryptographicBuffer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecodeFromHexString)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -106,7 +106,7 @@ impl CryptographicBuffer { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodeToHexString)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -117,7 +117,7 @@ impl CryptographicBuffer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DecodeFromBase64String)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -129,7 +129,7 @@ impl CryptographicBuffer { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodeToBase64String)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -140,7 +140,7 @@ impl CryptographicBuffer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertStringToBinary)(::windows::core::Interface::as_raw(this), value.into().abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -152,7 +152,7 @@ impl CryptographicBuffer { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertBinaryToString)(::windows::core::Interface::as_raw(this), encoding, buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs index d6db4b63c6..5101b0fe7e 100644 --- a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs @@ -142,7 +142,7 @@ impl UserDataAvailabilityStateChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -216,7 +216,7 @@ impl UserDataBufferUnprotectResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -225,7 +225,7 @@ impl UserDataBufferUnprotectResult { pub fn UnprotectedBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprotectedBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -339,7 +339,7 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectStorageItemAsync)(::windows::core::Interface::as_raw(this), storageitem.try_into().map_err(|e| e.into())?.abi(), availability, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -352,7 +352,7 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStorageItemProtectionInfoAsync)(::windows::core::Interface::as_raw(this), storageitem.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -365,7 +365,7 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectBufferAsync)(::windows::core::Interface::as_raw(this), unprotectedbuffer.try_into().map_err(|e| e.into())?.abi(), availability, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -378,14 +378,14 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprotectBufferAsync)(::windows::core::Interface::as_raw(this), protectedbuffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsContinuedDataAvailabilityExpected(&self, availability: UserDataAvailability) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsContinuedDataAvailabilityExpected)(::windows::core::Interface::as_raw(this), availability, result__.as_mut_ptr()).from_abi::(result__) } } @@ -397,7 +397,7 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataAvailabilityStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -409,7 +409,7 @@ impl UserDataProtectionManager { } pub fn TryGetDefault() -> ::windows::core::Result { Self::IUserDataProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -420,7 +420,7 @@ impl UserDataProtectionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IUserDataProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -499,7 +499,7 @@ impl UserDataStorageItemProtectionInfo { pub fn Availability(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Availability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs index 8ba5ada4c5..c0b6b58c4d 100644 --- a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs @@ -7,14 +7,14 @@ impl BufferProtectUnprotectResult { pub fn Buffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Buffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProtectionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -88,14 +88,14 @@ impl DataProtectionInfo { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Identity(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Identity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -174,7 +174,7 @@ impl DataProtectionManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), identity.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -186,7 +186,7 @@ impl DataProtectionManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprotectAsync)(::windows::core::Interface::as_raw(this), data.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -201,7 +201,7 @@ impl DataProtectionManager { E2: ::std::convert::Into<::windows::core::Error>, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectStreamAsync)(::windows::core::Interface::as_raw(this), unprotectedstream.try_into().map_err(|e| e.into())?.abi(), identity.into().abi(), protectedstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -215,7 +215,7 @@ impl DataProtectionManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprotectStreamAsync)(::windows::core::Interface::as_raw(this), protectedstream.try_into().map_err(|e| e.into())?.abi(), unprotectedstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -227,7 +227,7 @@ impl DataProtectionManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProtectionInfoAsync)(::windows::core::Interface::as_raw(this), protecteddata.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -239,7 +239,7 @@ impl DataProtectionManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStreamProtectionInfoAsync)(::windows::core::Interface::as_raw(this), protectedstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -333,28 +333,28 @@ impl FileProtectionInfo { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRoamable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRoamable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Identity(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Identity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsProtectWhileOpenSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsProtectWhileOpenSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -433,7 +433,7 @@ impl FileProtectionManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectAsync)(::windows::core::Interface::as_raw(this), target.try_into().map_err(|e| e.into())?.abi(), identity.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -447,7 +447,7 @@ impl FileProtectionManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyProtectionAsync)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), target.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -459,7 +459,7 @@ impl FileProtectionManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProtectionInfoAsync)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -471,7 +471,7 @@ impl FileProtectionManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveFileAsContainerAsync)(::windows::core::Interface::as_raw(this), protectedfile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -483,7 +483,7 @@ impl FileProtectionManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFileFromContainerAsync)(::windows::core::Interface::as_raw(this), containerfile.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -497,7 +497,7 @@ impl FileProtectionManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFileFromContainerWithTargetAsync)(::windows::core::Interface::as_raw(this), containerfile.try_into().map_err(|e| e.into())?.abi(), target.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -511,7 +511,7 @@ impl FileProtectionManager { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateProtectedAndOpenAsync)(::windows::core::Interface::as_raw(this), parentfolder.try_into().map_err(|e| e.into())?.abi(), desiredname.into().abi(), identity.into().abi(), collisionoption, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -523,7 +523,7 @@ impl FileProtectionManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileProtectionManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsContainerAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -537,7 +537,7 @@ impl FileProtectionManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileProtectionManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadFileFromContainerWithTargetAndNameCollisionOptionAsync)(::windows::core::Interface::as_raw(this), containerfile.try_into().map_err(|e| e.into())?.abi(), target.try_into().map_err(|e| e.into())?.abi(), collisionoption, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -551,7 +551,7 @@ impl FileProtectionManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileProtectionManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveFileAsContainerWithSharingAsync)(::windows::core::Interface::as_raw(this), protectedfile.try_into().map_err(|e| e.into())?.abi(), sharedwithidentities.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -563,7 +563,7 @@ impl FileProtectionManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileProtectionManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprotectAsync)(::windows::core::Interface::as_raw(this), target.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -576,7 +576,7 @@ impl FileProtectionManager { P1: ::std::convert::Into<::windows::core::InParam<'a, FileUnprotectOptions>>, { Self::IFileProtectionManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprotectWithOptionsAsync)(::windows::core::Interface::as_raw(this), target.try_into().map_err(|e| e.into())?.abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -657,7 +657,7 @@ impl FileRevocationManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileRevocationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectAsync)(::windows::core::Interface::as_raw(this), storageitem.try_into().map_err(|e| e.into())?.abi(), enterpriseidentity.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -671,7 +671,7 @@ impl FileRevocationManager { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileRevocationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyProtectionAsync)(::windows::core::Interface::as_raw(this), sourcestorageitem.try_into().map_err(|e| e.into())?.abi(), targetstorageitem.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -691,7 +691,7 @@ impl FileRevocationManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileRevocationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatusAsync)(::windows::core::Interface::as_raw(this), storageitem.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -717,13 +717,13 @@ impl FileUnprotectOptions { pub fn Audit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Audit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(audit: bool) -> ::windows::core::Result { Self::IFileUnprotectOptionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), audit, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1386,7 +1386,7 @@ impl ProtectedAccessResumedEventArgs { pub fn Identities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Identities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1462,7 +1462,7 @@ impl ProtectedAccessSuspendingEventArgs { pub fn Identities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Identities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1471,7 +1471,7 @@ impl ProtectedAccessSuspendingEventArgs { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1480,7 +1480,7 @@ impl ProtectedAccessSuspendingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1554,7 +1554,7 @@ impl ProtectedContainerExportResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1563,7 +1563,7 @@ impl ProtectedContainerExportResult { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1637,7 +1637,7 @@ impl ProtectedContainerImportResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1646,7 +1646,7 @@ impl ProtectedContainerImportResult { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1722,7 +1722,7 @@ impl ProtectedContentRevokedEventArgs { pub fn Identities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Identities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1798,7 +1798,7 @@ impl ProtectedFileCreateResult { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1807,14 +1807,14 @@ impl ProtectedFileCreateResult { pub fn Stream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProtectionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1968,7 +1968,7 @@ impl ProtectionPolicyAuditInfo { pub fn Action(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Action)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1982,7 +1982,7 @@ impl ProtectionPolicyAuditInfo { pub fn DataDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1996,7 +1996,7 @@ impl ProtectionPolicyAuditInfo { pub fn SourceDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2010,7 +2010,7 @@ impl ProtectionPolicyAuditInfo { pub fn TargetDescription(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2021,7 +2021,7 @@ impl ProtectionPolicyAuditInfo { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyAuditInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), action, datadescription.into().abi(), sourcedescription.into().abi(), targetdescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2030,7 +2030,7 @@ impl ProtectionPolicyAuditInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyAuditInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithActionAndDataDescription)(::windows::core::Interface::as_raw(this), action, datadescription.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2151,7 +2151,7 @@ impl ProtectionPolicyManager { pub fn Identity(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Identity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2162,7 +2162,7 @@ impl ProtectionPolicyManager { pub fn ShowEnterpriseIndicator(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowEnterpriseIndicator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2171,7 +2171,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIdentityManaged)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2180,7 +2180,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryApplyProcessUIPolicy)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2192,7 +2192,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCurrentThreadNetworkContext)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2203,7 +2203,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Networking::HostName>>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPrimaryManagedIdentityForNetworkEndpointAsync)(::windows::core::Interface::as_raw(this), endpointhost.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2215,7 +2215,7 @@ impl ProtectionPolicyManager { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2226,7 +2226,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectedAccessSuspending)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2242,7 +2242,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectedAccessResumed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2258,7 +2258,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectedContentRevoked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2273,7 +2273,7 @@ impl ProtectionPolicyManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckAccess)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), targetidentity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2285,7 +2285,7 @@ impl ProtectionPolicyManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), targetidentity.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2296,7 +2296,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasContentBeenRevokedSince)(::windows::core::Interface::as_raw(this), identity.into().abi(), since, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2306,7 +2306,7 @@ impl ProtectionPolicyManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckAccessForApp)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), apppackagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2318,7 +2318,7 @@ impl ProtectionPolicyManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessForAppAsync)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), apppackagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2327,7 +2327,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEnforcementLevel)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2336,7 +2336,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUserDecryptionAllowed)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2345,7 +2345,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsProtectionUnderLockRequired)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2356,7 +2356,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PolicyChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2367,7 +2367,7 @@ impl ProtectionPolicyManager { } pub fn IsProtectionEnabled() -> ::windows::core::Result { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsProtectionEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2380,7 +2380,7 @@ impl ProtectionPolicyManager { P2: ::std::convert::Into<::windows::core::InParam<'a, ProtectionPolicyAuditInfo>>, { Self::IProtectionPolicyManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessWithAuditingInfoAsync)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), targetidentity.into().abi(), auditinfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2394,7 +2394,7 @@ impl ProtectionPolicyManager { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessWithMessageAsync)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), targetidentity.into().abi(), auditinfo.into().abi(), messagefromapp.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2407,7 +2407,7 @@ impl ProtectionPolicyManager { P2: ::std::convert::Into<::windows::core::InParam<'a, ProtectionPolicyAuditInfo>>, { Self::IProtectionPolicyManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessForAppWithAuditingInfoAsync)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), apppackagefamilyname.into().abi(), auditinfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2421,7 +2421,7 @@ impl ProtectionPolicyManager { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessForAppWithMessageAsync)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), apppackagefamilyname.into().abi(), auditinfo.into().abi(), messagefromapp.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2438,7 +2438,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRoamableProtectionEnabled)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2452,7 +2452,7 @@ impl ProtectionPolicyManager { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessWithBehaviorAsync)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), targetidentity.into().abi(), auditinfo.into().abi(), messagefromapp.into().abi(), behavior, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2466,7 +2466,7 @@ impl ProtectionPolicyManager { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessForAppWithBehaviorAsync)(::windows::core::Interface::as_raw(this), sourceidentity.into().abi(), apppackagefamilyname.into().abi(), auditinfo.into().abi(), messagefromapp.into().abi(), behavior, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2480,7 +2480,7 @@ impl ProtectionPolicyManager { P2: ::std::convert::Into<::windows::core::InParam<'a, ProtectionPolicyAuditInfo>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessToFilesForAppAsync)(::windows::core::Interface::as_raw(this), sourceitemlist.try_into().map_err(|e| e.into())?.abi(), apppackagefamilyname.into().abi(), auditinfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2495,7 +2495,7 @@ impl ProtectionPolicyManager { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessToFilesForAppWithMessageAndBehaviorAsync)(::windows::core::Interface::as_raw(this), sourceitemlist.try_into().map_err(|e| e.into())?.abi(), apppackagefamilyname.into().abi(), auditinfo.into().abi(), messagefromapp.into().abi(), behavior, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2508,7 +2508,7 @@ impl ProtectionPolicyManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ProtectionPolicyAuditInfo>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessToFilesForProcessAsync)(::windows::core::Interface::as_raw(this), sourceitemlist.try_into().map_err(|e| e.into())?.abi(), processid, auditinfo.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2522,7 +2522,7 @@ impl ProtectionPolicyManager { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessToFilesForProcessWithMessageAndBehaviorAsync)(::windows::core::Interface::as_raw(this), sourceitemlist.try_into().map_err(|e| e.into())?.abi(), processid, auditinfo.into().abi(), messagefromapp.into().abi(), behavior, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2535,7 +2535,7 @@ impl ProtectionPolicyManager { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFileProtectionRequiredAsync)(::windows::core::Interface::as_raw(this), target.try_into().map_err(|e| e.into())?.abi(), identity.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2549,13 +2549,13 @@ impl ProtectionPolicyManager { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFileProtectionRequiredForNewFileAsync)(::windows::core::Interface::as_raw(this), parentfolder.try_into().map_err(|e| e.into())?.abi(), identity.into().abi(), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn PrimaryManagedIdentity() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryManagedIdentity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2564,7 +2564,7 @@ impl ProtectionPolicyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPrimaryManagedIdentityForIdentity)(::windows::core::Interface::as_raw(this), identity.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs index e648fba726..24d67c97c2 100644 --- a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs @@ -12,56 +12,56 @@ impl EasClientDeviceInformation { pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn OperatingSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperatingSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemManufacturer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemManufacturer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemProductName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemProductName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemSku(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemSku)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemHardwareVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemHardwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemFirmwareVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemFirmwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -140,7 +140,7 @@ impl EasClientSecurityPolicy { pub fn RequireEncryption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequireEncryption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -151,7 +151,7 @@ impl EasClientSecurityPolicy { pub fn MinPasswordLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinPasswordLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -162,7 +162,7 @@ impl EasClientSecurityPolicy { pub fn DisallowConvenienceLogon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisallowConvenienceLogon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -173,7 +173,7 @@ impl EasClientSecurityPolicy { pub fn MinPasswordComplexCharacters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinPasswordComplexCharacters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -186,7 +186,7 @@ impl EasClientSecurityPolicy { pub fn PasswordExpiration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasswordExpiration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -199,7 +199,7 @@ impl EasClientSecurityPolicy { pub fn PasswordHistory(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasswordHistory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -210,7 +210,7 @@ impl EasClientSecurityPolicy { pub fn MaxPasswordFailedAttempts(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPasswordFailedAttempts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -223,7 +223,7 @@ impl EasClientSecurityPolicy { pub fn MaxInactivityTimeLock(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxInactivityTimeLock)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -236,7 +236,7 @@ impl EasClientSecurityPolicy { pub fn CheckCompliance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckCompliance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -245,7 +245,7 @@ impl EasClientSecurityPolicy { pub fn ApplyAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplyAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -317,70 +317,70 @@ impl EasComplianceResults { pub fn Compliant(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compliant)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequireEncryptionResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequireEncryptionResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinPasswordLengthResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinPasswordLengthResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisallowConvenienceLogonResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisallowConvenienceLogonResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MinPasswordComplexCharactersResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinPasswordComplexCharactersResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PasswordExpirationResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasswordExpirationResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PasswordHistoryResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasswordHistoryResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxPasswordFailedAttemptsResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPasswordFailedAttemptsResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxInactivityTimeLockResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxInactivityTimeLockResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EncryptionProviderType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncryptionProviderType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index b53a292ccd..64c82ead57 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -572,7 +572,7 @@ impl IsolatedWindowsEnvironment { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -585,7 +585,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartProcessSilentlyAsync)(::windows::core::Interface::as_raw(this), hostexepath.into().abi(), arguments.into().abi(), activator, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -599,7 +599,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartProcessSilentlyWithTelemetryAsync)(::windows::core::Interface::as_raw(this), hostexepath.into().abi(), arguments.into().abi(), activator, telemetryparameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -612,7 +612,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareFolderAsync)(::windows::core::Interface::as_raw(this), hostfolder.into().abi(), requestoptions.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -626,7 +626,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareFolderWithTelemetryAsync)(::windows::core::Interface::as_raw(this), hostfolder.into().abi(), requestoptions.into().abi(), telemetryparameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -640,7 +640,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFileWithUIAsync)(::windows::core::Interface::as_raw(this), appexepath.into().abi(), argumentstemplate.into().abi(), filepath.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -655,7 +655,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFileWithUIAndTelemetryAsync)(::windows::core::Interface::as_raw(this), appexepath.into().abi(), argumentstemplate.into().abi(), filepath.into().abi(), telemetryparameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -664,7 +664,7 @@ impl IsolatedWindowsEnvironment { pub fn TerminateAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TerminateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -676,7 +676,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TerminateWithTelemetryAsync)(::windows::core::Interface::as_raw(this), telemetryparameters.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -702,7 +702,7 @@ impl IsolatedWindowsEnvironment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostMessageToReceiverAsync)(::windows::core::Interface::as_raw(this), receiverid, message.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -716,14 +716,14 @@ impl IsolatedWindowsEnvironment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostMessageToReceiverWithTelemetryAsync)(::windows::core::Interface::as_raw(this), receiverid, message.try_into().map_err(|e| e.into())?.abi(), telemetryparameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetUserInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUserInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -736,7 +736,7 @@ impl IsolatedWindowsEnvironment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareFileAsync)(::windows::core::Interface::as_raw(this), filepath.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -750,7 +750,7 @@ impl IsolatedWindowsEnvironment { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareFileWithTelemetryAsync)(::windows::core::Interface::as_raw(this), filepath.into().abi(), options.into().abi(), telemetryparameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -761,7 +761,7 @@ impl IsolatedWindowsEnvironment { P0: ::std::convert::Into<::windows::core::InParam<'a, IsolatedWindowsEnvironmentOptions>>, { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -773,7 +773,7 @@ impl IsolatedWindowsEnvironment { P1: ::std::convert::Into<::windows::core::InParam<'a, IsolatedWindowsEnvironmentTelemetryParameters>>, { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTelemetryAsync)(::windows::core::Interface::as_raw(this), options.into().abi(), telemetryparameters.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -782,7 +782,7 @@ impl IsolatedWindowsEnvironment { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetById)(::windows::core::Interface::as_raw(this), environmentid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -793,7 +793,7 @@ impl IsolatedWindowsEnvironment { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindByOwnerId)(::windows::core::Interface::as_raw(this), environmentownerid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1135,21 +1135,21 @@ impl IsolatedWindowsEnvironmentCreateResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn Environment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Environment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1258,14 +1258,14 @@ impl IsolatedWindowsEnvironmentFile { pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn HostPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HostPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1276,14 +1276,14 @@ impl IsolatedWindowsEnvironmentFile { pub fn GuestPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GuestPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1355,7 +1355,7 @@ pub struct IsolatedWindowsEnvironmentHost; impl IsolatedWindowsEnvironmentHost { pub fn IsReady() -> ::windows::core::Result { Self::IIsolatedWindowsEnvironmentHostStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReady)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1363,7 +1363,7 @@ impl IsolatedWindowsEnvironmentHost { #[cfg(feature = "Foundation_Collections")] pub fn HostErrors() -> ::windows::core::Result> { Self::IIsolatedWindowsEnvironmentHostStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HostErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1420,21 +1420,21 @@ impl IsolatedWindowsEnvironmentLaunchFileResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1553,7 +1553,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn EnvironmentOwnerId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnvironmentOwnerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1567,7 +1567,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AllowedClipboardFormats(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowedClipboardFormats)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1578,7 +1578,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn ClipboardCopyPasteDirections(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClipboardCopyPasteDirections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1589,7 +1589,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AvailablePrinters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailablePrinters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1600,14 +1600,14 @@ impl IsolatedWindowsEnvironmentOptions { pub fn SharedHostFolderPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedHostFolderPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SharedFolderNameInEnvironment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedFolderNameInEnvironment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1622,7 +1622,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn PersistUserProfile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PersistUserProfile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1633,7 +1633,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AllowGraphicsHardwareAcceleration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowGraphicsHardwareAcceleration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1644,7 +1644,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AllowCameraAndMicrophoneAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowCameraAndMicrophoneAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1655,7 +1655,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn WindowAnnotationOverride(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowAnnotationOverride)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1738,7 +1738,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistration { P1: ::std::convert::Into<::windows::core::InParam<'a, IsolatedWindowsEnvironmentOwnerRegistrationData>>, { Self::IIsolatedWindowsEnvironmentOwnerRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Register)(::windows::core::Interface::as_raw(this), ownername.into().abi(), ownerregistrationdata.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1773,7 +1773,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn ShareableFolders(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareableFolders)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1782,7 +1782,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn ProcessesRunnableAsSystem(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessesRunnableAsSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1791,7 +1791,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn ProcessesRunnableAsUser(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessesRunnableAsUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1800,7 +1800,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn ActivationFileExtensions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivationFileExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1874,14 +1874,14 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1992,14 +1992,14 @@ impl IsolatedWindowsEnvironmentPostMessageResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -2108,14 +2108,14 @@ impl IsolatedWindowsEnvironmentProcess { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExitCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExitCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2132,7 +2132,7 @@ impl IsolatedWindowsEnvironmentProcess { pub fn WaitForExitAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WaitForExitAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2283,7 +2283,7 @@ impl IsolatedWindowsEnvironmentShareFileRequestOptions { pub fn AllowWrite(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2361,21 +2361,21 @@ impl IsolatedWindowsEnvironmentShareFileResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2494,7 +2494,7 @@ impl IsolatedWindowsEnvironmentShareFolderRequestOptions { pub fn AllowWrite(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2572,14 +2572,14 @@ impl IsolatedWindowsEnvironmentShareFolderResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -2690,21 +2690,21 @@ impl IsolatedWindowsEnvironmentStartProcessResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn Process(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Process)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2822,7 +2822,7 @@ impl IsolatedWindowsEnvironmentTelemetryParameters { pub fn CorrelationId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CorrelationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2900,14 +2900,14 @@ impl IsolatedWindowsEnvironmentUserInfo { pub fn EnvironmentUserSid(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnvironmentUserSid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EnvironmentUserName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnvironmentUserName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2916,7 +2916,7 @@ impl IsolatedWindowsEnvironmentUserInfo { pub fn TryWaitForSignInAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryWaitForSignInAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3000,7 +3000,7 @@ impl IsolatedWindowsHostMessenger { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IIsolatedWindowsHostMessengerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileId)(::windows::core::Interface::as_raw(this), filepath.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) }) } diff --git a/crates/libs/windows/src/Windows/Services/Cortana/mod.rs b/crates/libs/windows/src/Windows/Services/Cortana/mod.rs index ce19caad74..f48eb0477b 100644 --- a/crates/libs/windows/src/Windows/Services/Cortana/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Cortana/mod.rs @@ -9,7 +9,7 @@ impl CortanaActionableInsights { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18,7 +18,7 @@ impl CortanaActionableInsights { pub fn IsAvailableAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -31,7 +31,7 @@ impl CortanaActionableInsights { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowInsightsForImageAsync)(::windows::core::Interface::as_raw(this), imagestream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -45,7 +45,7 @@ impl CortanaActionableInsights { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowInsightsForImageWithOptionsAsync)(::windows::core::Interface::as_raw(this), imagestream.try_into().map_err(|e| e.into())?.abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -57,7 +57,7 @@ impl CortanaActionableInsights { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowInsightsForTextAsync)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -70,7 +70,7 @@ impl CortanaActionableInsights { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowInsightsForTextWithOptionsAsync)(::windows::core::Interface::as_raw(this), text.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -82,7 +82,7 @@ impl CortanaActionableInsights { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowInsightsAsync)(::windows::core::Interface::as_raw(this), datapackage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -95,7 +95,7 @@ impl CortanaActionableInsights { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowInsightsWithOptionsAsync)(::windows::core::Interface::as_raw(this), datapackage.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -103,7 +103,7 @@ impl CortanaActionableInsights { #[cfg(feature = "deprecated")] pub fn GetDefault() -> ::windows::core::Result { Self::ICortanaActionableInsightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -114,7 +114,7 @@ impl CortanaActionableInsights { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::ICortanaActionableInsightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -220,7 +220,7 @@ impl CortanaActionableInsightsOptions { pub fn ContentSourceWebLink(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentSourceWebLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -238,7 +238,7 @@ impl CortanaActionableInsightsOptions { pub fn SurroundingText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SurroundingText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -434,7 +434,7 @@ impl CortanaPermissionsManager { pub fn IsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -447,7 +447,7 @@ impl CortanaPermissionsManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ArePermissionsGrantedAsync)(::windows::core::Interface::as_raw(this), permissions.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -460,7 +460,7 @@ impl CortanaPermissionsManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GrantPermissionsAsync)(::windows::core::Interface::as_raw(this), permissions.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -473,7 +473,7 @@ impl CortanaPermissionsManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RevokePermissionsAsync)(::windows::core::Interface::as_raw(this), permissions.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -481,7 +481,7 @@ impl CortanaPermissionsManager { #[cfg(feature = "deprecated")] pub fn GetDefault() -> ::windows::core::Result { Self::ICortanaPermissionsManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -580,7 +580,7 @@ impl CortanaSettings { pub fn HasUserConsentToVoiceActivation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasUserConsentToVoiceActivation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -589,7 +589,7 @@ impl CortanaSettings { pub fn IsVoiceActivationEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVoiceActivationEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -603,7 +603,7 @@ impl CortanaSettings { #[cfg(feature = "deprecated")] pub fn IsSupported() -> ::windows::core::Result { Self::ICortanaSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -611,7 +611,7 @@ impl CortanaSettings { #[cfg(feature = "deprecated")] pub fn GetDefault() -> ::windows::core::Result { Self::ICortanaSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs index 1f5406db9d..cc1805cb4a 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs @@ -78,7 +78,7 @@ impl GuidanceAudioNotificationRequestedEventArgs { pub fn AudioNotification(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -87,14 +87,14 @@ impl GuidanceAudioNotificationRequestedEventArgs { pub fn AudioFilePaths(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioFilePaths)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AudioText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -235,14 +235,14 @@ impl GuidanceLaneInfo { pub fn LaneMarkers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaneMarkers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOnRoute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOnRoute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -389,84 +389,84 @@ impl GuidanceManeuver { pub fn StartLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DistanceFromRouteStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DistanceFromRouteStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DistanceFromPreviousManeuver(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DistanceFromPreviousManeuver)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DepartureRoadName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DepartureRoadName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NextRoadName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextRoadName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DepartureShortRoadName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DepartureShortRoadName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NextShortRoadName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextShortRoadName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoadSignpost(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoadSignpost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InstructionText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstructionText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -622,35 +622,35 @@ impl GuidanceMapMatchedCoordinate { pub fn Location(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Location)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentHeading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentHeading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentSpeed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentSpeed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOnStreet(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOnStreet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Road(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Road)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -794,7 +794,7 @@ impl GuidanceNavigator { pub fn AudioMeasurementSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioMeasurementSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -805,7 +805,7 @@ impl GuidanceNavigator { pub fn AudioNotifications(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioNotifications)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -821,7 +821,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GuidanceUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -839,7 +839,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DestinationReached)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -857,7 +857,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rerouting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -875,7 +875,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rerouted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -893,7 +893,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RerouteFailed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -911,7 +911,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserLocationLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -929,7 +929,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserLocationRestored)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -972,7 +972,7 @@ impl GuidanceNavigator { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AudioNotificationRequested)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -985,7 +985,7 @@ impl GuidanceNavigator { pub fn IsGuidanceAudioMuted(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGuidanceAudioMuted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -995,13 +995,13 @@ impl GuidanceNavigator { } pub fn GetCurrent() -> ::windows::core::Result { Self::IGuidanceNavigatorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UseAppProvidedVoice() -> ::windows::core::Result { Self::IGuidanceNavigatorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UseAppProvidedVoice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1085,7 +1085,7 @@ impl GuidanceReroutedEventArgs { pub fn Route(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Route)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1159,21 +1159,21 @@ impl GuidanceRoadSegment { pub fn RoadName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoadName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ShortRoadName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShortRoadName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SpeedLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpeedLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1182,7 +1182,7 @@ impl GuidanceRoadSegment { pub fn TravelTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TravelTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1191,42 +1191,42 @@ impl GuidanceRoadSegment { pub fn Path(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsHighway(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHighway)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTunnel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTunnel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTollRoad(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTollRoad)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsScenic(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScenic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1300,14 +1300,14 @@ impl GuidanceRoadSignpost { pub fn ExitNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExitNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Exit(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1316,7 +1316,7 @@ impl GuidanceRoadSignpost { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1325,7 +1325,7 @@ impl GuidanceRoadSignpost { pub fn ForegroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1334,7 +1334,7 @@ impl GuidanceRoadSignpost { pub fn ExitDirections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExitDirections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1410,14 +1410,14 @@ impl GuidanceRoute { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Distance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Distance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1426,7 +1426,7 @@ impl GuidanceRoute { pub fn Maneuvers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Maneuvers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1435,7 +1435,7 @@ impl GuidanceRoute { pub fn BoundingBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1444,7 +1444,7 @@ impl GuidanceRoute { pub fn Path(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1453,14 +1453,14 @@ impl GuidanceRoute { pub fn RoadSegments(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoadSegments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ConvertToMapRoute(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConvertToMapRoute)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1469,7 +1469,7 @@ impl GuidanceRoute { P0: ::std::convert::Into<::windows::core::InParam<'a, super::MapRoute>>, { Self::IGuidanceRouteStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCreateFromMapRoute)(::windows::core::Interface::as_raw(this), maproute.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1478,7 +1478,7 @@ impl GuidanceRoute { P0: ::std::convert::Into<::windows::core::InParam<'a, super::MapRoute>>, { Self::IGuidanceRouteStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFromMapRoute)(::windows::core::Interface::as_raw(this), maproute.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1557,7 +1557,7 @@ impl GuidanceTelemetryCollector { pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1572,7 +1572,7 @@ impl GuidanceTelemetryCollector { pub fn SpeedTrigger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpeedTrigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1583,7 +1583,7 @@ impl GuidanceTelemetryCollector { pub fn UploadFrequency(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UploadFrequency)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1593,7 +1593,7 @@ impl GuidanceTelemetryCollector { } pub fn GetCurrent() -> ::windows::core::Result { Self::IGuidanceTelemetryCollectorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1672,49 +1672,49 @@ impl GuidanceUpdatedEventArgs { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextManeuver(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextManeuver)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NextManeuverDistance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextManeuverDistance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AfterNextManeuver(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AfterNextManeuver)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AfterNextManeuverDistance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AfterNextManeuverDistance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DistanceToDestination(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DistanceToDestination)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ElapsedDistance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElapsedDistance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1723,7 +1723,7 @@ impl GuidanceUpdatedEventArgs { pub fn ElapsedTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElapsedTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1732,35 +1732,35 @@ impl GuidanceUpdatedEventArgs { pub fn TimeToDestination(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeToDestination)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoadName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoadName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Route(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Route)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsNewManeuver(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNewManeuver)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1769,7 +1769,7 @@ impl GuidanceUpdatedEventArgs { pub fn LaneInfo(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaneInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs index 9f8fe37f92..ef7568a4d1 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs @@ -154,49 +154,49 @@ pub struct LocalCategories; impl LocalCategories { pub fn BankAndCreditUnions() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BankAndCreditUnions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn EatDrink() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EatDrink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Hospitals() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hospitals)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HotelsAndMotels() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HotelsAndMotels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn All() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).All)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Parking() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parking)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SeeDo() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SeeDo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Shop() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -216,28 +216,28 @@ impl LocalLocation { pub fn Address(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Identifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Identifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -246,35 +246,35 @@ impl LocalLocation { pub fn Point(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Point)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PhoneNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DataAttribution(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataAttribution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Category(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Category)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RatingInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RatingInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -283,7 +283,7 @@ impl LocalLocation { pub fn HoursOfOperation(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoursOfOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -362,7 +362,7 @@ impl LocalLocationFinder { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILocalLocationFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindLocalLocationsAsync)(::windows::core::Interface::as_raw(this), searchterm.into().abi(), searcharea.into().abi(), localcategory.into().abi(), maxresults, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -384,14 +384,14 @@ impl LocalLocationFinderResult { pub fn LocalLocations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalLocations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -507,7 +507,7 @@ impl LocalLocationHoursOfOperationItem { pub fn Day(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Day)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -516,7 +516,7 @@ impl LocalLocationHoursOfOperationItem { pub fn Start(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Start)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -525,7 +525,7 @@ impl LocalLocationHoursOfOperationItem { pub fn Span(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Span)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -601,7 +601,7 @@ impl LocalLocationRatingInfo { pub fn AggregateRating(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AggregateRating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -610,14 +610,14 @@ impl LocalLocationRatingInfo { pub fn RatingCount(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RatingCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ProviderIdentifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderIdentifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -692,7 +692,7 @@ impl PlaceInfoHelper { P0: ::std::convert::Into<::windows::core::InParam<'a, LocalLocation>>, { Self::IPlaceInfoHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromLocalLocation)(::windows::core::Interface::as_raw(this), location.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs index c9ed032579..9a087e4702 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs @@ -87,28 +87,28 @@ impl OfflineMapPackage { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EnclosingRegionName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnclosingRegionName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EstimatedSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EstimatedSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -126,7 +126,7 @@ impl OfflineMapPackage { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -135,7 +135,7 @@ impl OfflineMapPackage { pub fn RequestStartDownloadAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStartDownloadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -146,7 +146,7 @@ impl OfflineMapPackage { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Devices::Geolocation::Geopoint>>, { Self::IOfflineMapPackageStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesAsync)(::windows::core::Interface::as_raw(this), querypoint.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -157,7 +157,7 @@ impl OfflineMapPackage { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Devices::Geolocation::GeoboundingBox>>, { Self::IOfflineMapPackageStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesInBoundingBoxAsync)(::windows::core::Interface::as_raw(this), queryboundingbox.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -168,7 +168,7 @@ impl OfflineMapPackage { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Devices::Geolocation::Geocircle>>, { Self::IOfflineMapPackageStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindPackagesInGeocircleAsync)(::windows::core::Interface::as_raw(this), querycircle.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -247,7 +247,7 @@ impl OfflineMapPackageQueryResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -256,7 +256,7 @@ impl OfflineMapPackageQueryResult { pub fn Packages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Packages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -366,7 +366,7 @@ impl OfflineMapPackageStartDownloadResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Services/Maps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/mod.rs index acd077c9ad..4a31210f56 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/mod.rs @@ -13,14 +13,14 @@ impl EnhancedWaypoint { pub fn Point(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Point)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31,7 +31,7 @@ impl EnhancedWaypoint { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IEnhancedWaypointFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), point.into().abi(), kind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -761,14 +761,14 @@ impl ManeuverWarning { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Severity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Severity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -947,112 +947,112 @@ impl MapAddress { pub fn BuildingName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildingName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn BuildingFloor(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildingFloor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn BuildingRoom(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildingRoom)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn BuildingWing(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildingWing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn StreetNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreetNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Street(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Street)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Neighborhood(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Neighborhood)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn District(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).District)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Town(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Town)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Region(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Region)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RegionCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegionCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Country(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Country)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CountryCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CountryCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PostCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Continent(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Continent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormattedAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1128,28 +1128,28 @@ impl MapLocation { pub fn Point(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Point)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Address(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1260,7 +1260,7 @@ impl MapLocationFinder { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IMapLocationFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindLocationsAtAsync)(::windows::core::Interface::as_raw(this), querypoint.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1272,7 +1272,7 @@ impl MapLocationFinder { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IMapLocationFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindLocationsAsync)(::windows::core::Interface::as_raw(this), searchtext.into().abi(), referencepoint.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1284,7 +1284,7 @@ impl MapLocationFinder { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IMapLocationFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindLocationsWithMaxCountAsync)(::windows::core::Interface::as_raw(this), searchtext.into().abi(), referencepoint.into().abi(), maxcount, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1295,7 +1295,7 @@ impl MapLocationFinder { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IMapLocationFinderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindLocationsAtWithAccuracyAsync)(::windows::core::Interface::as_raw(this), querypoint.into().abi(), accuracy, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1322,14 +1322,14 @@ impl MapLocationFinderResult { pub fn Locations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Locations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1525,14 +1525,14 @@ impl MapRoute { pub fn BoundingBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LengthInMeters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LengthInMeters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1541,7 +1541,7 @@ impl MapRoute { pub fn EstimatedDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EstimatedDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1550,7 +1550,7 @@ impl MapRoute { pub fn Path(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1559,28 +1559,28 @@ impl MapRoute { pub fn Legs(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Legs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsTrafficBased(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTrafficBased)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ViolatedRestrictions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViolatedRestrictions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasBlockedRoads(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasBlockedRoads)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1589,21 +1589,21 @@ impl MapRoute { pub fn DurationWithoutTraffic(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DurationWithoutTraffic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrafficCongestion(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrafficCongestion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsScenic(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScenic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1684,7 +1684,7 @@ impl MapRouteDrivingOptions { pub fn MaxAlternateRouteCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAlternateRouteCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1697,7 +1697,7 @@ impl MapRouteDrivingOptions { pub fn InitialHeading(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialHeading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1714,7 +1714,7 @@ impl MapRouteDrivingOptions { pub fn RouteOptimization(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RouteOptimization)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1725,7 +1725,7 @@ impl MapRouteDrivingOptions { pub fn RouteRestrictions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RouteRestrictions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1738,7 +1738,7 @@ impl MapRouteDrivingOptions { pub fn DepartureTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DepartureTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1826,7 +1826,7 @@ impl MapRouteFinder { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteAsync)(::windows::core::Interface::as_raw(this), startpoint.into().abi(), endpoint.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1838,7 +1838,7 @@ impl MapRouteFinder { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteWithOptimizationAsync)(::windows::core::Interface::as_raw(this), startpoint.into().abi(), endpoint.into().abi(), optimization, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1850,7 +1850,7 @@ impl MapRouteFinder { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteWithOptimizationAndRestrictionsAsync)(::windows::core::Interface::as_raw(this), startpoint.into().abi(), endpoint.into().abi(), optimization, restrictions, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1862,7 +1862,7 @@ impl MapRouteFinder { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteWithOptimizationRestrictionsAndHeadingAsync)(::windows::core::Interface::as_raw(this), startpoint.into().abi(), endpoint.into().abi(), optimization, restrictions, headingindegrees, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1874,7 +1874,7 @@ impl MapRouteFinder { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromWaypointsAsync)(::windows::core::Interface::as_raw(this), waypoints.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1886,7 +1886,7 @@ impl MapRouteFinder { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromWaypointsAndOptimizationAsync)(::windows::core::Interface::as_raw(this), waypoints.try_into().map_err(|e| e.into())?.abi(), optimization, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1898,7 +1898,7 @@ impl MapRouteFinder { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromWaypointsOptimizationAndRestrictionsAsync)(::windows::core::Interface::as_raw(this), waypoints.try_into().map_err(|e| e.into())?.abi(), optimization, restrictions, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1910,7 +1910,7 @@ impl MapRouteFinder { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromWaypointsOptimizationRestrictionsAndHeadingAsync)(::windows::core::Interface::as_raw(this), waypoints.try_into().map_err(|e| e.into())?.abi(), optimization, restrictions, headingindegrees, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1922,7 +1922,7 @@ impl MapRouteFinder { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWalkingRouteAsync)(::windows::core::Interface::as_raw(this), startpoint.into().abi(), endpoint.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1934,7 +1934,7 @@ impl MapRouteFinder { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWalkingRouteFromWaypointsAsync)(::windows::core::Interface::as_raw(this), waypoints.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1947,7 +1947,7 @@ impl MapRouteFinder { P2: ::std::convert::Into<::windows::core::InParam<'a, MapRouteDrivingOptions>>, { Self::IMapRouteFinderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteWithOptionsAsync)(::windows::core::Interface::as_raw(this), startpoint.into().abi(), endpoint.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1959,7 +1959,7 @@ impl MapRouteFinder { E0: ::std::convert::Into<::windows::core::Error>, { Self::IMapRouteFinderStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromEnhancedWaypointsAsync)(::windows::core::Interface::as_raw(this), waypoints.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1972,7 +1972,7 @@ impl MapRouteFinder { P1: ::std::convert::Into<::windows::core::InParam<'a, MapRouteDrivingOptions>>, { Self::IMapRouteFinderStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync)(::windows::core::Interface::as_raw(this), waypoints.try_into().map_err(|e| e.into())?.abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2002,14 +2002,14 @@ impl MapRouteFinderResult { pub fn Route(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Route)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2018,7 +2018,7 @@ impl MapRouteFinderResult { pub fn AlternateRoutes(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateRoutes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2136,7 +2136,7 @@ impl MapRouteLeg { pub fn BoundingBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2145,14 +2145,14 @@ impl MapRouteLeg { pub fn Path(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LengthInMeters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LengthInMeters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2161,7 +2161,7 @@ impl MapRouteLeg { pub fn EstimatedDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EstimatedDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2170,7 +2170,7 @@ impl MapRouteLeg { pub fn Maneuvers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Maneuvers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2179,14 +2179,14 @@ impl MapRouteLeg { pub fn DurationWithoutTraffic(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DurationWithoutTraffic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrafficCongestion(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrafficCongestion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2262,63 +2262,63 @@ impl MapRouteManeuver { pub fn StartingPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartingPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LengthInMeters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LengthInMeters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InstructionText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstructionText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExitNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExitNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ManeuverNotices(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManeuverNotices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StartHeading(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartHeading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndHeading(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndHeading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StreetName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreetName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2327,7 +2327,7 @@ impl MapRouteManeuver { pub fn Warnings(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Warnings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2565,19 +2565,19 @@ impl MapService { } pub fn ServiceToken() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMapServiceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn WorldViewRegionCode() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMapServiceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorldViewRegionCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DataAttributions() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IMapServiceStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataAttributions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2586,7 +2586,7 @@ impl MapService { } pub fn DataUsagePreference() -> ::windows::core::Result { Self::IMapServiceStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataUsagePreference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2667,21 +2667,21 @@ impl PlaceInfo { pub fn Identifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Identifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2690,7 +2690,7 @@ impl PlaceInfo { pub fn Geoshape(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Geoshape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2701,7 +2701,7 @@ impl PlaceInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), referencepoint.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2713,7 +2713,7 @@ impl PlaceInfo { P1: ::std::convert::Into<::windows::core::InParam<'a, PlaceInfoCreateOptions>>, { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithGeopointAndOptions)(::windows::core::Interface::as_raw(this), referencepoint.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2722,7 +2722,7 @@ impl PlaceInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIdentifier)(::windows::core::Interface::as_raw(this), identifier.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2735,7 +2735,7 @@ impl PlaceInfo { P2: ::std::convert::Into<::windows::core::InParam<'a, PlaceInfoCreateOptions>>, { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIdentifierWithOptions)(::windows::core::Interface::as_raw(this), identifier.into().abi(), defaultpoint.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2744,13 +2744,13 @@ impl PlaceInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, MapLocation>>, { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromMapLocation)(::windows::core::Interface::as_raw(this), location.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsShowSupported() -> ::windows::core::Result { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsShowSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2759,7 +2759,7 @@ impl PlaceInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPlaceInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromAddress)(::windows::core::Interface::as_raw(this), displayaddress.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2769,7 +2769,7 @@ impl PlaceInfo { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPlaceInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromAddressWithName)(::windows::core::Interface::as_raw(this), displayaddress.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2867,7 +2867,7 @@ impl PlaceInfoCreateOptions { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2881,7 +2881,7 @@ impl PlaceInfoCreateOptions { pub fn DisplayAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayAddress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Services/Store/mod.rs b/crates/libs/windows/src/Windows/Services/Store/mod.rs index 2893feffe7..44b244419d 100644 --- a/crates/libs/windows/src/Windows/Services/Store/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Store/mod.rs @@ -934,14 +934,14 @@ impl StoreAcquireLicenseResult { pub fn StorePackageLicense(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorePackageLicense)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1015,21 +1015,21 @@ impl StoreAppLicense { pub fn SkuStoreId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SkuStoreId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTrial(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTrial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1038,14 +1038,14 @@ impl StoreAppLicense { pub fn ExpirationDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedJsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedJsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1054,7 +1054,7 @@ impl StoreAppLicense { pub fn AddOnLicenses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddOnLicenses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1063,28 +1063,28 @@ impl StoreAppLicense { pub fn TrialTimeRemaining(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrialTimeRemaining)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTrialOwnedByThisUser(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTrialOwnedByThisUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrialUniqueId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrialUniqueId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsDiscLicense(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDiscLicense)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1158,7 +1158,7 @@ impl StoreAvailability { pub fn StoreId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1167,21 +1167,21 @@ impl StoreAvailability { pub fn EndDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Price(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Price)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedJsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedJsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1190,7 +1190,7 @@ impl StoreAvailability { pub fn RequestPurchaseAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPurchaseAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1202,7 +1202,7 @@ impl StoreAvailability { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPurchaseWithPurchasePropertiesAsync)(::windows::core::Interface::as_raw(this), storepurchaseproperties.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1276,21 +1276,21 @@ impl StoreCanAcquireLicenseResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn LicensableSku(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicensableSku)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1401,21 +1401,21 @@ impl StoreCollectionData { pub fn IsTrial(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTrial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CampaignId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CampaignId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeveloperOfferId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeveloperOfferId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1424,7 +1424,7 @@ impl StoreCollectionData { pub fn AcquiredDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquiredDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1433,7 +1433,7 @@ impl StoreCollectionData { pub fn StartDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1442,7 +1442,7 @@ impl StoreCollectionData { pub fn EndDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1451,14 +1451,14 @@ impl StoreCollectionData { pub fn TrialTimeRemaining(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrialTimeRemaining)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedJsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedJsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1532,28 +1532,28 @@ impl StoreConsumableResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrackingId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackingId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn BalanceRemaining(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BalanceRemaining)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1665,7 +1665,7 @@ impl StoreContext { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1677,7 +1677,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OfflineLicensesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1696,7 +1696,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCustomerPurchaseIdAsync)(::windows::core::Interface::as_raw(this), serviceticket.into().abi(), publisheruserid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1709,7 +1709,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCustomerCollectionsIdAsync)(::windows::core::Interface::as_raw(this), serviceticket.into().abi(), publisheruserid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1718,7 +1718,7 @@ impl StoreContext { pub fn GetAppLicenseAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppLicenseAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1727,7 +1727,7 @@ impl StoreContext { pub fn GetStoreProductForCurrentAppAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStoreProductForCurrentAppAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1742,7 +1742,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStoreProductsAsync)(::windows::core::Interface::as_raw(this), productkinds.try_into().map_err(|e| e.into())?.abi(), storeids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1755,7 +1755,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAssociatedStoreProductsAsync)(::windows::core::Interface::as_raw(this), productkinds.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1768,7 +1768,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAssociatedStoreProductsWithPagingAsync)(::windows::core::Interface::as_raw(this), productkinds.try_into().map_err(|e| e.into())?.abi(), maxitemstoretrieveperpage, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1781,7 +1781,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUserCollectionAsync)(::windows::core::Interface::as_raw(this), productkinds.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1794,7 +1794,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUserCollectionWithPagingAsync)(::windows::core::Interface::as_raw(this), productkinds.try_into().map_err(|e| e.into())?.abi(), maxitemstoretrieveperpage, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1806,7 +1806,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReportConsumableFulfillmentAsync)(::windows::core::Interface::as_raw(this), productstoreid.into().abi(), quantity, trackingid, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1818,7 +1818,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConsumableBalanceRemainingAsync)(::windows::core::Interface::as_raw(this), productstoreid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1830,7 +1830,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcquireStoreLicenseForOptionalPackageAsync)(::windows::core::Interface::as_raw(this), optionalpackage.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1842,7 +1842,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPurchaseAsync)(::windows::core::Interface::as_raw(this), storeid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1855,7 +1855,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPurchaseWithPurchasePropertiesAsync)(::windows::core::Interface::as_raw(this), storeid.into().abi(), storepurchaseproperties.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1864,7 +1864,7 @@ impl StoreContext { pub fn GetAppAndOptionalStorePackageUpdatesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppAndOptionalStorePackageUpdatesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1877,7 +1877,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDownloadStorePackageUpdatesAsync)(::windows::core::Interface::as_raw(this), storepackageupdates.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1890,7 +1890,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDownloadAndInstallStorePackageUpdatesAsync)(::windows::core::Interface::as_raw(this), storepackageupdates.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1903,7 +1903,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDownloadAndInstallStorePackagesAsync)(::windows::core::Interface::as_raw(this), storeids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1917,14 +1917,14 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindStoreProductForPackageAsync)(::windows::core::Interface::as_raw(this), productkinds.try_into().map_err(|e| e.into())?.abi(), package.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CanSilentlyDownloadStorePackageUpdates(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanSilentlyDownloadStorePackageUpdates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1937,7 +1937,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySilentDownloadStorePackageUpdatesAsync)(::windows::core::Interface::as_raw(this), storepackageupdates.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1950,7 +1950,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySilentDownloadAndInstallStorePackageUpdatesAsync)(::windows::core::Interface::as_raw(this), storepackageupdates.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1962,7 +1962,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanAcquireStoreLicenseForOptionalPackageAsync)(::windows::core::Interface::as_raw(this), optionalpackage.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1974,7 +1974,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanAcquireStoreLicenseAsync)(::windows::core::Interface::as_raw(this), productstoreid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1990,7 +1990,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStoreProductsWithOptionsAsync)(::windows::core::Interface::as_raw(this), productkinds.try_into().map_err(|e| e.into())?.abi(), storeids.try_into().map_err(|e| e.into())?.abi(), storeproductoptions.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1999,7 +1999,7 @@ impl StoreContext { pub fn GetAssociatedStoreQueueItemsAsync(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAssociatedStoreQueueItemsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2012,7 +2012,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStoreQueueItemsAsync)(::windows::core::Interface::as_raw(this), storeids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2026,7 +2026,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDownloadAndInstallStorePackagesWithInstallOptionsAsync)(::windows::core::Interface::as_raw(this), storeids.try_into().map_err(|e| e.into())?.abi(), storepackageinstalloptions.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2039,7 +2039,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadAndInstallStorePackagesAsync)(::windows::core::Interface::as_raw(this), storeids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2051,7 +2051,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestUninstallStorePackageAsync)(::windows::core::Interface::as_raw(this), package.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2063,7 +2063,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestUninstallStorePackageByStoreIdAsync)(::windows::core::Interface::as_raw(this), storeid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2075,7 +2075,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UninstallStorePackageAsync)(::windows::core::Interface::as_raw(this), package.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2087,7 +2087,7 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UninstallStorePackageByStoreIdAsync)(::windows::core::Interface::as_raw(this), storeid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2096,7 +2096,7 @@ impl StoreContext { pub fn RequestRateAndReviewAppAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestRateAndReviewAppAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2109,13 +2109,13 @@ impl StoreContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetInstallOrderForAssociatedStoreQueueItemsAsync)(::windows::core::Interface::as_raw(this), items.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IStoreContextStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2126,7 +2126,7 @@ impl StoreContext { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IStoreContextStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2245,35 +2245,35 @@ impl StoreImage { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ImagePurposeTag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImagePurposeTag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Caption(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Caption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2347,14 +2347,14 @@ impl StoreLicense { pub fn SkuStoreId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SkuStoreId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2363,21 +2363,21 @@ impl StoreLicense { pub fn ExpirationDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedJsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedJsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InAppOfferToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InAppOfferToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2458,7 +2458,7 @@ impl StorePackageInstallOptions { pub fn AllowForcedAppRestart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowForcedAppRestart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2547,7 +2547,7 @@ impl StorePackageLicense { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LicenseLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2562,14 +2562,14 @@ impl StorePackageLicense { pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsValid(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsValid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2671,14 +2671,14 @@ impl StorePackageUpdate { pub fn Package(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Package)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Mandatory(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mandatory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2752,7 +2752,7 @@ impl StorePackageUpdateResult { pub fn OverallState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OverallState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2761,7 +2761,7 @@ impl StorePackageUpdateResult { pub fn StorePackageUpdateStatuses(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorePackageUpdateStatuses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2770,7 +2770,7 @@ impl StorePackageUpdateResult { pub fn StoreQueueItems(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreQueueItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2933,21 +2933,21 @@ impl StorePrice { pub fn FormattedBasePrice(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedBasePrice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormattedPrice(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedPrice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsOnSale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOnSale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2956,21 +2956,21 @@ impl StorePrice { pub fn SaleEndDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaleEndDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrencyCode(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrencyCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FormattedRecurrencePrice(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedRecurrencePrice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3044,42 +3044,42 @@ impl StoreProduct { pub fn StoreId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProductKind(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn HasDigitalDownload(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasDigitalDownload)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3088,7 +3088,7 @@ impl StoreProduct { pub fn Keywords(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keywords)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3097,7 +3097,7 @@ impl StoreProduct { pub fn Images(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Images)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3106,7 +3106,7 @@ impl StoreProduct { pub fn Videos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Videos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3115,28 +3115,28 @@ impl StoreProduct { pub fn Skus(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Skus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsInUserCollection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInUserCollection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Price(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Price)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedJsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedJsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3145,7 +3145,7 @@ impl StoreProduct { pub fn LinkUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinkUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3154,7 +3154,7 @@ impl StoreProduct { pub fn GetIsAnySkuInstalledAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsAnySkuInstalledAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3163,7 +3163,7 @@ impl StoreProduct { pub fn RequestPurchaseAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPurchaseAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3175,14 +3175,14 @@ impl StoreProduct { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPurchaseWithPurchasePropertiesAsync)(::windows::core::Interface::as_raw(this), storepurchaseproperties.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn InAppOfferToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InAppOfferToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3265,7 +3265,7 @@ impl StoreProductOptions { pub fn ActionFilters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActionFilters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3341,21 +3341,21 @@ impl StoreProductPagedQueryResult { pub fn Products(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Products)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn HasMoreResults(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasMoreResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3364,7 +3364,7 @@ impl StoreProductPagedQueryResult { pub fn GetNextAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNextAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3440,14 +3440,14 @@ impl StoreProductQueryResult { pub fn Products(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Products)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3521,14 +3521,14 @@ impl StoreProductResult { pub fn Product(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Product)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3609,7 +3609,7 @@ impl StorePurchaseProperties { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3623,7 +3623,7 @@ impl StorePurchaseProperties { pub fn ExtendedJsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedJsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3639,7 +3639,7 @@ impl StorePurchaseProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorePurchasePropertiesFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3718,14 +3718,14 @@ impl StorePurchaseResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3836,28 +3836,28 @@ impl StoreQueueItem { pub fn ProductId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InstallKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3869,7 +3869,7 @@ impl StoreQueueItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3887,7 +3887,7 @@ impl StoreQueueItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3902,7 +3902,7 @@ impl StoreQueueItem { pub fn CancelInstallAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CancelInstallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3911,7 +3911,7 @@ impl StoreQueueItem { pub fn PauseInstallAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PauseInstallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3920,7 +3920,7 @@ impl StoreQueueItem { pub fn ResumeInstallAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResumeInstallAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3994,7 +3994,7 @@ impl StoreQueueItemCompletedEventArgs { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4187,28 +4187,28 @@ impl StoreQueueItemStatus { pub fn PackageInstallState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageInstallState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PackageInstallExtendedState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageInstallExtendedState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UpdateStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4282,28 +4282,28 @@ impl StoreRateAndReviewResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn ExtendedJsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedJsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn WasUpdated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WasUpdated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4417,7 +4417,7 @@ impl StoreRequestHelper { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStoreRequestHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendRequestAsync)(::windows::core::Interface::as_raw(this), context.into().abi(), requestkind, parametersasjson.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4437,14 +4437,14 @@ impl StoreSendRequestResult { pub fn Response(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Response)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4453,7 +4453,7 @@ impl StoreSendRequestResult { pub fn HttpStatusCode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HttpStatusCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4527,42 +4527,42 @@ impl StoreSku { pub fn StoreId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsTrial(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTrial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CustomDeveloperData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomDeveloperData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4571,7 +4571,7 @@ impl StoreSku { pub fn Images(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Images)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4580,7 +4580,7 @@ impl StoreSku { pub fn Videos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Videos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4589,28 +4589,28 @@ impl StoreSku { pub fn Availabilities(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Availabilities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Price(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Price)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedJsonData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedJsonData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsInUserCollection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInUserCollection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4619,14 +4619,14 @@ impl StoreSku { pub fn BundledSkus(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BundledSkus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CollectionData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CollectionData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4635,7 +4635,7 @@ impl StoreSku { pub fn GetIsInstalledAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIsInstalledAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4644,7 +4644,7 @@ impl StoreSku { pub fn RequestPurchaseAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPurchaseAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4656,21 +4656,21 @@ impl StoreSku { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPurchaseWithPurchasePropertiesAsync)(::windows::core::Interface::as_raw(this), storepurchaseproperties.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsSubscription(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSubscription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SubscriptionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscriptionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4744,35 +4744,35 @@ impl StoreSubscriptionInfo { pub fn BillingPeriod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BillingPeriod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BillingPeriodUnit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BillingPeriodUnit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasTrialPeriod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasTrialPeriod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrialPeriod(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrialPeriod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TrialPeriodUnit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrialPeriodUnit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4846,14 +4846,14 @@ impl StoreUninstallStorePackageResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4966,42 +4966,42 @@ impl StoreVideo { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VideoPurposeTag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoPurposeTag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Caption(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Caption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PreviewImage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviewImage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs index e23ff3384f..6eea7ce2db 100644 --- a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs +++ b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs @@ -341,7 +341,7 @@ impl TargetedContentAction { pub fn InvokeAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvokeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -487,7 +487,7 @@ impl TargetedContentAvailabilityChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -563,14 +563,14 @@ impl TargetedContentChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasPreviousContentExpired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasPreviousContentExpired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -644,7 +644,7 @@ impl TargetedContentCollection { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -662,7 +662,7 @@ impl TargetedContentCollection { pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -671,7 +671,7 @@ impl TargetedContentCollection { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -680,7 +680,7 @@ impl TargetedContentCollection { pub fn Collections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Collections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -689,7 +689,7 @@ impl TargetedContentCollection { pub fn Items(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -763,7 +763,7 @@ impl TargetedContentContainer { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -772,21 +772,21 @@ impl TargetedContentContainer { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Availability(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Availability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -796,7 +796,7 @@ impl TargetedContentContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectSingleObject)(::windows::core::Interface::as_raw(this), path.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -807,7 +807,7 @@ impl TargetedContentContainer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITargetedContentContainerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsync)(::windows::core::Interface::as_raw(this), contentid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -890,7 +890,7 @@ impl TargetedContentFile { pub fn OpenReadAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1003,21 +1003,21 @@ impl TargetedContentImage { pub fn OpenReadAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1158,7 +1158,7 @@ impl TargetedContentItem { pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1176,7 +1176,7 @@ impl TargetedContentItem { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1185,7 +1185,7 @@ impl TargetedContentItem { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1194,7 +1194,7 @@ impl TargetedContentItem { pub fn Collections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Collections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1268,14 +1268,14 @@ impl TargetedContentItemState { pub fn ShouldDisplay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldDisplay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppInstallationState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppInstallationState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1349,28 +1349,28 @@ impl TargetedContentObject { pub fn ObjectKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ObjectKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Collection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Collection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Item(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Item)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1481,7 +1481,7 @@ impl TargetedContentStateChangedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1555,7 +1555,7 @@ impl TargetedContentSubscription { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1564,7 +1564,7 @@ impl TargetedContentSubscription { pub fn GetContentContainerAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetContentContainerAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1576,7 +1576,7 @@ impl TargetedContentSubscription { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1594,7 +1594,7 @@ impl TargetedContentSubscription { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailabilityChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1612,7 +1612,7 @@ impl TargetedContentSubscription { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1629,7 +1629,7 @@ impl TargetedContentSubscription { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITargetedContentSubscriptionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsync)(::windows::core::Interface::as_raw(this), subscriptionid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1638,7 +1638,7 @@ impl TargetedContentSubscription { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITargetedContentSubscriptionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOptions)(::windows::core::Interface::as_raw(this), subscriptionid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1717,14 +1717,14 @@ impl TargetedContentSubscriptionOptions { pub fn SubscriptionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubscriptionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AllowPartialContentAvailability(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowPartialContentAvailability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1737,7 +1737,7 @@ impl TargetedContentSubscriptionOptions { pub fn CloudQueryParameters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloudQueryParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1746,7 +1746,7 @@ impl TargetedContentSubscriptionOptions { pub fn LocalFilters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalFilters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1824,21 +1824,21 @@ impl TargetedContentValue { pub fn ValueKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn String(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).String)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1847,21 +1847,21 @@ impl TargetedContentValue { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Number(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Number)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Boolean(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Boolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1870,21 +1870,21 @@ impl TargetedContentValue { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ImageFile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageFile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Action(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Action)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1893,7 +1893,7 @@ impl TargetedContentValue { pub fn Strings(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Strings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1902,7 +1902,7 @@ impl TargetedContentValue { pub fn Uris(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uris)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1911,7 +1911,7 @@ impl TargetedContentValue { pub fn Numbers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Numbers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1920,7 +1920,7 @@ impl TargetedContentValue { pub fn Booleans(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Booleans)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1929,7 +1929,7 @@ impl TargetedContentValue { pub fn Files(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1938,7 +1938,7 @@ impl TargetedContentValue { pub fn ImageFiles(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageFiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1947,7 +1947,7 @@ impl TargetedContentValue { pub fn Actions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Actions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs index 8f73477c47..9b50ed4c55 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs @@ -111,7 +111,7 @@ impl AccessListEntryView { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -120,7 +120,7 @@ impl AccessListEntryView { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -129,7 +129,7 @@ impl AccessListEntryView { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -141,7 +141,7 @@ impl AccessListEntryView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -150,7 +150,7 @@ impl AccessListEntryView { pub fn GetMany(&self, startindex: u32, items: &mut [AccessListEntry]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -346,7 +346,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddOverloadDefaultMetadata)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -358,7 +358,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Add)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), metadata.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -389,7 +389,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -401,7 +401,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -413,7 +413,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -425,7 +425,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemWithOptionsAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -437,7 +437,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileWithOptionsAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -449,7 +449,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderWithOptionsAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -466,7 +466,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsItem)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -481,7 +481,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckAccess)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -490,14 +490,14 @@ impl IStorageItemAccessList { pub fn Entries(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Entries)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaximumItemsAllowed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaximumItemsAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -642,7 +642,7 @@ impl ItemRemovedEventArgs { pub fn RemovedEntry(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovedEntry)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -746,13 +746,13 @@ pub struct StorageApplicationPermissions; impl StorageApplicationPermissions { pub fn FutureAccessList() -> ::windows::core::Result { Self::IStorageApplicationPermissionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FutureAccessList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MostRecentlyUsedList() -> ::windows::core::Result { Self::IStorageApplicationPermissionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MostRecentlyUsedList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -763,7 +763,7 @@ impl StorageApplicationPermissions { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IStorageApplicationPermissionsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFutureAccessListForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -774,7 +774,7 @@ impl StorageApplicationPermissions { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IStorageApplicationPermissionsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMostRecentlyUsedListForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -803,7 +803,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddOverloadDefaultMetadata)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -815,7 +815,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Add)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), metadata.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -846,7 +846,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -858,7 +858,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -870,7 +870,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -882,7 +882,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemWithOptionsAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -894,7 +894,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileWithOptionsAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -906,7 +906,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderWithOptionsAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -923,7 +923,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsItem)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -938,7 +938,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckAccess)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -947,14 +947,14 @@ impl StorageItemAccessList { pub fn Entries(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Entries)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaximumItemsAllowed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaximumItemsAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1049,7 +1049,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddOverloadDefaultMetadata)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1061,7 +1061,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Add)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), metadata.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1092,7 +1092,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1104,7 +1104,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1116,7 +1116,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1128,7 +1128,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemWithOptionsAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1140,7 +1140,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileWithOptionsAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1152,7 +1152,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderWithOptionsAsync)(::windows::core::Interface::as_raw(this), token.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1169,7 +1169,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsItem)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1184,7 +1184,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckAccess)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1193,14 +1193,14 @@ impl StorageItemMostRecentlyUsedList { pub fn Entries(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Entries)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaximumItemsAllowed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaximumItemsAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1212,7 +1212,7 @@ impl StorageItemMostRecentlyUsedList { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1230,7 +1230,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddWithMetadataAndVisibility)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), metadata.into().abi(), visibility, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index da1bdbf8ce..b0218f93b9 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -7,7 +7,7 @@ impl FileInformation { pub fn OpenSequentialReadAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenSequentialReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -16,21 +16,21 @@ impl FileInformation { pub fn OpenReadAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn FileType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -39,7 +39,7 @@ impl FileInformation { pub fn OpenAsync(&self, accessmode: super::FileAccessMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAsync)(::windows::core::Interface::as_raw(this), accessmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -48,7 +48,7 @@ impl FileInformation { pub fn OpenTransactedWriteAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -61,7 +61,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyOverloadDefaultNameAndOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -75,7 +75,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -89,7 +89,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyOverload)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), option, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -102,7 +102,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyAndReplaceAsync)(::windows::core::Interface::as_raw(this), filetoreplace.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -115,7 +115,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveOverloadDefaultNameAndOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -129,7 +129,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -143,7 +143,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveOverload)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -156,7 +156,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveAndReplaceAsync)(::windows::core::Interface::as_raw(this), filetoreplace.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -165,7 +165,7 @@ impl FileInformation { pub fn OpenWithOptionsAsync(&self, accessmode: super::FileAccessMode, options: super::StorageOpenOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenWithOptionsAsync)(::windows::core::Interface::as_raw(this), accessmode, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -174,14 +174,14 @@ impl FileInformation { pub fn OpenTransactedWriteWithOptionsAsync(&self, options: super::StorageOpenOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteWithOptionsAsync)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsAvailable(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -193,7 +193,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -205,7 +205,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -214,7 +214,7 @@ impl FileInformation { pub fn DeleteAsyncOverloadDefaultOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -223,7 +223,7 @@ impl FileInformation { pub fn DeleteAsync(&self, option: super::StorageDeleteOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -232,28 +232,28 @@ impl FileInformation { pub fn GetBasicPropertiesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBasicPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -262,14 +262,14 @@ impl FileInformation { pub fn DateCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOfType(&self, r#type: super::StorageItemTypes) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -278,7 +278,7 @@ impl FileInformation { pub fn GetParentAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetParentAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -289,7 +289,7 @@ impl FileInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), item.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -298,7 +298,7 @@ impl FileInformation { pub fn MusicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MusicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -307,7 +307,7 @@ impl FileInformation { pub fn VideoProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -316,7 +316,7 @@ impl FileInformation { pub fn ImageProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -325,7 +325,7 @@ impl FileInformation { pub fn DocumentProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -334,7 +334,7 @@ impl FileInformation { pub fn BasicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BasicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -343,7 +343,7 @@ impl FileInformation { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -355,7 +355,7 @@ impl FileInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThumbnailUpdated)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -373,7 +373,7 @@ impl FileInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PropertiesUpdated)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -388,7 +388,7 @@ impl FileInformation { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: super::FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -397,7 +397,7 @@ impl FileInformation { pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: super::FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -406,28 +406,28 @@ impl FileInformation { pub fn GetThumbnailAsync(&self, mode: super::FileProperties::ThumbnailMode, requestedsize: u32, options: super::FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FolderRelativeId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderRelativeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -436,14 +436,14 @@ impl FileInformation { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Provider(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Provider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -713,7 +713,7 @@ impl FileInformationFactory { pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsync)(::windows::core::Interface::as_raw(this), startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -722,7 +722,7 @@ impl FileInformationFactory { pub fn GetItemsAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsyncDefaultStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -731,7 +731,7 @@ impl FileInformationFactory { pub fn GetFilesAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsync)(::windows::core::Interface::as_raw(this), startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -740,7 +740,7 @@ impl FileInformationFactory { pub fn GetFilesAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsyncDefaultStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -749,7 +749,7 @@ impl FileInformationFactory { pub fn GetFoldersAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsync)(::windows::core::Interface::as_raw(this), startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -758,28 +758,28 @@ impl FileInformationFactory { pub fn GetFoldersAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsyncDefaultStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn GetVirtualizedItemsVector(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVirtualizedItemsVector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn GetVirtualizedFilesVector(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVirtualizedFilesVector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } pub fn GetVirtualizedFoldersVector(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVirtualizedFoldersVector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -791,7 +791,7 @@ impl FileInformationFactory { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileInformationFactoryFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithMode)(::windows::core::Interface::as_raw(this), queryresult.try_into().map_err(|e| e.into())?.abi(), mode, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -803,7 +803,7 @@ impl FileInformationFactory { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileInformationFactoryFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithModeAndSize)(::windows::core::Interface::as_raw(this), queryresult.try_into().map_err(|e| e.into())?.abi(), mode, requestedthumbnailsize, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -815,7 +815,7 @@ impl FileInformationFactory { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileInformationFactoryFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithModeAndSizeAndOptions)(::windows::core::Interface::as_raw(this), queryresult.try_into().map_err(|e| e.into())?.abi(), mode, requestedthumbnailsize, thumbnailoptions, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -827,7 +827,7 @@ impl FileInformationFactory { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileInformationFactoryFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithModeAndSizeAndOptionsAndFlags)(::windows::core::Interface::as_raw(this), queryresult.try_into().map_err(|e| e.into())?.abi(), mode, requestedthumbnailsize, thumbnailoptions, delayload, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -911,7 +911,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -923,7 +923,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -935,7 +935,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -947,7 +947,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -959,7 +959,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -971,7 +971,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -983,7 +983,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -992,7 +992,7 @@ impl FolderInformation { pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultOptionsStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1001,7 +1001,7 @@ impl FolderInformation { pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1010,7 +1010,7 @@ impl FolderInformation { pub fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsyncOverloadDefaultStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1022,7 +1022,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetItemAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1031,7 +1031,7 @@ impl FolderInformation { pub fn GetIndexedStateAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndexedStateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1040,7 +1040,7 @@ impl FolderInformation { pub fn CreateFileQueryOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileQueryOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1049,7 +1049,7 @@ impl FolderInformation { pub fn CreateFileQuery(&self, query: super::Search::CommonFileQuery) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileQuery)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1061,7 +1061,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileQueryWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1070,7 +1070,7 @@ impl FolderInformation { pub fn CreateFolderQueryOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderQueryOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1079,7 +1079,7 @@ impl FolderInformation { pub fn CreateFolderQuery(&self, query: super::Search::CommonFolderQuery) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderQuery)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1091,7 +1091,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderQueryWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1100,7 +1100,7 @@ impl FolderInformation { pub fn CreateItemQuery(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateItemQuery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1112,7 +1112,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateItemQueryWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1121,7 +1121,7 @@ impl FolderInformation { pub fn GetFilesAsync(&self, query: super::Search::CommonFileQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsync)(::windows::core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1130,7 +1130,7 @@ impl FolderInformation { pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: super::Search::CommonFileQuery) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1139,7 +1139,7 @@ impl FolderInformation { pub fn GetFoldersAsync(&self, query: super::Search::CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsync)(::windows::core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1148,7 +1148,7 @@ impl FolderInformation { pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: super::Search::CommonFolderQuery) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultStartAndCount)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1157,7 +1157,7 @@ impl FolderInformation { pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsync)(::windows::core::Interface::as_raw(this), startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1169,7 +1169,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreQueryOptionsSupported)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1178,7 +1178,7 @@ impl FolderInformation { pub fn IsCommonFolderQuerySupported(&self, query: super::Search::CommonFolderQuery) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCommonFolderQuerySupported)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1187,7 +1187,7 @@ impl FolderInformation { pub fn IsCommonFileQuerySupported(&self, query: super::Search::CommonFileQuery) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCommonFileQuerySupported)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1199,7 +1199,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1211,7 +1211,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1220,7 +1220,7 @@ impl FolderInformation { pub fn DeleteAsyncOverloadDefaultOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1229,7 +1229,7 @@ impl FolderInformation { pub fn DeleteAsync(&self, option: super::StorageDeleteOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1238,28 +1238,28 @@ impl FolderInformation { pub fn GetBasicPropertiesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBasicPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1268,14 +1268,14 @@ impl FolderInformation { pub fn DateCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOfType(&self, r#type: super::StorageItemTypes) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1284,7 +1284,7 @@ impl FolderInformation { pub fn GetParentAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetParentAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1295,7 +1295,7 @@ impl FolderInformation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), item.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1304,7 +1304,7 @@ impl FolderInformation { pub fn MusicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MusicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1313,7 +1313,7 @@ impl FolderInformation { pub fn VideoProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1322,7 +1322,7 @@ impl FolderInformation { pub fn ImageProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1331,7 +1331,7 @@ impl FolderInformation { pub fn DocumentProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1340,7 +1340,7 @@ impl FolderInformation { pub fn BasicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BasicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1349,7 +1349,7 @@ impl FolderInformation { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1361,7 +1361,7 @@ impl FolderInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThumbnailUpdated)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1379,7 +1379,7 @@ impl FolderInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PropertiesUpdated)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1394,7 +1394,7 @@ impl FolderInformation { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: super::FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1403,7 +1403,7 @@ impl FolderInformation { pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: super::FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1412,28 +1412,28 @@ impl FolderInformation { pub fn GetThumbnailAsync(&self, mode: super::FileProperties::ThumbnailMode, requestedsize: u32, options: super::FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FolderRelativeId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderRelativeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1442,14 +1442,14 @@ impl FolderInformation { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Provider(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Provider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1745,7 +1745,7 @@ impl IStorageItemInformation { pub fn MusicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MusicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1754,7 +1754,7 @@ impl IStorageItemInformation { pub fn VideoProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1763,7 +1763,7 @@ impl IStorageItemInformation { pub fn ImageProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1772,7 +1772,7 @@ impl IStorageItemInformation { pub fn DocumentProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1781,7 +1781,7 @@ impl IStorageItemInformation { pub fn BasicProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BasicProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1790,7 +1790,7 @@ impl IStorageItemInformation { pub fn Thumbnail(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thumbnail)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1802,7 +1802,7 @@ impl IStorageItemInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThumbnailUpdated)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1820,7 +1820,7 @@ impl IStorageItemInformation { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PropertiesUpdated)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs index d44d66fe48..bc74f38db1 100644 --- a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs @@ -51,7 +51,7 @@ impl Compressor { pub fn FinishAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinishAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -60,7 +60,7 @@ impl Compressor { pub fn DetachStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -72,7 +72,7 @@ impl Compressor { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICompressorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCompressor)(::windows::core::Interface::as_raw(this), underlyingstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -84,7 +84,7 @@ impl Compressor { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICompressorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCompressorEx)(::windows::core::Interface::as_raw(this), underlyingstream.try_into().map_err(|e| e.into())?.abi(), algorithm, blocksize, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -97,7 +97,7 @@ impl Compressor { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -106,7 +106,7 @@ impl Compressor { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -237,7 +237,7 @@ impl Decompressor { pub fn DetachStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -249,7 +249,7 @@ impl Decompressor { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDecompressorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDecompressor)(::windows::core::Interface::as_raw(this), underlyingstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -262,7 +262,7 @@ impl Decompressor { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs index 3ab6b70667..c9b611f544 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -5,7 +5,7 @@ impl BasicProperties { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14,7 +14,7 @@ impl BasicProperties { pub fn DateModified(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateModified)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23,7 +23,7 @@ impl BasicProperties { pub fn ItemDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36,7 +36,7 @@ impl BasicProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -49,7 +49,7 @@ impl BasicProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestosave.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -58,7 +58,7 @@ impl BasicProperties { pub fn SavePropertiesAsyncOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -151,14 +151,14 @@ impl DocumentProperties { pub fn Author(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Author)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -174,14 +174,14 @@ impl DocumentProperties { pub fn Keywords(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keywords)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -201,7 +201,7 @@ impl DocumentProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -214,7 +214,7 @@ impl DocumentProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestosave.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -223,7 +223,7 @@ impl DocumentProperties { pub fn SavePropertiesAsyncOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -318,7 +318,7 @@ impl GeotagHelper { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGeotagHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGeotagAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -331,7 +331,7 @@ impl GeotagHelper { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geolocator>>, { Self::IGeotagHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetGeotagFromGeolocatorAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), geolocator.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -344,7 +344,7 @@ impl GeotagHelper { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Geolocation::Geopoint>>, { Self::IGeotagHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetGeotagAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), geopoint.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -569,7 +569,7 @@ impl IStorageItemExtraProperties { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -582,7 +582,7 @@ impl IStorageItemExtraProperties { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestosave.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -591,7 +591,7 @@ impl IStorageItemExtraProperties { pub fn SavePropertiesAsyncOverloadDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -747,7 +747,7 @@ impl ImageProperties { pub fn Rating(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -760,7 +760,7 @@ impl ImageProperties { pub fn Keywords(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keywords)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -769,7 +769,7 @@ impl ImageProperties { pub fn DateTaken(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateTaken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -782,21 +782,21 @@ impl ImageProperties { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -812,7 +812,7 @@ impl ImageProperties { pub fn Latitude(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Latitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -821,14 +821,14 @@ impl ImageProperties { pub fn Longitude(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Longitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CameraManufacturer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraManufacturer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -842,7 +842,7 @@ impl ImageProperties { pub fn CameraModel(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraModel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -856,7 +856,7 @@ impl ImageProperties { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -865,7 +865,7 @@ impl ImageProperties { pub fn PeopleNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeopleNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -878,7 +878,7 @@ impl ImageProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -891,7 +891,7 @@ impl ImageProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestosave.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -900,7 +900,7 @@ impl ImageProperties { pub fn SavePropertiesAsyncOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -991,7 +991,7 @@ impl MusicProperties { pub fn Album(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Album)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1005,7 +1005,7 @@ impl MusicProperties { pub fn Artist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Artist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1021,14 +1021,14 @@ impl MusicProperties { pub fn Genre(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Genre)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TrackNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1039,7 +1039,7 @@ impl MusicProperties { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1053,7 +1053,7 @@ impl MusicProperties { pub fn Rating(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1066,21 +1066,21 @@ impl MusicProperties { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Bitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AlbumArtist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumArtist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1096,7 +1096,7 @@ impl MusicProperties { pub fn Composers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Composers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1105,14 +1105,14 @@ impl MusicProperties { pub fn Conductors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Conductors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Subtitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1128,14 +1128,14 @@ impl MusicProperties { pub fn Producers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Producers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Publisher(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Publisher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1151,14 +1151,14 @@ impl MusicProperties { pub fn Writers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Writers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Year(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Year)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1175,7 +1175,7 @@ impl MusicProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1188,7 +1188,7 @@ impl MusicProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestosave.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1197,7 +1197,7 @@ impl MusicProperties { pub fn SavePropertiesAsyncOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1397,7 +1397,7 @@ impl StorageItemContentProperties { pub fn GetMusicPropertiesAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMusicPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1406,7 +1406,7 @@ impl StorageItemContentProperties { pub fn GetVideoPropertiesAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVideoPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1415,7 +1415,7 @@ impl StorageItemContentProperties { pub fn GetImagePropertiesAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetImagePropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1424,7 +1424,7 @@ impl StorageItemContentProperties { pub fn GetDocumentPropertiesAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDocumentPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1437,7 +1437,7 @@ impl StorageItemContentProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1450,7 +1450,7 @@ impl StorageItemContentProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestosave.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1459,7 +1459,7 @@ impl StorageItemContentProperties { pub fn SavePropertiesAsyncOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1560,7 +1560,7 @@ impl StorageItemThumbnail { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1573,7 +1573,7 @@ impl StorageItemThumbnail { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1586,7 +1586,7 @@ impl StorageItemThumbnail { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1595,7 +1595,7 @@ impl StorageItemThumbnail { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1604,7 +1604,7 @@ impl StorageItemThumbnail { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1619,7 +1619,7 @@ impl StorageItemThumbnail { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1628,7 +1628,7 @@ impl StorageItemThumbnail { pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1637,7 +1637,7 @@ impl StorageItemThumbnail { pub fn Position(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1652,7 +1652,7 @@ impl StorageItemThumbnail { pub fn CloneStream(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1661,7 +1661,7 @@ impl StorageItemThumbnail { pub fn CanRead(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1670,35 +1670,35 @@ impl StorageItemThumbnail { pub fn CanWrite(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OriginalWidth(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OriginalHeight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReturnedSmallerCachedSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReturnedSmallerCachedSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2093,7 +2093,7 @@ impl VideoProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2106,7 +2106,7 @@ impl VideoProperties { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsync)(::windows::core::Interface::as_raw(this), propertiestosave.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2115,14 +2115,14 @@ impl VideoProperties { pub fn SavePropertiesAsyncOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Rating(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2135,21 +2135,21 @@ impl VideoProperties { pub fn Keywords(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keywords)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Height(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Height)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2158,7 +2158,7 @@ impl VideoProperties { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2167,7 +2167,7 @@ impl VideoProperties { pub fn Latitude(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Latitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2176,14 +2176,14 @@ impl VideoProperties { pub fn Longitude(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Longitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2197,7 +2197,7 @@ impl VideoProperties { pub fn Subtitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2213,14 +2213,14 @@ impl VideoProperties { pub fn Producers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Producers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Publisher(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Publisher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2236,14 +2236,14 @@ impl VideoProperties { pub fn Writers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Writers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Year(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Year)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2254,7 +2254,7 @@ impl VideoProperties { pub fn Bitrate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2263,14 +2263,14 @@ impl VideoProperties { pub fn Directors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Directors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs index 657f83ac15..e25dd1b253 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs @@ -46,7 +46,7 @@ impl FileOpenPickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddFile)(::windows::core::Interface::as_raw(this), id.into().abi(), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -63,7 +63,7 @@ impl FileOpenPickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsFile)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -74,7 +74,7 @@ impl FileOpenPickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanAddFile)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -83,28 +83,28 @@ impl FileOpenPickerUI { pub fn AllowedFileTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowedFileTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SelectionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SettingsIdentifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SettingsIdentifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -123,7 +123,7 @@ impl FileOpenPickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -141,7 +141,7 @@ impl FileOpenPickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -223,7 +223,7 @@ impl FileRemovedEventArgs { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -308,7 +308,7 @@ impl FileSavePickerUI { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -324,21 +324,21 @@ impl FileSavePickerUI { pub fn AllowedFileTypes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowedFileTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SettingsIdentifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SettingsIdentifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -348,7 +348,7 @@ impl FileSavePickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetFileName)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -360,7 +360,7 @@ impl FileSavePickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileNameChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -378,7 +378,7 @@ impl FileSavePickerUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetFileRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -740,14 +740,14 @@ impl PickerClosingEventArgs { pub fn ClosingOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClosingOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -819,7 +819,7 @@ impl PickerClosingOperation { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -828,7 +828,7 @@ impl PickerClosingOperation { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -935,7 +935,7 @@ impl TargetFileRequest { pub fn TargetFile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetFile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -950,7 +950,7 @@ impl TargetFileRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1091,7 +1091,7 @@ impl TargetFileRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs index 9ef1dc07d5..b18072cace 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -11,7 +11,7 @@ impl FileExtensionVector { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -20,7 +20,7 @@ impl FileExtensionVector { pub fn GetAt(&self, index: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -29,7 +29,7 @@ impl FileExtensionVector { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38,7 +38,7 @@ impl FileExtensionVector { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -50,7 +50,7 @@ impl FileExtensionVector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -104,7 +104,7 @@ impl FileExtensionVector { pub fn GetMany(&self, startindex: u32, items: &mut [::windows::core::HSTRING]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -266,7 +266,7 @@ impl FileOpenPicker { pub fn ViewMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -277,7 +277,7 @@ impl FileOpenPicker { pub fn SettingsIdentifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SettingsIdentifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -291,7 +291,7 @@ impl FileOpenPicker { pub fn SuggestedStartLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestedStartLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -302,7 +302,7 @@ impl FileOpenPicker { pub fn CommitButtonText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitButtonText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -318,7 +318,7 @@ impl FileOpenPicker { pub fn FileTypeFilter(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileTypeFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -327,7 +327,7 @@ impl FileOpenPicker { pub fn PickSingleFileAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleFileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -336,7 +336,7 @@ impl FileOpenPicker { pub fn PickMultipleFilesAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickMultipleFilesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -345,7 +345,7 @@ impl FileOpenPicker { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -366,7 +366,7 @@ impl FileOpenPicker { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -374,7 +374,7 @@ impl FileOpenPicker { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn ResumePickSingleFileAsync() -> ::windows::core::Result> { Self::IFileOpenPickerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResumePickSingleFileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -385,7 +385,7 @@ impl FileOpenPicker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IFileOpenPickerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -397,7 +397,7 @@ impl FileOpenPicker { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleFileAsync)(::windows::core::Interface::as_raw(this), pickeroperationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -485,7 +485,7 @@ impl FilePickerFileTypesOrderedMap { pub fn First(&self) -> ::windows::core::Result>>> { let this = &::windows::core::Interface::cast::>>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>>(result__) } } @@ -497,7 +497,7 @@ impl FilePickerFileTypesOrderedMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -506,7 +506,7 @@ impl FilePickerFileTypesOrderedMap { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -518,7 +518,7 @@ impl FilePickerFileTypesOrderedMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -527,7 +527,7 @@ impl FilePickerFileTypesOrderedMap { pub fn GetView(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -541,7 +541,7 @@ impl FilePickerFileTypesOrderedMap { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -709,7 +709,7 @@ impl FilePickerSelectedFilesArray { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -718,7 +718,7 @@ impl FilePickerSelectedFilesArray { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -727,7 +727,7 @@ impl FilePickerSelectedFilesArray { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -739,7 +739,7 @@ impl FilePickerSelectedFilesArray { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -748,7 +748,7 @@ impl FilePickerSelectedFilesArray { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -904,7 +904,7 @@ impl FileSavePicker { pub fn SettingsIdentifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SettingsIdentifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -918,7 +918,7 @@ impl FileSavePicker { pub fn SuggestedStartLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestedStartLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -929,7 +929,7 @@ impl FileSavePicker { pub fn CommitButtonText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitButtonText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -945,14 +945,14 @@ impl FileSavePicker { pub fn FileTypeChoices(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileTypeChoices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn DefaultFileExtension(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultFileExtension)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -966,7 +966,7 @@ impl FileSavePicker { pub fn SuggestedSaveFile(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestedSaveFile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -980,7 +980,7 @@ impl FileSavePicker { pub fn SuggestedFileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestedFileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -996,7 +996,7 @@ impl FileSavePicker { pub fn PickSaveFileAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSaveFileAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1005,7 +1005,7 @@ impl FileSavePicker { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1018,7 +1018,7 @@ impl FileSavePicker { pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1034,7 +1034,7 @@ impl FileSavePicker { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1045,7 +1045,7 @@ impl FileSavePicker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IFileSavePickerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1131,7 +1131,7 @@ impl FolderPicker { pub fn ViewMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1142,7 +1142,7 @@ impl FolderPicker { pub fn SettingsIdentifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SettingsIdentifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1156,7 +1156,7 @@ impl FolderPicker { pub fn SuggestedStartLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestedStartLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1167,7 +1167,7 @@ impl FolderPicker { pub fn CommitButtonText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitButtonText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1183,7 +1183,7 @@ impl FolderPicker { pub fn FileTypeFilter(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileTypeFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1192,7 +1192,7 @@ impl FolderPicker { pub fn PickSingleFolderAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleFolderAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1201,7 +1201,7 @@ impl FolderPicker { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1216,7 +1216,7 @@ impl FolderPicker { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1227,7 +1227,7 @@ impl FolderPicker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IFolderPickerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs index 58b43f4ad5..f294e5a692 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs @@ -123,7 +123,7 @@ impl CachedFileUpdaterUI { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -137,7 +137,7 @@ impl CachedFileUpdaterUI { pub fn UpdateTarget(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateTarget)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -149,7 +149,7 @@ impl CachedFileUpdaterUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileUpdateRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -167,7 +167,7 @@ impl CachedFileUpdaterUI { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UIRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -180,21 +180,21 @@ impl CachedFileUpdaterUI { pub fn UIStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UIStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UpdateRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -266,21 +266,21 @@ impl FileUpdateRequest { pub fn ContentId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -291,7 +291,7 @@ impl FileUpdateRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -306,7 +306,7 @@ impl FileUpdateRequest { pub fn UserInputNeededMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserInputNeededMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -454,7 +454,7 @@ impl FileUpdateRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -814,7 +814,7 @@ impl IStorageProviderHandlerFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatusSource)(::windows::core::Interface::as_raw(this), syncrootid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -944,7 +944,7 @@ impl IStorageProviderItemPropertySource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemProperties)(::windows::core::Interface::as_raw(this), itempath.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1025,7 +1025,7 @@ impl IStorageProviderPropertyCapabilities { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPropertySupported)(::windows::core::Interface::as_raw(this), propertycanonicalname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1135,7 +1135,7 @@ impl IStorageProviderStatusSource { pub fn GetStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1147,7 +1147,7 @@ impl IStorageProviderStatusSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1476,28 +1476,28 @@ impl StorageProviderError { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FilePath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FilePath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1511,7 +1511,7 @@ impl StorageProviderError { pub fn PrimaryAction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryAction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1525,7 +1525,7 @@ impl StorageProviderError { pub fn SecondaryAction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecondaryAction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1539,7 +1539,7 @@ impl StorageProviderError { pub fn InformationalLink(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InformationalLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1557,7 +1557,7 @@ impl StorageProviderError { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorageProviderErrorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), id.into().abi(), title.into().abi(), message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1636,7 +1636,7 @@ impl StorageProviderErrorCommand { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1645,7 +1645,7 @@ impl StorageProviderErrorCommand { pub fn ActionUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActionUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1657,7 +1657,7 @@ impl StorageProviderErrorCommand { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IStorageProviderErrorCommandFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), label.into().abi(), actionuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1736,14 +1736,14 @@ impl StorageProviderFileTypeInfo { pub fn FileExtension(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileExtension)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IconResource(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IconResource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1753,7 +1753,7 @@ impl StorageProviderFileTypeInfo { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorageProviderFileTypeInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), fileextension.into().abi(), iconresource.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1839,7 +1839,7 @@ impl StorageProviderGetContentInfoForPathResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1850,7 +1850,7 @@ impl StorageProviderGetContentInfoForPathResult { pub fn ContentUri(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1864,7 +1864,7 @@ impl StorageProviderGetContentInfoForPathResult { pub fn ContentId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1952,7 +1952,7 @@ impl StorageProviderGetPathForContentUriResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1963,7 +1963,7 @@ impl StorageProviderGetPathForContentUriResult { pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2285,7 +2285,7 @@ impl StorageProviderItemProperties { E1: ::std::convert::Into<::windows::core::Error>, { Self::IStorageProviderItemPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAsync)(::windows::core::Interface::as_raw(this), item.try_into().map_err(|e| e.into())?.abi(), itemproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2316,7 +2316,7 @@ impl StorageProviderItemProperty { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2330,7 +2330,7 @@ impl StorageProviderItemProperty { pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2344,7 +2344,7 @@ impl StorageProviderItemProperty { pub fn IconResource(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IconResource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2425,7 +2425,7 @@ impl StorageProviderItemPropertyDefinition { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2436,7 +2436,7 @@ impl StorageProviderItemPropertyDefinition { pub fn DisplayNameResource(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayNameResource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2623,14 +2623,14 @@ impl StorageProviderStatus { pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2639,7 +2639,7 @@ impl StorageProviderStatus { pub fn ErrorMessages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorMessages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2648,7 +2648,7 @@ impl StorageProviderStatus { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorageProviderStatusFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), state, message.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2661,7 +2661,7 @@ impl StorageProviderStatus { E1: ::std::convert::Into<::windows::core::Error>, { Self::IStorageProviderStatusFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance2)(::windows::core::Interface::as_raw(this), state, message.into().abi(), errormessages.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2747,7 +2747,7 @@ impl StorageProviderSyncRootInfo { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2763,7 +2763,7 @@ impl StorageProviderSyncRootInfo { pub fn Context(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Context)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2780,7 +2780,7 @@ impl StorageProviderSyncRootInfo { pub fn Path(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2795,7 +2795,7 @@ impl StorageProviderSyncRootInfo { pub fn DisplayNameResource(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayNameResource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2809,7 +2809,7 @@ impl StorageProviderSyncRootInfo { pub fn IconResource(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IconResource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2823,7 +2823,7 @@ impl StorageProviderSyncRootInfo { pub fn HydrationPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HydrationPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2834,7 +2834,7 @@ impl StorageProviderSyncRootInfo { pub fn HydrationPolicyModifier(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HydrationPolicyModifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2845,7 +2845,7 @@ impl StorageProviderSyncRootInfo { pub fn PopulationPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PopulationPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2856,7 +2856,7 @@ impl StorageProviderSyncRootInfo { pub fn InSyncPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InSyncPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2867,7 +2867,7 @@ impl StorageProviderSyncRootInfo { pub fn HardlinkPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HardlinkPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2878,7 +2878,7 @@ impl StorageProviderSyncRootInfo { pub fn ShowSiblingsAsGroup(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowSiblingsAsGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2889,7 +2889,7 @@ impl StorageProviderSyncRootInfo { pub fn Version(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2903,7 +2903,7 @@ impl StorageProviderSyncRootInfo { pub fn ProtectionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2914,7 +2914,7 @@ impl StorageProviderSyncRootInfo { pub fn AllowPinning(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowPinning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2927,7 +2927,7 @@ impl StorageProviderSyncRootInfo { pub fn StorageProviderItemPropertyDefinitions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorageProviderItemPropertyDefinitions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2936,7 +2936,7 @@ impl StorageProviderSyncRootInfo { pub fn RecycleBinUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecycleBinUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2952,7 +2952,7 @@ impl StorageProviderSyncRootInfo { pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -2965,7 +2965,7 @@ impl StorageProviderSyncRootInfo { pub fn FallbackFileTypeInfo(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FallbackFileTypeInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3053,7 +3053,7 @@ impl StorageProviderSyncRootManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::IStorageProviderSyncRootManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSyncRootInformationForFolder)(::windows::core::Interface::as_raw(this), folder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3062,7 +3062,7 @@ impl StorageProviderSyncRootManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorageProviderSyncRootManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSyncRootInformationForId)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3070,13 +3070,13 @@ impl StorageProviderSyncRootManager { #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentSyncRoots() -> ::windows::core::Result> { Self::IStorageProviderSyncRootManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentSyncRoots)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IStorageProviderSyncRootManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index 1222f31d00..4ec53300ad 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -94,7 +94,7 @@ impl ContentIndexer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddAsync)(::windows::core::Interface::as_raw(this), indexablecontent.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -107,7 +107,7 @@ impl ContentIndexer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateAsync)(::windows::core::Interface::as_raw(this), indexablecontent.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -119,7 +119,7 @@ impl ContentIndexer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), contentid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -132,7 +132,7 @@ impl ContentIndexer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteMultipleAsync)(::windows::core::Interface::as_raw(this), contentids.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -141,7 +141,7 @@ impl ContentIndexer { pub fn DeleteAllAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -155,14 +155,14 @@ impl ContentIndexer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrievePropertiesAsync)(::windows::core::Interface::as_raw(this), contentid.into().abi(), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn Revision(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Revision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -179,7 +179,7 @@ impl ContentIndexer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateQueryWithSortOrderAndLanguage)(::windows::core::Interface::as_raw(this), searchfilter.into().abi(), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), sortorder.try_into().map_err(|e| e.into())?.abi(), searchfilterlanguage.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -195,7 +195,7 @@ impl ContentIndexer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateQueryWithSortOrder)(::windows::core::Interface::as_raw(this), searchfilter.into().abi(), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), sortorder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -209,7 +209,7 @@ impl ContentIndexer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateQuery)(::windows::core::Interface::as_raw(this), searchfilter.into().abi(), propertiestoretrieve.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -218,13 +218,13 @@ impl ContentIndexer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IContentIndexerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndexerWithName)(::windows::core::Interface::as_raw(this), indexname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetIndexer() -> ::windows::core::Result { Self::IContentIndexerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndexer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -305,7 +305,7 @@ impl ContentIndexerQuery { pub fn GetCountAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -314,7 +314,7 @@ impl ContentIndexerQuery { pub fn GetPropertiesAsync(&self) -> ::windows::core::Result>>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>>(result__) } } @@ -323,7 +323,7 @@ impl ContentIndexerQuery { pub fn GetPropertiesRangeAsync(&self, startindex: u32, maxitems: u32) -> ::windows::core::Result>>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertiesRangeAsync)(::windows::core::Interface::as_raw(this), startindex, maxitems, result__.as_mut_ptr()).from_abi::>>>(result__) } } @@ -332,7 +332,7 @@ impl ContentIndexerQuery { pub fn GetAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -341,14 +341,14 @@ impl ContentIndexerQuery { pub fn GetRangeAsync(&self, startindex: u32, maxitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRangeAsync)(::windows::core::Interface::as_raw(this), startindex, maxitems, result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn QueryFolder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -599,7 +599,7 @@ impl IIndexableContent { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -615,7 +615,7 @@ impl IIndexableContent { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -624,7 +624,7 @@ impl IIndexableContent { pub fn Stream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -641,7 +641,7 @@ impl IIndexableContent { pub fn StreamContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -851,21 +851,21 @@ impl IStorageFolderQueryOperations { pub fn GetIndexedStateAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndexedStateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateFileQueryOverloadDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileQueryOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateFileQuery(&self, query: CommonFileQuery) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileQuery)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -875,21 +875,21 @@ impl IStorageFolderQueryOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileQueryWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateFolderQueryOverloadDefault(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderQueryOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateFolderQuery(&self, query: CommonFolderQuery) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderQuery)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -899,14 +899,14 @@ impl IStorageFolderQueryOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderQueryWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateItemQuery(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateItemQuery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -916,7 +916,7 @@ impl IStorageFolderQueryOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateItemQueryWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -925,7 +925,7 @@ impl IStorageFolderQueryOperations { pub fn GetFilesAsync(&self, query: CommonFileQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsync)(::windows::core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -934,7 +934,7 @@ impl IStorageFolderQueryOperations { pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: CommonFileQuery) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -943,7 +943,7 @@ impl IStorageFolderQueryOperations { pub fn GetFoldersAsync(&self, query: CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsync)(::windows::core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -952,7 +952,7 @@ impl IStorageFolderQueryOperations { pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: CommonFolderQuery) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultStartAndCount)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -961,7 +961,7 @@ impl IStorageFolderQueryOperations { pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsync)(::windows::core::Interface::as_raw(this), startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -971,21 +971,21 @@ impl IStorageFolderQueryOperations { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreQueryOptionsSupported)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCommonFolderQuerySupported(&self, query: CommonFolderQuery) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCommonFolderQuerySupported)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCommonFileQuerySupported(&self, query: CommonFileQuery) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCommonFileQuerySupported)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1167,14 +1167,14 @@ impl IStorageQueryResultBase { pub fn GetItemCountAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Folder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1186,7 +1186,7 @@ impl IStorageQueryResultBase { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1204,7 +1204,7 @@ impl IStorageQueryResultBase { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionsChanged)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1222,14 +1222,14 @@ impl IStorageQueryResultBase { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindStartIndexAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetCurrentQueryOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentQueryOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1360,7 +1360,7 @@ impl IndexableContent { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1376,7 +1376,7 @@ impl IndexableContent { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1385,7 +1385,7 @@ impl IndexableContent { pub fn Stream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1402,7 +1402,7 @@ impl IndexableContent { pub fn StreamContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StreamContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1583,14 +1583,14 @@ impl QueryOptions { pub fn FileTypeFilter(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileTypeFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn FolderDepth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderDepth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1601,7 +1601,7 @@ impl QueryOptions { pub fn ApplicationSearchFilter(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationSearchFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1615,7 +1615,7 @@ impl QueryOptions { pub fn UserSearchFilter(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserSearchFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1629,7 +1629,7 @@ impl QueryOptions { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1643,7 +1643,7 @@ impl QueryOptions { pub fn IndexerOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexerOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1656,28 +1656,28 @@ impl QueryOptions { pub fn SortOrder(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SortOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GroupPropertyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GroupPropertyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DateStackOption(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateStackOption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SaveToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1712,13 +1712,13 @@ impl QueryOptions { E0: ::std::convert::Into<::windows::core::Error>, { Self::IQueryOptionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCommonFileQuery)(::windows::core::Interface::as_raw(this), query, filetypefilter.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateCommonFolderQuery(query: CommonFolderQuery) -> ::windows::core::Result { Self::IQueryOptionsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCommonFolderQuery)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1727,7 +1727,7 @@ impl QueryOptions { pub fn StorageProviderIdFilter(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorageProviderIdFilter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1847,7 +1847,7 @@ impl SortEntryVector { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1856,7 +1856,7 @@ impl SortEntryVector { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1865,7 +1865,7 @@ impl SortEntryVector { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1874,7 +1874,7 @@ impl SortEntryVector { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1886,7 +1886,7 @@ impl SortEntryVector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1940,7 +1940,7 @@ impl SortEntryVector { pub fn GetMany(&self, startindex: u32, items: &mut [SortEntry]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2093,7 +2093,7 @@ impl StorageFileQueryResult { pub fn GetFilesAsync(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsync)(::windows::core::Interface::as_raw(this), startindex, maxnumberofitems, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2102,7 +2102,7 @@ impl StorageFileQueryResult { pub fn GetFilesAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsyncDefaultStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2114,7 +2114,7 @@ impl StorageFileQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMatchingPropertiesWithRanges)(::windows::core::Interface::as_raw(this), file.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2123,14 +2123,14 @@ impl StorageFileQueryResult { pub fn GetItemCountAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Folder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2142,7 +2142,7 @@ impl StorageFileQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2160,7 +2160,7 @@ impl StorageFileQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionsChanged)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2178,14 +2178,14 @@ impl StorageFileQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindStartIndexAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetCurrentQueryOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentQueryOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2285,7 +2285,7 @@ impl StorageFolderQueryResult { pub fn GetFoldersAsync(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsync)(::windows::core::Interface::as_raw(this), startindex, maxnumberofitems, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2294,7 +2294,7 @@ impl StorageFolderQueryResult { pub fn GetFoldersAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsyncDefaultStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2303,14 +2303,14 @@ impl StorageFolderQueryResult { pub fn GetItemCountAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Folder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2322,7 +2322,7 @@ impl StorageFolderQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2340,7 +2340,7 @@ impl StorageFolderQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionsChanged)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2358,14 +2358,14 @@ impl StorageFolderQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindStartIndexAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetCurrentQueryOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentQueryOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2465,7 +2465,7 @@ impl StorageItemQueryResult { pub fn GetItemsAsync(&self, startindex: u32, maxnumberofitems: u32) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsync)(::windows::core::Interface::as_raw(this), startindex, maxnumberofitems, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2474,7 +2474,7 @@ impl StorageItemQueryResult { pub fn GetItemsAsyncDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsyncDefaultStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2483,14 +2483,14 @@ impl StorageItemQueryResult { pub fn GetItemCountAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemCountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Folder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2502,7 +2502,7 @@ impl StorageItemQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2520,7 +2520,7 @@ impl StorageItemQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OptionsChanged)(::windows::core::Interface::as_raw(this), changedhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2538,14 +2538,14 @@ impl StorageItemQueryResult { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindStartIndexAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetCurrentQueryOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentQueryOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2643,14 +2643,14 @@ impl StorageLibraryChangeTrackerTriggerDetails { pub fn Folder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ChangeTracker(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeTracker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2722,7 +2722,7 @@ impl StorageLibraryContentChangedTriggerDetails { pub fn Folder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2731,7 +2731,7 @@ impl StorageLibraryContentChangedTriggerDetails { pub fn CreateModifiedSinceQuery(&self, lastquerytime: super::super::Foundation::DateTime) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateModifiedSinceQuery)(::windows::core::Interface::as_raw(this), lastquerytime, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2810,7 +2810,7 @@ impl ValueAndLanguage { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2824,7 +2824,7 @@ impl ValueAndLanguage { pub fn Value(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } diff --git a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs index 5d94dfb7e3..390670a534 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs @@ -5,14 +5,14 @@ impl Buffer { pub fn Capacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22,7 +22,7 @@ impl Buffer { } pub fn Create(capacity: u32) -> ::windows::core::Result { Self::IBufferFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), capacity, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -34,7 +34,7 @@ impl Buffer { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCopyFromMemoryBuffer)(::windows::core::Interface::as_raw(this), input.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -46,7 +46,7 @@ impl Buffer { E0: ::std::convert::Into<::windows::core::Error>, { Self::IBufferStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMemoryBufferOverIBuffer)(::windows::core::Interface::as_raw(this), input.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -189,14 +189,14 @@ impl DataReader { pub fn UnconsumedBufferLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnconsumedBufferLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UnicodeEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnicodeEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -207,7 +207,7 @@ impl DataReader { pub fn ByteOrder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ByteOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -218,7 +218,7 @@ impl DataReader { pub fn InputStreamOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputStreamOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -229,7 +229,7 @@ impl DataReader { pub fn ReadByte(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadByte)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -240,84 +240,84 @@ impl DataReader { pub fn ReadBuffer(&self, length: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBuffer)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadBoolean(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ReadInt16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadInt64(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadUInt16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadUInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadUInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadUInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadUInt64(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadUInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadSingle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadSingle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadDouble(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadDouble)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadString(&self, codeunitcount: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadString)(::windows::core::Interface::as_raw(this), codeunitcount, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -326,7 +326,7 @@ impl DataReader { pub fn ReadDateTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadDateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -335,7 +335,7 @@ impl DataReader { pub fn ReadTimeSpan(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadTimeSpan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -344,21 +344,21 @@ impl DataReader { pub fn LoadAsync(&self, count: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadAsync)(::windows::core::Interface::as_raw(this), count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn DetachBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DetachStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -368,7 +368,7 @@ impl DataReader { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDataReaderFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDataReader)(::windows::core::Interface::as_raw(this), inputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -378,7 +378,7 @@ impl DataReader { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDataReaderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromBuffer)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -507,7 +507,7 @@ impl DataReaderLoadOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -516,7 +516,7 @@ impl DataReaderLoadOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -525,7 +525,7 @@ impl DataReaderLoadOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -555,7 +555,7 @@ impl DataReaderLoadOperation { pub fn Completed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -564,7 +564,7 @@ impl DataReaderLoadOperation { pub fn GetResults(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -741,14 +741,14 @@ impl DataWriter { pub fn UnstoredBufferLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnstoredBufferLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UnicodeEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnicodeEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -759,7 +759,7 @@ impl DataWriter { pub fn ByteOrder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ByteOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -849,7 +849,7 @@ impl DataWriter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteString)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -859,7 +859,7 @@ impl DataWriter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MeasureString)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -868,7 +868,7 @@ impl DataWriter { pub fn StoreAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -877,21 +877,21 @@ impl DataWriter { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DetachBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DetachStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -901,7 +901,7 @@ impl DataWriter { E0: ::std::convert::Into<::windows::core::Error>, { Self::IDataWriterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDataWriter)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1025,7 +1025,7 @@ impl DataWriterStoreOperation { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1034,7 +1034,7 @@ impl DataWriterStoreOperation { pub fn Status(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1043,7 +1043,7 @@ impl DataWriterStoreOperation { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -1073,7 +1073,7 @@ impl DataWriterStoreOperation { pub fn Completed(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1082,7 +1082,7 @@ impl DataWriterStoreOperation { pub fn GetResults(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1258,7 +1258,7 @@ impl FileInputStream { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1422,7 +1422,7 @@ impl FileOutputStream { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1431,7 +1431,7 @@ impl FileOutputStream { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1556,7 +1556,7 @@ impl FileRandomAccessStream { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAsync)(::windows::core::Interface::as_raw(this), filepath.into().abi(), accessmode, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1567,7 +1567,7 @@ impl FileRandomAccessStream { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenWithOptionsAsync)(::windows::core::Interface::as_raw(this), filepath.into().abi(), accessmode, sharingoptions, opendisposition, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1578,7 +1578,7 @@ impl FileRandomAccessStream { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteAsync)(::windows::core::Interface::as_raw(this), filepath.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1589,7 +1589,7 @@ impl FileRandomAccessStream { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteWithOptionsAsync)(::windows::core::Interface::as_raw(this), filepath.into().abi(), openoptions, opendisposition, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1601,7 +1601,7 @@ impl FileRandomAccessStream { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), filepath.into().abi(), accessmode, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1613,7 +1613,7 @@ impl FileRandomAccessStream { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenForUserWithOptionsAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), filepath.into().abi(), accessmode, sharingoptions, opendisposition, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1625,7 +1625,7 @@ impl FileRandomAccessStream { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), filepath.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1637,7 +1637,7 @@ impl FileRandomAccessStream { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteForUserWithOptionsAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), filepath.into().abi(), openoptions, opendisposition, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1650,7 +1650,7 @@ impl FileRandomAccessStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1663,7 +1663,7 @@ impl FileRandomAccessStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1672,14 +1672,14 @@ impl FileRandomAccessStream { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1690,21 +1690,21 @@ impl FileRandomAccessStream { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1715,21 +1715,21 @@ impl FileRandomAccessStream { pub fn CloneStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanRead(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanWrite(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1887,14 +1887,14 @@ impl IBuffer { pub fn Capacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Capacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2008,7 +2008,7 @@ impl IContentTypeProvider { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2083,14 +2083,14 @@ impl IDataReader { pub fn UnconsumedBufferLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnconsumedBufferLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UnicodeEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnicodeEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2101,7 +2101,7 @@ impl IDataReader { pub fn ByteOrder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ByteOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2112,7 +2112,7 @@ impl IDataReader { pub fn InputStreamOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputStreamOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2123,7 +2123,7 @@ impl IDataReader { pub fn ReadByte(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadByte)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2134,84 +2134,84 @@ impl IDataReader { pub fn ReadBuffer(&self, length: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBuffer)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadBoolean(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ReadInt16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadInt64(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadUInt16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadUInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadUInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadUInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadUInt64(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadUInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadSingle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadSingle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadDouble(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadDouble)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReadString(&self, codeunitcount: u32) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadString)(::windows::core::Interface::as_raw(this), codeunitcount, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2220,7 +2220,7 @@ impl IDataReader { pub fn ReadDateTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadDateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2229,7 +2229,7 @@ impl IDataReader { pub fn ReadTimeSpan(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadTimeSpan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2238,21 +2238,21 @@ impl IDataReader { pub fn LoadAsync(&self, count: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadAsync)(::windows::core::Interface::as_raw(this), count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn DetachBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DetachStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2387,14 +2387,14 @@ impl IDataWriter { pub fn UnstoredBufferLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnstoredBufferLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UnicodeEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnicodeEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2405,7 +2405,7 @@ impl IDataWriter { pub fn ByteOrder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ByteOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2495,7 +2495,7 @@ impl IDataWriter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteString)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2505,7 +2505,7 @@ impl IDataWriter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MeasureString)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2514,7 +2514,7 @@ impl IDataWriter { pub fn StoreAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoreAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2523,21 +2523,21 @@ impl IDataWriter { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DetachBuffer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachBuffer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DetachStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DetachStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2713,7 +2713,7 @@ impl IInputStream { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2821,7 +2821,7 @@ impl IInputStreamReference { pub fn OpenSequentialReadAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenSequentialReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2905,7 +2905,7 @@ impl IOutputStream { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2914,7 +2914,7 @@ impl IOutputStream { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3030,7 +3030,7 @@ impl IPropertySetSerializer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Serialize)(::windows::core::Interface::as_raw(this), propertyset.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3124,7 +3124,7 @@ impl IRandomAccessStream { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3135,21 +3135,21 @@ impl IRandomAccessStream { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3160,21 +3160,21 @@ impl IRandomAccessStream { pub fn CloneStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanRead(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanWrite(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3193,7 +3193,7 @@ impl IRandomAccessStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3206,7 +3206,7 @@ impl IRandomAccessStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3215,7 +3215,7 @@ impl IRandomAccessStream { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3360,7 +3360,7 @@ impl IRandomAccessStreamReference { pub fn OpenReadAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3486,7 +3486,7 @@ impl IRandomAccessStreamWithContentType { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3499,7 +3499,7 @@ impl IRandomAccessStreamWithContentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3512,7 +3512,7 @@ impl IRandomAccessStreamWithContentType { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3521,14 +3521,14 @@ impl IRandomAccessStreamWithContentType { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3539,21 +3539,21 @@ impl IRandomAccessStreamWithContentType { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Position(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3564,21 +3564,21 @@ impl IRandomAccessStreamWithContentType { pub fn CloneStream(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanRead(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanWrite(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3769,7 +3769,7 @@ impl InMemoryRandomAccessStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3782,7 +3782,7 @@ impl InMemoryRandomAccessStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3791,14 +3791,14 @@ impl InMemoryRandomAccessStream { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3809,21 +3809,21 @@ impl InMemoryRandomAccessStream { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3834,21 +3834,21 @@ impl InMemoryRandomAccessStream { pub fn CloneStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanRead(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanWrite(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4076,7 +4076,7 @@ impl InputStreamOverStream { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4203,7 +4203,7 @@ impl OutputStreamOverStream { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4212,7 +4212,7 @@ impl OutputStreamOverStream { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4333,7 +4333,7 @@ impl RandomAccessStream { E1: ::std::convert::Into<::windows::core::Error>, { Self::IRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyAsync)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), destination.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4347,7 +4347,7 @@ impl RandomAccessStream { E1: ::std::convert::Into<::windows::core::Error>, { Self::IRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopySizeAsync)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), destination.try_into().map_err(|e| e.into())?.abi(), bytestocopy, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4361,7 +4361,7 @@ impl RandomAccessStream { E1: ::std::convert::Into<::windows::core::Error>, { Self::IRandomAccessStreamStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyAndCloseAsync)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), destination.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4393,7 +4393,7 @@ impl RandomAccessStreamOverStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), count, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4406,7 +4406,7 @@ impl RandomAccessStreamOverStream { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4415,14 +4415,14 @@ impl RandomAccessStreamOverStream { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4433,21 +4433,21 @@ impl RandomAccessStreamOverStream { pub fn GetInputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetOutputStreamAt(&self, position: u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOutputStreamAt)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4458,21 +4458,21 @@ impl RandomAccessStreamOverStream { pub fn CloneStream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloneStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanRead(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRead)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanWrite(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanWrite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4627,7 +4627,7 @@ impl RandomAccessStreamReference { pub fn OpenReadAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4637,7 +4637,7 @@ impl RandomAccessStreamReference { E0: ::std::convert::Into<::windows::core::Error>, { Self::IRandomAccessStreamReferenceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromFile)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4648,7 +4648,7 @@ impl RandomAccessStreamReference { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IRandomAccessStreamReferenceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromUri)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4658,7 +4658,7 @@ impl RandomAccessStreamReference { E0: ::std::convert::Into<::windows::core::Error>, { Self::IRandomAccessStreamReferenceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStream)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index 9af7511c3a..876ca5e729 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -21,63 +21,63 @@ impl AppDataPaths { pub fn Cookies(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cookies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Desktop(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Desktop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Documents(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Documents)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Favorites(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Favorites)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn History(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).History)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InternetCache(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InternetCache)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LocalAppData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAppData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProgramData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProgramData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RoamingAppData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingAppData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -88,13 +88,13 @@ impl AppDataPaths { P0: ::std::convert::Into<::windows::core::InParam<'a, super::System::User>>, { Self::IAppDataPathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefault() -> ::windows::core::Result { Self::IAppDataPathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -173,7 +173,7 @@ impl ApplicationData { pub fn Version(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -185,7 +185,7 @@ impl ApplicationData { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetVersionAsync)(::windows::core::Interface::as_raw(this), desiredversion, handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -194,7 +194,7 @@ impl ApplicationData { pub fn ClearAllAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -203,42 +203,42 @@ impl ApplicationData { pub fn ClearAsync(&self, locality: ApplicationDataLocality) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearAsync)(::windows::core::Interface::as_raw(this), locality, result__.as_mut_ptr()).from_abi::(result__) } } pub fn LocalSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoamingSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LocalFolder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoamingFolder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TemporaryFolder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TemporaryFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -250,7 +250,7 @@ impl ApplicationData { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -267,14 +267,14 @@ impl ApplicationData { pub fn RoamingStorageQuota(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingStorageQuota)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LocalCacheFolder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalCacheFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -284,7 +284,7 @@ impl ApplicationData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPublisherCacheFolder)(::windows::core::Interface::as_raw(this), foldername.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -296,20 +296,20 @@ impl ApplicationData { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClearPublisherCacheFolderAsync)(::windows::core::Interface::as_raw(this), foldername.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SharedLocalFolder(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedLocalFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Current() -> ::windows::core::Result { Self::IApplicationDataStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -320,7 +320,7 @@ impl ApplicationData { P0: ::std::convert::Into<::windows::core::InParam<'a, super::System::User>>, { Self::IApplicationDataStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -443,7 +443,7 @@ impl ApplicationDataCompositeValue { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -455,7 +455,7 @@ impl ApplicationDataCompositeValue { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -464,7 +464,7 @@ impl ApplicationDataCompositeValue { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -476,7 +476,7 @@ impl ApplicationDataCompositeValue { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -485,7 +485,7 @@ impl ApplicationDataCompositeValue { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -498,7 +498,7 @@ impl ApplicationDataCompositeValue { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -525,7 +525,7 @@ impl ApplicationDataCompositeValue { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -724,14 +724,14 @@ impl ApplicationDataContainer { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Locality(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Locality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -740,7 +740,7 @@ impl ApplicationDataContainer { pub fn Values(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Values)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -749,7 +749,7 @@ impl ApplicationDataContainer { pub fn Containers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Containers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -759,7 +759,7 @@ impl ApplicationDataContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContainer)(::windows::core::Interface::as_raw(this), name.into().abi(), disposition, result__.as_mut_ptr()).from_abi::(result__) } } @@ -872,7 +872,7 @@ impl ApplicationDataContainerSettings { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -884,7 +884,7 @@ impl ApplicationDataContainerSettings { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -893,7 +893,7 @@ impl ApplicationDataContainerSettings { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -905,7 +905,7 @@ impl ApplicationDataContainerSettings { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -914,7 +914,7 @@ impl ApplicationDataContainerSettings { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -927,7 +927,7 @@ impl ApplicationDataContainerSettings { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -954,7 +954,7 @@ impl ApplicationDataContainerSettings { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MapChanged)(::windows::core::Interface::as_raw(this), vhnd.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1322,7 +1322,7 @@ impl CachedFileManager { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICachedFileManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompleteUpdatesAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1381,7 +1381,7 @@ impl DownloadsFolder { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDownloadsFolderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1392,7 +1392,7 @@ impl DownloadsFolder { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDownloadsFolderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1403,7 +1403,7 @@ impl DownloadsFolder { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDownloadsFolderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileWithCollisionOptionAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1414,7 +1414,7 @@ impl DownloadsFolder { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDownloadsFolderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderWithCollisionOptionAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1426,7 +1426,7 @@ impl DownloadsFolder { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDownloadsFolderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1438,7 +1438,7 @@ impl DownloadsFolder { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDownloadsFolderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1450,7 +1450,7 @@ impl DownloadsFolder { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDownloadsFolderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileForUserWithCollisionOptionAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1462,7 +1462,7 @@ impl DownloadsFolder { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IDownloadsFolderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderForUserWithCollisionOptionAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1591,7 +1591,7 @@ impl FileIO { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadTextAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1603,7 +1603,7 @@ impl FileIO { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadTextWithEncodingAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), encoding, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1616,7 +1616,7 @@ impl FileIO { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteTextAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), contents.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1629,7 +1629,7 @@ impl FileIO { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteTextWithEncodingAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), contents.into().abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1642,7 +1642,7 @@ impl FileIO { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendTextAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), contents.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1655,7 +1655,7 @@ impl FileIO { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendTextWithEncodingAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), contents.into().abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1667,7 +1667,7 @@ impl FileIO { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadLinesAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1679,7 +1679,7 @@ impl FileIO { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadLinesWithEncodingAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), encoding, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1693,7 +1693,7 @@ impl FileIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteLinesAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), lines.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1707,7 +1707,7 @@ impl FileIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteLinesWithEncodingAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), lines.try_into().map_err(|e| e.into())?.abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1721,7 +1721,7 @@ impl FileIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendLinesAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), lines.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1735,7 +1735,7 @@ impl FileIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendLinesWithEncodingAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), lines.try_into().map_err(|e| e.into())?.abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1747,7 +1747,7 @@ impl FileIO { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBufferAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1761,7 +1761,7 @@ impl FileIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteBufferAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1773,7 +1773,7 @@ impl FileIO { E0: ::std::convert::Into<::windows::core::Error>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteBytesAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), buffer.len() as u32, ::core::mem::transmute(buffer.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2313,14 +2313,14 @@ impl IStorageFile { pub fn FileType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2329,7 +2329,7 @@ impl IStorageFile { pub fn OpenAsync(&self, accessmode: FileAccessMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAsync)(::windows::core::Interface::as_raw(this), accessmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2338,7 +2338,7 @@ impl IStorageFile { pub fn OpenTransactedWriteAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2351,7 +2351,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyOverloadDefaultNameAndOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2365,7 +2365,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2379,7 +2379,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyOverload)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), option, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2392,7 +2392,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyAndReplaceAsync)(::windows::core::Interface::as_raw(this), filetoreplace.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2405,7 +2405,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveOverloadDefaultNameAndOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2419,7 +2419,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2433,7 +2433,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveOverload)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2446,7 +2446,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveAndReplaceAsync)(::windows::core::Interface::as_raw(this), filetoreplace.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2455,7 +2455,7 @@ impl IStorageFile { pub fn OpenSequentialReadAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenSequentialReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2464,7 +2464,7 @@ impl IStorageFile { pub fn OpenReadAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2476,7 +2476,7 @@ impl IStorageFile { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2488,7 +2488,7 @@ impl IStorageFile { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2497,7 +2497,7 @@ impl IStorageFile { pub fn DeleteAsyncOverloadDefaultOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2506,7 +2506,7 @@ impl IStorageFile { pub fn DeleteAsync(&self, option: StorageDeleteOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2515,28 +2515,28 @@ impl IStorageFile { pub fn GetBasicPropertiesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBasicPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2545,14 +2545,14 @@ impl IStorageFile { pub fn DateCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2733,7 +2733,7 @@ impl IStorageFile2 { pub fn OpenWithOptionsAsync(&self, accessmode: FileAccessMode, options: StorageOpenOptions) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenWithOptionsAsync)(::windows::core::Interface::as_raw(this), accessmode, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2742,7 +2742,7 @@ impl IStorageFile2 { pub fn OpenTransactedWriteWithOptionsAsync(&self, options: StorageOpenOptions) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteWithOptionsAsync)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2824,7 +2824,7 @@ impl IStorageFilePropertiesWithAvailability { pub fn IsAvailable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2956,7 +2956,7 @@ impl IStorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2968,7 +2968,7 @@ impl IStorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2980,7 +2980,7 @@ impl IStorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2992,7 +2992,7 @@ impl IStorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3004,7 +3004,7 @@ impl IStorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3016,7 +3016,7 @@ impl IStorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3028,7 +3028,7 @@ impl IStorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3037,7 +3037,7 @@ impl IStorageFolder { pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultOptionsStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3046,7 +3046,7 @@ impl IStorageFolder { pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3055,7 +3055,7 @@ impl IStorageFolder { pub fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsyncOverloadDefaultStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3067,7 +3067,7 @@ impl IStorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3079,7 +3079,7 @@ impl IStorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3088,7 +3088,7 @@ impl IStorageFolder { pub fn DeleteAsyncOverloadDefaultOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3097,7 +3097,7 @@ impl IStorageFolder { pub fn DeleteAsync(&self, option: StorageDeleteOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3106,28 +3106,28 @@ impl IStorageFolder { pub fn GetBasicPropertiesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBasicPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3136,14 +3136,14 @@ impl IStorageFolder { pub fn DateCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3281,7 +3281,7 @@ impl IStorageFolder2 { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetItemAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3409,7 +3409,7 @@ impl IStorageItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3421,7 +3421,7 @@ impl IStorageItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3430,7 +3430,7 @@ impl IStorageItem { pub fn DeleteAsyncOverloadDefaultOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3439,7 +3439,7 @@ impl IStorageItem { pub fn DeleteAsync(&self, option: StorageDeleteOption) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3448,28 +3448,28 @@ impl IStorageItem { pub fn GetBasicPropertiesAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBasicPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3478,14 +3478,14 @@ impl IStorageItem { pub fn DateCreated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3589,7 +3589,7 @@ impl IStorageItem2 { pub fn GetParentAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetParentAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3600,7 +3600,7 @@ impl IStorageItem2 { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), item.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3612,7 +3612,7 @@ impl IStorageItem2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3624,7 +3624,7 @@ impl IStorageItem2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3633,7 +3633,7 @@ impl IStorageItem2 { pub fn DeleteAsyncOverloadDefaultOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3642,7 +3642,7 @@ impl IStorageItem2 { pub fn DeleteAsync(&self, option: StorageDeleteOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3651,28 +3651,28 @@ impl IStorageItem2 { pub fn GetBasicPropertiesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBasicPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3681,14 +3681,14 @@ impl IStorageItem2 { pub fn DateCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3788,7 +3788,7 @@ impl IStorageItemProperties { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3797,7 +3797,7 @@ impl IStorageItemProperties { pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3806,28 +3806,28 @@ impl IStorageItemProperties { pub fn GetThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FolderRelativeId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderRelativeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3836,7 +3836,7 @@ impl IStorageItemProperties { pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3931,7 +3931,7 @@ impl IStorageItemProperties2 { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3940,7 +3940,7 @@ impl IStorageItemProperties2 { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3949,7 +3949,7 @@ impl IStorageItemProperties2 { pub fn GetScaledImageAsThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScaledImageAsThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3958,7 +3958,7 @@ impl IStorageItemProperties2 { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3967,7 +3967,7 @@ impl IStorageItemProperties2 { pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3976,28 +3976,28 @@ impl IStorageItemProperties2 { pub fn GetThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FolderRelativeId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderRelativeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4006,7 +4006,7 @@ impl IStorageItemProperties2 { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4111,7 +4111,7 @@ impl IStorageItemPropertiesWithProvider { pub fn Provider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Provider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4120,7 +4120,7 @@ impl IStorageItemPropertiesWithProvider { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4129,7 +4129,7 @@ impl IStorageItemPropertiesWithProvider { pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4138,28 +4138,28 @@ impl IStorageItemPropertiesWithProvider { pub fn GetThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FolderRelativeId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderRelativeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4168,7 +4168,7 @@ impl IStorageItemPropertiesWithProvider { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4873,79 +4873,79 @@ pub struct KnownFolders; impl KnownFolders { pub fn CameraRoll() -> ::windows::core::Result { Self::IKnownFoldersCameraRollStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraRoll)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Playlists() -> ::windows::core::Result { Self::IKnownFoldersPlaylistsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Playlists)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SavedPictures() -> ::windows::core::Result { Self::IKnownFoldersSavedPicturesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavedPictures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MusicLibrary() -> ::windows::core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MusicLibrary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PicturesLibrary() -> ::windows::core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PicturesLibrary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn VideosLibrary() -> ::windows::core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideosLibrary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DocumentsLibrary() -> ::windows::core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentsLibrary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn HomeGroup() -> ::windows::core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HomeGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RemovableDevices() -> ::windows::core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovableDevices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediaServerDevices() -> ::windows::core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaServerDevices)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Objects3D() -> ::windows::core::Result { Self::IKnownFoldersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Objects3D)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AppCaptures() -> ::windows::core::Result { Self::IKnownFoldersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppCaptures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RecordedCalls() -> ::windows::core::Result { Self::IKnownFoldersStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecordedCalls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4956,7 +4956,7 @@ impl KnownFolders { P0: ::std::convert::Into<::windows::core::InParam<'a, super::System::User>>, { Self::IKnownFoldersStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), folderid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4964,7 +4964,7 @@ impl KnownFolders { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync(folderid: KnownFolderId) -> ::windows::core::Result> { Self::IKnownFoldersStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), folderid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4975,7 +4975,7 @@ impl KnownFolders { P0: ::std::convert::Into<::windows::core::InParam<'a, super::System::User>>, { Self::IKnownFoldersStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), folderid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4983,7 +4983,7 @@ impl KnownFolders { #[cfg(feature = "Foundation")] pub fn GetFolderAsync(folderid: KnownFolderId) -> ::windows::core::Result> { Self::IKnownFoldersStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderAsync)(::windows::core::Interface::as_raw(this), folderid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5145,7 +5145,7 @@ impl PathIO { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadTextAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5156,7 +5156,7 @@ impl PathIO { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadTextWithEncodingAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), encoding, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5168,7 +5168,7 @@ impl PathIO { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteTextAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), contents.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5180,7 +5180,7 @@ impl PathIO { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteTextWithEncodingAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), contents.into().abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5192,7 +5192,7 @@ impl PathIO { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendTextAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), contents.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5204,7 +5204,7 @@ impl PathIO { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendTextWithEncodingAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), contents.into().abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5215,7 +5215,7 @@ impl PathIO { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadLinesAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5226,7 +5226,7 @@ impl PathIO { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadLinesWithEncodingAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), encoding, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5239,7 +5239,7 @@ impl PathIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteLinesAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), lines.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5252,7 +5252,7 @@ impl PathIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteLinesWithEncodingAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), lines.try_into().map_err(|e| e.into())?.abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5265,7 +5265,7 @@ impl PathIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendLinesAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), lines.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5278,7 +5278,7 @@ impl PathIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendLinesWithEncodingAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), lines.try_into().map_err(|e| e.into())?.abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5289,7 +5289,7 @@ impl PathIO { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBufferAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5302,7 +5302,7 @@ impl PathIO { E1: ::std::convert::Into<::windows::core::Error>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteBufferAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5313,7 +5313,7 @@ impl PathIO { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteBytesAsync)(::windows::core::Interface::as_raw(this), absolutepath.into().abi(), buffer.len() as u32, ::core::mem::transmute(buffer.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5404,21 +5404,21 @@ impl SetVersionRequest { pub fn CurrentVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DesiredVersion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5528,7 +5528,7 @@ impl StorageFile { pub fn OpenSequentialReadAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenSequentialReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5537,21 +5537,21 @@ impl StorageFile { pub fn OpenReadAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenReadAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn FileType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5560,7 +5560,7 @@ impl StorageFile { pub fn OpenAsync(&self, accessmode: FileAccessMode) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenAsync)(::windows::core::Interface::as_raw(this), accessmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5569,7 +5569,7 @@ impl StorageFile { pub fn OpenTransactedWriteAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5582,7 +5582,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyOverloadDefaultNameAndOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5596,7 +5596,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5610,7 +5610,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyOverload)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), option, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5623,7 +5623,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyAndReplaceAsync)(::windows::core::Interface::as_raw(this), filetoreplace.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5636,7 +5636,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveOverloadDefaultNameAndOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5650,7 +5650,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5664,7 +5664,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveOverload)(::windows::core::Interface::as_raw(this), destinationfolder.try_into().map_err(|e| e.into())?.abi(), desirednewname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5677,7 +5677,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveAndReplaceAsync)(::windows::core::Interface::as_raw(this), filetoreplace.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5686,7 +5686,7 @@ impl StorageFile { pub fn OpenWithOptionsAsync(&self, accessmode: FileAccessMode, options: StorageOpenOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenWithOptionsAsync)(::windows::core::Interface::as_raw(this), accessmode, options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5695,14 +5695,14 @@ impl StorageFile { pub fn OpenTransactedWriteWithOptionsAsync(&self, options: StorageOpenOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OpenTransactedWriteWithOptionsAsync)(::windows::core::Interface::as_raw(this), options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsAvailable(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5713,7 +5713,7 @@ impl StorageFile { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileFromPathAsync)(::windows::core::Interface::as_raw(this), path.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5724,7 +5724,7 @@ impl StorageFile { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Uri>>, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileFromApplicationUriAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5738,7 +5738,7 @@ impl StorageFile { E2: ::std::convert::Into<::windows::core::Error>, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStreamedFileAsync)(::windows::core::Interface::as_raw(this), displaynamewithextension.into().abi(), datarequested.into().abi(), thumbnail.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5753,7 +5753,7 @@ impl StorageFile { E2: ::std::convert::Into<::windows::core::Error>, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceWithStreamedFileAsync)(::windows::core::Interface::as_raw(this), filetoreplace.try_into().map_err(|e| e.into())?.abi(), datarequested.into().abi(), thumbnail.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5767,7 +5767,7 @@ impl StorageFile { E2: ::std::convert::Into<::windows::core::Error>, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStreamedFileFromUriAsync)(::windows::core::Interface::as_raw(this), displaynamewithextension.into().abi(), uri.into().abi(), thumbnail.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5782,7 +5782,7 @@ impl StorageFile { E2: ::std::convert::Into<::windows::core::Error>, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceWithStreamedFileFromUriAsync)(::windows::core::Interface::as_raw(this), filetoreplace.try_into().map_err(|e| e.into())?.abi(), uri.into().abi(), thumbnail.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5794,7 +5794,7 @@ impl StorageFile { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorageFileStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileFromPathForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), path.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5806,7 +5806,7 @@ impl StorageFile { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5818,7 +5818,7 @@ impl StorageFile { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5827,7 +5827,7 @@ impl StorageFile { pub fn DeleteAsyncOverloadDefaultOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5836,7 +5836,7 @@ impl StorageFile { pub fn DeleteAsync(&self, option: StorageDeleteOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5845,28 +5845,28 @@ impl StorageFile { pub fn GetBasicPropertiesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBasicPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5875,14 +5875,14 @@ impl StorageFile { pub fn DateCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5891,7 +5891,7 @@ impl StorageFile { pub fn GetParentAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetParentAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5902,7 +5902,7 @@ impl StorageFile { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), item.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5911,7 +5911,7 @@ impl StorageFile { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5920,7 +5920,7 @@ impl StorageFile { pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5929,28 +5929,28 @@ impl StorageFile { pub fn GetThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FolderRelativeId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderRelativeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5959,7 +5959,7 @@ impl StorageFile { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5968,7 +5968,7 @@ impl StorageFile { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5977,7 +5977,7 @@ impl StorageFile { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5986,14 +5986,14 @@ impl StorageFile { pub fn GetScaledImageAsThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScaledImageAsThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Provider(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Provider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6276,7 +6276,7 @@ impl StorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6288,7 +6288,7 @@ impl StorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6300,7 +6300,7 @@ impl StorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6312,7 +6312,7 @@ impl StorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), options, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6324,7 +6324,7 @@ impl StorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFileAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6336,7 +6336,7 @@ impl StorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6348,7 +6348,7 @@ impl StorageFolder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6357,7 +6357,7 @@ impl StorageFolder { pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultOptionsStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6366,7 +6366,7 @@ impl StorageFolder { pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6375,7 +6375,7 @@ impl StorageFolder { pub fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsyncOverloadDefaultStartAndCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6387,14 +6387,14 @@ impl StorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetItemAsync)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryGetChangeTracker(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetChangeTracker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6403,7 +6403,7 @@ impl StorageFolder { pub fn GetIndexedStateAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndexedStateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6412,7 +6412,7 @@ impl StorageFolder { pub fn CreateFileQueryOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileQueryOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6421,7 +6421,7 @@ impl StorageFolder { pub fn CreateFileQuery(&self, query: Search::CommonFileQuery) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileQuery)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6433,7 +6433,7 @@ impl StorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFileQueryWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6442,7 +6442,7 @@ impl StorageFolder { pub fn CreateFolderQueryOverloadDefault(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderQueryOverloadDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6451,7 +6451,7 @@ impl StorageFolder { pub fn CreateFolderQuery(&self, query: Search::CommonFolderQuery) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderQuery)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6463,7 +6463,7 @@ impl StorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFolderQueryWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6472,7 +6472,7 @@ impl StorageFolder { pub fn CreateItemQuery(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateItemQuery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6484,7 +6484,7 @@ impl StorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateItemQueryWithOptions)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6493,7 +6493,7 @@ impl StorageFolder { pub fn GetFilesAsync(&self, query: Search::CommonFileQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsync)(::windows::core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6502,7 +6502,7 @@ impl StorageFolder { pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: Search::CommonFileQuery) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6511,7 +6511,7 @@ impl StorageFolder { pub fn GetFoldersAsync(&self, query: Search::CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsync)(::windows::core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6520,7 +6520,7 @@ impl StorageFolder { pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: Search::CommonFolderQuery) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultStartAndCount)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6529,7 +6529,7 @@ impl StorageFolder { pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetItemsAsync)(::windows::core::Interface::as_raw(this), startindex, maxitemstoretrieve, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6541,7 +6541,7 @@ impl StorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreQueryOptionsSupported)(::windows::core::Interface::as_raw(this), queryoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6550,7 +6550,7 @@ impl StorageFolder { pub fn IsCommonFolderQuerySupported(&self, query: Search::CommonFolderQuery) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCommonFolderQuerySupported)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6559,7 +6559,7 @@ impl StorageFolder { pub fn IsCommonFileQuerySupported(&self, query: Search::CommonFileQuery) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCommonFileQuerySupported)(::windows::core::Interface::as_raw(this), query, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6570,7 +6570,7 @@ impl StorageFolder { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorageFolderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderFromPathAsync)(::windows::core::Interface::as_raw(this), path.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -6582,7 +6582,7 @@ impl StorageFolder { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IStorageFolderStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFolderFromPathForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), path.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -6594,7 +6594,7 @@ impl StorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6606,7 +6606,7 @@ impl StorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenameAsync)(::windows::core::Interface::as_raw(this), desiredname.into().abi(), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6615,7 +6615,7 @@ impl StorageFolder { pub fn DeleteAsyncOverloadDefaultOptions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6624,7 +6624,7 @@ impl StorageFolder { pub fn DeleteAsync(&self, option: StorageDeleteOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6633,28 +6633,28 @@ impl StorageFolder { pub fn GetBasicPropertiesAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBasicPropertiesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Attributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6663,14 +6663,14 @@ impl StorageFolder { pub fn DateCreated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateCreated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6679,7 +6679,7 @@ impl StorageFolder { pub fn GetParentAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetParentAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6690,7 +6690,7 @@ impl StorageFolder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), item.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6699,7 +6699,7 @@ impl StorageFolder { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6708,7 +6708,7 @@ impl StorageFolder { pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6717,28 +6717,28 @@ impl StorageFolder { pub fn GetThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FolderRelativeId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FolderRelativeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6747,7 +6747,7 @@ impl StorageFolder { pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6756,7 +6756,7 @@ impl StorageFolder { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6765,7 +6765,7 @@ impl StorageFolder { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultOptions)(::windows::core::Interface::as_raw(this), mode, requestedsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6774,14 +6774,14 @@ impl StorageFolder { pub fn GetScaledImageAsThumbnailAsync(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32, options: FileProperties::ThumbnailOptions) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScaledImageAsThumbnailAsync)(::windows::core::Interface::as_raw(this), mode, requestedsize, options, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Provider(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Provider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7083,7 +7083,7 @@ impl StorageLibrary { pub fn RequestAddFolderAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAddFolderAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7095,7 +7095,7 @@ impl StorageLibrary { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestRemoveFolderAsync)(::windows::core::Interface::as_raw(this), folder.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7104,14 +7104,14 @@ impl StorageLibrary { pub fn Folders(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folders)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SaveFolder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveFolder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7123,7 +7123,7 @@ impl StorageLibrary { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefinitionChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7136,7 +7136,7 @@ impl StorageLibrary { pub fn ChangeTracker(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeTracker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7145,7 +7145,7 @@ impl StorageLibrary { pub fn AreFolderSuggestionsAvailableAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreFolderSuggestionsAvailableAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7153,7 +7153,7 @@ impl StorageLibrary { #[cfg(feature = "Foundation")] pub fn GetLibraryAsync(libraryid: KnownLibraryId) -> ::windows::core::Result> { Self::IStorageLibraryStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLibraryAsync)(::windows::core::Interface::as_raw(this), libraryid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -7164,7 +7164,7 @@ impl StorageLibrary { P0: ::std::convert::Into<::windows::core::InParam<'a, super::System::User>>, { Self::IStorageLibraryStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLibraryForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), libraryid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -7246,28 +7246,28 @@ impl StorageLibraryChange { pub fn ChangeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PreviousPath(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousPath)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7276,7 +7276,7 @@ impl StorageLibraryChange { pub fn GetStorageItemAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStorageItemAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7352,7 +7352,7 @@ impl StorageLibraryChangeReader { pub fn ReadBatchAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBatchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -7361,14 +7361,14 @@ impl StorageLibraryChangeReader { pub fn AcceptChangesAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptChangesAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetLastChangeId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLastChangeId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7442,7 +7442,7 @@ impl StorageLibraryChangeTracker { pub fn GetChangeReader(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChangeReader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7542,7 +7542,7 @@ impl StorageLibraryChangeTrackerOptions { pub fn TrackChangeDetails(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackChangeDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7661,7 +7661,7 @@ pub struct StorageLibraryLastChangeId(::windows::core::IUnknown); impl StorageLibraryLastChangeId { pub fn Unknown() -> ::windows::core::Result { Self::IStorageLibraryLastChangeIdStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unknown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7803,14 +7803,14 @@ impl StorageProvider { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7822,7 +7822,7 @@ impl StorageProvider { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPropertySupportedForPartialFileAsync)(::windows::core::Interface::as_raw(this), propertycanonicalname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7902,7 +7902,7 @@ impl StorageStreamTransaction { pub fn Stream(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7911,7 +7911,7 @@ impl StorageStreamTransaction { pub fn CommitAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8019,7 +8019,7 @@ impl StreamedFileDataRequest { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteAsync)(::windows::core::Interface::as_raw(this), buffer.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8028,7 +8028,7 @@ impl StreamedFileDataRequest { pub fn FlushAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlushAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8321,7 +8321,7 @@ impl SystemAudioProperties { pub fn EncodingBitrate(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EncodingBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8395,118 +8395,118 @@ impl SystemDataPaths { pub fn Fonts(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Fonts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProgramData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProgramData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Public(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Public)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PublicDesktop(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicDesktop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PublicDocuments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicDocuments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PublicDownloads(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicDownloads)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PublicMusic(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicMusic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PublicPictures(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicPictures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PublicVideos(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublicVideos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn System(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).System)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemHost(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemHost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemX86(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemX86)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemX64(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemX64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemArm(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemArm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UserProfiles(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserProfiles)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Windows(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Windows)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::ISystemDataPathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8585,14 +8585,14 @@ impl SystemGPSProperties { pub fn LatitudeDecimal(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LatitudeDecimal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LongitudeDecimal(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LongitudeDecimal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8666,14 +8666,14 @@ impl SystemImageProperties { pub fn HorizontalSize(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HorizontalSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn VerticalSize(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerticalSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8747,42 +8747,42 @@ impl SystemMediaProperties { pub fn Duration(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Producer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Producer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Publisher(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Publisher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SubTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Writer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Writer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Year(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Year)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8856,56 +8856,56 @@ impl SystemMusicProperties { pub fn AlbumArtist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumArtist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AlbumTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlbumTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Artist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Artist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Composer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Composer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Conductor(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Conductor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayArtist(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayArtist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Genre(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Genre)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TrackNumber(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrackNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8979,35 +8979,35 @@ impl SystemPhotoProperties { pub fn CameraManufacturer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraManufacturer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CameraModel(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraModel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DateTaken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DateTaken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Orientation(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn PeopleNames(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeopleNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9079,79 +9079,79 @@ pub struct SystemProperties; impl SystemProperties { pub fn Author() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Author)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Comment() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ItemNameDisplay() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemNameDisplay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Keywords() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Keywords)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Rating() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Title() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Audio() -> ::windows::core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Audio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GPS() -> ::windows::core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GPS)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Media() -> ::windows::core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Media)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Music() -> ::windows::core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Music)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Photo() -> ::windows::core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Photo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Video() -> ::windows::core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Video)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Image() -> ::windows::core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Image)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9171,35 +9171,35 @@ impl SystemVideoProperties { pub fn Director(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Director)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FrameHeight(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FrameWidth(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Orientation(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn TotalBitrate(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalBitrate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9273,133 +9273,133 @@ impl UserDataPaths { pub fn CameraRoll(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CameraRoll)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Cookies(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cookies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Desktop(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Desktop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Documents(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Documents)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Downloads(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Downloads)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Favorites(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Favorites)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn History(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).History)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn InternetCache(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InternetCache)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LocalAppData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAppData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn LocalAppDataLow(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalAppDataLow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Music(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Music)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Pictures(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pictures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Profile(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Profile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Recent(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RoamingAppData(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingAppData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SavedPictures(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SavedPictures)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Screenshots(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Screenshots)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Templates(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Templates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Videos(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Videos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9410,13 +9410,13 @@ impl UserDataPaths { P0: ::std::convert::Into<::windows::core::InParam<'a, super::System::User>>, { Self::IUserDataPathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefault() -> ::windows::core::Result { Self::IUserDataPathsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs index 6c905fc6b1..a6e62d6ca5 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs @@ -10,7 +10,7 @@ impl DevicePortalConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28,7 +28,7 @@ impl DevicePortalConnection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -45,7 +45,7 @@ impl DevicePortalConnection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::ApplicationModel::AppService::AppServiceConnection>>, { Self::IDevicePortalConnectionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForAppServiceConnection)(::windows::core::Interface::as_raw(this), appserviceconnection.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -57,7 +57,7 @@ impl DevicePortalConnection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetServerMessageWebSocketForRequest)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -70,7 +70,7 @@ impl DevicePortalConnection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetServerMessageWebSocketForRequest2)(::windows::core::Interface::as_raw(this), request.into().abi(), messagetype, protocol.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -83,7 +83,7 @@ impl DevicePortalConnection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetServerMessageWebSocketForRequest3)(::windows::core::Interface::as_raw(this), request.into().abi(), messagetype, protocol.into().abi(), outboundbuffersizeinbytes, maxmessagesize, receivemode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -95,7 +95,7 @@ impl DevicePortalConnection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetServerStreamWebSocketForRequest)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -108,7 +108,7 @@ impl DevicePortalConnection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetServerStreamWebSocketForRequest2)(::windows::core::Interface::as_raw(this), request.into().abi(), protocol.into().abi(), outboundbuffersizeinbytes, nodelay, result__.as_mut_ptr()).from_abi::(result__) } } @@ -187,7 +187,7 @@ impl DevicePortalConnectionClosedEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -301,7 +301,7 @@ impl DevicePortalConnectionRequestReceivedEventArgs { pub fn RequestMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -310,14 +310,14 @@ impl DevicePortalConnectionRequestReceivedEventArgs { pub fn ResponseMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsWebSocketUpgradeRequest(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsWebSocketUpgradeRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -326,7 +326,7 @@ impl DevicePortalConnectionRequestReceivedEventArgs { pub fn WebSocketProtocolsRequested(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebSocketProtocolsRequested)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -335,7 +335,7 @@ impl DevicePortalConnectionRequestReceivedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs index cacc4e4a06..a636e2b049 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs @@ -49,7 +49,7 @@ impl PlatformTelemetryClient { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPlatformTelemetryClientStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Register)(::windows::core::Interface::as_raw(this), id.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -59,7 +59,7 @@ impl PlatformTelemetryClient { P1: ::std::convert::Into<::windows::core::InParam<'a, PlatformTelemetryRegistrationSettings>>, { Self::IPlatformTelemetryClientStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterWithSettings)(::windows::core::Interface::as_raw(this), id.into().abi(), settings.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -79,7 +79,7 @@ impl PlatformTelemetryRegistrationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -160,7 +160,7 @@ impl PlatformTelemetryRegistrationSettings { pub fn StorageSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorageSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -171,7 +171,7 @@ impl PlatformTelemetryRegistrationSettings { pub fn UploadQuotaSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UploadQuotaSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs index 179fa0a1ba..4f6e10f5ce 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs @@ -99,7 +99,7 @@ pub struct PlatformDiagnosticActions; impl PlatformDiagnosticActions { pub fn IsScenarioEnabled(scenarioid: ::windows::core::GUID) -> ::windows::core::Result { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScenarioEnabled)(::windows::core::Interface::as_raw(this), scenarioid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -112,7 +112,7 @@ impl PlatformDiagnosticActions { E1: ::std::convert::Into<::windows::core::Error>, { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryEscalateScenario)(::windows::core::Interface::as_raw(this), scenarioid, escalationtype, outputdirectory.into().abi(), timestampoutputdirectory, forceescalationupload, triggers.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -122,7 +122,7 @@ impl PlatformDiagnosticActions { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadLatestSettingsForNamespace)(::windows::core::Interface::as_raw(this), partner.into().abi(), feature.into().abi(), isscenarionamespace, downloadovercostednetwork, downloadoverbattery, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -130,25 +130,25 @@ impl PlatformDiagnosticActions { #[cfg(feature = "Foundation_Collections")] pub fn GetActiveScenarioList() -> ::windows::core::Result> { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetActiveScenarioList)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn ForceUpload(latency: PlatformDiagnosticEventBufferLatencies, uploadovercostednetwork: bool, uploadoverbattery: bool) -> ::windows::core::Result { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForceUpload)(::windows::core::Interface::as_raw(this), latency, uploadovercostednetwork, uploadoverbattery, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsTraceRunning(slottype: PlatformDiagnosticTraceSlotType, scenarioid: ::windows::core::GUID, traceprofilehash: u64) -> ::windows::core::Result { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTraceRunning)(::windows::core::Interface::as_raw(this), slottype, scenarioid, traceprofilehash, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetActiveTraceRuntime(slottype: PlatformDiagnosticTraceSlotType) -> ::windows::core::Result { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetActiveTraceRuntime)(::windows::core::Interface::as_raw(this), slottype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -156,7 +156,7 @@ impl PlatformDiagnosticActions { #[cfg(feature = "Foundation_Collections")] pub fn GetKnownTraceList(slottype: PlatformDiagnosticTraceSlotType) -> ::windows::core::Result> { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetKnownTraceList)(::windows::core::Interface::as_raw(this), slottype, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -273,42 +273,42 @@ impl PlatformDiagnosticTraceInfo { pub fn ScenarioId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScenarioId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn ProfileHash(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProfileHash)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsExclusive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsExclusive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAutoLogger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAutoLogger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxTraceDurationFileTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxTraceDurationFileTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Priority(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Priority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -416,14 +416,14 @@ impl PlatformDiagnosticTraceRuntimeInfo { pub fn RuntimeFileTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RuntimeFileTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EtwRuntimeFileTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EtwRuntimeFileTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs index 566ab78875..56fdee619a 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs @@ -11,7 +11,7 @@ impl DiagnosticActionResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -20,7 +20,7 @@ impl DiagnosticActionResult { pub fn Results(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Results)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -138,7 +138,7 @@ impl DiagnosticInvoker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunDiagnosticActionAsync)(::windows::core::Interface::as_raw(this), context.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -150,13 +150,13 @@ impl DiagnosticInvoker { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunDiagnosticActionFromStringAsync)(::windows::core::Interface::as_raw(this), context.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IDiagnosticInvokerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -165,13 +165,13 @@ impl DiagnosticInvoker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::User>>, { Self::IDiagnosticInvokerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IDiagnosticInvokerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -590,7 +590,7 @@ impl ProcessCpuUsage { pub fn GetReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -666,7 +666,7 @@ impl ProcessCpuUsageReport { pub fn KernelTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KernelTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -675,7 +675,7 @@ impl ProcessCpuUsageReport { pub fn UserTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -749,21 +749,21 @@ impl ProcessDiagnosticInfo { pub fn ProcessId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExecutableFileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecutableFileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -772,28 +772,28 @@ impl ProcessDiagnosticInfo { pub fn ProcessStartTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessStartTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DiskUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiskUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MemoryUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MemoryUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CpuUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CpuUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -802,14 +802,14 @@ impl ProcessDiagnosticInfo { pub fn GetAppDiagnosticInfos(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppDiagnosticInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsPackaged(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPackaged)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -817,19 +817,19 @@ impl ProcessDiagnosticInfo { #[cfg(feature = "Foundation_Collections")] pub fn GetForProcesses() -> ::windows::core::Result> { Self::IProcessDiagnosticInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForProcesses)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetForCurrentProcess() -> ::windows::core::Result { Self::IProcessDiagnosticInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentProcess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TryGetForProcessId(processid: u32) -> ::windows::core::Result { Self::IProcessDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetForProcessId)(::windows::core::Interface::as_raw(this), processid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -913,7 +913,7 @@ impl ProcessDiskUsage { pub fn GetReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -987,42 +987,42 @@ impl ProcessDiskUsageReport { pub fn ReadOperationCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadOperationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WriteOperationCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteOperationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OtherOperationCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherOperationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BytesReadCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesReadCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BytesWrittenCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BytesWrittenCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OtherBytesCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OtherBytesCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1096,7 +1096,7 @@ impl ProcessMemoryUsage { pub fn GetReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1170,84 +1170,84 @@ impl ProcessMemoryUsageReport { pub fn NonPagedPoolSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NonPagedPoolSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageFaultCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageFaultCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PageFileSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageFileSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PagedPoolSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PagedPoolSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PeakNonPagedPoolSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeakNonPagedPoolSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PeakPageFileSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeakPageFileSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PeakPagedPoolSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeakPagedPoolSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PeakVirtualMemorySizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeakVirtualMemorySizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PeakWorkingSetSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeakWorkingSetSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PrivatePageCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrivatePageCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VirtualMemorySizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VirtualMemorySizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WorkingSetSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorkingSetSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1321,7 +1321,7 @@ impl SystemCpuUsage { pub fn GetReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1397,7 +1397,7 @@ impl SystemCpuUsageReport { pub fn KernelTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KernelTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1406,7 +1406,7 @@ impl SystemCpuUsageReport { pub fn UserTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1415,7 +1415,7 @@ impl SystemCpuUsageReport { pub fn IdleTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IdleTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1489,32 +1489,32 @@ impl SystemDiagnosticInfo { pub fn MemoryUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MemoryUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CpuUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CpuUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentSystem() -> ::windows::core::Result { Self::ISystemDiagnosticInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsArchitectureSupported(r#type: super::ProcessorArchitecture) -> ::windows::core::Result { Self::ISystemDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsArchitectureSupported)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PreferredArchitecture() -> ::windows::core::Result { Self::ISystemDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredArchitecture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1598,7 +1598,7 @@ impl SystemMemoryUsage { pub fn GetReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1672,21 +1672,21 @@ impl SystemMemoryUsageReport { pub fn TotalPhysicalSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalPhysicalSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AvailableSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AvailableSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CommittedSizeInBytes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommittedSizeInBytes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } 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 805e5cc58d..6b8e914703 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs @@ -36,7 +36,7 @@ impl ISysStorageProviderEventSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EventReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -127,7 +127,7 @@ impl ISysStorageProviderHandlerFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHttpRequestProvider)(::windows::core::Interface::as_raw(this), syncrootid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -138,7 +138,7 @@ impl ISysStorageProviderHandlerFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetEventSource)(::windows::core::Interface::as_raw(this), syncrootid.into().abi(), eventname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -219,7 +219,7 @@ impl ISysStorageProviderHttpRequestProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendRequestAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -297,7 +297,7 @@ impl SysStorageProviderEventReceivedEventArgs { pub fn Json(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Json)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -306,7 +306,7 @@ impl SysStorageProviderEventReceivedEventArgs { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISysStorageProviderEventReceivedEventArgsFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), json.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/Inventory/mod.rs b/crates/libs/windows/src/Windows/System/Inventory/mod.rs index b7ba4c2f01..ec780accc4 100644 --- a/crates/libs/windows/src/Windows/System/Inventory/mod.rs +++ b/crates/libs/windows/src/Windows/System/Inventory/mod.rs @@ -37,28 +37,28 @@ impl InstalledDesktopApp { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Publisher(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Publisher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -66,7 +66,7 @@ impl InstalledDesktopApp { #[cfg(feature = "Foundation_Collections")] pub fn GetInventoryAsync() -> ::windows::core::Result>> { Self::IInstalledDesktopAppStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInventoryAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -75,7 +75,7 @@ impl InstalledDesktopApp { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/System/Power/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/System/Power/Diagnostics/mod.rs index de5fabc630..eac3b9010c 100644 --- a/crates/libs/windows/src/Windows/System/Power/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/System/Power/Diagnostics/mod.rs @@ -7,7 +7,7 @@ impl BackgroundEnergyDiagnostics { #[cfg(feature = "deprecated")] pub fn DeviceSpecificConversionFactor() -> ::windows::core::Result { Self::IBackgroundEnergyDiagnosticsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceSpecificConversionFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -15,7 +15,7 @@ impl BackgroundEnergyDiagnostics { #[cfg(feature = "deprecated")] pub fn ComputeTotalEnergyUsage() -> ::windows::core::Result { Self::IBackgroundEnergyDiagnosticsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ComputeTotalEnergyUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -44,7 +44,7 @@ impl ForegroundEnergyDiagnostics { #[cfg(feature = "deprecated")] pub fn DeviceSpecificConversionFactor() -> ::windows::core::Result { Self::IForegroundEnergyDiagnosticsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceSpecificConversionFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -52,7 +52,7 @@ impl ForegroundEnergyDiagnostics { #[cfg(feature = "deprecated")] pub fn ComputeTotalEnergyUsage() -> ::windows::core::Result { Self::IForegroundEnergyDiagnosticsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ComputeTotalEnergyUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/Power/mod.rs b/crates/libs/windows/src/Windows/System/Power/mod.rs index a49c181ba3..3d5939abaa 100644 --- a/crates/libs/windows/src/Windows/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/System/Power/mod.rs @@ -9,7 +9,7 @@ impl BackgroundEnergyManager { #[cfg(feature = "deprecated")] pub fn LowUsageLevel() -> ::windows::core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LowUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -17,7 +17,7 @@ impl BackgroundEnergyManager { #[cfg(feature = "deprecated")] pub fn NearMaxAcceptableUsageLevel() -> ::windows::core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NearMaxAcceptableUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -25,7 +25,7 @@ impl BackgroundEnergyManager { #[cfg(feature = "deprecated")] pub fn MaxAcceptableUsageLevel() -> ::windows::core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAcceptableUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -33,7 +33,7 @@ impl BackgroundEnergyManager { #[cfg(feature = "deprecated")] pub fn ExcessiveUsageLevel() -> ::windows::core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExcessiveUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -41,7 +41,7 @@ impl BackgroundEnergyManager { #[cfg(feature = "deprecated")] pub fn NearTerminationUsageLevel() -> ::windows::core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NearTerminationUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -49,7 +49,7 @@ impl BackgroundEnergyManager { #[cfg(feature = "deprecated")] pub fn TerminationUsageLevel() -> ::windows::core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TerminationUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -57,7 +57,7 @@ impl BackgroundEnergyManager { #[cfg(feature = "deprecated")] pub fn RecentEnergyUsage() -> ::windows::core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecentEnergyUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -65,7 +65,7 @@ impl BackgroundEnergyManager { #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageLevel() -> ::windows::core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecentEnergyUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -76,7 +76,7 @@ impl BackgroundEnergyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecentEnergyUsageIncreased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -92,7 +92,7 @@ impl BackgroundEnergyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecentEnergyUsageReturnedToLow)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -192,7 +192,7 @@ impl ForegroundEnergyManager { #[cfg(feature = "deprecated")] pub fn LowUsageLevel() -> ::windows::core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LowUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -200,7 +200,7 @@ impl ForegroundEnergyManager { #[cfg(feature = "deprecated")] pub fn NearMaxAcceptableUsageLevel() -> ::windows::core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NearMaxAcceptableUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -208,7 +208,7 @@ impl ForegroundEnergyManager { #[cfg(feature = "deprecated")] pub fn MaxAcceptableUsageLevel() -> ::windows::core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAcceptableUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -216,7 +216,7 @@ impl ForegroundEnergyManager { #[cfg(feature = "deprecated")] pub fn ExcessiveUsageLevel() -> ::windows::core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExcessiveUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -224,7 +224,7 @@ impl ForegroundEnergyManager { #[cfg(feature = "deprecated")] pub fn RecentEnergyUsage() -> ::windows::core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecentEnergyUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -232,7 +232,7 @@ impl ForegroundEnergyManager { #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageLevel() -> ::windows::core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecentEnergyUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -243,7 +243,7 @@ impl ForegroundEnergyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecentEnergyUsageIncreased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -259,7 +259,7 @@ impl ForegroundEnergyManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecentEnergyUsageReturnedToLow)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -462,7 +462,7 @@ pub struct PowerManager; impl PowerManager { pub fn EnergySaverStatus() -> ::windows::core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnergySaverStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -473,7 +473,7 @@ impl PowerManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnergySaverStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -484,7 +484,7 @@ impl PowerManager { } pub fn BatteryStatus() -> ::windows::core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BatteryStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -495,7 +495,7 @@ impl PowerManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BatteryStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -506,7 +506,7 @@ impl PowerManager { } pub fn PowerSupplyStatus() -> ::windows::core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerSupplyStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -517,7 +517,7 @@ impl PowerManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowerSupplyStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -528,7 +528,7 @@ impl PowerManager { } pub fn RemainingChargePercent() -> ::windows::core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingChargePercent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -539,7 +539,7 @@ impl PowerManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingChargePercentChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -552,7 +552,7 @@ impl PowerManager { #[cfg(feature = "Foundation")] pub fn RemainingDischargeTime() -> ::windows::core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingDischargeTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -563,7 +563,7 @@ impl PowerManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemainingDischargeTimeChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/Preview/mod.rs b/crates/libs/windows/src/Windows/System/Preview/mod.rs index a9890a482d..28dd08a20d 100644 --- a/crates/libs/windows/src/Windows/System/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/System/Preview/mod.rs @@ -159,7 +159,7 @@ impl TwoPanelHingedDevicePosturePreview { pub fn GetCurrentPostureAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentPostureAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -171,7 +171,7 @@ impl TwoPanelHingedDevicePosturePreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostureChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -185,7 +185,7 @@ impl TwoPanelHingedDevicePosturePreview { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn GetDefaultAsync() -> ::windows::core::Result> { Self::ITwoPanelHingedDevicePosturePreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -284,7 +284,7 @@ impl TwoPanelHingedDevicePosturePreviewReading { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -293,7 +293,7 @@ impl TwoPanelHingedDevicePosturePreviewReading { pub fn HingeState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HingeState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -302,7 +302,7 @@ impl TwoPanelHingedDevicePosturePreviewReading { pub fn Panel1Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Panel1Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -311,7 +311,7 @@ impl TwoPanelHingedDevicePosturePreviewReading { pub fn Panel1Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Panel1Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -320,7 +320,7 @@ impl TwoPanelHingedDevicePosturePreviewReading { pub fn Panel2Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Panel2Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -329,7 +329,7 @@ impl TwoPanelHingedDevicePosturePreviewReading { pub fn Panel2Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Panel2Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -422,7 +422,7 @@ impl TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs { pub fn Reading(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reading)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs index ece8a0fe0b..65b7ecc019 100644 --- a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs @@ -87,7 +87,7 @@ impl OemSupportInfo { pub fn SupportLink(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -96,14 +96,14 @@ impl OemSupportInfo { pub fn SupportAppLink(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportAppLink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SupportProvider(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -175,7 +175,7 @@ pub struct SmbiosInformation; impl SmbiosInformation { pub fn SerialNumber() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISmbiosInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SerialNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -195,49 +195,49 @@ impl SystemSupportDeviceInfo { pub fn OperatingSystem(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OperatingSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn FriendlyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FriendlyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemManufacturer(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemManufacturer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemProductName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemProductName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemSku(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemSku)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemHardwareVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemHardwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn SystemFirmwareVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemFirmwareVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -309,19 +309,19 @@ pub struct SystemSupportInfo; impl SystemSupportInfo { pub fn LocalSystemEdition() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISystemSupportInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalSystemEdition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn OemSupportInfo() -> ::windows::core::Result { Self::ISystemSupportInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OemSupportInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LocalDeviceInfo() -> ::windows::core::Result { Self::ISystemSupportInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalDeviceInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/Profile/mod.rs b/crates/libs/windows/src/Windows/System/Profile/mod.rs index a48cd2ff63..c80da125b4 100644 --- a/crates/libs/windows/src/Windows/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/mod.rs @@ -5,13 +5,13 @@ pub struct AnalyticsInfo; impl AnalyticsInfo { pub fn VersionInfo() -> ::windows::core::Result { Self::IAnalyticsInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VersionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DeviceForm() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAnalyticsInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceForm)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -23,7 +23,7 @@ impl AnalyticsInfo { E0: ::std::convert::Into<::windows::core::Error>, { Self::IAnalyticsInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSystemPropertiesAsync)(::windows::core::Interface::as_raw(this), attributenames.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -48,21 +48,21 @@ impl AnalyticsVersionInfo { pub fn DeviceFamily(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceFamily)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DeviceFamilyVersion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceFamilyVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ProductName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -140,7 +140,7 @@ impl AppApplicability { E0: ::std::convert::Into<::windows::core::Error>, { Self::IAppApplicabilityStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUnsupportedAppRequirements)(::windows::core::Interface::as_raw(this), capabilities.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -158,7 +158,7 @@ pub struct EducationSettings; impl EducationSettings { pub fn IsEducationEnvironment() -> ::windows::core::Result { Self::IEducationSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEducationEnvironment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -182,7 +182,7 @@ impl HardwareIdentification { E0: ::std::convert::Into<::windows::core::Error>, { Self::IHardwareIdentificationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPackageSpecificToken)(::windows::core::Interface::as_raw(this), nonce.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -204,7 +204,7 @@ impl HardwareToken { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -213,7 +213,7 @@ impl HardwareToken { pub fn Signature(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Signature)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -222,7 +222,7 @@ impl HardwareToken { pub fn Certificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Certificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -609,133 +609,133 @@ pub struct KnownRetailInfoProperties; impl KnownRetailInfoProperties { pub fn RetailAccessCode() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetailAccessCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ManufacturerName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManufacturerName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ModelName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DisplayModelName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayModelName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Price() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Price)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn IsFeatured() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFeatured)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn FormFactor() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ScreenSize() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Weight() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Weight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DisplayDescription() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BatteryLifeDescription() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BatteryLifeDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ProcessorDescription() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessorDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Memory() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Memory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn StorageDescription() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StorageDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GraphicsDescription() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GraphicsDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn FrontCameraDescription() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrontCameraDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RearCameraDescription() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RearCameraDescription)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HasNfc() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasNfc)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HasSdSlot() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasSdSlot)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HasOpticalDrive() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasOpticalDrive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn IsOfficeInstalled() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOfficeInstalled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn WindowsEdition() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowsEdition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -789,7 +789,7 @@ pub struct PlatformDiagnosticsAndUsageDataSettings; impl PlatformDiagnosticsAndUsageDataSettings { pub fn CollectionLevel() -> ::windows::core::Result { Self::IPlatformDiagnosticsAndUsageDataSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CollectionLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -800,7 +800,7 @@ impl PlatformDiagnosticsAndUsageDataSettings { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IPlatformDiagnosticsAndUsageDataSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CollectionLevelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -811,7 +811,7 @@ impl PlatformDiagnosticsAndUsageDataSettings { } pub fn CanCollectDiagnostics(level: PlatformDataCollectionLevel) -> ::windows::core::Result { Self::IPlatformDiagnosticsAndUsageDataSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCollectDiagnostics)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -829,7 +829,7 @@ pub struct RetailInfo; impl RetailInfo { pub fn IsDemoModeEnabled() -> ::windows::core::Result { Self::IRetailInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDemoModeEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -837,7 +837,7 @@ impl RetailInfo { #[cfg(feature = "Foundation_Collections")] pub fn Properties() -> ::windows::core::Result> { Self::IRetailInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -855,13 +855,13 @@ pub struct SharedModeSettings; impl SharedModeSettings { pub fn IsEnabled() -> ::windows::core::Result { Self::ISharedModeSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ShouldAvoidLocalStorage() -> ::windows::core::Result { Self::ISharedModeSettingsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldAvoidLocalStorage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -884,7 +884,7 @@ pub struct SystemIdentification; impl SystemIdentification { pub fn GetSystemIdForPublisher() -> ::windows::core::Result { Self::ISystemIdentificationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSystemIdForPublisher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -893,7 +893,7 @@ impl SystemIdentification { P0: ::std::convert::Into<::windows::core::InParam<'a, super::User>>, { Self::ISystemIdentificationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSystemIdForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -915,14 +915,14 @@ impl SystemIdentificationInfo { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1065,7 +1065,7 @@ pub struct SystemSetupInfo; impl SystemSetupInfo { pub fn OutOfBoxExperienceState() -> ::windows::core::Result { Self::ISystemSetupInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutOfBoxExperienceState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1076,7 +1076,7 @@ impl SystemSetupInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::ISystemSetupInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OutOfBoxExperienceStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1101,14 +1101,14 @@ impl UnsupportedAppRequirement { pub fn Requirement(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Requirement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Reasons(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reasons)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1242,25 +1242,25 @@ pub struct WindowsIntegrityPolicy; impl WindowsIntegrityPolicy { pub fn IsEnabled() -> ::windows::core::Result { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsEnabledForTrial() -> ::windows::core::Result { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabledForTrial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CanDisable() -> ::windows::core::Result { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanDisable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsDisableSupported() -> ::windows::core::Result { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDisableSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1271,7 +1271,7 @@ impl WindowsIntegrityPolicy { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PolicyChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs index c86a6e158a..110886471f 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs @@ -41,7 +41,7 @@ impl RemoteTextConnection { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -66,7 +66,7 @@ impl RemoteTextConnection { P0: ::std::convert::Into<::windows::core::InParam<'a, RemoteTextConnectionDataHandler>>, { Self::IRemoteTextConnectionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), connectionid, pduforwarder.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -171,7 +171,7 @@ impl RemoteTextConnectionDataHandler { pub fn Invoke(&self, pdudata: &[u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invoke)(::windows::core::Interface::as_raw(this), pdudata.len() as u32, ::core::mem::transmute(pdudata.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs index d68f40b949..e338ea36d2 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs @@ -18,7 +18,7 @@ pub struct InteractiveSession; impl InteractiveSession { pub fn IsRemote() -> ::windows::core::Result { Self::IInteractiveSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRemote)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs index 8d7d8508e7..05780d0017 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs @@ -1182,25 +1182,25 @@ pub struct KnownRemoteSystemCapabilities; impl KnownRemoteSystemCapabilities { pub fn AppService() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRemoteSystemCapabilitiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppService)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LaunchUri() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRemoteSystemCapabilitiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn RemoteSession() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRemoteSystemCapabilitiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSession)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SpatialEntity() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownRemoteSystemCapabilitiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpatialEntity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1220,42 +1220,42 @@ impl RemoteSystem { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Kind(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAvailableByProximity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailableByProximity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAvailableBySpatialProximity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailableBySpatialProximity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1267,28 +1267,28 @@ impl RemoteSystem { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCapabilitySupportedAsync)(::windows::core::Interface::as_raw(this), capabilityname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn ManufacturerDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManufacturerDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ModelDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Platform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Platform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1297,14 +1297,14 @@ impl RemoteSystem { pub fn Apps(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Apps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1315,13 +1315,13 @@ impl RemoteSystem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Networking::HostName>>, { Self::IRemoteSystemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindByHostNameAsync)(::windows::core::Interface::as_raw(this), hostname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn CreateWatcher() -> ::windows::core::Result { Self::IRemoteSystemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1333,7 +1333,7 @@ impl RemoteSystem { E0: ::std::convert::Into<::windows::core::Error>, { Self::IRemoteSystemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcherWithFilters)(::windows::core::Interface::as_raw(this), filters.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1341,13 +1341,13 @@ impl RemoteSystem { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IRemoteSystemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn IsAuthorizationKindEnabled(kind: RemoteSystemAuthorizationKind) -> ::windows::core::Result { Self::IRemoteSystemStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAuthorizationKindEnabled)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1356,7 +1356,7 @@ impl RemoteSystem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::User>>, { Self::IRemoteSystemStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcherForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1369,7 +1369,7 @@ impl RemoteSystem { E1: ::std::convert::Into<::windows::core::Error>, { Self::IRemoteSystemStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcherWithFiltersForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), filters.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1494,7 +1494,7 @@ impl RemoteSystemAddedEventArgs { pub fn RemoteSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1568,28 +1568,28 @@ impl RemoteSystemApp { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsAvailableByProximity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailableByProximity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAvailableBySpatialProximity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAvailableBySpatialProximity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1598,21 +1598,21 @@ impl RemoteSystemApp { pub fn Attributes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConnectionToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1686,7 +1686,7 @@ impl RemoteSystemAppRegistration { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1695,7 +1695,7 @@ impl RemoteSystemAppRegistration { pub fn Attributes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Attributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1704,13 +1704,13 @@ impl RemoteSystemAppRegistration { pub fn SaveAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IRemoteSystemAppRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1719,7 +1719,7 @@ impl RemoteSystemAppRegistration { P0: ::std::convert::Into<::windows::core::InParam<'a, super::User>>, { Self::IRemoteSystemAppRegistrationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1832,13 +1832,13 @@ impl RemoteSystemAuthorizationKindFilter { pub fn RemoteSystemAuthorizationKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystemAuthorizationKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(remotesystemauthorizationkind: RemoteSystemAuthorizationKind) -> ::windows::core::Result { Self::IRemoteSystemAuthorizationKindFilterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), remotesystemauthorizationkind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1936,7 +1936,7 @@ impl RemoteSystemConnectionInfo { pub fn IsProximal(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsProximal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1947,7 +1947,7 @@ impl RemoteSystemConnectionInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::ApplicationModel::AppService::AppServiceConnection>>, { Self::IRemoteSystemConnectionInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateFromAppServiceConnection)(::windows::core::Interface::as_raw(this), connection.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2026,21 +2026,21 @@ impl RemoteSystemConnectionRequest { pub fn RemoteSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RemoteSystemApp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystemApp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConnectionToken(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionToken)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2049,7 +2049,7 @@ impl RemoteSystemConnectionRequest { P0: ::std::convert::Into<::windows::core::InParam<'a, RemoteSystem>>, { Self::IRemoteSystemConnectionRequestFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), remotesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2058,7 +2058,7 @@ impl RemoteSystemConnectionRequest { P0: ::std::convert::Into<::windows::core::InParam<'a, RemoteSystemApp>>, { Self::IRemoteSystemConnectionRequestStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForApp)(::windows::core::Interface::as_raw(this), remotesystemapp.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2067,7 +2067,7 @@ impl RemoteSystemConnectionRequest { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRemoteSystemConnectionRequestStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromConnectionToken)(::windows::core::Interface::as_raw(this), connectiontoken.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2077,7 +2077,7 @@ impl RemoteSystemConnectionRequest { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRemoteSystemConnectionRequestStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromConnectionTokenForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), connectiontoken.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2202,13 +2202,13 @@ impl RemoteSystemDiscoveryTypeFilter { pub fn RemoteSystemDiscoveryType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystemDiscoveryType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(discoverytype: RemoteSystemDiscoveryType) -> ::windows::core::Result { Self::IRemoteSystemDiscoveryTypeFilterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), discoverytype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2374,7 +2374,7 @@ impl RemoteSystemKindFilter { pub fn RemoteSystemKinds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystemKinds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2386,7 +2386,7 @@ impl RemoteSystemKindFilter { E0: ::std::convert::Into<::windows::core::Error>, { Self::IRemoteSystemKindFilterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), remotesystemkinds.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2482,49 +2482,49 @@ pub struct RemoteSystemKinds; impl RemoteSystemKinds { pub fn Phone() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Phone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Hub() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hub)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Holographic() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Holographic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Desktop() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Desktop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Xbox() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Xbox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Iot() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IRemoteSystemKindStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Iot)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Tablet() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IRemoteSystemKindStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tablet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Laptop() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IRemoteSystemKindStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Laptop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2586,7 +2586,7 @@ impl RemoteSystemRemovedEventArgs { pub fn RemoteSystemId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2666,21 +2666,21 @@ impl RemoteSystemSession { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ControllerDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControllerDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2692,7 +2692,7 @@ impl RemoteSystemSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Disconnected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2705,7 +2705,7 @@ impl RemoteSystemSession { pub fn CreateParticipantWatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateParticipantWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2717,13 +2717,13 @@ impl RemoteSystemSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendInvitationAsync)(::windows::core::Interface::as_raw(this), invitee.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateWatcher() -> ::windows::core::Result { Self::IRemoteSystemSessionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2824,7 +2824,7 @@ impl RemoteSystemSessionAddedEventArgs { pub fn SessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2903,7 +2903,7 @@ impl RemoteSystemSessionController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JoinRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2921,7 +2921,7 @@ impl RemoteSystemSessionController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveParticipantAsync)(::windows::core::Interface::as_raw(this), pparticipant.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2930,7 +2930,7 @@ impl RemoteSystemSessionController { pub fn CreateSessionAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSessionAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2939,7 +2939,7 @@ impl RemoteSystemSessionController { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRemoteSystemSessionControllerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateController)(::windows::core::Interface::as_raw(this), displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2949,7 +2949,7 @@ impl RemoteSystemSessionController { P1: ::std::convert::Into<::windows::core::InParam<'a, RemoteSystemSessionOptions>>, { Self::IRemoteSystemSessionControllerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateControllerWithSessionOptions)(::windows::core::Interface::as_raw(this), displayname.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3028,14 +3028,14 @@ impl RemoteSystemSessionCreationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3144,7 +3144,7 @@ impl RemoteSystemSessionDisconnectedEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3253,14 +3253,14 @@ impl RemoteSystemSessionInfo { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ControllerDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControllerDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3269,7 +3269,7 @@ impl RemoteSystemSessionInfo { pub fn JoinAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JoinAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3343,14 +3343,14 @@ impl RemoteSystemSessionInvitation { pub fn Sender(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sender)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3436,7 +3436,7 @@ impl RemoteSystemSessionInvitationListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvitationReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3516,7 +3516,7 @@ impl RemoteSystemSessionInvitationReceivedEventArgs { pub fn Invitation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invitation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3590,7 +3590,7 @@ impl RemoteSystemSessionJoinRequest { pub fn Participant(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Participant)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3668,7 +3668,7 @@ impl RemoteSystemSessionJoinRequestedEventArgs { pub fn JoinRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).JoinRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3677,7 +3677,7 @@ impl RemoteSystemSessionJoinRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3751,14 +3751,14 @@ impl RemoteSystemSessionJoinResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3869,7 +3869,7 @@ impl RemoteSystemSessionMessageChannel { pub fn Session(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Session)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3881,7 +3881,7 @@ impl RemoteSystemSessionMessageChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BroadcastValueSetAsync)(::windows::core::Interface::as_raw(this), messagedata.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3894,7 +3894,7 @@ impl RemoteSystemSessionMessageChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendValueSetAsync)(::windows::core::Interface::as_raw(this), messagedata.into().abi(), participant.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3908,7 +3908,7 @@ impl RemoteSystemSessionMessageChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendValueSetToParticipantsAsync)(::windows::core::Interface::as_raw(this), messagedata.into().abi(), participants.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3920,7 +3920,7 @@ impl RemoteSystemSessionMessageChannel { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ValueSetReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3936,7 +3936,7 @@ impl RemoteSystemSessionMessageChannel { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRemoteSystemSessionMessageChannelFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), session.into().abi(), channelname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3946,7 +3946,7 @@ impl RemoteSystemSessionMessageChannel { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRemoteSystemSessionMessageChannelFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithReliability)(::windows::core::Interface::as_raw(this), session.into().abi(), channelname.into().abi(), reliability, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4066,7 +4066,7 @@ impl RemoteSystemSessionOptions { pub fn IsInviteOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInviteOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4144,7 +4144,7 @@ impl RemoteSystemSessionParticipant { pub fn RemoteSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4153,7 +4153,7 @@ impl RemoteSystemSessionParticipant { pub fn GetHostNames(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHostNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4227,7 +4227,7 @@ impl RemoteSystemSessionParticipantAddedEventArgs { pub fn Participant(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Participant)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4301,7 +4301,7 @@ impl RemoteSystemSessionParticipantRemovedEventArgs { pub fn Participant(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Participant)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4383,7 +4383,7 @@ impl RemoteSystemSessionParticipantWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4395,7 +4395,7 @@ impl RemoteSystemSessionParticipantWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4413,7 +4413,7 @@ impl RemoteSystemSessionParticipantWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4431,7 +4431,7 @@ impl RemoteSystemSessionParticipantWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4549,7 +4549,7 @@ impl RemoteSystemSessionRemovedEventArgs { pub fn SessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4623,7 +4623,7 @@ impl RemoteSystemSessionUpdatedEventArgs { pub fn SessionInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4697,7 +4697,7 @@ impl RemoteSystemSessionValueSetReceivedEventArgs { pub fn Sender(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sender)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4706,7 +4706,7 @@ impl RemoteSystemSessionValueSetReceivedEventArgs { pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4788,7 +4788,7 @@ impl RemoteSystemSessionWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4800,7 +4800,7 @@ impl RemoteSystemSessionWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4818,7 +4818,7 @@ impl RemoteSystemSessionWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4836,7 +4836,7 @@ impl RemoteSystemSessionWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5024,13 +5024,13 @@ impl RemoteSystemStatusTypeFilter { pub fn RemoteSystemStatusType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystemStatusType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(remotesystemstatustype: RemoteSystemStatusType) -> ::windows::core::Result { Self::IRemoteSystemStatusTypeFilterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), remotesystemstatustype, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5128,7 +5128,7 @@ impl RemoteSystemUpdatedEventArgs { pub fn RemoteSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5215,7 +5215,7 @@ impl RemoteSystemWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystemAdded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5233,7 +5233,7 @@ impl RemoteSystemWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystemUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5251,7 +5251,7 @@ impl RemoteSystemWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteSystemRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5269,7 +5269,7 @@ impl RemoteSystemWatcher { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5287,7 +5287,7 @@ impl RemoteSystemWatcher { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorOccurred)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5300,7 +5300,7 @@ impl RemoteSystemWatcher { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5409,7 +5409,7 @@ impl RemoteSystemWatcherErrorOccurredEventArgs { pub fn Error(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Error)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5485,7 +5485,7 @@ impl RemoteSystemWebAccountFilter { pub fn Account(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Account)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5496,7 +5496,7 @@ impl RemoteSystemWebAccountFilter { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Security::Credentials::WebAccount>>, { Self::IRemoteSystemWebAccountFilterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), account.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs index b5b2bc93bb..f5c9040d79 100644 --- a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs @@ -83,7 +83,7 @@ impl PreallocatedWorkItem { pub fn RunAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -94,7 +94,7 @@ impl PreallocatedWorkItem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::WorkItemHandler>>, { Self::IPreallocatedWorkItemFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWorkItem)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -105,7 +105,7 @@ impl PreallocatedWorkItem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::WorkItemHandler>>, { Self::IPreallocatedWorkItemFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWorkItemWithPriority)(::windows::core::Interface::as_raw(this), handler.into().abi(), priority, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -116,7 +116,7 @@ impl PreallocatedWorkItem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::WorkItemHandler>>, { Self::IPreallocatedWorkItemFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWorkItemWithPriorityAndOptions)(::windows::core::Interface::as_raw(this), handler.into().abi(), priority, options, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -293,7 +293,7 @@ impl SignalNotifier { P1: ::std::convert::Into<::windows::core::InParam<'a, SignalHandler>>, { Self::ISignalNotifierStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttachToEvent)(::windows::core::Interface::as_raw(this), name.into().abi(), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -305,7 +305,7 @@ impl SignalNotifier { P1: ::std::convert::Into<::windows::core::InParam<'a, SignalHandler>>, { Self::ISignalNotifierStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttachToEventWithTimeout)(::windows::core::Interface::as_raw(this), name.into().abi(), handler.into().abi(), timeout, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -315,7 +315,7 @@ impl SignalNotifier { P1: ::std::convert::Into<::windows::core::InParam<'a, SignalHandler>>, { Self::ISignalNotifierStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttachToSemaphore)(::windows::core::Interface::as_raw(this), name.into().abi(), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -327,7 +327,7 @@ impl SignalNotifier { P1: ::std::convert::Into<::windows::core::InParam<'a, SignalHandler>>, { Self::ISignalNotifierStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttachToSemaphoreWithTimeout)(::windows::core::Interface::as_raw(this), name.into().abi(), handler.into().abi(), timeout, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/Threading/mod.rs b/crates/libs/windows/src/Windows/System/Threading/mod.rs index fa181b6075..abf8cdd42b 100644 --- a/crates/libs/windows/src/Windows/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/mod.rs @@ -83,7 +83,7 @@ impl ThreadPool { P0: ::std::convert::Into<::windows::core::InParam<'a, WorkItemHandler>>, { Self::IThreadPoolStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunAsync)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -94,7 +94,7 @@ impl ThreadPool { P0: ::std::convert::Into<::windows::core::InParam<'a, WorkItemHandler>>, { Self::IThreadPoolStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunWithPriorityAsync)(::windows::core::Interface::as_raw(this), handler.into().abi(), priority, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -105,7 +105,7 @@ impl ThreadPool { P0: ::std::convert::Into<::windows::core::InParam<'a, WorkItemHandler>>, { Self::IThreadPoolStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunWithPriorityAndOptionsAsync)(::windows::core::Interface::as_raw(this), handler.into().abi(), priority, options, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -127,7 +127,7 @@ impl ThreadPoolTimer { pub fn Period(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Period)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -136,7 +136,7 @@ impl ThreadPoolTimer { pub fn Delay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -151,7 +151,7 @@ impl ThreadPoolTimer { P0: ::std::convert::Into<::windows::core::InParam<'a, TimerElapsedHandler>>, { Self::IThreadPoolTimerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePeriodicTimer)(::windows::core::Interface::as_raw(this), handler.into().abi(), period, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -162,7 +162,7 @@ impl ThreadPoolTimer { P0: ::std::convert::Into<::windows::core::InParam<'a, TimerElapsedHandler>>, { Self::IThreadPoolTimerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTimer)(::windows::core::Interface::as_raw(this), handler.into().abi(), delay, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -174,7 +174,7 @@ impl ThreadPoolTimer { P1: ::std::convert::Into<::windows::core::InParam<'a, TimerDestroyedHandler>>, { Self::IThreadPoolTimerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePeriodicTimerWithCompletion)(::windows::core::Interface::as_raw(this), handler.into().abi(), period, destroyed.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -186,7 +186,7 @@ impl ThreadPoolTimer { P1: ::std::convert::Into<::windows::core::InParam<'a, TimerDestroyedHandler>>, { Self::IThreadPoolTimerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTimerWithCompletion)(::windows::core::Interface::as_raw(this), handler.into().abi(), delay, destroyed.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/Update/mod.rs b/crates/libs/windows/src/Windows/System/Update/mod.rs index bff313bb8f..434d8d4950 100644 --- a/crates/libs/windows/src/Windows/System/Update/mod.rs +++ b/crates/libs/windows/src/Windows/System/Update/mod.rs @@ -146,56 +146,56 @@ impl SystemUpdateItem { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Revision(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Revision)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DownloadProgress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InstallProgress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -310,21 +310,21 @@ impl SystemUpdateLastErrorInfo { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn IsInteractive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInteractive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -396,13 +396,13 @@ pub struct SystemUpdateManager; impl SystemUpdateManager { pub fn IsSupported() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn State() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -413,7 +413,7 @@ impl SystemUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -424,13 +424,13 @@ impl SystemUpdateManager { } pub fn DownloadProgress() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DownloadProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn InstallProgress() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstallProgress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -438,7 +438,7 @@ impl SystemUpdateManager { #[cfg(feature = "Foundation")] pub fn UserActiveHoursStart() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserActiveHoursStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -446,13 +446,13 @@ impl SystemUpdateManager { #[cfg(feature = "Foundation")] pub fn UserActiveHoursEnd() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserActiveHoursEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UserActiveHoursMax() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserActiveHoursMax)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -460,7 +460,7 @@ impl SystemUpdateManager { #[cfg(feature = "Foundation")] pub fn TrySetUserActiveHours(start: super::super::Foundation::TimeSpan, end: super::super::Foundation::TimeSpan) -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetUserActiveHours)(::windows::core::Interface::as_raw(this), start, end, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -468,7 +468,7 @@ impl SystemUpdateManager { #[cfg(feature = "Foundation")] pub fn LastUpdateCheckTime() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastUpdateCheckTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -476,13 +476,13 @@ impl SystemUpdateManager { #[cfg(feature = "Foundation")] pub fn LastUpdateInstallTime() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastUpdateInstallTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LastErrorInfo() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastErrorInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -490,7 +490,7 @@ impl SystemUpdateManager { #[cfg(feature = "Foundation_Collections")] pub fn GetAutomaticRebootBlockIds() -> ::windows::core::Result> { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAutomaticRebootBlockIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -501,7 +501,7 @@ impl SystemUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlockAutomaticRebootAsync)(::windows::core::Interface::as_raw(this), lockid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -512,13 +512,13 @@ impl SystemUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnblockAutomaticRebootAsync)(::windows::core::Interface::as_raw(this), lockid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn ExtendedError() -> ::windows::core::Result<::windows::core::HRESULT> { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) }) } @@ -526,13 +526,13 @@ impl SystemUpdateManager { #[cfg(feature = "Foundation_Collections")] pub fn GetUpdateItems() -> ::windows::core::Result> { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUpdateItems)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn AttentionRequiredReason() -> ::windows::core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttentionRequiredReason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -541,13 +541,13 @@ impl SystemUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetFlightRing)(::windows::core::Interface::as_raw(this), flightring.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetFlightRing() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFlightRing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs index 8706340c94..daff8f26ac 100644 --- a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs +++ b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs @@ -46,7 +46,7 @@ pub struct AdvertisingManager; impl AdvertisingManager { pub fn AdvertisingId() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IAdvertisingManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisingId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -55,7 +55,7 @@ impl AdvertisingManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::User>>, { Self::IAdvertisingManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -80,14 +80,14 @@ impl AdvertisingManagerForUser { pub fn AdvertisingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvertisingId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -161,27 +161,27 @@ impl AssignedAccessSettings { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSingleAppKioskMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSingleAppKioskMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IAssignedAccessSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -190,7 +190,7 @@ impl AssignedAccessSettings { P0: ::std::convert::Into<::windows::core::InParam<'a, super::User>>, { Self::IAssignedAccessSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -269,20 +269,20 @@ impl DiagnosticsSettings { pub fn CanUseDiagnosticsToTailorExperiences(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanUseDiagnosticsToTailorExperiences)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IDiagnosticsSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -291,7 +291,7 @@ impl DiagnosticsSettings { P0: ::std::convert::Into<::windows::core::InParam<'a, super::User>>, { Self::IDiagnosticsSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -369,7 +369,7 @@ pub struct FirstSignInSettings(::windows::core::IUnknown); impl FirstSignInSettings { pub fn GetDefault() -> ::windows::core::Result { Self::IFirstSignInSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -378,7 +378,7 @@ impl FirstSignInSettings { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -390,7 +390,7 @@ impl FirstSignInSettings { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -399,7 +399,7 @@ impl FirstSignInSettings { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -411,7 +411,7 @@ impl FirstSignInSettings { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -556,7 +556,7 @@ impl GlobalizationPreferences { #[cfg(feature = "Foundation_Collections")] pub fn Calendars() -> ::windows::core::Result> { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Calendars)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -564,7 +564,7 @@ impl GlobalizationPreferences { #[cfg(feature = "Foundation_Collections")] pub fn Clocks() -> ::windows::core::Result> { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clocks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -572,7 +572,7 @@ impl GlobalizationPreferences { #[cfg(feature = "Foundation_Collections")] pub fn Currencies() -> ::windows::core::Result> { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Currencies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -580,13 +580,13 @@ impl GlobalizationPreferences { #[cfg(feature = "Foundation_Collections")] pub fn Languages() -> ::windows::core::Result> { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn HomeGeographicRegion() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HomeGeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -594,7 +594,7 @@ impl GlobalizationPreferences { #[cfg(feature = "Globalization")] pub fn WeekStartsOn() -> ::windows::core::Result { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WeekStartsOn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -603,7 +603,7 @@ impl GlobalizationPreferences { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IGlobalizationPreferencesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetHomeGeographicRegion)(::windows::core::Interface::as_raw(this), region.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -615,7 +615,7 @@ impl GlobalizationPreferences { E0: ::std::convert::Into<::windows::core::Error>, { Self::IGlobalizationPreferencesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetLanguages)(::windows::core::Interface::as_raw(this), languagetags.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -624,7 +624,7 @@ impl GlobalizationPreferences { P0: ::std::convert::Into<::windows::core::InParam<'a, super::User>>, { Self::IGlobalizationPreferencesStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -654,7 +654,7 @@ impl GlobalizationPreferencesForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -663,7 +663,7 @@ impl GlobalizationPreferencesForUser { pub fn Calendars(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Calendars)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -672,7 +672,7 @@ impl GlobalizationPreferencesForUser { pub fn Clocks(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clocks)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -681,7 +681,7 @@ impl GlobalizationPreferencesForUser { pub fn Currencies(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Currencies)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -690,14 +690,14 @@ impl GlobalizationPreferencesForUser { pub fn Languages(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Languages)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn HomeGeographicRegion(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HomeGeographicRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -706,7 +706,7 @@ impl GlobalizationPreferencesForUser { pub fn WeekStartsOn(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WeekStartsOn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1156,13 +1156,13 @@ impl LockScreen { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ILockScreenImageFeedStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSetImageFeedAsync)(::windows::core::Interface::as_raw(this), syndicationfeeduri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn TryRemoveImageFeed() -> ::windows::core::Result { Self::ILockScreenImageFeedStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRemoveImageFeed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1170,7 +1170,7 @@ impl LockScreen { #[cfg(feature = "Foundation")] pub fn OriginalImageFile() -> ::windows::core::Result { Self::ILockScreenStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OriginalImageFile)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1178,7 +1178,7 @@ impl LockScreen { #[cfg(feature = "Storage_Streams")] pub fn GetImageStream() -> ::windows::core::Result { Self::ILockScreenStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetImageStream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1190,7 +1190,7 @@ impl LockScreen { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILockScreenStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetImageFileAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1202,7 +1202,7 @@ impl LockScreen { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILockScreenStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetImageStreamAsync)(::windows::core::Interface::as_raw(this), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1310,7 +1310,7 @@ impl UserInformation { #[cfg(feature = "deprecated")] pub fn AccountPictureChangeEnabled() -> ::windows::core::Result { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountPictureChangeEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1318,7 +1318,7 @@ impl UserInformation { #[cfg(feature = "deprecated")] pub fn NameAccessAllowed() -> ::windows::core::Result { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NameAccessAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1326,7 +1326,7 @@ impl UserInformation { #[cfg(all(feature = "Storage", feature = "deprecated"))] pub fn GetAccountPicture(kind: AccountPictureKind) -> ::windows::core::Result { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAccountPicture)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1338,7 +1338,7 @@ impl UserInformation { E0: ::std::convert::Into<::windows::core::Error>, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAccountPictureAsync)(::windows::core::Interface::as_raw(this), image.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1354,7 +1354,7 @@ impl UserInformation { E2: ::std::convert::Into<::windows::core::Error>, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAccountPicturesAsync)(::windows::core::Interface::as_raw(this), smallimage.try_into().map_err(|e| e.into())?.abi(), largeimage.try_into().map_err(|e| e.into())?.abi(), video.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1366,7 +1366,7 @@ impl UserInformation { E0: ::std::convert::Into<::windows::core::Error>, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAccountPictureFromStreamAsync)(::windows::core::Interface::as_raw(this), image.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1382,7 +1382,7 @@ impl UserInformation { E2: ::std::convert::Into<::windows::core::Error>, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAccountPicturesFromStreamsAsync)(::windows::core::Interface::as_raw(this), smallimage.try_into().map_err(|e| e.into())?.abi(), largeimage.try_into().map_err(|e| e.into())?.abi(), video.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1393,7 +1393,7 @@ impl UserInformation { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountPictureChanged)(::windows::core::Interface::as_raw(this), changehandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1406,7 +1406,7 @@ impl UserInformation { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn GetDisplayNameAsync() -> ::windows::core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDisplayNameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1414,7 +1414,7 @@ impl UserInformation { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn GetFirstNameAsync() -> ::windows::core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFirstNameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1422,7 +1422,7 @@ impl UserInformation { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn GetLastNameAsync() -> ::windows::core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetLastNameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1430,7 +1430,7 @@ impl UserInformation { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn GetPrincipalNameAsync() -> ::windows::core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPrincipalNameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1438,7 +1438,7 @@ impl UserInformation { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn GetSessionInitiationProtocolUriAsync() -> ::windows::core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSessionInitiationProtocolUriAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1446,7 +1446,7 @@ impl UserInformation { #[cfg(all(feature = "Foundation", feature = "deprecated"))] pub fn GetDomainNameAsync() -> ::windows::core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDomainNameAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1473,7 +1473,7 @@ impl UserProfilePersonalizationSettings { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetLockScreenImageAsync)(::windows::core::Interface::as_raw(this), imagefile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1485,19 +1485,19 @@ impl UserProfilePersonalizationSettings { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetWallpaperImageAsync)(::windows::core::Interface::as_raw(this), imagefile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Current() -> ::windows::core::Result { Self::IUserProfilePersonalizationSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IUserProfilePersonalizationSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index 7984ef25b9..8689fd66a0 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -29,14 +29,14 @@ impl AppActivationResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn AppResourceGroupInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppResourceGroupInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -112,7 +112,7 @@ impl AppDiagnosticInfo { pub fn AppInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -121,14 +121,14 @@ impl AppDiagnosticInfo { pub fn GetResourceGroups(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResourceGroups)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateResourceGroupWatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResourceGroupWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -137,7 +137,7 @@ impl AppDiagnosticInfo { pub fn LaunchAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -145,13 +145,13 @@ impl AppDiagnosticInfo { #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoAsync() -> ::windows::core::Result>> { Self::IAppDiagnosticInfoStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestInfoAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } pub fn CreateWatcher() -> ::windows::core::Result { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -159,7 +159,7 @@ impl AppDiagnosticInfo { #[cfg(feature = "Foundation")] pub fn RequestAccessAsync() -> ::windows::core::Result> { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -170,7 +170,7 @@ impl AppDiagnosticInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestInfoForPackageAsync)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -178,7 +178,7 @@ impl AppDiagnosticInfo { #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoForAppAsync() -> ::windows::core::Result>> { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestInfoForAppAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -189,7 +189,7 @@ impl AppDiagnosticInfo { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestInfoForAppUserModelId)(::windows::core::Interface::as_raw(this), appusermodelid.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -278,7 +278,7 @@ impl AppDiagnosticInfoWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -296,7 +296,7 @@ impl AppDiagnosticInfoWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -314,7 +314,7 @@ impl AppDiagnosticInfoWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -332,7 +332,7 @@ impl AppDiagnosticInfoWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -345,7 +345,7 @@ impl AppDiagnosticInfoWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -427,7 +427,7 @@ impl AppDiagnosticInfoWatcherEventArgs { pub fn AppDiagnosticInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDiagnosticInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -539,7 +539,7 @@ impl AppExecutionStateChangeResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -613,35 +613,35 @@ impl AppMemoryReport { pub fn PrivateCommitUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrivateCommitUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PeakPrivateCommitUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeakPrivateCommitUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalCommitUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalCommitUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalCommitLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalCommitLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExpectedTotalCommitLimit(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpectedTotalCommitLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -751,14 +751,14 @@ impl AppMemoryUsageLimitChangingEventArgs { pub fn OldLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NewLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -832,28 +832,28 @@ impl AppResourceGroupBackgroundTaskReport { pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Trigger(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Trigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn EntryPoint(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EntryPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -999,14 +999,14 @@ impl AppResourceGroupInfo { pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn IsShared(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsShared)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1015,14 +1015,14 @@ impl AppResourceGroupInfo { pub fn GetBackgroundTaskReports(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBackgroundTaskReports)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetMemoryReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMemoryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1031,14 +1031,14 @@ impl AppResourceGroupInfo { pub fn GetProcessDiagnosticInfos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProcessDiagnosticInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetStateReport(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStateReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1047,7 +1047,7 @@ impl AppResourceGroupInfo { pub fn StartSuspendAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartSuspendAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1056,7 +1056,7 @@ impl AppResourceGroupInfo { pub fn StartResumeAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartResumeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1065,7 +1065,7 @@ impl AppResourceGroupInfo { pub fn StartTerminateAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartTerminateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1144,7 +1144,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1162,7 +1162,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1180,7 +1180,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1198,7 +1198,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1216,7 +1216,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecutionStateChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1229,7 +1229,7 @@ impl AppResourceGroupInfoWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1313,14 +1313,14 @@ impl AppResourceGroupInfoWatcherEventArgs { pub fn AppDiagnosticInfos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDiagnosticInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AppResourceGroupInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppResourceGroupInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1396,14 +1396,14 @@ impl AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { pub fn AppDiagnosticInfos(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppDiagnosticInfos)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn AppResourceGroupInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppResourceGroupInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1515,28 +1515,28 @@ impl AppResourceGroupMemoryReport { pub fn CommitUsageLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitUsageLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CommitUsageLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PrivateCommitUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrivateCommitUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalCommitUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalCommitUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1610,14 +1610,14 @@ impl AppResourceGroupStateReport { pub fn ExecutionState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EnergyQuotaState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnergyQuotaState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1698,7 +1698,7 @@ impl AppUriHandlerHost { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1712,7 +1712,7 @@ impl AppUriHandlerHost { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1725,7 +1725,7 @@ impl AppUriHandlerHost { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppUriHandlerHostFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1804,14 +1804,14 @@ impl AppUriHandlerRegistration { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1820,7 +1820,7 @@ impl AppUriHandlerRegistration { pub fn GetAppAddedHostsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppAddedHostsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -1833,7 +1833,7 @@ impl AppUriHandlerRegistration { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetAppAddedHostsAsync)(::windows::core::Interface::as_raw(this), hosts.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1842,7 +1842,7 @@ impl AppUriHandlerRegistration { pub fn GetAllHosts(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAllHosts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1859,7 +1859,7 @@ impl AppUriHandlerRegistration { pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1933,7 +1933,7 @@ impl AppUriHandlerRegistrationManager { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1943,20 +1943,20 @@ impl AppUriHandlerRegistrationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetRegistration)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IAppUriHandlerRegistrationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1965,7 +1965,7 @@ impl AppUriHandlerRegistrationManager { P0: ::std::convert::Into<::windows::core::InParam<'a, User>>, { Self::IAppUriHandlerRegistrationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1974,7 +1974,7 @@ impl AppUriHandlerRegistrationManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAppUriHandlerRegistrationManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForPackage)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1984,7 +1984,7 @@ impl AppUriHandlerRegistrationManager { P1: ::std::convert::Into<::windows::core::InParam<'a, User>>, { Self::IAppUriHandlerRegistrationManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForPackageForUser)(::windows::core::Interface::as_raw(this), packagefamilyname.into().abi(), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2156,7 +2156,7 @@ impl DispatcherQueue { pub fn CreateTimer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTimer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2166,7 +2166,7 @@ impl DispatcherQueue { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryEnqueue)(::windows::core::Interface::as_raw(this), callback.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2176,7 +2176,7 @@ impl DispatcherQueue { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryEnqueueWithPriority)(::windows::core::Interface::as_raw(this), priority, callback.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2188,7 +2188,7 @@ impl DispatcherQueue { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShutdownStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2206,7 +2206,7 @@ impl DispatcherQueue { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShutdownCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2219,13 +2219,13 @@ impl DispatcherQueue { pub fn HasThreadAccess(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasThreadAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentThread() -> ::windows::core::Result { Self::IDispatcherQueueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentThread)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2304,7 +2304,7 @@ impl DispatcherQueueController { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2313,13 +2313,13 @@ impl DispatcherQueueController { pub fn ShutdownQueueAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShutdownQueueAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateOnDedicatedThread() -> ::windows::core::Result { Self::IDispatcherQueueControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateOnDedicatedThread)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2519,7 +2519,7 @@ impl DispatcherQueueShutdownStartingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2595,7 +2595,7 @@ impl DispatcherQueueTimer { pub fn Interval(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Interval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2608,14 +2608,14 @@ impl DispatcherQueueTimer { pub fn IsRunning(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRunning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRepeating(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRepeating)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2639,7 +2639,7 @@ impl DispatcherQueueTimer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tick)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2728,7 +2728,7 @@ impl FolderLauncherOptions { pub fn ItemsToSelect(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemsToSelect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2737,7 +2737,7 @@ impl FolderLauncherOptions { pub fn DesiredRemainingView(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredRemainingView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3892,7 +3892,7 @@ impl ILauncherViewOptions { pub fn DesiredRemainingView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredRemainingView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4556,61 +4556,61 @@ pub struct KnownUserProperties; impl KnownUserProperties { pub fn DisplayName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn FirstName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn LastName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn ProviderName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProviderName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AccountName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn GuestHost() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GuestHost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn PrincipalName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrincipalName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn DomainName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DomainName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SessionInitiationProtocolUri() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionInitiationProtocolUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn AgeEnforcementRegion() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownUserPropertiesStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AgeEnforcementRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -4743,7 +4743,7 @@ impl LaunchUriResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4752,7 +4752,7 @@ impl LaunchUriResult { pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4866,7 +4866,7 @@ impl Launcher { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFileAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4879,7 +4879,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, LauncherOptions>>, { Self::ILauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFileWithOptionsAsync)(::windows::core::Interface::as_raw(this), file.try_into().map_err(|e| e.into())?.abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4890,7 +4890,7 @@ impl Launcher { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Uri>>, { Self::ILauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4902,7 +4902,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, LauncherOptions>>, { Self::ILauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriWithOptionsAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4914,7 +4914,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, LauncherOptions>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriForResultsAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4927,7 +4927,7 @@ impl Launcher { P2: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Collections::ValueSet>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriForResultsWithDataAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), options.into().abi(), inputdata.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4940,7 +4940,7 @@ impl Launcher { P2: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Collections::ValueSet>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriWithDataAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), options.into().abi(), inputdata.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4951,7 +4951,7 @@ impl Launcher { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Uri>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryUriSupportAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), launchquerysupporttype, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4963,7 +4963,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryUriSupportWithPackageFamilyNameAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), launchquerysupporttype, packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4974,7 +4974,7 @@ impl Launcher { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Storage::StorageFile>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryFileSupportAsync)(::windows::core::Interface::as_raw(this), file.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4986,7 +4986,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryFileSupportWithPackageFamilyNameAsync)(::windows::core::Interface::as_raw(this), file.into().abi(), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4997,7 +4997,7 @@ impl Launcher { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindUriSchemeHandlersAsync)(::windows::core::Interface::as_raw(this), scheme.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5008,7 +5008,7 @@ impl Launcher { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindUriSchemeHandlersWithLaunchUriTypeAsync)(::windows::core::Interface::as_raw(this), scheme.into().abi(), launchquerysupporttype, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5019,7 +5019,7 @@ impl Launcher { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindFileHandlersAsync)(::windows::core::Interface::as_raw(this), extension.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5031,7 +5031,7 @@ impl Launcher { E0: ::std::convert::Into<::windows::core::Error>, { Self::ILauncherStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFolderAsync)(::windows::core::Interface::as_raw(this), folder.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5044,7 +5044,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, FolderLauncherOptions>>, { Self::ILauncherStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFolderWithOptionsAsync)(::windows::core::Interface::as_raw(this), folder.try_into().map_err(|e| e.into())?.abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5055,7 +5055,7 @@ impl Launcher { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Uri>>, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryAppUriSupportAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5067,7 +5067,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryAppUriSupportWithPackageFamilyNameAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), packagefamilyname.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5078,7 +5078,7 @@ impl Launcher { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Uri>>, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAppUriHandlersAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -5090,7 +5090,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Uri>>, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5103,7 +5103,7 @@ impl Launcher { P2: ::std::convert::Into<::windows::core::InParam<'a, LauncherOptions>>, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriWithOptionsForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), uri.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5117,7 +5117,7 @@ impl Launcher { P3: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Collections::ValueSet>>, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriWithDataForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), uri.into().abi(), options.into().abi(), inputdata.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5130,7 +5130,7 @@ impl Launcher { P2: ::std::convert::Into<::windows::core::InParam<'a, LauncherOptions>>, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriForResultsForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), uri.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5144,7 +5144,7 @@ impl Launcher { P3: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Collections::ValueSet>>, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriForResultsWithDataForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), uri.into().abi(), options.into().abi(), inputdata.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5155,7 +5155,7 @@ impl Launcher { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILauncherStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFolderPathAsync)(::windows::core::Interface::as_raw(this), path.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5167,7 +5167,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, FolderLauncherOptions>>, { Self::ILauncherStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFolderPathWithOptionsAsync)(::windows::core::Interface::as_raw(this), path.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5179,7 +5179,7 @@ impl Launcher { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ILauncherStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFolderPathForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), path.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5192,7 +5192,7 @@ impl Launcher { P2: ::std::convert::Into<::windows::core::InParam<'a, FolderLauncherOptions>>, { Self::ILauncherStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchFolderPathWithOptionsForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), path.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5239,7 +5239,7 @@ impl LauncherOptions { pub fn TreatAsUntrusted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TreatAsUntrusted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5250,7 +5250,7 @@ impl LauncherOptions { pub fn DisplayApplicationPicker(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayApplicationPicker)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5261,14 +5261,14 @@ impl LauncherOptions { pub fn UI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PreferredApplicationPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredApplicationPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5282,7 +5282,7 @@ impl LauncherOptions { pub fn PreferredApplicationDisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredApplicationDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5298,7 +5298,7 @@ impl LauncherOptions { pub fn FallbackUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5314,7 +5314,7 @@ impl LauncherOptions { pub fn ContentType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5328,7 +5328,7 @@ impl LauncherOptions { pub fn TargetApplicationPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TargetApplicationPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5344,7 +5344,7 @@ impl LauncherOptions { pub fn NeighboringFilesQuery(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringFilesQuery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5360,7 +5360,7 @@ impl LauncherOptions { pub fn IgnoreAppUriHandlers(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnoreAppUriHandlers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5371,7 +5371,7 @@ impl LauncherOptions { pub fn LimitPickerToCurrentAppAndAppUriHandlers(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LimitPickerToCurrentAppAndAppUriHandlers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5384,7 +5384,7 @@ impl LauncherOptions { pub fn DesiredRemainingView(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredRemainingView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5485,7 +5485,7 @@ impl LauncherUIOptions { pub fn InvocationPoint(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvocationPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5504,7 +5504,7 @@ impl LauncherUIOptions { pub fn SelectionRect(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectionRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5523,7 +5523,7 @@ impl LauncherUIOptions { pub fn PreferredPlacement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredPlacement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5601,19 +5601,19 @@ pub struct MemoryManager; impl MemoryManager { pub fn AppMemoryUsage() -> ::windows::core::Result { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppMemoryUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AppMemoryUsageLimit() -> ::windows::core::Result { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppMemoryUsageLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AppMemoryUsageLevel() -> ::windows::core::Result { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppMemoryUsageLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5624,7 +5624,7 @@ impl MemoryManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppMemoryUsageIncreased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5640,7 +5640,7 @@ impl MemoryManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppMemoryUsageDecreased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5656,7 +5656,7 @@ impl MemoryManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler>>, { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppMemoryUsageLimitChanging)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5667,25 +5667,25 @@ impl MemoryManager { } pub fn GetAppMemoryReport() -> ::windows::core::Result { Self::IMemoryManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAppMemoryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetProcessMemoryReport() -> ::windows::core::Result { Self::IMemoryManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetProcessMemoryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TrySetAppMemoryUsageLimit(value: u64) -> ::windows::core::Result { Self::IMemoryManagerStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetAppMemoryUsageLimit)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ExpectedAppMemoryUsageLimit() -> ::windows::core::Result { Self::IMemoryManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpectedAppMemoryUsageLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5758,7 +5758,7 @@ impl ProcessLauncher { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IProcessLauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunToCompletionAsync)(::windows::core::Interface::as_raw(this), filename.into().abi(), args.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5771,7 +5771,7 @@ impl ProcessLauncher { P2: ::std::convert::Into<::windows::core::InParam<'a, ProcessLauncherOptions>>, { Self::IProcessLauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunToCompletionAsyncWithOptions)(::windows::core::Interface::as_raw(this), filename.into().abi(), args.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -5800,7 +5800,7 @@ impl ProcessLauncherOptions { pub fn StandardInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StandardInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5819,7 +5819,7 @@ impl ProcessLauncherOptions { pub fn StandardOutput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StandardOutput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5838,7 +5838,7 @@ impl ProcessLauncherOptions { pub fn StandardError(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StandardError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5855,7 +5855,7 @@ impl ProcessLauncherOptions { pub fn WorkingDirectory(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorkingDirectory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5936,7 +5936,7 @@ impl ProcessLauncherResult { pub fn ExitCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExitCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6010,14 +6010,14 @@ impl ProcessMemoryReport { pub fn PrivateWorkingSetUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrivateWorkingSetUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TotalWorkingSetUsage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TotalWorkingSetUsage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6250,7 +6250,7 @@ impl RemoteLauncher { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Uri>>, { Self::IRemoteLauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriAsync)(::windows::core::Interface::as_raw(this), remotesystemconnectionrequest.into().abi(), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -6263,7 +6263,7 @@ impl RemoteLauncher { P2: ::std::convert::Into<::windows::core::InParam<'a, RemoteLauncherOptions>>, { Self::IRemoteLauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriWithOptionsAsync)(::windows::core::Interface::as_raw(this), remotesystemconnectionrequest.into().abi(), uri.into().abi(), options.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -6277,7 +6277,7 @@ impl RemoteLauncher { P3: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::Collections::ValueSet>>, { Self::IRemoteLauncherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchUriWithDataAsync)(::windows::core::Interface::as_raw(this), remotesystemconnectionrequest.into().abi(), uri.into().abi(), options.into().abi(), inputdata.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -6306,7 +6306,7 @@ impl RemoteLauncherOptions { pub fn FallbackUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FallbackUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6324,7 +6324,7 @@ impl RemoteLauncherOptions { pub fn PreferredAppIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredAppIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6438,7 +6438,7 @@ impl ShutdownManager { } pub fn IsPowerStateSupported(powerstate: PowerState) -> ::windows::core::Result { Self::IShutdownManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPowerStateSupported)(::windows::core::Interface::as_raw(this), powerstate, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6469,7 +6469,7 @@ pub struct TimeZoneSettings; impl TimeZoneSettings { pub fn CurrentTimeZoneDisplayName() -> ::windows::core::Result<::windows::core::HSTRING> { Self::ITimeZoneSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentTimeZoneDisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -6477,13 +6477,13 @@ impl TimeZoneSettings { #[cfg(feature = "Foundation_Collections")] pub fn SupportedTimeZoneDisplayNames() -> ::windows::core::Result> { Self::ITimeZoneSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedTimeZoneDisplayNames)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn CanChangeTimeZone() -> ::windows::core::Result { Self::ITimeZoneSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanChangeTimeZone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6497,7 +6497,7 @@ impl TimeZoneSettings { #[cfg(feature = "Foundation")] pub fn AutoUpdateTimeZoneAsync(timeout: super::Foundation::TimeSpan) -> ::windows::core::Result> { Self::ITimeZoneSettingsStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoUpdateTimeZoneAsync)(::windows::core::Interface::as_raw(this), timeout, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -6522,21 +6522,21 @@ impl User { pub fn NonRoamableId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NonRoamableId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn AuthenticationStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6548,7 +6548,7 @@ impl User { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertyAsync)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6561,7 +6561,7 @@ impl User { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPropertiesAsync)(::windows::core::Interface::as_raw(this), values.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6570,7 +6570,7 @@ impl User { pub fn GetPictureAsync(&self, desiredsize: UserPictureSize) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPictureAsync)(::windows::core::Interface::as_raw(this), desiredsize, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6579,13 +6579,13 @@ impl User { pub fn CheckUserAgeConsentGroupAsync(&self, consentgroup: UserAgeConsentGroup) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CheckUserAgeConsentGroupAsync)(::windows::core::Interface::as_raw(this), consentgroup, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CreateWatcher() -> ::windows::core::Result { Self::IUserStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6593,7 +6593,7 @@ impl User { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::IUserStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -6601,7 +6601,7 @@ impl User { #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsyncByType(r#type: UserType) -> ::windows::core::Result>> { Self::IUserStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncByType)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -6609,7 +6609,7 @@ impl User { #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsyncByTypeAndStatus(r#type: UserType, status: UserAuthenticationStatus) -> ::windows::core::Result>> { Self::IUserStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsyncByTypeAndStatus)(::windows::core::Interface::as_raw(this), r#type, status, result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -6618,13 +6618,13 @@ impl User { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFromId)(::windows::core::Interface::as_raw(this), nonroamableid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetDefault() -> ::windows::core::Result { Self::IUserStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6886,28 +6886,28 @@ impl UserAuthenticationStatusChangingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NewStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6981,7 +6981,7 @@ impl UserChangedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6990,7 +6990,7 @@ impl UserChangedEventArgs { pub fn ChangedPropertyKinds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangedPropertyKinds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7065,7 +7065,7 @@ impl UserDeviceAssociation { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUserDeviceAssociationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindUserFromDeviceId)(::windows::core::Interface::as_raw(this), deviceid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7076,7 +7076,7 @@ impl UserDeviceAssociation { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::EventHandler>>, { Self::IUserDeviceAssociationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserDeviceAssociationChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7101,21 +7101,21 @@ impl UserDeviceAssociationChangedEventArgs { pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NewUser(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OldUser(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7196,7 +7196,7 @@ impl UserPicker { pub fn AllowGuestAccounts(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowGuestAccounts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7207,7 +7207,7 @@ impl UserPicker { pub fn SuggestedSelectedUser(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuggestedSelectedUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7223,13 +7223,13 @@ impl UserPicker { pub fn PickSingleUserAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PickSingleUserAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsSupported() -> ::windows::core::Result { Self::IUserPickerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7381,7 +7381,7 @@ impl UserWatcher { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7401,7 +7401,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Added)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7419,7 +7419,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Removed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7437,7 +7437,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Updated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7455,7 +7455,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationStatusChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7473,7 +7473,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AuthenticationStatusChanging)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7491,7 +7491,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnumerationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7509,7 +7509,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stopped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs index c48c3692f5..c7dfe23a7b 100644 --- a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs @@ -45,14 +45,14 @@ impl ScreenReaderPositionChangedEventArgs { pub fn ScreenPositionInRawPixels(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenPositionInRawPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsReadingText(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadingText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -133,7 +133,7 @@ impl ScreenReaderService { pub fn CurrentScreenReaderPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentScreenReaderPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -145,7 +145,7 @@ impl ScreenReaderService { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenReaderPositionChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs index 41ba825e09..d992c1a662 100644 --- a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs @@ -10,7 +10,7 @@ impl AccountsSettingsPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountCommandsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22,7 +22,7 @@ impl AccountsSettingsPane { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IAccountsSettingsPaneStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -33,7 +33,7 @@ impl AccountsSettingsPane { #[cfg(feature = "Foundation")] pub fn ShowManageAccountsAsync() -> ::windows::core::Result { Self::IAccountsSettingsPaneStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowManageAccountsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -41,7 +41,7 @@ impl AccountsSettingsPane { #[cfg(feature = "Foundation")] pub fn ShowAddAccountAsync() -> ::windows::core::Result { Self::IAccountsSettingsPaneStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAddAccountAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -52,7 +52,7 @@ impl AccountsSettingsPane { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IAccountsSettingsPaneStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowManageAccountsForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -63,7 +63,7 @@ impl AccountsSettingsPane { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IAccountsSettingsPaneStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAddAccountForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -152,7 +152,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn WebAccountProviderCommands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccountProviderCommands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -161,7 +161,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn WebAccountCommands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccountCommands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -170,7 +170,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn CredentialCommands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialCommands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -179,14 +179,14 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn Commands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Commands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn HeaderText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -200,7 +200,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -209,7 +209,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -352,14 +352,14 @@ impl CredentialCommand { pub fn PasswordCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasswordCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CredentialDeleted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CredentialDeleted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -370,7 +370,7 @@ impl CredentialCommand { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Security::Credentials::PasswordCredential>>, { Self::ICredentialCommandFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCredentialCommand)(::windows::core::Interface::as_raw(this), passwordcredential.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -382,7 +382,7 @@ impl CredentialCommand { P1: ::std::convert::Into<::windows::core::InParam<'a, CredentialCommandCredentialDeletedHandler>>, { Self::ICredentialCommandFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCredentialCommandWithHandler)(::windows::core::Interface::as_raw(this), passwordcredential.into().abi(), deleted.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -925,7 +925,7 @@ impl SettingsCommand { P2: ::std::convert::Into<::windows::core::InParam<'a, super::Popups::UICommandInvokedHandler>>, { Self::ISettingsCommandFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSettingsCommand)(::windows::core::Interface::as_raw(this), settingscommandid.into().abi(), label.into().abi(), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -933,7 +933,7 @@ impl SettingsCommand { #[cfg(feature = "UI_Popups")] pub fn AccountsCommand() -> ::windows::core::Result { Self::ISettingsCommandStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccountsCommand)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -942,7 +942,7 @@ impl SettingsCommand { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -960,7 +960,7 @@ impl SettingsCommand { pub fn Invoked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invoked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -978,7 +978,7 @@ impl SettingsCommand { pub fn Id(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1153,7 +1153,7 @@ impl SettingsPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1167,7 +1167,7 @@ impl SettingsPane { #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> ::windows::core::Result { Self::ISettingsPaneStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1180,7 +1180,7 @@ impl SettingsPane { #[cfg(feature = "deprecated")] pub fn Edge() -> ::windows::core::Result { Self::ISettingsPaneStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Edge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1275,7 +1275,7 @@ impl SettingsPaneCommandsRequest { pub fn ApplicationCommands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationCommands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1364,7 +1364,7 @@ impl SettingsPaneCommandsRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1554,21 +1554,21 @@ impl WebAccountCommand { pub fn WebAccount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Invoked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invoked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Actions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Actions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1580,7 +1580,7 @@ impl WebAccountCommand { P1: ::std::convert::Into<::windows::core::InParam<'a, WebAccountCommandInvokedHandler>>, { Self::IWebAccountCommandFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWebAccountCommand)(::windows::core::Interface::as_raw(this), webaccount.into().abi(), invoked.into().abi(), actions, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1745,7 +1745,7 @@ impl WebAccountInvokedArgs { pub fn Action(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Action)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1819,14 +1819,14 @@ impl WebAccountProviderCommand { pub fn WebAccountProvider(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAccountProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Invoked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invoked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1838,7 +1838,7 @@ impl WebAccountProviderCommand { P1: ::std::convert::Into<::windows::core::InParam<'a, WebAccountProviderCommandInvokedHandler>>, { Self::IWebAccountProviderCommandFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWebAccountProviderCommand)(::windows::core::Interface::as_raw(this), webaccountprovider.into().abi(), invoked.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs index 3172d62aa8..0651367993 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs @@ -18,7 +18,7 @@ impl CompositorController { pub fn Compositor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31,7 +31,7 @@ impl CompositorController { pub fn EnsurePreviousCommitCompletedAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnsurePreviousCommitCompletedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -43,7 +43,7 @@ impl CompositorController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommitNeeded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs index 4ef2a5ff7c..6c03ababb4 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs @@ -19,7 +19,7 @@ impl DesktopWindowTarget { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28,14 +28,14 @@ impl DesktopWindowTarget { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -57,7 +57,7 @@ impl DesktopWindowTarget { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -71,7 +71,7 @@ impl DesktopWindowTarget { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -103,7 +103,7 @@ impl DesktopWindowTarget { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -113,14 +113,14 @@ impl DesktopWindowTarget { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Root(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Root)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -134,7 +134,7 @@ impl DesktopWindowTarget { pub fn IsTopmost(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTopmost)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs index 363f4ea797..bb98edadcc 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs @@ -169,7 +169,7 @@ impl CompositionDebugSettings { pub fn HeatMaps(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeatMaps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -178,7 +178,7 @@ impl CompositionDebugSettings { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::ICompositionDebugSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetSettings)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs index f493c454ca..3261211117 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs @@ -56,7 +56,7 @@ impl SceneLightingEffect { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -72,7 +72,7 @@ impl SceneLightingEffect { pub fn AmbientAmount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AmbientAmount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -83,7 +83,7 @@ impl SceneLightingEffect { pub fn DiffuseAmount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DiffuseAmount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -96,7 +96,7 @@ impl SceneLightingEffect { pub fn NormalMapSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalMapSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -113,7 +113,7 @@ impl SceneLightingEffect { pub fn SpecularAmount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpecularAmount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -124,7 +124,7 @@ impl SceneLightingEffect { pub fn SpecularShine(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpecularShine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -135,7 +135,7 @@ impl SceneLightingEffect { pub fn ReflectanceModel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReflectanceModel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } 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 dcceb2503e..f4978acf0b 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs @@ -19,7 +19,7 @@ impl CompositionConditionalValue { pub fn Condition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Condition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33,7 +33,7 @@ impl CompositionConditionalValue { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -49,14 +49,14 @@ impl CompositionConditionalValue { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::ICompositionConditionalValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -65,14 +65,14 @@ impl CompositionConditionalValue { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -94,7 +94,7 @@ impl CompositionConditionalValue { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -108,7 +108,7 @@ impl CompositionConditionalValue { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -140,7 +140,7 @@ impl CompositionConditionalValue { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -150,7 +150,7 @@ impl CompositionConditionalValue { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -299,7 +299,7 @@ impl CompositionInteractionSourceCollection { pub fn Count(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Count)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -326,7 +326,7 @@ impl CompositionInteractionSourceCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -335,14 +335,14 @@ impl CompositionInteractionSourceCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -364,7 +364,7 @@ impl CompositionInteractionSourceCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -378,7 +378,7 @@ impl CompositionInteractionSourceCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -410,7 +410,7 @@ impl CompositionInteractionSourceCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -420,7 +420,7 @@ impl CompositionInteractionSourceCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -429,7 +429,7 @@ impl CompositionInteractionSourceCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1629,7 +1629,7 @@ impl InteractionSourceConfiguration { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1638,14 +1638,14 @@ impl InteractionSourceConfiguration { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1667,7 +1667,7 @@ impl InteractionSourceConfiguration { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1681,7 +1681,7 @@ impl InteractionSourceConfiguration { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1713,7 +1713,7 @@ impl InteractionSourceConfiguration { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1723,14 +1723,14 @@ impl InteractionSourceConfiguration { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PositionXSourceMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionXSourceMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1741,7 +1741,7 @@ impl InteractionSourceConfiguration { pub fn PositionYSourceMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionYSourceMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1752,7 +1752,7 @@ impl InteractionSourceConfiguration { pub fn ScaleSourceMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaleSourceMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1969,7 +1969,7 @@ impl InteractionTracker { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1978,14 +1978,14 @@ impl InteractionTracker { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2007,7 +2007,7 @@ impl InteractionTracker { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2021,7 +2021,7 @@ impl InteractionTracker { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2053,7 +2053,7 @@ impl InteractionTracker { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2063,21 +2063,21 @@ impl InteractionTracker { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InteractionSources(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSources)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPositionRoundingSuggested(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPositionRoundingSuggested)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2086,7 +2086,7 @@ impl InteractionTracker { pub fn MaxPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2099,7 +2099,7 @@ impl InteractionTracker { pub fn MaxScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2112,7 +2112,7 @@ impl InteractionTracker { pub fn MinPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2125,7 +2125,7 @@ impl InteractionTracker { pub fn MinScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2138,21 +2138,21 @@ impl InteractionTracker { pub fn NaturalRestingPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalRestingPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NaturalRestingScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalRestingScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Owner(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Owner)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2161,7 +2161,7 @@ impl InteractionTracker { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2170,7 +2170,7 @@ impl InteractionTracker { pub fn PositionInertiaDecayRate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionInertiaDecayRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2189,14 +2189,14 @@ impl InteractionTracker { pub fn PositionVelocityInPixelsPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionVelocityInPixelsPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Scale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2205,7 +2205,7 @@ impl InteractionTracker { pub fn ScaleInertiaDecayRate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaleInertiaDecayRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2222,7 +2222,7 @@ impl InteractionTracker { pub fn ScaleVelocityInPercentPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaleVelocityInPercentPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2269,7 +2269,7 @@ impl InteractionTracker { pub fn TryUpdatePosition(&self, value: super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdatePosition)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2278,7 +2278,7 @@ impl InteractionTracker { pub fn TryUpdatePositionBy(&self, amount: super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdatePositionBy)(::windows::core::Interface::as_raw(this), amount, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2288,7 +2288,7 @@ impl InteractionTracker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdatePositionWithAnimation)(::windows::core::Interface::as_raw(this), animation.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2297,7 +2297,7 @@ impl InteractionTracker { pub fn TryUpdatePositionWithAdditionalVelocity(&self, velocityinpixelspersecond: super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdatePositionWithAdditionalVelocity)(::windows::core::Interface::as_raw(this), velocityinpixelspersecond, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2306,7 +2306,7 @@ impl InteractionTracker { pub fn TryUpdateScale(&self, value: f32, centerpoint: super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdateScale)(::windows::core::Interface::as_raw(this), value, centerpoint, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2318,7 +2318,7 @@ impl InteractionTracker { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdateScaleWithAnimation)(::windows::core::Interface::as_raw(this), animation.into().abi(), centerpoint, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2327,7 +2327,7 @@ impl InteractionTracker { pub fn TryUpdateScaleWithAdditionalVelocity(&self, velocityinpercentpersecond: f32, centerpoint: super::super::super::Foundation::Numerics::Vector3) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdateScaleWithAdditionalVelocity)(::windows::core::Interface::as_raw(this), velocityinpercentpersecond, centerpoint, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2366,7 +2366,7 @@ impl InteractionTracker { pub fn TryUpdatePositionWithOption(&self, value: super::super::super::Foundation::Numerics::Vector3, option: InteractionTrackerClampingOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdatePositionWithOption)(::windows::core::Interface::as_raw(this), value, option, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2375,14 +2375,14 @@ impl InteractionTracker { pub fn TryUpdatePositionByWithOption(&self, amount: super::super::super::Foundation::Numerics::Vector3, option: InteractionTrackerClampingOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdatePositionByWithOption)(::windows::core::Interface::as_raw(this), amount, option, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInertiaFromImpulse(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInertiaFromImpulse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2391,7 +2391,7 @@ impl InteractionTracker { pub fn TryUpdatePositionWithOption2(&self, value: super::super::super::Foundation::Numerics::Vector3, option: InteractionTrackerClampingOption, posupdateoption: InteractionTrackerPositionUpdateOption) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUpdatePositionWithOption)(::windows::core::Interface::as_raw(this), value, option, posupdateoption, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2400,7 +2400,7 @@ impl InteractionTracker { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::IInteractionTrackerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2411,7 +2411,7 @@ impl InteractionTracker { E1: ::std::convert::Into<::windows::core::Error>, { Self::IInteractionTrackerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithOwner)(::windows::core::Interface::as_raw(this), compositor.into().abi(), owner.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2428,7 +2428,7 @@ impl InteractionTracker { P1: ::std::convert::Into<::windows::core::InParam<'a, InteractionTracker>>, { Self::IInteractionTrackerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBindingMode)(::windows::core::Interface::as_raw(this), boundtracker1.into().abi(), boundtracker2.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2602,14 +2602,14 @@ impl InteractionTrackerCustomAnimationStateEnteredArgs { pub fn RequestId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsFromBinding(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFromBinding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2683,14 +2683,14 @@ impl InteractionTrackerIdleStateEnteredArgs { pub fn RequestId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsFromBinding(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFromBinding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2778,7 +2778,7 @@ impl InteractionTrackerInertiaModifier { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2787,14 +2787,14 @@ impl InteractionTrackerInertiaModifier { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2816,7 +2816,7 @@ impl InteractionTrackerInertiaModifier { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2830,7 +2830,7 @@ impl InteractionTrackerInertiaModifier { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2862,7 +2862,7 @@ impl InteractionTrackerInertiaModifier { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2872,7 +2872,7 @@ impl InteractionTrackerInertiaModifier { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3016,7 +3016,7 @@ impl InteractionTrackerInertiaMotion { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3025,14 +3025,14 @@ impl InteractionTrackerInertiaMotion { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3054,7 +3054,7 @@ impl InteractionTrackerInertiaMotion { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3068,7 +3068,7 @@ impl InteractionTrackerInertiaMotion { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3100,7 +3100,7 @@ impl InteractionTrackerInertiaMotion { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3110,14 +3110,14 @@ impl InteractionTrackerInertiaMotion { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Condition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Condition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3131,7 +3131,7 @@ impl InteractionTrackerInertiaMotion { pub fn Motion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Motion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3147,7 +3147,7 @@ impl InteractionTrackerInertiaMotion { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::IInteractionTrackerInertiaMotionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3311,7 +3311,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3320,14 +3320,14 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3349,7 +3349,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3363,7 +3363,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3395,7 +3395,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3405,14 +3405,14 @@ impl InteractionTrackerInertiaNaturalMotion { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Condition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Condition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3426,7 +3426,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn NaturalMotion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalMotion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3442,7 +3442,7 @@ impl InteractionTrackerInertiaNaturalMotion { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::IInteractionTrackerInertiaNaturalMotionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3606,7 +3606,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3615,14 +3615,14 @@ impl InteractionTrackerInertiaRestingValue { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3644,7 +3644,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3658,7 +3658,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3690,7 +3690,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3700,14 +3700,14 @@ impl InteractionTrackerInertiaRestingValue { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Condition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Condition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3721,7 +3721,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn RestingValue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RestingValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3737,7 +3737,7 @@ impl InteractionTrackerInertiaRestingValue { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::IInteractionTrackerInertiaRestingValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3889,7 +3889,7 @@ impl InteractionTrackerInertiaStateEnteredArgs { pub fn ModifiedRestingPosition(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModifiedRestingPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3898,7 +3898,7 @@ impl InteractionTrackerInertiaStateEnteredArgs { pub fn ModifiedRestingScale(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModifiedRestingScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3907,14 +3907,14 @@ impl InteractionTrackerInertiaStateEnteredArgs { pub fn NaturalRestingPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalRestingPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NaturalRestingScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalRestingScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3923,35 +3923,35 @@ impl InteractionTrackerInertiaStateEnteredArgs { pub fn PositionVelocityInPixelsPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionVelocityInPixelsPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequestId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ScaleVelocityInPercentPerSecond(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaleVelocityInPercentPerSecond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInertiaFromImpulse(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInertiaFromImpulse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsFromBinding(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFromBinding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4025,14 +4025,14 @@ impl InteractionTrackerInteractingStateEnteredArgs { pub fn RequestId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsFromBinding(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFromBinding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4140,7 +4140,7 @@ impl InteractionTrackerRequestIgnoredArgs { pub fn RequestId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4216,21 +4216,21 @@ impl InteractionTrackerValuesChangedArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequestId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Scale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4318,7 +4318,7 @@ impl InteractionTrackerVector2InertiaModifier { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4327,14 +4327,14 @@ impl InteractionTrackerVector2InertiaModifier { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4356,7 +4356,7 @@ impl InteractionTrackerVector2InertiaModifier { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4370,7 +4370,7 @@ impl InteractionTrackerVector2InertiaModifier { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4402,7 +4402,7 @@ impl InteractionTrackerVector2InertiaModifier { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4412,7 +4412,7 @@ impl InteractionTrackerVector2InertiaModifier { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4556,7 +4556,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4565,14 +4565,14 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4594,7 +4594,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4608,7 +4608,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4640,7 +4640,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4650,14 +4650,14 @@ impl InteractionTrackerVector2InertiaNaturalMotion { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Condition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Condition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4671,7 +4671,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn NaturalMotion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NaturalMotion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4687,7 +4687,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::IInteractionTrackerVector2InertiaNaturalMotionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4851,7 +4851,7 @@ impl VisualInteractionSource { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4860,14 +4860,14 @@ impl VisualInteractionSource { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4889,7 +4889,7 @@ impl VisualInteractionSource { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4903,7 +4903,7 @@ impl VisualInteractionSource { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4935,7 +4935,7 @@ impl VisualInteractionSource { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4945,14 +4945,14 @@ impl VisualInteractionSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPositionXRailsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPositionXRailsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4963,7 +4963,7 @@ impl VisualInteractionSource { pub fn IsPositionYRailsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPositionYRailsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4974,7 +4974,7 @@ impl VisualInteractionSource { pub fn ManipulationRedirectionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationRedirectionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4985,7 +4985,7 @@ impl VisualInteractionSource { pub fn PositionXChainingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionXChainingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4996,7 +4996,7 @@ impl VisualInteractionSource { pub fn PositionXSourceMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionXSourceMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5007,7 +5007,7 @@ impl VisualInteractionSource { pub fn PositionYChainingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionYChainingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5018,7 +5018,7 @@ impl VisualInteractionSource { pub fn PositionYSourceMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionYSourceMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5029,7 +5029,7 @@ impl VisualInteractionSource { pub fn ScaleChainingMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaleChainingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5040,7 +5040,7 @@ impl VisualInteractionSource { pub fn ScaleSourceMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaleSourceMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5051,7 +5051,7 @@ impl VisualInteractionSource { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5069,14 +5069,14 @@ impl VisualInteractionSource { pub fn DeltaPosition(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeltaPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeltaScale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeltaScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5085,7 +5085,7 @@ impl VisualInteractionSource { pub fn Position(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5094,21 +5094,21 @@ impl VisualInteractionSource { pub fn PositionVelocity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ScaleVelocity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScaleVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5165,7 +5165,7 @@ impl VisualInteractionSource { pub fn PointerWheelConfig(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerWheelConfig)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5174,7 +5174,7 @@ impl VisualInteractionSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Visual>>, { Self::IVisualInteractionSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), source.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5184,7 +5184,7 @@ impl VisualInteractionSource { E0: ::std::convert::Into<::windows::core::Error>, { Self::IVisualInteractionSourceStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIVisualElement)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs index 4299412f75..a283a21bcc 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs @@ -583,7 +583,7 @@ impl SceneBoundingBox { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -592,14 +592,14 @@ impl SceneBoundingBox { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -621,7 +621,7 @@ impl SceneBoundingBox { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -635,7 +635,7 @@ impl SceneBoundingBox { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -667,7 +667,7 @@ impl SceneBoundingBox { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -677,7 +677,7 @@ impl SceneBoundingBox { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -686,7 +686,7 @@ impl SceneBoundingBox { pub fn Center(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Center)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -695,7 +695,7 @@ impl SceneBoundingBox { pub fn Extents(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Extents)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -704,7 +704,7 @@ impl SceneBoundingBox { pub fn Max(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Max)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -713,7 +713,7 @@ impl SceneBoundingBox { pub fn Min(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Min)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -722,7 +722,7 @@ impl SceneBoundingBox { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -881,7 +881,7 @@ impl SceneComponent { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -890,14 +890,14 @@ impl SceneComponent { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -919,7 +919,7 @@ impl SceneComponent { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -933,7 +933,7 @@ impl SceneComponent { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -965,7 +965,7 @@ impl SceneComponent { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -975,14 +975,14 @@ impl SceneComponent { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ComponentType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ComponentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1143,7 +1143,7 @@ impl SceneComponentCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1152,14 +1152,14 @@ impl SceneComponentCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1181,7 +1181,7 @@ impl SceneComponentCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1195,7 +1195,7 @@ impl SceneComponentCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1227,7 +1227,7 @@ impl SceneComponentCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1237,7 +1237,7 @@ impl SceneComponentCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1246,7 +1246,7 @@ impl SceneComponentCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1255,7 +1255,7 @@ impl SceneComponentCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1264,7 +1264,7 @@ impl SceneComponentCollection { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1273,7 +1273,7 @@ impl SceneComponentCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1285,7 +1285,7 @@ impl SceneComponentCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1339,7 +1339,7 @@ impl SceneComponentCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1621,7 +1621,7 @@ impl SceneMaterial { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1630,14 +1630,14 @@ impl SceneMaterial { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1659,7 +1659,7 @@ impl SceneMaterial { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1673,7 +1673,7 @@ impl SceneMaterial { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1705,7 +1705,7 @@ impl SceneMaterial { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1715,7 +1715,7 @@ impl SceneMaterial { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1874,7 +1874,7 @@ impl SceneMaterialInput { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1883,14 +1883,14 @@ impl SceneMaterialInput { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1912,7 +1912,7 @@ impl SceneMaterialInput { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1926,7 +1926,7 @@ impl SceneMaterialInput { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1958,7 +1958,7 @@ impl SceneMaterialInput { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1968,7 +1968,7 @@ impl SceneMaterialInput { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2127,7 +2127,7 @@ impl SceneMesh { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2136,14 +2136,14 @@ impl SceneMesh { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2165,7 +2165,7 @@ impl SceneMesh { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2179,7 +2179,7 @@ impl SceneMesh { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2211,7 +2211,7 @@ impl SceneMesh { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2221,14 +2221,14 @@ impl SceneMesh { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Bounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2237,7 +2237,7 @@ impl SceneMesh { pub fn PrimitiveTopology(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimitiveTopology)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2261,7 +2261,7 @@ impl SceneMesh { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::ISceneMeshStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2425,7 +2425,7 @@ impl SceneMeshMaterialAttributeMap { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2434,14 +2434,14 @@ impl SceneMeshMaterialAttributeMap { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2463,7 +2463,7 @@ impl SceneMeshMaterialAttributeMap { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2477,7 +2477,7 @@ impl SceneMeshMaterialAttributeMap { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2509,7 +2509,7 @@ impl SceneMeshMaterialAttributeMap { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2519,7 +2519,7 @@ impl SceneMeshMaterialAttributeMap { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2528,7 +2528,7 @@ impl SceneMeshMaterialAttributeMap { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2540,7 +2540,7 @@ impl SceneMeshMaterialAttributeMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2549,7 +2549,7 @@ impl SceneMeshMaterialAttributeMap { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2561,7 +2561,7 @@ impl SceneMeshMaterialAttributeMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2570,7 +2570,7 @@ impl SceneMeshMaterialAttributeMap { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2582,7 +2582,7 @@ impl SceneMeshMaterialAttributeMap { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2816,7 +2816,7 @@ impl SceneMeshRendererComponent { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2825,14 +2825,14 @@ impl SceneMeshRendererComponent { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2854,7 +2854,7 @@ impl SceneMeshRendererComponent { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2868,7 +2868,7 @@ impl SceneMeshRendererComponent { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2900,7 +2900,7 @@ impl SceneMeshRendererComponent { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2910,21 +2910,21 @@ impl SceneMeshRendererComponent { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ComponentType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ComponentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Material(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Material)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2938,7 +2938,7 @@ impl SceneMeshRendererComponent { pub fn Mesh(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mesh)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2952,7 +2952,7 @@ impl SceneMeshRendererComponent { pub fn UVMappings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UVMappings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2961,7 +2961,7 @@ impl SceneMeshRendererComponent { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::ISceneMeshRendererComponentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3155,7 +3155,7 @@ impl SceneMetallicRoughnessMaterial { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3164,14 +3164,14 @@ impl SceneMetallicRoughnessMaterial { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3193,7 +3193,7 @@ impl SceneMetallicRoughnessMaterial { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3207,7 +3207,7 @@ impl SceneMetallicRoughnessMaterial { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3239,7 +3239,7 @@ impl SceneMetallicRoughnessMaterial { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3249,14 +3249,14 @@ impl SceneMetallicRoughnessMaterial { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BaseColorInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseColorInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3272,7 +3272,7 @@ impl SceneMetallicRoughnessMaterial { pub fn BaseColorFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseColorFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3285,7 +3285,7 @@ impl SceneMetallicRoughnessMaterial { pub fn MetallicFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MetallicFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3296,7 +3296,7 @@ impl SceneMetallicRoughnessMaterial { pub fn MetallicRoughnessInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MetallicRoughnessInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3310,7 +3310,7 @@ impl SceneMetallicRoughnessMaterial { pub fn RoughnessFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoughnessFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3323,14 +3323,14 @@ impl SceneMetallicRoughnessMaterial { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::ISceneMetallicRoughnessMaterialStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AlphaCutoff(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlphaCutoff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3341,7 +3341,7 @@ impl SceneMetallicRoughnessMaterial { pub fn AlphaMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3352,7 +3352,7 @@ impl SceneMetallicRoughnessMaterial { pub fn EmissiveInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmissiveInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3368,7 +3368,7 @@ impl SceneMetallicRoughnessMaterial { pub fn EmissiveFactor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmissiveFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3381,7 +3381,7 @@ impl SceneMetallicRoughnessMaterial { pub fn IsDoubleSided(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleSided)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3392,7 +3392,7 @@ impl SceneMetallicRoughnessMaterial { pub fn NormalInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3406,7 +3406,7 @@ impl SceneMetallicRoughnessMaterial { pub fn NormalScale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3417,7 +3417,7 @@ impl SceneMetallicRoughnessMaterial { pub fn OcclusionInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OcclusionInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3431,7 +3431,7 @@ impl SceneMetallicRoughnessMaterial { pub fn OcclusionStrength(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OcclusionStrength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3629,7 +3629,7 @@ impl SceneModelTransform { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3638,14 +3638,14 @@ impl SceneModelTransform { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3667,7 +3667,7 @@ impl SceneModelTransform { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3681,7 +3681,7 @@ impl SceneModelTransform { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3713,7 +3713,7 @@ impl SceneModelTransform { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3723,7 +3723,7 @@ impl SceneModelTransform { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3732,7 +3732,7 @@ impl SceneModelTransform { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3745,7 +3745,7 @@ impl SceneModelTransform { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3756,7 +3756,7 @@ impl SceneModelTransform { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3769,7 +3769,7 @@ impl SceneModelTransform { pub fn RotationAxis(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAxis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3784,7 +3784,7 @@ impl SceneModelTransform { pub fn Scale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3799,7 +3799,7 @@ impl SceneModelTransform { pub fn Translation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Translation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3964,7 +3964,7 @@ impl SceneNode { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3973,14 +3973,14 @@ impl SceneNode { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4002,7 +4002,7 @@ impl SceneNode { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4016,7 +4016,7 @@ impl SceneNode { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4048,7 +4048,7 @@ impl SceneNode { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4058,7 +4058,7 @@ impl SceneNode { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4067,7 +4067,7 @@ impl SceneNode { pub fn Children(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4076,28 +4076,28 @@ impl SceneNode { pub fn Components(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Components)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Transform(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Transform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FindFirstComponentOfType(&self, value: SceneComponentType) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindFirstComponentOfType)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4106,7 +4106,7 @@ impl SceneNode { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::ISceneNodeStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4272,7 +4272,7 @@ impl SceneNodeCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4281,14 +4281,14 @@ impl SceneNodeCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4310,7 +4310,7 @@ impl SceneNodeCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4324,7 +4324,7 @@ impl SceneNodeCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4356,7 +4356,7 @@ impl SceneNodeCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4366,7 +4366,7 @@ impl SceneNodeCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4375,7 +4375,7 @@ impl SceneNodeCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4384,7 +4384,7 @@ impl SceneNodeCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4393,7 +4393,7 @@ impl SceneNodeCollection { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4402,7 +4402,7 @@ impl SceneNodeCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4414,7 +4414,7 @@ impl SceneNodeCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4468,7 +4468,7 @@ impl SceneNodeCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4717,7 +4717,7 @@ impl SceneObject { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4726,14 +4726,14 @@ impl SceneObject { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4755,7 +4755,7 @@ impl SceneObject { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4769,7 +4769,7 @@ impl SceneObject { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4801,7 +4801,7 @@ impl SceneObject { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4811,7 +4811,7 @@ impl SceneObject { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4955,7 +4955,7 @@ impl ScenePbrMaterial { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4964,14 +4964,14 @@ impl ScenePbrMaterial { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4993,7 +4993,7 @@ impl ScenePbrMaterial { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5007,7 +5007,7 @@ impl ScenePbrMaterial { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5039,7 +5039,7 @@ impl ScenePbrMaterial { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5049,14 +5049,14 @@ impl ScenePbrMaterial { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AlphaCutoff(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlphaCutoff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5067,7 +5067,7 @@ impl ScenePbrMaterial { pub fn AlphaMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5078,7 +5078,7 @@ impl ScenePbrMaterial { pub fn EmissiveInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmissiveInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5094,7 +5094,7 @@ impl ScenePbrMaterial { pub fn EmissiveFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EmissiveFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5107,7 +5107,7 @@ impl ScenePbrMaterial { pub fn IsDoubleSided(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDoubleSided)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5118,7 +5118,7 @@ impl ScenePbrMaterial { pub fn NormalInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5132,7 +5132,7 @@ impl ScenePbrMaterial { pub fn NormalScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5143,7 +5143,7 @@ impl ScenePbrMaterial { pub fn OcclusionInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OcclusionInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5157,7 +5157,7 @@ impl ScenePbrMaterial { pub fn OcclusionStrength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OcclusionStrength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5335,7 +5335,7 @@ impl SceneRendererComponent { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5344,14 +5344,14 @@ impl SceneRendererComponent { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5373,7 +5373,7 @@ impl SceneRendererComponent { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5387,7 +5387,7 @@ impl SceneRendererComponent { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5419,7 +5419,7 @@ impl SceneRendererComponent { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5429,14 +5429,14 @@ impl SceneRendererComponent { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ComponentType(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ComponentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5610,7 +5610,7 @@ impl SceneSurfaceMaterialInput { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5619,14 +5619,14 @@ impl SceneSurfaceMaterialInput { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5648,7 +5648,7 @@ impl SceneSurfaceMaterialInput { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5662,7 +5662,7 @@ impl SceneSurfaceMaterialInput { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5694,7 +5694,7 @@ impl SceneSurfaceMaterialInput { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5704,14 +5704,14 @@ impl SceneSurfaceMaterialInput { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapInterpolationMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapInterpolationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5722,7 +5722,7 @@ impl SceneSurfaceMaterialInput { pub fn Surface(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Surface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5737,7 +5737,7 @@ impl SceneSurfaceMaterialInput { pub fn WrappingUMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WrappingUMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5748,7 +5748,7 @@ impl SceneSurfaceMaterialInput { pub fn WrappingVMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WrappingVMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5761,7 +5761,7 @@ impl SceneSurfaceMaterialInput { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::ISceneSurfaceMaterialInputStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5940,7 +5940,7 @@ impl SceneVisual { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5949,14 +5949,14 @@ impl SceneVisual { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5978,7 +5978,7 @@ impl SceneVisual { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5992,7 +5992,7 @@ impl SceneVisual { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6024,7 +6024,7 @@ impl SceneVisual { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6034,21 +6034,21 @@ impl SceneVisual { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Children(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Root(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Root)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6064,7 +6064,7 @@ impl SceneVisual { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Compositor>>, { Self::ISceneVisualStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6073,7 +6073,7 @@ impl SceneVisual { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6086,7 +6086,7 @@ impl SceneVisual { pub fn BackfaceVisibility(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackfaceVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6097,7 +6097,7 @@ impl SceneVisual { pub fn BorderMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BorderMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6110,7 +6110,7 @@ impl SceneVisual { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6123,7 +6123,7 @@ impl SceneVisual { pub fn Clip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6137,7 +6137,7 @@ impl SceneVisual { pub fn CompositeMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositeMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6148,7 +6148,7 @@ impl SceneVisual { pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6161,7 +6161,7 @@ impl SceneVisual { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6174,7 +6174,7 @@ impl SceneVisual { pub fn Opacity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6187,7 +6187,7 @@ impl SceneVisual { pub fn Orientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6200,14 +6200,14 @@ impl SceneVisual { pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6218,7 +6218,7 @@ impl SceneVisual { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6231,7 +6231,7 @@ impl SceneVisual { pub fn RotationAxis(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAxis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6246,7 +6246,7 @@ impl SceneVisual { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6261,7 +6261,7 @@ impl SceneVisual { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6276,7 +6276,7 @@ impl SceneVisual { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6289,7 +6289,7 @@ impl SceneVisual { pub fn ParentForTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentForTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6305,7 +6305,7 @@ impl SceneVisual { pub fn RelativeOffsetAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeOffsetAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6320,7 +6320,7 @@ impl SceneVisual { pub fn RelativeSizeAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeSizeAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6333,7 +6333,7 @@ impl SceneVisual { pub fn IsHitTestVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHitTestVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6344,7 +6344,7 @@ impl SceneVisual { pub fn IsPixelSnappingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPixelSnappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index ccd650d957..4c96aa869b 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -17,7 +17,7 @@ impl AmbientLight { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28,7 +28,7 @@ impl AmbientLight { pub fn Intensity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Intensity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -53,21 +53,21 @@ impl AmbientLight { pub fn Targets(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Targets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExclusionsFromTargets(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExclusionsFromTargets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -78,7 +78,7 @@ impl AmbientLight { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -87,14 +87,14 @@ impl AmbientLight { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -116,7 +116,7 @@ impl AmbientLight { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -130,7 +130,7 @@ impl AmbientLight { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -162,7 +162,7 @@ impl AmbientLight { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -172,7 +172,7 @@ impl AmbientLight { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -317,7 +317,7 @@ impl AnimationController { pub fn PlaybackRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -328,7 +328,7 @@ impl AnimationController { pub fn Progress(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -339,7 +339,7 @@ impl AnimationController { pub fn ProgressBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProgressBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -357,13 +357,13 @@ impl AnimationController { } pub fn MaxPlaybackRate() -> ::windows::core::Result { Self::IAnimationControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxPlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MinPlaybackRate() -> ::windows::core::Result { Self::IAnimationControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinPlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -384,7 +384,7 @@ impl AnimationController { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -393,14 +393,14 @@ impl AnimationController { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -422,7 +422,7 @@ impl AnimationController { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -436,7 +436,7 @@ impl AnimationController { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -468,7 +468,7 @@ impl AnimationController { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -478,7 +478,7 @@ impl AnimationController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -795,7 +795,7 @@ impl AnimationPropertyInfo { pub fn AccessMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccessMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -806,14 +806,14 @@ impl AnimationPropertyInfo { pub fn GetResolvedCompositionObject(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResolvedCompositionObject)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetResolvedCompositionObjectProperty(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetResolvedCompositionObjectProperty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -826,7 +826,7 @@ impl AnimationPropertyInfo { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -835,14 +835,14 @@ impl AnimationPropertyInfo { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -864,7 +864,7 @@ impl AnimationPropertyInfo { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -878,7 +878,7 @@ impl AnimationPropertyInfo { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -910,7 +910,7 @@ impl AnimationPropertyInfo { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -920,7 +920,7 @@ impl AnimationPropertyInfo { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1093,14 +1093,14 @@ impl BackEasingFunction { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Amplitude(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Amplitude)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1113,7 +1113,7 @@ impl BackEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1122,14 +1122,14 @@ impl BackEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1151,7 +1151,7 @@ impl BackEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1165,7 +1165,7 @@ impl BackEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1197,7 +1197,7 @@ impl BackEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1207,7 +1207,7 @@ impl BackEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1464,7 +1464,7 @@ impl BooleanKeyFrameAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1480,7 +1480,7 @@ impl BooleanKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1496,7 +1496,7 @@ impl BooleanKeyFrameAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1505,14 +1505,14 @@ impl BooleanKeyFrameAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1534,7 +1534,7 @@ impl BooleanKeyFrameAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1548,7 +1548,7 @@ impl BooleanKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1580,7 +1580,7 @@ impl BooleanKeyFrameAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1590,7 +1590,7 @@ impl BooleanKeyFrameAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1599,7 +1599,7 @@ impl BooleanKeyFrameAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1614,7 +1614,7 @@ impl BooleanKeyFrameAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1627,7 +1627,7 @@ impl BooleanKeyFrameAnimation { pub fn IterationBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1638,7 +1638,7 @@ impl BooleanKeyFrameAnimation { pub fn IterationCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1649,14 +1649,14 @@ impl BooleanKeyFrameAnimation { pub fn KeyFrameCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1682,7 +1682,7 @@ impl BooleanKeyFrameAnimation { pub fn Direction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1693,7 +1693,7 @@ impl BooleanKeyFrameAnimation { pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1884,21 +1884,21 @@ impl BounceEasingFunction { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Bounces(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bounces)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Bounciness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bounciness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1911,7 +1911,7 @@ impl BounceEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1920,14 +1920,14 @@ impl BounceEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1949,7 +1949,7 @@ impl BounceEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1963,7 +1963,7 @@ impl BounceEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1995,7 +1995,7 @@ impl BounceEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2005,7 +2005,7 @@ impl BounceEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2158,7 +2158,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Acceleration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Acceleration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2169,7 +2169,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Restitution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Restitution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2280,7 +2280,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2296,7 +2296,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2312,7 +2312,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2321,14 +2321,14 @@ impl BounceScalarNaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2350,7 +2350,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2364,7 +2364,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2396,7 +2396,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2406,14 +2406,14 @@ impl BounceScalarNaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2426,7 +2426,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2439,7 +2439,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2452,7 +2452,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2471,7 +2471,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2488,7 +2488,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn InitialVelocity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2694,7 +2694,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Acceleration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Acceleration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2705,7 +2705,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Restitution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Restitution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2816,7 +2816,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2832,7 +2832,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2848,7 +2848,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2857,14 +2857,14 @@ impl BounceVector2NaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2886,7 +2886,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2900,7 +2900,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2932,7 +2932,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2942,14 +2942,14 @@ impl BounceVector2NaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2962,7 +2962,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2975,7 +2975,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2988,7 +2988,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3007,7 +3007,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3026,7 +3026,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn InitialVelocity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3234,7 +3234,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Acceleration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Acceleration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3245,7 +3245,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Restitution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Restitution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3356,7 +3356,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3372,7 +3372,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3388,7 +3388,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3397,14 +3397,14 @@ impl BounceVector3NaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3426,7 +3426,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3440,7 +3440,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3472,7 +3472,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3482,14 +3482,14 @@ impl BounceVector3NaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3502,7 +3502,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3515,7 +3515,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3528,7 +3528,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3547,7 +3547,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3566,7 +3566,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn InitialVelocity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3774,7 +3774,7 @@ impl CircleEasingFunction { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3787,7 +3787,7 @@ impl CircleEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3796,14 +3796,14 @@ impl CircleEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3825,7 +3825,7 @@ impl CircleEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3839,7 +3839,7 @@ impl CircleEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3871,7 +3871,7 @@ impl CircleEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3881,7 +3881,7 @@ impl CircleEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4040,7 +4040,7 @@ impl ColorKeyFrameAnimation { pub fn InterpolationColorSpace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterpolationColorSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4156,7 +4156,7 @@ impl ColorKeyFrameAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4172,7 +4172,7 @@ impl ColorKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4188,7 +4188,7 @@ impl ColorKeyFrameAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4197,14 +4197,14 @@ impl ColorKeyFrameAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4226,7 +4226,7 @@ impl ColorKeyFrameAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4240,7 +4240,7 @@ impl ColorKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4272,7 +4272,7 @@ impl ColorKeyFrameAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4282,7 +4282,7 @@ impl ColorKeyFrameAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4291,7 +4291,7 @@ impl ColorKeyFrameAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4306,7 +4306,7 @@ impl ColorKeyFrameAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4319,7 +4319,7 @@ impl ColorKeyFrameAnimation { pub fn IterationBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4330,7 +4330,7 @@ impl ColorKeyFrameAnimation { pub fn IterationCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4341,14 +4341,14 @@ impl ColorKeyFrameAnimation { pub fn KeyFrameCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4374,7 +4374,7 @@ impl ColorKeyFrameAnimation { pub fn Direction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4385,7 +4385,7 @@ impl ColorKeyFrameAnimation { pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4676,7 +4676,7 @@ impl CompositionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4692,7 +4692,7 @@ impl CompositionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4708,7 +4708,7 @@ impl CompositionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4717,14 +4717,14 @@ impl CompositionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4746,7 +4746,7 @@ impl CompositionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4760,7 +4760,7 @@ impl CompositionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4792,7 +4792,7 @@ impl CompositionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4802,7 +4802,7 @@ impl CompositionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4965,7 +4965,7 @@ impl CompositionAnimationGroup { pub fn Count(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Count)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4990,7 +4990,7 @@ impl CompositionAnimationGroup { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4999,14 +4999,14 @@ impl CompositionAnimationGroup { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5028,7 +5028,7 @@ impl CompositionAnimationGroup { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5042,7 +5042,7 @@ impl CompositionAnimationGroup { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5074,7 +5074,7 @@ impl CompositionAnimationGroup { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5084,7 +5084,7 @@ impl CompositionAnimationGroup { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5093,7 +5093,7 @@ impl CompositionAnimationGroup { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5294,7 +5294,7 @@ impl CompositionBackdropBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5303,14 +5303,14 @@ impl CompositionBackdropBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5332,7 +5332,7 @@ impl CompositionBackdropBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5346,7 +5346,7 @@ impl CompositionBackdropBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5378,7 +5378,7 @@ impl CompositionBackdropBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5388,7 +5388,7 @@ impl CompositionBackdropBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5582,7 +5582,7 @@ impl CompositionBatchCompletedEventArgs { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5591,14 +5591,14 @@ impl CompositionBatchCompletedEventArgs { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5620,7 +5620,7 @@ impl CompositionBatchCompletedEventArgs { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5634,7 +5634,7 @@ impl CompositionBatchCompletedEventArgs { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5666,7 +5666,7 @@ impl CompositionBatchCompletedEventArgs { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5676,7 +5676,7 @@ impl CompositionBatchCompletedEventArgs { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5962,7 +5962,7 @@ impl CompositionBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5971,14 +5971,14 @@ impl CompositionBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6000,7 +6000,7 @@ impl CompositionBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6014,7 +6014,7 @@ impl CompositionBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6046,7 +6046,7 @@ impl CompositionBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6056,7 +6056,7 @@ impl CompositionBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6186,14 +6186,14 @@ impl CompositionCapabilities { pub fn AreEffectsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreEffectsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AreEffectsFast(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreEffectsFast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6205,7 +6205,7 @@ impl CompositionCapabilities { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6217,7 +6217,7 @@ impl CompositionCapabilities { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ICompositionCapabilitiesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6312,7 +6312,7 @@ impl CompositionClip { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6327,7 +6327,7 @@ impl CompositionClip { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6342,7 +6342,7 @@ impl CompositionClip { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6355,7 +6355,7 @@ impl CompositionClip { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6366,7 +6366,7 @@ impl CompositionClip { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6379,7 +6379,7 @@ impl CompositionClip { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6394,7 +6394,7 @@ impl CompositionClip { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6407,7 +6407,7 @@ impl CompositionClip { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6416,14 +6416,14 @@ impl CompositionClip { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6445,7 +6445,7 @@ impl CompositionClip { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6459,7 +6459,7 @@ impl CompositionClip { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6491,7 +6491,7 @@ impl CompositionClip { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6501,7 +6501,7 @@ impl CompositionClip { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6645,7 +6645,7 @@ impl CompositionColorBrush { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6656,7 +6656,7 @@ impl CompositionColorBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6665,14 +6665,14 @@ impl CompositionColorBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6694,7 +6694,7 @@ impl CompositionColorBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6708,7 +6708,7 @@ impl CompositionColorBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6740,7 +6740,7 @@ impl CompositionColorBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6750,7 +6750,7 @@ impl CompositionColorBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6909,7 +6909,7 @@ impl CompositionColorGradientStop { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6920,7 +6920,7 @@ impl CompositionColorGradientStop { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6931,7 +6931,7 @@ impl CompositionColorGradientStop { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6940,14 +6940,14 @@ impl CompositionColorGradientStop { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6969,7 +6969,7 @@ impl CompositionColorGradientStop { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6983,7 +6983,7 @@ impl CompositionColorGradientStop { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7015,7 +7015,7 @@ impl CompositionColorGradientStop { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7025,7 +7025,7 @@ impl CompositionColorGradientStop { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7157,7 +7157,7 @@ impl CompositionColorGradientStopCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7166,7 +7166,7 @@ impl CompositionColorGradientStopCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7175,7 +7175,7 @@ impl CompositionColorGradientStopCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7184,7 +7184,7 @@ impl CompositionColorGradientStopCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7196,7 +7196,7 @@ impl CompositionColorGradientStopCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7250,7 +7250,7 @@ impl CompositionColorGradientStopCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7441,14 +7441,14 @@ impl CompositionCommitBatch { pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7460,7 +7460,7 @@ impl CompositionCommitBatch { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7473,7 +7473,7 @@ impl CompositionCommitBatch { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7482,14 +7482,14 @@ impl CompositionCommitBatch { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7511,7 +7511,7 @@ impl CompositionCommitBatch { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7525,7 +7525,7 @@ impl CompositionCommitBatch { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7557,7 +7557,7 @@ impl CompositionCommitBatch { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7567,7 +7567,7 @@ impl CompositionCommitBatch { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7749,14 +7749,14 @@ impl CompositionContainerShape { pub fn Shapes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shapes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7765,14 +7765,14 @@ impl CompositionContainerShape { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7794,7 +7794,7 @@ impl CompositionContainerShape { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7808,7 +7808,7 @@ impl CompositionContainerShape { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7840,7 +7840,7 @@ impl CompositionContainerShape { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7850,7 +7850,7 @@ impl CompositionContainerShape { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7859,7 +7859,7 @@ impl CompositionContainerShape { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7874,7 +7874,7 @@ impl CompositionContainerShape { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7887,7 +7887,7 @@ impl CompositionContainerShape { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7898,7 +7898,7 @@ impl CompositionContainerShape { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7911,7 +7911,7 @@ impl CompositionContainerShape { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7926,7 +7926,7 @@ impl CompositionContainerShape { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8093,7 +8093,7 @@ impl CompositionDrawingSurface { pub fn AlphaMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8102,7 +8102,7 @@ impl CompositionDrawingSurface { pub fn PixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8111,7 +8111,7 @@ impl CompositionDrawingSurface { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8120,7 +8120,7 @@ impl CompositionDrawingSurface { pub fn SizeInt32(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8157,7 +8157,7 @@ impl CompositionDrawingSurface { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8166,14 +8166,14 @@ impl CompositionDrawingSurface { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8195,7 +8195,7 @@ impl CompositionDrawingSurface { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8209,7 +8209,7 @@ impl CompositionDrawingSurface { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8241,7 +8241,7 @@ impl CompositionDrawingSurface { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8251,7 +8251,7 @@ impl CompositionDrawingSurface { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8452,7 +8452,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCubicBezierEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), controlpoint1, controlpoint2, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8461,7 +8461,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLinearEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8470,7 +8470,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStepEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8479,7 +8479,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStepEasingFunctionWithStepCount)(::windows::core::Interface::as_raw(this), owner.into().abi(), stepcount, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8488,7 +8488,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBackEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), mode, amplitude, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8497,7 +8497,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBounceEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), mode, bounces, bounciness, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8506,7 +8506,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCircleEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), mode, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8515,7 +8515,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateElasticEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), mode, oscillations, springiness, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8524,7 +8524,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateExponentialEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), mode, exponent, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8533,7 +8533,7 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePowerEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), mode, power, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -8542,14 +8542,14 @@ impl CompositionEasingFunction { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSineEasingFunction)(::windows::core::Interface::as_raw(this), owner.into().abi(), mode, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8558,14 +8558,14 @@ impl CompositionEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8587,7 +8587,7 @@ impl CompositionEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8601,7 +8601,7 @@ impl CompositionEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8633,7 +8633,7 @@ impl CompositionEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8643,7 +8643,7 @@ impl CompositionEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8830,7 +8830,7 @@ impl CompositionEffectBrush { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSourceParameter)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8845,7 +8845,7 @@ impl CompositionEffectBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8854,14 +8854,14 @@ impl CompositionEffectBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8883,7 +8883,7 @@ impl CompositionEffectBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8897,7 +8897,7 @@ impl CompositionEffectBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8929,7 +8929,7 @@ impl CompositionEffectBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8939,7 +8939,7 @@ impl CompositionEffectBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9098,28 +9098,28 @@ impl CompositionEffectFactory { pub fn CreateBrush(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn LoadStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9128,14 +9128,14 @@ impl CompositionEffectFactory { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9157,7 +9157,7 @@ impl CompositionEffectFactory { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9171,7 +9171,7 @@ impl CompositionEffectFactory { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9203,7 +9203,7 @@ impl CompositionEffectFactory { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9213,7 +9213,7 @@ impl CompositionEffectFactory { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9379,7 +9379,7 @@ impl CompositionEffectSourceParameter { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9388,7 +9388,7 @@ impl CompositionEffectSourceParameter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICompositionEffectSourceParameterFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -9505,7 +9505,7 @@ impl CompositionEllipseGeometry { pub fn Center(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Center)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9520,7 +9520,7 @@ impl CompositionEllipseGeometry { pub fn Radius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Radius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9533,7 +9533,7 @@ impl CompositionEllipseGeometry { pub fn TrimEnd(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9544,7 +9544,7 @@ impl CompositionEllipseGeometry { pub fn TrimOffset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9555,7 +9555,7 @@ impl CompositionEllipseGeometry { pub fn TrimStart(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9566,7 +9566,7 @@ impl CompositionEllipseGeometry { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9575,14 +9575,14 @@ impl CompositionEllipseGeometry { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9604,7 +9604,7 @@ impl CompositionEllipseGeometry { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9618,7 +9618,7 @@ impl CompositionEllipseGeometry { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9650,7 +9650,7 @@ impl CompositionEllipseGeometry { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9660,7 +9660,7 @@ impl CompositionEllipseGeometry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9821,7 +9821,7 @@ impl CompositionGeometricClip { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9836,7 +9836,7 @@ impl CompositionGeometricClip { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9851,7 +9851,7 @@ impl CompositionGeometricClip { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9864,7 +9864,7 @@ impl CompositionGeometricClip { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9875,7 +9875,7 @@ impl CompositionGeometricClip { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9888,7 +9888,7 @@ impl CompositionGeometricClip { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9903,7 +9903,7 @@ impl CompositionGeometricClip { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9916,7 +9916,7 @@ impl CompositionGeometricClip { pub fn Geometry(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Geometry)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9930,7 +9930,7 @@ impl CompositionGeometricClip { pub fn ViewBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9944,7 +9944,7 @@ impl CompositionGeometricClip { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9953,14 +9953,14 @@ impl CompositionGeometricClip { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9982,7 +9982,7 @@ impl CompositionGeometricClip { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9996,7 +9996,7 @@ impl CompositionGeometricClip { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10028,7 +10028,7 @@ impl CompositionGeometricClip { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10038,7 +10038,7 @@ impl CompositionGeometricClip { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10197,7 +10197,7 @@ impl CompositionGeometry { pub fn TrimEnd(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10208,7 +10208,7 @@ impl CompositionGeometry { pub fn TrimOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10219,7 +10219,7 @@ impl CompositionGeometry { pub fn TrimStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10230,7 +10230,7 @@ impl CompositionGeometry { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10239,14 +10239,14 @@ impl CompositionGeometry { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10268,7 +10268,7 @@ impl CompositionGeometry { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10282,7 +10282,7 @@ impl CompositionGeometry { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10314,7 +10314,7 @@ impl CompositionGeometry { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10324,7 +10324,7 @@ impl CompositionGeometry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10505,7 +10505,7 @@ impl CompositionGradientBrush { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10520,7 +10520,7 @@ impl CompositionGradientBrush { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10533,14 +10533,14 @@ impl CompositionGradientBrush { pub fn ColorStops(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorStops)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10551,7 +10551,7 @@ impl CompositionGradientBrush { pub fn InterpolationSpace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterpolationSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10564,7 +10564,7 @@ impl CompositionGradientBrush { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10577,7 +10577,7 @@ impl CompositionGradientBrush { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10588,7 +10588,7 @@ impl CompositionGradientBrush { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10601,7 +10601,7 @@ impl CompositionGradientBrush { pub fn Scale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10616,7 +10616,7 @@ impl CompositionGradientBrush { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10629,7 +10629,7 @@ impl CompositionGradientBrush { pub fn MappingMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MappingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10640,7 +10640,7 @@ impl CompositionGradientBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10649,14 +10649,14 @@ impl CompositionGradientBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10678,7 +10678,7 @@ impl CompositionGradientBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10692,7 +10692,7 @@ impl CompositionGradientBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10724,7 +10724,7 @@ impl CompositionGradientBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10734,7 +10734,7 @@ impl CompositionGradientBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10930,7 +10930,7 @@ impl CompositionGraphicsDevice { pub fn CreateDrawingSurface(&self, sizepixels: super::super::Foundation::Size, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDrawingSurface)(::windows::core::Interface::as_raw(this), sizepixels, pixelformat, alphamode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -10942,7 +10942,7 @@ impl CompositionGraphicsDevice { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RenderingDeviceReplaced)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10957,7 +10957,7 @@ impl CompositionGraphicsDevice { pub fn CreateDrawingSurface2(&self, sizepixels: super::super::Graphics::SizeInt32, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDrawingSurface2)(::windows::core::Interface::as_raw(this), sizepixels, pixelformat, alphamode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -10966,7 +10966,7 @@ impl CompositionGraphicsDevice { pub fn CreateVirtualDrawingSurface(&self, sizepixels: super::super::Graphics::SizeInt32, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVirtualDrawingSurface)(::windows::core::Interface::as_raw(this), sizepixels, pixelformat, alphamode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -10975,7 +10975,7 @@ impl CompositionGraphicsDevice { pub fn CreateMipmapSurface(&self, sizepixels: super::super::Graphics::SizeInt32, pixelformat: super::super::Graphics::DirectX::DirectXPixelFormat, alphamode: super::super::Graphics::DirectX::DirectXAlphaMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMipmapSurface)(::windows::core::Interface::as_raw(this), sizepixels, pixelformat, alphamode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -10991,14 +10991,14 @@ impl CompositionGraphicsDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureAsync)(::windows::core::Interface::as_raw(this), capturevisual.into().abi(), size, pixelformat, alphamode, sdrboost, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11007,14 +11007,14 @@ impl CompositionGraphicsDevice { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11036,7 +11036,7 @@ impl CompositionGraphicsDevice { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11050,7 +11050,7 @@ impl CompositionGraphicsDevice { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11082,7 +11082,7 @@ impl CompositionGraphicsDevice { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11092,7 +11092,7 @@ impl CompositionGraphicsDevice { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11236,21 +11236,21 @@ impl CompositionLight { pub fn Targets(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Targets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExclusionsFromTargets(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExclusionsFromTargets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11261,7 +11261,7 @@ impl CompositionLight { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11270,14 +11270,14 @@ impl CompositionLight { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11299,7 +11299,7 @@ impl CompositionLight { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11313,7 +11313,7 @@ impl CompositionLight { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11345,7 +11345,7 @@ impl CompositionLight { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11355,7 +11355,7 @@ impl CompositionLight { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11499,7 +11499,7 @@ impl CompositionLineGeometry { pub fn TrimEnd(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11510,7 +11510,7 @@ impl CompositionLineGeometry { pub fn TrimOffset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11521,7 +11521,7 @@ impl CompositionLineGeometry { pub fn TrimStart(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11534,7 +11534,7 @@ impl CompositionLineGeometry { pub fn Start(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Start)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11549,7 +11549,7 @@ impl CompositionLineGeometry { pub fn End(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).End)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11562,7 +11562,7 @@ impl CompositionLineGeometry { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11571,14 +11571,14 @@ impl CompositionLineGeometry { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11600,7 +11600,7 @@ impl CompositionLineGeometry { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11614,7 +11614,7 @@ impl CompositionLineGeometry { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11646,7 +11646,7 @@ impl CompositionLineGeometry { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11656,7 +11656,7 @@ impl CompositionLineGeometry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11817,7 +11817,7 @@ impl CompositionLinearGradientBrush { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11832,7 +11832,7 @@ impl CompositionLinearGradientBrush { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11845,14 +11845,14 @@ impl CompositionLinearGradientBrush { pub fn ColorStops(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorStops)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11863,7 +11863,7 @@ impl CompositionLinearGradientBrush { pub fn InterpolationSpace(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterpolationSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11876,7 +11876,7 @@ impl CompositionLinearGradientBrush { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11889,7 +11889,7 @@ impl CompositionLinearGradientBrush { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11900,7 +11900,7 @@ impl CompositionLinearGradientBrush { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11913,7 +11913,7 @@ impl CompositionLinearGradientBrush { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11928,7 +11928,7 @@ impl CompositionLinearGradientBrush { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11941,7 +11941,7 @@ impl CompositionLinearGradientBrush { pub fn MappingMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MappingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11954,7 +11954,7 @@ impl CompositionLinearGradientBrush { pub fn EndPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11969,7 +11969,7 @@ impl CompositionLinearGradientBrush { pub fn StartPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11982,7 +11982,7 @@ impl CompositionLinearGradientBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11991,14 +11991,14 @@ impl CompositionLinearGradientBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12020,7 +12020,7 @@ impl CompositionLinearGradientBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12034,7 +12034,7 @@ impl CompositionLinearGradientBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12066,7 +12066,7 @@ impl CompositionLinearGradientBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12076,7 +12076,7 @@ impl CompositionLinearGradientBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12284,7 +12284,7 @@ impl CompositionMaskBrush { pub fn Mask(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mask)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12298,7 +12298,7 @@ impl CompositionMaskBrush { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12312,7 +12312,7 @@ impl CompositionMaskBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12321,14 +12321,14 @@ impl CompositionMaskBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12350,7 +12350,7 @@ impl CompositionMaskBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12364,7 +12364,7 @@ impl CompositionMaskBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12396,7 +12396,7 @@ impl CompositionMaskBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12406,7 +12406,7 @@ impl CompositionMaskBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12565,7 +12565,7 @@ impl CompositionMipmapSurface { pub fn LevelCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LevelCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12574,7 +12574,7 @@ impl CompositionMipmapSurface { pub fn AlphaMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12583,7 +12583,7 @@ impl CompositionMipmapSurface { pub fn PixelFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12592,21 +12592,21 @@ impl CompositionMipmapSurface { pub fn SizeInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDrawingSurfaceForLevel(&self, level: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDrawingSurfaceForLevel)(::windows::core::Interface::as_raw(this), level, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12615,14 +12615,14 @@ impl CompositionMipmapSurface { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12644,7 +12644,7 @@ impl CompositionMipmapSurface { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12658,7 +12658,7 @@ impl CompositionMipmapSurface { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12690,7 +12690,7 @@ impl CompositionMipmapSurface { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12700,7 +12700,7 @@ impl CompositionMipmapSurface { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12863,7 +12863,7 @@ impl CompositionNineGridBrush { pub fn BottomInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BottomInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12874,7 +12874,7 @@ impl CompositionNineGridBrush { pub fn BottomInsetScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BottomInsetScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12885,7 +12885,7 @@ impl CompositionNineGridBrush { pub fn IsCenterHollow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCenterHollow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12896,7 +12896,7 @@ impl CompositionNineGridBrush { pub fn LeftInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeftInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12907,7 +12907,7 @@ impl CompositionNineGridBrush { pub fn LeftInsetScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeftInsetScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12918,7 +12918,7 @@ impl CompositionNineGridBrush { pub fn RightInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12929,7 +12929,7 @@ impl CompositionNineGridBrush { pub fn RightInsetScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightInsetScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12940,7 +12940,7 @@ impl CompositionNineGridBrush { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12954,7 +12954,7 @@ impl CompositionNineGridBrush { pub fn TopInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TopInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12965,7 +12965,7 @@ impl CompositionNineGridBrush { pub fn TopInsetScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TopInsetScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12992,7 +12992,7 @@ impl CompositionNineGridBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13001,14 +13001,14 @@ impl CompositionNineGridBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13030,7 +13030,7 @@ impl CompositionNineGridBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13044,7 +13044,7 @@ impl CompositionNineGridBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13076,7 +13076,7 @@ impl CompositionNineGridBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13086,7 +13086,7 @@ impl CompositionNineGridBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13245,7 +13245,7 @@ impl CompositionObject { pub fn Compositor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13254,14 +13254,14 @@ impl CompositionObject { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13283,7 +13283,7 @@ impl CompositionObject { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13297,7 +13297,7 @@ impl CompositionObject { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13329,7 +13329,7 @@ impl CompositionObject { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13339,7 +13339,7 @@ impl CompositionObject { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13482,7 +13482,7 @@ impl CompositionPath { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICompositionPathFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), source.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -13597,7 +13597,7 @@ impl CompositionPathGeometry { pub fn TrimEnd(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13608,7 +13608,7 @@ impl CompositionPathGeometry { pub fn TrimOffset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13619,7 +13619,7 @@ impl CompositionPathGeometry { pub fn TrimStart(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13630,7 +13630,7 @@ impl CompositionPathGeometry { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13639,14 +13639,14 @@ impl CompositionPathGeometry { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13668,7 +13668,7 @@ impl CompositionPathGeometry { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13682,7 +13682,7 @@ impl CompositionPathGeometry { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13714,7 +13714,7 @@ impl CompositionPathGeometry { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13724,14 +13724,14 @@ impl CompositionPathGeometry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Path(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13897,7 +13897,7 @@ impl CompositionProjectedShadow { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13906,14 +13906,14 @@ impl CompositionProjectedShadow { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13935,7 +13935,7 @@ impl CompositionProjectedShadow { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13949,7 +13949,7 @@ impl CompositionProjectedShadow { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13981,7 +13981,7 @@ impl CompositionProjectedShadow { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13991,14 +13991,14 @@ impl CompositionProjectedShadow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BlurRadiusMultiplier(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlurRadiusMultiplier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14009,14 +14009,14 @@ impl CompositionProjectedShadow { pub fn Casters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Casters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LightSource(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14030,7 +14030,7 @@ impl CompositionProjectedShadow { pub fn MaxBlurRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxBlurRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14041,7 +14041,7 @@ impl CompositionProjectedShadow { pub fn MinBlurRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinBlurRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14052,7 +14052,7 @@ impl CompositionProjectedShadow { pub fn Receivers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Receivers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14196,7 +14196,7 @@ impl CompositionProjectedShadowCaster { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14205,14 +14205,14 @@ impl CompositionProjectedShadowCaster { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14234,7 +14234,7 @@ impl CompositionProjectedShadowCaster { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -14248,7 +14248,7 @@ impl CompositionProjectedShadowCaster { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14280,7 +14280,7 @@ impl CompositionProjectedShadowCaster { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14290,14 +14290,14 @@ impl CompositionProjectedShadowCaster { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Brush(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Brush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14311,7 +14311,7 @@ impl CompositionProjectedShadowCaster { pub fn CastingVisual(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CastingVisual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14462,7 +14462,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14471,14 +14471,14 @@ impl CompositionProjectedShadowCasterCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14500,7 +14500,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -14514,7 +14514,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14546,7 +14546,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14556,14 +14556,14 @@ impl CompositionProjectedShadowCasterCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Count(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Count)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14610,7 +14610,7 @@ impl CompositionProjectedShadowCasterCollection { } pub fn MaxRespectedCasters() -> ::windows::core::Result { Self::ICompositionProjectedShadowCasterCollectionStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxRespectedCasters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -14619,7 +14619,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -14806,7 +14806,7 @@ impl CompositionProjectedShadowReceiver { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14815,14 +14815,14 @@ impl CompositionProjectedShadowReceiver { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14844,7 +14844,7 @@ impl CompositionProjectedShadowReceiver { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -14858,7 +14858,7 @@ impl CompositionProjectedShadowReceiver { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14890,7 +14890,7 @@ impl CompositionProjectedShadowReceiver { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14900,14 +14900,14 @@ impl CompositionProjectedShadowReceiver { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReceivingVisual(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReceivingVisual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15058,7 +15058,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15067,14 +15067,14 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15096,7 +15096,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -15110,7 +15110,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15142,7 +15142,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15152,7 +15152,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15166,7 +15166,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn Count(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Count)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15186,7 +15186,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -15368,7 +15368,7 @@ impl CompositionPropertySet { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15377,14 +15377,14 @@ impl CompositionPropertySet { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15406,7 +15406,7 @@ impl CompositionPropertySet { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -15420,7 +15420,7 @@ impl CompositionPropertySet { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15452,7 +15452,7 @@ impl CompositionPropertySet { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15462,7 +15462,7 @@ impl CompositionPropertySet { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15540,7 +15540,7 @@ impl CompositionPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetColor)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -15552,7 +15552,7 @@ impl CompositionPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetMatrix3x2)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -15564,7 +15564,7 @@ impl CompositionPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetMatrix4x4)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -15576,7 +15576,7 @@ impl CompositionPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetQuaternion)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -15586,7 +15586,7 @@ impl CompositionPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetScalar)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -15598,7 +15598,7 @@ impl CompositionPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetVector2)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -15610,7 +15610,7 @@ impl CompositionPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetVector3)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -15622,7 +15622,7 @@ impl CompositionPropertySet { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetVector4)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -15639,7 +15639,7 @@ impl CompositionPropertySet { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBoolean)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -15785,7 +15785,7 @@ impl CompositionRadialGradientBrush { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15800,7 +15800,7 @@ impl CompositionRadialGradientBrush { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15813,14 +15813,14 @@ impl CompositionRadialGradientBrush { pub fn ColorStops(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorStops)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15831,7 +15831,7 @@ impl CompositionRadialGradientBrush { pub fn InterpolationSpace(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InterpolationSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15844,7 +15844,7 @@ impl CompositionRadialGradientBrush { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15857,7 +15857,7 @@ impl CompositionRadialGradientBrush { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15868,7 +15868,7 @@ impl CompositionRadialGradientBrush { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15881,7 +15881,7 @@ impl CompositionRadialGradientBrush { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15896,7 +15896,7 @@ impl CompositionRadialGradientBrush { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15909,7 +15909,7 @@ impl CompositionRadialGradientBrush { pub fn MappingMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MappingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15920,7 +15920,7 @@ impl CompositionRadialGradientBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15929,14 +15929,14 @@ impl CompositionRadialGradientBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -15958,7 +15958,7 @@ impl CompositionRadialGradientBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -15972,7 +15972,7 @@ impl CompositionRadialGradientBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16004,7 +16004,7 @@ impl CompositionRadialGradientBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16014,7 +16014,7 @@ impl CompositionRadialGradientBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16023,7 +16023,7 @@ impl CompositionRadialGradientBrush { pub fn EllipseCenter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EllipseCenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16038,7 +16038,7 @@ impl CompositionRadialGradientBrush { pub fn EllipseRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EllipseRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16053,7 +16053,7 @@ impl CompositionRadialGradientBrush { pub fn GradientOriginOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GradientOriginOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16233,7 +16233,7 @@ impl CompositionRectangleGeometry { pub fn TrimEnd(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16244,7 +16244,7 @@ impl CompositionRectangleGeometry { pub fn TrimOffset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16255,7 +16255,7 @@ impl CompositionRectangleGeometry { pub fn TrimStart(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16266,7 +16266,7 @@ impl CompositionRectangleGeometry { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16275,14 +16275,14 @@ impl CompositionRectangleGeometry { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16304,7 +16304,7 @@ impl CompositionRectangleGeometry { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -16318,7 +16318,7 @@ impl CompositionRectangleGeometry { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16350,7 +16350,7 @@ impl CompositionRectangleGeometry { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16360,7 +16360,7 @@ impl CompositionRectangleGeometry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16369,7 +16369,7 @@ impl CompositionRectangleGeometry { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16384,7 +16384,7 @@ impl CompositionRectangleGeometry { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16549,7 +16549,7 @@ impl CompositionRoundedRectangleGeometry { pub fn TrimEnd(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimEnd)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16560,7 +16560,7 @@ impl CompositionRoundedRectangleGeometry { pub fn TrimOffset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16571,7 +16571,7 @@ impl CompositionRoundedRectangleGeometry { pub fn TrimStart(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrimStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16582,7 +16582,7 @@ impl CompositionRoundedRectangleGeometry { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16591,14 +16591,14 @@ impl CompositionRoundedRectangleGeometry { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16620,7 +16620,7 @@ impl CompositionRoundedRectangleGeometry { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -16634,7 +16634,7 @@ impl CompositionRoundedRectangleGeometry { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16666,7 +16666,7 @@ impl CompositionRoundedRectangleGeometry { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16676,7 +16676,7 @@ impl CompositionRoundedRectangleGeometry { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16685,7 +16685,7 @@ impl CompositionRoundedRectangleGeometry { pub fn CornerRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CornerRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16700,7 +16700,7 @@ impl CompositionRoundedRectangleGeometry { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16715,7 +16715,7 @@ impl CompositionRoundedRectangleGeometry { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16880,7 +16880,7 @@ impl CompositionScopedBatch { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16889,14 +16889,14 @@ impl CompositionScopedBatch { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16918,7 +16918,7 @@ impl CompositionScopedBatch { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -16932,7 +16932,7 @@ impl CompositionScopedBatch { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16964,7 +16964,7 @@ impl CompositionScopedBatch { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16974,21 +16974,21 @@ impl CompositionScopedBatch { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17012,7 +17012,7 @@ impl CompositionScopedBatch { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17162,7 +17162,7 @@ impl CompositionShadow { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17171,14 +17171,14 @@ impl CompositionShadow { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17200,7 +17200,7 @@ impl CompositionShadow { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -17214,7 +17214,7 @@ impl CompositionShadow { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17246,7 +17246,7 @@ impl CompositionShadow { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17256,7 +17256,7 @@ impl CompositionShadow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17400,7 +17400,7 @@ impl CompositionShape { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17409,14 +17409,14 @@ impl CompositionShape { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17438,7 +17438,7 @@ impl CompositionShape { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -17452,7 +17452,7 @@ impl CompositionShape { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17484,7 +17484,7 @@ impl CompositionShape { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17494,7 +17494,7 @@ impl CompositionShape { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17503,7 +17503,7 @@ impl CompositionShape { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17518,7 +17518,7 @@ impl CompositionShape { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17531,7 +17531,7 @@ impl CompositionShape { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17542,7 +17542,7 @@ impl CompositionShape { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17555,7 +17555,7 @@ impl CompositionShape { pub fn Scale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17570,7 +17570,7 @@ impl CompositionShape { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17722,7 +17722,7 @@ impl CompositionShapeCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17731,14 +17731,14 @@ impl CompositionShapeCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17760,7 +17760,7 @@ impl CompositionShapeCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -17774,7 +17774,7 @@ impl CompositionShapeCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17806,7 +17806,7 @@ impl CompositionShapeCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17816,7 +17816,7 @@ impl CompositionShapeCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17825,7 +17825,7 @@ impl CompositionShapeCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -17834,7 +17834,7 @@ impl CompositionShapeCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -17843,7 +17843,7 @@ impl CompositionShapeCollection { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -17852,7 +17852,7 @@ impl CompositionShapeCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -17864,7 +17864,7 @@ impl CompositionShapeCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -17918,7 +17918,7 @@ impl CompositionShapeCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18149,7 +18149,7 @@ impl CompositionSpriteShape { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18158,14 +18158,14 @@ impl CompositionSpriteShape { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18187,7 +18187,7 @@ impl CompositionSpriteShape { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -18201,7 +18201,7 @@ impl CompositionSpriteShape { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18233,7 +18233,7 @@ impl CompositionSpriteShape { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18243,7 +18243,7 @@ impl CompositionSpriteShape { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18252,7 +18252,7 @@ impl CompositionSpriteShape { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18267,7 +18267,7 @@ impl CompositionSpriteShape { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18280,7 +18280,7 @@ impl CompositionSpriteShape { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18291,7 +18291,7 @@ impl CompositionSpriteShape { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18304,7 +18304,7 @@ impl CompositionSpriteShape { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18319,7 +18319,7 @@ impl CompositionSpriteShape { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18332,7 +18332,7 @@ impl CompositionSpriteShape { pub fn FillBrush(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FillBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18346,7 +18346,7 @@ impl CompositionSpriteShape { pub fn Geometry(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Geometry)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18360,7 +18360,7 @@ impl CompositionSpriteShape { pub fn IsStrokeNonScaling(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsStrokeNonScaling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18371,7 +18371,7 @@ impl CompositionSpriteShape { pub fn StrokeBrush(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18387,14 +18387,14 @@ impl CompositionSpriteShape { pub fn StrokeDashArray(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeDashArray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StrokeDashCap(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeDashCap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18405,7 +18405,7 @@ impl CompositionSpriteShape { pub fn StrokeDashOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeDashOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18416,7 +18416,7 @@ impl CompositionSpriteShape { pub fn StrokeEndCap(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeEndCap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18427,7 +18427,7 @@ impl CompositionSpriteShape { pub fn StrokeLineJoin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeLineJoin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18438,7 +18438,7 @@ impl CompositionSpriteShape { pub fn StrokeMiterLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeMiterLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18449,7 +18449,7 @@ impl CompositionSpriteShape { pub fn StrokeStartCap(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeStartCap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18460,7 +18460,7 @@ impl CompositionSpriteShape { pub fn StrokeThickness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeThickness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18697,7 +18697,7 @@ impl CompositionStrokeDashArray { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18706,14 +18706,14 @@ impl CompositionStrokeDashArray { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18735,7 +18735,7 @@ impl CompositionStrokeDashArray { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -18749,7 +18749,7 @@ impl CompositionStrokeDashArray { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18781,7 +18781,7 @@ impl CompositionStrokeDashArray { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18791,7 +18791,7 @@ impl CompositionStrokeDashArray { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18800,7 +18800,7 @@ impl CompositionStrokeDashArray { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -18809,7 +18809,7 @@ impl CompositionStrokeDashArray { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -18818,7 +18818,7 @@ impl CompositionStrokeDashArray { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18827,7 +18827,7 @@ impl CompositionStrokeDashArray { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -18836,7 +18836,7 @@ impl CompositionStrokeDashArray { pub fn IndexOf(&self, value: f32, index: &mut u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value, index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -18881,7 +18881,7 @@ impl CompositionStrokeDashArray { pub fn GetMany(&self, startindex: u32, items: &mut [f32]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19148,7 +19148,7 @@ impl CompositionSurfaceBrush { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19157,14 +19157,14 @@ impl CompositionSurfaceBrush { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19186,7 +19186,7 @@ impl CompositionSurfaceBrush { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -19200,7 +19200,7 @@ impl CompositionSurfaceBrush { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19232,7 +19232,7 @@ impl CompositionSurfaceBrush { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19242,14 +19242,14 @@ impl CompositionSurfaceBrush { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BitmapInterpolationMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BitmapInterpolationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19260,7 +19260,7 @@ impl CompositionSurfaceBrush { pub fn HorizontalAlignmentRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HorizontalAlignmentRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19271,7 +19271,7 @@ impl CompositionSurfaceBrush { pub fn Stretch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stretch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19282,7 +19282,7 @@ impl CompositionSurfaceBrush { pub fn Surface(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Surface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19297,7 +19297,7 @@ impl CompositionSurfaceBrush { pub fn VerticalAlignmentRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerticalAlignmentRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19310,7 +19310,7 @@ impl CompositionSurfaceBrush { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19325,7 +19325,7 @@ impl CompositionSurfaceBrush { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19340,7 +19340,7 @@ impl CompositionSurfaceBrush { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19353,7 +19353,7 @@ impl CompositionSurfaceBrush { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19364,7 +19364,7 @@ impl CompositionSurfaceBrush { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19377,7 +19377,7 @@ impl CompositionSurfaceBrush { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19392,7 +19392,7 @@ impl CompositionSurfaceBrush { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19405,7 +19405,7 @@ impl CompositionSurfaceBrush { pub fn SnapToPixels(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SnapToPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19568,7 +19568,7 @@ impl CompositionTarget { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19577,14 +19577,14 @@ impl CompositionTarget { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19606,7 +19606,7 @@ impl CompositionTarget { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -19620,7 +19620,7 @@ impl CompositionTarget { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19652,7 +19652,7 @@ impl CompositionTarget { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19662,14 +19662,14 @@ impl CompositionTarget { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Root(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Root)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19820,7 +19820,7 @@ impl CompositionTransform { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19829,14 +19829,14 @@ impl CompositionTransform { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19858,7 +19858,7 @@ impl CompositionTransform { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -19872,7 +19872,7 @@ impl CompositionTransform { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19904,7 +19904,7 @@ impl CompositionTransform { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -19914,7 +19914,7 @@ impl CompositionTransform { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20058,7 +20058,7 @@ impl CompositionViewBox { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20067,14 +20067,14 @@ impl CompositionViewBox { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20096,7 +20096,7 @@ impl CompositionViewBox { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -20110,7 +20110,7 @@ impl CompositionViewBox { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20142,7 +20142,7 @@ impl CompositionViewBox { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20152,14 +20152,14 @@ impl CompositionViewBox { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HorizontalAlignmentRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HorizontalAlignmentRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20172,7 +20172,7 @@ impl CompositionViewBox { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20187,7 +20187,7 @@ impl CompositionViewBox { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20200,7 +20200,7 @@ impl CompositionViewBox { pub fn Stretch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Stretch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20211,7 +20211,7 @@ impl CompositionViewBox { pub fn VerticalAlignmentRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VerticalAlignmentRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20361,7 +20361,7 @@ impl CompositionVirtualDrawingSurface { pub fn AlphaMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlphaMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20370,7 +20370,7 @@ impl CompositionVirtualDrawingSurface { pub fn PixelFormat(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PixelFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20379,7 +20379,7 @@ impl CompositionVirtualDrawingSurface { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20388,7 +20388,7 @@ impl CompositionVirtualDrawingSurface { pub fn SizeInt32(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20425,7 +20425,7 @@ impl CompositionVirtualDrawingSurface { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20434,14 +20434,14 @@ impl CompositionVirtualDrawingSurface { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20463,7 +20463,7 @@ impl CompositionVirtualDrawingSurface { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -20477,7 +20477,7 @@ impl CompositionVirtualDrawingSurface { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20509,7 +20509,7 @@ impl CompositionVirtualDrawingSurface { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20519,7 +20519,7 @@ impl CompositionVirtualDrawingSurface { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20703,7 +20703,7 @@ impl CompositionVisualSurface { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20712,14 +20712,14 @@ impl CompositionVisualSurface { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20741,7 +20741,7 @@ impl CompositionVisualSurface { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -20755,7 +20755,7 @@ impl CompositionVisualSurface { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20787,7 +20787,7 @@ impl CompositionVisualSurface { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20797,14 +20797,14 @@ impl CompositionVisualSurface { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourceVisual(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceVisual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20820,7 +20820,7 @@ impl CompositionVisualSurface { pub fn SourceOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -20835,7 +20835,7 @@ impl CompositionVisualSurface { pub fn SourceSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21003,28 +21003,28 @@ impl Compositor { pub fn CreateColorKeyFrameAnimation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateColorKeyFrameAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateColorBrush(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateColorBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateColorBrushWithColor(&self, color: super::Color) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateColorBrushWithColor)(::windows::core::Interface::as_raw(this), color, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateContainerVisual(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContainerVisual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21033,7 +21033,7 @@ impl Compositor { pub fn CreateCubicBezierEasingFunction(&self, controlpoint1: super::super::Foundation::Numerics::Vector2, controlpoint2: super::super::Foundation::Numerics::Vector2) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCubicBezierEasingFunction)(::windows::core::Interface::as_raw(this), controlpoint1, controlpoint2, result__.as_mut_ptr()).from_abi::(result__) } } @@ -21046,7 +21046,7 @@ impl Compositor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEffectFactory)(::windows::core::Interface::as_raw(this), graphicseffect.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21061,14 +21061,14 @@ impl Compositor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEffectFactoryWithProperties)(::windows::core::Interface::as_raw(this), graphicseffect.try_into().map_err(|e| e.into())?.abi(), animatableproperties.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateExpressionAnimation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateExpressionAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21078,70 +21078,70 @@ impl Compositor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateExpressionAnimationWithExpression)(::windows::core::Interface::as_raw(this), expression.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateInsetClip(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInsetClip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateInsetClipWithInsets(&self, leftinset: f32, topinset: f32, rightinset: f32, bottominset: f32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInsetClipWithInsets)(::windows::core::Interface::as_raw(this), leftinset, topinset, rightinset, bottominset, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateLinearEasingFunction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLinearEasingFunction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreatePropertySet(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePropertySet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateQuaternionKeyFrameAnimation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateQuaternionKeyFrameAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateScalarKeyFrameAnimation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateScalarKeyFrameAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateScopedBatch(&self, batchtype: CompositionBatchTypes) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateScopedBatch)(::windows::core::Interface::as_raw(this), batchtype, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateSpriteVisual(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSpriteVisual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateSurfaceBrush(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSurfaceBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21152,189 +21152,189 @@ impl Compositor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSurfaceBrushWithSurface)(::windows::core::Interface::as_raw(this), surface.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateTargetForCurrentView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTargetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateVector2KeyFrameAnimation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVector2KeyFrameAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateVector3KeyFrameAnimation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVector3KeyFrameAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateVector4KeyFrameAnimation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVector4KeyFrameAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCommitBatch(&self, batchtype: CompositionBatchTypes) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCommitBatch)(::windows::core::Interface::as_raw(this), batchtype, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateAmbientLight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAmbientLight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateAnimationGroup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAnimationGroup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateBackdropBrush(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBackdropBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateDistantLight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDistantLight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateDropShadow(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDropShadow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateImplicitAnimationCollection(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateImplicitAnimationCollection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateLayerVisual(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLayerVisual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateMaskBrush(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMaskBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateNineGridBrush(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNineGridBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreatePointLight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePointLight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateSpotLight(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSpotLight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateStepEasingFunction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStepEasingFunction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateStepEasingFunctionWithStepCount(&self, stepcount: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStepEasingFunctionWithStepCount)(::windows::core::Interface::as_raw(this), stepcount, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateHostBackdropBrush(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateHostBackdropBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateColorGradientStop(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateColorGradientStop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateColorGradientStopWithOffsetAndColor(&self, offset: f32, color: super::Color) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateColorGradientStopWithOffsetAndColor)(::windows::core::Interface::as_raw(this), offset, color, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateLinearGradientBrush(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLinearGradientBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateSpringScalarAnimation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSpringScalarAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateSpringVector2Animation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSpringVector2Animation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateSpringVector3Animation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSpringVector3Animation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -21348,7 +21348,7 @@ impl Compositor { pub fn GlobalPlaybackRate(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GlobalPlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21359,49 +21359,49 @@ impl Compositor { pub fn CreateBounceScalarAnimation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBounceScalarAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateBounceVector2Animation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBounceVector2Animation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateBounceVector3Animation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBounceVector3Animation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateContainerShape(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateContainerShape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateEllipseGeometry(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEllipseGeometry)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateLineGeometry(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateLineGeometry)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreatePathGeometry(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePathGeometry)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21411,42 +21411,42 @@ impl Compositor { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePathGeometryWithPath)(::windows::core::Interface::as_raw(this), path.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreatePathKeyFrameAnimation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePathKeyFrameAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateRectangleGeometry(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRectangleGeometry)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateRoundedRectangleGeometry(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRoundedRectangleGeometry)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateShapeVisual(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateShapeVisual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateSpriteShape(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSpriteShape)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21456,14 +21456,14 @@ impl Compositor { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSpriteShapeWithGeometry)(::windows::core::Interface::as_raw(this), geometry.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateViewBox(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateViewBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21472,14 +21472,14 @@ impl Compositor { pub fn RequestCommitAsync(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCommitAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateGeometricClip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateGeometricClip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21489,14 +21489,14 @@ impl Compositor { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateGeometricClipWithGeometry)(::windows::core::Interface::as_raw(this), geometry.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateRedirectVisual(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRedirectVisual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21506,14 +21506,14 @@ impl Compositor { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRedirectVisualWithSourceVisual)(::windows::core::Interface::as_raw(this), source.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateBooleanKeyFrameAnimation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBooleanKeyFrameAnimation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21522,28 +21522,28 @@ impl Compositor { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateAnimationPropertyInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAnimationPropertyInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateRectangleClip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRectangleClip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateRectangleClipWithSides(&self, left: f32, top: f32, right: f32, bottom: f32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRectangleClipWithSides)(::windows::core::Interface::as_raw(this), left, top, right, bottom, result__.as_mut_ptr()).from_abi::(result__) } } @@ -21552,61 +21552,61 @@ impl Compositor { pub fn CreateRectangleClipWithSidesAndRadius(&self, left: f32, top: f32, right: f32, bottom: f32, topleftradius: super::super::Foundation::Numerics::Vector2, toprightradius: super::super::Foundation::Numerics::Vector2, bottomrightradius: super::super::Foundation::Numerics::Vector2, bottomleftradius: super::super::Foundation::Numerics::Vector2) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRectangleClipWithSidesAndRadius)(::windows::core::Interface::as_raw(this), left, top, right, bottom, topleftradius, toprightradius, bottomrightradius, bottomleftradius, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MaxGlobalPlaybackRate() -> ::windows::core::Result { Self::ICompositorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxGlobalPlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MinGlobalPlaybackRate() -> ::windows::core::Result { Self::ICompositorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinGlobalPlaybackRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TryCreateBlurredWallpaperBackdropBrush(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateBlurredWallpaperBackdropBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateProjectedShadowCaster(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateProjectedShadowCaster)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateProjectedShadow(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateProjectedShadow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateProjectedShadowReceiver(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateProjectedShadowReceiver)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateRadialGradientBrush(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRadialGradientBrush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateVisualSurface(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateVisualSurface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21721,7 +21721,7 @@ impl ContainerVisual { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21730,14 +21730,14 @@ impl ContainerVisual { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21759,7 +21759,7 @@ impl ContainerVisual { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -21773,7 +21773,7 @@ impl ContainerVisual { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21805,7 +21805,7 @@ impl ContainerVisual { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21815,14 +21815,14 @@ impl ContainerVisual { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Children(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21831,7 +21831,7 @@ impl ContainerVisual { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21844,7 +21844,7 @@ impl ContainerVisual { pub fn BackfaceVisibility(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackfaceVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21855,7 +21855,7 @@ impl ContainerVisual { pub fn BorderMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BorderMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21868,7 +21868,7 @@ impl ContainerVisual { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21881,7 +21881,7 @@ impl ContainerVisual { pub fn Clip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21895,7 +21895,7 @@ impl ContainerVisual { pub fn CompositeMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositeMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21906,7 +21906,7 @@ impl ContainerVisual { pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21919,7 +21919,7 @@ impl ContainerVisual { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21932,7 +21932,7 @@ impl ContainerVisual { pub fn Opacity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21945,7 +21945,7 @@ impl ContainerVisual { pub fn Orientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21958,14 +21958,14 @@ impl ContainerVisual { pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21976,7 +21976,7 @@ impl ContainerVisual { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -21989,7 +21989,7 @@ impl ContainerVisual { pub fn RotationAxis(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAxis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22004,7 +22004,7 @@ impl ContainerVisual { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22019,7 +22019,7 @@ impl ContainerVisual { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22034,7 +22034,7 @@ impl ContainerVisual { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22047,7 +22047,7 @@ impl ContainerVisual { pub fn ParentForTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentForTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22063,7 +22063,7 @@ impl ContainerVisual { pub fn RelativeOffsetAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeOffsetAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22078,7 +22078,7 @@ impl ContainerVisual { pub fn RelativeSizeAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeSizeAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22091,7 +22091,7 @@ impl ContainerVisual { pub fn IsHitTestVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHitTestVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22102,7 +22102,7 @@ impl ContainerVisual { pub fn IsPixelSnappingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPixelSnappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22265,7 +22265,7 @@ impl CubicBezierEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22274,14 +22274,14 @@ impl CubicBezierEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22303,7 +22303,7 @@ impl CubicBezierEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -22317,7 +22317,7 @@ impl CubicBezierEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22349,7 +22349,7 @@ impl CubicBezierEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22359,7 +22359,7 @@ impl CubicBezierEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22368,7 +22368,7 @@ impl CubicBezierEasingFunction { pub fn ControlPoint1(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlPoint1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22377,7 +22377,7 @@ impl CubicBezierEasingFunction { pub fn ControlPoint2(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlPoint2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22536,7 +22536,7 @@ impl DelegatedInkTrailVisual { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22545,14 +22545,14 @@ impl DelegatedInkTrailVisual { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22574,7 +22574,7 @@ impl DelegatedInkTrailVisual { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -22588,7 +22588,7 @@ impl DelegatedInkTrailVisual { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22620,7 +22620,7 @@ impl DelegatedInkTrailVisual { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22630,7 +22630,7 @@ impl DelegatedInkTrailVisual { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22639,7 +22639,7 @@ impl DelegatedInkTrailVisual { pub fn AddTrailPoints(&self, inkpoints: &[InkTrailPoint]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddTrailPoints)(::windows::core::Interface::as_raw(this), inkpoints.len() as u32, ::core::mem::transmute(inkpoints.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22648,7 +22648,7 @@ impl DelegatedInkTrailVisual { pub fn AddTrailPointsWithPrediction(&self, inkpoints: &[InkTrailPoint], predictedinkpoints: &[InkTrailPoint]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddTrailPointsWithPrediction)(::windows::core::Interface::as_raw(this), inkpoints.len() as u32, ::core::mem::transmute(inkpoints.as_ptr()), predictedinkpoints.len() as u32, ::core::mem::transmute(predictedinkpoints.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22665,7 +22665,7 @@ impl DelegatedInkTrailVisual { P0: ::std::convert::Into<::windows::core::InParam<'a, Compositor>>, { Self::IDelegatedInkTrailVisualStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), compositor.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -22676,7 +22676,7 @@ impl DelegatedInkTrailVisual { E1: ::std::convert::Into<::windows::core::Error>, { Self::IDelegatedInkTrailVisualStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForSwapChain)(::windows::core::Interface::as_raw(this), compositor.into().abi(), swapchain.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -22685,7 +22685,7 @@ impl DelegatedInkTrailVisual { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22698,7 +22698,7 @@ impl DelegatedInkTrailVisual { pub fn BackfaceVisibility(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackfaceVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22709,7 +22709,7 @@ impl DelegatedInkTrailVisual { pub fn BorderMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BorderMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22722,7 +22722,7 @@ impl DelegatedInkTrailVisual { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22735,7 +22735,7 @@ impl DelegatedInkTrailVisual { pub fn Clip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22749,7 +22749,7 @@ impl DelegatedInkTrailVisual { pub fn CompositeMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositeMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22760,7 +22760,7 @@ impl DelegatedInkTrailVisual { pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22773,7 +22773,7 @@ impl DelegatedInkTrailVisual { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22786,7 +22786,7 @@ impl DelegatedInkTrailVisual { pub fn Opacity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22799,7 +22799,7 @@ impl DelegatedInkTrailVisual { pub fn Orientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22812,14 +22812,14 @@ impl DelegatedInkTrailVisual { pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22830,7 +22830,7 @@ impl DelegatedInkTrailVisual { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22843,7 +22843,7 @@ impl DelegatedInkTrailVisual { pub fn RotationAxis(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAxis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22858,7 +22858,7 @@ impl DelegatedInkTrailVisual { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22873,7 +22873,7 @@ impl DelegatedInkTrailVisual { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22888,7 +22888,7 @@ impl DelegatedInkTrailVisual { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22901,7 +22901,7 @@ impl DelegatedInkTrailVisual { pub fn ParentForTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentForTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22917,7 +22917,7 @@ impl DelegatedInkTrailVisual { pub fn RelativeOffsetAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeOffsetAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22932,7 +22932,7 @@ impl DelegatedInkTrailVisual { pub fn RelativeSizeAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeSizeAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22945,7 +22945,7 @@ impl DelegatedInkTrailVisual { pub fn IsHitTestVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHitTestVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -22956,7 +22956,7 @@ impl DelegatedInkTrailVisual { pub fn IsPixelSnappingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPixelSnappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23124,21 +23124,21 @@ impl DistantLight { pub fn Targets(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Targets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExclusionsFromTargets(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExclusionsFromTargets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23149,7 +23149,7 @@ impl DistantLight { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23158,14 +23158,14 @@ impl DistantLight { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23187,7 +23187,7 @@ impl DistantLight { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -23201,7 +23201,7 @@ impl DistantLight { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23233,7 +23233,7 @@ impl DistantLight { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23243,14 +23243,14 @@ impl DistantLight { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23261,7 +23261,7 @@ impl DistantLight { pub fn CoordinateSpace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23277,7 +23277,7 @@ impl DistantLight { pub fn Direction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23290,7 +23290,7 @@ impl DistantLight { pub fn Intensity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Intensity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23453,7 +23453,7 @@ impl DropShadow { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23462,14 +23462,14 @@ impl DropShadow { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23491,7 +23491,7 @@ impl DropShadow { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -23505,7 +23505,7 @@ impl DropShadow { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23537,7 +23537,7 @@ impl DropShadow { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23547,14 +23547,14 @@ impl DropShadow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BlurRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlurRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23565,7 +23565,7 @@ impl DropShadow { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23576,7 +23576,7 @@ impl DropShadow { pub fn Mask(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mask)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23592,7 +23592,7 @@ impl DropShadow { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23605,7 +23605,7 @@ impl DropShadow { pub fn Opacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23616,7 +23616,7 @@ impl DropShadow { pub fn SourcePolicy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourcePolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23779,7 +23779,7 @@ impl ElasticEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23788,14 +23788,14 @@ impl ElasticEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23817,7 +23817,7 @@ impl ElasticEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -23831,7 +23831,7 @@ impl ElasticEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23863,7 +23863,7 @@ impl ElasticEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -23873,28 +23873,28 @@ impl ElasticEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Oscillations(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Oscillations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Springiness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Springiness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24053,7 +24053,7 @@ impl ExponentialEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24062,14 +24062,14 @@ impl ExponentialEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24091,7 +24091,7 @@ impl ExponentialEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -24105,7 +24105,7 @@ impl ExponentialEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24137,7 +24137,7 @@ impl ExponentialEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24147,21 +24147,21 @@ impl ExponentialEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Exponent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exponent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24414,7 +24414,7 @@ impl ExpressionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -24430,7 +24430,7 @@ impl ExpressionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24446,7 +24446,7 @@ impl ExpressionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24455,14 +24455,14 @@ impl ExpressionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24484,7 +24484,7 @@ impl ExpressionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -24498,7 +24498,7 @@ impl ExpressionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24530,7 +24530,7 @@ impl ExpressionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -24540,14 +24540,14 @@ impl ExpressionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Expression(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Expression)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -26586,7 +26586,7 @@ impl ICompositionSupportsSystemBackdrop { pub fn SystemBackdrop(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemBackdrop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -26827,7 +26827,7 @@ impl ICompositionSurfaceFacade { pub fn GetRealSurface(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRealSurface)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28539,7 +28539,7 @@ impl IVisualElement2 { pub fn GetVisualInternal(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetVisualInternal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28656,7 +28656,7 @@ impl ImplicitAnimationCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28665,14 +28665,14 @@ impl ImplicitAnimationCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28694,7 +28694,7 @@ impl ImplicitAnimationCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -28708,7 +28708,7 @@ impl ImplicitAnimationCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28740,7 +28740,7 @@ impl ImplicitAnimationCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28750,7 +28750,7 @@ impl ImplicitAnimationCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28759,7 +28759,7 @@ impl ImplicitAnimationCollection { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -28771,7 +28771,7 @@ impl ImplicitAnimationCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28780,7 +28780,7 @@ impl ImplicitAnimationCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28792,7 +28792,7 @@ impl ImplicitAnimationCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28801,7 +28801,7 @@ impl ImplicitAnimationCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -28815,7 +28815,7 @@ impl ImplicitAnimationCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29036,7 +29036,7 @@ impl InitialValueExpressionCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29045,14 +29045,14 @@ impl InitialValueExpressionCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29074,7 +29074,7 @@ impl InitialValueExpressionCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -29088,7 +29088,7 @@ impl InitialValueExpressionCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29120,7 +29120,7 @@ impl InitialValueExpressionCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29130,7 +29130,7 @@ impl InitialValueExpressionCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29139,7 +29139,7 @@ impl InitialValueExpressionCollection { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -29151,7 +29151,7 @@ impl InitialValueExpressionCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -29160,7 +29160,7 @@ impl InitialValueExpressionCollection { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29172,7 +29172,7 @@ impl InitialValueExpressionCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29181,7 +29181,7 @@ impl InitialValueExpressionCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -29194,7 +29194,7 @@ impl InitialValueExpressionCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29483,7 +29483,7 @@ impl InsetClip { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29498,7 +29498,7 @@ impl InsetClip { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29513,7 +29513,7 @@ impl InsetClip { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29526,7 +29526,7 @@ impl InsetClip { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29537,7 +29537,7 @@ impl InsetClip { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29550,7 +29550,7 @@ impl InsetClip { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29565,7 +29565,7 @@ impl InsetClip { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29578,7 +29578,7 @@ impl InsetClip { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29587,14 +29587,14 @@ impl InsetClip { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29616,7 +29616,7 @@ impl InsetClip { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -29630,7 +29630,7 @@ impl InsetClip { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29662,7 +29662,7 @@ impl InsetClip { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29672,14 +29672,14 @@ impl InsetClip { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BottomInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BottomInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29690,7 +29690,7 @@ impl InsetClip { pub fn LeftInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeftInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29701,7 +29701,7 @@ impl InsetClip { pub fn RightInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29712,7 +29712,7 @@ impl InsetClip { pub fn TopInset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TopInset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29969,7 +29969,7 @@ impl KeyFrameAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -29985,7 +29985,7 @@ impl KeyFrameAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30001,7 +30001,7 @@ impl KeyFrameAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30010,14 +30010,14 @@ impl KeyFrameAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30039,7 +30039,7 @@ impl KeyFrameAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -30053,7 +30053,7 @@ impl KeyFrameAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30085,7 +30085,7 @@ impl KeyFrameAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30095,7 +30095,7 @@ impl KeyFrameAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30104,7 +30104,7 @@ impl KeyFrameAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30119,7 +30119,7 @@ impl KeyFrameAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30132,7 +30132,7 @@ impl KeyFrameAnimation { pub fn IterationBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30143,7 +30143,7 @@ impl KeyFrameAnimation { pub fn IterationCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30154,14 +30154,14 @@ impl KeyFrameAnimation { pub fn KeyFrameCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30187,7 +30187,7 @@ impl KeyFrameAnimation { pub fn Direction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30198,7 +30198,7 @@ impl KeyFrameAnimation { pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30380,7 +30380,7 @@ impl LayerVisual { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30389,14 +30389,14 @@ impl LayerVisual { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30418,7 +30418,7 @@ impl LayerVisual { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -30432,7 +30432,7 @@ impl LayerVisual { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30464,7 +30464,7 @@ impl LayerVisual { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30474,21 +30474,21 @@ impl LayerVisual { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Children(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Effect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Effect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30502,7 +30502,7 @@ impl LayerVisual { pub fn Shadow(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shadow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30518,7 +30518,7 @@ impl LayerVisual { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30531,7 +30531,7 @@ impl LayerVisual { pub fn BackfaceVisibility(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackfaceVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30542,7 +30542,7 @@ impl LayerVisual { pub fn BorderMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BorderMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30555,7 +30555,7 @@ impl LayerVisual { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30568,7 +30568,7 @@ impl LayerVisual { pub fn Clip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30582,7 +30582,7 @@ impl LayerVisual { pub fn CompositeMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositeMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30593,7 +30593,7 @@ impl LayerVisual { pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30606,7 +30606,7 @@ impl LayerVisual { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30619,7 +30619,7 @@ impl LayerVisual { pub fn Opacity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30632,7 +30632,7 @@ impl LayerVisual { pub fn Orientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30645,14 +30645,14 @@ impl LayerVisual { pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30663,7 +30663,7 @@ impl LayerVisual { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30676,7 +30676,7 @@ impl LayerVisual { pub fn RotationAxis(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAxis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30691,7 +30691,7 @@ impl LayerVisual { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30706,7 +30706,7 @@ impl LayerVisual { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30721,7 +30721,7 @@ impl LayerVisual { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30734,7 +30734,7 @@ impl LayerVisual { pub fn ParentForTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentForTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30750,7 +30750,7 @@ impl LayerVisual { pub fn RelativeOffsetAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeOffsetAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30765,7 +30765,7 @@ impl LayerVisual { pub fn RelativeSizeAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeSizeAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30778,7 +30778,7 @@ impl LayerVisual { pub fn IsHitTestVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHitTestVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30789,7 +30789,7 @@ impl LayerVisual { pub fn IsPixelSnappingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPixelSnappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30967,7 +30967,7 @@ impl LinearEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -30976,14 +30976,14 @@ impl LinearEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31005,7 +31005,7 @@ impl LinearEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -31019,7 +31019,7 @@ impl LinearEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31051,7 +31051,7 @@ impl LinearEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31061,7 +31061,7 @@ impl LinearEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31314,7 +31314,7 @@ impl NaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -31330,7 +31330,7 @@ impl NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31346,7 +31346,7 @@ impl NaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31355,14 +31355,14 @@ impl NaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31384,7 +31384,7 @@ impl NaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -31398,7 +31398,7 @@ impl NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31430,7 +31430,7 @@ impl NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31440,14 +31440,14 @@ impl NaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31460,7 +31460,7 @@ impl NaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31473,7 +31473,7 @@ impl NaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31749,7 +31749,7 @@ impl PathKeyFrameAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -31765,7 +31765,7 @@ impl PathKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31781,7 +31781,7 @@ impl PathKeyFrameAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31790,14 +31790,14 @@ impl PathKeyFrameAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31819,7 +31819,7 @@ impl PathKeyFrameAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -31833,7 +31833,7 @@ impl PathKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31865,7 +31865,7 @@ impl PathKeyFrameAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31875,7 +31875,7 @@ impl PathKeyFrameAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31884,7 +31884,7 @@ impl PathKeyFrameAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31899,7 +31899,7 @@ impl PathKeyFrameAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31912,7 +31912,7 @@ impl PathKeyFrameAnimation { pub fn IterationBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31923,7 +31923,7 @@ impl PathKeyFrameAnimation { pub fn IterationCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31934,14 +31934,14 @@ impl PathKeyFrameAnimation { pub fn KeyFrameCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31967,7 +31967,7 @@ impl PathKeyFrameAnimation { pub fn Direction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -31978,7 +31978,7 @@ impl PathKeyFrameAnimation { pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32190,21 +32190,21 @@ impl PointLight { pub fn Targets(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Targets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExclusionsFromTargets(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExclusionsFromTargets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32215,7 +32215,7 @@ impl PointLight { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32224,14 +32224,14 @@ impl PointLight { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32253,7 +32253,7 @@ impl PointLight { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -32267,7 +32267,7 @@ impl PointLight { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32299,7 +32299,7 @@ impl PointLight { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32309,14 +32309,14 @@ impl PointLight { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32327,7 +32327,7 @@ impl PointLight { pub fn ConstantAttenuation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConstantAttenuation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32338,7 +32338,7 @@ impl PointLight { pub fn CoordinateSpace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32352,7 +32352,7 @@ impl PointLight { pub fn LinearAttenuation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinearAttenuation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32365,7 +32365,7 @@ impl PointLight { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32378,7 +32378,7 @@ impl PointLight { pub fn QuadraticAttenuation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QuadraticAttenuation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32389,7 +32389,7 @@ impl PointLight { pub fn Intensity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Intensity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32400,7 +32400,7 @@ impl PointLight { pub fn MinAttenuationCutoff(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinAttenuationCutoff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32411,7 +32411,7 @@ impl PointLight { pub fn MaxAttenuationCutoff(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAttenuationCutoff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32574,7 +32574,7 @@ impl PowerEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32583,14 +32583,14 @@ impl PowerEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32612,7 +32612,7 @@ impl PowerEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -32626,7 +32626,7 @@ impl PowerEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32658,7 +32658,7 @@ impl PowerEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32668,21 +32668,21 @@ impl PowerEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Power(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Power)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32935,7 +32935,7 @@ impl QuaternionKeyFrameAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -32951,7 +32951,7 @@ impl QuaternionKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32967,7 +32967,7 @@ impl QuaternionKeyFrameAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32976,14 +32976,14 @@ impl QuaternionKeyFrameAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33005,7 +33005,7 @@ impl QuaternionKeyFrameAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -33019,7 +33019,7 @@ impl QuaternionKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33051,7 +33051,7 @@ impl QuaternionKeyFrameAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33061,7 +33061,7 @@ impl QuaternionKeyFrameAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33070,7 +33070,7 @@ impl QuaternionKeyFrameAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33085,7 +33085,7 @@ impl QuaternionKeyFrameAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33098,7 +33098,7 @@ impl QuaternionKeyFrameAnimation { pub fn IterationBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33109,7 +33109,7 @@ impl QuaternionKeyFrameAnimation { pub fn IterationCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33120,14 +33120,14 @@ impl QuaternionKeyFrameAnimation { pub fn KeyFrameCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33153,7 +33153,7 @@ impl QuaternionKeyFrameAnimation { pub fn Direction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33164,7 +33164,7 @@ impl QuaternionKeyFrameAnimation { pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33378,7 +33378,7 @@ impl RectangleClip { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33393,7 +33393,7 @@ impl RectangleClip { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33408,7 +33408,7 @@ impl RectangleClip { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33421,7 +33421,7 @@ impl RectangleClip { pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33432,7 +33432,7 @@ impl RectangleClip { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33445,7 +33445,7 @@ impl RectangleClip { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33460,7 +33460,7 @@ impl RectangleClip { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33473,7 +33473,7 @@ impl RectangleClip { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33482,14 +33482,14 @@ impl RectangleClip { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33511,7 +33511,7 @@ impl RectangleClip { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -33525,7 +33525,7 @@ impl RectangleClip { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33557,7 +33557,7 @@ impl RectangleClip { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33567,14 +33567,14 @@ impl RectangleClip { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Bottom(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bottom)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33587,7 +33587,7 @@ impl RectangleClip { pub fn BottomLeftRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BottomLeftRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33602,7 +33602,7 @@ impl RectangleClip { pub fn BottomRightRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BottomRightRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33615,7 +33615,7 @@ impl RectangleClip { pub fn Left(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Left)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33626,7 +33626,7 @@ impl RectangleClip { pub fn Right(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Right)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33637,7 +33637,7 @@ impl RectangleClip { pub fn Top(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Top)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33650,7 +33650,7 @@ impl RectangleClip { pub fn TopLeftRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TopLeftRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33665,7 +33665,7 @@ impl RectangleClip { pub fn TopRightRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TopRightRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33830,7 +33830,7 @@ impl RedirectVisual { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33839,14 +33839,14 @@ impl RedirectVisual { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33868,7 +33868,7 @@ impl RedirectVisual { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -33882,7 +33882,7 @@ impl RedirectVisual { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33914,7 +33914,7 @@ impl RedirectVisual { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33924,21 +33924,21 @@ impl RedirectVisual { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Children(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33954,7 +33954,7 @@ impl RedirectVisual { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33967,7 +33967,7 @@ impl RedirectVisual { pub fn BackfaceVisibility(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackfaceVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33978,7 +33978,7 @@ impl RedirectVisual { pub fn BorderMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BorderMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -33991,7 +33991,7 @@ impl RedirectVisual { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34004,7 +34004,7 @@ impl RedirectVisual { pub fn Clip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34018,7 +34018,7 @@ impl RedirectVisual { pub fn CompositeMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositeMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34029,7 +34029,7 @@ impl RedirectVisual { pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34042,7 +34042,7 @@ impl RedirectVisual { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34055,7 +34055,7 @@ impl RedirectVisual { pub fn Opacity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34068,7 +34068,7 @@ impl RedirectVisual { pub fn Orientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34081,14 +34081,14 @@ impl RedirectVisual { pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34099,7 +34099,7 @@ impl RedirectVisual { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34112,7 +34112,7 @@ impl RedirectVisual { pub fn RotationAxis(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAxis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34127,7 +34127,7 @@ impl RedirectVisual { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34142,7 +34142,7 @@ impl RedirectVisual { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34157,7 +34157,7 @@ impl RedirectVisual { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34170,7 +34170,7 @@ impl RedirectVisual { pub fn ParentForTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentForTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34186,7 +34186,7 @@ impl RedirectVisual { pub fn RelativeOffsetAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeOffsetAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34201,7 +34201,7 @@ impl RedirectVisual { pub fn RelativeSizeAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeSizeAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34214,7 +34214,7 @@ impl RedirectVisual { pub fn IsHitTestVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHitTestVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34225,7 +34225,7 @@ impl RedirectVisual { pub fn IsPixelSnappingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPixelSnappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34403,7 +34403,7 @@ impl RenderingDeviceReplacedEventArgs { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34412,14 +34412,14 @@ impl RenderingDeviceReplacedEventArgs { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34441,7 +34441,7 @@ impl RenderingDeviceReplacedEventArgs { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -34455,7 +34455,7 @@ impl RenderingDeviceReplacedEventArgs { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34487,7 +34487,7 @@ impl RenderingDeviceReplacedEventArgs { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34497,14 +34497,14 @@ impl RenderingDeviceReplacedEventArgs { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GraphicsDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GraphicsDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34742,7 +34742,7 @@ impl ScalarKeyFrameAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -34758,7 +34758,7 @@ impl ScalarKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34774,7 +34774,7 @@ impl ScalarKeyFrameAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34783,14 +34783,14 @@ impl ScalarKeyFrameAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34812,7 +34812,7 @@ impl ScalarKeyFrameAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -34826,7 +34826,7 @@ impl ScalarKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34858,7 +34858,7 @@ impl ScalarKeyFrameAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34868,7 +34868,7 @@ impl ScalarKeyFrameAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34877,7 +34877,7 @@ impl ScalarKeyFrameAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34892,7 +34892,7 @@ impl ScalarKeyFrameAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34905,7 +34905,7 @@ impl ScalarKeyFrameAnimation { pub fn IterationBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34916,7 +34916,7 @@ impl ScalarKeyFrameAnimation { pub fn IterationCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34927,14 +34927,14 @@ impl ScalarKeyFrameAnimation { pub fn KeyFrameCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34960,7 +34960,7 @@ impl ScalarKeyFrameAnimation { pub fn Direction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34971,7 +34971,7 @@ impl ScalarKeyFrameAnimation { pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35273,7 +35273,7 @@ impl ScalarNaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -35289,7 +35289,7 @@ impl ScalarNaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35305,7 +35305,7 @@ impl ScalarNaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35314,14 +35314,14 @@ impl ScalarNaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35343,7 +35343,7 @@ impl ScalarNaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -35357,7 +35357,7 @@ impl ScalarNaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35389,7 +35389,7 @@ impl ScalarNaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35399,14 +35399,14 @@ impl ScalarNaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35419,7 +35419,7 @@ impl ScalarNaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35432,7 +35432,7 @@ impl ScalarNaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35445,7 +35445,7 @@ impl ScalarNaturalMotionAnimation { pub fn FinalValue(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -35464,7 +35464,7 @@ impl ScalarNaturalMotionAnimation { pub fn InitialValue(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -35481,7 +35481,7 @@ impl ScalarNaturalMotionAnimation { pub fn InitialVelocity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35678,7 +35678,7 @@ impl ShapeVisual { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35687,14 +35687,14 @@ impl ShapeVisual { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35716,7 +35716,7 @@ impl ShapeVisual { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -35730,7 +35730,7 @@ impl ShapeVisual { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35762,7 +35762,7 @@ impl ShapeVisual { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35772,14 +35772,14 @@ impl ShapeVisual { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Children(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35788,14 +35788,14 @@ impl ShapeVisual { pub fn Shapes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shapes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ViewBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35811,7 +35811,7 @@ impl ShapeVisual { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35824,7 +35824,7 @@ impl ShapeVisual { pub fn BackfaceVisibility(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackfaceVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35835,7 +35835,7 @@ impl ShapeVisual { pub fn BorderMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BorderMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35848,7 +35848,7 @@ impl ShapeVisual { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35861,7 +35861,7 @@ impl ShapeVisual { pub fn Clip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35875,7 +35875,7 @@ impl ShapeVisual { pub fn CompositeMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositeMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35886,7 +35886,7 @@ impl ShapeVisual { pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35899,7 +35899,7 @@ impl ShapeVisual { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35912,7 +35912,7 @@ impl ShapeVisual { pub fn Opacity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35925,7 +35925,7 @@ impl ShapeVisual { pub fn Orientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35938,14 +35938,14 @@ impl ShapeVisual { pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35956,7 +35956,7 @@ impl ShapeVisual { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35969,7 +35969,7 @@ impl ShapeVisual { pub fn RotationAxis(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAxis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35984,7 +35984,7 @@ impl ShapeVisual { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -35999,7 +35999,7 @@ impl ShapeVisual { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36014,7 +36014,7 @@ impl ShapeVisual { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36027,7 +36027,7 @@ impl ShapeVisual { pub fn ParentForTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentForTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36043,7 +36043,7 @@ impl ShapeVisual { pub fn RelativeOffsetAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeOffsetAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36058,7 +36058,7 @@ impl ShapeVisual { pub fn RelativeSizeAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeSizeAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36071,7 +36071,7 @@ impl ShapeVisual { pub fn IsHitTestVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHitTestVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36082,7 +36082,7 @@ impl ShapeVisual { pub fn IsPixelSnappingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPixelSnappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36260,7 +36260,7 @@ impl SineEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36269,14 +36269,14 @@ impl SineEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36298,7 +36298,7 @@ impl SineEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -36312,7 +36312,7 @@ impl SineEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36344,7 +36344,7 @@ impl SineEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36354,14 +36354,14 @@ impl SineEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36520,21 +36520,21 @@ impl SpotLight { pub fn Targets(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Targets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExclusionsFromTargets(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExclusionsFromTargets)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36545,7 +36545,7 @@ impl SpotLight { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36554,14 +36554,14 @@ impl SpotLight { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36583,7 +36583,7 @@ impl SpotLight { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -36597,7 +36597,7 @@ impl SpotLight { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36629,7 +36629,7 @@ impl SpotLight { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36639,14 +36639,14 @@ impl SpotLight { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ConstantAttenuation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConstantAttenuation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36657,7 +36657,7 @@ impl SpotLight { pub fn CoordinateSpace(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CoordinateSpace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36673,7 +36673,7 @@ impl SpotLight { pub fn Direction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36686,7 +36686,7 @@ impl SpotLight { pub fn InnerConeAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerConeAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36697,7 +36697,7 @@ impl SpotLight { pub fn InnerConeAngleInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerConeAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36708,7 +36708,7 @@ impl SpotLight { pub fn InnerConeColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerConeColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36719,7 +36719,7 @@ impl SpotLight { pub fn LinearAttenuation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinearAttenuation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36732,7 +36732,7 @@ impl SpotLight { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36745,7 +36745,7 @@ impl SpotLight { pub fn OuterConeAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OuterConeAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36756,7 +36756,7 @@ impl SpotLight { pub fn OuterConeAngleInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OuterConeAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36767,7 +36767,7 @@ impl SpotLight { pub fn OuterConeColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OuterConeColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36778,7 +36778,7 @@ impl SpotLight { pub fn QuadraticAttenuation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QuadraticAttenuation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36789,7 +36789,7 @@ impl SpotLight { pub fn InnerConeIntensity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InnerConeIntensity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36800,7 +36800,7 @@ impl SpotLight { pub fn OuterConeIntensity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OuterConeIntensity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36811,7 +36811,7 @@ impl SpotLight { pub fn MinAttenuationCutoff(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinAttenuationCutoff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36822,7 +36822,7 @@ impl SpotLight { pub fn MaxAttenuationCutoff(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAttenuationCutoff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37079,7 +37079,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -37095,7 +37095,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37111,7 +37111,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37120,14 +37120,14 @@ impl SpringScalarNaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37149,7 +37149,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -37163,7 +37163,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37195,7 +37195,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37205,14 +37205,14 @@ impl SpringScalarNaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37225,7 +37225,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37238,7 +37238,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37251,7 +37251,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -37270,7 +37270,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -37287,7 +37287,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn InitialVelocity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37298,7 +37298,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn DampingRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DampingRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37311,7 +37311,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn Period(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Period)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37619,7 +37619,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -37635,7 +37635,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37651,7 +37651,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37660,14 +37660,14 @@ impl SpringVector2NaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37689,7 +37689,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -37703,7 +37703,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37735,7 +37735,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37745,14 +37745,14 @@ impl SpringVector2NaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37765,7 +37765,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37778,7 +37778,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37789,7 +37789,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn DampingRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DampingRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37802,7 +37802,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn Period(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Period)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -37817,7 +37817,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -37836,7 +37836,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -37855,7 +37855,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn InitialVelocity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38163,7 +38163,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -38179,7 +38179,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38195,7 +38195,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38204,14 +38204,14 @@ impl SpringVector3NaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38233,7 +38233,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -38247,7 +38247,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38279,7 +38279,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38289,14 +38289,14 @@ impl SpringVector3NaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38309,7 +38309,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38322,7 +38322,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38333,7 +38333,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn DampingRatio(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DampingRatio)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38346,7 +38346,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn Period(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Period)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38361,7 +38361,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn FinalValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -38380,7 +38380,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn InitialValue(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -38399,7 +38399,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn InitialVelocity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38613,7 +38613,7 @@ impl SpriteVisual { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38622,14 +38622,14 @@ impl SpriteVisual { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38651,7 +38651,7 @@ impl SpriteVisual { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -38665,7 +38665,7 @@ impl SpriteVisual { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38697,7 +38697,7 @@ impl SpriteVisual { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38707,21 +38707,21 @@ impl SpriteVisual { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Children(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Brush(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Brush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38735,7 +38735,7 @@ impl SpriteVisual { pub fn Shadow(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Shadow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38751,7 +38751,7 @@ impl SpriteVisual { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38764,7 +38764,7 @@ impl SpriteVisual { pub fn BackfaceVisibility(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackfaceVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38775,7 +38775,7 @@ impl SpriteVisual { pub fn BorderMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BorderMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38788,7 +38788,7 @@ impl SpriteVisual { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38801,7 +38801,7 @@ impl SpriteVisual { pub fn Clip(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38815,7 +38815,7 @@ impl SpriteVisual { pub fn CompositeMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositeMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38826,7 +38826,7 @@ impl SpriteVisual { pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38839,7 +38839,7 @@ impl SpriteVisual { pub fn Offset(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38852,7 +38852,7 @@ impl SpriteVisual { pub fn Opacity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38865,7 +38865,7 @@ impl SpriteVisual { pub fn Orientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38878,14 +38878,14 @@ impl SpriteVisual { pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationAngle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38896,7 +38896,7 @@ impl SpriteVisual { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38909,7 +38909,7 @@ impl SpriteVisual { pub fn RotationAxis(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAxis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38924,7 +38924,7 @@ impl SpriteVisual { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38939,7 +38939,7 @@ impl SpriteVisual { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38954,7 +38954,7 @@ impl SpriteVisual { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38967,7 +38967,7 @@ impl SpriteVisual { pub fn ParentForTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentForTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38983,7 +38983,7 @@ impl SpriteVisual { pub fn RelativeOffsetAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeOffsetAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -38998,7 +38998,7 @@ impl SpriteVisual { pub fn RelativeSizeAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeSizeAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39011,7 +39011,7 @@ impl SpriteVisual { pub fn IsHitTestVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHitTestVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39022,7 +39022,7 @@ impl SpriteVisual { pub fn IsPixelSnappingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPixelSnappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39200,7 +39200,7 @@ impl StepEasingFunction { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39209,14 +39209,14 @@ impl StepEasingFunction { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39238,7 +39238,7 @@ impl StepEasingFunction { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -39252,7 +39252,7 @@ impl StepEasingFunction { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39284,7 +39284,7 @@ impl StepEasingFunction { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39294,14 +39294,14 @@ impl StepEasingFunction { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FinalStep(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39312,7 +39312,7 @@ impl StepEasingFunction { pub fn InitialStep(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialStep)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39323,7 +39323,7 @@ impl StepEasingFunction { pub fn IsFinalStepSingleFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFinalStepSingleFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39334,7 +39334,7 @@ impl StepEasingFunction { pub fn IsInitialStepSingleFrame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInitialStepSingleFrame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39345,7 +39345,7 @@ impl StepEasingFunction { pub fn StepCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StepCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39602,7 +39602,7 @@ impl Vector2KeyFrameAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -39618,7 +39618,7 @@ impl Vector2KeyFrameAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39634,7 +39634,7 @@ impl Vector2KeyFrameAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39643,14 +39643,14 @@ impl Vector2KeyFrameAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39672,7 +39672,7 @@ impl Vector2KeyFrameAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -39686,7 +39686,7 @@ impl Vector2KeyFrameAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39718,7 +39718,7 @@ impl Vector2KeyFrameAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39728,7 +39728,7 @@ impl Vector2KeyFrameAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39737,7 +39737,7 @@ impl Vector2KeyFrameAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39752,7 +39752,7 @@ impl Vector2KeyFrameAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39765,7 +39765,7 @@ impl Vector2KeyFrameAnimation { pub fn IterationBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39776,7 +39776,7 @@ impl Vector2KeyFrameAnimation { pub fn IterationCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39787,14 +39787,14 @@ impl Vector2KeyFrameAnimation { pub fn KeyFrameCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39820,7 +39820,7 @@ impl Vector2KeyFrameAnimation { pub fn Direction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -39831,7 +39831,7 @@ impl Vector2KeyFrameAnimation { pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40137,7 +40137,7 @@ impl Vector2NaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -40153,7 +40153,7 @@ impl Vector2NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40169,7 +40169,7 @@ impl Vector2NaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40178,14 +40178,14 @@ impl Vector2NaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40207,7 +40207,7 @@ impl Vector2NaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -40221,7 +40221,7 @@ impl Vector2NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40253,7 +40253,7 @@ impl Vector2NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40263,14 +40263,14 @@ impl Vector2NaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40283,7 +40283,7 @@ impl Vector2NaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40296,7 +40296,7 @@ impl Vector2NaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40309,7 +40309,7 @@ impl Vector2NaturalMotionAnimation { pub fn FinalValue(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -40328,7 +40328,7 @@ impl Vector2NaturalMotionAnimation { pub fn InitialValue(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -40347,7 +40347,7 @@ impl Vector2NaturalMotionAnimation { pub fn InitialVelocity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40640,7 +40640,7 @@ impl Vector3KeyFrameAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -40656,7 +40656,7 @@ impl Vector3KeyFrameAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40672,7 +40672,7 @@ impl Vector3KeyFrameAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40681,14 +40681,14 @@ impl Vector3KeyFrameAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40710,7 +40710,7 @@ impl Vector3KeyFrameAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -40724,7 +40724,7 @@ impl Vector3KeyFrameAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40756,7 +40756,7 @@ impl Vector3KeyFrameAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40766,7 +40766,7 @@ impl Vector3KeyFrameAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40775,7 +40775,7 @@ impl Vector3KeyFrameAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40790,7 +40790,7 @@ impl Vector3KeyFrameAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40803,7 +40803,7 @@ impl Vector3KeyFrameAnimation { pub fn IterationBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40814,7 +40814,7 @@ impl Vector3KeyFrameAnimation { pub fn IterationCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40825,14 +40825,14 @@ impl Vector3KeyFrameAnimation { pub fn KeyFrameCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40858,7 +40858,7 @@ impl Vector3KeyFrameAnimation { pub fn Direction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40869,7 +40869,7 @@ impl Vector3KeyFrameAnimation { pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41175,7 +41175,7 @@ impl Vector3NaturalMotionAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -41191,7 +41191,7 @@ impl Vector3NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41207,7 +41207,7 @@ impl Vector3NaturalMotionAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41216,14 +41216,14 @@ impl Vector3NaturalMotionAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41245,7 +41245,7 @@ impl Vector3NaturalMotionAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -41259,7 +41259,7 @@ impl Vector3NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41291,7 +41291,7 @@ impl Vector3NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41301,14 +41301,14 @@ impl Vector3NaturalMotionAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41321,7 +41321,7 @@ impl Vector3NaturalMotionAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41334,7 +41334,7 @@ impl Vector3NaturalMotionAnimation { pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41347,7 +41347,7 @@ impl Vector3NaturalMotionAnimation { pub fn FinalValue(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -41366,7 +41366,7 @@ impl Vector3NaturalMotionAnimation { pub fn InitialValue(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -41385,7 +41385,7 @@ impl Vector3NaturalMotionAnimation { pub fn InitialVelocity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41678,7 +41678,7 @@ impl Vector4KeyFrameAnimation { pub fn Target(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Target)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -41694,7 +41694,7 @@ impl Vector4KeyFrameAnimation { pub fn InitialValueExpressions(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialValueExpressions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41710,7 +41710,7 @@ impl Vector4KeyFrameAnimation { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41719,14 +41719,14 @@ impl Vector4KeyFrameAnimation { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41748,7 +41748,7 @@ impl Vector4KeyFrameAnimation { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -41762,7 +41762,7 @@ impl Vector4KeyFrameAnimation { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41794,7 +41794,7 @@ impl Vector4KeyFrameAnimation { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41804,7 +41804,7 @@ impl Vector4KeyFrameAnimation { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41813,7 +41813,7 @@ impl Vector4KeyFrameAnimation { pub fn DelayTime(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41828,7 +41828,7 @@ impl Vector4KeyFrameAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41841,7 +41841,7 @@ impl Vector4KeyFrameAnimation { pub fn IterationBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41852,7 +41852,7 @@ impl Vector4KeyFrameAnimation { pub fn IterationCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IterationCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41863,14 +41863,14 @@ impl Vector4KeyFrameAnimation { pub fn KeyFrameCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyFrameCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41896,7 +41896,7 @@ impl Vector4KeyFrameAnimation { pub fn Direction(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -41907,7 +41907,7 @@ impl Vector4KeyFrameAnimation { pub fn DelayBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42119,7 +42119,7 @@ impl Visual { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42128,14 +42128,14 @@ impl Visual { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42157,7 +42157,7 @@ impl Visual { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -42171,7 +42171,7 @@ impl Visual { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42203,7 +42203,7 @@ impl Visual { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42213,7 +42213,7 @@ impl Visual { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42222,7 +42222,7 @@ impl Visual { pub fn AnchorPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnchorPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42235,7 +42235,7 @@ impl Visual { pub fn BackfaceVisibility(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackfaceVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42246,7 +42246,7 @@ impl Visual { pub fn BorderMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BorderMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42259,7 +42259,7 @@ impl Visual { pub fn CenterPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CenterPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42272,7 +42272,7 @@ impl Visual { pub fn Clip(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42286,7 +42286,7 @@ impl Visual { pub fn CompositeMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositeMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42297,7 +42297,7 @@ impl Visual { pub fn IsVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42310,7 +42310,7 @@ impl Visual { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42323,7 +42323,7 @@ impl Visual { pub fn Opacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42336,7 +42336,7 @@ impl Visual { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42349,14 +42349,14 @@ impl Visual { pub fn Parent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42367,7 +42367,7 @@ impl Visual { pub fn RotationAngleInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAngleInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42380,7 +42380,7 @@ impl Visual { pub fn RotationAxis(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationAxis)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42395,7 +42395,7 @@ impl Visual { pub fn Scale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42410,7 +42410,7 @@ impl Visual { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42425,7 +42425,7 @@ impl Visual { pub fn TransformMatrix(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformMatrix)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42438,7 +42438,7 @@ impl Visual { pub fn ParentForTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParentForTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42454,7 +42454,7 @@ impl Visual { pub fn RelativeOffsetAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeOffsetAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42469,7 +42469,7 @@ impl Visual { pub fn RelativeSizeAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RelativeSizeAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42482,7 +42482,7 @@ impl Visual { pub fn IsHitTestVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHitTestVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42493,7 +42493,7 @@ impl Visual { pub fn IsPixelSnappingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPixelSnappingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42641,7 +42641,7 @@ impl VisualCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42650,14 +42650,14 @@ impl VisualCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42679,7 +42679,7 @@ impl VisualCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -42693,7 +42693,7 @@ impl VisualCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42725,7 +42725,7 @@ impl VisualCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42735,7 +42735,7 @@ impl VisualCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42744,14 +42744,14 @@ impl VisualCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Count(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Count)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42974,7 +42974,7 @@ impl VisualUnorderedCollection { pub fn Compositor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Compositor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -42983,14 +42983,14 @@ impl VisualUnorderedCollection { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -43012,7 +43012,7 @@ impl VisualUnorderedCollection { pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -43026,7 +43026,7 @@ impl VisualUnorderedCollection { pub fn ImplicitAnimations(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImplicitAnimations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -43058,7 +43058,7 @@ impl VisualUnorderedCollection { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -43068,7 +43068,7 @@ impl VisualUnorderedCollection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAnimationController)(::windows::core::Interface::as_raw(this), propertyname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -43077,14 +43077,14 @@ impl VisualUnorderedCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Count(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Count)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } 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 f897af60ed..a1f012387e 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs @@ -7,7 +7,7 @@ impl AnimationDescription { pub fn Animations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Animations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -16,14 +16,14 @@ impl AnimationDescription { pub fn StaggerDelay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StaggerDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StaggerDelayFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StaggerDelayFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -32,20 +32,20 @@ impl AnimationDescription { pub fn DelayLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DelayLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ZOrder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZOrder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateInstance(effect: AnimationEffect, target: AnimationEffectTarget) -> ::windows::core::Result { Self::IAnimationDescriptionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), effect, target, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -300,7 +300,7 @@ impl IPropertyAnimation { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -309,7 +309,7 @@ impl IPropertyAnimation { pub fn Delay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -318,7 +318,7 @@ impl IPropertyAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -327,7 +327,7 @@ impl IPropertyAnimation { pub fn Control1(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -336,7 +336,7 @@ impl IPropertyAnimation { pub fn Control2(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -455,21 +455,21 @@ impl OpacityAnimation { pub fn InitialOpacity(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialOpacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn FinalOpacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalOpacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -478,7 +478,7 @@ impl OpacityAnimation { pub fn Delay(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -487,7 +487,7 @@ impl OpacityAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -496,7 +496,7 @@ impl OpacityAnimation { pub fn Control1(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -505,7 +505,7 @@ impl OpacityAnimation { pub fn Control2(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -598,7 +598,7 @@ impl PropertyAnimation { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -607,7 +607,7 @@ impl PropertyAnimation { pub fn Delay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -616,7 +616,7 @@ impl PropertyAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -625,7 +625,7 @@ impl PropertyAnimation { pub fn Control1(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -634,7 +634,7 @@ impl PropertyAnimation { pub fn Control2(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -762,7 +762,7 @@ impl ScaleAnimation { pub fn Type(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -771,7 +771,7 @@ impl ScaleAnimation { pub fn Delay(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -780,7 +780,7 @@ impl ScaleAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -789,7 +789,7 @@ impl ScaleAnimation { pub fn Control1(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -798,7 +798,7 @@ impl ScaleAnimation { pub fn Control2(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -807,7 +807,7 @@ impl ScaleAnimation { pub fn InitialScaleX(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialScaleX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -816,21 +816,21 @@ impl ScaleAnimation { pub fn InitialScaleY(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InitialScaleY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn FinalScaleX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalScaleX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FinalScaleY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FinalScaleY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -839,7 +839,7 @@ impl ScaleAnimation { pub fn NormalizedOrigin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalizedOrigin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -932,7 +932,7 @@ impl TranslationAnimation { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -941,7 +941,7 @@ impl TranslationAnimation { pub fn Delay(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -950,7 +950,7 @@ impl TranslationAnimation { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -959,7 +959,7 @@ impl TranslationAnimation { pub fn Control1(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -968,7 +968,7 @@ impl TranslationAnimation { pub fn Control2(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Control2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs index 806c608a69..ea69c9a963 100644 --- a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs @@ -9,7 +9,7 @@ impl CoreAppWindowPreview { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::WindowManagement::AppWindow>>, { Self::ICoreAppWindowPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIdFromWindow)(::windows::core::Interface::as_raw(this), window.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -167,7 +167,7 @@ impl SystemNavigationCloseRequestedPreviewEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -180,7 +180,7 @@ impl SystemNavigationCloseRequestedPreviewEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -259,7 +259,7 @@ impl SystemNavigationManagerPreview { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloseRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -271,7 +271,7 @@ impl SystemNavigationManagerPreview { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ISystemNavigationManagerPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Core/mod.rs index 047cf1a9cd..6314893ba2 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -9,7 +9,7 @@ impl AcceleratorKeyEventArgs { pub fn EventType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EventType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -18,28 +18,28 @@ impl AcceleratorKeyEventArgs { pub fn VirtualKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VirtualKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn KeyStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -171,7 +171,7 @@ impl AutomationProviderRequestedEventArgs { pub fn AutomationProvider(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomationProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -185,7 +185,7 @@ impl AutomationProviderRequestedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -280,7 +280,7 @@ impl BackRequestedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -358,21 +358,21 @@ impl CharacterReceivedEventArgs { pub fn KeyCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn KeyStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -469,7 +469,7 @@ impl ClosestInteractiveBoundsRequestedEventArgs { pub fn PointerPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -478,7 +478,7 @@ impl ClosestInteractiveBoundsRequestedEventArgs { pub fn SearchBounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SearchBounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -487,7 +487,7 @@ impl ClosestInteractiveBoundsRequestedEventArgs { pub fn ClosestInteractiveBounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClosestInteractiveBounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -611,7 +611,7 @@ impl CoreAcceleratorKeys { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceleratorKeyActivated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -715,7 +715,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClosestInteractiveBoundsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -728,7 +728,7 @@ impl CoreComponentInputSource { pub fn HasFocus(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasFocus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -740,7 +740,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GotFocus)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -758,7 +758,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LostFocus)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -771,14 +771,14 @@ impl CoreComponentInputSource { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInputEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInputEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -794,7 +794,7 @@ impl CoreComponentInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputEnabled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -809,7 +809,7 @@ impl CoreComponentInputSource { pub fn GetCurrentKeyState(&self, virtualkey: super::super::System::VirtualKey) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentKeyState)(::windows::core::Interface::as_raw(this), virtualkey, result__.as_mut_ptr()).from_abi::(result__) } } @@ -821,7 +821,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -839,7 +839,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyDown)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -857,7 +857,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyUp)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -870,7 +870,7 @@ impl CoreComponentInputSource { pub fn GetCurrentKeyEventDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentKeyEventDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -885,7 +885,7 @@ impl CoreComponentInputSource { pub fn HasCapture(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCapture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -894,14 +894,14 @@ impl CoreComponentInputSource { pub fn PointerPosition(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PointerCursor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCursor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -920,7 +920,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCaptureLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -938,7 +938,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerEntered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -956,7 +956,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -974,7 +974,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerMoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -992,7 +992,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1010,7 +1010,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1028,7 +1028,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerWheelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1043,7 +1043,7 @@ impl CoreComponentInputSource { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1055,7 +1055,7 @@ impl CoreComponentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TouchHitTesting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1192,20 +1192,20 @@ impl CoreCursor { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateCursor(r#type: CoreCursorType, id: u32) -> ::windows::core::Result { Self::ICoreCursorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateCursor)(::windows::core::Interface::as_raw(this), r#type, id, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1337,7 +1337,7 @@ impl CoreDispatcher { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceleratorKeyActivated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1350,7 +1350,7 @@ impl CoreDispatcher { pub fn HasThreadAccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasThreadAccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1366,7 +1366,7 @@ impl CoreDispatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunAsync)(::windows::core::Interface::as_raw(this), priority, agilecallback.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1378,7 +1378,7 @@ impl CoreDispatcher { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RunIdleAsync)(::windows::core::Interface::as_raw(this), agilecallback.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1390,7 +1390,7 @@ impl CoreDispatcher { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRunAsync)(::windows::core::Interface::as_raw(this), priority, agilecallback.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1402,14 +1402,14 @@ impl CoreDispatcher { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRunIdleAsync)(::windows::core::Interface::as_raw(this), agilecallback.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn CurrentPriority(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentPriority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1420,14 +1420,14 @@ impl CoreDispatcher { pub fn ShouldYield(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldYield)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShouldYieldToPriority(&self, priority: CoreDispatcherPriority) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldYieldToPriority)(::windows::core::Interface::as_raw(this), priority, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1626,14 +1626,14 @@ impl CoreIndependentInputSource { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInputEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInputEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1649,7 +1649,7 @@ impl CoreIndependentInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputEnabled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1670,7 +1670,7 @@ impl CoreIndependentInputSource { pub fn HasCapture(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCapture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1679,14 +1679,14 @@ impl CoreIndependentInputSource { pub fn PointerPosition(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PointerCursor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCursor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1705,7 +1705,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCaptureLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1723,7 +1723,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerEntered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1741,7 +1741,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1759,7 +1759,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerMoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1777,7 +1777,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1795,7 +1795,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1813,7 +1813,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerWheelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1828,7 +1828,7 @@ impl CoreIndependentInputSource { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1840,7 +1840,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerRoutedAway)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1858,7 +1858,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerRoutedTo)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1876,7 +1876,7 @@ impl CoreIndependentInputSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerRoutedReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2038,7 +2038,7 @@ impl CoreIndependentInputSourceController { pub fn IsTransparentForUncontrolledInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTransparentForUncontrolledInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2049,7 +2049,7 @@ impl CoreIndependentInputSourceController { pub fn IsPalmRejectionEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPalmRejectionEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2060,7 +2060,7 @@ impl CoreIndependentInputSourceController { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2079,7 +2079,7 @@ impl CoreIndependentInputSourceController { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Composition::Visual>>, { Self::ICoreIndependentInputSourceControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForVisual)(::windows::core::Interface::as_raw(this), visual.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2091,7 +2091,7 @@ impl CoreIndependentInputSourceController { E0: ::std::convert::Into<::windows::core::Error>, { Self::ICoreIndependentInputSourceControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForIVisualElement)(::windows::core::Interface::as_raw(this), visualelement.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2483,7 +2483,7 @@ impl CoreWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerRoutedAway)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2501,7 +2501,7 @@ impl CoreWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerRoutedTo)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2519,7 +2519,7 @@ impl CoreWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerRoutedReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2532,7 +2532,7 @@ impl CoreWindow { pub fn AutomationHostProvider(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomationHostProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2541,7 +2541,7 @@ impl CoreWindow { pub fn Bounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2550,21 +2550,21 @@ impl CoreWindow { pub fn CustomProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Dispatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FlowDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlowDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2575,7 +2575,7 @@ impl CoreWindow { pub fn IsInputEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInputEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2586,7 +2586,7 @@ impl CoreWindow { pub fn PointerCursor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCursor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2602,14 +2602,14 @@ impl CoreWindow { pub fn PointerPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Visible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2626,7 +2626,7 @@ impl CoreWindow { pub fn GetAsyncKeyState(&self, virtualkey: super::super::System::VirtualKey) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsyncKeyState)(::windows::core::Interface::as_raw(this), virtualkey, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2635,7 +2635,7 @@ impl CoreWindow { pub fn GetKeyState(&self, virtualkey: super::super::System::VirtualKey) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetKeyState)(::windows::core::Interface::as_raw(this), virtualkey, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2655,7 +2655,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Activated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2673,7 +2673,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomationProviderRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2691,7 +2691,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2709,7 +2709,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2727,7 +2727,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputEnabled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2745,7 +2745,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyDown)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2763,7 +2763,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyUp)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2781,7 +2781,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCaptureLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2799,7 +2799,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerEntered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2817,7 +2817,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2835,7 +2835,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerMoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2853,7 +2853,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2871,7 +2871,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2889,7 +2889,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TouchHitTesting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2907,7 +2907,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerWheelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2925,7 +2925,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2943,7 +2943,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisibilityChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2967,7 +2967,7 @@ impl CoreWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClosestInteractiveBoundsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2980,7 +2980,7 @@ impl CoreWindow { pub fn GetCurrentKeyEventDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentKeyEventDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2992,7 +2992,7 @@ impl CoreWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResizeStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3010,7 +3010,7 @@ impl CoreWindow { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResizeCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3025,27 +3025,27 @@ impl CoreWindow { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivationMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivationMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentThread() -> ::windows::core::Result { Self::ICoreWindowStatic(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentThread)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UIContext(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UIContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3243,7 +3243,7 @@ impl CoreWindowDialog { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Showing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3258,7 +3258,7 @@ impl CoreWindowDialog { pub fn MaxSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3267,14 +3267,14 @@ impl CoreWindowDialog { pub fn MinSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3288,7 +3288,7 @@ impl CoreWindowDialog { pub fn IsInteractionDelayed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInteractionDelayed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3301,14 +3301,14 @@ impl CoreWindowDialog { pub fn Commands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Commands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DefaultCommandIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultCommandIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3319,7 +3319,7 @@ impl CoreWindowDialog { pub fn CancelCommandIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CancelCommandIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3332,7 +3332,7 @@ impl CoreWindowDialog { pub fn BackButtonCommand(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackButtonCommand)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3350,7 +3350,7 @@ impl CoreWindowDialog { pub fn ShowAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3359,7 +3359,7 @@ impl CoreWindowDialog { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICoreWindowDialogFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTitle)(::windows::core::Interface::as_raw(this), title.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3436,7 +3436,7 @@ impl CoreWindowEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3570,7 +3570,7 @@ impl CoreWindowFlyout { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Showing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3585,7 +3585,7 @@ impl CoreWindowFlyout { pub fn MaxSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3594,14 +3594,14 @@ impl CoreWindowFlyout { pub fn MinSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3615,7 +3615,7 @@ impl CoreWindowFlyout { pub fn IsInteractionDelayed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInteractionDelayed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3628,14 +3628,14 @@ impl CoreWindowFlyout { pub fn Commands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Commands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DefaultCommandIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultCommandIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3648,7 +3648,7 @@ impl CoreWindowFlyout { pub fn BackButtonCommand(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackButtonCommand)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3666,7 +3666,7 @@ impl CoreWindowFlyout { pub fn ShowAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3674,7 +3674,7 @@ impl CoreWindowFlyout { #[cfg(feature = "Foundation")] pub fn Create(position: super::super::Foundation::Point) -> ::windows::core::Result { Self::ICoreWindowFlyoutFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3685,7 +3685,7 @@ impl CoreWindowFlyout { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ICoreWindowFlyoutFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTitle)(::windows::core::Interface::as_raw(this), position, title.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3841,13 +3841,13 @@ impl CoreWindowResizeManager { pub fn ShouldWaitForLayoutCompletion(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShouldWaitForLayoutCompletion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ICoreWindowResizeManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4116,7 +4116,7 @@ impl ICoreAcceleratorKeys { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceleratorKeyActivated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4378,14 +4378,14 @@ impl ICoreInputSourceBase { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInputEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInputEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4401,7 +4401,7 @@ impl ICoreInputSourceBase { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputEnabled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4553,7 +4553,7 @@ impl ICorePointerInputSource { pub fn HasCapture(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCapture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4562,14 +4562,14 @@ impl ICorePointerInputSource { pub fn PointerPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PointerCursor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCursor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4588,7 +4588,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCaptureLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4606,7 +4606,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerEntered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4624,7 +4624,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4642,7 +4642,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerMoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4660,7 +4660,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4678,7 +4678,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4696,7 +4696,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerWheelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4843,7 +4843,7 @@ impl ICorePointerInputSource2 { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4858,7 +4858,7 @@ impl ICorePointerInputSource2 { pub fn HasCapture(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasCapture)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4867,14 +4867,14 @@ impl ICorePointerInputSource2 { pub fn PointerPosition(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PointerCursor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCursor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4893,7 +4893,7 @@ impl ICorePointerInputSource2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCaptureLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4911,7 +4911,7 @@ impl ICorePointerInputSource2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerEntered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4929,7 +4929,7 @@ impl ICorePointerInputSource2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4947,7 +4947,7 @@ impl ICorePointerInputSource2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerMoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4965,7 +4965,7 @@ impl ICorePointerInputSource2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4983,7 +4983,7 @@ impl ICorePointerInputSource2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5001,7 +5001,7 @@ impl ICorePointerInputSource2 { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerWheelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5109,7 +5109,7 @@ impl ICorePointerRedirector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerRoutedAway)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5127,7 +5127,7 @@ impl ICorePointerRedirector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerRoutedTo)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5145,7 +5145,7 @@ impl ICorePointerRedirector { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerRoutedReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5269,7 +5269,7 @@ impl ICoreWindow { pub fn AutomationHostProvider(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomationHostProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5278,7 +5278,7 @@ impl ICoreWindow { pub fn Bounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5287,21 +5287,21 @@ impl ICoreWindow { pub fn CustomProperties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Dispatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FlowDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FlowDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5312,7 +5312,7 @@ impl ICoreWindow { pub fn IsInputEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInputEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5323,7 +5323,7 @@ impl ICoreWindow { pub fn PointerCursor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCursor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5339,14 +5339,14 @@ impl ICoreWindow { pub fn PointerPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Visible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5363,7 +5363,7 @@ impl ICoreWindow { pub fn GetAsyncKeyState(&self, virtualkey: super::super::System::VirtualKey) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsyncKeyState)(::windows::core::Interface::as_raw(this), virtualkey, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5372,7 +5372,7 @@ impl ICoreWindow { pub fn GetKeyState(&self, virtualkey: super::super::System::VirtualKey) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetKeyState)(::windows::core::Interface::as_raw(this), virtualkey, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5392,7 +5392,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Activated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5410,7 +5410,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomationProviderRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5428,7 +5428,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5446,7 +5446,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5464,7 +5464,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputEnabled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5482,7 +5482,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyDown)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5500,7 +5500,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyUp)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5518,7 +5518,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCaptureLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5536,7 +5536,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerEntered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5554,7 +5554,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5572,7 +5572,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerMoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5590,7 +5590,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5608,7 +5608,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5626,7 +5626,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TouchHitTesting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5644,7 +5644,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerWheelChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5662,7 +5662,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5680,7 +5680,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisibilityChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6076,7 +6076,7 @@ impl ICoreWindowEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6675,7 +6675,7 @@ impl IdleDispatchedHandlerArgs { pub fn IsDispatcherIdle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsDispatcherIdle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6747,7 +6747,7 @@ impl InputEnabledEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6758,7 +6758,7 @@ impl InputEnabledEventArgs { pub fn InputEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6849,7 +6849,7 @@ impl KeyEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6862,21 +6862,21 @@ impl KeyEventArgs { pub fn VirtualKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VirtualKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn KeyStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6967,7 +6967,7 @@ impl PointerEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6980,7 +6980,7 @@ impl PointerEventArgs { pub fn CurrentPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6989,7 +6989,7 @@ impl PointerEventArgs { pub fn KeyModifiers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyModifiers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6998,7 +6998,7 @@ impl PointerEventArgs { pub fn GetIntermediatePoints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIntermediatePoints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7094,7 +7094,7 @@ impl SystemNavigationManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7107,7 +7107,7 @@ impl SystemNavigationManager { pub fn AppViewBackButtonVisibility(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppViewBackButtonVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7117,7 +7117,7 @@ impl SystemNavigationManager { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ISystemNavigationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7196,7 +7196,7 @@ impl TouchHitTestingEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7209,7 +7209,7 @@ impl TouchHitTestingEventArgs { pub fn ProximityEvaluation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProximityEvaluation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7224,7 +7224,7 @@ impl TouchHitTestingEventArgs { pub fn Point(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Point)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7233,7 +7233,7 @@ impl TouchHitTestingEventArgs { pub fn BoundingBox(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7242,7 +7242,7 @@ impl TouchHitTestingEventArgs { pub fn EvaluateProximityToRect(&self, controlboundingbox: super::super::Foundation::Rect) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EvaluateProximityToRect)(::windows::core::Interface::as_raw(this), controlboundingbox, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7251,7 +7251,7 @@ impl TouchHitTestingEventArgs { pub fn EvaluateProximityToPolygon(&self, controlvertices: &[super::super::Foundation::Point]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EvaluateProximityToPolygon)(::windows::core::Interface::as_raw(this), controlvertices.len() as u32, ::core::mem::transmute(controlvertices.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7342,7 +7342,7 @@ impl VisibilityChangedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7353,7 +7353,7 @@ impl VisibilityChangedEventArgs { pub fn Visible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7444,7 +7444,7 @@ impl WindowActivatedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7455,7 +7455,7 @@ impl WindowActivatedEventArgs { pub fn WindowActivationState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowActivationState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7546,7 +7546,7 @@ impl WindowSizeChangedEventArgs { pub fn Handled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7559,7 +7559,7 @@ impl WindowSizeChangedEventArgs { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs index bb2649737d..c59e36cffe 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs @@ -54,7 +54,7 @@ impl RadialControllerIndependentInputSource { pub fn Controller(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Controller)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -63,7 +63,7 @@ impl RadialControllerIndependentInputSource { pub fn Dispatcher(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dispatcher)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -72,7 +72,7 @@ impl RadialControllerIndependentInputSource { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -83,7 +83,7 @@ impl RadialControllerIndependentInputSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::ApplicationModel::Core::CoreApplicationView>>, { Self::IRadialControllerIndependentInputSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForView)(::windows::core::Interface::as_raw(this), view.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } 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 94bd9e6e9a..338fde8fe0 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 @@ -83,14 +83,14 @@ impl IInkAnalysisNode { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -99,7 +99,7 @@ impl IInkAnalysisNode { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -108,7 +108,7 @@ impl IInkAnalysisNode { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -117,14 +117,14 @@ impl IInkAnalysisNode { pub fn Children(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -133,7 +133,7 @@ impl IInkAnalysisNode { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -313,7 +313,7 @@ impl IInkAnalyzerFactory { pub fn CreateAnalyzer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAnalyzer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -435,21 +435,21 @@ impl InkAnalysisInkBullet { pub fn RecognizedText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -458,7 +458,7 @@ impl InkAnalysisInkBullet { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -467,7 +467,7 @@ impl InkAnalysisInkBullet { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -476,14 +476,14 @@ impl InkAnalysisInkBullet { pub fn Children(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -492,7 +492,7 @@ impl InkAnalysisInkBullet { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -585,7 +585,7 @@ impl InkAnalysisInkDrawing { pub fn DrawingKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DrawingKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -594,7 +594,7 @@ impl InkAnalysisInkDrawing { pub fn Center(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Center)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -603,21 +603,21 @@ impl InkAnalysisInkDrawing { pub fn Points(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Points)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -626,7 +626,7 @@ impl InkAnalysisInkDrawing { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -635,7 +635,7 @@ impl InkAnalysisInkDrawing { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -644,14 +644,14 @@ impl InkAnalysisInkDrawing { pub fn Children(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -660,7 +660,7 @@ impl InkAnalysisInkDrawing { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -753,7 +753,7 @@ impl InkAnalysisInkWord { pub fn RecognizedText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -762,21 +762,21 @@ impl InkAnalysisInkWord { pub fn TextAlternates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextAlternates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -785,7 +785,7 @@ impl InkAnalysisInkWord { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -794,7 +794,7 @@ impl InkAnalysisInkWord { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -803,14 +803,14 @@ impl InkAnalysisInkWord { pub fn Children(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -819,7 +819,7 @@ impl InkAnalysisInkWord { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -912,28 +912,28 @@ impl InkAnalysisLine { pub fn RecognizedText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IndentLevel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndentLevel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -942,7 +942,7 @@ impl InkAnalysisLine { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -951,7 +951,7 @@ impl InkAnalysisLine { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -960,14 +960,14 @@ impl InkAnalysisLine { pub fn Children(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -976,7 +976,7 @@ impl InkAnalysisLine { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1069,21 +1069,21 @@ impl InkAnalysisListItem { pub fn RecognizedText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1092,7 +1092,7 @@ impl InkAnalysisListItem { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1101,7 +1101,7 @@ impl InkAnalysisListItem { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1110,14 +1110,14 @@ impl InkAnalysisListItem { pub fn Children(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1126,7 +1126,7 @@ impl InkAnalysisListItem { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1219,14 +1219,14 @@ impl InkAnalysisNode { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1235,7 +1235,7 @@ impl InkAnalysisNode { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1244,7 +1244,7 @@ impl InkAnalysisNode { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1253,14 +1253,14 @@ impl InkAnalysisNode { pub fn Children(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1269,7 +1269,7 @@ impl InkAnalysisNode { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1403,14 +1403,14 @@ impl InkAnalysisParagraph { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1419,7 +1419,7 @@ impl InkAnalysisParagraph { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1428,7 +1428,7 @@ impl InkAnalysisParagraph { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1437,14 +1437,14 @@ impl InkAnalysisParagraph { pub fn Children(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1453,14 +1453,14 @@ impl InkAnalysisParagraph { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RecognizedText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1553,7 +1553,7 @@ impl InkAnalysisResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1627,14 +1627,14 @@ impl InkAnalysisRoot { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1643,7 +1643,7 @@ impl InkAnalysisRoot { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1652,7 +1652,7 @@ impl InkAnalysisRoot { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1661,14 +1661,14 @@ impl InkAnalysisRoot { pub fn Children(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1677,14 +1677,14 @@ impl InkAnalysisRoot { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RecognizedText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1693,7 +1693,7 @@ impl InkAnalysisRoot { pub fn FindNodes(&self, nodekind: InkAnalysisNodeKind) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindNodes)(::windows::core::Interface::as_raw(this), nodekind, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1855,14 +1855,14 @@ impl InkAnalysisWritingRegion { pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1871,7 +1871,7 @@ impl InkAnalysisWritingRegion { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1880,7 +1880,7 @@ impl InkAnalysisWritingRegion { pub fn RotatedBoundingRect(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotatedBoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1889,14 +1889,14 @@ impl InkAnalysisWritingRegion { pub fn Children(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Children)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Parent(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1905,14 +1905,14 @@ impl InkAnalysisWritingRegion { pub fn GetStrokeIds(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn RecognizedText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2012,14 +2012,14 @@ impl InkAnalyzer { pub fn AnalysisRoot(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnalysisRoot)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAnalyzing(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAnalyzing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2074,7 +2074,7 @@ impl InkAnalyzer { pub fn AnalyzeAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnalyzeAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs index 135a7f265a..e9fd5c8fee 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs @@ -11,21 +11,21 @@ impl CoreIncrementalInkStroke { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendInkPoints)(::windows::core::Interface::as_raw(this), inkpoints.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateInkStroke(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInkStroke)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DrawingAttributes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DrawingAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -34,7 +34,7 @@ impl CoreIncrementalInkStroke { pub fn PointTransform(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -43,7 +43,7 @@ impl CoreIncrementalInkStroke { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -54,7 +54,7 @@ impl CoreIncrementalInkStroke { P0: ::std::convert::Into<::windows::core::InParam<'a, super::InkDrawingAttributes>>, { Self::ICoreIncrementalInkStrokeFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), drawingattributes.into().abi(), pointtransform, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -138,7 +138,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerEntering)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -156,7 +156,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerHovering)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -174,7 +174,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerExiting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -192,7 +192,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPressing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -210,7 +210,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerMoving)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -228,7 +228,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerReleasing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -246,7 +246,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -259,7 +259,7 @@ impl CoreInkIndependentInputSource { pub fn InkPresenter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InkPresenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -268,7 +268,7 @@ impl CoreInkIndependentInputSource { pub fn PointerCursor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerCursor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -286,7 +286,7 @@ impl CoreInkIndependentInputSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::InkPresenter>>, { Self::ICoreInkIndependentInputSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), inkpresenter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -372,7 +372,7 @@ impl CoreInkPresenterHost { pub fn InkPresenter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InkPresenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -381,7 +381,7 @@ impl CoreInkPresenterHost { pub fn RootVisual(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RootVisual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -501,21 +501,21 @@ impl CoreWetStrokeUpdateEventArgs { pub fn NewInkPoints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewInkPoints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PointerId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Disposition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Disposition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -598,7 +598,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WetStrokeStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -616,7 +616,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WetStrokeContinuing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -634,7 +634,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WetStrokeStopping)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -652,7 +652,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WetStrokeCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -670,7 +670,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WetStrokeCanceled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -683,7 +683,7 @@ impl CoreWetStrokeUpdateSource { pub fn InkPresenter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InkPresenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -692,7 +692,7 @@ impl CoreWetStrokeUpdateSource { P0: ::std::convert::Into<::windows::core::InParam<'a, super::InkPresenter>>, { Self::ICoreWetStrokeUpdateSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), inkpresenter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs index ea2c5957ce..0994dfec66 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs @@ -47,7 +47,7 @@ impl PalmRejectionDelayZonePreview { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Composition::Visual>>, { Self::IPalmRejectionDelayZonePreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForVisual)(::windows::core::Interface::as_raw(this), inputpanelvisual.into().abi(), inputpanelrect, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -59,7 +59,7 @@ impl PalmRejectionDelayZonePreview { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Composition::Visual>>, { Self::IPalmRejectionDelayZonePreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForVisualWithViewportClip)(::windows::core::Interface::as_raw(this), inputpanelvisual.into().abi(), inputpanelrect, viewportvisual.into().abi(), viewportrect, result__.as_mut_ptr()).from_abi::(result__) }) } 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 2c46976c8f..c8ebf752c6 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -305,7 +305,7 @@ impl IInkPointFactory { pub fn CreateInkPoint(&self, position: super::super::super::Foundation::Point, pressure: f32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInkPoint)(::windows::core::Interface::as_raw(this), position, pressure, result__.as_mut_ptr()).from_abi::(result__) } } @@ -547,7 +547,7 @@ impl IInkPresenterRulerFactory { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), inkpresenter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -622,14 +622,14 @@ impl IInkPresenterStencil { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -640,7 +640,7 @@ impl IInkPresenterStencil { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -651,7 +651,7 @@ impl IInkPresenterStencil { pub fn ForegroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -664,7 +664,7 @@ impl IInkPresenterStencil { pub fn Transform(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Transform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -808,7 +808,7 @@ impl IInkRecognizerContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizeAsync)(::windows::core::Interface::as_raw(this), strokecollection.into().abi(), recognitiontarget, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -817,7 +817,7 @@ impl IInkRecognizerContainer { pub fn GetRecognizers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecognizers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1046,7 +1046,7 @@ impl IInkStrokeContainer { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1062,7 +1062,7 @@ impl IInkStrokeContainer { pub fn DeleteSelected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1071,7 +1071,7 @@ impl IInkStrokeContainer { pub fn MoveSelected(&self, translation: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveSelected)(::windows::core::Interface::as_raw(this), translation, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1084,7 +1084,7 @@ impl IInkStrokeContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectWithPolyLine)(::windows::core::Interface::as_raw(this), polyline.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1093,7 +1093,7 @@ impl IInkStrokeContainer { pub fn SelectWithLine(&self, from: super::super::super::Foundation::Point, to: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectWithLine)(::windows::core::Interface::as_raw(this), from, to, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1106,14 +1106,14 @@ impl IInkStrokeContainer { pub fn PasteFromClipboard(&self, position: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasteFromClipboard)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanPasteFromClipboard(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPasteFromClipboard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1126,7 +1126,7 @@ impl IInkStrokeContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadAsync)(::windows::core::Interface::as_raw(this), inputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1139,7 +1139,7 @@ impl IInkStrokeContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1158,7 +1158,7 @@ impl IInkStrokeContainer { pub fn GetStrokes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1167,7 +1167,7 @@ impl IInkStrokeContainer { pub fn GetRecognitionResults(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecognitionResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1564,7 +1564,7 @@ impl InkDrawingAttributes { pub fn Color(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Color)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1575,7 +1575,7 @@ impl InkDrawingAttributes { pub fn PenTip(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PenTip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1588,7 +1588,7 @@ impl InkDrawingAttributes { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1601,7 +1601,7 @@ impl InkDrawingAttributes { pub fn IgnorePressure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnorePressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1612,7 +1612,7 @@ impl InkDrawingAttributes { pub fn FitToCurve(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FitToCurve)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1625,7 +1625,7 @@ impl InkDrawingAttributes { pub fn PenTipTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PenTipTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1638,7 +1638,7 @@ impl InkDrawingAttributes { pub fn DrawAsHighlighter(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DrawAsHighlighter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1649,21 +1649,21 @@ impl InkDrawingAttributes { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PencilProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PencilProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IgnoreTilt(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnoreTilt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1674,13 +1674,13 @@ impl InkDrawingAttributes { pub fn ModelerAttributes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ModelerAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CreateForPencil() -> ::windows::core::Result { Self::IInkDrawingAttributesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForPencil)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1793,7 +1793,7 @@ impl InkDrawingAttributesPencilProperties { pub fn Opacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1906,7 +1906,7 @@ impl InkInputConfiguration { pub fn IsPrimaryBarrelButtonInputEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrimaryBarrelButtonInputEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1917,7 +1917,7 @@ impl InkInputConfiguration { pub fn IsEraserInputEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEraserInputEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1928,7 +1928,7 @@ impl InkInputConfiguration { pub fn IsPenHapticFeedbackEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPenHapticFeedbackEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2006,7 +2006,7 @@ impl InkInputProcessingConfiguration { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2017,7 +2017,7 @@ impl InkInputProcessingConfiguration { pub fn RightDragAction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightDragAction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2171,7 +2171,7 @@ impl InkManager { pub fn Mode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Mode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2192,7 +2192,7 @@ impl InkManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessPointerUpdate)(::windows::core::Interface::as_raw(this), pointerpoint.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -2204,7 +2204,7 @@ impl InkManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessPointerUp)(::windows::core::Interface::as_raw(this), pointerpoint.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2220,7 +2220,7 @@ impl InkManager { pub fn RecognizeAsync2(&self, recognitiontarget: InkRecognitionTarget) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizeAsync2)(::windows::core::Interface::as_raw(this), recognitiontarget, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2239,7 +2239,7 @@ impl InkManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizeAsync)(::windows::core::Interface::as_raw(this), strokecollection.into().abi(), recognitiontarget, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2248,7 +2248,7 @@ impl InkManager { pub fn GetRecognizers(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecognizers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2257,7 +2257,7 @@ impl InkManager { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2273,7 +2273,7 @@ impl InkManager { pub fn DeleteSelected(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2282,7 +2282,7 @@ impl InkManager { pub fn MoveSelected(&self, translation: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveSelected)(::windows::core::Interface::as_raw(this), translation, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2295,7 +2295,7 @@ impl InkManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectWithPolyLine)(::windows::core::Interface::as_raw(this), polyline.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2304,7 +2304,7 @@ impl InkManager { pub fn SelectWithLine(&self, from: super::super::super::Foundation::Point, to: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectWithLine)(::windows::core::Interface::as_raw(this), from, to, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2317,14 +2317,14 @@ impl InkManager { pub fn PasteFromClipboard(&self, position: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasteFromClipboard)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanPasteFromClipboard(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPasteFromClipboard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2337,7 +2337,7 @@ impl InkManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadAsync)(::windows::core::Interface::as_raw(this), inputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2350,7 +2350,7 @@ impl InkManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2369,7 +2369,7 @@ impl InkManager { pub fn GetStrokes(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2378,7 +2378,7 @@ impl InkManager { pub fn GetRecognitionResults(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecognitionResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2525,7 +2525,7 @@ impl InkModelerAttributes { pub fn PredictionTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PredictionTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2538,7 +2538,7 @@ impl InkModelerAttributes { pub fn ScalingFactor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScalingFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2549,7 +2549,7 @@ impl InkModelerAttributes { pub fn UseVelocityBasedPressure(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UseVelocityBasedPressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2663,35 +2663,35 @@ impl InkPoint { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pressure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TiltX(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TiltX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TiltY(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TiltY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Timestamp(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2699,7 +2699,7 @@ impl InkPoint { #[cfg(feature = "Foundation")] pub fn CreateInkPoint(position: super::super::super::Foundation::Point, pressure: f32) -> ::windows::core::Result { Self::IInkPointFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInkPoint)(::windows::core::Interface::as_raw(this), position, pressure, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2707,7 +2707,7 @@ impl InkPoint { #[cfg(feature = "Foundation")] pub fn CreateInkPointWithTiltAndTimestamp(position: super::super::super::Foundation::Point, pressure: f32, tiltx: f32, tilty: f32, timestamp: u64) -> ::windows::core::Result { Self::IInkPointFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInkPointWithTiltAndTimestamp)(::windows::core::Interface::as_raw(this), position, pressure, tiltx, tilty, timestamp, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2791,7 +2791,7 @@ impl InkPresenter { pub fn IsInputEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInputEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2804,7 +2804,7 @@ impl InkPresenter { pub fn InputDeviceTypes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputDeviceTypes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2817,28 +2817,28 @@ impl InkPresenter { pub fn UnprocessedInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnprocessedInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StrokeInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InputProcessingConfiguration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputProcessingConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StrokeContainer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeContainer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2852,7 +2852,7 @@ impl InkPresenter { pub fn CopyDefaultDrawingAttributes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CopyDefaultDrawingAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2866,7 +2866,7 @@ impl InkPresenter { pub fn ActivateCustomDrying(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivateCustomDrying)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2882,7 +2882,7 @@ impl InkPresenter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokesCollected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2900,7 +2900,7 @@ impl InkPresenter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokesErased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2913,7 +2913,7 @@ impl InkPresenter { pub fn HighContrastAdjustment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HighContrastAdjustment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2924,7 +2924,7 @@ impl InkPresenter { pub fn InputConfiguration(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3032,7 +3032,7 @@ impl InkPresenterProtractor { pub fn AreTickMarksVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreTickMarksVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3043,7 +3043,7 @@ impl InkPresenterProtractor { pub fn AreRaysVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreRaysVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3054,7 +3054,7 @@ impl InkPresenterProtractor { pub fn IsCenterMarkerVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCenterMarkerVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3065,7 +3065,7 @@ impl InkPresenterProtractor { pub fn IsAngleReadoutVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAngleReadoutVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3076,7 +3076,7 @@ impl InkPresenterProtractor { pub fn IsResizable(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsResizable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3087,7 +3087,7 @@ impl InkPresenterProtractor { pub fn Radius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Radius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3098,7 +3098,7 @@ impl InkPresenterProtractor { pub fn AccentColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AccentColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3111,21 +3111,21 @@ impl InkPresenterProtractor { P0: ::std::convert::Into<::windows::core::InParam<'a, InkPresenter>>, { Self::IInkPresenterProtractorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), inkpresenter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3136,7 +3136,7 @@ impl InkPresenterProtractor { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3147,7 +3147,7 @@ impl InkPresenterProtractor { pub fn ForegroundColor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3160,7 +3160,7 @@ impl InkPresenterProtractor { pub fn Transform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Transform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3264,7 +3264,7 @@ impl InkPresenterRuler { pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3275,7 +3275,7 @@ impl InkPresenterRuler { pub fn Width(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Width)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3286,7 +3286,7 @@ impl InkPresenterRuler { pub fn AreTickMarksVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AreTickMarksVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3297,7 +3297,7 @@ impl InkPresenterRuler { pub fn IsCompassVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCompassVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3310,21 +3310,21 @@ impl InkPresenterRuler { P0: ::std::convert::Into<::windows::core::InParam<'a, InkPresenter>>, { Self::IInkPresenterRulerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), inkpresenter.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3335,7 +3335,7 @@ impl InkPresenterRuler { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3346,7 +3346,7 @@ impl InkPresenterRuler { pub fn ForegroundColor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3359,7 +3359,7 @@ impl InkPresenterRuler { pub fn Transform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Transform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3500,7 +3500,7 @@ impl InkRecognitionResult { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3509,7 +3509,7 @@ impl InkRecognitionResult { pub fn GetTextCandidates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTextCandidates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3518,7 +3518,7 @@ impl InkRecognitionResult { pub fn GetStrokes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3627,7 +3627,7 @@ impl InkRecognizer { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3718,7 +3718,7 @@ impl InkRecognizerContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognizeAsync)(::windows::core::Interface::as_raw(this), strokecollection.into().abi(), recognitiontarget, result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -3727,7 +3727,7 @@ impl InkRecognizerContainer { pub fn GetRecognizers(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecognizers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3818,7 +3818,7 @@ impl InkStroke { pub fn DrawingAttributes(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DrawingAttributes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3834,14 +3834,14 @@ impl InkStroke { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Selected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Selected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3852,7 +3852,7 @@ impl InkStroke { pub fn Recognized(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Recognized)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3861,14 +3861,14 @@ impl InkStroke { pub fn GetRenderingSegments(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRenderingSegments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Clone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Clone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3877,7 +3877,7 @@ impl InkStroke { pub fn PointTransform(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointTransform)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3892,14 +3892,14 @@ impl InkStroke { pub fn GetInkPoints(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInkPoints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3908,7 +3908,7 @@ impl InkStroke { pub fn StrokeStartedTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeStartedTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3927,7 +3927,7 @@ impl InkStroke { pub fn StrokeDuration(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3944,7 +3944,7 @@ impl InkStroke { pub fn PointerId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4035,7 +4035,7 @@ impl InkStrokeBuilder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppendToStroke)(::windows::core::Interface::as_raw(this), pointerpoint.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4045,7 +4045,7 @@ impl InkStrokeBuilder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndStroke)(::windows::core::Interface::as_raw(this), pointerpoint.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4058,7 +4058,7 @@ impl InkStrokeBuilder { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStroke)(::windows::core::Interface::as_raw(this), points.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4078,7 +4078,7 @@ impl InkStrokeBuilder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStrokeFromInkPoints)(::windows::core::Interface::as_raw(this), inkpoints.try_into().map_err(|e| e.into())?.abi(), transform, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4095,7 +4095,7 @@ impl InkStrokeBuilder { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStrokeFromInkPoints)(::windows::core::Interface::as_raw(this), inkpoints.try_into().map_err(|e| e.into())?.abi(), transform, strokestartedtime.try_into().map_err(|e| e.into())?.abi(), strokeduration.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4176,7 +4176,7 @@ impl InkStrokeContainer { pub fn BoundingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4192,7 +4192,7 @@ impl InkStrokeContainer { pub fn DeleteSelected(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteSelected)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4201,7 +4201,7 @@ impl InkStrokeContainer { pub fn MoveSelected(&self, translation: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveSelected)(::windows::core::Interface::as_raw(this), translation, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4214,7 +4214,7 @@ impl InkStrokeContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectWithPolyLine)(::windows::core::Interface::as_raw(this), polyline.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4223,7 +4223,7 @@ impl InkStrokeContainer { pub fn SelectWithLine(&self, from: super::super::super::Foundation::Point, to: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectWithLine)(::windows::core::Interface::as_raw(this), from, to, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4236,14 +4236,14 @@ impl InkStrokeContainer { pub fn PasteFromClipboard(&self, position: super::super::super::Foundation::Point) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PasteFromClipboard)(::windows::core::Interface::as_raw(this), position, result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanPasteFromClipboard(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPasteFromClipboard)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4256,7 +4256,7 @@ impl InkStrokeContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadAsync)(::windows::core::Interface::as_raw(this), inputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4269,7 +4269,7 @@ impl InkStrokeContainer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4288,7 +4288,7 @@ impl InkStrokeContainer { pub fn GetStrokes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4297,7 +4297,7 @@ impl InkStrokeContainer { pub fn GetRecognitionResults(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRecognitionResults)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4324,14 +4324,14 @@ impl InkStrokeContainer { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveWithFormatAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), inkpersistenceformat, result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetStrokeById(&self, id: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStrokeById)(::windows::core::Interface::as_raw(this), id, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4427,7 +4427,7 @@ impl InkStrokeInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4445,7 +4445,7 @@ impl InkStrokeInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeContinued)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4463,7 +4463,7 @@ impl InkStrokeInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeEnded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4481,7 +4481,7 @@ impl InkStrokeInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StrokeCanceled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4494,7 +4494,7 @@ impl InkStrokeInput { pub fn InkPresenter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InkPresenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4570,7 +4570,7 @@ impl InkStrokeRenderingSegment { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4579,7 +4579,7 @@ impl InkStrokeRenderingSegment { pub fn BezierControlPoint1(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BezierControlPoint1)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4588,35 +4588,35 @@ impl InkStrokeRenderingSegment { pub fn BezierControlPoint2(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BezierControlPoint2)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Pressure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TiltX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TiltX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TiltY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TiltY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Twist(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Twist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4692,7 +4692,7 @@ impl InkStrokesCollectedEventArgs { pub fn Strokes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Strokes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4766,7 +4766,7 @@ impl InkStrokesErasedEventArgs { pub fn Strokes(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Strokes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4840,7 +4840,7 @@ impl InkSynchronizer { pub fn BeginDry(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BeginDry)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4921,7 +4921,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerEntered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4939,7 +4939,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerHovered)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4957,7 +4957,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4975,7 +4975,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4993,7 +4993,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerMoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5011,7 +5011,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5029,7 +5029,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5042,7 +5042,7 @@ impl InkUnprocessedInput { pub fn InkPresenter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InkPresenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5116,42 +5116,42 @@ impl PenAndInkSettings { pub fn IsHandwritingDirectlyIntoTextFieldEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHandwritingDirectlyIntoTextFieldEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PenHandedness(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PenHandedness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HandwritingLineHeight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HandwritingLineHeight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FontFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn UserConsentsToHandwritingTelemetryCollection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserConsentsToHandwritingTelemetryCollection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTouchHandwritingEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTouchHandwritingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5161,7 +5161,7 @@ impl PenAndInkSettings { } pub fn GetDefault() -> ::windows::core::Result { Self::IPenAndInkSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs index 2d7f164244..d8ed02e7b6 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs @@ -264,7 +264,7 @@ impl InjectedInputGamepadInfo { pub fn Buttons(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Buttons)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -277,7 +277,7 @@ impl InjectedInputGamepadInfo { pub fn LeftThumbstickX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeftThumbstickX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -288,7 +288,7 @@ impl InjectedInputGamepadInfo { pub fn LeftThumbstickY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeftThumbstickY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -299,7 +299,7 @@ impl InjectedInputGamepadInfo { pub fn LeftTrigger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeftTrigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -310,7 +310,7 @@ impl InjectedInputGamepadInfo { pub fn RightThumbstickX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightThumbstickX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -321,7 +321,7 @@ impl InjectedInputGamepadInfo { pub fn RightThumbstickY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightThumbstickY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -332,7 +332,7 @@ impl InjectedInputGamepadInfo { pub fn RightTrigger(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightTrigger)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -344,7 +344,7 @@ impl InjectedInputGamepadInfo { #[cfg(feature = "Gaming_Input")] pub fn CreateInstanceFromGamepadReading(reading: super::super::super::super::Gaming::Input::GamepadReading) -> ::windows::core::Result { Self::IInjectedInputGamepadInfoFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstanceFromGamepadReading)(::windows::core::Interface::as_raw(this), reading, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -493,7 +493,7 @@ impl InjectedInputKeyboardInfo { pub fn KeyOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -504,7 +504,7 @@ impl InjectedInputKeyboardInfo { pub fn ScanCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScanCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -515,7 +515,7 @@ impl InjectedInputKeyboardInfo { pub fn VirtualKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VirtualKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -598,7 +598,7 @@ impl InjectedInputMouseInfo { pub fn MouseOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MouseOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -609,7 +609,7 @@ impl InjectedInputMouseInfo { pub fn MouseData(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MouseData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -620,7 +620,7 @@ impl InjectedInputMouseInfo { pub fn DeltaY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeltaY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -631,7 +631,7 @@ impl InjectedInputMouseInfo { pub fn DeltaX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeltaX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -642,7 +642,7 @@ impl InjectedInputMouseInfo { pub fn TimeOffsetInMilliseconds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeOffsetInMilliseconds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -864,7 +864,7 @@ impl InjectedInputPenInfo { pub fn PointerInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -875,7 +875,7 @@ impl InjectedInputPenInfo { pub fn PenButtons(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PenButtons)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -886,7 +886,7 @@ impl InjectedInputPenInfo { pub fn PenParameters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PenParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -897,7 +897,7 @@ impl InjectedInputPenInfo { pub fn Pressure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -908,7 +908,7 @@ impl InjectedInputPenInfo { pub fn Rotation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rotation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -919,7 +919,7 @@ impl InjectedInputPenInfo { pub fn TiltX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TiltX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -930,7 +930,7 @@ impl InjectedInputPenInfo { pub fn TiltY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TiltY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1305,7 +1305,7 @@ impl InjectedInputTouchInfo { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1316,7 +1316,7 @@ impl InjectedInputTouchInfo { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1327,7 +1327,7 @@ impl InjectedInputTouchInfo { pub fn PointerInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1338,7 +1338,7 @@ impl InjectedInputTouchInfo { pub fn Pressure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1349,7 +1349,7 @@ impl InjectedInputTouchInfo { pub fn TouchParameters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TouchParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1595,13 +1595,13 @@ impl InputInjector { } pub fn TryCreate() -> ::windows::core::Result { Self::IInputInjectorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TryCreateForAppBroadcastOnly() -> ::windows::core::Result { Self::IInputInjectorStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateForAppBroadcastOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs index 57d3405b6e..8840baeed2 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs @@ -26,7 +26,7 @@ impl InputActivationListenerPreview { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::WindowManagement::AppWindow>>, { Self::IInputActivationListenerPreviewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForApplicationWindow)(::windows::core::Interface::as_raw(this), window.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs index 952062e279..561dcc013e 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs @@ -927,7 +927,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognitionStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -945,7 +945,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RecognitionEnded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -963,7 +963,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tapped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -981,7 +981,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -999,7 +999,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1017,7 +1017,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldCanceled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1035,7 +1035,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1053,7 +1053,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1071,7 +1071,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1089,7 +1089,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationCanceled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1107,7 +1107,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1125,7 +1125,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1143,7 +1143,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1161,7 +1161,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationCanceled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1185,20 +1185,20 @@ impl SpatialGestureRecognizer { pub fn TrySetGestureSettings(&self, settings: SpatialGestureSettings) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetGestureSettings)(::windows::core::Interface::as_raw(this), settings, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GestureSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GestureSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(settings: SpatialGestureSettings) -> ::windows::core::Result { Self::ISpatialGestureRecognizerFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), settings, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1348,7 +1348,7 @@ impl SpatialHoldCanceledEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1422,7 +1422,7 @@ impl SpatialHoldCompletedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1496,7 +1496,7 @@ impl SpatialHoldStartedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1508,7 +1508,7 @@ impl SpatialHoldStartedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetPointerPose)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1582,7 +1582,7 @@ impl SpatialInteraction { pub fn SourceState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1656,14 +1656,14 @@ impl SpatialInteractionController { pub fn HasTouchpad(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasTouchpad)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasThumbstick(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasThumbstick)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1672,28 +1672,28 @@ impl SpatialInteractionController { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn VendorId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VendorId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProductId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProductId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Version(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1702,7 +1702,7 @@ impl SpatialInteractionController { pub fn TryGetRenderableModelAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetRenderableModelAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1711,7 +1711,7 @@ impl SpatialInteractionController { pub fn TryGetBatteryReport(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBatteryReport)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1785,49 +1785,49 @@ impl SpatialInteractionControllerProperties { pub fn IsTouchpadTouched(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTouchpadTouched)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsTouchpadPressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsTouchpadPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsThumbstickPressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsThumbstickPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ThumbstickX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThumbstickX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ThumbstickY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThumbstickY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TouchpadX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TouchpadX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TouchpadY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TouchpadY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1901,7 +1901,7 @@ impl SpatialInteractionDetectedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1913,21 +1913,21 @@ impl SpatialInteractionDetectedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetPointerPose)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Interaction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Interaction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn InteractionSource(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSource)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2006,7 +2006,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceDetected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2024,7 +2024,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2042,7 +2042,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2060,7 +2060,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourcePressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2078,7 +2078,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2096,7 +2096,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionDetected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2114,19 +2114,19 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDetectedSourcesAtTimestamp)(::windows::core::Interface::as_raw(this), timestamp.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ISpatialInteractionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IsSourceKindSupported(kind: SpatialInteractionSourceKind) -> ::windows::core::Result { Self::ISpatialInteractionManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSourceKindSupported)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2248,42 +2248,42 @@ impl SpatialInteractionSource { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPointingSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPointingSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMenuSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMenuSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGraspSupported(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGraspSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Controller(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Controller)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2295,14 +2295,14 @@ impl SpatialInteractionSource { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetStateAtTimestamp)(::windows::core::Interface::as_raw(this), timestamp.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Handedness(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handedness)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2311,7 +2311,7 @@ impl SpatialInteractionSource { pub fn TryCreateHandMeshObserver(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateHandMeshObserver)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2320,7 +2320,7 @@ impl SpatialInteractionSource { pub fn TryCreateHandMeshObserverAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateHandMeshObserverAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2394,14 +2394,14 @@ impl SpatialInteractionSourceEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PressKind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PressKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2548,7 +2548,7 @@ impl SpatialInteractionSourceLocation { pub fn Position(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2557,7 +2557,7 @@ impl SpatialInteractionSourceLocation { pub fn Velocity(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Velocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2566,14 +2566,14 @@ impl SpatialInteractionSourceLocation { pub fn Orientation(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PositionAccuracy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionAccuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2582,14 +2582,14 @@ impl SpatialInteractionSourceLocation { pub fn AngularVelocity(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AngularVelocity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SourcePointerPose(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourcePointerPose)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2702,14 +2702,14 @@ impl SpatialInteractionSourceProperties { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetSourceLossMitigationDirection)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SourceLossRisk(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceLossRisk)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2721,7 +2721,7 @@ impl SpatialInteractionSourceProperties { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetLocation)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2795,21 +2795,21 @@ impl SpatialInteractionSourceState { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2818,7 +2818,7 @@ impl SpatialInteractionSourceState { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2830,42 +2830,42 @@ impl SpatialInteractionSourceState { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetPointerPose)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSelectPressed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSelectPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMenuPressed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMenuPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGrasped(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGrasped)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SelectPressedValue(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectPressedValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ControllerProperties(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControllerProperties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2874,7 +2874,7 @@ impl SpatialInteractionSourceState { pub fn TryGetHandPose(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetHandPose)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2948,7 +2948,7 @@ impl SpatialManipulationCanceledEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3022,7 +3022,7 @@ impl SpatialManipulationCompletedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3034,7 +3034,7 @@ impl SpatialManipulationCompletedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetCumulativeDelta)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3110,7 +3110,7 @@ impl SpatialManipulationDelta { pub fn Translation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Translation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3184,7 +3184,7 @@ impl SpatialManipulationStartedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3196,7 +3196,7 @@ impl SpatialManipulationStartedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetPointerPose)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3270,7 +3270,7 @@ impl SpatialManipulationUpdatedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3282,7 +3282,7 @@ impl SpatialManipulationUpdatedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetCumulativeDelta)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3356,7 +3356,7 @@ impl SpatialNavigationCanceledEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3430,7 +3430,7 @@ impl SpatialNavigationCompletedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3439,7 +3439,7 @@ impl SpatialNavigationCompletedEventArgs { pub fn NormalizedOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalizedOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3513,7 +3513,7 @@ impl SpatialNavigationStartedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3525,28 +3525,28 @@ impl SpatialNavigationStartedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetPointerPose)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsNavigatingX(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNavigatingX)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsNavigatingY(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNavigatingY)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsNavigatingZ(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNavigatingZ)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3620,7 +3620,7 @@ impl SpatialNavigationUpdatedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3629,7 +3629,7 @@ impl SpatialNavigationUpdatedEventArgs { pub fn NormalizedOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NormalizedOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3705,7 +3705,7 @@ impl SpatialPointerInteractionSourcePose { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3714,7 +3714,7 @@ impl SpatialPointerInteractionSourcePose { pub fn ForwardDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForwardDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3723,7 +3723,7 @@ impl SpatialPointerInteractionSourcePose { pub fn UpDirection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpDirection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3732,14 +3732,14 @@ impl SpatialPointerInteractionSourcePose { pub fn Orientation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PositionAccuracy(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PositionAccuracy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3815,7 +3815,7 @@ impl SpatialPointerPose { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3824,7 +3824,7 @@ impl SpatialPointerPose { pub fn Head(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Head)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3834,7 +3834,7 @@ impl SpatialPointerPose { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetInteractionSourcePose)(::windows::core::Interface::as_raw(this), source.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3843,14 +3843,14 @@ impl SpatialPointerPose { pub fn Eyes(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Eyes)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHeadCapturedBySystem(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHeadCapturedBySystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3862,7 +3862,7 @@ impl SpatialPointerPose { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Perception::PerceptionTimestamp>>, { Self::ISpatialPointerPoseStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAtTimestamp)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), timestamp.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3941,7 +3941,7 @@ impl SpatialRecognitionEndedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4015,7 +4015,7 @@ impl SpatialRecognitionStartedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4027,14 +4027,14 @@ impl SpatialRecognitionStartedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetPointerPose)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsGesturePossible(&self, gesture: SpatialGestureSettings) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsGesturePossible)(::windows::core::Interface::as_raw(this), gesture, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4108,7 +4108,7 @@ impl SpatialTappedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InteractionSourceKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4120,14 +4120,14 @@ impl SpatialTappedEventArgs { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetPointerPose)(::windows::core::Interface::as_raw(this), coordinatesystem.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TapCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TapCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Input/mod.rs b/crates/libs/windows/src/Windows/UI/Input/mod.rs index 3f657b576c..070efb65fd 100644 --- a/crates/libs/windows/src/Windows/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/mod.rs @@ -150,7 +150,7 @@ impl CrossSlidingEventArgs { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -159,21 +159,21 @@ impl CrossSlidingEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CrossSlidingState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CrossSlidingState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -286,7 +286,7 @@ impl DraggingEventArgs { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -295,21 +295,21 @@ impl DraggingEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DraggingState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DraggingState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -421,7 +421,7 @@ impl EdgeGesture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Starting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -439,7 +439,7 @@ impl EdgeGesture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Completed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -457,7 +457,7 @@ impl EdgeGesture { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Canceled)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -469,7 +469,7 @@ impl EdgeGesture { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IEdgeGestureStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -546,7 +546,7 @@ impl EdgeGestureEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -696,7 +696,7 @@ impl GestureRecognizer { pub fn GestureSettings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GestureSettings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -707,21 +707,21 @@ impl GestureRecognizer { pub fn IsInertial(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInertial)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsActive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsActive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ShowGestureFeedback(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowGestureFeedback)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -734,7 +734,7 @@ impl GestureRecognizer { pub fn PivotCenter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PivotCenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -747,7 +747,7 @@ impl GestureRecognizer { pub fn PivotRadius(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PivotRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -758,7 +758,7 @@ impl GestureRecognizer { pub fn InertiaTranslationDeceleration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InertiaTranslationDeceleration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -769,7 +769,7 @@ impl GestureRecognizer { pub fn InertiaRotationDeceleration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InertiaRotationDeceleration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -780,7 +780,7 @@ impl GestureRecognizer { pub fn InertiaExpansionDeceleration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InertiaExpansionDeceleration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -791,7 +791,7 @@ impl GestureRecognizer { pub fn InertiaTranslationDisplacement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InertiaTranslationDisplacement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -802,7 +802,7 @@ impl GestureRecognizer { pub fn InertiaRotationAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InertiaRotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -813,7 +813,7 @@ impl GestureRecognizer { pub fn InertiaExpansion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InertiaExpansion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -824,7 +824,7 @@ impl GestureRecognizer { pub fn ManipulationExact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationExact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -835,7 +835,7 @@ impl GestureRecognizer { pub fn CrossSlideThresholds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CrossSlideThresholds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -846,7 +846,7 @@ impl GestureRecognizer { pub fn CrossSlideHorizontally(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CrossSlideHorizontally)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -857,7 +857,7 @@ impl GestureRecognizer { pub fn CrossSlideExact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CrossSlideExact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -868,7 +868,7 @@ impl GestureRecognizer { pub fn AutoProcessInertia(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoProcessInertia)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -879,7 +879,7 @@ impl GestureRecognizer { pub fn MouseWheelParameters(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MouseWheelParameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -889,7 +889,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanBeDoubleTap)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -940,7 +940,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tapped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -958,7 +958,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightTapped)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -976,7 +976,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Holding)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -994,7 +994,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dragging)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1012,7 +1012,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1030,7 +1030,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationUpdated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1048,7 +1048,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationInertiaStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1066,7 +1066,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ManipulationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1084,7 +1084,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CrossSliding)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1097,7 +1097,7 @@ impl GestureRecognizer { pub fn TapMinContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TapMinContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1108,7 +1108,7 @@ impl GestureRecognizer { pub fn TapMaxContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TapMaxContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1119,7 +1119,7 @@ impl GestureRecognizer { pub fn HoldMinContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldMinContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1130,7 +1130,7 @@ impl GestureRecognizer { pub fn HoldMaxContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldMaxContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1141,7 +1141,7 @@ impl GestureRecognizer { pub fn HoldRadius(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldRadius)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1154,7 +1154,7 @@ impl GestureRecognizer { pub fn HoldStartDelay(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldStartDelay)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1167,7 +1167,7 @@ impl GestureRecognizer { pub fn TranslationMinContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TranslationMinContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1178,7 +1178,7 @@ impl GestureRecognizer { pub fn TranslationMaxContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TranslationMaxContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1334,7 +1334,7 @@ impl HoldingEventArgs { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1343,28 +1343,28 @@ impl HoldingEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HoldingState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HoldingState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2215,7 +2215,7 @@ impl IPointerPointTransform { pub fn Inverse(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Inverse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2224,7 +2224,7 @@ impl IPointerPointTransform { pub fn TryTransform(&self, inpoint: super::super::Foundation::Point, outpoint: &mut super::super::Foundation::Point) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryTransform)(::windows::core::Interface::as_raw(this), inpoint, outpoint, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2233,7 +2233,7 @@ impl IPointerPointTransform { pub fn TransformBounds(&self, rect: super::super::Foundation::Rect) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransformBounds)(::windows::core::Interface::as_raw(this), rect, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3027,7 +3027,7 @@ impl InputActivationListener { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3039,7 +3039,7 @@ impl InputActivationListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputActivationChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3156,7 +3156,7 @@ impl InputActivationListenerActivationChangedEventArgs { pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3266,7 +3266,7 @@ impl KeyboardDeliveryInterceptor { pub fn IsInterceptionEnabledWhenInForeground(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInterceptionEnabledWhenInForeground)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3282,7 +3282,7 @@ impl KeyboardDeliveryInterceptor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyDown)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3300,7 +3300,7 @@ impl KeyboardDeliveryInterceptor { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyUp)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3312,7 +3312,7 @@ impl KeyboardDeliveryInterceptor { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IKeyboardDeliveryInterceptorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3393,7 +3393,7 @@ impl ManipulationCompletedEventArgs { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3402,7 +3402,7 @@ impl ManipulationCompletedEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3411,7 +3411,7 @@ impl ManipulationCompletedEventArgs { pub fn Cumulative(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cumulative)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3420,21 +3420,21 @@ impl ManipulationCompletedEventArgs { pub fn Velocities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Velocities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3557,7 +3557,7 @@ impl ManipulationInertiaStartingEventArgs { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3566,7 +3566,7 @@ impl ManipulationInertiaStartingEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3575,7 +3575,7 @@ impl ManipulationInertiaStartingEventArgs { pub fn Delta(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delta)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3584,7 +3584,7 @@ impl ManipulationInertiaStartingEventArgs { pub fn Cumulative(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cumulative)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3593,14 +3593,14 @@ impl ManipulationInertiaStartingEventArgs { pub fn Velocities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Velocities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3674,7 +3674,7 @@ impl ManipulationStartedEventArgs { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3683,7 +3683,7 @@ impl ManipulationStartedEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3692,14 +3692,14 @@ impl ManipulationStartedEventArgs { pub fn Cumulative(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cumulative)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3773,7 +3773,7 @@ impl ManipulationUpdatedEventArgs { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3782,7 +3782,7 @@ impl ManipulationUpdatedEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3791,7 +3791,7 @@ impl ManipulationUpdatedEventArgs { pub fn Delta(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delta)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3800,7 +3800,7 @@ impl ManipulationUpdatedEventArgs { pub fn Cumulative(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cumulative)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3809,21 +3809,21 @@ impl ManipulationUpdatedEventArgs { pub fn Velocities(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Velocities)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CurrentContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3945,7 +3945,7 @@ impl MouseWheelParameters { pub fn CharTranslation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharTranslation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3958,7 +3958,7 @@ impl MouseWheelParameters { pub fn DeltaScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeltaScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3969,7 +3969,7 @@ impl MouseWheelParameters { pub fn DeltaRotationAngle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeltaRotationAngle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3982,7 +3982,7 @@ impl MouseWheelParameters { pub fn PageTranslation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageTranslation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4062,7 +4062,7 @@ impl PointerPoint { pub fn PointerDevice(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDevice)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4071,7 +4071,7 @@ impl PointerPoint { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4080,48 +4080,48 @@ impl PointerPoint { pub fn RawPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RawPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PointerId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FrameId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInContact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInContact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Properties(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetCurrentPoint(pointerid: u32) -> ::windows::core::Result { Self::IPointerPointStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentPoint)(::windows::core::Interface::as_raw(this), pointerid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4129,7 +4129,7 @@ impl PointerPoint { #[cfg(feature = "Foundation_Collections")] pub fn GetIntermediatePoints(pointerid: u32) -> ::windows::core::Result> { Self::IPointerPointStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIntermediatePoints)(::windows::core::Interface::as_raw(this), pointerid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4139,7 +4139,7 @@ impl PointerPoint { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPointerPointStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCurrentPointTransformed)(::windows::core::Interface::as_raw(this), pointerid, transform.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4151,7 +4151,7 @@ impl PointerPoint { E0: ::std::convert::Into<::windows::core::Error>, { Self::IPointerPointStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIntermediatePointsTransformed)(::windows::core::Interface::as_raw(this), pointerid, transform.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -4228,49 +4228,49 @@ impl PointerPointProperties { pub fn Pressure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pressure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInverted(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInverted)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsEraser(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEraser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn XTilt(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XTilt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn YTilt(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YTilt)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Twist(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Twist)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4279,7 +4279,7 @@ impl PointerPointProperties { pub fn ContactRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4288,112 +4288,112 @@ impl PointerPointProperties { pub fn ContactRectRaw(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactRectRaw)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TouchConfidence(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TouchConfidence)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsLeftButtonPressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLeftButtonPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsRightButtonPressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRightButtonPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsMiddleButtonPressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMiddleButtonPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MouseWheelDelta(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MouseWheelDelta)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsHorizontalMouseWheel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsHorizontalMouseWheel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPrimary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrimary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsInRange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsInRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsBarrelButtonPressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBarrelButtonPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsXButton1Pressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsXButton1Pressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsXButton2Pressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsXButton2Pressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PointerUpdateKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerUpdateKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasUsage(&self, usagepage: u32, usageid: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasUsage)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUsageValue(&self, usagepage: u32, usageid: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUsageValue)(::windows::core::Interface::as_raw(this), usagepage, usageid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4402,7 +4402,7 @@ impl PointerPointProperties { pub fn ZDistance(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ZDistance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4521,7 +4521,7 @@ impl PointerVisualizationSettings { pub fn IsContactFeedbackEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsContactFeedbackEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4532,13 +4532,13 @@ impl PointerVisualizationSettings { pub fn IsBarrelButtonFeedbackEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsBarrelButtonFeedbackEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IPointerVisualizationSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4617,14 +4617,14 @@ impl RadialController { pub fn Menu(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Menu)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RotationResolutionInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationResolutionInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4635,7 +4635,7 @@ impl RadialController { pub fn UseAutomaticHapticFeedback(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UseAutomaticHapticFeedback)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4651,7 +4651,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenContactStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4669,7 +4669,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenContactEnded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4687,7 +4687,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScreenContactContinued)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4705,7 +4705,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlLost)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4723,7 +4723,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4741,7 +4741,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonClicked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4759,7 +4759,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlAcquired)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4777,7 +4777,7 @@ impl RadialController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4795,7 +4795,7 @@ impl RadialController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonHolding)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4813,7 +4813,7 @@ impl RadialController { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4825,13 +4825,13 @@ impl RadialController { } pub fn IsSupported() -> ::windows::core::Result { Self::IRadialControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateForCurrentView() -> ::windows::core::Result { Self::IRadialControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4910,7 +4910,7 @@ impl RadialControllerButtonClickedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4919,7 +4919,7 @@ impl RadialControllerButtonClickedEventArgs { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4993,7 +4993,7 @@ impl RadialControllerButtonHoldingEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5002,7 +5002,7 @@ impl RadialControllerButtonHoldingEventArgs { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5076,7 +5076,7 @@ impl RadialControllerButtonPressedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5085,7 +5085,7 @@ impl RadialControllerButtonPressedEventArgs { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5159,7 +5159,7 @@ impl RadialControllerButtonReleasedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5168,7 +5168,7 @@ impl RadialControllerButtonReleasedEventArgs { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5256,7 +5256,7 @@ impl RadialControllerConfiguration { pub fn TrySelectDefaultMenuItem(&self, r#type: RadialControllerSystemMenuItemKind) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySelectDefaultMenuItem)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5270,7 +5270,7 @@ impl RadialControllerConfiguration { pub fn ActiveControllerWhenMenuIsSuppressed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActiveControllerWhenMenuIsSuppressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5281,13 +5281,13 @@ impl RadialControllerConfiguration { pub fn IsMenuSuppressed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsMenuSuppressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IRadialControllerConfigurationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5299,7 +5299,7 @@ impl RadialControllerConfiguration { } pub fn AppController() -> ::windows::core::Result { Self::IRadialControllerConfigurationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5308,7 +5308,7 @@ impl RadialControllerConfiguration { } pub fn IsAppControllerEnabled() -> ::windows::core::Result { Self::IRadialControllerConfigurationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAppControllerEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5392,14 +5392,14 @@ impl RadialControllerControlAcquiredEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsButtonPressed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsButtonPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5408,7 +5408,7 @@ impl RadialControllerControlAcquiredEventArgs { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5484,14 +5484,14 @@ impl RadialControllerMenu { pub fn Items(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5502,7 +5502,7 @@ impl RadialControllerMenu { pub fn GetSelectedMenuItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSelectedMenuItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5516,7 +5516,7 @@ impl RadialControllerMenu { pub fn TrySelectPreviouslySelectedMenuItem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySelectPreviouslySelectedMenuItem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5590,14 +5590,14 @@ impl RadialControllerMenuItem { pub fn DisplayText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Tag(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -5616,7 +5616,7 @@ impl RadialControllerMenuItem { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invoked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5634,7 +5634,7 @@ impl RadialControllerMenuItem { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Streams::RandomAccessStreamReference>>, { Self::IRadialControllerMenuItemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromIcon)(::windows::core::Interface::as_raw(this), displaytext.into().abi(), icon.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5643,7 +5643,7 @@ impl RadialControllerMenuItem { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRadialControllerMenuItemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromKnownIcon)(::windows::core::Interface::as_raw(this), displaytext.into().abi(), value, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5654,7 +5654,7 @@ impl RadialControllerMenuItem { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRadialControllerMenuItemStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromFontGlyph)(::windows::core::Interface::as_raw(this), displaytext.into().abi(), glyph.into().abi(), fontfamily.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5668,7 +5668,7 @@ impl RadialControllerMenuItem { P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IRadialControllerMenuItemStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromFontGlyphWithUri)(::windows::core::Interface::as_raw(this), displaytext.into().abi(), glyph.into().abi(), fontfamily.into().abi(), fonturi.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5793,21 +5793,21 @@ impl RadialControllerRotationChangedEventArgs { pub fn RotationDeltaInDegrees(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RotationDeltaInDegrees)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsButtonPressed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsButtonPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5816,7 +5816,7 @@ impl RadialControllerRotationChangedEventArgs { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5892,7 +5892,7 @@ impl RadialControllerScreenContact { pub fn Bounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5901,7 +5901,7 @@ impl RadialControllerScreenContact { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5975,14 +5975,14 @@ impl RadialControllerScreenContactContinuedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsButtonPressed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsButtonPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5991,7 +5991,7 @@ impl RadialControllerScreenContactContinuedEventArgs { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6065,7 +6065,7 @@ impl RadialControllerScreenContactEndedEventArgs { pub fn IsButtonPressed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsButtonPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6074,7 +6074,7 @@ impl RadialControllerScreenContactEndedEventArgs { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6148,14 +6148,14 @@ impl RadialControllerScreenContactStartedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsButtonPressed(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsButtonPressed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6164,7 +6164,7 @@ impl RadialControllerScreenContactStartedEventArgs { pub fn SimpleHapticsController(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SimpleHapticsController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6277,7 +6277,7 @@ impl RightTappedEventArgs { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6286,14 +6286,14 @@ impl RightTappedEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6376,7 +6376,7 @@ impl SystemButtonEventController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemFunctionButtonPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6394,7 +6394,7 @@ impl SystemButtonEventController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemFunctionButtonReleased)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6412,7 +6412,7 @@ impl SystemButtonEventController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemFunctionLockChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6430,7 +6430,7 @@ impl SystemButtonEventController { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemFunctionLockIndicatorChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6447,7 +6447,7 @@ impl SystemButtonEventController { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::DispatcherQueue>>, { Self::ISystemButtonEventControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForDispatcherQueue)(::windows::core::Interface::as_raw(this), queue.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6563,14 +6563,14 @@ impl SystemFunctionButtonEventArgs { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6648,21 +6648,21 @@ impl SystemFunctionLockChangedEventArgs { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsLocked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsLocked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6740,21 +6740,21 @@ impl SystemFunctionLockIndicatorChangedEventArgs { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsIndicatorOn(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIndicatorOn)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6834,7 +6834,7 @@ impl TappedEventArgs { pub fn PointerDeviceType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PointerDeviceType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6843,21 +6843,21 @@ impl TappedEventArgs { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TapCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TapCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContactCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs index ac5bc06bd4..a2cd29e778 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs @@ -52,14 +52,14 @@ impl UserNotificationListener { pub fn RequestAccessAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAccessAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetAccessStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAccessStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -71,7 +71,7 @@ impl UserNotificationListener { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotificationChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -86,14 +86,14 @@ impl UserNotificationListener { pub fn GetNotificationsAsync(&self, kinds: super::NotificationKinds) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNotificationsAsync)(::windows::core::Interface::as_raw(this), kinds, result__.as_mut_ptr()).from_abi::>>(result__) } } pub fn GetNotification(&self, notificationid: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetNotification)(::windows::core::Interface::as_raw(this), notificationid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -107,7 +107,7 @@ impl UserNotificationListener { } pub fn Current() -> ::windows::core::Result { Self::IUserNotificationListenerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs index b1e3671ef3..ab54d80188 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs @@ -47,7 +47,7 @@ impl AdaptiveNotificationText { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -56,14 +56,14 @@ impl AdaptiveNotificationText { pub fn Hints(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -77,7 +77,7 @@ impl AdaptiveNotificationText { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -179,7 +179,7 @@ impl BadgeNotification { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -198,7 +198,7 @@ impl BadgeNotification { pub fn ExpirationTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -209,7 +209,7 @@ impl BadgeNotification { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::Dom::XmlDocument>>, { Self::IBadgeNotificationFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBadgeNotification)(::windows::core::Interface::as_raw(this), content.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -320,7 +320,7 @@ pub struct BadgeUpdateManager; impl BadgeUpdateManager { pub fn CreateBadgeUpdaterForApplication() -> ::windows::core::Result { Self::IBadgeUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBadgeUpdaterForApplication)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -329,7 +329,7 @@ impl BadgeUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBadgeUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBadgeUpdaterForApplicationWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -338,7 +338,7 @@ impl BadgeUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IBadgeUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBadgeUpdaterForSecondaryTile)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -346,7 +346,7 @@ impl BadgeUpdateManager { #[cfg(feature = "Data_Xml_Dom")] pub fn GetTemplateContent(r#type: BadgeTemplateType) -> ::windows::core::Result { Self::IBadgeUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTemplateContent)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -357,7 +357,7 @@ impl BadgeUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IBadgeUpdateManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -382,7 +382,7 @@ impl BadgeUpdateManagerForUser { pub fn CreateBadgeUpdaterForApplication(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBadgeUpdaterForApplication)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -392,7 +392,7 @@ impl BadgeUpdateManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBadgeUpdaterForApplicationWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -402,7 +402,7 @@ impl BadgeUpdateManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBadgeUpdaterForSecondaryTile)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -411,7 +411,7 @@ impl BadgeUpdateManagerForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -585,7 +585,7 @@ impl IAdaptiveNotificationContent { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -594,7 +594,7 @@ impl IAdaptiveNotificationContent { pub fn Hints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1919,37 +1919,37 @@ pub struct KnownAdaptiveNotificationHints; impl KnownAdaptiveNotificationHints { pub fn Style() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Style)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Wrap() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wrap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MaxLines() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxLines)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn MinLines() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinLines)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TextStacking() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextStacking)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Align() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Align)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -1967,115 +1967,115 @@ pub struct KnownAdaptiveNotificationTextStyles; impl KnownAdaptiveNotificationTextStyles { pub fn Caption() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Caption)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Body() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Body)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Base() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Base)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Subtitle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Title() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Subheader() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subheader)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn Header() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Header)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TitleNumeral() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TitleNumeral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SubheaderNumeral() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubheaderNumeral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HeaderNumeral() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderNumeral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn CaptionSubtle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptionSubtle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BodySubtle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BodySubtle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn BaseSubtle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseSubtle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SubtitleSubtle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubtitleSubtle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn TitleSubtle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TitleSubtle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SubheaderSubtle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubheaderSubtle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn SubheaderNumeralSubtle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SubheaderNumeralSubtle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HeaderSubtle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderSubtle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } pub fn HeaderNumeralSubtle() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HeaderNumeralSubtle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2093,7 +2093,7 @@ pub struct KnownNotificationBindings; impl KnownNotificationBindings { pub fn ToastGeneric() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IKnownNotificationBindingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToastGeneric)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2122,7 +2122,7 @@ impl Notification { pub fn ExpirationTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2139,7 +2139,7 @@ impl Notification { pub fn Visual(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visual)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2220,7 +2220,7 @@ impl NotificationBinding { pub fn Template(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Template)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2234,7 +2234,7 @@ impl NotificationBinding { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2250,7 +2250,7 @@ impl NotificationBinding { pub fn Hints(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hints)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2259,7 +2259,7 @@ impl NotificationBinding { pub fn GetTextElements(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTextElements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2342,14 +2342,14 @@ impl NotificationData { pub fn Values(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Values)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SequenceNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SequenceNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2365,7 +2365,7 @@ impl NotificationData { E0: ::std::convert::Into<::windows::core::Error>, { Self::INotificationDataFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNotificationDataWithValuesAndSequenceNumber)(::windows::core::Interface::as_raw(this), initialvalues.try_into().map_err(|e| e.into())?.abi(), sequencenumber, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2377,7 +2377,7 @@ impl NotificationData { E0: ::std::convert::Into<::windows::core::Error>, { Self::INotificationDataFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateNotificationDataWithValues)(::windows::core::Interface::as_raw(this), initialvalues.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2624,7 +2624,7 @@ impl NotificationVisual { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2640,7 +2640,7 @@ impl NotificationVisual { pub fn Bindings(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bindings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2650,7 +2650,7 @@ impl NotificationVisual { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBinding)(::windows::core::Interface::as_raw(this), templatename.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2763,7 +2763,7 @@ impl ScheduledTileNotification { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2772,7 +2772,7 @@ impl ScheduledTileNotification { pub fn DeliveryTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeliveryTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2791,7 +2791,7 @@ impl ScheduledTileNotification { pub fn ExpirationTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2805,7 +2805,7 @@ impl ScheduledTileNotification { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2819,7 +2819,7 @@ impl ScheduledTileNotification { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2830,7 +2830,7 @@ impl ScheduledTileNotification { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::Dom::XmlDocument>>, { Self::IScheduledTileNotificationFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateScheduledTileNotification)(::windows::core::Interface::as_raw(this), content.into().abi(), deliverytime, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2911,7 +2911,7 @@ impl ScheduledToastNotification { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2920,7 +2920,7 @@ impl ScheduledToastNotification { pub fn DeliveryTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeliveryTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2929,14 +2929,14 @@ impl ScheduledToastNotification { pub fn SnoozeInterval(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SnoozeInterval)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaximumSnoozeCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaximumSnoozeCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2950,7 +2950,7 @@ impl ScheduledToastNotification { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2964,7 +2964,7 @@ impl ScheduledToastNotification { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2978,7 +2978,7 @@ impl ScheduledToastNotification { pub fn Group(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Group)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2989,14 +2989,14 @@ impl ScheduledToastNotification { pub fn SuppressPopup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuppressPopup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NotificationMirroring(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotificationMirroring)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3007,7 +3007,7 @@ impl ScheduledToastNotification { pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3023,7 +3023,7 @@ impl ScheduledToastNotification { pub fn ExpirationTime(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3044,7 +3044,7 @@ impl ScheduledToastNotification { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::Dom::XmlDocument>>, { Self::IScheduledToastNotificationFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateScheduledToastNotification)(::windows::core::Interface::as_raw(this), content.into().abi(), deliverytime, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3055,7 +3055,7 @@ impl ScheduledToastNotification { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::Dom::XmlDocument>>, { Self::IScheduledToastNotificationFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateScheduledToastNotificationRecurring)(::windows::core::Interface::as_raw(this), content.into().abi(), deliverytime, snoozeinterval, maximumsnoozecount, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3134,7 +3134,7 @@ impl ScheduledToastNotificationShowingEventArgs { pub fn Cancel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cancel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3145,7 +3145,7 @@ impl ScheduledToastNotificationShowingEventArgs { pub fn ScheduledToastNotification(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScheduledToastNotification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3154,7 +3154,7 @@ impl ScheduledToastNotificationShowingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3228,7 +3228,7 @@ impl ShownTileNotification { pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3304,7 +3304,7 @@ impl TileFlyoutNotification { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3323,7 +3323,7 @@ impl TileFlyoutNotification { pub fn ExpirationTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3334,7 +3334,7 @@ impl TileFlyoutNotification { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::Dom::XmlDocument>>, { Self::ITileFlyoutNotificationFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileFlyoutNotification)(::windows::core::Interface::as_raw(this), content.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3444,7 +3444,7 @@ pub struct TileFlyoutUpdateManager; impl TileFlyoutUpdateManager { pub fn CreateTileFlyoutUpdaterForApplication() -> ::windows::core::Result { Self::ITileFlyoutUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileFlyoutUpdaterForApplication)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3453,7 +3453,7 @@ impl TileFlyoutUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITileFlyoutUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileFlyoutUpdaterForApplicationWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3462,7 +3462,7 @@ impl TileFlyoutUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITileFlyoutUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileFlyoutUpdaterForSecondaryTile)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3470,7 +3470,7 @@ impl TileFlyoutUpdateManager { #[cfg(feature = "Data_Xml_Dom")] pub fn GetTemplateContent(r#type: TileFlyoutTemplateType) -> ::windows::core::Result { Self::ITileFlyoutUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTemplateContent)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3523,7 +3523,7 @@ impl TileFlyoutUpdater { pub fn Setting(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Setting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3597,7 +3597,7 @@ impl TileNotification { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3616,7 +3616,7 @@ impl TileNotification { pub fn ExpirationTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3630,7 +3630,7 @@ impl TileNotification { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3641,7 +3641,7 @@ impl TileNotification { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::Dom::XmlDocument>>, { Self::ITileNotificationFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileNotification)(::windows::core::Interface::as_raw(this), content.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3876,7 +3876,7 @@ pub struct TileUpdateManager; impl TileUpdateManager { pub fn CreateTileUpdaterForApplication() -> ::windows::core::Result { Self::ITileUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileUpdaterForApplication)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3885,7 +3885,7 @@ impl TileUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITileUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileUpdaterForApplicationWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3894,7 +3894,7 @@ impl TileUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ITileUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileUpdaterForSecondaryTile)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3902,7 +3902,7 @@ impl TileUpdateManager { #[cfg(feature = "Data_Xml_Dom")] pub fn GetTemplateContent(r#type: TileTemplateType) -> ::windows::core::Result { Self::ITileUpdateManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTemplateContent)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3913,7 +3913,7 @@ impl TileUpdateManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::ITileUpdateManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3938,7 +3938,7 @@ impl TileUpdateManagerForUser { pub fn CreateTileUpdaterForApplication(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileUpdaterForApplication)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3948,7 +3948,7 @@ impl TileUpdateManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileUpdaterForApplicationWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3958,7 +3958,7 @@ impl TileUpdateManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTileUpdaterForSecondaryTile)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3967,7 +3967,7 @@ impl TileUpdateManagerForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4056,7 +4056,7 @@ impl TileUpdater { pub fn Setting(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Setting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4079,7 +4079,7 @@ impl TileUpdater { pub fn GetScheduledTileNotifications(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScheduledTileNotifications)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4207,7 +4207,7 @@ impl ToastActivatedEventArgs { pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4216,7 +4216,7 @@ impl ToastActivatedEventArgs { pub fn UserInput(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4288,14 +4288,14 @@ impl ToastCollection { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4309,7 +4309,7 @@ impl ToastCollection { pub fn LaunchArgs(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LaunchArgs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4325,7 +4325,7 @@ impl ToastCollection { pub fn Icon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Icon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4348,7 +4348,7 @@ impl ToastCollection { P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IToastCollectionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), collectionid.into().abi(), displayname.into().abi(), launchargs.into().abi(), iconuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4432,7 +4432,7 @@ impl ToastCollectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveToastCollectionAsync)(::windows::core::Interface::as_raw(this), collection.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4441,7 +4441,7 @@ impl ToastCollectionManager { pub fn FindAllToastCollectionsAsync(&self) -> ::windows::core::Result>> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllToastCollectionsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -4453,7 +4453,7 @@ impl ToastCollectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetToastCollectionAsync)(::windows::core::Interface::as_raw(this), collectionid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4465,7 +4465,7 @@ impl ToastCollectionManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveToastCollectionAsync)(::windows::core::Interface::as_raw(this), collectionid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4474,7 +4474,7 @@ impl ToastCollectionManager { pub fn RemoveAllToastCollectionsAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveAllToastCollectionsAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4483,14 +4483,14 @@ impl ToastCollectionManager { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4599,7 +4599,7 @@ impl ToastDismissedEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4673,7 +4673,7 @@ impl ToastFailedEventArgs { pub fn ErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } @@ -4785,7 +4785,7 @@ impl ToastNotification { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4804,7 +4804,7 @@ impl ToastNotification { pub fn ExpirationTime(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpirationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4816,7 +4816,7 @@ impl ToastNotification { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Dismissed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4834,7 +4834,7 @@ impl ToastNotification { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Activated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4852,7 +4852,7 @@ impl ToastNotification { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Failed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4872,7 +4872,7 @@ impl ToastNotification { pub fn Tag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4886,7 +4886,7 @@ impl ToastNotification { pub fn Group(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Group)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4897,14 +4897,14 @@ impl ToastNotification { pub fn SuppressPopup(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuppressPopup)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn NotificationMirroring(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotificationMirroring)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4915,7 +4915,7 @@ impl ToastNotification { pub fn RemoteId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4929,7 +4929,7 @@ impl ToastNotification { pub fn Data(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4943,7 +4943,7 @@ impl ToastNotification { pub fn Priority(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Priority)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4954,7 +4954,7 @@ impl ToastNotification { pub fn ExpiresOnReboot(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExpiresOnReboot)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4969,7 +4969,7 @@ impl ToastNotification { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::Dom::XmlDocument>>, { Self::IToastNotificationFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateToastNotification)(::windows::core::Interface::as_raw(this), content.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5048,7 +5048,7 @@ impl ToastNotificationActionTriggerDetail { pub fn Argument(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Argument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5057,7 +5057,7 @@ impl ToastNotificationActionTriggerDetail { pub fn UserInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5181,7 +5181,7 @@ impl ToastNotificationHistory { pub fn GetHistory(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHistory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5193,7 +5193,7 @@ impl ToastNotificationHistory { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHistoryWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5265,14 +5265,14 @@ impl ToastNotificationHistoryChangedTriggerDetail { pub fn ChangeType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CollectionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CollectionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5342,7 +5342,7 @@ pub struct ToastNotificationManager; impl ToastNotificationManager { pub fn CreateToastNotifier() -> ::windows::core::Result { Self::IToastNotificationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateToastNotifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5351,7 +5351,7 @@ impl ToastNotificationManager { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IToastNotificationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateToastNotifierWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5359,13 +5359,13 @@ impl ToastNotificationManager { #[cfg(feature = "Data_Xml_Dom")] pub fn GetTemplateContent(r#type: ToastTemplateType) -> ::windows::core::Result { Self::IToastNotificationManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTemplateContent)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn History() -> ::windows::core::Result { Self::IToastNotificationManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).History)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5376,7 +5376,7 @@ impl ToastNotificationManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IToastNotificationManagerStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5385,7 +5385,7 @@ impl ToastNotificationManager { } pub fn GetDefault() -> ::windows::core::Result { Self::IToastNotificationManagerStatics5(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5420,7 +5420,7 @@ impl ToastNotificationManagerForUser { pub fn CreateToastNotifier(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateToastNotifier)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5430,14 +5430,14 @@ impl ToastNotificationManagerForUser { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateToastNotifierWithId)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn History(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).History)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5446,7 +5446,7 @@ impl ToastNotificationManagerForUser { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5458,7 +5458,7 @@ impl ToastNotificationManagerForUser { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetToastNotifierForToastCollectionIdAsync)(::windows::core::Interface::as_raw(this), collectionid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5470,14 +5470,14 @@ impl ToastNotificationManagerForUser { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetHistoryForToastCollectionIdAsync)(::windows::core::Interface::as_raw(this), collectionid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetToastCollectionManager(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetToastCollectionManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5487,7 +5487,7 @@ impl ToastNotificationManagerForUser { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetToastCollectionManagerWithAppId)(::windows::core::Interface::as_raw(this), appid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5609,7 +5609,7 @@ impl ToastNotifier { pub fn Setting(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Setting)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5632,7 +5632,7 @@ impl ToastNotifier { pub fn GetScheduledToastNotifications(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetScheduledToastNotifications)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5644,7 +5644,7 @@ impl ToastNotifier { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateWithTagAndGroup)(::windows::core::Interface::as_raw(this), data.into().abi(), tag.into().abi(), group.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5655,7 +5655,7 @@ impl ToastNotifier { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateWithTag)(::windows::core::Interface::as_raw(this), data.into().abi(), tag.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5667,7 +5667,7 @@ impl ToastNotifier { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScheduledToastNotificationShowing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5787,7 +5787,7 @@ impl UserNotification { pub fn Notification(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Notification)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5796,14 +5796,14 @@ impl UserNotification { pub fn AppInfo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5812,7 +5812,7 @@ impl UserNotification { pub fn CreationTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreationTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5886,14 +5886,14 @@ impl UserNotificationChangedEventArgs { pub fn ChangeKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ChangeKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UserNotificationId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserNotificationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index ec62b25925..18b259de57 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -77,7 +77,7 @@ impl IUICommand { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -91,7 +91,7 @@ impl IUICommand { pub fn Invoked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invoked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -105,7 +105,7 @@ impl IUICommand { pub fn Id(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -207,7 +207,7 @@ impl MessageDialog { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -223,14 +223,14 @@ impl MessageDialog { pub fn Commands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Commands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn DefaultCommandIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultCommandIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -241,7 +241,7 @@ impl MessageDialog { pub fn CancelCommandIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CancelCommandIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -252,7 +252,7 @@ impl MessageDialog { pub fn Content(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -268,14 +268,14 @@ impl MessageDialog { pub fn ShowAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Options(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -288,7 +288,7 @@ impl MessageDialog { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMessageDialogFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), content.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -298,7 +298,7 @@ impl MessageDialog { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IMessageDialogFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithTitle)(::windows::core::Interface::as_raw(this), content.into().abi(), title.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -483,7 +483,7 @@ impl PopupMenu { pub fn Commands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Commands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -492,7 +492,7 @@ impl PopupMenu { pub fn ShowAsync(&self, invocationpoint: super::super::Foundation::Point) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsync)(::windows::core::Interface::as_raw(this), invocationpoint, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -501,7 +501,7 @@ impl PopupMenu { pub fn ShowAsyncWithRect(&self, selection: super::super::Foundation::Rect) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsyncWithRect)(::windows::core::Interface::as_raw(this), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -510,7 +510,7 @@ impl PopupMenu { pub fn ShowAsyncWithRectAndPlacement(&self, selection: super::super::Foundation::Rect, preferredplacement: Placement) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsyncWithRectAndPlacement)(::windows::core::Interface::as_raw(this), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -589,7 +589,7 @@ impl UICommand { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -603,7 +603,7 @@ impl UICommand { pub fn Invoked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invoked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -617,7 +617,7 @@ impl UICommand { pub fn Id(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -633,7 +633,7 @@ impl UICommand { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IUICommandFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), label.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -643,7 +643,7 @@ impl UICommand { P1: ::std::convert::Into<::windows::core::InParam<'a, UICommandInvokedHandler>>, { Self::IUICommandFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithHandler)(::windows::core::Interface::as_raw(this), label.into().abi(), action.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -654,7 +654,7 @@ impl UICommand { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IInspectable>>, { Self::IUICommandFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithHandlerAndId)(::windows::core::Interface::as_raw(this), label.into().abi(), action.into().abi(), commandid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -847,7 +847,7 @@ impl UICommandSeparator { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -861,7 +861,7 @@ impl UICommandSeparator { pub fn Invoked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Invoked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -875,7 +875,7 @@ impl UICommandSeparator { pub fn Id(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/UI/Shell/mod.rs index 4096762271..aeb8734c81 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/mod.rs @@ -6,7 +6,7 @@ impl AdaptiveCardBuilder { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IAdaptiveCardBuilderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAdaptiveCardFromJson)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -26,7 +26,7 @@ impl IAdaptiveCard { pub fn ToJson(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToJson)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -104,7 +104,7 @@ impl IAdaptiveCardBuilderStatics { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAdaptiveCardFromJson)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -372,7 +372,7 @@ impl SecurityAppManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Register)(::windows::core::Interface::as_raw(this), kind, displayname.into().abi(), detailsuri.into().abi(), registerperuser, result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -564,14 +564,14 @@ impl ShareWindowCommandEventArgs { pub fn WindowId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Command(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Command)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -666,7 +666,7 @@ impl ShareWindowCommandSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -684,7 +684,7 @@ impl ShareWindowCommandSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommandInvoked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -696,7 +696,7 @@ impl ShareWindowCommandSource { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IShareWindowCommandSourceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -775,14 +775,14 @@ impl TaskbarManager { pub fn IsSupported(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPinningAllowed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPinningAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -791,7 +791,7 @@ impl TaskbarManager { pub fn IsCurrentAppPinnedAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCurrentAppPinnedAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -803,7 +803,7 @@ impl TaskbarManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAppListEntryPinnedAsync)(::windows::core::Interface::as_raw(this), applistentry.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -812,7 +812,7 @@ impl TaskbarManager { pub fn RequestPinCurrentAppAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPinCurrentAppAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -824,7 +824,7 @@ impl TaskbarManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPinAppListEntryAsync)(::windows::core::Interface::as_raw(this), applistentry.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -836,7 +836,7 @@ impl TaskbarManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSecondaryTilePinnedAsync)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -848,7 +848,7 @@ impl TaskbarManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPinSecondaryTileAsync)(::windows::core::Interface::as_raw(this), secondarytile.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -860,13 +860,13 @@ impl TaskbarManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUnpinSecondaryTileAsync)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::ITaskbarManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs index da7bb655f3..3086b41f23 100644 --- a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs @@ -600,14 +600,14 @@ impl JumpList { pub fn Items(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SystemGroupKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SystemGroupKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -620,7 +620,7 @@ impl JumpList { pub fn SaveAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaveAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -628,13 +628,13 @@ impl JumpList { #[cfg(feature = "Foundation")] pub fn LoadCurrentAsync() -> ::windows::core::Result> { Self::IJumpListStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LoadCurrentAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn IsSupported() -> ::windows::core::Result { Self::IJumpListStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSupported)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -713,28 +713,28 @@ impl JumpListItem { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemovedByUser(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemovedByUser)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Description(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Description)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -748,7 +748,7 @@ impl JumpListItem { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -762,7 +762,7 @@ impl JumpListItem { pub fn GroupName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GroupName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -778,7 +778,7 @@ impl JumpListItem { pub fn Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -797,13 +797,13 @@ impl JumpListItem { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IJumpListItemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithArguments)(::windows::core::Interface::as_raw(this), arguments.into().abi(), displayname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateSeparator() -> ::windows::core::Result { Self::IJumpListItemStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSeparator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -965,7 +965,7 @@ impl SecondaryTile { pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -979,7 +979,7 @@ impl SecondaryTile { pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -997,7 +997,7 @@ impl SecondaryTile { pub fn ShortName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShortName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1011,7 +1011,7 @@ impl SecondaryTile { pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1029,7 +1029,7 @@ impl SecondaryTile { pub fn Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1047,7 +1047,7 @@ impl SecondaryTile { pub fn SmallLogo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmallLogo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1065,7 +1065,7 @@ impl SecondaryTile { pub fn WideLogo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WideLogo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1083,7 +1083,7 @@ impl SecondaryTile { pub fn LockScreenBadgeLogo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LockScreenBadgeLogo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1094,7 +1094,7 @@ impl SecondaryTile { pub fn LockScreenDisplayBadgeAndTileText(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LockScreenDisplayBadgeAndTileText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1109,7 +1109,7 @@ impl SecondaryTile { pub fn TileOptions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileOptions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1124,7 +1124,7 @@ impl SecondaryTile { pub fn ForegroundText(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1139,7 +1139,7 @@ impl SecondaryTile { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1148,7 +1148,7 @@ impl SecondaryTile { pub fn RequestCreateAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCreateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1157,7 +1157,7 @@ impl SecondaryTile { pub fn RequestCreateAsyncWithPoint(&self, invocationpoint: super::super::Foundation::Point) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCreateAsyncWithPoint)(::windows::core::Interface::as_raw(this), invocationpoint, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1166,7 +1166,7 @@ impl SecondaryTile { pub fn RequestCreateAsyncWithRect(&self, selection: super::super::Foundation::Rect) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCreateAsyncWithRect)(::windows::core::Interface::as_raw(this), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1175,7 +1175,7 @@ impl SecondaryTile { pub fn RequestCreateAsyncWithRectAndPlacement(&self, selection: super::super::Foundation::Rect, preferredplacement: super::Popups::Placement) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCreateAsyncWithRectAndPlacement)(::windows::core::Interface::as_raw(this), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1184,7 +1184,7 @@ impl SecondaryTile { pub fn RequestDeleteAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDeleteAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1193,7 +1193,7 @@ impl SecondaryTile { pub fn RequestDeleteAsyncWithPoint(&self, invocationpoint: super::super::Foundation::Point) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDeleteAsyncWithPoint)(::windows::core::Interface::as_raw(this), invocationpoint, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1202,7 +1202,7 @@ impl SecondaryTile { pub fn RequestDeleteAsyncWithRect(&self, selection: super::super::Foundation::Rect) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDeleteAsyncWithRect)(::windows::core::Interface::as_raw(this), selection, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1211,7 +1211,7 @@ impl SecondaryTile { pub fn RequestDeleteAsyncWithRectAndPlacement(&self, selection: super::super::Foundation::Rect, preferredplacement: super::Popups::Placement) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDeleteAsyncWithRectAndPlacement)(::windows::core::Interface::as_raw(this), selection, preferredplacement, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1220,7 +1220,7 @@ impl SecondaryTile { pub fn UpdateAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1234,14 +1234,14 @@ impl SecondaryTile { pub fn PhoneticName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PhoneticName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn VisualElements(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisualElements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1252,7 +1252,7 @@ impl SecondaryTile { pub fn RoamingEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1264,7 +1264,7 @@ impl SecondaryTile { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisualElementsRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1285,7 +1285,7 @@ impl SecondaryTile { P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ISecondaryTileFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTile)(::windows::core::Interface::as_raw(this), tileid.into().abi(), shortname.into().abi(), displayname.into().abi(), arguments.into().abi(), tileoptions, logoreference.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1301,7 +1301,7 @@ impl SecondaryTile { P5: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ISecondaryTileFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWideTile)(::windows::core::Interface::as_raw(this), tileid.into().abi(), shortname.into().abi(), displayname.into().abi(), arguments.into().abi(), tileoptions, logoreference.into().abi(), widelogoreference.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1310,7 +1310,7 @@ impl SecondaryTile { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISecondaryTileFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithId)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1324,7 +1324,7 @@ impl SecondaryTile { P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ISecondaryTileFactory2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMinimalTile)(::windows::core::Interface::as_raw(this), tileid.into().abi(), displayname.into().abi(), arguments.into().abi(), square150x150logo.into().abi(), desiredsize, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1333,7 +1333,7 @@ impl SecondaryTile { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISecondaryTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Exists)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1341,7 +1341,7 @@ impl SecondaryTile { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> ::windows::core::Result>> { Self::ISecondaryTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1352,7 +1352,7 @@ impl SecondaryTile { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISecondaryTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllForApplicationAsync)(::windows::core::Interface::as_raw(this), applicationid.into().abi(), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1360,7 +1360,7 @@ impl SecondaryTile { #[cfg(feature = "Foundation_Collections")] pub fn FindAllForPackageAsync() -> ::windows::core::Result>> { Self::ISecondaryTileStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllForPackageAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) }) } @@ -1460,7 +1460,7 @@ impl SecondaryTileVisualElements { pub fn Square30x30Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Square30x30Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1478,7 +1478,7 @@ impl SecondaryTileVisualElements { pub fn Square70x70Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Square70x70Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1496,7 +1496,7 @@ impl SecondaryTileVisualElements { pub fn Square150x150Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Square150x150Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1514,7 +1514,7 @@ impl SecondaryTileVisualElements { pub fn Wide310x150Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wide310x150Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1532,7 +1532,7 @@ impl SecondaryTileVisualElements { pub fn Square310x310Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Square310x310Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1543,7 +1543,7 @@ impl SecondaryTileVisualElements { pub fn ForegroundText(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1554,7 +1554,7 @@ impl SecondaryTileVisualElements { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1565,7 +1565,7 @@ impl SecondaryTileVisualElements { pub fn ShowNameOnSquare150x150Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowNameOnSquare150x150Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1576,7 +1576,7 @@ impl SecondaryTileVisualElements { pub fn ShowNameOnWide310x150Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowNameOnWide310x150Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1587,7 +1587,7 @@ impl SecondaryTileVisualElements { pub fn ShowNameOnSquare310x310Logo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowNameOnSquare310x310Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1605,7 +1605,7 @@ impl SecondaryTileVisualElements { pub fn Square71x71Logo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Square71x71Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1623,14 +1623,14 @@ impl SecondaryTileVisualElements { pub fn Square44x44Logo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Square44x44Logo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MixedRealityModel(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MixedRealityModel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1706,7 +1706,7 @@ impl StartScreenManager { pub fn User(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1718,7 +1718,7 @@ impl StartScreenManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportsAppListEntry)(::windows::core::Interface::as_raw(this), applistentry.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1730,7 +1730,7 @@ impl StartScreenManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsAppListEntryAsync)(::windows::core::Interface::as_raw(this), applistentry.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1742,7 +1742,7 @@ impl StartScreenManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestAddAppListEntryAsync)(::windows::core::Interface::as_raw(this), applistentry.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1754,7 +1754,7 @@ impl StartScreenManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsSecondaryTileAsync)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1766,13 +1766,13 @@ impl StartScreenManager { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryRemoveSecondaryTileAsync)(::windows::core::Interface::as_raw(this), tileid.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetDefault() -> ::windows::core::Result { Self::IStartScreenManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefault)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1783,7 +1783,7 @@ impl StartScreenManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::User>>, { Self::IStartScreenManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1873,7 +1873,7 @@ impl TileMixedRealityModel { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1892,7 +1892,7 @@ impl TileMixedRealityModel { pub fn BoundingBox(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BoundingBox)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1903,7 +1903,7 @@ impl TileMixedRealityModel { pub fn ActivationBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivationBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2115,7 +2115,7 @@ impl VisualElementsRequest { pub fn VisualElements(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisualElements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2124,7 +2124,7 @@ impl VisualElementsRequest { pub fn AlternateVisualElements(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlternateVisualElements)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2133,14 +2133,14 @@ impl VisualElementsRequest { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2285,7 +2285,7 @@ impl VisualElementsRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs index f6929e8b9c..daac378cb5 100644 --- a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs @@ -5,7 +5,7 @@ impl CoreTextCompositionCompletedEventArgs { pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14,7 +14,7 @@ impl CoreTextCompositionCompletedEventArgs { pub fn CompositionSegments(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositionSegments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -23,7 +23,7 @@ impl CoreTextCompositionCompletedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -97,14 +97,14 @@ impl CoreTextCompositionSegment { pub fn PreconversionString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreconversionString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Range(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Range)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -178,7 +178,7 @@ impl CoreTextCompositionStartedEventArgs { pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -187,7 +187,7 @@ impl CoreTextCompositionStartedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -261,7 +261,7 @@ impl CoreTextEditContext { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -275,7 +275,7 @@ impl CoreTextEditContext { pub fn InputScope(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputScope)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -286,7 +286,7 @@ impl CoreTextEditContext { pub fn IsReadOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsReadOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -297,7 +297,7 @@ impl CoreTextEditContext { pub fn InputPaneDisplayPolicy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputPaneDisplayPolicy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -313,7 +313,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -331,7 +331,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectionRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -349,7 +349,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LayoutRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -367,7 +367,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextUpdating)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -385,7 +385,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SelectionUpdating)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -403,7 +403,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormatUpdating)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -421,7 +421,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositionStarted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -439,7 +439,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CompositionCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -457,7 +457,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FocusRemoved)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -495,7 +495,7 @@ impl CoreTextEditContext { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NotifyFocusLeaveCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -575,7 +575,7 @@ impl CoreTextFormatUpdatingEventArgs { pub fn Range(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Range)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -584,7 +584,7 @@ impl CoreTextFormatUpdatingEventArgs { pub fn TextColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -593,7 +593,7 @@ impl CoreTextFormatUpdatingEventArgs { pub fn BackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -602,7 +602,7 @@ impl CoreTextFormatUpdatingEventArgs { pub fn UnderlineColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnderlineColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -611,21 +611,21 @@ impl CoreTextFormatUpdatingEventArgs { pub fn UnderlineType(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnderlineType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -636,7 +636,7 @@ impl CoreTextFormatUpdatingEventArgs { pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -645,7 +645,7 @@ impl CoreTextFormatUpdatingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -925,7 +925,7 @@ impl CoreTextLayoutBounds { pub fn TextBounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextBounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -940,7 +940,7 @@ impl CoreTextLayoutBounds { pub fn ControlBounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ControlBounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1020,21 +1020,21 @@ impl CoreTextLayoutRequest { pub fn Range(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Range)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LayoutBounds(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LayoutBounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1043,14 +1043,14 @@ impl CoreTextLayoutRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LayoutBoundsVisualPixels(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LayoutBoundsVisualPixels)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1124,7 +1124,7 @@ impl CoreTextLayoutRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1236,7 +1236,7 @@ impl CoreTextSelectionRequest { pub fn Selection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Selection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1247,7 +1247,7 @@ impl CoreTextSelectionRequest { pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1256,7 +1256,7 @@ impl CoreTextSelectionRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1330,7 +1330,7 @@ impl CoreTextSelectionRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1404,14 +1404,14 @@ impl CoreTextSelectionUpdatingEventArgs { pub fn Selection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Selection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1422,7 +1422,7 @@ impl CoreTextSelectionUpdatingEventArgs { pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1431,7 +1431,7 @@ impl CoreTextSelectionUpdatingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1537,7 +1537,7 @@ pub struct CoreTextServicesConstants; impl CoreTextServicesConstants { pub fn HiddenCharacter() -> ::windows::core::Result { Self::ICoreTextServicesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HiddenCharacter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1559,7 +1559,7 @@ impl CoreTextServicesManager { pub fn InputLanguage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1571,7 +1571,7 @@ impl CoreTextServicesManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputLanguageChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1584,13 +1584,13 @@ impl CoreTextServicesManager { pub fn CreateEditContext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEditContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ICoreTextServicesManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1669,14 +1669,14 @@ impl CoreTextTextRequest { pub fn Range(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Range)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1690,7 +1690,7 @@ impl CoreTextTextRequest { pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1699,7 +1699,7 @@ impl CoreTextTextRequest { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1773,7 +1773,7 @@ impl CoreTextTextRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1847,21 +1847,21 @@ impl CoreTextTextUpdatingEventArgs { pub fn Range(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Range)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn NewSelection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewSelection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1870,14 +1870,14 @@ impl CoreTextTextUpdatingEventArgs { pub fn InputLanguage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InputLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1888,7 +1888,7 @@ impl CoreTextTextUpdatingEventArgs { pub fn IsCanceled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsCanceled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1897,7 +1897,7 @@ impl CoreTextTextUpdatingEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Text/mod.rs b/crates/libs/windows/src/Windows/UI/Text/mod.rs index 2c199f25f1..f53aee7685 100644 --- a/crates/libs/windows/src/Windows/UI/Text/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/mod.rs @@ -48,7 +48,7 @@ impl ContentLinkInfo { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -59,7 +59,7 @@ impl ContentLinkInfo { pub fn DisplayText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -73,7 +73,7 @@ impl ContentLinkInfo { pub fn SecondaryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecondaryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -89,7 +89,7 @@ impl ContentLinkInfo { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -105,7 +105,7 @@ impl ContentLinkInfo { pub fn LinkContentKind(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinkContentKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -362,67 +362,67 @@ pub struct FontWeights(::windows::core::IUnknown); impl FontWeights { pub fn Black() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Black)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Bold() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ExtraBlack() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtraBlack)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ExtraBold() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtraBold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ExtraLight() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtraLight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Light() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Light)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Medium() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Medium)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Normal() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Normal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SemiBold() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SemiBold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SemiLight() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SemiLight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Thin() -> ::windows::core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -649,7 +649,7 @@ impl ITextCharacterFormat { pub fn AllCaps(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllCaps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -660,7 +660,7 @@ impl ITextCharacterFormat { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -671,7 +671,7 @@ impl ITextCharacterFormat { pub fn Bold(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -682,7 +682,7 @@ impl ITextCharacterFormat { pub fn FontStretch(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontStretch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -693,7 +693,7 @@ impl ITextCharacterFormat { pub fn FontStyle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FontStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -704,7 +704,7 @@ impl ITextCharacterFormat { pub fn ForegroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -715,7 +715,7 @@ impl ITextCharacterFormat { pub fn Hidden(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hidden)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -726,7 +726,7 @@ impl ITextCharacterFormat { pub fn Italic(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Italic)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -737,7 +737,7 @@ impl ITextCharacterFormat { pub fn Kerning(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kerning)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -748,7 +748,7 @@ impl ITextCharacterFormat { pub fn LanguageTag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LanguageTag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -762,14 +762,14 @@ impl ITextCharacterFormat { pub fn LinkType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinkType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -783,7 +783,7 @@ impl ITextCharacterFormat { pub fn Outline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Outline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -794,7 +794,7 @@ impl ITextCharacterFormat { pub fn Position(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Position)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -805,7 +805,7 @@ impl ITextCharacterFormat { pub fn ProtectedText(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtectedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -816,7 +816,7 @@ impl ITextCharacterFormat { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -827,7 +827,7 @@ impl ITextCharacterFormat { pub fn SmallCaps(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SmallCaps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -838,7 +838,7 @@ impl ITextCharacterFormat { pub fn Spacing(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Spacing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -849,7 +849,7 @@ impl ITextCharacterFormat { pub fn Strikethrough(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Strikethrough)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -860,7 +860,7 @@ impl ITextCharacterFormat { pub fn Subscript(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subscript)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -871,7 +871,7 @@ impl ITextCharacterFormat { pub fn Superscript(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Superscript)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -882,7 +882,7 @@ impl ITextCharacterFormat { pub fn TextScript(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextScript)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -893,7 +893,7 @@ impl ITextCharacterFormat { pub fn Underline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Underline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -904,7 +904,7 @@ impl ITextCharacterFormat { pub fn Weight(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Weight)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -923,7 +923,7 @@ impl ITextCharacterFormat { pub fn GetClone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetClone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -934,7 +934,7 @@ impl ITextCharacterFormat { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), format.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1078,7 +1078,7 @@ impl ITextDocument { pub fn CaretType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaretType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1089,7 +1089,7 @@ impl ITextDocument { pub fn DefaultTabStop(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultTabStop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1100,14 +1100,14 @@ impl ITextDocument { pub fn Selection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Selection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UndoLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UndoLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1118,42 +1118,42 @@ impl ITextDocument { pub fn CanCopy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCopy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanPaste(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPaste)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanRedo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRedo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanUndo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanUndo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ApplyDisplayUpdates(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplyDisplayUpdates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BatchDisplayUpdates(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BatchDisplayUpdates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1168,21 +1168,21 @@ impl ITextDocument { pub fn GetDefaultCharacterFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultCharacterFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefaultParagraphFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultParagraphFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetRange(&self, startposition: i32, endposition: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRange)(::windows::core::Interface::as_raw(this), startposition, endposition, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1191,7 +1191,7 @@ impl ITextDocument { pub fn GetRangeFromPoint(&self, point: super::super::Foundation::Point, options: PointOptions) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRangeFromPoint)(::windows::core::Interface::as_raw(this), point, options, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1400,7 +1400,7 @@ impl ITextParagraphFormat { pub fn Alignment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Alignment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1411,14 +1411,14 @@ impl ITextParagraphFormat { pub fn FirstLineIndent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstLineIndent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn KeepTogether(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeepTogether)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1429,7 +1429,7 @@ impl ITextParagraphFormat { pub fn KeepWithNext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeepWithNext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1440,28 +1440,28 @@ impl ITextParagraphFormat { pub fn LeftIndent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeftIndent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LineSpacing(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineSpacing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LineSpacingRule(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineSpacingRule)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ListAlignment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ListAlignment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1472,7 +1472,7 @@ impl ITextParagraphFormat { pub fn ListLevelIndex(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ListLevelIndex)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1483,7 +1483,7 @@ impl ITextParagraphFormat { pub fn ListStart(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ListStart)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1494,7 +1494,7 @@ impl ITextParagraphFormat { pub fn ListStyle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ListStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1505,7 +1505,7 @@ impl ITextParagraphFormat { pub fn ListTab(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ListTab)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1516,7 +1516,7 @@ impl ITextParagraphFormat { pub fn ListType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ListType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1527,7 +1527,7 @@ impl ITextParagraphFormat { pub fn NoLineNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NoLineNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1538,7 +1538,7 @@ impl ITextParagraphFormat { pub fn PageBreakBefore(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageBreakBefore)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1549,7 +1549,7 @@ impl ITextParagraphFormat { pub fn RightIndent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightIndent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1560,7 +1560,7 @@ impl ITextParagraphFormat { pub fn RightToLeft(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightToLeft)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1571,7 +1571,7 @@ impl ITextParagraphFormat { pub fn Style(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Style)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1582,7 +1582,7 @@ impl ITextParagraphFormat { pub fn SpaceAfter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpaceAfter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1593,7 +1593,7 @@ impl ITextParagraphFormat { pub fn SpaceBefore(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpaceBefore)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1604,7 +1604,7 @@ impl ITextParagraphFormat { pub fn WidowControl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WidowControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1615,7 +1615,7 @@ impl ITextParagraphFormat { pub fn TabCount(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TabCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1634,7 +1634,7 @@ impl ITextParagraphFormat { pub fn GetClone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetClone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1649,7 +1649,7 @@ impl ITextParagraphFormat { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), format.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1787,7 +1787,7 @@ impl ITextRange { pub fn Character(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Character)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1798,7 +1798,7 @@ impl ITextRange { pub fn CharacterFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1813,7 +1813,7 @@ impl ITextRange { pub fn FormattedText(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1828,7 +1828,7 @@ impl ITextRange { pub fn EndPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1839,7 +1839,7 @@ impl ITextRange { pub fn Gravity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gravity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1850,14 +1850,14 @@ impl ITextRange { pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Link(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Link)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1871,7 +1871,7 @@ impl ITextRange { pub fn ParagraphFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParagraphFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1886,7 +1886,7 @@ impl ITextRange { pub fn StartPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1897,14 +1897,14 @@ impl ITextRange { pub fn StoryLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoryLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1918,7 +1918,7 @@ impl ITextRange { pub fn CanPaste(&self, format: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPaste)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1941,21 +1941,21 @@ impl ITextRange { pub fn Delete(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delete)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndOf(&self, unit: TextRangeUnit, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndOf)(::windows::core::Interface::as_raw(this), unit, extend, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Expand(&self, unit: TextRangeUnit) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Expand)(::windows::core::Interface::as_raw(this), unit, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1965,7 +1965,7 @@ impl ITextRange { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindText)(::windows::core::Interface::as_raw(this), value.into().abi(), scanlength, options, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1976,14 +1976,14 @@ impl ITextRange { pub fn GetClone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetClone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetIndex(&self, unit: TextRangeUnit) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndex)(::windows::core::Interface::as_raw(this), unit, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2020,7 +2020,7 @@ impl ITextRange { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InRange)(::windows::core::Interface::as_raw(this), range.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2042,7 +2042,7 @@ impl ITextRange { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InStory)(::windows::core::Interface::as_raw(this), range.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2053,28 +2053,28 @@ impl ITextRange { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), range.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Move(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Move)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveEnd(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveEnd)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveStart(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveStart)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2124,7 +2124,7 @@ impl ITextRange { pub fn StartOf(&self, unit: TextRangeUnit, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartOf)(::windows::core::Interface::as_raw(this), unit, extend, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2268,7 +2268,7 @@ impl ITextSelection { pub fn Options(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2279,49 +2279,49 @@ impl ITextSelection { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndKey(&self, unit: TextRangeUnit, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndKey)(::windows::core::Interface::as_raw(this), unit, extend, result__.as_mut_ptr()).from_abi::(result__) } } pub fn HomeKey(&self, unit: TextRangeUnit, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HomeKey)(::windows::core::Interface::as_raw(this), unit, extend, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveDown(&self, unit: TextRangeUnit, count: i32, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveDown)(::windows::core::Interface::as_raw(this), unit, count, extend, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveLeft(&self, unit: TextRangeUnit, count: i32, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveLeft)(::windows::core::Interface::as_raw(this), unit, count, extend, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveRight(&self, unit: TextRangeUnit, count: i32, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveRight)(::windows::core::Interface::as_raw(this), unit, count, extend, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveUp(&self, unit: TextRangeUnit, count: i32, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveUp)(::windows::core::Interface::as_raw(this), unit, count, extend, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2335,7 +2335,7 @@ impl ITextSelection { pub fn Character(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Character)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2346,7 +2346,7 @@ impl ITextSelection { pub fn CharacterFormat(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2361,7 +2361,7 @@ impl ITextSelection { pub fn FormattedText(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2376,7 +2376,7 @@ impl ITextSelection { pub fn EndPosition(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2387,7 +2387,7 @@ impl ITextSelection { pub fn Gravity(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gravity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2398,14 +2398,14 @@ impl ITextSelection { pub fn Length(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Link(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Link)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2419,7 +2419,7 @@ impl ITextSelection { pub fn ParagraphFormat(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParagraphFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2434,7 +2434,7 @@ impl ITextSelection { pub fn StartPosition(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2445,14 +2445,14 @@ impl ITextSelection { pub fn StoryLength(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoryLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2466,7 +2466,7 @@ impl ITextSelection { pub fn CanPaste(&self, format: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPaste)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2489,21 +2489,21 @@ impl ITextSelection { pub fn Delete(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delete)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndOf(&self, unit: TextRangeUnit, extend: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndOf)(::windows::core::Interface::as_raw(this), unit, extend, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Expand(&self, unit: TextRangeUnit) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Expand)(::windows::core::Interface::as_raw(this), unit, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2513,7 +2513,7 @@ impl ITextSelection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindText)(::windows::core::Interface::as_raw(this), value.into().abi(), scanlength, options, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2524,14 +2524,14 @@ impl ITextSelection { pub fn GetClone(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetClone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetIndex(&self, unit: TextRangeUnit) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndex)(::windows::core::Interface::as_raw(this), unit, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2568,7 +2568,7 @@ impl ITextSelection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InRange)(::windows::core::Interface::as_raw(this), range.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2590,7 +2590,7 @@ impl ITextSelection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InStory)(::windows::core::Interface::as_raw(this), range.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2601,28 +2601,28 @@ impl ITextSelection { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), range.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Move(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Move)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveEnd(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveEnd)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveStart(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveStart)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2672,7 +2672,7 @@ impl ITextSelection { pub fn StartOf(&self, unit: TextRangeUnit, extend: bool) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartOf)(::windows::core::Interface::as_raw(this), unit, extend, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3242,7 +3242,7 @@ impl RichEditTextDocument { pub fn CaretType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaretType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3253,7 +3253,7 @@ impl RichEditTextDocument { pub fn DefaultTabStop(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultTabStop)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3264,14 +3264,14 @@ impl RichEditTextDocument { pub fn Selection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Selection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UndoLimit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UndoLimit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3282,42 +3282,42 @@ impl RichEditTextDocument { pub fn CanCopy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanCopy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanPaste(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPaste)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanRedo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanRedo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanUndo(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanUndo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ApplyDisplayUpdates(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplyDisplayUpdates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BatchDisplayUpdates(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BatchDisplayUpdates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3332,21 +3332,21 @@ impl RichEditTextDocument { pub fn GetDefaultCharacterFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultCharacterFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDefaultParagraphFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDefaultParagraphFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetRange(&self, startposition: i32, endposition: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRange)(::windows::core::Interface::as_raw(this), startposition, endposition, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3355,7 +3355,7 @@ impl RichEditTextDocument { pub fn GetRangeFromPoint(&self, point: super::super::Foundation::Point, options: PointOptions) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRangeFromPoint)(::windows::core::Interface::as_raw(this), point, options, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3417,7 +3417,7 @@ impl RichEditTextDocument { pub fn AlignmentIncludesTrailingWhitespace(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AlignmentIncludesTrailingWhitespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3428,7 +3428,7 @@ impl RichEditTextDocument { pub fn IgnoreTrailingCharacterSpacing(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnoreTrailingCharacterSpacing)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3544,7 +3544,7 @@ impl RichEditTextRange { pub fn ContentLinkInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentLinkInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3558,7 +3558,7 @@ impl RichEditTextRange { pub fn Character(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Character)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3569,7 +3569,7 @@ impl RichEditTextRange { pub fn CharacterFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharacterFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3584,7 +3584,7 @@ impl RichEditTextRange { pub fn FormattedText(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FormattedText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3599,7 +3599,7 @@ impl RichEditTextRange { pub fn EndPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3610,7 +3610,7 @@ impl RichEditTextRange { pub fn Gravity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gravity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3621,14 +3621,14 @@ impl RichEditTextRange { pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Link(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Link)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3642,7 +3642,7 @@ impl RichEditTextRange { pub fn ParagraphFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ParagraphFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3657,7 +3657,7 @@ impl RichEditTextRange { pub fn StartPosition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartPosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3668,14 +3668,14 @@ impl RichEditTextRange { pub fn StoryLength(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StoryLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3689,7 +3689,7 @@ impl RichEditTextRange { pub fn CanPaste(&self, format: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanPaste)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3712,21 +3712,21 @@ impl RichEditTextRange { pub fn Delete(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delete)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn EndOf(&self, unit: TextRangeUnit, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EndOf)(::windows::core::Interface::as_raw(this), unit, extend, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Expand(&self, unit: TextRangeUnit) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Expand)(::windows::core::Interface::as_raw(this), unit, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3736,7 +3736,7 @@ impl RichEditTextRange { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindText)(::windows::core::Interface::as_raw(this), value.into().abi(), scanlength, options, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3747,14 +3747,14 @@ impl RichEditTextRange { pub fn GetClone(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetClone)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetIndex(&self, unit: TextRangeUnit) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetIndex)(::windows::core::Interface::as_raw(this), unit, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3791,7 +3791,7 @@ impl RichEditTextRange { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InRange)(::windows::core::Interface::as_raw(this), range.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3813,7 +3813,7 @@ impl RichEditTextRange { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InStory)(::windows::core::Interface::as_raw(this), range.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3824,28 +3824,28 @@ impl RichEditTextRange { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEqual)(::windows::core::Interface::as_raw(this), range.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Move(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Move)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveEnd(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveEnd)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } pub fn MoveStart(&self, unit: TextRangeUnit, count: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveStart)(::windows::core::Interface::as_raw(this), unit, count, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3895,7 +3895,7 @@ impl RichEditTextRange { pub fn StartOf(&self, unit: TextRangeUnit, extend: bool) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartOf)(::windows::core::Interface::as_raw(this), unit, extend, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4163,49 +4163,49 @@ pub struct TextConstants; impl TextConstants { pub fn AutoColor() -> ::windows::core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MinUnitCount() -> ::windows::core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinUnitCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MaxUnitCount() -> ::windows::core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxUnitCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UndefinedColor() -> ::windows::core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UndefinedColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UndefinedFloatValue() -> ::windows::core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UndefinedFloatValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UndefinedInt32Value() -> ::windows::core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UndefinedInt32Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UndefinedFontStretch() -> ::windows::core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UndefinedFontStretch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn UndefinedFontStyle() -> ::windows::core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UndefinedFontStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } 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 06d1455992..f524bdd4da 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs @@ -79,35 +79,35 @@ impl AutomationRemoteOperationResult { pub fn Status(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Status)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn ErrorLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ErrorLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasOperand(&self, operandid: AutomationRemoteOperationOperandId) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasOperand)(::windows::core::Interface::as_raw(this), operandid, result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetOperand(&self, operandid: AutomationRemoteOperationOperandId) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOperand)(::windows::core::Interface::as_raw(this), operandid, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -216,7 +216,7 @@ pub struct CoreAutomationRegistrar; impl CoreAutomationRegistrar { pub fn RegisterAnnotationType(guid: ::windows::core::GUID) -> ::windows::core::Result { Self::ICoreAutomationRegistrarStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RegisterAnnotationType)(::windows::core::Interface::as_raw(this), guid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -246,7 +246,7 @@ impl CoreAutomationRemoteOperation { pub fn IsOpcodeSupported(&self, opcode: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOpcodeSupported)(::windows::core::Interface::as_raw(this), opcode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -271,7 +271,7 @@ impl CoreAutomationRemoteOperation { pub fn Execute(&self, bytecodebuffer: &[u8]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Execute)(::windows::core::Interface::as_raw(this), bytecodebuffer.len() as u32, ::core::mem::transmute(bytecodebuffer.as_ptr()), result__.as_mut_ptr()).from_abi::(result__) } } @@ -352,7 +352,7 @@ impl CoreAutomationRemoteOperationContext { pub fn GetOperand(&self, id: AutomationRemoteOperationOperandId) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetOperand)(::windows::core::Interface::as_raw(this), id, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -457,7 +457,7 @@ impl ICoreAutomationConnectionBoundObjectProvider { pub fn IsComThreadingRequired(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsComThreadingRequired)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -598,7 +598,7 @@ impl ICoreAutomationRemoteOperationExtensionProvider { pub fn IsExtensionSupported(&self, extensionid: ::windows::core::GUID) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsExtensionSupported)(::windows::core::Interface::as_raw(this), extensionid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -793,14 +793,14 @@ impl RemoteAutomationClientSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWindowAsync)(::windows::core::Interface::as_raw(this), remotewindowid, remoteprocessid, parentautomationelement.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn SessionId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SessionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -812,7 +812,7 @@ impl RemoteAutomationClientSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -830,7 +830,7 @@ impl RemoteAutomationClientSession { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Disconnected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -845,7 +845,7 @@ impl RemoteAutomationClientSession { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRemoteAutomationClientSessionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -854,7 +854,7 @@ impl RemoteAutomationClientSession { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IRemoteAutomationClientSessionFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInstance2)(::windows::core::Interface::as_raw(this), name.into().abi(), sessionid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -933,14 +933,14 @@ impl RemoteAutomationConnectionRequestedEventArgs { pub fn LocalPipeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalPipeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn RemoteProcessId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoteProcessId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1014,7 +1014,7 @@ impl RemoteAutomationDisconnectedEventArgs { pub fn LocalPipeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalPipeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1103,7 +1103,7 @@ impl RemoteAutomationWindow { pub fn AutomationProvider(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomationProvider)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -1112,7 +1112,7 @@ impl RemoteAutomationWindow { pub fn UnregisterAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnregisterAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs index ea38a8b707..60155648b4 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs @@ -7,21 +7,21 @@ impl AutomationConnection { pub fn IsRemoteSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRemoteSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppUserModelId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppUserModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ExecutableFileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecutableFileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -95,7 +95,7 @@ impl AutomationConnectionBoundObject { pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -169,21 +169,21 @@ impl AutomationElement { pub fn IsRemoteSystem(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsRemoteSystem)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AppUserModelId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppUserModelId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn ExecutableFileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecutableFileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs index 53bf185ec5..d8630515f7 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs @@ -10,7 +10,7 @@ impl CoreFrameworkInputView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryViewAnimationStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -28,7 +28,7 @@ impl CoreFrameworkInputView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OcclusionsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -43,13 +43,13 @@ impl CoreFrameworkInputView { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::UIContext>>, { Self::ICoreFrameworkInputViewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUIContext)(::windows::core::Interface::as_raw(this), context.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ICoreFrameworkInputViewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -130,14 +130,14 @@ impl CoreFrameworkInputViewAnimationStartingEventArgs { pub fn Occlusions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Occlusions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn FrameworkAnimationRecommended(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameworkAnimationRecommended)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -146,7 +146,7 @@ impl CoreFrameworkInputViewAnimationStartingEventArgs { pub fn AnimationDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnimationDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -222,14 +222,14 @@ impl CoreFrameworkInputViewOcclusionsChangedEventArgs { pub fn Occlusions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Occlusions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -308,7 +308,7 @@ impl CoreInputView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OcclusionsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -323,21 +323,21 @@ impl CoreInputView { pub fn GetCoreInputViewOcclusions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCoreInputViewOcclusions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryShowPrimaryView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShowPrimaryView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryHidePrimaryView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryHidePrimaryView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -349,7 +349,7 @@ impl CoreInputView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XYFocusTransferringFromPrimaryView)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -367,7 +367,7 @@ impl CoreInputView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).XYFocusTransferredToPrimaryView)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -382,28 +382,28 @@ impl CoreInputView { pub fn TryTransferXYFocusToPrimaryView(&self, origin: super::super::super::Foundation::Rect, direction: CoreInputViewXYFocusTransferDirection) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryTransferXYFocusToPrimaryView)(::windows::core::Interface::as_raw(this), origin, direction, result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryShow(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryShowWithKind(&self, r#type: CoreInputViewKind) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShowWithKind)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryHide(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryHide)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -415,7 +415,7 @@ impl CoreInputView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryViewShowing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -433,7 +433,7 @@ impl CoreInputView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryViewHiding)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -446,7 +446,7 @@ impl CoreInputView { pub fn IsKindSupported(&self, r#type: CoreInputViewKind) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsKindSupported)(::windows::core::Interface::as_raw(this), r#type, result__.as_mut_ptr()).from_abi::(result__) } } @@ -458,7 +458,7 @@ impl CoreInputView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SupportedKindsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -476,7 +476,7 @@ impl CoreInputView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryViewAnimationStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -488,7 +488,7 @@ impl CoreInputView { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::ICoreInputViewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -497,7 +497,7 @@ impl CoreInputView { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::UIContext>>, { Self::ICoreInputViewStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUIContext)(::windows::core::Interface::as_raw(this), context.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -583,14 +583,14 @@ impl CoreInputViewAnimationStartingEventArgs { pub fn Occlusions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Occlusions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -603,7 +603,7 @@ impl CoreInputViewAnimationStartingEventArgs { pub fn AnimationDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnimationDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -677,7 +677,7 @@ impl CoreInputViewHidingEventArgs { pub fn TryCancel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCancel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -792,14 +792,14 @@ impl CoreInputViewOcclusion { pub fn OccludingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OccludingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn OcclusionKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OcclusionKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -910,14 +910,14 @@ impl CoreInputViewOcclusionsChangedEventArgs { pub fn Occlusions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Occlusions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -995,7 +995,7 @@ impl CoreInputViewShowingEventArgs { pub fn TryCancel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCancel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1071,14 +1071,14 @@ impl CoreInputViewTransferringXYFocusEventArgs { pub fn Origin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Origin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Direction(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Direction)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1089,7 +1089,7 @@ impl CoreInputViewTransferringXYFocusEventArgs { pub fn TransferHandled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransferHandled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1100,7 +1100,7 @@ impl CoreInputViewTransferringXYFocusEventArgs { pub fn KeepPrimaryViewVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeepPrimaryViewVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1604,7 +1604,7 @@ impl UISettingsController { #[cfg(feature = "Foundation")] pub fn RequestDefaultAsync() -> ::windows::core::Result> { Self::IUISettingsControllerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestDefaultAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs index 39cdb88dc6..6cf62ae99f 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs @@ -14,14 +14,14 @@ impl AccessibilitySettings { pub fn HighContrast(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HighContrast)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HighContrastScheme(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HighContrastScheme)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -33,7 +33,7 @@ impl AccessibilitySettings { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HighContrastChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -115,7 +115,7 @@ impl ActivationViewSwitcher { pub fn ShowAsStandaloneAsync(&self, viewid: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsStandaloneAsync)(::windows::core::Interface::as_raw(this), viewid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -124,14 +124,14 @@ impl ActivationViewSwitcher { pub fn ShowAsStandaloneWithSizePreferenceAsync(&self, viewid: i32, sizepreference: ViewSizePreference) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsStandaloneWithSizePreferenceAsync)(::windows::core::Interface::as_raw(this), viewid, sizepreference, result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsViewPresentedOnActivationVirtualDesktop(&self, viewid: i32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsViewPresentedOnActivationVirtualDesktop)(::windows::core::Interface::as_raw(this), viewid, result__.as_mut_ptr()).from_abi::(result__) } } @@ -205,21 +205,21 @@ impl ApplicationView { pub fn Orientation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orientation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdjacentToLeftDisplayEdge(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdjacentToLeftDisplayEdge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AdjacentToRightDisplayEdge(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdjacentToRightDisplayEdge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -228,21 +228,21 @@ impl ApplicationView { pub fn IsFullScreen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFullScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsOnLockScreen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOnLockScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsScreenCaptureEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScreenCaptureEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -260,14 +260,14 @@ impl ApplicationView { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -279,7 +279,7 @@ impl ApplicationView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Consolidated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -294,7 +294,7 @@ impl ApplicationView { pub fn SuppressSystemOverlays(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuppressSystemOverlays)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -309,7 +309,7 @@ impl ApplicationView { pub fn VisibleBounds(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisibleBounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -321,7 +321,7 @@ impl ApplicationView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VisibleBoundsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -334,28 +334,28 @@ impl ApplicationView { pub fn SetDesiredBoundsMode(&self, boundsmode: ApplicationViewBoundsMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetDesiredBoundsMode)(::windows::core::Interface::as_raw(this), boundsmode, result__.as_mut_ptr()).from_abi::(result__) } } pub fn DesiredBoundsMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DesiredBoundsMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TitleBar(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TitleBar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn FullScreenSystemOverlayMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FullScreenSystemOverlayMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -366,14 +366,14 @@ impl ApplicationView { pub fn IsFullScreenMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsFullScreenMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryEnterFullScreenMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryEnterFullScreenMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -390,7 +390,7 @@ impl ApplicationView { pub fn TryResizeView(&self, value: super::super::Foundation::Size) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryResizeView)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::(result__) } } @@ -403,14 +403,14 @@ impl ApplicationView { pub fn ViewMode(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsViewModeSupported(&self, viewmode: ApplicationViewMode) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsViewModeSupported)(::windows::core::Interface::as_raw(this), viewmode, result__.as_mut_ptr()).from_abi::(result__) } } @@ -419,7 +419,7 @@ impl ApplicationView { pub fn TryEnterViewModeAsync(&self, viewmode: ApplicationViewMode) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryEnterViewModeAsync)(::windows::core::Interface::as_raw(this), viewmode, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -431,7 +431,7 @@ impl ApplicationView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryEnterViewModeWithPreferencesAsync)(::windows::core::Interface::as_raw(this), viewmode, viewmodepreferences.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -440,14 +440,14 @@ impl ApplicationView { pub fn TryConsolidateAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryConsolidateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn PersistedStateId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PersistedStateId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -463,7 +463,7 @@ impl ApplicationView { pub fn WindowingEnvironment(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowingEnvironment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -472,7 +472,7 @@ impl ApplicationView { pub fn GetDisplayRegions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDisplayRegions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -480,7 +480,7 @@ impl ApplicationView { #[cfg(feature = "deprecated")] pub fn TryUnsnapToFullscreen() -> ::windows::core::Result { Self::IApplicationViewFullscreenStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUnsnapToFullscreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -492,7 +492,7 @@ impl ApplicationView { E0: ::std::convert::Into<::windows::core::Error>, { Self::IApplicationViewInteropStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetApplicationViewIdForWindow)(::windows::core::Interface::as_raw(this), window.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -500,7 +500,7 @@ impl ApplicationView { #[cfg(feature = "deprecated")] pub fn Value() -> ::windows::core::Result { Self::IApplicationViewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -508,19 +508,19 @@ impl ApplicationView { #[cfg(feature = "deprecated")] pub fn TryUnsnap() -> ::windows::core::Result { Self::IApplicationViewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryUnsnap)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IApplicationViewStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TerminateAppOnFinalViewClose() -> ::windows::core::Result { Self::IApplicationViewStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TerminateAppOnFinalViewClose)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -529,7 +529,7 @@ impl ApplicationView { } pub fn PreferredLaunchWindowingMode() -> ::windows::core::Result { Self::IApplicationViewStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredLaunchWindowingMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -540,7 +540,7 @@ impl ApplicationView { #[cfg(feature = "Foundation")] pub fn PreferredLaunchViewSize() -> ::windows::core::Result { Self::IApplicationViewStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreferredLaunchViewSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -561,7 +561,7 @@ impl ApplicationView { pub fn UIContext(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UIContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -701,14 +701,14 @@ impl ApplicationViewConsolidatedEventArgs { pub fn IsUserInitiated(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsUserInitiated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsAppInitiated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsAppInitiated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -849,13 +849,13 @@ pub struct ApplicationViewScaling(::windows::core::IUnknown); impl ApplicationViewScaling { pub fn DisableLayoutScaling() -> ::windows::core::Result { Self::IApplicationViewScalingStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisableLayoutScaling)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn TrySetDisableLayoutScaling(disablelayoutscaling: bool) -> ::windows::core::Result { Self::IApplicationViewScalingStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetDisableLayoutScaling)(::windows::core::Interface::as_raw(this), disablelayoutscaling, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -979,7 +979,7 @@ impl ApplicationViewSwitcher { #[cfg(feature = "Foundation")] pub fn TryShowAsStandaloneAsync(viewid: i32) -> ::windows::core::Result> { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShowAsStandaloneAsync)(::windows::core::Interface::as_raw(this), viewid, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -987,7 +987,7 @@ impl ApplicationViewSwitcher { #[cfg(feature = "Foundation")] pub fn TryShowAsStandaloneWithSizePreferenceAsync(viewid: i32, sizepreference: ViewSizePreference) -> ::windows::core::Result> { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShowAsStandaloneWithSizePreferenceAsync)(::windows::core::Interface::as_raw(this), viewid, sizepreference, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -995,7 +995,7 @@ impl ApplicationViewSwitcher { #[cfg(feature = "Foundation")] pub fn TryShowAsStandaloneWithAnchorViewAndSizePreferenceAsync(viewid: i32, sizepreference: ViewSizePreference, anchorviewid: i32, anchorsizepreference: ViewSizePreference) -> ::windows::core::Result> { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShowAsStandaloneWithAnchorViewAndSizePreferenceAsync)(::windows::core::Interface::as_raw(this), viewid, sizepreference, anchorviewid, anchorsizepreference, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1003,7 +1003,7 @@ impl ApplicationViewSwitcher { #[cfg(feature = "Foundation")] pub fn SwitchAsync(viewid: i32) -> ::windows::core::Result { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SwitchAsync)(::windows::core::Interface::as_raw(this), viewid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1011,7 +1011,7 @@ impl ApplicationViewSwitcher { #[cfg(feature = "Foundation")] pub fn SwitchFromViewAsync(toviewid: i32, fromviewid: i32) -> ::windows::core::Result { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SwitchFromViewAsync)(::windows::core::Interface::as_raw(this), toviewid, fromviewid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1019,7 +1019,7 @@ impl ApplicationViewSwitcher { #[cfg(feature = "Foundation")] pub fn SwitchFromViewWithOptionsAsync(toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions) -> ::windows::core::Result { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SwitchFromViewWithOptionsAsync)(::windows::core::Interface::as_raw(this), toviewid, fromviewid, options, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1027,7 +1027,7 @@ impl ApplicationViewSwitcher { #[cfg(feature = "Foundation")] pub fn PrepareForCustomAnimatedSwitchAsync(toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions) -> ::windows::core::Result> { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrepareForCustomAnimatedSwitchAsync)(::windows::core::Interface::as_raw(this), toviewid, fromviewid, options, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1038,7 +1038,7 @@ impl ApplicationViewSwitcher { #[cfg(feature = "Foundation")] pub fn TryShowAsViewModeAsync(viewid: i32, viewmode: ApplicationViewMode) -> ::windows::core::Result> { Self::IApplicationViewSwitcherStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShowAsViewModeAsync)(::windows::core::Interface::as_raw(this), viewid, viewmode, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1049,7 +1049,7 @@ impl ApplicationViewSwitcher { P0: ::std::convert::Into<::windows::core::InParam<'a, ViewModePreferences>>, { Self::IApplicationViewSwitcherStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShowAsViewModeWithPreferencesAsync)(::windows::core::Interface::as_raw(this), viewid, viewmode, viewmodepreferences.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -1154,7 +1154,7 @@ impl ApplicationViewTitleBar { pub fn ForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1173,7 +1173,7 @@ impl ApplicationViewTitleBar { pub fn BackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1192,7 +1192,7 @@ impl ApplicationViewTitleBar { pub fn ButtonForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1211,7 +1211,7 @@ impl ApplicationViewTitleBar { pub fn ButtonBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1230,7 +1230,7 @@ impl ApplicationViewTitleBar { pub fn ButtonHoverForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonHoverForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1249,7 +1249,7 @@ impl ApplicationViewTitleBar { pub fn ButtonHoverBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonHoverBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1268,7 +1268,7 @@ impl ApplicationViewTitleBar { pub fn ButtonPressedForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonPressedForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1287,7 +1287,7 @@ impl ApplicationViewTitleBar { pub fn ButtonPressedBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonPressedBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1306,7 +1306,7 @@ impl ApplicationViewTitleBar { pub fn InactiveForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InactiveForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1325,7 +1325,7 @@ impl ApplicationViewTitleBar { pub fn InactiveBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InactiveBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1344,7 +1344,7 @@ impl ApplicationViewTitleBar { pub fn ButtonInactiveForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonInactiveForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1363,7 +1363,7 @@ impl ApplicationViewTitleBar { pub fn ButtonInactiveBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonInactiveBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1444,7 +1444,7 @@ impl ApplicationViewTransferContext { pub fn ViewId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1454,7 +1454,7 @@ impl ApplicationViewTransferContext { } pub fn DataPackageFormatId() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IApplicationViewTransferContextStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DataPackageFormatId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -2731,7 +2731,7 @@ impl InputPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Showing)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2749,7 +2749,7 @@ impl InputPane { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hiding)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2764,28 +2764,28 @@ impl InputPane { pub fn OccludedRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OccludedRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryShow(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn TryHide(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryHide)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Visible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2795,7 +2795,7 @@ impl InputPane { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IInputPaneStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2804,7 +2804,7 @@ impl InputPane { P0: ::std::convert::Into<::windows::core::InParam<'a, super::UIContext>>, { Self::IInputPaneStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForUIContext)(::windows::core::Interface::as_raw(this), context.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2888,7 +2888,7 @@ impl InputPaneVisibilityEventArgs { pub fn OccludedRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OccludedRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2899,7 +2899,7 @@ impl InputPaneVisibilityEventArgs { pub fn EnsuredFocusedElementInView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnsuredFocusedElementInView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2971,7 +2971,7 @@ impl ProjectionManager { #[cfg(feature = "Foundation")] pub fn StartProjectingAsync(projectionviewid: i32, anchorviewid: i32) -> ::windows::core::Result { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartProjectingAsync)(::windows::core::Interface::as_raw(this), projectionviewid, anchorviewid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2979,7 +2979,7 @@ impl ProjectionManager { #[cfg(feature = "Foundation")] pub fn SwapDisplaysForViewsAsync(projectionviewid: i32, anchorviewid: i32) -> ::windows::core::Result { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SwapDisplaysForViewsAsync)(::windows::core::Interface::as_raw(this), projectionviewid, anchorviewid, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2987,13 +2987,13 @@ impl ProjectionManager { #[cfg(feature = "Foundation")] pub fn StopProjectingAsync(projectionviewid: i32, anchorviewid: i32) -> ::windows::core::Result { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopProjectingAsync)(::windows::core::Interface::as_raw(this), projectionviewid, anchorviewid, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ProjectionDisplayAvailable() -> ::windows::core::Result { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProjectionDisplayAvailable)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3004,7 +3004,7 @@ impl ProjectionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler<::windows::core::IInspectable>>>, { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProjectionDisplayAvailableChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3020,7 +3020,7 @@ impl ProjectionManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Devices::Enumeration::DeviceInformation>>, { Self::IProjectionManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StartProjectingWithDeviceInfoAsync)(::windows::core::Interface::as_raw(this), projectionviewid, anchorviewid, displaydeviceinfo.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3028,7 +3028,7 @@ impl ProjectionManager { #[cfg(feature = "Foundation")] pub fn RequestStartProjectingAsync(projectionviewid: i32, anchorviewid: i32, selection: super::super::Foundation::Rect) -> ::windows::core::Result> { Self::IProjectionManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStartProjectingAsync)(::windows::core::Interface::as_raw(this), projectionviewid, anchorviewid, selection, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -3036,13 +3036,13 @@ impl ProjectionManager { #[cfg(all(feature = "Foundation", feature = "UI_Popups"))] pub fn RequestStartProjectingWithPlacementAsync(projectionviewid: i32, anchorviewid: i32, selection: super::super::Foundation::Rect, prefferedplacement: super::Popups::Placement) -> ::windows::core::Result> { Self::IProjectionManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestStartProjectingWithPlacementAsync)(::windows::core::Interface::as_raw(this), projectionviewid, anchorviewid, selection, prefferedplacement, result__.as_mut_ptr()).from_abi::>(result__) }) } pub fn GetDeviceSelector() -> ::windows::core::Result<::windows::core::HSTRING> { Self::IProjectionManagerStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeviceSelector)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -3069,7 +3069,7 @@ impl StatusBar { pub fn ShowAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3078,14 +3078,14 @@ impl StatusBar { pub fn HideAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HideAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn BackgroundOpacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundOpacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3098,7 +3098,7 @@ impl StatusBar { pub fn ForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3117,7 +3117,7 @@ impl StatusBar { pub fn BackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3134,7 +3134,7 @@ impl StatusBar { pub fn ProgressIndicator(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProgressIndicator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3143,7 +3143,7 @@ impl StatusBar { pub fn OccludedRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OccludedRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3155,7 +3155,7 @@ impl StatusBar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Showing)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3173,7 +3173,7 @@ impl StatusBar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Hiding)(::windows::core::Interface::as_raw(this), eventhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3185,7 +3185,7 @@ impl StatusBar { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IStatusBarStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3266,7 +3266,7 @@ impl StatusBarProgressIndicator { pub fn ShowAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShowAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3275,14 +3275,14 @@ impl StatusBarProgressIndicator { pub fn HideAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HideAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3298,7 +3298,7 @@ impl StatusBarProgressIndicator { pub fn ProgressValue(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProgressValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3489,7 +3489,7 @@ impl UISettings { pub fn HandPreference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HandPreference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3498,7 +3498,7 @@ impl UISettings { pub fn CursorSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CursorSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3507,7 +3507,7 @@ impl UISettings { pub fn ScrollBarSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScrollBarSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3516,7 +3516,7 @@ impl UISettings { pub fn ScrollBarArrowSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScrollBarArrowSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3525,70 +3525,70 @@ impl UISettings { pub fn ScrollBarThumbBoxSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScrollBarThumbBoxSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MessageDuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageDuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AnimationsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnimationsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CaretBrowsingEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaretBrowsingEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CaretBlinkRate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaretBlinkRate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CaretWidth(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaretWidth)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DoubleClickTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DoubleClickTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MouseHoverTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MouseHoverTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UIElementColor(&self, desiredelement: UIElementType) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UIElementColor)(::windows::core::Interface::as_raw(this), desiredelement, result__.as_mut_ptr()).from_abi::(result__) } } pub fn TextScaleFactor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextScaleFactor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3600,7 +3600,7 @@ impl UISettings { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TextScaleFactorChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3613,7 +3613,7 @@ impl UISettings { pub fn GetColorValue(&self, desiredcolor: UIColorType) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetColorValue)(::windows::core::Interface::as_raw(this), desiredcolor, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3625,7 +3625,7 @@ impl UISettings { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColorValuesChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3638,7 +3638,7 @@ impl UISettings { pub fn AdvancedEffectsEnabled(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvancedEffectsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3650,7 +3650,7 @@ impl UISettings { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AdvancedEffectsEnabledChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3663,7 +3663,7 @@ impl UISettings { pub fn AutoHideScrollBars(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoHideScrollBars)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3675,7 +3675,7 @@ impl UISettings { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutoHideScrollBarsChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3693,7 +3693,7 @@ impl UISettings { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AnimationsEnabledChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3711,7 +3711,7 @@ impl UISettings { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MessageDurationChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3989,13 +3989,13 @@ impl UIViewSettings { pub fn UserInteractionMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserInteractionMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IUIViewSettingsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4108,7 +4108,7 @@ impl ViewModePreferences { pub fn ViewSizePreference(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ViewSizePreference)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4121,7 +4121,7 @@ impl ViewModePreferences { pub fn CustomSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CustomSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4133,7 +4133,7 @@ impl ViewModePreferences { } pub fn CreateDefault(mode: ApplicationViewMode) -> ::windows::core::Result { Self::IViewModePreferencesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDefault)(::windows::core::Interface::as_raw(this), mode, result__.as_mut_ptr()).from_abi::(result__) }) } 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 dfaf52f6c6..98a9fdc619 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs @@ -609,7 +609,7 @@ impl WebUICommandBar { pub fn Visible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Visible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -620,7 +620,7 @@ impl WebUICommandBar { pub fn Opacity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Opacity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -631,7 +631,7 @@ impl WebUICommandBar { pub fn ForegroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -642,7 +642,7 @@ impl WebUICommandBar { pub fn BackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -653,7 +653,7 @@ impl WebUICommandBar { pub fn ClosedDisplayMode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClosedDisplayMode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -664,7 +664,7 @@ impl WebUICommandBar { pub fn IsOpen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsOpen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -677,7 +677,7 @@ impl WebUICommandBar { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -686,7 +686,7 @@ impl WebUICommandBar { pub fn PrimaryCommands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrimaryCommands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -695,7 +695,7 @@ impl WebUICommandBar { pub fn SecondaryCommands(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SecondaryCommands)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -707,7 +707,7 @@ impl WebUICommandBar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MenuOpened)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -725,7 +725,7 @@ impl WebUICommandBar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MenuClosed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -743,7 +743,7 @@ impl WebUICommandBar { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SizeChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -755,7 +755,7 @@ impl WebUICommandBar { } pub fn GetForCurrentView() -> ::windows::core::Result { Self::IWebUICommandBarStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetForCurrentView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -843,7 +843,7 @@ impl WebUICommandBarBitmapIcon { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -863,7 +863,7 @@ impl WebUICommandBarBitmapIcon { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::Uri>>, { Self::IWebUICommandBarBitmapIconFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1003,7 +1003,7 @@ impl WebUICommandBarConfirmationButton { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1022,7 +1022,7 @@ impl WebUICommandBarConfirmationButton { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemInvoked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1128,7 +1128,7 @@ impl WebUICommandBarIconButton { pub fn Enabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Enabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1139,7 +1139,7 @@ impl WebUICommandBarIconButton { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1153,7 +1153,7 @@ impl WebUICommandBarIconButton { pub fn IsToggleButton(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsToggleButton)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1164,7 +1164,7 @@ impl WebUICommandBarIconButton { pub fn IsChecked(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsChecked)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1175,7 +1175,7 @@ impl WebUICommandBarIconButton { pub fn Icon(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Icon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1195,7 +1195,7 @@ impl WebUICommandBarIconButton { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemInvoked)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1294,7 +1294,7 @@ impl WebUICommandBarItemInvokedEventArgs { pub fn IsPrimaryCommand(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrimaryCommand)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1370,7 +1370,7 @@ impl WebUICommandBarSizeChangedEventArgs { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1451,7 +1451,7 @@ impl WebUICommandBarSymbolIcon { pub fn Symbol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Symbol)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1467,7 +1467,7 @@ impl WebUICommandBarSymbolIcon { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebUICommandBarSymbolIconFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), symbol.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index 9cdb684c29..704c7826b1 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -181,7 +181,7 @@ impl ActivatedOperation { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -257,7 +257,7 @@ impl BackgroundActivatedEventArgs { pub fn TaskInstance(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskInstance)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -477,7 +477,7 @@ impl EnteredBackgroundEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -699,7 +699,7 @@ impl HtmlPrintDocumentSource { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -710,7 +710,7 @@ impl HtmlPrintDocumentSource { pub fn LeftMargin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeftMargin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -721,7 +721,7 @@ impl HtmlPrintDocumentSource { pub fn TopMargin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TopMargin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -732,7 +732,7 @@ impl HtmlPrintDocumentSource { pub fn RightMargin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RightMargin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -743,7 +743,7 @@ impl HtmlPrintDocumentSource { pub fn BottomMargin(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BottomMargin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -754,7 +754,7 @@ impl HtmlPrintDocumentSource { pub fn EnableHeaderFooter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnableHeaderFooter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -765,7 +765,7 @@ impl HtmlPrintDocumentSource { pub fn ShrinkToFit(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShrinkToFit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -776,7 +776,7 @@ impl HtmlPrintDocumentSource { pub fn PercentScale(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PercentScale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -787,7 +787,7 @@ impl HtmlPrintDocumentSource { pub fn PageRange(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PageRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -797,7 +797,7 @@ impl HtmlPrintDocumentSource { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySetPageRange)(::windows::core::Interface::as_raw(this), strpagerange.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -928,7 +928,7 @@ impl IActivatedEventArgsDeferral { pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1189,7 +1189,7 @@ impl IWebUIBackgroundTaskInstance { pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1295,7 +1295,7 @@ impl IWebUINavigatedEventArgs { pub fn NavigatedOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1438,7 +1438,7 @@ impl LeavingBackgroundEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1743,7 +1743,7 @@ impl NewWebUIViewCreatedEventArgs { pub fn WebUIView(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebUIView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1752,14 +1752,14 @@ impl NewWebUIViewCreatedEventArgs { pub fn ActivatedEventArgs(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedEventArgs)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn HasPendingNavigate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasPendingNavigate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1768,7 +1768,7 @@ impl NewWebUIViewCreatedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2075,7 +2075,7 @@ impl SuspendingEventArgs { pub fn SuspendingOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuspendingOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2291,7 +2291,7 @@ impl SuspendingOperation { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2300,7 +2300,7 @@ impl SuspendingOperation { pub fn Deadline(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Deadline)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2410,7 +2410,7 @@ impl WebUIApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, ActivatedEventHandler>>, { Self::IWebUIActivationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Activated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2426,7 +2426,7 @@ impl WebUIApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, SuspendingEventHandler>>, { Self::IWebUIActivationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Suspending)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2442,7 +2442,7 @@ impl WebUIApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, ResumingEventHandler>>, { Self::IWebUIActivationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Resuming)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2458,7 +2458,7 @@ impl WebUIApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, NavigatedEventHandler>>, { Self::IWebUIActivationStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Navigated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2474,7 +2474,7 @@ impl WebUIApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, LeavingBackgroundEventHandler>>, { Self::IWebUIActivationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LeavingBackground)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2490,7 +2490,7 @@ impl WebUIApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, EnteredBackgroundEventHandler>>, { Self::IWebUIActivationStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnteredBackground)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2509,7 +2509,7 @@ impl WebUIApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebUIActivationStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestRestartAsync)(::windows::core::Interface::as_raw(this), launcharguments.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2521,7 +2521,7 @@ impl WebUIApplication { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IWebUIActivationStatics3(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestRestartForUserAsync)(::windows::core::Interface::as_raw(this), user.into().abi(), launcharguments.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2532,7 +2532,7 @@ impl WebUIApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::EventHandler>>, { Self::IWebUIActivationStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewWebUIViewCreated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2548,7 +2548,7 @@ impl WebUIApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, BackgroundActivatedEventHandler>>, { Self::IWebUIActivationStatics4(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundActivated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2592,7 +2592,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2601,7 +2601,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2610,14 +2610,14 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2626,7 +2626,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2635,7 +2635,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2644,7 +2644,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn AddAppointmentOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AddAppointmentOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2843,7 +2843,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2852,7 +2852,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2861,14 +2861,14 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2877,7 +2877,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2886,7 +2886,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2895,7 +2895,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn RemoveAppointmentOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RemoveAppointmentOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3094,7 +3094,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3103,7 +3103,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3112,14 +3112,14 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3128,7 +3128,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3137,7 +3137,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3146,7 +3146,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn ReplaceAppointmentOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReplaceAppointmentOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3345,7 +3345,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3354,7 +3354,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3363,14 +3363,14 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3379,7 +3379,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3388,7 +3388,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3397,7 +3397,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn InstanceStartDate(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceStartDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3406,7 +3406,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn LocalId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LocalId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3415,7 +3415,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn RoamingId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoamingId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3614,7 +3614,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3623,7 +3623,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3632,14 +3632,14 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3648,7 +3648,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3657,7 +3657,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3666,7 +3666,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn TimeToShow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TimeToShow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3675,7 +3675,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Duration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Duration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3868,7 +3868,7 @@ pub struct WebUIBackgroundTaskInstance; impl WebUIBackgroundTaskInstance { pub fn Current() -> ::windows::core::Result { Self::IWebUIBackgroundTaskInstanceStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Current)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3890,7 +3890,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn InstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InstanceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -3899,7 +3899,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn Task(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Task)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3908,7 +3908,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn Progress(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Progress)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3923,7 +3923,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn TriggerDetails(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TriggerDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -3935,7 +3935,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Canceled)(::windows::core::Interface::as_raw(this), cancelhandler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3950,7 +3950,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn SuspendedCount(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SuspendedCount)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3959,14 +3959,14 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4087,7 +4087,7 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4096,7 +4096,7 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4105,14 +4105,14 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4121,7 +4121,7 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4130,7 +4130,7 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn ConnectionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4311,7 +4311,7 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4320,7 +4320,7 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4329,14 +4329,14 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4345,7 +4345,7 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4354,7 +4354,7 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn CachedFileUpdaterUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CachedFileUpdaterUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4531,7 +4531,7 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4540,7 +4540,7 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4549,14 +4549,14 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4565,7 +4565,7 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn VideoDeviceController(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceController)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4574,7 +4574,7 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn VideoDeviceExtension(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VideoDeviceExtension)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -4729,7 +4729,7 @@ impl WebUICommandLineActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4738,7 +4738,7 @@ impl WebUICommandLineActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4747,14 +4747,14 @@ impl WebUICommandLineActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4763,7 +4763,7 @@ impl WebUICommandLineActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4772,7 +4772,7 @@ impl WebUICommandLineActivatedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4953,7 +4953,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4962,7 +4962,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4971,14 +4971,14 @@ impl WebUIContactCallActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4987,7 +4987,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4996,7 +4996,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5005,7 +5005,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5014,7 +5014,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5191,7 +5191,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5200,7 +5200,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5209,14 +5209,14 @@ impl WebUIContactMapActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5225,7 +5225,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5234,7 +5234,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn Address(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Address)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5243,7 +5243,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5420,7 +5420,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5429,7 +5429,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5438,14 +5438,14 @@ impl WebUIContactMessageActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5454,7 +5454,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5463,7 +5463,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5472,7 +5472,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5481,7 +5481,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5658,7 +5658,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5667,7 +5667,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5676,14 +5676,14 @@ impl WebUIContactPanelActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5692,7 +5692,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5701,7 +5701,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn ContactPanel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactPanel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5710,7 +5710,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5891,7 +5891,7 @@ impl WebUIContactPickerActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5900,7 +5900,7 @@ impl WebUIContactPickerActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5909,14 +5909,14 @@ impl WebUIContactPickerActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5925,7 +5925,7 @@ impl WebUIContactPickerActivatedEventArgs { pub fn ContactPickerUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContactPickerUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6080,7 +6080,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6089,7 +6089,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6098,14 +6098,14 @@ impl WebUIContactPostActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6114,7 +6114,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6123,7 +6123,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6132,7 +6132,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6141,7 +6141,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6318,7 +6318,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6327,7 +6327,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6336,14 +6336,14 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6352,7 +6352,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6361,7 +6361,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn ServiceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6370,7 +6370,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn ServiceUserId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServiceUserId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6379,7 +6379,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn Contact(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contact)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6556,7 +6556,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6565,7 +6565,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6574,14 +6574,14 @@ impl WebUIDeviceActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6590,7 +6590,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6599,7 +6599,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6608,7 +6608,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn DeviceInformationId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformationId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6617,7 +6617,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6816,7 +6816,7 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6825,7 +6825,7 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6834,14 +6834,14 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6850,7 +6850,7 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6859,7 +6859,7 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn DeviceInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeviceInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7036,7 +7036,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7045,7 +7045,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7054,14 +7054,14 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7070,7 +7070,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7079,7 +7079,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7088,7 +7088,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn AppName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AppName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7097,7 +7097,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7106,7 +7106,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7327,7 +7327,7 @@ impl WebUIFileActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7336,7 +7336,7 @@ impl WebUIFileActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7345,14 +7345,14 @@ impl WebUIFileActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7361,7 +7361,7 @@ impl WebUIFileActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7370,7 +7370,7 @@ impl WebUIFileActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7379,7 +7379,7 @@ impl WebUIFileActivatedEventArgs { pub fn Files(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7388,7 +7388,7 @@ impl WebUIFileActivatedEventArgs { pub fn Verb(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Verb)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7397,7 +7397,7 @@ impl WebUIFileActivatedEventArgs { pub fn NeighboringFilesQuery(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NeighboringFilesQuery)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7618,7 +7618,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7627,7 +7627,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7636,14 +7636,14 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7652,7 +7652,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7661,7 +7661,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn FileOpenPickerUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileOpenPickerUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7670,7 +7670,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7869,7 +7869,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7878,7 +7878,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7887,14 +7887,14 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7903,7 +7903,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7912,7 +7912,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7921,7 +7921,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn Files(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Files)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -8120,7 +8120,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8129,7 +8129,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8138,14 +8138,14 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8154,7 +8154,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8163,7 +8163,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn FileSavePickerUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileSavePickerUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8172,7 +8172,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8181,7 +8181,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8380,7 +8380,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8389,7 +8389,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8398,14 +8398,14 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8414,7 +8414,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8423,7 +8423,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8432,7 +8432,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn File(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).File)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8631,7 +8631,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8640,7 +8640,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8649,14 +8649,14 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8665,7 +8665,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8674,7 +8674,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8683,7 +8683,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn Folder(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Folder)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8882,7 +8882,7 @@ impl WebUILaunchActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8891,7 +8891,7 @@ impl WebUILaunchActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8900,14 +8900,14 @@ impl WebUILaunchActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8916,7 +8916,7 @@ impl WebUILaunchActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8925,7 +8925,7 @@ impl WebUILaunchActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8934,7 +8934,7 @@ impl WebUILaunchActivatedEventArgs { pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8943,7 +8943,7 @@ impl WebUILaunchActivatedEventArgs { pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -8952,7 +8952,7 @@ impl WebUILaunchActivatedEventArgs { pub fn TileActivatedInfo(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileActivatedInfo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -8961,7 +8961,7 @@ impl WebUILaunchActivatedEventArgs { pub fn PrelaunchActivated(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrelaunchActivated)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9204,7 +9204,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9213,7 +9213,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9222,14 +9222,14 @@ impl WebUILockScreenActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9238,7 +9238,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9247,7 +9247,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9256,7 +9256,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn Info(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Info)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -9455,7 +9455,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9464,7 +9464,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9473,14 +9473,14 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9489,7 +9489,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9498,7 +9498,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn Arguments(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Arguments)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9507,7 +9507,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn TileId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TileId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -9516,7 +9516,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn CallUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9715,7 +9715,7 @@ impl WebUILockScreenComponentActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9724,7 +9724,7 @@ impl WebUILockScreenComponentActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9733,14 +9733,14 @@ impl WebUILockScreenComponentActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -9938,7 +9938,7 @@ impl WebUINavigatedEventArgs { pub fn NavigatedOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10029,7 +10029,7 @@ impl WebUINavigatedOperation { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10105,7 +10105,7 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10114,7 +10114,7 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10123,14 +10123,14 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10139,7 +10139,7 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10148,7 +10148,7 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn LineId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } @@ -10329,7 +10329,7 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10338,7 +10338,7 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10347,14 +10347,14 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10363,7 +10363,7 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { pub fn Workflow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Workflow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10518,7 +10518,7 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10527,7 +10527,7 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10536,14 +10536,14 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10552,7 +10552,7 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { pub fn Configuration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Configuration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10707,7 +10707,7 @@ impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10716,7 +10716,7 @@ impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10725,14 +10725,14 @@ impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10865,7 +10865,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10874,7 +10874,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10883,14 +10883,14 @@ impl WebUIProtocolActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10899,7 +10899,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10908,7 +10908,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10917,7 +10917,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -10926,7 +10926,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -10935,7 +10935,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn Data(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11156,7 +11156,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11165,7 +11165,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11174,14 +11174,14 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11190,7 +11190,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11199,7 +11199,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11208,7 +11208,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11217,7 +11217,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn CallerPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CallerPackageFamilyName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11226,7 +11226,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn Data(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Data)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11235,7 +11235,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn ProtocolForResultsOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProtocolForResultsOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11478,7 +11478,7 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11487,7 +11487,7 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11496,14 +11496,14 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11512,7 +11512,7 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11521,7 +11521,7 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn SharedContext(&self) -> ::windows::core::Result<::windows::core::IInspectable> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) } } @@ -11698,7 +11698,7 @@ impl WebUISearchActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11707,7 +11707,7 @@ impl WebUISearchActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11716,14 +11716,14 @@ impl WebUISearchActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11732,7 +11732,7 @@ impl WebUISearchActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CurrentlyShownApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11741,7 +11741,7 @@ impl WebUISearchActivatedEventArgs { pub fn QueryText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).QueryText)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11750,7 +11750,7 @@ impl WebUISearchActivatedEventArgs { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -11759,7 +11759,7 @@ impl WebUISearchActivatedEventArgs { pub fn LinguisticDetails(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LinguisticDetails)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11958,7 +11958,7 @@ impl WebUIShareTargetActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11967,7 +11967,7 @@ impl WebUIShareTargetActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11976,14 +11976,14 @@ impl WebUIShareTargetActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -11992,7 +11992,7 @@ impl WebUIShareTargetActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12001,7 +12001,7 @@ impl WebUIShareTargetActivatedEventArgs { pub fn ShareOperation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ShareOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12178,7 +12178,7 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12187,7 +12187,7 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12196,14 +12196,14 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12212,7 +12212,7 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12221,7 +12221,7 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn TaskId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TaskId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12402,7 +12402,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12411,7 +12411,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12420,14 +12420,14 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12436,7 +12436,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12445,7 +12445,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn Argument(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Argument)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12454,7 +12454,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn UserInput(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserInput)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12631,7 +12631,7 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12640,7 +12640,7 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12649,14 +12649,14 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12665,7 +12665,7 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12816,7 +12816,7 @@ impl WebUIView { pub fn ApplicationViewId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ApplicationViewId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12828,7 +12828,7 @@ impl WebUIView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12846,7 +12846,7 @@ impl WebUIView { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Activated)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12859,7 +12859,7 @@ impl WebUIView { pub fn IgnoreApplicationContentUriRulesNavigationRestrictions(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnoreApplicationContentUriRulesNavigationRestrictions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12871,7 +12871,7 @@ impl WebUIView { #[cfg(feature = "Foundation")] pub fn CreateAsync() -> ::windows::core::Result> { Self::IWebUIViewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -12882,7 +12882,7 @@ impl WebUIView { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IWebUIViewStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithUriAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -12891,7 +12891,7 @@ impl WebUIView { pub fn Source(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12909,7 +12909,7 @@ impl WebUIView { pub fn DocumentTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -12918,7 +12918,7 @@ impl WebUIView { pub fn CanGoBack(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanGoBack)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12927,7 +12927,7 @@ impl WebUIView { pub fn CanGoForward(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanGoForward)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12942,7 +12942,7 @@ impl WebUIView { pub fn DefaultBackgroundColor(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12951,7 +12951,7 @@ impl WebUIView { pub fn ContainsFullScreenElement(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsFullScreenElement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12960,7 +12960,7 @@ impl WebUIView { pub fn Settings(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Settings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -12969,7 +12969,7 @@ impl WebUIView { pub fn DeferredPermissionRequests(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeferredPermissionRequests)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13045,7 +13045,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvokeScriptAsync)(::windows::core::Interface::as_raw(this), scriptname.into().abi(), arguments.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13058,7 +13058,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapturePreviewToStreamAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13067,7 +13067,7 @@ impl WebUIView { pub fn CaptureSelectedContentToDataPackageAsync(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureSelectedContentToDataPackageAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -13080,7 +13080,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildLocalStreamUri)(::windows::core::Interface::as_raw(this), contentidentifier.into().abi(), relativepath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13098,7 +13098,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13116,7 +13116,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentLoading)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13134,7 +13134,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DOMContentLoaded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13152,7 +13152,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13170,7 +13170,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameNavigationStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13188,7 +13188,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameContentLoading)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13206,7 +13206,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameDOMContentLoaded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13224,7 +13224,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameNavigationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13242,7 +13242,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScriptNotify)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13260,7 +13260,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LongRunningScriptDetected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13278,7 +13278,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnsafeContentWarningDisplaying)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13296,7 +13296,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnviewableContentIdentified)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13314,7 +13314,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PermissionRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13332,7 +13332,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnsupportedUriSchemeIdentified)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13350,7 +13350,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewWindowRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13368,7 +13368,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsFullScreenElementChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13386,7 +13386,7 @@ impl WebUIView { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebResourceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13526,7 +13526,7 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13535,7 +13535,7 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13544,14 +13544,14 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13560,7 +13560,7 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13569,7 +13569,7 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn Result(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Result)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13746,7 +13746,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13755,7 +13755,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13764,14 +13764,14 @@ impl WebUIWalletActionActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13780,7 +13780,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn ItemId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13789,7 +13789,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn ActionKind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActionKind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13798,7 +13798,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn ActionId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActionId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -13953,7 +13953,7 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13962,7 +13962,7 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13971,14 +13971,14 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13987,7 +13987,7 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -13996,7 +13996,7 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn Operation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Operation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14173,7 +14173,7 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14182,7 +14182,7 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn PreviousExecutionState(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousExecutionState)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14191,14 +14191,14 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn SplashScreen(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SplashScreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivatedOperation(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivatedOperation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14207,7 +14207,7 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn ContinuationData(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContinuationData)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -14216,7 +14216,7 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn WebAuthenticationResult(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebAuthenticationResult)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs index 8b1362203c..f27b5b653a 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs @@ -7,7 +7,7 @@ impl AppWindow { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -16,28 +16,28 @@ impl AppWindow { pub fn DispatcherQueue(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispatcherQueue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Frame(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Frame)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PersistedStateId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PersistedStateId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -51,14 +51,14 @@ impl AppWindow { pub fn Presenter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Presenter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -72,21 +72,21 @@ impl AppWindow { pub fn TitleBar(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TitleBar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UIContext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UIContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WindowingEnvironment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowingEnvironment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -95,14 +95,14 @@ impl AppWindow { pub fn CloseAsync(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloseAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPlacement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPlacement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -111,7 +111,7 @@ impl AppWindow { pub fn GetDisplayRegions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDisplayRegions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -168,7 +168,7 @@ impl AppWindow { pub fn TryShowAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryShowAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -180,7 +180,7 @@ impl AppWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -198,7 +198,7 @@ impl AppWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Closed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -216,7 +216,7 @@ impl AppWindow { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CloseRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -230,7 +230,7 @@ impl AppWindow { #[cfg(feature = "Foundation")] pub fn TryCreateAsync() -> ::windows::core::Result> { Self::IAppWindowStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryCreateAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -318,56 +318,56 @@ impl AppWindowChangedEventArgs { pub fn DidAvailableWindowPresentationsChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DidAvailableWindowPresentationsChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DidDisplayRegionsChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DidDisplayRegionsChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DidFrameChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DidFrameChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DidSizeChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DidSizeChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DidTitleBarChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DidTitleBarChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DidVisibilityChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DidVisibilityChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DidWindowingEnvironmentChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DidWindowingEnvironmentChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn DidWindowPresentationChange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DidWindowPresentationChange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -441,7 +441,7 @@ impl AppWindowCloseRequestedEventArgs { pub fn Cancel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cancel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -454,7 +454,7 @@ impl AppWindowCloseRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -528,7 +528,7 @@ impl AppWindowClosedEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -639,14 +639,14 @@ impl AppWindowFrame { pub fn DragRegionVisuals(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DragRegionVisuals)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetFrameStyle(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetFrameStyle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -758,7 +758,7 @@ impl AppWindowPlacement { pub fn DisplayRegion(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayRegion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -767,7 +767,7 @@ impl AppWindowPlacement { pub fn Offset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Offset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -776,7 +776,7 @@ impl AppWindowPlacement { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -850,7 +850,7 @@ impl AppWindowPresentationConfiguration { pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -959,14 +959,14 @@ impl AppWindowPresenter { pub fn GetConfiguration(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetConfiguration)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsPresentationSupported(&self, presentationkind: AppWindowPresentationKind) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPresentationSupported)(::windows::core::Interface::as_raw(this), presentationkind, result__.as_mut_ptr()).from_abi::(result__) } } @@ -976,14 +976,14 @@ impl AppWindowPresenter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPresentation)(::windows::core::Interface::as_raw(this), configuration.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RequestPresentationByKind(&self, presentationkind: AppWindowPresentationKind) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestPresentationByKind)(::windows::core::Interface::as_raw(this), presentationkind, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1059,7 +1059,7 @@ impl AppWindowTitleBar { pub fn BackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1078,7 +1078,7 @@ impl AppWindowTitleBar { pub fn ButtonBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1097,7 +1097,7 @@ impl AppWindowTitleBar { pub fn ButtonForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1116,7 +1116,7 @@ impl AppWindowTitleBar { pub fn ButtonHoverBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonHoverBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1135,7 +1135,7 @@ impl AppWindowTitleBar { pub fn ButtonHoverForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonHoverForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1154,7 +1154,7 @@ impl AppWindowTitleBar { pub fn ButtonInactiveBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonInactiveBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1173,7 +1173,7 @@ impl AppWindowTitleBar { pub fn ButtonInactiveForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonInactiveForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1192,7 +1192,7 @@ impl AppWindowTitleBar { pub fn ButtonPressedBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonPressedBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1211,7 +1211,7 @@ impl AppWindowTitleBar { pub fn ButtonPressedForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ButtonPressedForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1228,7 +1228,7 @@ impl AppWindowTitleBar { pub fn ExtendsContentIntoTitleBar(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendsContentIntoTitleBar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1241,7 +1241,7 @@ impl AppWindowTitleBar { pub fn ForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1260,7 +1260,7 @@ impl AppWindowTitleBar { pub fn InactiveBackgroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InactiveBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1279,7 +1279,7 @@ impl AppWindowTitleBar { pub fn InactiveForegroundColor(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InactiveForegroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1296,7 +1296,7 @@ impl AppWindowTitleBar { pub fn IsVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1305,14 +1305,14 @@ impl AppWindowTitleBar { pub fn GetTitleBarOcclusions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTitleBarOcclusions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn GetPreferredVisibility(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPreferredVisibility)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1392,7 +1392,7 @@ impl AppWindowTitleBarOcclusion { pub fn OccludingRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OccludingRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1507,7 +1507,7 @@ impl CompactOverlayPresentationConfiguration { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1603,7 +1603,7 @@ impl DefaultPresentationConfiguration { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1692,14 +1692,14 @@ impl DisplayRegion { pub fn DisplayMonitorDeviceId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DisplayMonitorDeviceId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsVisible(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1708,7 +1708,7 @@ impl DisplayRegion { pub fn WorkAreaOffset(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorkAreaOffset)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1717,14 +1717,14 @@ impl DisplayRegion { pub fn WorkAreaSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WorkAreaSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WindowingEnvironment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowingEnvironment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1736,7 +1736,7 @@ impl DisplayRegion { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1823,14 +1823,14 @@ impl FullScreenPresentationConfiguration { pub fn Kind(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsExclusive(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsExclusive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2481,7 +2481,7 @@ impl WindowServices { #[cfg(feature = "Foundation_Collections")] pub fn FindAllTopLevelWindowIds() -> ::windows::core::Result> { Self::IWindowServicesStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllTopLevelWindowIds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2501,14 +2501,14 @@ impl WindowingEnvironment { pub fn IsEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Kind(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Kind)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2517,7 +2517,7 @@ impl WindowingEnvironment { pub fn GetDisplayRegions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDisplayRegions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2529,7 +2529,7 @@ impl WindowingEnvironment { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Changed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2543,7 +2543,7 @@ impl WindowingEnvironment { #[cfg(feature = "Foundation_Collections")] pub fn FindAll() -> ::windows::core::Result> { Self::IWindowingEnvironmentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAll)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2551,7 +2551,7 @@ impl WindowingEnvironment { #[cfg(feature = "Foundation_Collections")] pub fn FindAllWithKind(kind: WindowingEnvironmentKind) -> ::windows::core::Result> { Self::IWindowingEnvironmentStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FindAllWithKind)(::windows::core::Interface::as_raw(this), kind, result__.as_mut_ptr()).from_abi::>(result__) }) } @@ -2630,7 +2630,7 @@ impl WindowingEnvironmentAddedEventArgs { pub fn WindowingEnvironment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowingEnvironment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2805,7 +2805,7 @@ impl WindowingEnvironmentRemovedEventArgs { pub fn WindowingEnvironment(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WindowingEnvironment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/UI/mod.rs b/crates/libs/windows/src/Windows/UI/mod.rs index f7d71c52c1..ef28ba41d3 100644 --- a/crates/libs/windows/src/Windows/UI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/mod.rs @@ -72,13 +72,13 @@ pub struct ColorHelper(::windows::core::IUnknown); impl ColorHelper { pub fn FromArgb(a: u8, r: u8, g: u8, b: u8) -> ::windows::core::Result { Self::IColorHelperStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FromArgb)(::windows::core::Interface::as_raw(this), a, r, g, b, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ToDisplayName(color: Color) -> ::windows::core::Result<::windows::core::HSTRING> { Self::IColorHelperStatics2(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToDisplayName)(::windows::core::Interface::as_raw(this), color, result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) }) } @@ -161,847 +161,847 @@ pub struct Colors(::windows::core::IUnknown); impl Colors { pub fn AliceBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AliceBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn AntiqueWhite() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AntiqueWhite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Aqua() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Aqua)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Aquamarine() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Aquamarine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Azure() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Azure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Beige() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Beige)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Bisque() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bisque)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Black() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Black)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BlanchedAlmond() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlanchedAlmond)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Blue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Blue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BlueViolet() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BlueViolet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Brown() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Brown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn BurlyWood() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BurlyWood)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CadetBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CadetBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Chartreuse() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Chartreuse)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Chocolate() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Chocolate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Coral() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Coral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CornflowerBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CornflowerBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Cornsilk() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cornsilk)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Crimson() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Crimson)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Cyan() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cyan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkCyan() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkCyan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkGoldenrod() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkGoldenrod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkGray() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkGray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkKhaki() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkKhaki)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkMagenta() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkMagenta)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkOliveGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkOliveGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkOrange() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkOrange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkOrchid() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkOrchid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkRed() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkRed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkSalmon() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkSalmon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkSeaGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkSeaGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkSlateBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkSlateBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkSlateGray() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkSlateGray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkTurquoise() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkTurquoise)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DarkViolet() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DarkViolet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DeepPink() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeepPink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DeepSkyBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeepSkyBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DimGray() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DimGray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn DodgerBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DodgerBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Firebrick() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Firebrick)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn FloralWhite() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FloralWhite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn ForestGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ForestGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Fuchsia() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Fuchsia)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gainsboro() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gainsboro)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GhostWhite() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GhostWhite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gold() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gold)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Goldenrod() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Goldenrod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Gray() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Gray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Green() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Green)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn GreenYellow() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GreenYellow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Honeydew() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Honeydew)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn HotPink() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HotPink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn IndianRed() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndianRed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Indigo() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Indigo)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Ivory() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Ivory)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Khaki() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Khaki)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Lavender() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lavender)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LavenderBlush() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LavenderBlush)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LawnGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LawnGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LemonChiffon() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LemonChiffon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightCoral() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightCoral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightCyan() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightCyan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightGoldenrodYellow() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightGoldenrodYellow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightGray() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightGray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightPink() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightPink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightSalmon() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightSalmon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightSeaGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightSeaGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightSkyBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightSkyBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightSlateGray() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightSlateGray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightSteelBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightSteelBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LightYellow() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LightYellow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Lime() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn LimeGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LimeGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Linen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Linen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Magenta() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Magenta)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Maroon() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Maroon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediumAquamarine() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediumAquamarine)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediumBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediumBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediumOrchid() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediumOrchid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediumPurple() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediumPurple)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediumSeaGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediumSeaGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediumSlateBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediumSlateBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediumSpringGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediumSpringGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediumTurquoise() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediumTurquoise)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MediumVioletRed() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediumVioletRed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MidnightBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MidnightBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MintCream() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MintCream)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn MistyRose() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MistyRose)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Moccasin() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Moccasin)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn NavajoWhite() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavajoWhite)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Navy() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Navy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn OldLace() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OldLace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Olive() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Olive)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn OliveDrab() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OliveDrab)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Orange() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn OrangeRed() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).OrangeRed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Orchid() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Orchid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PaleGoldenrod() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PaleGoldenrod)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PaleGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PaleGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PaleTurquoise() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PaleTurquoise)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PaleVioletRed() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PaleVioletRed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PapayaWhip() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PapayaWhip)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PeachPuff() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PeachPuff)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Peru() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Peru)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Pink() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Pink)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Plum() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Plum)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn PowderBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PowderBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Purple() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Purple)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Red() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Red)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RosyBrown() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RosyBrown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn RoyalBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoyalBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SaddleBrown() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SaddleBrown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Salmon() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Salmon)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SandyBrown() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SandyBrown)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SeaGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SeaGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SeaShell() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SeaShell)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Sienna() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Sienna)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Silver() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Silver)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SkyBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SkyBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SlateBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SlateBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SlateGray() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SlateGray)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Snow() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Snow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SpringGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SpringGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn SteelBlue() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SteelBlue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Tan() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Teal() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Teal)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Thistle() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Thistle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Tomato() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Tomato)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Transparent() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Transparent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Turquoise() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Turquoise)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Violet() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Violet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Wheat() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Wheat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn White() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).White)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn WhiteSmoke() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WhiteSmoke)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Yellow() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Yellow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn YellowGreen() -> ::windows::core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).YellowGreen)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1308,7 +1308,7 @@ impl UIContentRoot { pub fn UIContext(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UIContext)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs index 721d09a6f1..261af6d07e 100644 --- a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs +++ b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs @@ -17,7 +17,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveServiceDocumentAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -29,7 +29,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveMediaResourceAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -41,7 +41,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveResourceAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -55,7 +55,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateResourceAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), description.into().abi(), item.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -71,7 +71,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateMediaResourceAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), mediatype.into().abi(), description.into().abi(), mediastream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -86,7 +86,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateMediaResourceAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), mediatype.into().abi(), mediastream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -99,7 +99,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateResourceAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), item.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -111,7 +111,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UpdateResourceItemAsync)(::windows::core::Interface::as_raw(this), item.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -123,7 +123,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteResourceAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -135,7 +135,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteResourceItemAsync)(::windows::core::Interface::as_raw(this), item.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -150,7 +150,7 @@ impl AtomPubClient { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Security::Credentials::PasswordCredential>>, { Self::IAtomPubClientFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateAtomPubClientWithCredentials)(::windows::core::Interface::as_raw(this), servercredential.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -159,7 +159,7 @@ impl AtomPubClient { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -177,7 +177,7 @@ impl AtomPubClient { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -195,7 +195,7 @@ impl AtomPubClient { pub fn MaxResponseBufferSize(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxResponseBufferSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -210,7 +210,7 @@ impl AtomPubClient { pub fn Timeout(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -225,7 +225,7 @@ impl AtomPubClient { pub fn BypassCacheOnRetrieve(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BypassCacheOnRetrieve)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -253,7 +253,7 @@ impl AtomPubClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveFeedAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -489,7 +489,7 @@ impl ResourceCollection { pub fn Title(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -498,7 +498,7 @@ impl ResourceCollection { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -507,7 +507,7 @@ impl ResourceCollection { pub fn Categories(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Categories)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -516,7 +516,7 @@ impl ResourceCollection { pub fn Accepts(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Accepts)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -525,7 +525,7 @@ impl ResourceCollection { pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -543,7 +543,7 @@ impl ResourceCollection { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -561,7 +561,7 @@ impl ResourceCollection { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -579,7 +579,7 @@ impl ResourceCollection { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -597,7 +597,7 @@ impl ResourceCollection { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -615,7 +615,7 @@ impl ResourceCollection { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -624,7 +624,7 @@ impl ResourceCollection { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -633,7 +633,7 @@ impl ResourceCollection { pub fn GetXmlDocument(&self, format: super::Syndication::SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -731,7 +731,7 @@ impl ServiceDocument { pub fn Workspaces(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Workspaces)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -740,7 +740,7 @@ impl ServiceDocument { pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -758,7 +758,7 @@ impl ServiceDocument { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -776,7 +776,7 @@ impl ServiceDocument { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -794,7 +794,7 @@ impl ServiceDocument { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -812,7 +812,7 @@ impl ServiceDocument { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -830,7 +830,7 @@ impl ServiceDocument { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -839,7 +839,7 @@ impl ServiceDocument { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -848,7 +848,7 @@ impl ServiceDocument { pub fn GetXmlDocument(&self, format: super::Syndication::SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -946,7 +946,7 @@ impl Workspace { pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -964,7 +964,7 @@ impl Workspace { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -982,7 +982,7 @@ impl Workspace { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1000,7 +1000,7 @@ impl Workspace { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1018,7 +1018,7 @@ impl Workspace { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1036,7 +1036,7 @@ impl Workspace { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1045,7 +1045,7 @@ impl Workspace { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1054,7 +1054,7 @@ impl Workspace { pub fn GetXmlDocument(&self, format: super::Syndication::SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1063,7 +1063,7 @@ impl Workspace { pub fn Title(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1072,7 +1072,7 @@ impl Workspace { pub fn Collections(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Collections)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs index a724deff88..15d1224cf8 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs @@ -18,7 +18,7 @@ impl HttpDiagnosticProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSent)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -36,7 +36,7 @@ impl HttpDiagnosticProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseReceived)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -54,7 +54,7 @@ impl HttpDiagnosticProvider { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestResponseCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -71,7 +71,7 @@ impl HttpDiagnosticProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Diagnostics::ProcessDiagnosticInfo>>, { Self::IHttpDiagnosticProviderStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromProcessDiagnosticInfo)(::windows::core::Interface::as_raw(this), processdiagnosticinfo.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -150,14 +150,14 @@ impl HttpDiagnosticProviderRequestResponseCompletedEventArgs { pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Timestamps(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamps)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -166,28 +166,28 @@ impl HttpDiagnosticProviderRequestResponseCompletedEventArgs { pub fn RequestedUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestedUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ThreadId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThreadId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Initiator(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Initiator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -196,7 +196,7 @@ impl HttpDiagnosticProviderRequestResponseCompletedEventArgs { pub fn SourceLocations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceLocations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -272,7 +272,7 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn CacheCheckedTimestamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CacheCheckedTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -281,7 +281,7 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn ConnectionInitiatedTimestamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionInitiatedTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -290,7 +290,7 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn NameResolvedTimestamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NameResolvedTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -299,7 +299,7 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn SslNegotiatedTimestamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SslNegotiatedTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -308,7 +308,7 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn ConnectionCompletedTimestamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ConnectionCompletedTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -317,7 +317,7 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn RequestSentTimestamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestSentTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -326,7 +326,7 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn RequestCompletedTimestamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestCompletedTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -335,7 +335,7 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn ResponseReceivedTimestamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseReceivedTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -344,7 +344,7 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn ResponseCompletedTimestamp(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseCompletedTimestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -420,42 +420,42 @@ impl HttpDiagnosticProviderRequestSentEventArgs { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ProcessId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ThreadId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ThreadId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Initiator(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Initiator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -464,7 +464,7 @@ impl HttpDiagnosticProviderRequestSentEventArgs { pub fn SourceLocations(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceLocations)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -540,21 +540,21 @@ impl HttpDiagnosticProviderResponseReceivedEventArgs { pub fn Timestamp(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timestamp)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ActivityId(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ActivityId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn Message(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Message)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -675,21 +675,21 @@ impl HttpDiagnosticSourceLocation { pub fn SourceUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn LineNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LineNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ColumnNumber(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ColumnNumber)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } 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 a289e79f5e..cd171bd209 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs @@ -18,7 +18,7 @@ impl HttpBaseProtocolFilter { pub fn AllowAutoRedirect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowAutoRedirect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -29,7 +29,7 @@ impl HttpBaseProtocolFilter { pub fn AllowUI(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AllowUI)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -40,7 +40,7 @@ impl HttpBaseProtocolFilter { pub fn AutomaticDecompression(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AutomaticDecompression)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -51,14 +51,14 @@ impl HttpBaseProtocolFilter { pub fn CacheControl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CacheControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CookieManager(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CookieManager)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -67,7 +67,7 @@ impl HttpBaseProtocolFilter { pub fn ClientCertificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ClientCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -85,14 +85,14 @@ impl HttpBaseProtocolFilter { pub fn IgnorableServerCertificateErrors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IgnorableServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn MaxConnectionsPerServer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxConnectionsPerServer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -105,7 +105,7 @@ impl HttpBaseProtocolFilter { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -123,7 +123,7 @@ impl HttpBaseProtocolFilter { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -139,7 +139,7 @@ impl HttpBaseProtocolFilter { pub fn UseProxy(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UseProxy)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -150,7 +150,7 @@ impl HttpBaseProtocolFilter { pub fn MaxVersion(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxVersion)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -161,7 +161,7 @@ impl HttpBaseProtocolFilter { pub fn CookieUsageBehavior(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CookieUsageBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -177,7 +177,7 @@ impl HttpBaseProtocolFilter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCustomValidationRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -196,7 +196,7 @@ impl HttpBaseProtocolFilter { pub fn User(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).User)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -207,7 +207,7 @@ impl HttpBaseProtocolFilter { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::User>>, { Self::IHttpBaseProtocolFilterStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateForUser)(::windows::core::Interface::as_raw(this), user.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -219,7 +219,7 @@ impl HttpBaseProtocolFilter { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendRequestAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -339,7 +339,7 @@ impl HttpCacheControl { pub fn ReadBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -350,7 +350,7 @@ impl HttpCacheControl { pub fn WriteBehavior(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteBehavior)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -532,7 +532,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn RequestMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -541,7 +541,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn ServerCertificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -550,7 +550,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn ServerCertificateErrorSeverity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrorSeverity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -559,7 +559,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn ServerCertificateErrors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -568,7 +568,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn ServerIntermediateCertificates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerIntermediateCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -581,7 +581,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -809,7 +809,7 @@ impl IHttpFilter { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendRequestAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs index 7c623c77a1..f0087fd851 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs @@ -7,7 +7,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn MaxAge(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxAge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -26,7 +26,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn MaxStale(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxStale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -45,7 +45,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn MinFresh(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MinFresh)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -64,7 +64,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn SharedMaxAge(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SharedMaxAge)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -91,7 +91,7 @@ impl HttpCacheDirectiveHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -100,7 +100,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -109,7 +109,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -118,7 +118,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -127,7 +127,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -136,7 +136,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -148,7 +148,7 @@ impl HttpCacheDirectiveHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -202,7 +202,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -366,21 +366,21 @@ impl HttpChallengeHeaderValue { pub fn Parameters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Scheme(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scheme)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Token(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Token)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -389,7 +389,7 @@ impl HttpChallengeHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpChallengeHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromScheme)(::windows::core::Interface::as_raw(this), scheme.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -399,7 +399,7 @@ impl HttpChallengeHeaderValue { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpChallengeHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromSchemeWithToken)(::windows::core::Interface::as_raw(this), scheme.into().abi(), token.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -408,7 +408,7 @@ impl HttpChallengeHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpChallengeHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -417,7 +417,7 @@ impl HttpChallengeHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpChallengeHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), challengeheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -426,7 +426,7 @@ impl HttpChallengeHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -542,7 +542,7 @@ impl HttpChallengeHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -551,7 +551,7 @@ impl HttpChallengeHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -560,7 +560,7 @@ impl HttpChallengeHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -569,7 +569,7 @@ impl HttpChallengeHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -578,7 +578,7 @@ impl HttpChallengeHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -587,7 +587,7 @@ impl HttpChallengeHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -599,7 +599,7 @@ impl HttpChallengeHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -653,7 +653,7 @@ impl HttpChallengeHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -815,7 +815,7 @@ impl HttpConnectionOptionHeaderValue { pub fn Token(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Token)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -824,7 +824,7 @@ impl HttpConnectionOptionHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpConnectionOptionHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), token.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -833,7 +833,7 @@ impl HttpConnectionOptionHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpConnectionOptionHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -842,7 +842,7 @@ impl HttpConnectionOptionHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpConnectionOptionHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), connectionoptionheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -851,7 +851,7 @@ impl HttpConnectionOptionHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -967,7 +967,7 @@ impl HttpConnectionOptionHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -976,7 +976,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -985,7 +985,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -994,7 +994,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1003,7 +1003,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1012,7 +1012,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1024,7 +1024,7 @@ impl HttpConnectionOptionHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1078,7 +1078,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1240,7 +1240,7 @@ impl HttpContentCodingHeaderValue { pub fn ContentCoding(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentCoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1249,7 +1249,7 @@ impl HttpContentCodingHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentCodingHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), contentcoding.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1258,7 +1258,7 @@ impl HttpContentCodingHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentCodingHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1267,7 +1267,7 @@ impl HttpContentCodingHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentCodingHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), contentcodingheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1276,7 +1276,7 @@ impl HttpContentCodingHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1392,7 +1392,7 @@ impl HttpContentCodingHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1401,7 +1401,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1410,7 +1410,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1419,7 +1419,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1428,7 +1428,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1437,7 +1437,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1449,7 +1449,7 @@ impl HttpContentCodingHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1503,7 +1503,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1665,7 +1665,7 @@ impl HttpContentCodingWithQualityHeaderValue { pub fn ContentCoding(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentCoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1674,7 +1674,7 @@ impl HttpContentCodingWithQualityHeaderValue { pub fn Quality(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Quality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1683,7 +1683,7 @@ impl HttpContentCodingWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentCodingWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromValue)(::windows::core::Interface::as_raw(this), contentcoding.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1692,7 +1692,7 @@ impl HttpContentCodingWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentCodingWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromValueWithQuality)(::windows::core::Interface::as_raw(this), contentcoding.into().abi(), quality, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1701,7 +1701,7 @@ impl HttpContentCodingWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentCodingWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1710,7 +1710,7 @@ impl HttpContentCodingWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentCodingWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), contentcodingwithqualityheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1719,7 +1719,7 @@ impl HttpContentCodingWithQualityHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1835,7 +1835,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1844,7 +1844,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1853,7 +1853,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1862,7 +1862,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1871,7 +1871,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1880,7 +1880,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1892,7 +1892,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1946,7 +1946,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2108,7 +2108,7 @@ impl HttpContentDispositionHeaderValue { pub fn DispositionType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DispositionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2122,7 +2122,7 @@ impl HttpContentDispositionHeaderValue { pub fn FileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2136,7 +2136,7 @@ impl HttpContentDispositionHeaderValue { pub fn FileNameStar(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FileNameStar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2150,7 +2150,7 @@ impl HttpContentDispositionHeaderValue { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2166,7 +2166,7 @@ impl HttpContentDispositionHeaderValue { pub fn Parameters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2175,7 +2175,7 @@ impl HttpContentDispositionHeaderValue { pub fn Size(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2194,7 +2194,7 @@ impl HttpContentDispositionHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentDispositionHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), dispositiontype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2203,7 +2203,7 @@ impl HttpContentDispositionHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentDispositionHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2212,7 +2212,7 @@ impl HttpContentDispositionHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentDispositionHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), contentdispositionheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2221,7 +2221,7 @@ impl HttpContentDispositionHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2334,7 +2334,7 @@ impl HttpContentHeaderCollection { pub fn ContentDisposition(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentDisposition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2348,14 +2348,14 @@ impl HttpContentHeaderCollection { pub fn ContentEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContentLanguage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2364,7 +2364,7 @@ impl HttpContentHeaderCollection { pub fn ContentLength(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentLength)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2383,7 +2383,7 @@ impl HttpContentHeaderCollection { pub fn ContentLocation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentLocation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2401,7 +2401,7 @@ impl HttpContentHeaderCollection { pub fn ContentMD5(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentMD5)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2418,7 +2418,7 @@ impl HttpContentHeaderCollection { pub fn ContentRange(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2432,7 +2432,7 @@ impl HttpContentHeaderCollection { pub fn ContentType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2448,7 +2448,7 @@ impl HttpContentHeaderCollection { pub fn Expires(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Expires)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2467,7 +2467,7 @@ impl HttpContentHeaderCollection { pub fn LastModified(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastModified)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2496,7 +2496,7 @@ impl HttpContentHeaderCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAppendWithoutValidation)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2505,7 +2505,7 @@ impl HttpContentHeaderCollection { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -2517,7 +2517,7 @@ impl HttpContentHeaderCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2526,7 +2526,7 @@ impl HttpContentHeaderCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2538,7 +2538,7 @@ impl HttpContentHeaderCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2547,7 +2547,7 @@ impl HttpContentHeaderCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2560,7 +2560,7 @@ impl HttpContentHeaderCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2584,7 +2584,7 @@ impl HttpContentHeaderCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2742,7 +2742,7 @@ impl HttpContentRangeHeaderValue { pub fn FirstBytePosition(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstBytePosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2751,7 +2751,7 @@ impl HttpContentRangeHeaderValue { pub fn LastBytePosition(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastBytePosition)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2760,14 +2760,14 @@ impl HttpContentRangeHeaderValue { pub fn Length(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Unit(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Unit)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2780,19 +2780,19 @@ impl HttpContentRangeHeaderValue { } pub fn CreateFromLength(length: u64) -> ::windows::core::Result { Self::IHttpContentRangeHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromLength)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromRange(from: u64, to: u64) -> ::windows::core::Result { Self::IHttpContentRangeHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromRange)(::windows::core::Interface::as_raw(this), from, to, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn CreateFromRangeWithLength(from: u64, to: u64, length: u64) -> ::windows::core::Result { Self::IHttpContentRangeHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromRangeWithLength)(::windows::core::Interface::as_raw(this), from, to, length, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2801,7 +2801,7 @@ impl HttpContentRangeHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentRangeHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2810,7 +2810,7 @@ impl HttpContentRangeHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpContentRangeHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), contentrangeheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2819,7 +2819,7 @@ impl HttpContentRangeHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2925,14 +2925,14 @@ impl HttpCookiePairHeaderValue { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2948,7 +2948,7 @@ impl HttpCookiePairHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpCookiePairHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2958,7 +2958,7 @@ impl HttpCookiePairHeaderValue { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpCookiePairHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNameWithValue)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2967,7 +2967,7 @@ impl HttpCookiePairHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpCookiePairHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2976,7 +2976,7 @@ impl HttpCookiePairHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpCookiePairHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), cookiepairheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2985,7 +2985,7 @@ impl HttpCookiePairHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3101,7 +3101,7 @@ impl HttpCookiePairHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3110,7 +3110,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3119,7 +3119,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3128,7 +3128,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3137,7 +3137,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3146,7 +3146,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3158,7 +3158,7 @@ impl HttpCookiePairHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3212,7 +3212,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3376,21 +3376,21 @@ impl HttpCredentialsHeaderValue { pub fn Parameters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Scheme(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scheme)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Token(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Token)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3399,7 +3399,7 @@ impl HttpCredentialsHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpCredentialsHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromScheme)(::windows::core::Interface::as_raw(this), scheme.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3409,7 +3409,7 @@ impl HttpCredentialsHeaderValue { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpCredentialsHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromSchemeWithToken)(::windows::core::Interface::as_raw(this), scheme.into().abi(), token.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3418,7 +3418,7 @@ impl HttpCredentialsHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpCredentialsHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3427,7 +3427,7 @@ impl HttpCredentialsHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpCredentialsHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), credentialsheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3436,7 +3436,7 @@ impl HttpCredentialsHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3544,7 +3544,7 @@ impl HttpDateOrDeltaHeaderValue { pub fn Date(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Date)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3553,7 +3553,7 @@ impl HttpDateOrDeltaHeaderValue { pub fn Delta(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delta)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3562,7 +3562,7 @@ impl HttpDateOrDeltaHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpDateOrDeltaHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3571,7 +3571,7 @@ impl HttpDateOrDeltaHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpDateOrDeltaHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), dateordeltaheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3580,7 +3580,7 @@ impl HttpDateOrDeltaHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3681,14 +3681,14 @@ impl HttpExpectationHeaderValue { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3704,7 +3704,7 @@ impl HttpExpectationHeaderValue { pub fn Parameters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3713,7 +3713,7 @@ impl HttpExpectationHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpExpectationHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3723,7 +3723,7 @@ impl HttpExpectationHeaderValue { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpExpectationHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNameWithValue)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3732,7 +3732,7 @@ impl HttpExpectationHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpExpectationHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3741,7 +3741,7 @@ impl HttpExpectationHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpExpectationHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), expectationheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3750,7 +3750,7 @@ impl HttpExpectationHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3866,7 +3866,7 @@ impl HttpExpectationHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3875,7 +3875,7 @@ impl HttpExpectationHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3884,7 +3884,7 @@ impl HttpExpectationHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3893,7 +3893,7 @@ impl HttpExpectationHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3902,7 +3902,7 @@ impl HttpExpectationHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3911,7 +3911,7 @@ impl HttpExpectationHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3923,7 +3923,7 @@ impl HttpExpectationHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3977,7 +3977,7 @@ impl HttpExpectationHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4149,7 +4149,7 @@ impl HttpLanguageHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4158,7 +4158,7 @@ impl HttpLanguageHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4167,7 +4167,7 @@ impl HttpLanguageHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4176,7 +4176,7 @@ impl HttpLanguageHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4185,7 +4185,7 @@ impl HttpLanguageHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4194,7 +4194,7 @@ impl HttpLanguageHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4206,7 +4206,7 @@ impl HttpLanguageHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4260,7 +4260,7 @@ impl HttpLanguageHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4422,7 +4422,7 @@ impl HttpLanguageRangeWithQualityHeaderValue { pub fn LanguageRange(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LanguageRange)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4431,7 +4431,7 @@ impl HttpLanguageRangeWithQualityHeaderValue { pub fn Quality(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Quality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4440,7 +4440,7 @@ impl HttpLanguageRangeWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpLanguageRangeWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromLanguageRange)(::windows::core::Interface::as_raw(this), languagerange.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4449,7 +4449,7 @@ impl HttpLanguageRangeWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpLanguageRangeWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromLanguageRangeWithQuality)(::windows::core::Interface::as_raw(this), languagerange.into().abi(), quality, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4458,7 +4458,7 @@ impl HttpLanguageRangeWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpLanguageRangeWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4467,7 +4467,7 @@ impl HttpLanguageRangeWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpLanguageRangeWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), languagerangewithqualityheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4476,7 +4476,7 @@ impl HttpLanguageRangeWithQualityHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4592,7 +4592,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4601,7 +4601,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4610,7 +4610,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4619,7 +4619,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4628,7 +4628,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4637,7 +4637,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4649,7 +4649,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4703,7 +4703,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4865,7 +4865,7 @@ impl HttpMediaTypeHeaderValue { pub fn CharSet(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharSet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4879,7 +4879,7 @@ impl HttpMediaTypeHeaderValue { pub fn MediaType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4895,7 +4895,7 @@ impl HttpMediaTypeHeaderValue { pub fn Parameters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4904,7 +4904,7 @@ impl HttpMediaTypeHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMediaTypeHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), mediatype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4913,7 +4913,7 @@ impl HttpMediaTypeHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMediaTypeHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4922,7 +4922,7 @@ impl HttpMediaTypeHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMediaTypeHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), mediatypeheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4931,7 +4931,7 @@ impl HttpMediaTypeHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5037,7 +5037,7 @@ impl HttpMediaTypeWithQualityHeaderValue { pub fn CharSet(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CharSet)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5051,7 +5051,7 @@ impl HttpMediaTypeWithQualityHeaderValue { pub fn MediaType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5067,7 +5067,7 @@ impl HttpMediaTypeWithQualityHeaderValue { pub fn Parameters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5076,7 +5076,7 @@ impl HttpMediaTypeWithQualityHeaderValue { pub fn Quality(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Quality)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5095,7 +5095,7 @@ impl HttpMediaTypeWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMediaTypeWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromMediaType)(::windows::core::Interface::as_raw(this), mediatype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5104,7 +5104,7 @@ impl HttpMediaTypeWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMediaTypeWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromMediaTypeWithQuality)(::windows::core::Interface::as_raw(this), mediatype.into().abi(), quality, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5113,7 +5113,7 @@ impl HttpMediaTypeWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMediaTypeWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5122,7 +5122,7 @@ impl HttpMediaTypeWithQualityHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMediaTypeWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), mediatypewithqualityheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5131,7 +5131,7 @@ impl HttpMediaTypeWithQualityHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5247,7 +5247,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5256,7 +5256,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5265,7 +5265,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5274,7 +5274,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5283,7 +5283,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5292,7 +5292,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5304,7 +5304,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5358,7 +5358,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5530,7 +5530,7 @@ impl HttpMethodHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5539,7 +5539,7 @@ impl HttpMethodHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5548,7 +5548,7 @@ impl HttpMethodHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5557,7 +5557,7 @@ impl HttpMethodHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5566,7 +5566,7 @@ impl HttpMethodHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5575,7 +5575,7 @@ impl HttpMethodHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -5587,7 +5587,7 @@ impl HttpMethodHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -5641,7 +5641,7 @@ impl HttpMethodHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -5803,14 +5803,14 @@ impl HttpNameValueHeaderValue { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5826,7 +5826,7 @@ impl HttpNameValueHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpNameValueHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromName)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5836,7 +5836,7 @@ impl HttpNameValueHeaderValue { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpNameValueHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNameWithValue)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5845,7 +5845,7 @@ impl HttpNameValueHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpNameValueHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5854,7 +5854,7 @@ impl HttpNameValueHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpNameValueHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), namevalueheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5863,7 +5863,7 @@ impl HttpNameValueHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5969,14 +5969,14 @@ impl HttpProductHeaderValue { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Version(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -5985,7 +5985,7 @@ impl HttpProductHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpProductHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromName)(::windows::core::Interface::as_raw(this), productname.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -5995,7 +5995,7 @@ impl HttpProductHeaderValue { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpProductHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNameWithVersion)(::windows::core::Interface::as_raw(this), productname.into().abi(), productversion.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6004,7 +6004,7 @@ impl HttpProductHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpProductHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6013,7 +6013,7 @@ impl HttpProductHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpProductHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), productheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6022,7 +6022,7 @@ impl HttpProductHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6128,14 +6128,14 @@ impl HttpProductInfoHeaderValue { pub fn Product(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Product)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Comment(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Comment)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6144,7 +6144,7 @@ impl HttpProductInfoHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpProductInfoHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromComment)(::windows::core::Interface::as_raw(this), productcomment.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6154,7 +6154,7 @@ impl HttpProductInfoHeaderValue { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpProductInfoHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromNameWithVersion)(::windows::core::Interface::as_raw(this), productname.into().abi(), productversion.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6163,7 +6163,7 @@ impl HttpProductInfoHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpProductInfoHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6172,7 +6172,7 @@ impl HttpProductInfoHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpProductInfoHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), productinfoheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -6181,7 +6181,7 @@ impl HttpProductInfoHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6297,7 +6297,7 @@ impl HttpProductInfoHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6306,7 +6306,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6315,7 +6315,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6324,7 +6324,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6333,7 +6333,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6342,7 +6342,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6354,7 +6354,7 @@ impl HttpProductInfoHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -6408,7 +6408,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6570,28 +6570,28 @@ impl HttpRequestHeaderCollection { pub fn Accept(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Accept)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AcceptEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn AcceptLanguage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceptLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Authorization(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Authorization)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6605,21 +6605,21 @@ impl HttpRequestHeaderCollection { pub fn CacheControl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CacheControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Cookie(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cookie)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6628,7 +6628,7 @@ impl HttpRequestHeaderCollection { pub fn Date(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Date)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6645,14 +6645,14 @@ impl HttpRequestHeaderCollection { pub fn Expect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Expect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn From(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).From)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6668,7 +6668,7 @@ impl HttpRequestHeaderCollection { pub fn Host(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Host)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6686,7 +6686,7 @@ impl HttpRequestHeaderCollection { pub fn IfModifiedSince(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IfModifiedSince)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6705,7 +6705,7 @@ impl HttpRequestHeaderCollection { pub fn IfUnmodifiedSince(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IfUnmodifiedSince)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6724,7 +6724,7 @@ impl HttpRequestHeaderCollection { pub fn MaxForwards(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxForwards)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6741,7 +6741,7 @@ impl HttpRequestHeaderCollection { pub fn ProxyAuthorization(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyAuthorization)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6757,7 +6757,7 @@ impl HttpRequestHeaderCollection { pub fn Referer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Referer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6773,14 +6773,14 @@ impl HttpRequestHeaderCollection { pub fn TransferEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransferEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn UserAgent(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UserAgent)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6799,7 +6799,7 @@ impl HttpRequestHeaderCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAppendWithoutValidation)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6808,7 +6808,7 @@ impl HttpRequestHeaderCollection { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -6820,7 +6820,7 @@ impl HttpRequestHeaderCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -6829,7 +6829,7 @@ impl HttpRequestHeaderCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6841,7 +6841,7 @@ impl HttpRequestHeaderCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6850,7 +6850,7 @@ impl HttpRequestHeaderCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -6863,7 +6863,7 @@ impl HttpRequestHeaderCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -6887,7 +6887,7 @@ impl HttpRequestHeaderCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7045,7 +7045,7 @@ impl HttpResponseHeaderCollection { pub fn Age(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Age)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7062,21 +7062,21 @@ impl HttpResponseHeaderCollection { pub fn Allow(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Allow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CacheControl(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CacheControl)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Connection(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Connection)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7085,7 +7085,7 @@ impl HttpResponseHeaderCollection { pub fn Date(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Date)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7104,7 +7104,7 @@ impl HttpResponseHeaderCollection { pub fn Location(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Location)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7120,14 +7120,14 @@ impl HttpResponseHeaderCollection { pub fn ProxyAuthenticate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyAuthenticate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RetryAfter(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetryAfter)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7141,14 +7141,14 @@ impl HttpResponseHeaderCollection { pub fn TransferEncoding(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransferEncoding)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WwwAuthenticate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WwwAuthenticate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7167,7 +7167,7 @@ impl HttpResponseHeaderCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryAppendWithoutValidation)(::windows::core::Interface::as_raw(this), name.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7176,7 +7176,7 @@ impl HttpResponseHeaderCollection { pub fn First(&self) -> ::windows::core::Result>> { let this = &::windows::core::Interface::cast::>>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>>(result__) } } @@ -7188,7 +7188,7 @@ impl HttpResponseHeaderCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Lookup)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7197,7 +7197,7 @@ impl HttpResponseHeaderCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7209,7 +7209,7 @@ impl HttpResponseHeaderCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HasKey)(::windows::core::Interface::as_raw(this), key.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7218,7 +7218,7 @@ impl HttpResponseHeaderCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7231,7 +7231,7 @@ impl HttpResponseHeaderCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Insert)(::windows::core::Interface::as_raw(this), key.into().abi(), value.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7255,7 +7255,7 @@ impl HttpResponseHeaderCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7413,14 +7413,14 @@ impl HttpTransferCodingHeaderValue { pub fn Parameters(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parameters)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7429,7 +7429,7 @@ impl HttpTransferCodingHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpTransferCodingHeaderValueFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7438,7 +7438,7 @@ impl HttpTransferCodingHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpTransferCodingHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Parse)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7447,7 +7447,7 @@ impl HttpTransferCodingHeaderValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpTransferCodingHeaderValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParse)(::windows::core::Interface::as_raw(this), input.into().abi(), transfercodingheadervalue as *mut _ as _, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -7456,7 +7456,7 @@ impl HttpTransferCodingHeaderValue { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7572,7 +7572,7 @@ impl HttpTransferCodingHeaderValueCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryParseAdd)(::windows::core::Interface::as_raw(this), input.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7581,7 +7581,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7590,7 +7590,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -7599,7 +7599,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7608,7 +7608,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn Size(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -7617,7 +7617,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn GetView(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetView)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -7629,7 +7629,7 @@ impl HttpTransferCodingHeaderValueCollection { { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -7683,7 +7683,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index dbb516ac7e..0aa5684e32 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -22,7 +22,7 @@ impl HttpBufferContent { E0: ::std::convert::Into<::windows::core::Error>, { Self::IHttpBufferContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBuffer)(::windows::core::Interface::as_raw(this), content.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -34,7 +34,7 @@ impl HttpBufferContent { E0: ::std::convert::Into<::windows::core::Error>, { Self::IHttpBufferContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromBufferWithOffset)(::windows::core::Interface::as_raw(this), content.try_into().map_err(|e| e.into())?.abi(), offset, count, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -43,7 +43,7 @@ impl HttpBufferContent { pub fn Headers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -52,7 +52,7 @@ impl HttpBufferContent { pub fn BufferAllAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -61,7 +61,7 @@ impl HttpBufferContent { pub fn ReadAsBufferAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsBufferAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -70,7 +70,7 @@ impl HttpBufferContent { pub fn ReadAsInputStreamAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsInputStreamAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -79,14 +79,14 @@ impl HttpBufferContent { pub fn ReadAsStringAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsStringAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryComputeLength(&self, length: &mut u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeLength)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) } } @@ -99,7 +99,7 @@ impl HttpBufferContent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteToStreamAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -108,7 +108,7 @@ impl HttpBufferContent { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -268,7 +268,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeleteAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -280,7 +280,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -292,7 +292,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWithOptionAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), completionoption, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -304,7 +304,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBufferAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -316,7 +316,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInputStreamAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -328,7 +328,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStringAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -342,7 +342,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PostAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), content.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -356,7 +356,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PutAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), content.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -368,7 +368,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendRequestAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -380,7 +380,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SendRequestWithOptionAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), completionoption, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -389,7 +389,7 @@ impl HttpClient { pub fn DefaultRequestHeaders(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultRequestHeaders)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -401,7 +401,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryDeleteAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -413,7 +413,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -425,7 +425,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetAsync2)(::windows::core::Interface::as_raw(this), uri.into().abi(), completionoption, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -437,7 +437,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetBufferAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -449,7 +449,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetInputStreamAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -461,7 +461,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryGetStringAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -475,7 +475,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryPostAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), content.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -489,7 +489,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryPutAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), content.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -501,7 +501,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySendRequestAsync)(::windows::core::Interface::as_raw(this), request.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -513,7 +513,7 @@ impl HttpClient { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TrySendRequestAsync2)(::windows::core::Interface::as_raw(this), request.into().abi(), completionoption, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -525,7 +525,7 @@ impl HttpClient { E0: ::std::convert::Into<::windows::core::Error>, { Self::IHttpClientFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), filter.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -534,7 +534,7 @@ impl HttpClient { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -691,21 +691,21 @@ impl HttpCookie { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Domain(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Domain)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn Path(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Path)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -714,7 +714,7 @@ impl HttpCookie { pub fn Expires(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Expires)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -731,7 +731,7 @@ impl HttpCookie { pub fn HttpOnly(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).HttpOnly)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -742,7 +742,7 @@ impl HttpCookie { pub fn Secure(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Secure)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -753,7 +753,7 @@ impl HttpCookie { pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -771,7 +771,7 @@ impl HttpCookie { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpCookieFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), name.into().abi(), domain.into().abi(), path.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -780,7 +780,7 @@ impl HttpCookie { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -885,7 +885,7 @@ impl HttpCookieCollection { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -894,7 +894,7 @@ impl HttpCookieCollection { pub fn GetAt(&self, index: u32) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetAt)(::windows::core::Interface::as_raw(this), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -903,7 +903,7 @@ impl HttpCookieCollection { pub fn Size(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Size)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -915,7 +915,7 @@ impl HttpCookieCollection { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IndexOf)(::windows::core::Interface::as_raw(this), value.into().abi(), index, result__.as_mut_ptr()).from_abi::(result__) } } @@ -924,7 +924,7 @@ impl HttpCookieCollection { pub fn GetMany(&self, startindex: u32, items: &mut [::core::option::Option]) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetMany)(::windows::core::Interface::as_raw(this), startindex, items.len() as u32, ::core::mem::transmute_copy(&items), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1076,7 +1076,7 @@ impl HttpCookieManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetCookie)(::windows::core::Interface::as_raw(this), cookie.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1086,7 +1086,7 @@ impl HttpCookieManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SetCookieWithThirdParty)(::windows::core::Interface::as_raw(this), cookie.into().abi(), thirdparty, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1105,7 +1105,7 @@ impl HttpCookieManager { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetCookies)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1187,7 +1187,7 @@ impl HttpFormUrlEncodedContent { pub fn Headers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1196,7 +1196,7 @@ impl HttpFormUrlEncodedContent { pub fn BufferAllAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1205,7 +1205,7 @@ impl HttpFormUrlEncodedContent { pub fn ReadAsBufferAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsBufferAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1214,7 +1214,7 @@ impl HttpFormUrlEncodedContent { pub fn ReadAsInputStreamAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsInputStreamAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1223,14 +1223,14 @@ impl HttpFormUrlEncodedContent { pub fn ReadAsStringAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsStringAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryComputeLength(&self, length: &mut u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeLength)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1243,7 +1243,7 @@ impl HttpFormUrlEncodedContent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteToStreamAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1255,7 +1255,7 @@ impl HttpFormUrlEncodedContent { E0: ::std::convert::Into<::windows::core::Error>, { Self::IHttpFormUrlEncodedContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), content.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1264,7 +1264,7 @@ impl HttpFormUrlEncodedContent { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1412,28 +1412,28 @@ impl HttpGetBufferResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn RequestMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResponseMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1442,7 +1442,7 @@ impl HttpGetBufferResult { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1451,7 +1451,7 @@ impl HttpGetBufferResult { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1575,28 +1575,28 @@ impl HttpGetInputStreamResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn RequestMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResponseMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1605,7 +1605,7 @@ impl HttpGetInputStreamResult { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1614,7 +1614,7 @@ impl HttpGetInputStreamResult { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1738,35 +1738,35 @@ impl HttpGetStringResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn RequestMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResponseMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1775,7 +1775,7 @@ impl HttpGetStringResult { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1893,7 +1893,7 @@ impl HttpMethod { pub fn Method(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Method)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1902,49 +1902,49 @@ impl HttpMethod { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMethodFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), method.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Delete() -> ::windows::core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Delete)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Get() -> ::windows::core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Get)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Head() -> ::windows::core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Head)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Options() -> ::windows::core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Options)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Patch() -> ::windows::core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Patch)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Post() -> ::windows::core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Post)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn Put() -> ::windows::core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Put)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1953,7 +1953,7 @@ impl HttpMethod { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2074,7 +2074,7 @@ impl HttpMultipartContent { pub fn Headers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2083,7 +2083,7 @@ impl HttpMultipartContent { pub fn BufferAllAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2092,7 +2092,7 @@ impl HttpMultipartContent { pub fn ReadAsBufferAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsBufferAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2101,7 +2101,7 @@ impl HttpMultipartContent { pub fn ReadAsInputStreamAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsInputStreamAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2110,14 +2110,14 @@ impl HttpMultipartContent { pub fn ReadAsStringAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsStringAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryComputeLength(&self, length: &mut u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeLength)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2130,7 +2130,7 @@ impl HttpMultipartContent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteToStreamAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2147,7 +2147,7 @@ impl HttpMultipartContent { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMultipartContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithSubtype)(::windows::core::Interface::as_raw(this), subtype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2157,7 +2157,7 @@ impl HttpMultipartContent { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMultipartContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithSubtypeAndBoundary)(::windows::core::Interface::as_raw(this), subtype.into().abi(), boundary.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2166,7 +2166,7 @@ impl HttpMultipartContent { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2175,7 +2175,7 @@ impl HttpMultipartContent { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2370,7 +2370,7 @@ impl HttpMultipartFormDataContent { pub fn Headers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2379,7 +2379,7 @@ impl HttpMultipartFormDataContent { pub fn BufferAllAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2388,7 +2388,7 @@ impl HttpMultipartFormDataContent { pub fn ReadAsBufferAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsBufferAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2397,7 +2397,7 @@ impl HttpMultipartFormDataContent { pub fn ReadAsInputStreamAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsInputStreamAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2406,14 +2406,14 @@ impl HttpMultipartFormDataContent { pub fn ReadAsStringAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsStringAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryComputeLength(&self, length: &mut u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeLength)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2426,7 +2426,7 @@ impl HttpMultipartFormDataContent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteToStreamAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2462,7 +2462,7 @@ impl HttpMultipartFormDataContent { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpMultipartFormDataContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithBoundary)(::windows::core::Interface::as_raw(this), boundary.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2471,7 +2471,7 @@ impl HttpMultipartFormDataContent { pub fn First(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::>(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).First)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2480,7 +2480,7 @@ impl HttpMultipartFormDataContent { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2771,7 +2771,7 @@ impl HttpRequestMessage { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2788,14 +2788,14 @@ impl HttpRequestMessage { pub fn Headers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Method(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Method)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2811,7 +2811,7 @@ impl HttpRequestMessage { pub fn Properties(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Properties)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2820,7 +2820,7 @@ impl HttpRequestMessage { pub fn RequestUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2836,7 +2836,7 @@ impl HttpRequestMessage { pub fn TransportInformation(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TransportInformation)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2848,7 +2848,7 @@ impl HttpRequestMessage { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::IHttpRequestMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), method.into().abi(), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2857,7 +2857,7 @@ impl HttpRequestMessage { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2986,28 +2986,28 @@ impl HttpRequestResult { pub fn ExtendedError(&self) -> ::windows::core::Result<::windows::core::HRESULT> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExtendedError)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HRESULT>(result__) } } pub fn RequestMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ResponseMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResponseMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Succeeded(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Succeeded)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3016,7 +3016,7 @@ impl HttpRequestResult { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3147,7 +3147,7 @@ impl HttpResponseMessage { pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3164,21 +3164,21 @@ impl HttpResponseMessage { pub fn Headers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSuccessStatusCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSuccessStatusCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ReasonPhrase(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReasonPhrase)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3192,7 +3192,7 @@ impl HttpResponseMessage { pub fn RequestMessage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RequestMessage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3206,7 +3206,7 @@ impl HttpResponseMessage { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3217,7 +3217,7 @@ impl HttpResponseMessage { pub fn StatusCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StatusCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3228,7 +3228,7 @@ impl HttpResponseMessage { pub fn Version(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3239,13 +3239,13 @@ impl HttpResponseMessage { pub fn EnsureSuccessStatusCode(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnsureSuccessStatusCode)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Create(statuscode: HttpStatusCode) -> ::windows::core::Result { Self::IHttpResponseMessageFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Create)(::windows::core::Interface::as_raw(this), statuscode, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3254,7 +3254,7 @@ impl HttpResponseMessage { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3510,7 +3510,7 @@ impl HttpStreamContent { pub fn Headers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3519,7 +3519,7 @@ impl HttpStreamContent { pub fn BufferAllAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3528,7 +3528,7 @@ impl HttpStreamContent { pub fn ReadAsBufferAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsBufferAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3537,7 +3537,7 @@ impl HttpStreamContent { pub fn ReadAsInputStreamAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsInputStreamAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3546,14 +3546,14 @@ impl HttpStreamContent { pub fn ReadAsStringAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsStringAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryComputeLength(&self, length: &mut u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeLength)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3566,7 +3566,7 @@ impl HttpStreamContent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteToStreamAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3578,7 +3578,7 @@ impl HttpStreamContent { E0: ::std::convert::Into<::windows::core::Error>, { Self::IHttpStreamContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromInputStream)(::windows::core::Interface::as_raw(this), content.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3587,7 +3587,7 @@ impl HttpStreamContent { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3737,7 +3737,7 @@ impl HttpStringContent { pub fn Headers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3746,7 +3746,7 @@ impl HttpStringContent { pub fn BufferAllAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3755,7 +3755,7 @@ impl HttpStringContent { pub fn ReadAsBufferAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsBufferAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3764,7 +3764,7 @@ impl HttpStringContent { pub fn ReadAsInputStreamAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsInputStreamAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3773,14 +3773,14 @@ impl HttpStringContent { pub fn ReadAsStringAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsStringAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryComputeLength(&self, length: &mut u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeLength)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3793,7 +3793,7 @@ impl HttpStringContent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteToStreamAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3802,7 +3802,7 @@ impl HttpStringContent { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpStringContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromString)(::windows::core::Interface::as_raw(this), content.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3813,7 +3813,7 @@ impl HttpStringContent { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpStringContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStringWithEncoding)(::windows::core::Interface::as_raw(this), content.into().abi(), encoding, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3825,7 +3825,7 @@ impl HttpStringContent { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IHttpStringContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateFromStringWithEncodingAndMediaType)(::windows::core::Interface::as_raw(this), content.into().abi(), encoding, mediatype.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3834,7 +3834,7 @@ impl HttpStringContent { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3978,7 +3978,7 @@ impl HttpTransportInformation { pub fn ServerCertificate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3987,7 +3987,7 @@ impl HttpTransportInformation { pub fn ServerCertificateErrorSeverity(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrorSeverity)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3996,7 +3996,7 @@ impl HttpTransportInformation { pub fn ServerCertificateErrors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCertificateErrors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4005,7 +4005,7 @@ impl HttpTransportInformation { pub fn ServerIntermediateCertificates(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerIntermediateCertificates)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4014,7 +4014,7 @@ impl HttpTransportInformation { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4292,7 +4292,7 @@ impl IHttpContent { pub fn Headers(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Headers)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4301,7 +4301,7 @@ impl IHttpContent { pub fn BufferAllAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BufferAllAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4310,7 +4310,7 @@ impl IHttpContent { pub fn ReadAsBufferAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsBufferAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4319,7 +4319,7 @@ impl IHttpContent { pub fn ReadAsInputStreamAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsInputStreamAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4328,14 +4328,14 @@ impl IHttpContent { pub fn ReadAsStringAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ReadAsStringAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn TryComputeLength(&self, length: &mut u64) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).TryComputeLength)(::windows::core::Interface::as_raw(this), length, result__.as_mut_ptr()).from_abi::(result__) } } @@ -4348,7 +4348,7 @@ impl IHttpContent { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WriteToStreamAsync)(::windows::core::Interface::as_raw(this), outputstream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } diff --git a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs index d7636368d4..eeb6f12171 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs @@ -70,7 +70,7 @@ impl ISyndicationClient { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -88,7 +88,7 @@ impl ISyndicationClient { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -104,7 +104,7 @@ impl ISyndicationClient { pub fn MaxResponseBufferSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxResponseBufferSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -115,7 +115,7 @@ impl ISyndicationClient { pub fn Timeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -126,7 +126,7 @@ impl ISyndicationClient { pub fn BypassCacheOnRetrieve(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BypassCacheOnRetrieve)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -150,7 +150,7 @@ impl ISyndicationClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveFeedAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -606,7 +606,7 @@ impl ISyndicationNode { pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -620,7 +620,7 @@ impl ISyndicationNode { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -634,7 +634,7 @@ impl ISyndicationNode { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -648,7 +648,7 @@ impl ISyndicationNode { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -664,7 +664,7 @@ impl ISyndicationNode { pub fn BaseUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -682,7 +682,7 @@ impl ISyndicationNode { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -691,7 +691,7 @@ impl ISyndicationNode { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -700,7 +700,7 @@ impl ISyndicationNode { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -856,7 +856,7 @@ impl ISyndicationText { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -870,7 +870,7 @@ impl ISyndicationText { pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -886,7 +886,7 @@ impl ISyndicationText { pub fn Xml(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Xml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -902,7 +902,7 @@ impl ISyndicationText { pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -916,7 +916,7 @@ impl ISyndicationText { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -930,7 +930,7 @@ impl ISyndicationText { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -944,7 +944,7 @@ impl ISyndicationText { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -960,7 +960,7 @@ impl ISyndicationText { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -978,7 +978,7 @@ impl ISyndicationText { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -987,7 +987,7 @@ impl ISyndicationText { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -996,7 +996,7 @@ impl ISyndicationText { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1160,7 +1160,7 @@ impl SyndicationAttribute { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1174,7 +1174,7 @@ impl SyndicationAttribute { pub fn Namespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Namespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1188,7 +1188,7 @@ impl SyndicationAttribute { pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1206,7 +1206,7 @@ impl SyndicationAttribute { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationAttributeFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationAttribute)(::windows::core::Interface::as_raw(this), attributename.into().abi(), attributenamespace.into().abi(), attributevalue.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1292,7 +1292,7 @@ impl SyndicationCategory { pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Label)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1306,7 +1306,7 @@ impl SyndicationCategory { pub fn Scheme(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scheme)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1320,7 +1320,7 @@ impl SyndicationCategory { pub fn Term(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Term)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1336,7 +1336,7 @@ impl SyndicationCategory { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationCategoryFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationCategory)(::windows::core::Interface::as_raw(this), term.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1347,14 +1347,14 @@ impl SyndicationCategory { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationCategoryFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationCategoryEx)(::windows::core::Interface::as_raw(this), term.into().abi(), scheme.into().abi(), label.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1368,7 +1368,7 @@ impl SyndicationCategory { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1382,7 +1382,7 @@ impl SyndicationCategory { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1396,7 +1396,7 @@ impl SyndicationCategory { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1412,7 +1412,7 @@ impl SyndicationCategory { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1430,7 +1430,7 @@ impl SyndicationCategory { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1439,7 +1439,7 @@ impl SyndicationCategory { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1448,7 +1448,7 @@ impl SyndicationCategory { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -1555,7 +1555,7 @@ impl SyndicationClient { pub fn ServerCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ServerCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1573,7 +1573,7 @@ impl SyndicationClient { pub fn ProxyCredential(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProxyCredential)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1589,7 +1589,7 @@ impl SyndicationClient { pub fn MaxResponseBufferSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MaxResponseBufferSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1600,7 +1600,7 @@ impl SyndicationClient { pub fn Timeout(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Timeout)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1611,7 +1611,7 @@ impl SyndicationClient { pub fn BypassCacheOnRetrieve(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BypassCacheOnRetrieve)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1635,7 +1635,7 @@ impl SyndicationClient { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RetrieveFeedAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1646,7 +1646,7 @@ impl SyndicationClient { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Security::Credentials::PasswordCredential>>, { Self::ISyndicationClientFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationClient)(::windows::core::Interface::as_raw(this), servercredential.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1753,7 +1753,7 @@ impl SyndicationContent { pub fn SourceUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1771,7 +1771,7 @@ impl SyndicationContent { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationContent)(::windows::core::Interface::as_raw(this), text.into().abi(), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1782,14 +1782,14 @@ impl SyndicationContent { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ISyndicationContentFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationContentWithSourceUri)(::windows::core::Interface::as_raw(this), sourceuri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1803,7 +1803,7 @@ impl SyndicationContent { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1817,7 +1817,7 @@ impl SyndicationContent { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1831,7 +1831,7 @@ impl SyndicationContent { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1847,7 +1847,7 @@ impl SyndicationContent { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1865,7 +1865,7 @@ impl SyndicationContent { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1874,7 +1874,7 @@ impl SyndicationContent { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1883,14 +1883,14 @@ impl SyndicationContent { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1904,7 +1904,7 @@ impl SyndicationContent { pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1920,7 +1920,7 @@ impl SyndicationContent { pub fn Xml(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Xml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2044,7 +2044,7 @@ pub struct SyndicationError; impl SyndicationError { pub fn GetStatus(hresult: i32) -> ::windows::core::Result { Self::ISyndicationErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatus)(::windows::core::Interface::as_raw(this), hresult, result__.as_mut_ptr()).from_abi::(result__) }) } @@ -2111,7 +2111,7 @@ impl SyndicationFeed { pub fn Authors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Authors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2120,7 +2120,7 @@ impl SyndicationFeed { pub fn Categories(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Categories)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2129,14 +2129,14 @@ impl SyndicationFeed { pub fn Contributors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contributors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Generator(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Generator)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2152,7 +2152,7 @@ impl SyndicationFeed { pub fn IconUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IconUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2168,7 +2168,7 @@ impl SyndicationFeed { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2184,7 +2184,7 @@ impl SyndicationFeed { pub fn Items(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Items)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2193,7 +2193,7 @@ impl SyndicationFeed { pub fn LastUpdatedTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastUpdatedTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2208,7 +2208,7 @@ impl SyndicationFeed { pub fn Links(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Links)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2217,7 +2217,7 @@ impl SyndicationFeed { pub fn ImageUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ImageUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2233,7 +2233,7 @@ impl SyndicationFeed { pub fn Rights(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rights)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2248,7 +2248,7 @@ impl SyndicationFeed { pub fn Subtitle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Subtitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2263,7 +2263,7 @@ impl SyndicationFeed { pub fn Title(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2280,7 +2280,7 @@ impl SyndicationFeed { pub fn FirstUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FirstUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2289,7 +2289,7 @@ impl SyndicationFeed { pub fn LastUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2298,7 +2298,7 @@ impl SyndicationFeed { pub fn NextUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NextUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2307,14 +2307,14 @@ impl SyndicationFeed { pub fn PreviousUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PreviousUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn SourceFormat(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).SourceFormat)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2343,14 +2343,14 @@ impl SyndicationFeed { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ISyndicationFeedFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationFeed)(::windows::core::Interface::as_raw(this), title.into().abi(), subtitle.into().abi(), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2364,7 +2364,7 @@ impl SyndicationFeed { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2378,7 +2378,7 @@ impl SyndicationFeed { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2392,7 +2392,7 @@ impl SyndicationFeed { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2408,7 +2408,7 @@ impl SyndicationFeed { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2426,7 +2426,7 @@ impl SyndicationFeed { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2435,7 +2435,7 @@ impl SyndicationFeed { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2444,7 +2444,7 @@ impl SyndicationFeed { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2587,7 +2587,7 @@ impl SyndicationGenerator { pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2603,7 +2603,7 @@ impl SyndicationGenerator { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2619,7 +2619,7 @@ impl SyndicationGenerator { pub fn Version(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Version)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2635,14 +2635,14 @@ impl SyndicationGenerator { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationGeneratorFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationGenerator)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2656,7 +2656,7 @@ impl SyndicationGenerator { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2670,7 +2670,7 @@ impl SyndicationGenerator { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2684,7 +2684,7 @@ impl SyndicationGenerator { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2700,7 +2700,7 @@ impl SyndicationGenerator { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2718,7 +2718,7 @@ impl SyndicationGenerator { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2727,7 +2727,7 @@ impl SyndicationGenerator { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2736,7 +2736,7 @@ impl SyndicationGenerator { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -2843,7 +2843,7 @@ impl SyndicationItem { pub fn Authors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Authors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2852,7 +2852,7 @@ impl SyndicationItem { pub fn Categories(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Categories)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2861,14 +2861,14 @@ impl SyndicationItem { pub fn Contributors(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Contributors)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } pub fn Content(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Content)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2882,7 +2882,7 @@ impl SyndicationItem { pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2898,7 +2898,7 @@ impl SyndicationItem { pub fn LastUpdatedTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LastUpdatedTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2913,7 +2913,7 @@ impl SyndicationItem { pub fn Links(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Links)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -2922,7 +2922,7 @@ impl SyndicationItem { pub fn PublishedDate(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PublishedDate)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2935,7 +2935,7 @@ impl SyndicationItem { pub fn Rights(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Rights)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2950,7 +2950,7 @@ impl SyndicationItem { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2964,7 +2964,7 @@ impl SyndicationItem { pub fn Summary(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Summary)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2979,7 +2979,7 @@ impl SyndicationItem { pub fn Title(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2996,7 +2996,7 @@ impl SyndicationItem { pub fn CommentsUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CommentsUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3014,7 +3014,7 @@ impl SyndicationItem { pub fn EditUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EditUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3023,14 +3023,14 @@ impl SyndicationItem { pub fn EditMediaUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EditMediaUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ETag(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ETag)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3039,7 +3039,7 @@ impl SyndicationItem { pub fn ItemUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ItemUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3068,14 +3068,14 @@ impl SyndicationItem { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ISyndicationItemFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationItem)(::windows::core::Interface::as_raw(this), title.into().abi(), content.into().abi(), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3089,7 +3089,7 @@ impl SyndicationItem { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3103,7 +3103,7 @@ impl SyndicationItem { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3117,7 +3117,7 @@ impl SyndicationItem { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3133,7 +3133,7 @@ impl SyndicationItem { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3151,7 +3151,7 @@ impl SyndicationItem { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3160,7 +3160,7 @@ impl SyndicationItem { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3169,7 +3169,7 @@ impl SyndicationItem { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3274,7 +3274,7 @@ impl SyndicationLink { pub fn Length(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Length)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3285,7 +3285,7 @@ impl SyndicationLink { pub fn MediaType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3299,7 +3299,7 @@ impl SyndicationLink { pub fn Relationship(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Relationship)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3313,7 +3313,7 @@ impl SyndicationLink { pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Title)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3329,7 +3329,7 @@ impl SyndicationLink { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3345,7 +3345,7 @@ impl SyndicationLink { pub fn ResourceLanguage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ResourceLanguage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3363,7 +3363,7 @@ impl SyndicationLink { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ISyndicationLinkFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationLink)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3377,14 +3377,14 @@ impl SyndicationLink { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationLinkFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationLinkEx)(::windows::core::Interface::as_raw(this), uri.into().abi(), relationship.into().abi(), title.into().abi(), mediatype.into().abi(), length, result__.as_mut_ptr()).from_abi::(result__) }) } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3398,7 +3398,7 @@ impl SyndicationLink { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3412,7 +3412,7 @@ impl SyndicationLink { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3426,7 +3426,7 @@ impl SyndicationLink { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3442,7 +3442,7 @@ impl SyndicationLink { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3460,7 +3460,7 @@ impl SyndicationLink { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3469,7 +3469,7 @@ impl SyndicationLink { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3478,7 +3478,7 @@ impl SyndicationLink { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3583,7 +3583,7 @@ impl SyndicationNode { pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3597,7 +3597,7 @@ impl SyndicationNode { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3611,7 +3611,7 @@ impl SyndicationNode { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3625,7 +3625,7 @@ impl SyndicationNode { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3641,7 +3641,7 @@ impl SyndicationNode { pub fn BaseUri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3659,7 +3659,7 @@ impl SyndicationNode { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3668,7 +3668,7 @@ impl SyndicationNode { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3677,7 +3677,7 @@ impl SyndicationNode { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } @@ -3688,7 +3688,7 @@ impl SyndicationNode { P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationNodeFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationNode)(::windows::core::Interface::as_raw(this), nodename.into().abi(), nodenamespace.into().abi(), nodevalue.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3793,7 +3793,7 @@ impl SyndicationPerson { pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3807,7 +3807,7 @@ impl SyndicationPerson { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3821,7 +3821,7 @@ impl SyndicationPerson { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3835,7 +3835,7 @@ impl SyndicationPerson { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3851,7 +3851,7 @@ impl SyndicationPerson { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3869,7 +3869,7 @@ impl SyndicationPerson { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3878,7 +3878,7 @@ impl SyndicationPerson { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -3887,14 +3887,14 @@ impl SyndicationPerson { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Email(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Email)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3908,7 +3908,7 @@ impl SyndicationPerson { pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Name)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -3924,7 +3924,7 @@ impl SyndicationPerson { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -3942,7 +3942,7 @@ impl SyndicationPerson { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationPersonFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationPerson)(::windows::core::Interface::as_raw(this), name.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -3955,7 +3955,7 @@ impl SyndicationPerson { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::Uri>>, { Self::ISyndicationPersonFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationPersonEx)(::windows::core::Interface::as_raw(this), name.into().abi(), email.into().abi(), uri.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4060,7 +4060,7 @@ impl SyndicationText { pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeName)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4074,7 +4074,7 @@ impl SyndicationText { pub fn NodeNamespace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeNamespace)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4088,7 +4088,7 @@ impl SyndicationText { pub fn NodeValue(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NodeValue)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4102,7 +4102,7 @@ impl SyndicationText { pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Language)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4118,7 +4118,7 @@ impl SyndicationText { pub fn BaseUri(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BaseUri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4136,7 +4136,7 @@ impl SyndicationText { pub fn AttributeExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AttributeExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4145,7 +4145,7 @@ impl SyndicationText { pub fn ElementExtensions(&self) -> ::windows::core::Result> { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ElementExtensions)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -4154,14 +4154,14 @@ impl SyndicationText { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetXmlDocument)(::windows::core::Interface::as_raw(this), format, result__.as_mut_ptr()).from_abi::(result__) } } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Text)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4175,7 +4175,7 @@ impl SyndicationText { pub fn Type(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -4191,7 +4191,7 @@ impl SyndicationText { pub fn Xml(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Xml)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -4209,7 +4209,7 @@ impl SyndicationText { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationTextFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationText)(::windows::core::Interface::as_raw(this), text.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -4218,7 +4218,7 @@ impl SyndicationText { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::ISyndicationTextFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSyndicationTextEx)(::windows::core::Interface::as_raw(this), text.into().abi(), r#type, result__.as_mut_ptr()).from_abi::(result__) }) } diff --git a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs index 0ae2d2748e..3cf583f4c4 100644 --- a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs @@ -179,7 +179,7 @@ impl WebViewControl { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -195,21 +195,21 @@ impl WebViewControl { pub fn DocumentTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CanGoBack(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanGoBack)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanGoForward(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanGoForward)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -224,21 +224,21 @@ impl WebViewControl { pub fn DefaultBackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContainsFullScreenElement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsFullScreenElement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Settings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Settings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -247,7 +247,7 @@ impl WebViewControl { pub fn DeferredPermissionRequests(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeferredPermissionRequests)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -313,7 +313,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvokeScriptAsync)(::windows::core::Interface::as_raw(this), scriptname.into().abi(), arguments.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -326,7 +326,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapturePreviewToStreamAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -335,7 +335,7 @@ impl WebViewControl { pub fn CaptureSelectedContentToDataPackageAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureSelectedContentToDataPackageAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -348,7 +348,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildLocalStreamUri)(::windows::core::Interface::as_raw(this), contentidentifier.into().abi(), relativepath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -364,7 +364,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -382,7 +382,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentLoading)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -400,7 +400,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DOMContentLoaded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -418,7 +418,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -436,7 +436,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameNavigationStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -454,7 +454,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameContentLoading)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -472,7 +472,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameDOMContentLoaded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -490,7 +490,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameNavigationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -508,7 +508,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScriptNotify)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -526,7 +526,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LongRunningScriptDetected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -544,7 +544,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnsafeContentWarningDisplaying)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -562,7 +562,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnviewableContentIdentified)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -580,7 +580,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PermissionRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -598,7 +598,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnsupportedUriSchemeIdentified)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -616,7 +616,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewWindowRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -634,7 +634,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsFullScreenElementChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -652,7 +652,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebResourceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -672,7 +672,7 @@ impl WebViewControl { pub fn Process(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Process)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -683,7 +683,7 @@ impl WebViewControl { pub fn Scale(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Scale)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -698,7 +698,7 @@ impl WebViewControl { pub fn Bounds(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Bounds)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -709,7 +709,7 @@ impl WebViewControl { pub fn IsVisible(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsVisible)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -729,7 +729,7 @@ impl WebViewControl { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MoveFocusRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -747,7 +747,7 @@ impl WebViewControl { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).AcceleratorKeyPressed)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -765,7 +765,7 @@ impl WebViewControl { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GotFocus)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -783,7 +783,7 @@ impl WebViewControl { { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LostFocus)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -901,7 +901,7 @@ impl WebViewControlAcceleratorKeyPressedEventArgs { pub fn EventType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EventType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -910,7 +910,7 @@ impl WebViewControlAcceleratorKeyPressedEventArgs { pub fn VirtualKey(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).VirtualKey)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -919,21 +919,21 @@ impl WebViewControlAcceleratorKeyPressedEventArgs { pub fn KeyStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).KeyStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn RoutingStage(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).RoutingStage)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1078,7 +1078,7 @@ impl WebViewControlMoveFocusRequestedEventArgs { pub fn Reason(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Reason)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1157,21 +1157,21 @@ impl WebViewControlProcess { pub fn ProcessId(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn IsPrivateNetworkClientServerCapabilityEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsPrivateNetworkClientServerCapabilityEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1180,7 +1180,7 @@ impl WebViewControlProcess { pub fn CreateWebViewControlAsync(&self, hostwindowhandle: i64, bounds: super::super::super::Foundation::Rect) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWebViewControlAsync)(::windows::core::Interface::as_raw(this), hostwindowhandle, bounds, result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1189,7 +1189,7 @@ impl WebViewControlProcess { pub fn GetWebViewControls(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetWebViewControls)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -1205,7 +1205,7 @@ impl WebViewControlProcess { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ProcessExited)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1220,7 +1220,7 @@ impl WebViewControlProcess { P0: ::std::convert::Into<::windows::core::InParam<'a, WebViewControlProcessOptions>>, { Self::IWebViewControlProcessFactory(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateWithOptions)(::windows::core::Interface::as_raw(this), processoptions.into().abi(), result__.as_mut_ptr()).from_abi::(result__) }) } @@ -1346,7 +1346,7 @@ impl WebViewControlProcessOptions { pub fn EnterpriseId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).EnterpriseId)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1357,7 +1357,7 @@ impl WebViewControlProcessOptions { pub fn PrivateNetworkClientServerCapability(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PrivateNetworkClientServerCapability)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Web/UI/mod.rs b/crates/libs/windows/src/Windows/Web/UI/mod.rs index a672ef2976..8c3024848d 100644 --- a/crates/libs/windows/src/Windows/Web/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/mod.rs @@ -9,7 +9,7 @@ impl IWebViewControl { pub fn Source(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Source)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -25,21 +25,21 @@ impl IWebViewControl { pub fn DocumentTitle(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DocumentTitle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn CanGoBack(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanGoBack)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn CanGoForward(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CanGoForward)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -54,21 +54,21 @@ impl IWebViewControl { pub fn DefaultBackgroundColor(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DefaultBackgroundColor)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn ContainsFullScreenElement(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsFullScreenElement)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Settings(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Settings)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -77,7 +77,7 @@ impl IWebViewControl { pub fn DeferredPermissionRequests(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DeferredPermissionRequests)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -143,7 +143,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).InvokeScriptAsync)(::windows::core::Interface::as_raw(this), scriptname.into().abi(), arguments.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -156,7 +156,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CapturePreviewToStreamAsync)(::windows::core::Interface::as_raw(this), stream.try_into().map_err(|e| e.into())?.abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -165,7 +165,7 @@ impl IWebViewControl { pub fn CaptureSelectedContentToDataPackageAsync(&self) -> ::windows::core::Result> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CaptureSelectedContentToDataPackageAsync)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -178,7 +178,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).BuildLocalStreamUri)(::windows::core::Interface::as_raw(this), contentidentifier.into().abi(), relativepath.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -194,7 +194,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -212,7 +212,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContentLoading)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -230,7 +230,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).DOMContentLoaded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -248,7 +248,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NavigationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -266,7 +266,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameNavigationStarting)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -284,7 +284,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameContentLoading)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -302,7 +302,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameDOMContentLoaded)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -320,7 +320,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).FrameNavigationCompleted)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -338,7 +338,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ScriptNotify)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -356,7 +356,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).LongRunningScriptDetected)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -374,7 +374,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnsafeContentWarningDisplaying)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -392,7 +392,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnviewableContentIdentified)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -410,7 +410,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PermissionRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -428,7 +428,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UnsupportedUriSchemeIdentified)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -446,7 +446,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewWindowRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -464,7 +464,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ContainsFullScreenElementChanged)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -482,7 +482,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebResourceRequested)(::windows::core::Interface::as_raw(this), handler.into().abi(), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1117,7 +1117,7 @@ impl WebViewControlContentLoadingEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1191,7 +1191,7 @@ impl WebViewControlDOMContentLoadedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1263,7 +1263,7 @@ impl WebViewControlDeferredPermissionRequest { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1272,14 +1272,14 @@ impl WebViewControlDeferredPermissionRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PermissionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PermissionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1361,14 +1361,14 @@ impl WebViewControlLongRunningScriptDetectedEventArgs { pub fn ExecutionTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ExecutionTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn StopPageScriptExecution(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).StopPageScriptExecution)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1446,21 +1446,21 @@ impl WebViewControlNavigationCompletedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsSuccess(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsSuccess)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn WebErrorStatus(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).WebErrorStatus)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1534,14 +1534,14 @@ impl WebViewControlNavigationStartingEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Cancel(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Cancel)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1619,7 +1619,7 @@ impl WebViewControlNewWindowRequestedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1628,14 +1628,14 @@ impl WebViewControlNewWindowRequestedEventArgs { pub fn Referrer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Referrer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1646,7 +1646,7 @@ impl WebViewControlNewWindowRequestedEventArgs { pub fn NewWindow(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).NewWindow)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1663,7 +1663,7 @@ impl WebViewControlNewWindowRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = &::windows::core::Interface::cast::(self)?; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1735,7 +1735,7 @@ impl WebViewControlPermissionRequest { pub fn Id(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Id)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1744,21 +1744,21 @@ impl WebViewControlPermissionRequest { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn PermissionType(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PermissionType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn State(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).State)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1842,7 +1842,7 @@ impl WebViewControlPermissionRequestedEventArgs { pub fn PermissionRequest(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).PermissionRequest)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -1991,14 +1991,14 @@ impl WebViewControlScriptNotifyEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Value(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2074,7 +2074,7 @@ impl WebViewControlSettings { pub fn IsJavaScriptEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsJavaScriptEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2085,7 +2085,7 @@ impl WebViewControlSettings { pub fn IsIndexedDBEnabled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsIndexedDBEnabled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2096,7 +2096,7 @@ impl WebViewControlSettings { pub fn IsScriptNotifyAllowed(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsScriptNotifyAllowed)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2170,14 +2170,14 @@ impl WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn Handled(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Handled)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2255,7 +2255,7 @@ impl WebViewControlUnviewableContentIdentifiedEventArgs { pub fn Uri(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Uri)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2264,14 +2264,14 @@ impl WebViewControlUnviewableContentIdentifiedEventArgs { pub fn Referrer(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Referrer)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn MediaType(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).MediaType)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -2345,7 +2345,7 @@ impl WebViewControlWebResourceRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDeferral)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2354,7 +2354,7 @@ impl WebViewControlWebResourceRequestedEventArgs { pub fn Request(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Request)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -2372,7 +2372,7 @@ impl WebViewControlWebResourceRequestedEventArgs { pub fn Response(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Response)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Web/mod.rs b/crates/libs/windows/src/Windows/Web/mod.rs index af628613ac..7774844b14 100644 --- a/crates/libs/windows/src/Windows/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Web/mod.rs @@ -18,7 +18,7 @@ impl IUriToStreamResolver { { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).UriToStreamAsync)(::windows::core::Interface::as_raw(this), uri.into().abi(), result__.as_mut_ptr()).from_abi::>(result__) } } @@ -107,7 +107,7 @@ pub struct WebError; impl WebError { pub fn GetStatus(hresult: i32) -> ::windows::core::Result { Self::IWebErrorStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetStatus)(::windows::core::Interface::as_raw(this), hresult, result__.as_mut_ptr()).from_abi::(result__) }) } 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 e0cb66a4d5..0e8b454c45 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 @@ -6,7 +6,7 @@ impl IMLOperatorAttributes { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeElementCount)(::windows::core::Interface::as_raw(self), name.into(), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttribute<'a, P0>(&self, name: P0, r#type: MLOperatorAttributeType, elementcount: u32, elementbytesize: usize, value: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> @@ -19,7 +19,7 @@ impl IMLOperatorAttributes { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringAttributeElementLength)(::windows::core::Interface::as_raw(self), name.into(), elementindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStringAttributeElement<'a, P0>(&self, name: P0, elementindex: u32, attributeelement: &mut [u8]) -> ::windows::core::Result<()> @@ -130,19 +130,19 @@ pub struct IMLOperatorKernel_Vtbl { pub struct IMLOperatorKernelContext(::windows::core::IUnknown); impl IMLOperatorKernelContext { pub unsafe fn GetInputTensor(&self, inputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputTensor)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputTensor(&self, outputindex: u32, dimensionsizes: &[u32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputTensor)(::windows::core::Interface::as_raw(self), outputindex, dimensionsizes.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(dimensionsizes)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputTensor2(&self, outputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputTensor2)(::windows::core::Interface::as_raw(self), outputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllocateTemporaryData(&self, size: usize) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocateTemporaryData)(::windows::core::Interface::as_raw(self), size, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetExecutionInterface(&self, executionobject: *mut ::core::option::Option<::windows::core::IUnknown>) { @@ -202,7 +202,7 @@ impl IMLOperatorKernelCreationContext { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAttributeElementCount)(::windows::core::Interface::as_raw(self), name.into(), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttribute<'a, P0>(&self, name: P0, r#type: MLOperatorAttributeType, elementcount: u32, elementbytesize: usize, value: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> @@ -215,7 +215,7 @@ impl IMLOperatorKernelCreationContext { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringAttributeElementLength)(::windows::core::Interface::as_raw(self), name.into(), elementindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStringAttributeElement<'a, P0>(&self, name: P0, elementindex: u32, attributeelement: &mut [u8]) -> ::windows::core::Result<()> @@ -237,18 +237,18 @@ impl IMLOperatorKernelCreationContext { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsOutputValid)(::windows::core::Interface::as_raw(self), outputindex)) } pub unsafe fn GetInputEdgeDescription(&self, inputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputEdgeDescription)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputEdgeDescription(&self, outputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputEdgeDescription)(::windows::core::Interface::as_raw(self), outputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HasTensorShapeDescription(&self) -> bool { ::core::mem::transmute((::windows::core::Interface::vtable(self).HasTensorShapeDescription)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetTensorShapeDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTensorShapeDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutionInterface(&self, executionobject: *mut ::core::option::Option<::windows::core::IUnknown>) { @@ -327,7 +327,7 @@ impl IMLOperatorKernelFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMLOperatorKernelCreationContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateKernel)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -441,7 +441,7 @@ impl IMLOperatorShapeInferenceContext { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAttributeElementCount)(::windows::core::Interface::as_raw(self), name.into(), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttribute<'a, P0>(&self, name: P0, r#type: MLOperatorAttributeType, elementcount: u32, elementbytesize: usize, value: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> @@ -454,7 +454,7 @@ impl IMLOperatorShapeInferenceContext { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringAttributeElementLength)(::windows::core::Interface::as_raw(self), name.into(), elementindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStringAttributeElement<'a, P0>(&self, name: P0, elementindex: u32, attributeelement: &mut [u8]) -> ::windows::core::Result<()> @@ -476,11 +476,11 @@ impl IMLOperatorShapeInferenceContext { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsOutputValid)(::windows::core::Interface::as_raw(self), outputindex)) } pub unsafe fn GetInputEdgeDescription(&self, inputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputEdgeDescription)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputTensorDimensionCount(&self, inputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputTensorDimensionCount)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputTensorShape(&self, inputindex: u32, dimensions: &mut [u32]) -> ::windows::core::Result<()> { @@ -683,7 +683,7 @@ pub struct IMLOperatorTensor_Vtbl { pub struct IMLOperatorTensorShapeDescription(::windows::core::IUnknown); impl IMLOperatorTensorShapeDescription { pub unsafe fn GetInputTensorDimensionCount(&self, inputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputTensorDimensionCount)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputTensorShape(&self, inputindex: u32, dimensions: &mut [u32]) -> ::windows::core::Result<()> { @@ -693,7 +693,7 @@ impl IMLOperatorTensorShapeDescription { ::core::mem::transmute((::windows::core::Interface::vtable(self).HasOutputShapeDescription)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetOutputTensorDimensionCount(&self, outputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputTensorDimensionCount)(::windows::core::Interface::as_raw(self), outputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputTensorShape(&self, outputindex: u32, dimensions: &mut [u32]) -> ::windows::core::Result<()> { @@ -753,7 +753,7 @@ impl IMLOperatorTypeInferenceContext { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAttributeElementCount)(::windows::core::Interface::as_raw(self), name.into(), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttribute<'a, P0>(&self, name: P0, r#type: MLOperatorAttributeType, elementcount: u32, elementbytesize: usize, value: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> @@ -766,7 +766,7 @@ impl IMLOperatorTypeInferenceContext { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringAttributeElementLength)(::windows::core::Interface::as_raw(self), name.into(), elementindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStringAttributeElement<'a, P0>(&self, name: P0, elementindex: u32, attributeelement: &mut [u8]) -> ::windows::core::Result<()> @@ -788,7 +788,7 @@ impl IMLOperatorTypeInferenceContext { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsOutputValid)(::windows::core::Interface::as_raw(self), outputindex)) } pub unsafe fn GetInputEdgeDescription(&self, inputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputEdgeDescription)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputEdgeDescription(&self, outputindex: u32, edgedescription: *const MLOperatorEdgeDescription) -> ::windows::core::Result<()> { @@ -923,7 +923,7 @@ impl IWinMLEvaluationContext { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut WINML_BINDING_DESC>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValueByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WINML_BINDING_DESC>(result__) } pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { @@ -984,7 +984,7 @@ pub struct IWinMLEvaluationContext_Vtbl { pub struct IWinMLModel(::windows::core::IUnknown); impl IWinMLModel { pub unsafe fn GetDescription(&self) -> ::windows::core::Result<*mut WINML_MODEL_DESC> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WINML_MODEL_DESC>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WINML_MODEL_DESC>(result__) } pub unsafe fn EnumerateMetadata(&self, index: u32, pkey: *mut ::windows::core::PWSTR, pvalue: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { @@ -993,13 +993,13 @@ impl IWinMLModel { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnumerateModelInputs(&self, index: u32) -> ::windows::core::Result<*mut WINML_VARIABLE_DESC> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WINML_VARIABLE_DESC>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateModelInputs)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WINML_VARIABLE_DESC>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnumerateModelOutputs(&self, index: u32) -> ::windows::core::Result<*mut WINML_VARIABLE_DESC> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WINML_VARIABLE_DESC>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateModelOutputs)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WINML_VARIABLE_DESC>(result__) } } @@ -1061,7 +1061,7 @@ impl IWinMLRuntime { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadModel)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -1070,7 +1070,7 @@ impl IWinMLRuntime { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Graphics::Direct3D12::ID3D12Device>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEvaluationContext)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EvaluateModel<'a, P0>(&self, pcontext: P0) -> ::windows::core::Result<()> @@ -1131,7 +1131,7 @@ pub struct IWinMLRuntime_Vtbl { pub struct IWinMLRuntimeFactory(::windows::core::IUnknown); impl IWinMLRuntimeFactory { pub unsafe fn CreateRuntime(&self, runtimetype: WINML_RUNTIME_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRuntime)(::windows::core::Interface::as_raw(self), runtimetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1183,7 +1183,7 @@ pub unsafe fn MLCreateOperatorRegistry() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MLCreateOperatorRegistry(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -2511,7 +2511,7 @@ pub unsafe fn WinMLCreateRuntime() -> ::windows::core::Result { extern "system" { fn WinMLCreateRuntime(runtime: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WinMLCreateRuntime(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[cfg(feature = "implement")] 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 195066ff14..b5047933cf 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs @@ -1144,7 +1144,7 @@ impl IITPropList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1172,7 +1172,7 @@ impl IITPropList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSizeMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSizeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1884,7 +1884,7 @@ impl IWordBreakerConfig { #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(feature = "Win32_System_Search")] pub unsafe fn GetWordStemmer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWordStemmer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 835d72fd33..6dbe4663b0 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 @@ -1358,7 +1358,7 @@ impl IMXNamespaceManager { (::windows::core::Interface::vtable(self).putAllowOverride)(::windows::core::Interface::as_raw(self), foverride).ok() } pub unsafe fn getAllowOverride(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAllowOverride)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn reset(&self) -> ::windows::core::Result<()> { @@ -1469,15 +1469,15 @@ impl IMXNamespacePrefixes { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -1743,7 +1743,7 @@ impl IMXWriter { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn output(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).output)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1757,35 +1757,35 @@ impl IMXWriter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn encoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).encoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetbyteOrderMark(&self, fwritebyteordermark: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetbyteOrderMark)(::windows::core::Interface::as_raw(self), fwritebyteordermark).ok() } pub unsafe fn byteOrderMark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).byteOrderMark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setindent(&self, findentmode: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setindent)(::windows::core::Interface::as_raw(self), findentmode).ok() } pub unsafe fn indent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).indent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setstandalone(&self, fvalue: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setstandalone)(::windows::core::Interface::as_raw(self), fvalue).ok() } pub unsafe fn standalone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).standalone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetomitXMLDeclaration(&self, fvalue: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetomitXMLDeclaration)(::windows::core::Interface::as_raw(self), fvalue).ok() } pub unsafe fn omitXMLDeclaration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).omitXMLDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1799,14 +1799,14 @@ impl IMXWriter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetdisableOutputEscaping(&self, fvalue: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetdisableOutputEscaping)(::windows::core::Interface::as_raw(self), fvalue).ok() } pub unsafe fn disableOutputEscaping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disableOutputEscaping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn flush(&self) -> ::windows::core::Result<()> { @@ -1927,7 +1927,7 @@ impl IMXXMLFilter { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getFeature)(::windows::core::Interface::as_raw(self), strname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1944,7 +1944,7 @@ impl IMXXMLFilter { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getProperty)(::windows::core::Interface::as_raw(self), strname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1957,7 +1957,7 @@ impl IMXXMLFilter { (::windows::core::Interface::vtable(self).putProperty)(::windows::core::Interface::as_raw(self), strname.into().abi(), varvalue.into().abi()).ok() } pub unsafe fn entityResolver(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).entityResolver)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn putref_entityResolver<'a, P0>(&self, oresolver: P0) -> ::windows::core::Result<()> @@ -1967,7 +1967,7 @@ impl IMXXMLFilter { (::windows::core::Interface::vtable(self).putref_entityResolver)(::windows::core::Interface::as_raw(self), oresolver.into().abi()).ok() } pub unsafe fn contentHandler(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn putref_contentHandler<'a, P0>(&self, ohandler: P0) -> ::windows::core::Result<()> @@ -1977,7 +1977,7 @@ impl IMXXMLFilter { (::windows::core::Interface::vtable(self).putref_contentHandler)(::windows::core::Interface::as_raw(self), ohandler.into().abi()).ok() } pub unsafe fn dtdHandler(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dtdHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn putref_dtdHandler<'a, P0>(&self, ohandler: P0) -> ::windows::core::Result<()> @@ -1987,7 +1987,7 @@ impl IMXXMLFilter { (::windows::core::Interface::vtable(self).putref_dtdHandler)(::windows::core::Interface::as_raw(self), ohandler.into().abi()).ok() } pub unsafe fn errorHandler(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn putref_errorHandler<'a, P0>(&self, ohandler: P0) -> ::windows::core::Result<()> @@ -2093,7 +2093,7 @@ pub struct IMXXMLFilter_Vtbl { pub struct ISAXAttributes(::windows::core::IUnknown); impl ISAXAttributes { pub unsafe fn getLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getURI(&self, nindex: i32, ppwchuri: *mut *mut u16, pcchuri: *mut i32) -> ::windows::core::Result<()> { @@ -2113,14 +2113,14 @@ impl ISAXAttributes { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getIndexFromName)(::windows::core::Interface::as_raw(self), pwchuri.into(), cchuri, pwchlocalname.into(), cchlocalname, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getIndexFromQName<'a, P0>(&self, pwchqname: P0, cchqname: i32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getIndexFromQName)(::windows::core::Interface::as_raw(self), pwchqname.into(), cchqname, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getType(&self, nindex: i32, ppwchtype: *mut *mut u16, pcchtype: *mut i32) -> ::windows::core::Result<()> { @@ -2488,7 +2488,7 @@ impl ISAXEntityResolver { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).resolveEntity)(::windows::core::Interface::as_raw(self), pwchpublicid.into(), pwchsystemid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2697,19 +2697,19 @@ pub struct ISAXLexicalHandler_Vtbl { pub struct ISAXLocator(::windows::core::IUnknown); impl ISAXLocator { pub unsafe fn getColumnNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getColumnNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getLineNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getLineNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getPublicId(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPublicId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn getSystemId(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } } @@ -2765,7 +2765,7 @@ impl ISAXXMLFilter { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getFeature)(::windows::core::Interface::as_raw(self), pwchname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putFeature<'a, P0>(&self, pwchname: P0, vfvalue: i16) -> ::windows::core::Result<()> @@ -2780,7 +2780,7 @@ impl ISAXXMLFilter { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getProperty)(::windows::core::Interface::as_raw(self), pwchname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2793,7 +2793,7 @@ impl ISAXXMLFilter { (::windows::core::Interface::vtable(self).base__.putProperty)(::windows::core::Interface::as_raw(self), pwchname.into(), varvalue.into().abi()).ok() } pub unsafe fn getEntityResolver(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getEntityResolver)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putEntityResolver<'a, P0>(&self, presolver: P0) -> ::windows::core::Result<()> @@ -2803,7 +2803,7 @@ impl ISAXXMLFilter { (::windows::core::Interface::vtable(self).base__.putEntityResolver)(::windows::core::Interface::as_raw(self), presolver.into().abi()).ok() } pub unsafe fn getContentHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getContentHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putContentHandler<'a, P0>(&self, phandler: P0) -> ::windows::core::Result<()> @@ -2813,7 +2813,7 @@ impl ISAXXMLFilter { (::windows::core::Interface::vtable(self).base__.putContentHandler)(::windows::core::Interface::as_raw(self), phandler.into().abi()).ok() } pub unsafe fn getDTDHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getDTDHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putDTDHandler<'a, P0>(&self, phandler: P0) -> ::windows::core::Result<()> @@ -2823,7 +2823,7 @@ impl ISAXXMLFilter { (::windows::core::Interface::vtable(self).base__.putDTDHandler)(::windows::core::Interface::as_raw(self), phandler.into().abi()).ok() } pub unsafe fn getErrorHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getErrorHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putErrorHandler<'a, P0>(&self, phandler: P0) -> ::windows::core::Result<()> @@ -2833,7 +2833,7 @@ impl ISAXXMLFilter { (::windows::core::Interface::vtable(self).base__.putErrorHandler)(::windows::core::Interface::as_raw(self), phandler.into().abi()).ok() } pub unsafe fn getBaseURL(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getBaseURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn putBaseURL<'a, P0>(&self, pwchbaseurl: P0) -> ::windows::core::Result<()> @@ -2843,7 +2843,7 @@ impl ISAXXMLFilter { (::windows::core::Interface::vtable(self).base__.putBaseURL)(::windows::core::Interface::as_raw(self), pwchbaseurl.into()).ok() } pub unsafe fn getSecureBaseURL(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getSecureBaseURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn putSecureBaseURL<'a, P0>(&self, pwchsecurebaseurl: P0) -> ::windows::core::Result<()> @@ -2867,7 +2867,7 @@ impl ISAXXMLFilter { (::windows::core::Interface::vtable(self).base__.parseURL)(::windows::core::Interface::as_raw(self), pwchurl.into()).ok() } pub unsafe fn getParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putParent<'a, P0>(&self, preader: P0) -> ::windows::core::Result<()> @@ -2942,7 +2942,7 @@ impl ISAXXMLReader { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getFeature)(::windows::core::Interface::as_raw(self), pwchname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putFeature<'a, P0>(&self, pwchname: P0, vfvalue: i16) -> ::windows::core::Result<()> @@ -2957,7 +2957,7 @@ impl ISAXXMLReader { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getProperty)(::windows::core::Interface::as_raw(self), pwchname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2970,7 +2970,7 @@ impl ISAXXMLReader { (::windows::core::Interface::vtable(self).putProperty)(::windows::core::Interface::as_raw(self), pwchname.into(), varvalue.into().abi()).ok() } pub unsafe fn getEntityResolver(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getEntityResolver)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putEntityResolver<'a, P0>(&self, presolver: P0) -> ::windows::core::Result<()> @@ -2980,7 +2980,7 @@ impl ISAXXMLReader { (::windows::core::Interface::vtable(self).putEntityResolver)(::windows::core::Interface::as_raw(self), presolver.into().abi()).ok() } pub unsafe fn getContentHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getContentHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putContentHandler<'a, P0>(&self, phandler: P0) -> ::windows::core::Result<()> @@ -2990,7 +2990,7 @@ impl ISAXXMLReader { (::windows::core::Interface::vtable(self).putContentHandler)(::windows::core::Interface::as_raw(self), phandler.into().abi()).ok() } pub unsafe fn getDTDHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getDTDHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putDTDHandler<'a, P0>(&self, phandler: P0) -> ::windows::core::Result<()> @@ -3000,7 +3000,7 @@ impl ISAXXMLReader { (::windows::core::Interface::vtable(self).putDTDHandler)(::windows::core::Interface::as_raw(self), phandler.into().abi()).ok() } pub unsafe fn getErrorHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getErrorHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putErrorHandler<'a, P0>(&self, phandler: P0) -> ::windows::core::Result<()> @@ -3010,7 +3010,7 @@ impl ISAXXMLReader { (::windows::core::Interface::vtable(self).putErrorHandler)(::windows::core::Interface::as_raw(self), phandler.into().abi()).ok() } pub unsafe fn getBaseURL(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getBaseURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn putBaseURL<'a, P0>(&self, pwchbaseurl: P0) -> ::windows::core::Result<()> @@ -3020,7 +3020,7 @@ impl ISAXXMLReader { (::windows::core::Interface::vtable(self).putBaseURL)(::windows::core::Interface::as_raw(self), pwchbaseurl.into()).ok() } pub unsafe fn getSecureBaseURL(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getSecureBaseURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn putSecureBaseURL<'a, P0>(&self, pwchsecurebaseurl: P0) -> ::windows::core::Result<()> @@ -3120,96 +3120,96 @@ impl ISchema { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn targetNamespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).targetNamespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn types(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).types)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn elements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).elements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributeGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attributeGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn modelGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).modelGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn notations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).notations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schemaLocations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).schemaLocations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3343,64 +3343,64 @@ impl ISchemaAny { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minOccurs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.minOccurs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxOccurs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.maxOccurs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn namespaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namespaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn processContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).processContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3521,74 +3521,74 @@ impl ISchemaAttribute { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn defaultValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fixedValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fixedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn r#use(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#use)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3704,54 +3704,54 @@ impl ISchemaAttributeGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn anyAttribute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).anyAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3857,60 +3857,60 @@ impl ISchemaComplexType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.baseTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn r#final(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.r#final)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn variety(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.variety)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn derivedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.derivedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3919,107 +3919,107 @@ impl ISchemaComplexType { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.isValid)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn minExclusive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.minExclusive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn minInclusive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.minInclusive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn maxExclusive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.maxExclusive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn maxInclusive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.maxInclusive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn totalDigits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.totalDigits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fractionDigits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.fractionDigits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.minLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.maxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn enumeration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.enumeration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn whitespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.whitespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn patterns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.patterns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isAbstract(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isAbstract)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn anyAttribute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).anyAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn contentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn prohibitedSubstitutions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).prohibitedSubstitutions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4150,110 +4150,110 @@ impl ISchemaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minOccurs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.minOccurs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxOccurs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.maxOccurs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn defaultValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fixedValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fixedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isNillable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isNillable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn identityConstraints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).identityConstraints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn substitutionGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).substitutionGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn substitutionGroupExclusions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).substitutionGroupExclusions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn disallowedSubstitutions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disallowedSubstitutions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isAbstract(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isAbstract)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4398,60 +4398,60 @@ impl ISchemaIdentityConstraint { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn selector(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn fields(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fields)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn referencedKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).referencedKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4561,42 +4561,42 @@ impl ISchemaItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4698,7 +4698,7 @@ impl ISchemaItemCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4707,7 +4707,7 @@ impl ISchemaItemCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).itemByName)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4717,15 +4717,15 @@ impl ISchemaItemCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).itemByQName)(::windows::core::Interface::as_raw(self), name.into().abi(), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -4819,60 +4819,60 @@ impl ISchemaModelGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minOccurs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.minOccurs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxOccurs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.maxOccurs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn particles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).particles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4992,54 +4992,54 @@ impl ISchemaNotation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn systemIdentifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).systemIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn publicIdentifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).publicIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5145,54 +5145,54 @@ impl ISchemaParticle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minOccurs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minOccurs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxOccurs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxOccurs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5298,15 +5298,15 @@ impl ISchemaStringCollection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -5392,60 +5392,60 @@ impl ISchemaType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn itemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.itemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unhandledAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn writeAnnotation<'a, P0>(&self, annotationsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.writeAnnotation)(::windows::core::Interface::as_raw(self), annotationsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn r#final(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#final)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn variety(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).variety)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn derivedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).derivedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5454,77 +5454,77 @@ impl ISchemaType { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isValid)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn minExclusive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minExclusive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn minInclusive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minInclusive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn maxExclusive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxExclusive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn maxInclusive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxInclusive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn totalDigits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).totalDigits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fractionDigits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fractionDigits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn enumeration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).enumeration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn whitespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).whitespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn patterns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).patterns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5702,13 +5702,13 @@ impl IServerXMLHTTPRequest { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getResponseHeader)(::windows::core::Interface::as_raw(self), bstrheader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getAllResponseHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getAllResponseHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5723,41 +5723,41 @@ impl IServerXMLHTTPRequest { (::windows::core::Interface::vtable(self).base__.abort)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn statusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.statusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn responseXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.responseXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn responseText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.responseText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn responseBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.responseBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn responseStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.responseStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5777,13 +5777,13 @@ impl IServerXMLHTTPRequest { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).waitForResponse)(::windows::core::Interface::as_raw(self), timeoutinseconds.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn getOption(&self, option: SERVERXMLHTTP_OPTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getOption)(::windows::core::Interface::as_raw(self), option, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5926,13 +5926,13 @@ impl IServerXMLHTTPRequest2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.getResponseHeader)(::windows::core::Interface::as_raw(self), bstrheader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getAllResponseHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.getAllResponseHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5947,41 +5947,41 @@ impl IServerXMLHTTPRequest2 { (::windows::core::Interface::vtable(self).base__.base__.abort)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn statusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.statusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn responseXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.responseXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn responseText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.responseText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn responseBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.responseBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn responseStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.responseStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6001,13 +6001,13 @@ impl IServerXMLHTTPRequest2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.waitForResponse)(::windows::core::Interface::as_raw(self), timeoutinseconds.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn getOption(&self, option: SERVERXMLHTTP_OPTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getOption)(::windows::core::Interface::as_raw(self), option, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6158,7 +6158,7 @@ impl IVBMXNamespaceManager { (::windows::core::Interface::vtable(self).SetallowOverride)(::windows::core::Interface::as_raw(self), foverride).ok() } pub unsafe fn allowOverride(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).allowOverride)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn reset(&self) -> ::windows::core::Result<()> { @@ -6190,7 +6190,7 @@ impl IVBMXNamespaceManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getDeclaredPrefixes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getDeclaredPrefixes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6199,7 +6199,7 @@ impl IVBMXNamespaceManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPrefixes)(::windows::core::Interface::as_raw(self), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6208,7 +6208,7 @@ impl IVBMXNamespaceManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getURI)(::windows::core::Interface::as_raw(self), prefix.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6218,7 +6218,7 @@ impl IVBMXNamespaceManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getURIFromNode)(::windows::core::Interface::as_raw(self), strprefix.into().abi(), contextnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6325,25 +6325,25 @@ pub struct IVBSAXAttributes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXAttributes { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getURI(&self, nindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getURI)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getLocalName(&self, nindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getLocalName)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getQName(&self, nindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getQName)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6353,7 +6353,7 @@ impl IVBSAXAttributes { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getIndexFromName)(::windows::core::Interface::as_raw(self), struri.into().abi(), strlocalname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6362,13 +6362,13 @@ impl IVBSAXAttributes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getIndexFromQName)(::windows::core::Interface::as_raw(self), strqname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getType(&self, nindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getType)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6378,7 +6378,7 @@ impl IVBSAXAttributes { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getTypeFromName)(::windows::core::Interface::as_raw(self), struri.into().abi(), strlocalname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6387,13 +6387,13 @@ impl IVBSAXAttributes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getTypeFromQName)(::windows::core::Interface::as_raw(self), strqname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getValue(&self, nindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getValue)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6403,7 +6403,7 @@ impl IVBSAXAttributes { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getValueFromName)(::windows::core::Interface::as_raw(self), struri.into().abi(), strlocalname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6412,7 +6412,7 @@ impl IVBSAXAttributes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getValueFromQName)(::windows::core::Interface::as_raw(self), strqname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7221,23 +7221,23 @@ pub struct IVBSAXLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXLocator { pub unsafe fn columnNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn lineNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn publicId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).publicId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn systemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).systemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7327,7 +7327,7 @@ impl IVBSAXXMLFilter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7426,7 +7426,7 @@ impl IVBSAXXMLReader { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getFeature)(::windows::core::Interface::as_raw(self), strname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7443,7 +7443,7 @@ impl IVBSAXXMLReader { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getProperty)(::windows::core::Interface::as_raw(self), strname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7458,7 +7458,7 @@ impl IVBSAXXMLReader { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn entityResolver(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).entityResolver)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7472,7 +7472,7 @@ impl IVBSAXXMLReader { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7486,7 +7486,7 @@ impl IVBSAXXMLReader { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn dtdHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dtdHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7500,7 +7500,7 @@ impl IVBSAXXMLReader { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn errorHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7514,7 +7514,7 @@ impl IVBSAXXMLReader { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn baseURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7528,7 +7528,7 @@ impl IVBSAXXMLReader { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn secureBaseURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).secureBaseURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7704,13 +7704,13 @@ impl IXMLAttribute { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7819,43 +7819,43 @@ impl IXMLDOMAttribute { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7865,7 +7865,7 @@ impl IXMLDOMAttribute { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7875,7 +7875,7 @@ impl IXMLDOMAttribute { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7884,7 +7884,7 @@ impl IXMLDOMAttribute { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7893,7 +7893,7 @@ impl IXMLDOMAttribute { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -7902,13 +7902,13 @@ impl IXMLDOMAttribute { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7935,7 +7935,7 @@ impl IXMLDOMAttribute { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7983,7 +7983,7 @@ impl IXMLDOMAttribute { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7992,7 +7992,7 @@ impl IXMLDOMAttribute { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -8168,43 +8168,43 @@ impl IXMLDOMCDATASection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8214,7 +8214,7 @@ impl IXMLDOMCDATASection { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8224,7 +8224,7 @@ impl IXMLDOMCDATASection { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8233,7 +8233,7 @@ impl IXMLDOMCDATASection { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8242,7 +8242,7 @@ impl IXMLDOMCDATASection { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -8251,13 +8251,13 @@ impl IXMLDOMCDATASection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8284,7 +8284,7 @@ impl IXMLDOMCDATASection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8332,7 +8332,7 @@ impl IXMLDOMCDATASection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8341,7 +8341,7 @@ impl IXMLDOMCDATASection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -8422,7 +8422,7 @@ impl IXMLDOMCDATASection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn splitText(&self, offset: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.splitText)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8577,43 +8577,43 @@ impl IXMLDOMCharacterData { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8623,7 +8623,7 @@ impl IXMLDOMCharacterData { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8633,7 +8633,7 @@ impl IXMLDOMCharacterData { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8642,7 +8642,7 @@ impl IXMLDOMCharacterData { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8651,7 +8651,7 @@ impl IXMLDOMCharacterData { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -8660,13 +8660,13 @@ impl IXMLDOMCharacterData { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8693,7 +8693,7 @@ impl IXMLDOMCharacterData { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8741,7 +8741,7 @@ impl IXMLDOMCharacterData { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8750,7 +8750,7 @@ impl IXMLDOMCharacterData { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -8970,43 +8970,43 @@ impl IXMLDOMComment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9016,7 +9016,7 @@ impl IXMLDOMComment { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9026,7 +9026,7 @@ impl IXMLDOMComment { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9035,7 +9035,7 @@ impl IXMLDOMComment { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9044,7 +9044,7 @@ impl IXMLDOMComment { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -9053,13 +9053,13 @@ impl IXMLDOMComment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9086,7 +9086,7 @@ impl IXMLDOMComment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9134,7 +9134,7 @@ impl IXMLDOMComment { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9143,7 +9143,7 @@ impl IXMLDOMComment { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -9355,43 +9355,43 @@ impl IXMLDOMDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9401,7 +9401,7 @@ impl IXMLDOMDocument { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9411,7 +9411,7 @@ impl IXMLDOMDocument { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9420,7 +9420,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9429,7 +9429,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -9438,13 +9438,13 @@ impl IXMLDOMDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9471,7 +9471,7 @@ impl IXMLDOMDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9519,7 +9519,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9528,7 +9528,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -9561,19 +9561,19 @@ impl IXMLDOMDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn doctype(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).doctype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn implementation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).implementation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn documentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).documentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9590,13 +9590,13 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createElement)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createDocumentFragment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createDocumentFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9605,7 +9605,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTextNode)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9614,7 +9614,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createComment)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9623,7 +9623,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createCDATASection)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9633,7 +9633,7 @@ impl IXMLDOMDocument { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createProcessingInstruction)(::windows::core::Interface::as_raw(self), target.into().abi(), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9642,7 +9642,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9651,7 +9651,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createEntityReference)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9660,7 +9660,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementsByTagName)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9671,7 +9671,7 @@ impl IXMLDOMDocument { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createNode)(::windows::core::Interface::as_raw(self), r#type.into().abi(), name.into().abi(), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9680,7 +9680,7 @@ impl IXMLDOMDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeFromID)(::windows::core::Interface::as_raw(self), idstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9697,7 +9697,7 @@ impl IXMLDOMDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parseError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parseError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9990,43 +9990,43 @@ impl IXMLDOMDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10036,7 +10036,7 @@ impl IXMLDOMDocument2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10046,7 +10046,7 @@ impl IXMLDOMDocument2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10055,7 +10055,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10064,7 +10064,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -10073,13 +10073,13 @@ impl IXMLDOMDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10106,7 +10106,7 @@ impl IXMLDOMDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10154,7 +10154,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10163,7 +10163,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -10196,19 +10196,19 @@ impl IXMLDOMDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn doctype(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.doctype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn implementation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.implementation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn documentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.documentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10225,13 +10225,13 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createElement)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createDocumentFragment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createDocumentFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10240,7 +10240,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createTextNode)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10249,7 +10249,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createComment)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10258,7 +10258,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createCDATASection)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10268,7 +10268,7 @@ impl IXMLDOMDocument2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createProcessingInstruction)(::windows::core::Interface::as_raw(self), target.into().abi(), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10277,7 +10277,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10286,7 +10286,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createEntityReference)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10295,7 +10295,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getElementsByTagName)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10306,7 +10306,7 @@ impl IXMLDOMDocument2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createNode)(::windows::core::Interface::as_raw(self), r#type.into().abi(), name.into().abi(), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10315,7 +10315,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nodeFromID)(::windows::core::Interface::as_raw(self), idstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10332,7 +10332,7 @@ impl IXMLDOMDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parseError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parseError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10410,13 +10410,13 @@ impl IXMLDOMDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn namespaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namespaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn schemas(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).schemas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10430,7 +10430,7 @@ impl IXMLDOMDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn validate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).validate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10448,7 +10448,7 @@ impl IXMLDOMDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getProperty)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10609,43 +10609,43 @@ impl IXMLDOMDocument3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10655,7 +10655,7 @@ impl IXMLDOMDocument3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10665,7 +10665,7 @@ impl IXMLDOMDocument3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10674,7 +10674,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10683,7 +10683,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -10692,13 +10692,13 @@ impl IXMLDOMDocument3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10725,7 +10725,7 @@ impl IXMLDOMDocument3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10773,7 +10773,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10782,7 +10782,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -10815,19 +10815,19 @@ impl IXMLDOMDocument3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn doctype(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.doctype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn implementation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.implementation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn documentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.documentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10844,13 +10844,13 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createElement)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createDocumentFragment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createDocumentFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10859,7 +10859,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createTextNode)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10868,7 +10868,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createComment)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10877,7 +10877,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createCDATASection)(::windows::core::Interface::as_raw(self), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10887,7 +10887,7 @@ impl IXMLDOMDocument3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createProcessingInstruction)(::windows::core::Interface::as_raw(self), target.into().abi(), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10896,7 +10896,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10905,7 +10905,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createEntityReference)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10914,7 +10914,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.getElementsByTagName)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10925,7 +10925,7 @@ impl IXMLDOMDocument3 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createNode)(::windows::core::Interface::as_raw(self), r#type.into().abi(), name.into().abi(), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10934,7 +10934,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.nodeFromID)(::windows::core::Interface::as_raw(self), idstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10951,7 +10951,7 @@ impl IXMLDOMDocument3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parseError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.parseError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11029,13 +11029,13 @@ impl IXMLDOMDocument3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn namespaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.namespaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn schemas(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.schemas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11049,7 +11049,7 @@ impl IXMLDOMDocument3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn validate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.validate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11067,7 +11067,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getProperty)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11076,7 +11076,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).validateNode)(::windows::core::Interface::as_raw(self), node.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11085,7 +11085,7 @@ impl IXMLDOMDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).importNode)(::windows::core::Interface::as_raw(self), node.into().abi(), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11248,43 +11248,43 @@ impl IXMLDOMDocumentFragment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11294,7 +11294,7 @@ impl IXMLDOMDocumentFragment { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11304,7 +11304,7 @@ impl IXMLDOMDocumentFragment { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11313,7 +11313,7 @@ impl IXMLDOMDocumentFragment { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11322,7 +11322,7 @@ impl IXMLDOMDocumentFragment { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -11331,13 +11331,13 @@ impl IXMLDOMDocumentFragment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11364,7 +11364,7 @@ impl IXMLDOMDocumentFragment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11412,7 +11412,7 @@ impl IXMLDOMDocumentFragment { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11421,7 +11421,7 @@ impl IXMLDOMDocumentFragment { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -11567,43 +11567,43 @@ impl IXMLDOMDocumentType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11613,7 +11613,7 @@ impl IXMLDOMDocumentType { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11623,7 +11623,7 @@ impl IXMLDOMDocumentType { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11632,7 +11632,7 @@ impl IXMLDOMDocumentType { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11641,7 +11641,7 @@ impl IXMLDOMDocumentType { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -11650,13 +11650,13 @@ impl IXMLDOMDocumentType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11683,7 +11683,7 @@ impl IXMLDOMDocumentType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11731,7 +11731,7 @@ impl IXMLDOMDocumentType { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11740,7 +11740,7 @@ impl IXMLDOMDocumentType { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -11778,13 +11778,13 @@ impl IXMLDOMDocumentType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn entities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).entities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn notations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).notations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11915,43 +11915,43 @@ impl IXMLDOMElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11961,7 +11961,7 @@ impl IXMLDOMElement { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11971,7 +11971,7 @@ impl IXMLDOMElement { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11980,7 +11980,7 @@ impl IXMLDOMElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11989,7 +11989,7 @@ impl IXMLDOMElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -11998,13 +11998,13 @@ impl IXMLDOMElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12031,7 +12031,7 @@ impl IXMLDOMElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12079,7 +12079,7 @@ impl IXMLDOMElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12088,7 +12088,7 @@ impl IXMLDOMElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -12154,7 +12154,7 @@ impl IXMLDOMElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttributeNode)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12163,7 +12163,7 @@ impl IXMLDOMElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMAttribute>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setAttributeNode)(::windows::core::Interface::as_raw(self), domattribute.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12172,7 +12172,7 @@ impl IXMLDOMElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMAttribute>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeAttributeNode)(::windows::core::Interface::as_raw(self), domattribute.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12181,7 +12181,7 @@ impl IXMLDOMElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementsByTagName)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn normalize(&self) -> ::windows::core::Result<()> { @@ -12336,43 +12336,43 @@ impl IXMLDOMEntity { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12382,7 +12382,7 @@ impl IXMLDOMEntity { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12392,7 +12392,7 @@ impl IXMLDOMEntity { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12401,7 +12401,7 @@ impl IXMLDOMEntity { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12410,7 +12410,7 @@ impl IXMLDOMEntity { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -12419,13 +12419,13 @@ impl IXMLDOMEntity { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12452,7 +12452,7 @@ impl IXMLDOMEntity { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12500,7 +12500,7 @@ impl IXMLDOMEntity { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12509,7 +12509,7 @@ impl IXMLDOMEntity { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -12682,43 +12682,43 @@ impl IXMLDOMEntityReference { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12728,7 +12728,7 @@ impl IXMLDOMEntityReference { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12738,7 +12738,7 @@ impl IXMLDOMEntityReference { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12747,7 +12747,7 @@ impl IXMLDOMEntityReference { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12756,7 +12756,7 @@ impl IXMLDOMEntityReference { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -12765,13 +12765,13 @@ impl IXMLDOMEntityReference { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12798,7 +12798,7 @@ impl IXMLDOMEntityReference { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12846,7 +12846,7 @@ impl IXMLDOMEntityReference { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12855,7 +12855,7 @@ impl IXMLDOMEntityReference { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -13070,7 +13070,7 @@ impl IXMLDOMNamedNodeMap { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getNamedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13079,7 +13079,7 @@ impl IXMLDOMNamedNodeMap { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setNamedItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13088,13 +13088,13 @@ impl IXMLDOMNamedNodeMap { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeNamedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self, listlength: *mut i32) -> ::windows::core::Result<()> { @@ -13107,7 +13107,7 @@ impl IXMLDOMNamedNodeMap { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getQualifiedItem)(::windows::core::Interface::as_raw(self), basename.into().abi(), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13117,20 +13117,20 @@ impl IXMLDOMNamedNodeMap { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeQualifiedItem)(::windows::core::Interface::as_raw(self), basename.into().abi(), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn reset(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -13262,43 +13262,43 @@ impl IXMLDOMNode { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13308,7 +13308,7 @@ impl IXMLDOMNode { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13318,7 +13318,7 @@ impl IXMLDOMNode { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13327,7 +13327,7 @@ impl IXMLDOMNode { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13336,7 +13336,7 @@ impl IXMLDOMNode { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -13345,13 +13345,13 @@ impl IXMLDOMNode { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13378,7 +13378,7 @@ impl IXMLDOMNode { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13426,7 +13426,7 @@ impl IXMLDOMNode { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13435,7 +13435,7 @@ impl IXMLDOMNode { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -13674,7 +13674,7 @@ impl IXMLDOMNodeList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self, listlength: *mut i32) -> ::windows::core::Result<()> { @@ -13683,14 +13683,14 @@ impl IXMLDOMNodeList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn reset(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -13802,43 +13802,43 @@ impl IXMLDOMNotation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13848,7 +13848,7 @@ impl IXMLDOMNotation { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13858,7 +13858,7 @@ impl IXMLDOMNotation { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13867,7 +13867,7 @@ impl IXMLDOMNotation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13876,7 +13876,7 @@ impl IXMLDOMNotation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -13885,13 +13885,13 @@ impl IXMLDOMNotation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13918,7 +13918,7 @@ impl IXMLDOMNotation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13966,7 +13966,7 @@ impl IXMLDOMNotation { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13975,7 +13975,7 @@ impl IXMLDOMNotation { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -14262,23 +14262,23 @@ impl IXMLDOMParseError2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn errorXPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorXPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn allErrors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).allErrors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn errorParameters(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorParameters)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn errorParametersCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorParametersCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14389,24 +14389,24 @@ impl IXMLDOMParseErrorCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn reset(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -14518,43 +14518,43 @@ impl IXMLDOMProcessingInstruction { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14564,7 +14564,7 @@ impl IXMLDOMProcessingInstruction { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14574,7 +14574,7 @@ impl IXMLDOMProcessingInstruction { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14583,7 +14583,7 @@ impl IXMLDOMProcessingInstruction { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14592,7 +14592,7 @@ impl IXMLDOMProcessingInstruction { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -14601,13 +14601,13 @@ impl IXMLDOMProcessingInstruction { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14634,7 +14634,7 @@ impl IXMLDOMProcessingInstruction { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14682,7 +14682,7 @@ impl IXMLDOMProcessingInstruction { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14691,7 +14691,7 @@ impl IXMLDOMProcessingInstruction { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -14858,7 +14858,7 @@ impl IXMLDOMSchemaCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get)(::windows::core::Interface::as_raw(self), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14870,13 +14870,13 @@ impl IXMLDOMSchemaCollection { (::windows::core::Interface::vtable(self).remove)(::windows::core::Interface::as_raw(self), namespaceuri.into().abi()).ok() } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_namespaceURI(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_namespaceURI)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14888,7 +14888,7 @@ impl IXMLDOMSchemaCollection { (::windows::core::Interface::vtable(self).addCollection)(::windows::core::Interface::as_raw(self), othercollection.into().abi()).ok() } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -15002,7 +15002,7 @@ impl IXMLDOMSchemaCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get)(::windows::core::Interface::as_raw(self), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15014,13 +15014,13 @@ impl IXMLDOMSchemaCollection2 { (::windows::core::Interface::vtable(self).base__.remove)(::windows::core::Interface::as_raw(self), namespaceuri.into().abi()).ok() } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_namespaceURI(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_namespaceURI)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15032,7 +15032,7 @@ impl IXMLDOMSchemaCollection2 { (::windows::core::Interface::vtable(self).base__.addCollection)(::windows::core::Interface::as_raw(self), othercollection.into().abi()).ok() } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn validate(&self) -> ::windows::core::Result<()> { @@ -15042,7 +15042,7 @@ impl IXMLDOMSchemaCollection2 { (::windows::core::Interface::vtable(self).SetvalidateOnLoad)(::windows::core::Interface::as_raw(self), validateonload).ok() } pub unsafe fn validateOnLoad(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).validateOnLoad)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -15051,7 +15051,7 @@ impl IXMLDOMSchemaCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getSchema)(::windows::core::Interface::as_raw(self), namespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15060,7 +15060,7 @@ impl IXMLDOMSchemaCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getDeclaration)(::windows::core::Interface::as_raw(self), node.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15169,7 +15169,7 @@ impl IXMLDOMSelection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self, listlength: *mut i32) -> ::windows::core::Result<()> { @@ -15178,20 +15178,20 @@ impl IXMLDOMSelection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn reset(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn expr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).expr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15205,7 +15205,7 @@ impl IXMLDOMSelection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn context(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).context)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15219,7 +15219,7 @@ impl IXMLDOMSelection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn peekNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).peekNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15228,13 +15228,13 @@ impl IXMLDOMSelection { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).matches)(::windows::core::Interface::as_raw(self), pnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn removeNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn removeAll(&self) -> ::windows::core::Result<()> { @@ -15243,7 +15243,7 @@ impl IXMLDOMSelection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15252,7 +15252,7 @@ impl IXMLDOMSelection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getProperty)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15421,43 +15421,43 @@ impl IXMLDOMText { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15467,7 +15467,7 @@ impl IXMLDOMText { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15477,7 +15477,7 @@ impl IXMLDOMText { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15486,7 +15486,7 @@ impl IXMLDOMText { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15495,7 +15495,7 @@ impl IXMLDOMText { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -15504,13 +15504,13 @@ impl IXMLDOMText { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15537,7 +15537,7 @@ impl IXMLDOMText { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15585,7 +15585,7 @@ impl IXMLDOMText { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -15594,7 +15594,7 @@ impl IXMLDOMText { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { @@ -15675,7 +15675,7 @@ impl IXMLDOMText { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn splitText(&self, offset: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).splitText)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15795,7 +15795,7 @@ impl IXMLDSOControl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn XMLDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XMLDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15916,31 +15916,31 @@ impl IXMLDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileModifiedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileModifiedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileUpdatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileUpdatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15954,17 +15954,17 @@ impl IXMLDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn mimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15978,19 +15978,19 @@ impl IXMLDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn doctype(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).doctype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dtdURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dtdURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16000,7 +16000,7 @@ impl IXMLDocument { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createElement)(::windows::core::Interface::as_raw(self), vtype.into().abi(), var1.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16133,31 +16133,31 @@ impl IXMLDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileModifiedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileModifiedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileUpdatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileUpdatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16171,17 +16171,17 @@ impl IXMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn mimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16195,19 +16195,19 @@ impl IXMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn doctype(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).doctype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dtdURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dtdURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16217,11 +16217,11 @@ impl IXMLDocument2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createElement)(::windows::core::Interface::as_raw(self), vtype.into().abi(), var1.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn r#async(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#async)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setasync(&self, f: i16) -> ::windows::core::Result<()> { @@ -16359,7 +16359,7 @@ impl IXMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn tagName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tagName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16373,7 +16373,7 @@ impl IXMLElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16391,7 +16391,7 @@ impl IXMLElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16405,17 +16405,17 @@ impl IXMLElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn children(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).children)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16564,7 +16564,7 @@ impl IXMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn tagName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tagName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16578,7 +16578,7 @@ impl IXMLElement2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16596,7 +16596,7 @@ impl IXMLElement2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16610,17 +16610,17 @@ impl IXMLElement2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn children(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).children)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16650,7 +16650,7 @@ impl IXMLElement2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16780,11 +16780,11 @@ impl IXMLElementCollection { (::windows::core::Interface::vtable(self).Setlength)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16794,7 +16794,7 @@ impl IXMLElementCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), var1.into().abi(), var2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16959,13 +16959,13 @@ impl IXMLHTTPRequest { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getResponseHeader)(::windows::core::Interface::as_raw(self), bstrheader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getAllResponseHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAllResponseHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16980,41 +16980,41 @@ impl IXMLHTTPRequest { (::windows::core::Interface::vtable(self).abort)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn statusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).statusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn responseXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn responseText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn responseBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn responseStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -17170,7 +17170,7 @@ impl IXMLHTTPRequest2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetCookie(&self, pcookie: *const XHR_COOKIE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcookie), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -17192,7 +17192,7 @@ impl IXMLHTTPRequest2 { (::windows::core::Interface::vtable(self).SetRequestHeader)(::windows::core::Interface::as_raw(self), pwszheader.into(), pwszvalue.into()).ok() } pub unsafe fn GetAllResponseHeaders(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllResponseHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17208,7 +17208,7 @@ impl IXMLHTTPRequest2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResponseHeader)(::windows::core::Interface::as_raw(self), pwszheader.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } } @@ -17398,7 +17398,7 @@ impl IXMLHTTPRequest3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetCookie(&self, pcookie: *const XHR_COOKIE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcookie), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -17420,7 +17420,7 @@ impl IXMLHTTPRequest3 { (::windows::core::Interface::vtable(self).base__.SetRequestHeader)(::windows::core::Interface::as_raw(self), pwszheader.into(), pwszvalue.into()).ok() } pub unsafe fn GetAllResponseHeaders(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAllResponseHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17436,7 +17436,7 @@ impl IXMLHTTPRequest3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetResponseHeader)(::windows::core::Interface::as_raw(self), pwszheader.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn SetClientCertificate<'a, P0>(&self, pbclientcertificatehash: &[u8], pwszpin: P0) -> ::windows::core::Result<()> @@ -17647,13 +17647,13 @@ impl IXMLHttpRequest { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getResponseHeader)(::windows::core::Interface::as_raw(self), bstrheader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getAllResponseHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAllResponseHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17668,41 +17668,41 @@ impl IXMLHttpRequest { (::windows::core::Interface::vtable(self).abort)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn statusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).statusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn responseXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn responseText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn responseBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn responseStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -17845,13 +17845,13 @@ impl IXSLProcessor { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn input(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).input)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerTemplate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ownerTemplate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17866,13 +17866,13 @@ impl IXSLProcessor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn startMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).startMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn startModeURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).startModeURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17886,18 +17886,18 @@ impl IXSLProcessor { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn output(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).output)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn transform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn reset(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17922,7 +17922,7 @@ impl IXSLProcessor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn stylesheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).stylesheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18057,13 +18057,13 @@ impl IXSLTemplate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn stylesheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).stylesheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createProcessor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createProcessor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18176,43 +18176,43 @@ impl IXTLRuntime { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18222,7 +18222,7 @@ impl IXTLRuntime { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -18232,7 +18232,7 @@ impl IXTLRuntime { P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -18241,7 +18241,7 @@ impl IXTLRuntime { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.removeChild)(::windows::core::Interface::as_raw(self), childnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -18250,7 +18250,7 @@ impl IXTLRuntime { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self, haschild: *mut i16) -> ::windows::core::Result<()> { @@ -18259,13 +18259,13 @@ impl IXTLRuntime { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, deep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cloneNode)(::windows::core::Interface::as_raw(self), deep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18292,7 +18292,7 @@ impl IXTLRuntime { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18340,7 +18340,7 @@ impl IXTLRuntime { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectNodes)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18349,7 +18349,7 @@ impl IXTLRuntime { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectSingleNode)(::windows::core::Interface::as_raw(self), querystring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn parsed(&self, isparsed: *mut i16) -> ::windows::core::Result<()> { 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 76b5778a75..0a4610902f 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 @@ -25,7 +25,7 @@ where extern "system" { fn CreateXmlReaderInputWithEncodingCodePage(pinputstream: *mut ::core::ffi::c_void, pmalloc: *mut ::core::ffi::c_void, nencodingcodepage: u32, fencodinghint: super::super::super::Foundation::BOOL, pwszbaseuri: ::windows::core::PCWSTR, ppinput: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateXmlReaderInputWithEncodingCodePage(pinputstream.into().abi(), pmalloc.into().abi(), nencodingcodepage, fencodinghint.into(), pwszbaseuri.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -43,7 +43,7 @@ where extern "system" { fn CreateXmlReaderInputWithEncodingName(pinputstream: *mut ::core::ffi::c_void, pmalloc: *mut ::core::ffi::c_void, pwszencodingname: ::windows::core::PCWSTR, fencodinghint: super::super::super::Foundation::BOOL, pwszbaseuri: ::windows::core::PCWSTR, ppinput: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateXmlReaderInputWithEncodingName(pinputstream.into().abi(), pmalloc.into().abi(), pwszencodingname.into(), fencodinghint.into(), pwszbaseuri.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_System_Com\"`*"] @@ -71,7 +71,7 @@ where extern "system" { fn CreateXmlWriterOutputWithEncodingCodePage(poutputstream: *mut ::core::ffi::c_void, pmalloc: *mut ::core::ffi::c_void, nencodingcodepage: u32, ppoutput: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateXmlWriterOutputWithEncodingCodePage(poutputstream.into().abi(), pmalloc.into().abi(), nencodingcodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_System_Com\"`*"] @@ -87,7 +87,7 @@ where extern "system" { fn CreateXmlWriterOutputWithEncodingName(poutputstream: *mut ::core::ffi::c_void, pmalloc: *mut ::core::ffi::c_void, pwszencodingname: ::windows::core::PCWSTR, ppoutput: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateXmlWriterOutputWithEncodingName(poutputstream.into().abi(), pmalloc.into().abi(), pwszencodingname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`*"] @@ -130,7 +130,7 @@ impl IXmlReader { (::windows::core::Interface::vtable(self).SetInput)(::windows::core::Interface::as_raw(self), pinput.into().abi()).ok() } pub unsafe fn GetProperty(&self, nproperty: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), nproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows::core::Result<()> { @@ -140,7 +140,7 @@ impl IXmlReader { ::core::mem::transmute((::windows::core::Interface::vtable(self).Read)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnodetype))) } pub unsafe fn GetNodeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNodeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveToFirstAttribute(&self) -> ::windows::core::HRESULT { @@ -191,19 +191,19 @@ impl IXmlReader { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsEmptyElement)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetLineNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLineNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLinePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLinePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -294,7 +294,7 @@ impl IXmlResolver { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResolveUri)(::windows::core::Interface::as_raw(self), pwszbaseuri.into(), pwszpublicidentifier.into(), pwszsystemidentifier.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -350,7 +350,7 @@ impl IXmlWriter { (::windows::core::Interface::vtable(self).SetOutput)(::windows::core::Interface::as_raw(self), poutput.into().abi()).ok() } pub unsafe fn GetProperty(&self, nproperty: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), nproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows::core::Result<()> { @@ -597,7 +597,7 @@ impl IXmlWriterLite { (::windows::core::Interface::vtable(self).SetOutput)(::windows::core::Interface::as_raw(self), poutput.into().abi()).ok() } pub unsafe fn GetProperty(&self, nproperty: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), nproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows::core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs index 3bba99e4f7..6d0dd6cf97 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs @@ -5146,7 +5146,7 @@ where extern "system" { fn WinBioAsyncOpenFramework(notificationmethod: WINBIO_ASYNC_NOTIFICATION_METHOD, targetwindow: super::super::Foundation::HWND, messagecode: u32, callbackroutine: *mut ::core::ffi::c_void, userdata: *const ::core::ffi::c_void, asynchronousopen: super::super::Foundation::BOOL, frameworkhandle: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WinBioAsyncOpenFramework(notificationmethod, targetwindow.into(), messagecode, ::core::mem::transmute(callbackroutine), ::core::mem::transmute(userdata), asynchronousopen.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`, `\"Win32_Foundation\"`*"] @@ -5161,7 +5161,7 @@ where extern "system" { fn WinBioAsyncOpenSession(factor: u32, pooltype: WINBIO_POOL, flags: u32, unitarray: *const u32, unitcount: usize, databaseid: *const ::windows::core::GUID, notificationmethod: WINBIO_ASYNC_NOTIFICATION_METHOD, targetwindow: super::super::Foundation::HWND, messagecode: u32, callbackroutine: *mut ::core::ffi::c_void, userdata: *const ::core::ffi::c_void, asynchronousopen: super::super::Foundation::BOOL, sessionhandle: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WinBioAsyncOpenSession(factor, pooltype, flags, ::core::mem::transmute(::windows::core::as_ptr_or_null(unitarray)), unitarray.len() as _, ::core::mem::transmute(databaseid), notificationmethod, targetwindow.into(), messagecode, ::core::mem::transmute(callbackroutine), ::core::mem::transmute(userdata), asynchronousopen.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] @@ -5252,7 +5252,7 @@ pub unsafe fn WinBioEnrollCapture(sessionhandle: u32) -> ::windows::core::Result extern "system" { fn WinBioEnrollCapture(sessionhandle: u32, rejectdetail: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WinBioEnrollCapture(sessionhandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] @@ -5343,7 +5343,7 @@ pub unsafe fn WinBioGetCredentialState(identity: WINBIO_IDENTITY, r#type: WINBIO extern "system" { fn WinBioGetCredentialState(identity: WINBIO_IDENTITY, r#type: WINBIO_CREDENTIAL_TYPE, credentialstate: *mut WINBIO_CREDENTIAL_STATE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WinBioGetCredentialState(::core::mem::transmute(identity), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] @@ -5371,7 +5371,7 @@ pub unsafe fn WinBioGetEnrolledFactors(accountowner: *const WINBIO_IDENTITY) -> extern "system" { fn WinBioGetEnrolledFactors(accountowner: *const WINBIO_IDENTITY, enrolledfactors: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WinBioGetEnrolledFactors(::core::mem::transmute(accountowner), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] @@ -5435,7 +5435,7 @@ pub unsafe fn WinBioLocateSensor(sessionhandle: u32) -> ::windows::core::Result< extern "system" { fn WinBioLocateSensor(sessionhandle: u32, unitid: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WinBioLocateSensor(sessionhandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] @@ -5481,7 +5481,7 @@ pub unsafe fn WinBioOpenSession(factor: u32, pooltype: WINBIO_POOL, flags: u32, extern "system" { fn WinBioOpenSession(factor: u32, pooltype: WINBIO_POOL, flags: u32, unitarray: *const u32, unitcount: usize, databaseid: *const ::windows::core::GUID, sessionhandle: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WinBioOpenSession(factor, pooltype, flags, ::core::mem::transmute(::windows::core::as_ptr_or_null(unitarray)), unitarray.len() as _, ::core::mem::transmute(databaseid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] 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 ac51692c3a..50f47315bc 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs @@ -9,7 +9,7 @@ where extern "system" { fn CreateDeviceAccessInstance(deviceinterfacepath: ::windows::core::PCWSTR, desiredaccess: u32, createasync: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateDeviceAccessInstance(deviceinterfacepath.into(), desiredaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_DeviceAccess\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs index 49a39c6335..25677b518d 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs @@ -479,7 +479,7 @@ pub unsafe fn DevCreateObjectQuery(objecttype: DEV_OBJECT_TYPE, queryflags: u32, extern "system" { fn DevCreateObjectQuery(objecttype: DEV_OBJECT_TYPE, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, pcallback: *mut ::core::ffi::c_void, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut HDEVQUERY__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DevCreateObjectQuery(objecttype, queryflags, prequestedproperties.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(prequestedproperties)), pfilter.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pfilter)), ::core::mem::transmute(pcallback), ::core::mem::transmute(pcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut HDEVQUERY__>(result__) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] @@ -490,7 +490,7 @@ pub unsafe fn DevCreateObjectQueryEx(objecttype: DEV_OBJECT_TYPE, queryflags: u3 extern "system" { fn DevCreateObjectQueryEx(objecttype: DEV_OBJECT_TYPE, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount: u32, pextendedparameters: *const DEV_QUERY_PARAMETER, pcallback: *mut ::core::ffi::c_void, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut HDEVQUERY__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DevCreateObjectQueryEx(objecttype, queryflags, prequestedproperties.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(prequestedproperties)), pfilter.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pfilter)), pextendedparameters.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pextendedparameters)), ::core::mem::transmute(pcallback), ::core::mem::transmute(pcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut HDEVQUERY__>(result__) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] @@ -504,7 +504,7 @@ where extern "system" { fn DevCreateObjectQueryFromId(objecttype: DEV_OBJECT_TYPE, pszobjectid: ::windows::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, pcallback: *mut ::core::ffi::c_void, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut HDEVQUERY__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DevCreateObjectQueryFromId(objecttype, pszobjectid.into(), queryflags, prequestedproperties.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(prequestedproperties)), pfilter.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pfilter)), ::core::mem::transmute(pcallback), ::core::mem::transmute(pcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut HDEVQUERY__>(result__) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] @@ -518,7 +518,7 @@ where extern "system" { fn DevCreateObjectQueryFromIdEx(objecttype: DEV_OBJECT_TYPE, pszobjectid: ::windows::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount: u32, pextendedparameters: *const DEV_QUERY_PARAMETER, pcallback: *mut ::core::ffi::c_void, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut HDEVQUERY__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DevCreateObjectQueryFromIdEx(objecttype, pszobjectid.into(), queryflags, prequestedproperties.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(prequestedproperties)), pfilter.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pfilter)), pextendedparameters.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pextendedparameters)), ::core::mem::transmute(pcallback), ::core::mem::transmute(pcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut HDEVQUERY__>(result__) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] @@ -532,7 +532,7 @@ where extern "system" { fn DevCreateObjectQueryFromIds(objecttype: DEV_OBJECT_TYPE, pszzobjectids: ::windows::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, pcallback: *mut ::core::ffi::c_void, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut HDEVQUERY__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DevCreateObjectQueryFromIds(objecttype, pszzobjectids.into(), queryflags, prequestedproperties.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(prequestedproperties)), pfilter.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pfilter)), ::core::mem::transmute(pcallback), ::core::mem::transmute(pcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut HDEVQUERY__>(result__) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] @@ -546,7 +546,7 @@ where extern "system" { fn DevCreateObjectQueryFromIdsEx(objecttype: DEV_OBJECT_TYPE, pszzobjectids: ::windows::core::PCWSTR, queryflags: u32, crequestedproperties: u32, prequestedproperties: *const super::Properties::DEVPROPCOMPKEY, cfilterexpressioncount: u32, pfilter: *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount: u32, pextendedparameters: *const DEV_QUERY_PARAMETER, pcallback: *mut ::core::ffi::c_void, pcontext: *const ::core::ffi::c_void, phdevquery: *mut *mut HDEVQUERY__) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut HDEVQUERY__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DevCreateObjectQueryFromIdsEx(objecttype, pszzobjectids.into(), queryflags, prequestedproperties.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(prequestedproperties)), pfilter.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pfilter)), pextendedparameters.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pextendedparameters)), ::core::mem::transmute(pcallback), ::core::mem::transmute(pcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut HDEVQUERY__>(result__) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] 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 b11bdb1446..5360646871 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs @@ -6607,7 +6607,7 @@ where extern "system" { fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: *mut ::core::ffi::c_void, pdwnumberofphysicalmonitors: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -7904,7 +7904,7 @@ impl IViewHelper { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetConfiguration)(::windows::core::Interface::as_raw(self), pistream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProceedOnNewConfiguration(&self) -> ::windows::core::Result<()> { 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 3c66c7f748..f572cac355 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 @@ -54,7 +54,7 @@ impl IUPnPAddressFamilyControl { (::windows::core::Interface::vtable(self).SetAddressFamily)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetAddressFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAddressFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -156,7 +156,7 @@ pub struct IUPnPDescriptionDocument(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPDescriptionDocument { pub unsafe fn ReadyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -177,7 +177,7 @@ impl IUPnPDescriptionDocument { (::windows::core::Interface::vtable(self).LoadAsync)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), punkcallback.into().abi()).ok() } pub unsafe fn LoadResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Abort(&self) -> ::windows::core::Result<()> { @@ -186,7 +186,7 @@ impl IUPnPDescriptionDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -195,7 +195,7 @@ impl IUPnPDescriptionDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceByUDN)(::windows::core::Interface::as_raw(self), bstrudn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -341,101 +341,101 @@ pub struct IUPnPDevice(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPDevice { pub unsafe fn IsRootDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRootDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ParentDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HasChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Children(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Children)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueDeviceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UniqueDeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PresentationURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PresentationURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ManufacturerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ManufacturerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ManufacturerURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ManufacturerURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModelName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModelName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModelNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModelNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModelURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModelURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UPC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UPC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SerialNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SerialNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -444,13 +444,13 @@ impl IUPnPDevice { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IconURL)(::windows::core::Interface::as_raw(self), bstrencodingformat.into().abi(), lsizex, lsizey, lbitdepth, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Services(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Services)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -612,7 +612,7 @@ impl IUPnPDeviceControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceObject)(::windows::core::Interface::as_raw(self), bstrudn.into().abi(), bstrserviceid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -671,7 +671,7 @@ impl IUPnPDeviceControlHttpHeaders { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAdditionalResponseHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdditionalResponseHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -726,7 +726,7 @@ impl IUPnPDeviceDocumentAccess { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDocumentURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -781,7 +781,7 @@ impl IUPnPDeviceDocumentAccessEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -841,7 +841,7 @@ impl IUPnPDeviceFinder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindByType)(::windows::core::Interface::as_raw(self), bstrtypeuri.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -851,7 +851,7 @@ impl IUPnPDeviceFinder { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAsyncFind)(::windows::core::Interface::as_raw(self), bstrtypeuri.into().abi(), dwflags, punkdevicefindercallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartAsyncFind(&self, lfinddata: i32) -> ::windows::core::Result<()> { @@ -866,7 +866,7 @@ impl IUPnPDeviceFinder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindByUDN)(::windows::core::Interface::as_raw(self), bstrudn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1149,11 +1149,11 @@ pub struct IUPnPDevices(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPDevices { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1162,7 +1162,7 @@ impl IUPnPDevices { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), bstrudn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1430,7 +1430,7 @@ impl IUPnPRegistrar { P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterDevice)(::windows::core::Interface::as_raw(self), bstrxmldesc.into().abi(), bstrprogiddevicecontrolclass.into().abi(), bstrinitstring.into().abi(), bstrcontainerid.into().abi(), bstrresourcepath.into().abi(), nlifetime, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1442,7 +1442,7 @@ impl IUPnPRegistrar { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterRunningDevice)(::windows::core::Interface::as_raw(self), bstrxmldesc.into().abi(), punkdevicecontrol.into().abi(), bstrinitstring.into().abi(), bstrresourcepath.into().abi(), nlifetime, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1463,7 +1463,7 @@ impl IUPnPRegistrar { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUniqueDeviceName)(::windows::core::Interface::as_raw(self), bstrdeviceidentifier.into().abi(), bstrtemplateudn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1558,7 +1558,7 @@ impl IUPnPRemoteEndpointInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDwordValue)(::windows::core::Interface::as_raw(self), bstrvaluename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1567,7 +1567,7 @@ impl IUPnPRemoteEndpointInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringValue)(::windows::core::Interface::as_raw(self), bstrvaluename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1576,7 +1576,7 @@ impl IUPnPRemoteEndpointInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuidValue)(::windows::core::Interface::as_raw(self), bstrvaluename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -1722,7 +1722,7 @@ impl IUPnPService { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryStateVariable)(::windows::core::Interface::as_raw(self), bstrvariablename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1737,7 +1737,7 @@ impl IUPnPService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceTypeIdentifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceTypeIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddCallback<'a, P0>(&self, punkcallback: P0) -> ::windows::core::Result<()> @@ -1749,11 +1749,11 @@ impl IUPnPService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastTransportStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastTransportStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1854,7 +1854,7 @@ impl IUPnPServiceAsync { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IUPnPAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginInvokeAction)(::windows::core::Interface::as_raw(self), bstractionname.into().abi(), vinactionargs.into().abi(), pasyncresult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1869,7 +1869,7 @@ impl IUPnPServiceAsync { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUPnPAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginQueryStateVariable)(::windows::core::Interface::as_raw(self), bstrvariablename.into().abi(), pasyncresult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1882,7 +1882,7 @@ impl IUPnPServiceAsync { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUPnPAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginSubscribeToEvents)(::windows::core::Interface::as_raw(self), punkcallback.into().abi(), pasyncresult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndSubscribeToEvents(&self, ullrequestid: u64) -> ::windows::core::Result<()> { @@ -1892,13 +1892,13 @@ impl IUPnPServiceAsync { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUPnPAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginSCPDDownload)(::windows::core::Interface::as_raw(self), pasyncresult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EndSCPDDownload(&self, ullrequestid: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndSCPDDownload)(::windows::core::Interface::as_raw(self), ullrequestid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CancelAsyncOperation(&self, ullrequestid: u64) -> ::windows::core::Result<()> { @@ -2047,13 +2047,13 @@ impl IUPnPServiceDocumentAccess { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDocumentURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2161,11 +2161,11 @@ pub struct IUPnPServices(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPServices { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2174,7 +2174,7 @@ impl IUPnPServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), bstrserviceid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2387,7 +2387,7 @@ where extern "system" { fn SwDeviceCreate(pszenumeratorname: ::windows::core::PCWSTR, pszparentdeviceinstance: ::windows::core::PCWSTR, pcreateinfo: *const SW_DEVICE_CREATE_INFO, cpropertycount: u32, pproperties: *const super::super::Properties::DEVPROPERTY, pcallback: *mut ::core::ffi::c_void, pcontext: *const ::core::ffi::c_void, phswdevice: *mut isize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SwDeviceCreate(pszenumeratorname.into(), pszparentdeviceinstance.into(), ::core::mem::transmute(pcreateinfo), pproperties.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pproperties)), ::core::mem::transmute(pcallback), ::core::mem::transmute(pcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] @@ -2400,7 +2400,7 @@ where extern "system" { fn SwDeviceGetLifetime(hswdevice: HSWDEVICE, plifetime: *mut SW_DEVICE_LIFETIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SwDeviceGetLifetime(hswdevice.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Devices_Properties\"`*"] @@ -2430,7 +2430,7 @@ where extern "system" { fn SwDeviceInterfaceRegister(hswdevice: HSWDEVICE, pinterfaceclassguid: *const ::windows::core::GUID, pszreferencestring: ::windows::core::PCWSTR, cpropertycount: u32, pproperties: *const super::super::Properties::DEVPROPERTY, fenabled: super::super::super::Foundation::BOOL, ppszdeviceinterfaceid: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SwDeviceInterfaceRegister(hswdevice.into(), ::core::mem::transmute(pinterfaceclassguid), pszreferencestring.into(), pproperties.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pproperties)), fenabled.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`*"] 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 40604ea841..823a94272f 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs @@ -3571,20 +3571,20 @@ impl IFaxAccount { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AccountName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AccountName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Folders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Folders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ListenToAccountEvents(&self, eventtypes: FAX_ACCOUNT_EVENTS_TYPE_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ListenToAccountEvents)(::windows::core::Interface::as_raw(self), eventtypes).ok() } pub unsafe fn RegisteredEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisteredEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3674,25 +3674,25 @@ impl IFaxAccountFolders { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutgoingQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutgoingQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncomingQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncomingQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncomingArchive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncomingArchive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutgoingArchive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutgoingArchive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3786,11 +3786,11 @@ pub struct IFaxAccountIncomingArchive(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccountIncomingArchive { pub unsafe fn SizeLow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeLow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SizeHigh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeHigh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -3799,7 +3799,7 @@ impl IFaxAccountIncomingArchive { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMessages(&self, lprefetchsize: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessages)(::windows::core::Interface::as_raw(self), lprefetchsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3808,7 +3808,7 @@ impl IFaxAccountIncomingArchive { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessage)(::windows::core::Interface::as_raw(self), bstrmessageid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3899,7 +3899,7 @@ impl IFaxAccountIncomingQueue { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetJobs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJobs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3908,7 +3908,7 @@ impl IFaxAccountIncomingQueue { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJob)(::windows::core::Interface::as_raw(self), bstrjobid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4067,11 +4067,11 @@ pub struct IFaxAccountOutgoingArchive(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccountOutgoingArchive { pub unsafe fn SizeLow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeLow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SizeHigh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeHigh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -4080,7 +4080,7 @@ impl IFaxAccountOutgoingArchive { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMessages(&self, lprefetchsize: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessages)(::windows::core::Interface::as_raw(self), lprefetchsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4089,7 +4089,7 @@ impl IFaxAccountOutgoingArchive { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessage)(::windows::core::Interface::as_raw(self), bstrmessageid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4180,7 +4180,7 @@ impl IFaxAccountOutgoingQueue { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetJobs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJobs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4189,7 +4189,7 @@ impl IFaxAccountOutgoingQueue { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJob)(::windows::core::Interface::as_raw(self), bstrjobid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4277,7 +4277,7 @@ impl IFaxAccountSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAccounts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccounts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4286,7 +4286,7 @@ impl IFaxAccountSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccount)(::windows::core::Interface::as_raw(self), bstraccountname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4295,7 +4295,7 @@ impl IFaxAccountSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddAccount)(::windows::core::Interface::as_raw(self), bstraccountname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4397,7 +4397,7 @@ pub struct IFaxAccounts(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccounts { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4406,11 +4406,11 @@ impl IFaxAccounts { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), vindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4494,19 +4494,19 @@ pub struct IFaxActivity(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxActivity { pub unsafe fn IncomingMessages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncomingMessages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RoutingMessages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoutingMessages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutgoingMessages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutgoingMessages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueuedMessages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueuedMessages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -4592,14 +4592,14 @@ pub struct IFaxActivityLogging(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxActivityLogging { pub unsafe fn LogIncoming(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogIncoming)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogIncoming(&self, blogincoming: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogIncoming)(::windows::core::Interface::as_raw(self), blogincoming).ok() } pub unsafe fn LogOutgoing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogOutgoing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogOutgoing(&self, blogoutgoing: i16) -> ::windows::core::Result<()> { @@ -4608,7 +4608,7 @@ impl IFaxActivityLogging { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DatabasePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DatabasePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4714,7 +4714,7 @@ pub struct IFaxConfiguration(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxConfiguration { pub unsafe fn UseArchive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseArchive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseArchive(&self, busearchive: i16) -> ::windows::core::Result<()> { @@ -4723,7 +4723,7 @@ impl IFaxConfiguration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ArchiveLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArchiveLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4735,127 +4735,127 @@ impl IFaxConfiguration { (::windows::core::Interface::vtable(self).SetArchiveLocation)(::windows::core::Interface::as_raw(self), bstrarchivelocation.into().abi()).ok() } pub unsafe fn SizeQuotaWarning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeQuotaWarning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSizeQuotaWarning(&self, bsizequotawarning: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSizeQuotaWarning)(::windows::core::Interface::as_raw(self), bsizequotawarning).ok() } pub unsafe fn HighQuotaWaterMark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HighQuotaWaterMark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHighQuotaWaterMark(&self, lhighquotawatermark: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHighQuotaWaterMark)(::windows::core::Interface::as_raw(self), lhighquotawatermark).ok() } pub unsafe fn LowQuotaWaterMark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LowQuotaWaterMark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLowQuotaWaterMark(&self, llowquotawatermark: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLowQuotaWaterMark)(::windows::core::Interface::as_raw(self), llowquotawatermark).ok() } pub unsafe fn ArchiveAgeLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArchiveAgeLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetArchiveAgeLimit(&self, larchiveagelimit: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetArchiveAgeLimit)(::windows::core::Interface::as_raw(self), larchiveagelimit).ok() } pub unsafe fn ArchiveSizeLow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArchiveSizeLow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ArchiveSizeHigh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArchiveSizeHigh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutgoingQueueBlocked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutgoingQueueBlocked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutgoingQueueBlocked(&self, boutgoingblocked: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOutgoingQueueBlocked)(::windows::core::Interface::as_raw(self), boutgoingblocked).ok() } pub unsafe fn OutgoingQueuePaused(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutgoingQueuePaused)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutgoingQueuePaused(&self, boutgoingpaused: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOutgoingQueuePaused)(::windows::core::Interface::as_raw(self), boutgoingpaused).ok() } pub unsafe fn AllowPersonalCoverPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowPersonalCoverPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowPersonalCoverPages(&self, ballowpersonalcoverpages: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowPersonalCoverPages)(::windows::core::Interface::as_raw(self), ballowpersonalcoverpages).ok() } pub unsafe fn UseDeviceTSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseDeviceTSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseDeviceTSID(&self, busedevicetsid: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUseDeviceTSID)(::windows::core::Interface::as_raw(self), busedevicetsid).ok() } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRetries(&self, lretries: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRetries)(::windows::core::Interface::as_raw(self), lretries).ok() } pub unsafe fn RetryDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetryDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRetryDelay(&self, lretrydelay: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRetryDelay)(::windows::core::Interface::as_raw(self), lretrydelay).ok() } pub unsafe fn DiscountRateStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiscountRateStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDiscountRateStart(&self, datediscountratestart: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDiscountRateStart)(::windows::core::Interface::as_raw(self), datediscountratestart).ok() } pub unsafe fn DiscountRateEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiscountRateEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDiscountRateEnd(&self, datediscountrateend: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDiscountRateEnd)(::windows::core::Interface::as_raw(self), datediscountrateend).ok() } pub unsafe fn OutgoingQueueAgeLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutgoingQueueAgeLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutgoingQueueAgeLimit(&self, loutgoingqueueagelimit: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOutgoingQueueAgeLimit)(::windows::core::Interface::as_raw(self), loutgoingqueueagelimit).ok() } pub unsafe fn Branding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Branding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBranding(&self, bbranding: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBranding)(::windows::core::Interface::as_raw(self), bbranding).ok() } pub unsafe fn IncomingQueueBlocked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncomingQueueBlocked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIncomingQueueBlocked(&self, bincomingblocked: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIncomingQueueBlocked)(::windows::core::Interface::as_raw(self), bincomingblocked).ok() } pub unsafe fn AutoCreateAccountOnConnect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoCreateAccountOnConnect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoCreateAccountOnConnect(&self, bautocreateaccountonconnect: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoCreateAccountOnConnect)(::windows::core::Interface::as_raw(self), bautocreateaccountonconnect).ok() } pub unsafe fn IncomingFaxesArePublic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncomingFaxesArePublic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIncomingFaxesArePublic(&self, bincomingfaxesarepublic: i16) -> ::windows::core::Result<()> { @@ -4990,43 +4990,43 @@ pub struct IFaxDevice(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDevice { pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderUniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderUniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PoweredOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PoweredOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReceivingNow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceivingNow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendingNow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendingNow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn UsedRoutingMethods(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UsedRoutingMethods)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5038,21 +5038,21 @@ impl IFaxDevice { (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), bstrdescription.into().abi()).ok() } pub unsafe fn SendEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSendEnabled(&self, bsendenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSendEnabled)(::windows::core::Interface::as_raw(self), bsendenabled).ok() } pub unsafe fn ReceiveMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReceiveMode(&self, receivemode: FAX_DEVICE_RECEIVE_MODE_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetReceiveMode)(::windows::core::Interface::as_raw(self), receivemode).ok() } pub unsafe fn RingsBeforeAnswer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RingsBeforeAnswer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRingsBeforeAnswer(&self, lringsbeforeanswer: i32) -> ::windows::core::Result<()> { @@ -5061,7 +5061,7 @@ impl IFaxDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5075,7 +5075,7 @@ impl IFaxDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5098,7 +5098,7 @@ impl IFaxDevice { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionProperty)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5119,7 +5119,7 @@ impl IFaxDevice { (::windows::core::Interface::vtable(self).UseRoutingMethod)(::windows::core::Interface::as_raw(self), bstrmethodguid.into().abi(), buse).ok() } pub unsafe fn RingingNow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RingingNow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AnswerCall(&self) -> ::windows::core::Result<()> { @@ -5262,15 +5262,15 @@ pub struct IFaxDeviceIds(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDeviceIds { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Add(&self, ldeviceid: i32) -> ::windows::core::Result<()> { @@ -5365,59 +5365,59 @@ impl IFaxDeviceProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ImageName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImageName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TapiProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TapiProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Debug(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Debug)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitErrorCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitErrorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DeviceIds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5522,7 +5522,7 @@ pub struct IFaxDeviceProviders(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDeviceProviders { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5531,11 +5531,11 @@ impl IFaxDeviceProviders { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), vindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5619,7 +5619,7 @@ pub struct IFaxDevices(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDevices { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5628,17 +5628,17 @@ impl IFaxDevices { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), vindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemById(&self, lid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemById)(::windows::core::Interface::as_raw(self), lid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5728,7 +5728,7 @@ impl IFaxDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5742,19 +5742,19 @@ impl IFaxDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sender(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Sender)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recipients(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recipients)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CoverPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoverPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5768,7 +5768,7 @@ impl IFaxDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5782,7 +5782,7 @@ impl IFaxDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Note(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Note)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5794,7 +5794,7 @@ impl IFaxDocument { (::windows::core::Interface::vtable(self).SetNote)(::windows::core::Interface::as_raw(self), bstrnote.into().abi()).ok() } pub unsafe fn ScheduleTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScheduleTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduleTime(&self, datescheduletime: f64) -> ::windows::core::Result<()> { @@ -5803,7 +5803,7 @@ impl IFaxDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReceiptAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiptAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5817,7 +5817,7 @@ impl IFaxDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DocumentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DocumentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5829,42 +5829,42 @@ impl IFaxDocument { (::windows::core::Interface::vtable(self).SetDocumentName)(::windows::core::Interface::as_raw(self), bstrdocumentname.into().abi()).ok() } pub unsafe fn CallHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCallHandle(&self, lcallhandle: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCallHandle)(::windows::core::Interface::as_raw(self), lcallhandle).ok() } pub unsafe fn CoverPageType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoverPageType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCoverPageType(&self, coverpagetype: FAX_COVERPAGE_TYPE_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCoverPageType)(::windows::core::Interface::as_raw(self), coverpagetype).ok() } pub unsafe fn ScheduleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScheduleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduleType(&self, scheduletype: FAX_SCHEDULE_TYPE_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetScheduleType)(::windows::core::Interface::as_raw(self), scheduletype).ok() } pub unsafe fn ReceiptType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiptType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReceiptType(&self, receipttype: FAX_RECEIPT_TYPE_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetReceiptType)(::windows::core::Interface::as_raw(self), receipttype).ok() } pub unsafe fn GroupBroadcastReceipts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GroupBroadcastReceipts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGroupBroadcastReceipts(&self, busegrouping: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGroupBroadcastReceipts)(::windows::core::Interface::as_raw(self), busegrouping).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, priority: FAX_PRIORITY_TYPE_ENUM) -> ::windows::core::Result<()> { @@ -5873,7 +5873,7 @@ impl IFaxDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TapiConnection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TapiConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5890,7 +5890,7 @@ impl IFaxDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Submit)(::windows::core::Interface::as_raw(self), bstrfaxservername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5899,11 +5899,11 @@ impl IFaxDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFaxServer>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectedSubmit)(::windows::core::Interface::as_raw(self), pfaxserver.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AttachFaxToReceipt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttachFaxToReceipt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttachFaxToReceipt(&self, battachfax: i16) -> ::windows::core::Result<()> { @@ -6074,7 +6074,7 @@ impl IFaxDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6088,19 +6088,19 @@ impl IFaxDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sender(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Sender)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recipients(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Recipients)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CoverPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CoverPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6114,7 +6114,7 @@ impl IFaxDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6128,7 +6128,7 @@ impl IFaxDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Note(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Note)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6140,7 +6140,7 @@ impl IFaxDocument2 { (::windows::core::Interface::vtable(self).base__.SetNote)(::windows::core::Interface::as_raw(self), bstrnote.into().abi()).ok() } pub unsafe fn ScheduleTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ScheduleTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduleTime(&self, datescheduletime: f64) -> ::windows::core::Result<()> { @@ -6149,7 +6149,7 @@ impl IFaxDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReceiptAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReceiptAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6163,7 +6163,7 @@ impl IFaxDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DocumentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DocumentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6175,42 +6175,42 @@ impl IFaxDocument2 { (::windows::core::Interface::vtable(self).base__.SetDocumentName)(::windows::core::Interface::as_raw(self), bstrdocumentname.into().abi()).ok() } pub unsafe fn CallHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CallHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCallHandle(&self, lcallhandle: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCallHandle)(::windows::core::Interface::as_raw(self), lcallhandle).ok() } pub unsafe fn CoverPageType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CoverPageType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCoverPageType(&self, coverpagetype: FAX_COVERPAGE_TYPE_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCoverPageType)(::windows::core::Interface::as_raw(self), coverpagetype).ok() } pub unsafe fn ScheduleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ScheduleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduleType(&self, scheduletype: FAX_SCHEDULE_TYPE_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetScheduleType)(::windows::core::Interface::as_raw(self), scheduletype).ok() } pub unsafe fn ReceiptType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReceiptType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReceiptType(&self, receipttype: FAX_RECEIPT_TYPE_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetReceiptType)(::windows::core::Interface::as_raw(self), receipttype).ok() } pub unsafe fn GroupBroadcastReceipts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GroupBroadcastReceipts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGroupBroadcastReceipts(&self, busegrouping: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetGroupBroadcastReceipts)(::windows::core::Interface::as_raw(self), busegrouping).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, priority: FAX_PRIORITY_TYPE_ENUM) -> ::windows::core::Result<()> { @@ -6219,7 +6219,7 @@ impl IFaxDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TapiConnection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TapiConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6236,7 +6236,7 @@ impl IFaxDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Submit)(::windows::core::Interface::as_raw(self), bstrfaxservername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6245,11 +6245,11 @@ impl IFaxDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFaxServer>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ConnectedSubmit)(::windows::core::Interface::as_raw(self), pfaxserver.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AttachFaxToReceipt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AttachFaxToReceipt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttachFaxToReceipt(&self, battachfax: i16) -> ::windows::core::Result<()> { @@ -6258,13 +6258,13 @@ impl IFaxDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubmissionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubmissionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Bodies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Bodies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6404,28 +6404,28 @@ pub struct IFaxEventLogging(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxEventLogging { pub unsafe fn InitEventsLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitEventsLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitEventsLevel(&self, initeventlevel: FAX_LOG_LEVEL_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInitEventsLevel)(::windows::core::Interface::as_raw(self), initeventlevel).ok() } pub unsafe fn InboundEventsLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InboundEventsLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInboundEventsLevel(&self, inboundeventlevel: FAX_LOG_LEVEL_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInboundEventsLevel)(::windows::core::Interface::as_raw(self), inboundeventlevel).ok() } pub unsafe fn OutboundEventsLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutboundEventsLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutboundEventsLevel(&self, outboundeventlevel: FAX_LOG_LEVEL_ENUM) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOutboundEventsLevel)(::windows::core::Interface::as_raw(self), outboundeventlevel).ok() } pub unsafe fn GeneralEventsLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GeneralEventsLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGeneralEventsLevel(&self, generaleventlevel: FAX_LOG_LEVEL_ENUM) -> ::windows::core::Result<()> { @@ -6524,25 +6524,25 @@ impl IFaxFolders { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutgoingQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutgoingQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncomingQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncomingQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncomingArchive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncomingArchive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutgoingArchive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutgoingArchive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6638,13 +6638,13 @@ impl IFaxInboundRouting { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMethods(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMethods)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6732,53 +6732,53 @@ impl IFaxInboundRoutingExtension { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ImageName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImageName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Debug(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Debug)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitErrorCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitErrorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Methods(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Methods)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6879,7 +6879,7 @@ pub struct IFaxInboundRoutingExtensions(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingExtensions { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6888,11 +6888,11 @@ impl IFaxInboundRoutingExtensions { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), vindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6978,35 +6978,35 @@ impl IFaxInboundRoutingMethod { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FunctionName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FunctionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExtensionFriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtensionFriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExtensionImageName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtensionImageName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, lpriority: i32) -> ::windows::core::Result<()> { @@ -7117,7 +7117,7 @@ pub struct IFaxInboundRoutingMethods(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingMethods { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7126,11 +7126,11 @@ impl IFaxInboundRoutingMethods { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), vindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7214,7 +7214,7 @@ pub struct IFaxIncomingArchive(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingArchive { pub unsafe fn UseArchive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseArchive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseArchive(&self, busearchive: i16) -> ::windows::core::Result<()> { @@ -7223,7 +7223,7 @@ impl IFaxIncomingArchive { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ArchiveFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArchiveFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7235,39 +7235,39 @@ impl IFaxIncomingArchive { (::windows::core::Interface::vtable(self).SetArchiveFolder)(::windows::core::Interface::as_raw(self), bstrarchivefolder.into().abi()).ok() } pub unsafe fn SizeQuotaWarning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeQuotaWarning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSizeQuotaWarning(&self, bsizequotawarning: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSizeQuotaWarning)(::windows::core::Interface::as_raw(self), bsizequotawarning).ok() } pub unsafe fn HighQuotaWaterMark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HighQuotaWaterMark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHighQuotaWaterMark(&self, lhighquotawatermark: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHighQuotaWaterMark)(::windows::core::Interface::as_raw(self), lhighquotawatermark).ok() } pub unsafe fn LowQuotaWaterMark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LowQuotaWaterMark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLowQuotaWaterMark(&self, llowquotawatermark: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLowQuotaWaterMark)(::windows::core::Interface::as_raw(self), llowquotawatermark).ok() } pub unsafe fn AgeLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AgeLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAgeLimit(&self, lagelimit: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAgeLimit)(::windows::core::Interface::as_raw(self), lagelimit).ok() } pub unsafe fn SizeLow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeLow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SizeHigh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeHigh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -7279,7 +7279,7 @@ impl IFaxIncomingArchive { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMessages(&self, lprefetchsize: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessages)(::windows::core::Interface::as_raw(self), lprefetchsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7288,7 +7288,7 @@ impl IFaxIncomingArchive { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessage)(::windows::core::Interface::as_raw(self), bstrmessageid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7396,79 +7396,79 @@ pub struct IFaxIncomingJob(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingJob { pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExtendedStatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedStatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExtendedStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AvailableOperations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvailableOperations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CallerId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallerId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RoutingInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoutingInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JobType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JobType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -7600,7 +7600,7 @@ pub struct IFaxIncomingJobs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingJobs { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7609,11 +7609,11 @@ impl IFaxIncomingJobs { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), vindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7699,57 +7699,57 @@ impl IFaxIncomingMessage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CallerId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallerId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RoutingInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoutingInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7874,57 +7874,57 @@ impl IFaxIncomingMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Pages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransmissionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransmissionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CallerId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CallerId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RoutingInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RoutingInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7941,7 +7941,7 @@ impl IFaxIncomingMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7955,7 +7955,7 @@ impl IFaxIncomingMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SenderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7969,7 +7969,7 @@ impl IFaxIncomingMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SenderFaxNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderFaxNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7981,7 +7981,7 @@ impl IFaxIncomingMessage2 { (::windows::core::Interface::vtable(self).SetSenderFaxNumber)(::windows::core::Interface::as_raw(self), bstrsenderfaxnumber.into().abi()).ok() } pub unsafe fn HasCoverPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasCoverPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHasCoverPage(&self, bhascoverpage: i16) -> ::windows::core::Result<()> { @@ -7990,7 +7990,7 @@ impl IFaxIncomingMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Recipients(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recipients)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8002,11 +8002,11 @@ impl IFaxIncomingMessage2 { (::windows::core::Interface::vtable(self).SetRecipients)(::windows::core::Interface::as_raw(self), bstrrecipients.into().abi()).ok() } pub unsafe fn WasReAssigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WasReAssigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Read(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Read)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRead(&self, bread: i16) -> ::windows::core::Result<()> { @@ -8156,18 +8156,18 @@ impl IFaxIncomingMessageIterator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrefetchSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrefetchSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrefetchSize(&self, lprefetchsize: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPrefetchSize)(::windows::core::Interface::as_raw(self), lprefetchsize).ok() } pub unsafe fn AtEOF(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AtEOF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveFirst(&self) -> ::windows::core::Result<()> { @@ -8260,7 +8260,7 @@ pub struct IFaxIncomingQueue(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingQueue { pub unsafe fn Blocked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Blocked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBlocked(&self, bblocked: i16) -> ::windows::core::Result<()> { @@ -8275,7 +8275,7 @@ impl IFaxIncomingQueue { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetJobs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJobs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8284,7 +8284,7 @@ impl IFaxIncomingQueue { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJob)(::windows::core::Interface::as_raw(self), bstrjobid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8374,81 +8374,81 @@ pub struct IFaxJobStatus(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxJobStatus { pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExtendedStatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedStatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExtendedStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AvailableOperations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvailableOperations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JobType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JobType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScheduledTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScheduledTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CallerId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallerId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RoutingInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoutingInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8560,13 +8560,13 @@ impl IFaxLoggingOptions { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EventLogging(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventLogging)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActivityLogging(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivityLogging)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8654,13 +8654,13 @@ impl IFaxOutboundRouting { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8748,17 +8748,17 @@ impl IFaxOutboundRoutingGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DeviceIds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8845,7 +8845,7 @@ pub struct IFaxOutboundRoutingGroups(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingGroups { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8854,11 +8854,11 @@ impl IFaxOutboundRoutingGroups { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), vindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8867,7 +8867,7 @@ impl IFaxOutboundRoutingGroups { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8967,26 +8967,26 @@ pub struct IFaxOutboundRoutingRule(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingRule { pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AreaCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AreaCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UseDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseDevice(&self, busedevice: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUseDevice)(::windows::core::Interface::as_raw(self), busedevice).ok() } pub unsafe fn DeviceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDeviceId(&self, deviceid: i32) -> ::windows::core::Result<()> { @@ -8995,7 +8995,7 @@ impl IFaxOutboundRoutingRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GroupName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GroupName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9104,23 +9104,23 @@ pub struct IFaxOutboundRoutingRules(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingRules { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ItemByCountryAndArea(&self, lcountrycode: i32, lareacode: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemByCountryAndArea)(::windows::core::Interface::as_raw(self), lcountrycode, lareacode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveByCountryAndArea(&self, lcountrycode: i32, lareacode: i32) -> ::windows::core::Result<()> { @@ -9135,7 +9135,7 @@ impl IFaxOutboundRoutingRules { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), lcountrycode, lareacode, busedevice, bstrgroupname.into().abi(), ldeviceid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9229,7 +9229,7 @@ pub struct IFaxOutgoingArchive(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingArchive { pub unsafe fn UseArchive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseArchive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseArchive(&self, busearchive: i16) -> ::windows::core::Result<()> { @@ -9238,7 +9238,7 @@ impl IFaxOutgoingArchive { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ArchiveFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArchiveFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9250,39 +9250,39 @@ impl IFaxOutgoingArchive { (::windows::core::Interface::vtable(self).SetArchiveFolder)(::windows::core::Interface::as_raw(self), bstrarchivefolder.into().abi()).ok() } pub unsafe fn SizeQuotaWarning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeQuotaWarning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSizeQuotaWarning(&self, bsizequotawarning: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSizeQuotaWarning)(::windows::core::Interface::as_raw(self), bsizequotawarning).ok() } pub unsafe fn HighQuotaWaterMark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HighQuotaWaterMark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHighQuotaWaterMark(&self, lhighquotawatermark: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHighQuotaWaterMark)(::windows::core::Interface::as_raw(self), lhighquotawatermark).ok() } pub unsafe fn LowQuotaWaterMark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LowQuotaWaterMark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLowQuotaWaterMark(&self, llowquotawatermark: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLowQuotaWaterMark)(::windows::core::Interface::as_raw(self), llowquotawatermark).ok() } pub unsafe fn AgeLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AgeLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAgeLimit(&self, lagelimit: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAgeLimit)(::windows::core::Interface::as_raw(self), lagelimit).ok() } pub unsafe fn SizeLow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeLow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SizeHigh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeHigh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -9294,7 +9294,7 @@ impl IFaxOutgoingArchive { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMessages(&self, lprefetchsize: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessages)(::windows::core::Interface::as_raw(self), lprefetchsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9303,7 +9303,7 @@ impl IFaxOutgoingArchive { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessage)(::windows::core::Interface::as_raw(self), bstrmessageid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9413,119 +9413,119 @@ impl IFaxOutgoingJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DocumentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DocumentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubmissionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubmissionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OriginalScheduledTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OriginalScheduledTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SubmissionTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubmissionTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReceiptType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiptType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sender(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Sender)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recipient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recipient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExtendedStatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedStatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExtendedStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AvailableOperations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvailableOperations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScheduledTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScheduledTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GroupBroadcastReceipts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GroupBroadcastReceipts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -9689,119 +9689,119 @@ impl IFaxOutgoingJob2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DocumentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DocumentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Pages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubmissionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SubmissionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OriginalScheduledTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OriginalScheduledTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SubmissionTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SubmissionTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReceiptType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReceiptType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sender(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Sender)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recipient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Recipient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeviceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExtendedStatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExtendedStatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExtendedStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExtendedStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AvailableOperations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AvailableOperations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScheduledTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ScheduledTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransmissionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransmissionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GroupBroadcastReceipts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GroupBroadcastReceipts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -9828,17 +9828,17 @@ impl IFaxOutgoingJob2 { (::windows::core::Interface::vtable(self).base__.Cancel)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn HasCoverPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasCoverPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReceiptAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiptAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScheduleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScheduleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9940,7 +9940,7 @@ pub struct IFaxOutgoingJobs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingJobs { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9949,11 +9949,11 @@ impl IFaxOutgoingJobs { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), vindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10039,87 +10039,87 @@ impl IFaxOutgoingMessage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubmissionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubmissionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DocumentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DocumentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OriginalScheduledTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OriginalScheduledTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SubmissionTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubmissionTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sender(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Sender)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recipient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recipient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10259,87 +10259,87 @@ impl IFaxOutgoingMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubmissionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SubmissionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DocumentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DocumentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Pages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OriginalScheduledTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OriginalScheduledTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SubmissionTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SubmissionTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sender(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Sender)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recipient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Recipient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransmissionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransmissionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10354,21 +10354,21 @@ impl IFaxOutgoingMessage2 { (::windows::core::Interface::vtable(self).base__.Delete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn HasCoverPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasCoverPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReceiptType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiptType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReceiptAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiptAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Read(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Read)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRead(&self, bread: i16) -> ::windows::core::Result<()> { @@ -10485,15 +10485,15 @@ impl IFaxOutgoingMessageIterator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AtEOF(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AtEOF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrefetchSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrefetchSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrefetchSize(&self, lprefetchsize: i32) -> ::windows::core::Result<()> { @@ -10589,70 +10589,70 @@ pub struct IFaxOutgoingQueue(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingQueue { pub unsafe fn Blocked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Blocked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBlocked(&self, bblocked: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBlocked)(::windows::core::Interface::as_raw(self), bblocked).ok() } pub unsafe fn Paused(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Paused)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPaused(&self, bpaused: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPaused)(::windows::core::Interface::as_raw(self), bpaused).ok() } pub unsafe fn AllowPersonalCoverPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowPersonalCoverPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowPersonalCoverPages(&self, ballowpersonalcoverpages: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowPersonalCoverPages)(::windows::core::Interface::as_raw(self), ballowpersonalcoverpages).ok() } pub unsafe fn UseDeviceTSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseDeviceTSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseDeviceTSID(&self, busedevicetsid: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUseDeviceTSID)(::windows::core::Interface::as_raw(self), busedevicetsid).ok() } pub unsafe fn Retries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Retries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRetries(&self, lretries: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRetries)(::windows::core::Interface::as_raw(self), lretries).ok() } pub unsafe fn RetryDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetryDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRetryDelay(&self, lretrydelay: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRetryDelay)(::windows::core::Interface::as_raw(self), lretrydelay).ok() } pub unsafe fn DiscountRateStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiscountRateStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDiscountRateStart(&self, datediscountratestart: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDiscountRateStart)(::windows::core::Interface::as_raw(self), datediscountratestart).ok() } pub unsafe fn DiscountRateEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiscountRateEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDiscountRateEnd(&self, datediscountrateend: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDiscountRateEnd)(::windows::core::Interface::as_raw(self), datediscountrateend).ok() } pub unsafe fn AgeLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AgeLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAgeLimit(&self, lagelimit: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAgeLimit)(::windows::core::Interface::as_raw(self), lagelimit).ok() } pub unsafe fn Branding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Branding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBranding(&self, bbranding: i16) -> ::windows::core::Result<()> { @@ -10667,7 +10667,7 @@ impl IFaxOutgoingQueue { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetJobs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJobs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10676,7 +10676,7 @@ impl IFaxOutgoingQueue { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJob)(::windows::core::Interface::as_raw(self), bstrjobid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10784,7 +10784,7 @@ pub struct IFaxReceiptOptions(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxReceiptOptions { pub unsafe fn AuthenticationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticationType(&self, r#type: FAX_SMTP_AUTHENTICATION_TYPE_ENUM) -> ::windows::core::Result<()> { @@ -10793,7 +10793,7 @@ impl IFaxReceiptOptions { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SMTPServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SMTPServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10805,7 +10805,7 @@ impl IFaxReceiptOptions { (::windows::core::Interface::vtable(self).SetSMTPServer)(::windows::core::Interface::as_raw(self), bstrsmtpserver.into().abi()).ok() } pub unsafe fn SMTPPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SMTPPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSMTPPort(&self, lsmtpport: i32) -> ::windows::core::Result<()> { @@ -10814,7 +10814,7 @@ impl IFaxReceiptOptions { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SMTPSender(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SMTPSender)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10828,7 +10828,7 @@ impl IFaxReceiptOptions { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SMTPUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SMTPUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10840,7 +10840,7 @@ impl IFaxReceiptOptions { (::windows::core::Interface::vtable(self).SetSMTPUser)(::windows::core::Interface::as_raw(self), bstrsmtpuser.into().abi()).ok() } pub unsafe fn AllowedReceipts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowedReceipts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowedReceipts(&self, allowedreceipts: FAX_RECEIPT_TYPE_ENUM) -> ::windows::core::Result<()> { @@ -10849,7 +10849,7 @@ impl IFaxReceiptOptions { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SMTPPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SMTPPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10867,7 +10867,7 @@ impl IFaxReceiptOptions { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn UseForInboundRouting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseForInboundRouting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseForInboundRouting(&self, buseforinboundrouting: i16) -> ::windows::core::Result<()> { @@ -10992,7 +10992,7 @@ impl IFaxRecipient { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FaxNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FaxNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11006,7 +11006,7 @@ impl IFaxRecipient { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11108,17 +11108,17 @@ pub struct IFaxRecipients(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxRecipients { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11128,7 +11128,7 @@ impl IFaxRecipients { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), bstrfaxnumber.into().abi(), bstrrecipientname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Remove(&self, lindex: i32) -> ::windows::core::Result<()> { @@ -11222,7 +11222,7 @@ impl IFaxSecurity { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Descriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Descriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11234,7 +11234,7 @@ impl IFaxSecurity { (::windows::core::Interface::vtable(self).SetDescriptor)(::windows::core::Interface::as_raw(self), vdescriptor.into().abi()).ok() } pub unsafe fn GrantedRights(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GrantedRights)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -11244,7 +11244,7 @@ impl IFaxSecurity { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn InformationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InformationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInformationType(&self, linformationtype: i32) -> ::windows::core::Result<()> { @@ -11340,7 +11340,7 @@ impl IFaxSecurity2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Descriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Descriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11352,7 +11352,7 @@ impl IFaxSecurity2 { (::windows::core::Interface::vtable(self).SetDescriptor)(::windows::core::Interface::as_raw(self), vdescriptor.into().abi()).ok() } pub unsafe fn GrantedRights(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GrantedRights)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -11362,7 +11362,7 @@ impl IFaxSecurity2 { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn InformationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InformationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInformationType(&self, linformationtype: i32) -> ::windows::core::Result<()> { @@ -11458,7 +11458,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BillingCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BillingCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11472,7 +11472,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn City(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).City)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11486,7 +11486,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Company(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Company)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11500,7 +11500,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Country(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Country)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11514,7 +11514,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Department(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Department)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11528,7 +11528,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Email(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Email)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11542,7 +11542,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FaxNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FaxNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11556,7 +11556,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HomePhone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HomePhone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11570,7 +11570,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11584,7 +11584,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11598,7 +11598,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OfficePhone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OfficePhone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11612,7 +11612,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OfficeLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OfficeLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11626,7 +11626,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11640,7 +11640,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StreetAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StreetAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11654,7 +11654,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11668,7 +11668,7 @@ impl IFaxSender { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ZipCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ZipCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11900,81 +11900,81 @@ impl IFaxServer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDeviceProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InboundRouting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InboundRouting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Folders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Folders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LoggingOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoggingOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Debug(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Debug)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Activity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Activity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutboundRouting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutboundRouting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiptOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiptOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disconnect(&self) -> ::windows::core::Result<()> { @@ -11986,7 +11986,7 @@ impl IFaxServer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionProperty)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12040,11 +12040,11 @@ impl IFaxServer { (::windows::core::Interface::vtable(self).UnregisterInboundRoutingExtension)(::windows::core::Interface::as_raw(self), bstrextensionuniquename.into().abi()).ok() } pub unsafe fn RegisteredEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisteredEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn APIVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).APIVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12209,81 +12209,81 @@ impl IFaxServer2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDeviceProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDeviceProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InboundRouting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InboundRouting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Folders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Folders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LoggingOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LoggingOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MajorBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinorBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Debug(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Debug)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Activity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Activity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutboundRouting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OutboundRouting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiptOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReceiptOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Security)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disconnect(&self) -> ::windows::core::Result<()> { @@ -12295,7 +12295,7 @@ impl IFaxServer2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExtensionProperty)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12349,35 +12349,35 @@ impl IFaxServer2 { (::windows::core::Interface::vtable(self).base__.UnregisterInboundRoutingExtension)(::windows::core::Interface::as_raw(self), bstrextensionuniquename.into().abi()).ok() } pub unsafe fn RegisteredEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisteredEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn APIVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.APIVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Configuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Configuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FaxAccountSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FaxAccountSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12661,7 +12661,7 @@ impl IStiDevice { (::windows::core::Interface::vtable(self).Escape)(::windows::core::Interface::as_raw(self), escapefunction, ::core::mem::transmute(lpindata), cbindatasize, ::core::mem::transmute(poutdata), dwoutdatasize, ::core::mem::transmute(pdwactualdata)).ok() } pub unsafe fn GetLastError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LockDevice(&self, dwtimeout: u32) -> ::windows::core::Result<()> { @@ -12696,14 +12696,14 @@ impl IStiDevice { (::windows::core::Interface::vtable(self).Subscribe)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpsubsribe)).ok() } pub unsafe fn GetLastNotificationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastNotificationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnSubscribe(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).UnSubscribe)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLastErrorInfo(&self) -> ::windows::core::Result<_ERROR_INFOW> { - let mut result__ = ::core::mem::MaybeUninit::<_ERROR_INFOW>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastErrorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<_ERROR_INFOW>(result__) } } @@ -12918,7 +12918,7 @@ impl IStiUSD { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pheldcb.into().abi(), dwstiversion, hparameterskey.into()).ok() } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self, pdevstatus: *mut STI_DEVICE_STATUS) -> ::windows::core::Result<()> { @@ -12934,7 +12934,7 @@ impl IStiUSD { (::windows::core::Interface::vtable(self).Escape)(::windows::core::Interface::as_raw(self), escapefunction, ::core::mem::transmute(lpindata), cbindatasize, ::core::mem::transmute(poutdata), cboutdatasize, ::core::mem::transmute(pdwactualdata)).ok() } pub unsafe fn GetLastError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LockDevice(&self) -> ::windows::core::Result<()> { @@ -12972,11 +12972,11 @@ impl IStiUSD { (::windows::core::Interface::vtable(self).SetNotificationHandle)(::windows::core::Interface::as_raw(self), hevent.into()).ok() } pub unsafe fn GetNotificationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotificationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastErrorInfo(&self) -> ::windows::core::Result<_ERROR_INFOW> { - let mut result__ = ::core::mem::MaybeUninit::<_ERROR_INFOW>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastErrorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<_ERROR_INFOW>(result__) } } @@ -13127,7 +13127,7 @@ impl IStillImageW { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHwNotificationState)(::windows::core::Interface::as_raw(self), pwszdevicename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RefreshDeviceBus<'a, P0>(&self, pwszdevicename: P0) -> ::windows::core::Result<()> 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 e085d262b1..3fee155543 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -159,7 +159,7 @@ impl IFunctionDiscovery { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstanceCollection)(::windows::core::Interface::as_raw(self), pszcategory.into(), pszsubcategory.into(), fincludeallsubcategories.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -168,7 +168,7 @@ impl IFunctionDiscovery { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstance)(::windows::core::Interface::as_raw(self), pszfunctioninstanceidentity.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -197,7 +197,7 @@ impl IFunctionDiscovery { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddInstance)(::windows::core::Interface::as_raw(self), enumsystemvisibility, pszcategory.into(), pszsubcategory.into(), pszcategoryidentity.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveInstance<'a, P0, P1, P2>(&self, enumsystemvisibility: SystemVisibilityFlags, pszcategory: P0, pszsubcategory: P1, pszcategoryidentity: P2) -> ::windows::core::Result<()> @@ -347,14 +347,14 @@ impl IFunctionDiscoveryProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, IFunctionDiscoveryProviderFactory>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IFunctionDiscoveryNotification>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pifunctiondiscoveryproviderfactory.into().abi(), pifunctiondiscoverynotification.into().abi(), lciduserdefault, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Query<'a, P0>(&self, pifunctiondiscoveryproviderquery: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IFunctionDiscoveryProviderQuery>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Query)(::windows::core::Interface::as_raw(self), pifunctiondiscoveryproviderquery.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndQuery(&self) -> ::windows::core::Result<()> { @@ -374,7 +374,7 @@ impl IFunctionDiscoveryProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFunctionInstance>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstancePropertyStoreOpen)(::windows::core::Interface::as_raw(self), pifunctioninstance.into().abi(), iproviderinstancecontext, dwstgaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -391,7 +391,7 @@ impl IFunctionDiscoveryProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFunctionInstance>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstanceQueryService)(::windows::core::Interface::as_raw(self), pifunctioninstance.into().abi(), iproviderinstancecontext, ::core::mem::transmute(guidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -473,7 +473,7 @@ impl IFunctionDiscoveryProviderFactory { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn CreatePropertyStore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePropertyStore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -485,11 +485,11 @@ impl IFunctionDiscoveryProviderFactory { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::UI::Shell::PropertiesSystem::IPropertyStore>>, P3: ::std::convert::Into<::windows::core::InParam<'a, IFunctionDiscoveryProvider>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), pszsubcategory.into(), pszproviderinstanceidentity.into(), iproviderinstancecontext, pipropertystore.into().abi(), pifunctiondiscoveryprovider.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFunctionInstanceCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFunctionInstanceCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -557,11 +557,11 @@ impl IFunctionDiscoveryProviderQuery { (::windows::core::Interface::vtable(self).IsSubcategoryQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pissubcategoryquery), ::core::mem::transmute(ppszconstraintvalue)).ok() } pub unsafe fn GetQueryConstraints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQueryConstraints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyConstraints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyConstraints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -686,17 +686,17 @@ impl IFunctionInstance { (::windows::core::Interface::vtable(self).base__.QueryService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidservice), ::core::mem::transmute(riid), ::core::mem::transmute(ppvobject)).ok() } pub unsafe fn GetID(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn GetProviderInstanceID(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderInstanceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn OpenPropertyStore(&self, dwstgaccess: super::super::System::Com::StructuredStorage::STGM) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenPropertyStore)(::windows::core::Interface::as_raw(self), dwstgaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCategory(&self, ppszcomemcategory: *mut *mut u16, ppszcomemsubcategory: *mut *mut u16) -> ::windows::core::Result<()> { @@ -782,7 +782,7 @@ pub struct IFunctionInstance_Vtbl { pub struct IFunctionInstanceCollection(::windows::core::IUnknown); impl IFunctionInstanceCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -796,7 +796,7 @@ impl IFunctionInstanceCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -810,7 +810,7 @@ impl IFunctionInstanceCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Remove(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self, dwindex: u32) -> ::windows::core::Result<()> { @@ -896,7 +896,7 @@ impl IFunctionInstanceCollectionQuery { (::windows::core::Interface::vtable(self).AddPropertyConstraint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(pv), enumpropertyconstraint).ok() } pub unsafe fn Execute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Execute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -953,7 +953,7 @@ impl IFunctionInstanceQuery { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Execute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Execute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1141,7 +1141,7 @@ pub struct IPNPXDeviceAssociation_Vtbl { pub struct IPropertyStoreCollection(::windows::core::IUnknown); impl IPropertyStoreCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1155,7 +1155,7 @@ impl IPropertyStoreCollection { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Item(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1169,7 +1169,7 @@ impl IPropertyStoreCollection { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Remove(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self, dwindex: u32) -> ::windows::core::Result<()> { @@ -1248,7 +1248,7 @@ impl IProviderProperties { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFunctionInstance>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), pifunctioninstance.into().abi(), iproviderinstancecontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1257,7 +1257,7 @@ impl IProviderProperties { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFunctionInstance>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), pifunctioninstance.into().abi(), iproviderinstancecontext, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1266,7 +1266,7 @@ impl IProviderProperties { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFunctionInstance>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), pifunctioninstance.into().abi(), iproviderinstancecontext, ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1339,7 +1339,7 @@ pub struct IProviderProperties_Vtbl { pub struct IProviderPropertyConstraintCollection(::windows::core::IUnknown); impl IProviderPropertyConstraintCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1430,7 +1430,7 @@ impl IProviderPublishing { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), enumvisibilityflags, pszsubcategory.into(), pszproviderinstanceidentity.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveInstance<'a, P0, P1>(&self, enumvisibilityflags: SystemVisibilityFlags, pszsubcategory: P0, pszproviderinstanceidentity: P1) -> ::windows::core::Result<()> @@ -1491,14 +1491,14 @@ pub struct IProviderPublishing_Vtbl { pub struct IProviderQueryConstraintCollection(::windows::core::IUnknown); impl IProviderQueryConstraintCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Get<'a, P0>(&self, pszconstraintname: P0) -> ::windows::core::Result<*mut u16> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Get)(::windows::core::Interface::as_raw(self), pszconstraintname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn Item(&self, dwindex: u32, ppszconstraintname: *mut *mut u16, ppszconstraintvalue: *mut *mut u16) -> ::windows::core::Result<()> { 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 cc012729e1..366832b98b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs @@ -2747,59 +2747,59 @@ pub const GUID_DEVINTERFACE_GNSS: ::windows::core::GUID = ::windows::core::GUID: pub struct ICivicAddressReport(::windows::core::IUnknown); impl ICivicAddressReport { pub unsafe fn GetSensorID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSensorID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTimestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAddressLine1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAddressLine1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAddressLine2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAddressLine2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStateProvince(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStateProvince)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPostalCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPostalCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCountryRegion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountryRegion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDetailLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDetailLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2896,18 +2896,18 @@ impl ICivicAddressReportFactory { (::windows::core::Interface::vtable(self).base__.StopListeningForReports)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReportInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReportInterval(&self, millisecondsrequested: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetReportInterval)(::windows::core::Interface::as_raw(self), millisecondsrequested).ok() } pub unsafe fn DesiredAccuracy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DesiredAccuracy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredAccuracy(&self, desiredaccuracy: u32) -> ::windows::core::Result<()> { @@ -2919,7 +2919,7 @@ impl ICivicAddressReportFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CivicAddressReport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CivicAddressReport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3023,7 +3023,7 @@ impl IDefaultLocation { (::windows::core::Interface::vtable(self).SetReport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reporttype), plocationreport.into().abi()).ok() } pub unsafe fn GetReport(&self, reporttype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reporttype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3078,45 +3078,45 @@ impl IDispCivicAddressReport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AddressLine1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddressLine1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AddressLine2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddressLine2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn City(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).City)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StateProvince(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StateProvince)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PostalCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PostalCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CountryRegion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryRegion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DetailLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DetailLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Timestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Timestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3220,27 +3220,27 @@ pub struct IDispLatLongReport(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDispLatLongReport { pub unsafe fn Latitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Latitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Longitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Longitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ErrorRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ErrorRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Altitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Altitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AltitudeError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AltitudeError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Timestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Timestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3322,39 +3322,39 @@ pub struct IDispLatLongReport_Vtbl { pub struct ILatLongReport(::windows::core::IUnknown); impl ILatLongReport { pub unsafe fn GetSensorID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSensorID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTimestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLatitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLatitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLongitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLongitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAltitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAltitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAltitudeError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAltitudeError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3431,18 +3431,18 @@ impl ILatLongReportFactory { (::windows::core::Interface::vtable(self).base__.StopListeningForReports)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReportInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReportInterval(&self, millisecondsrequested: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetReportInterval)(::windows::core::Interface::as_raw(self), millisecondsrequested).ok() } pub unsafe fn DesiredAccuracy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DesiredAccuracy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredAccuracy(&self, desiredaccuracy: u32) -> ::windows::core::Result<()> { @@ -3454,7 +3454,7 @@ impl ILatLongReportFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LatLongReport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LatLongReport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3561,15 +3561,15 @@ impl ILocation { (::windows::core::Interface::vtable(self).UnregisterForReport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reporttype)).ok() } pub unsafe fn GetReport(&self, reporttype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reporttype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReportStatus(&self, reporttype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReportStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reporttype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReportInterval(&self, reporttype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReportInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reporttype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReportInterval(&self, reporttype: *const ::windows::core::GUID, millisecondsrequested: u32) -> ::windows::core::Result<()> { @@ -3578,7 +3578,7 @@ impl ILocation { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[cfg(feature = "Win32_Devices_Sensors")] pub unsafe fn GetDesiredAccuracy(&self, reporttype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesiredAccuracy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reporttype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] @@ -3768,19 +3768,19 @@ pub struct ILocationPower_Vtbl { pub struct ILocationReport(::windows::core::IUnknown); impl ILocationReport { pub unsafe fn GetSensorID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3846,18 +3846,18 @@ impl ILocationReportFactory { (::windows::core::Interface::vtable(self).StopListeningForReports)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReportInterval(&self, millisecondsrequested: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetReportInterval)(::windows::core::Interface::as_raw(self), millisecondsrequested).ok() } pub unsafe fn DesiredAccuracy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredAccuracy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredAccuracy(&self, desiredaccuracy: u32) -> ::windows::core::Result<()> { 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 acbb61e1af..c11f5f538b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs @@ -353,11 +353,11 @@ impl IEnumWIA_DEV_CAPS { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -423,11 +423,11 @@ impl IEnumWIA_DEV_INFO { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -490,11 +490,11 @@ impl IEnumWIA_FORMAT_INFO { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -557,11 +557,11 @@ impl IEnumWiaItem { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -624,11 +624,11 @@ impl IEnumWiaItem2 { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -710,7 +710,7 @@ impl IWiaAppErrorHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportStatus<'a, P0>(&self, lflags: i32, pwiaitem2: P0, hrstatus: ::windows::core::HRESULT, lpercentcomplete: i32) -> ::windows::core::Result<()> @@ -838,11 +838,11 @@ impl IWiaDataTransfer { (::windows::core::Interface::vtable(self).idtQueryGetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfe)).ok() } pub unsafe fn idtEnumWIA_FORMAT_INFO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).idtEnumWIA_FORMAT_INFO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn idtGetExtendedTransferInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).idtGetExtendedTransferInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -902,7 +902,7 @@ pub struct IWiaDataTransfer_Vtbl { pub struct IWiaDevMgr(::windows::core::IUnknown); impl IWiaDevMgr { pub unsafe fn EnumDeviceInfo(&self, lflag: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDeviceInfo)(::windows::core::Interface::as_raw(self), lflag, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -911,7 +911,7 @@ impl IWiaDevMgr { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDevice)(::windows::core::Interface::as_raw(self), bstrdeviceid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -959,7 +959,7 @@ impl IWiaDevMgr { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWiaEventCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterEventCallbackInterface)(::windows::core::Interface::as_raw(self), lflags, bstrdeviceid.into().abi(), ::core::mem::transmute(peventguid), piwiaeventcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1060,7 +1060,7 @@ pub struct IWiaDevMgr_Vtbl { pub struct IWiaDevMgr2(::windows::core::IUnknown); impl IWiaDevMgr2 { pub unsafe fn EnumDeviceInfo(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDeviceInfo)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1069,7 +1069,7 @@ impl IWiaDevMgr2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDevice)(::windows::core::Interface::as_raw(self), lflags, bstrdeviceid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1095,7 +1095,7 @@ impl IWiaDevMgr2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWiaEventCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterEventCallbackInterface)(::windows::core::Interface::as_raw(self), lflags, bstrdeviceid.into().abi(), ::core::mem::transmute(peventguid), piwiaeventcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1208,23 +1208,23 @@ pub struct IWiaDevMgr2_Vtbl { pub struct IWiaDrvItem(::windows::core::IUnknown); impl IWiaDrvItem { pub unsafe fn GetItemFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceSpecContext(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceSpecContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFullItemName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFullItemName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetItemName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddItemToFolder<'a, P0>(&self, __midl__iwiadrvitem0004: P0) -> ::windows::core::Result<()> @@ -1245,7 +1245,7 @@ impl IWiaDrvItem { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindItemByName)(::windows::core::Interface::as_raw(self), __midl__iwiadrvitem0007, __midl__iwiadrvitem0008.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1254,25 +1254,25 @@ impl IWiaDrvItem { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindChildItemByName)(::windows::core::Interface::as_raw(self), __midl__iwiadrvitem0010.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstChildItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFirstChildItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSiblingItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextSiblingItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DumpItemData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DumpItemData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1363,7 +1363,7 @@ impl IWiaErrorHandler { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWiaItem2>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatusDescription)(::windows::core::Interface::as_raw(self), lflags, pwiaitem2.into().abi(), hrstatus, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1560,14 +1560,14 @@ pub struct IWiaImageFilter_Vtbl { pub struct IWiaItem(::windows::core::IUnknown); impl IWiaItem { pub unsafe fn GetItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AnalyzeItem(&self, lflags: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).AnalyzeItem)(::windows::core::Interface::as_raw(self), lflags).ok() } pub unsafe fn EnumChildItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumChildItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteItem(&self, lflags: i32) -> ::windows::core::Result<()> { @@ -1580,11 +1580,11 @@ impl IWiaItem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateChildItem)(::windows::core::Interface::as_raw(self), lflags, bstritemname.into().abi(), bstrfullitemname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumRegisterEventInfo(&self, lflags: i32, peventguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRegisterEventInfo)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(peventguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1593,7 +1593,7 @@ impl IWiaItem { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindItemByName)(::windows::core::Interface::as_raw(self), lflags, bstrfullitemname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1608,29 +1608,29 @@ impl IWiaItem { (::windows::core::Interface::vtable(self).DeviceCommand)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(pcmdguid), ::core::mem::transmute(piwiaitem)).ok() } pub unsafe fn GetRootItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDeviceCapabilities(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDeviceCapabilities)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DumpItemData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DumpItemData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DumpDrvItemData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DumpDrvItemData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DumpTreeItemData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DumpTreeItemData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Diagnostic(&self, pbuffer: &[u8]) -> ::windows::core::Result<()> { @@ -1720,14 +1720,14 @@ impl IWiaItem2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateChildItem)(::windows::core::Interface::as_raw(self), litemflags, lcreationflags, bstritemname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteItem(&self, lflags: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).DeleteItem)(::windows::core::Interface::as_raw(self), lflags).ok() } pub unsafe fn EnumChildItems(&self, pcategoryguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumChildItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcategoryguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1736,15 +1736,15 @@ impl IWiaItem2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindItemByName)(::windows::core::Interface::as_raw(self), lflags, bstrfullitemname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemCategory(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1761,7 +1761,7 @@ impl IWiaItem2 { (::windows::core::Interface::vtable(self).DeviceCommand)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(pcmdguid), ::core::mem::transmute(ppiwiaitem2)).ok() } pub unsafe fn EnumDeviceCapabilities(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDeviceCapabilities)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1781,19 +1781,19 @@ impl IWiaItem2 { (::windows::core::Interface::vtable(self).GetExtension)(::windows::core::Interface::as_raw(self), lflags, bstrname.into().abi(), ::core::mem::transmute(riidextensioninterface), ::core::mem::transmute(ppout)).ok() } pub unsafe fn GetParentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreviewComponent(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviewComponent)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumRegisterEventInfo(&self, lflags: i32, peventguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRegisterEventInfo)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(peventguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Diagnostic(&self, pbuffer: &[u8]) -> ::windows::core::Result<()> { @@ -1878,7 +1878,7 @@ impl IWiaItemExtras { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetExtendedErrorInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtendedErrorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Escape(&self, dwescapecode: u32, lpindata: &[u8], poutdata: *mut u8, dwoutdatasize: u32, pdwactualdatasize: *mut u32) -> ::windows::core::Result<()> { @@ -2101,33 +2101,33 @@ impl IWiaMiniDrv { (::windows::core::Interface::vtable(self).drvAcquireItemData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(__midl__iwiaminidrv0009), __midl__iwiaminidrv0010, ::core::mem::transmute(__midl__iwiaminidrv0011), ::core::mem::transmute(__midl__iwiaminidrv0012)).ok() } pub unsafe fn drvInitItemProperties(&self, __midl__iwiaminidrv0013: *const u8, __midl__iwiaminidrv0014: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).drvInitItemProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(__midl__iwiaminidrv0013), __midl__iwiaminidrv0014, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn drvValidateItemProperties(&self, __midl__iwiaminidrv0016: *const u8, __midl__iwiaminidrv0017: i32, __midl__iwiaminidrv0018: u32, __midl__iwiaminidrv0019: *const super::super::System::Com::StructuredStorage::PROPSPEC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).drvValidateItemProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(__midl__iwiaminidrv0016), __midl__iwiaminidrv0017, __midl__iwiaminidrv0018, ::core::mem::transmute(__midl__iwiaminidrv0019), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn drvWriteItemProperties(&self, __midl__iwiaminidrv0021: *const u8, __midl__iwiaminidrv0022: i32, __midl__iwiaminidrv0023: *const MINIDRV_TRANSFER_CONTEXT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).drvWriteItemProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(__midl__iwiaminidrv0021), __midl__iwiaminidrv0022, ::core::mem::transmute(__midl__iwiaminidrv0023), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn drvReadItemProperties(&self, __midl__iwiaminidrv0025: *const u8, __midl__iwiaminidrv0026: i32, __midl__iwiaminidrv0027: u32, __midl__iwiaminidrv0028: *const super::super::System::Com::StructuredStorage::PROPSPEC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).drvReadItemProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(__midl__iwiaminidrv0025), __midl__iwiaminidrv0026, __midl__iwiaminidrv0027, ::core::mem::transmute(__midl__iwiaminidrv0028), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn drvLockWiaDevice(&self, __midl__iwiaminidrv0030: *const u8, __midl__iwiaminidrv0031: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).drvLockWiaDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(__midl__iwiaminidrv0030), __midl__iwiaminidrv0031, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn drvUnLockWiaDevice(&self, __midl__iwiaminidrv0033: *const u8, __midl__iwiaminidrv0034: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).drvUnLockWiaDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(__midl__iwiaminidrv0033), __midl__iwiaminidrv0034, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn drvAnalyzeItem(&self, __midl__iwiaminidrv0036: *const u8, __midl__iwiaminidrv0037: i32, __midl__iwiaminidrv0038: *const i32) -> ::windows::core::Result<()> { @@ -2143,11 +2143,11 @@ impl IWiaMiniDrv { (::windows::core::Interface::vtable(self).drvGetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(__midl__iwiaminidrv0048), __midl__iwiaminidrv0049, ::core::mem::transmute(__midl__iwiaminidrv0050), ::core::mem::transmute(__midl__iwiaminidrv0051), ::core::mem::transmute(__midl__iwiaminidrv0052)).ok() } pub unsafe fn drvDeleteItem(&self, __midl__iwiaminidrv0053: *const u8, __midl__iwiaminidrv0054: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).drvDeleteItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(__midl__iwiaminidrv0053), __midl__iwiaminidrv0054, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn drvFreeDrvItemContext(&self, __midl__iwiaminidrv0056: i32, __midl__iwiaminidrv0057: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).drvFreeDrvItemContext)(::windows::core::Interface::as_raw(self), __midl__iwiaminidrv0056, ::core::mem::transmute(__midl__iwiaminidrv0057), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn drvGetWiaFormatInfo(&self, __midl__iwiaminidrv0059: *const u8, __midl__iwiaminidrv0060: i32, __midl__iwiaminidrv0061: *mut i32, __midl__iwiaminidrv0062: *mut *mut WIA_FORMAT_INFO, __midl__iwiaminidrv0063: *mut i32) -> ::windows::core::Result<()> { @@ -2305,7 +2305,7 @@ impl IWiaMiniDrvTransferCallback { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextStream)(::windows::core::Interface::as_raw(self), lflags, bstritemname.into().abi(), bstrfullitemname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendMessage(&self, lflags: i32, pwiatransferparams: *const WiaTransferParams) -> ::windows::core::Result<()> { @@ -2512,7 +2512,7 @@ impl IWiaPropertyStorage { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Enum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2526,7 +2526,7 @@ impl IWiaPropertyStorage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn Stat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Stat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2535,7 +2535,7 @@ impl IWiaPropertyStorage { (::windows::core::Interface::vtable(self).GetPropertyAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cpspec), ::core::mem::transmute(rgpspec), ::core::mem::transmute(rgflags), ::core::mem::transmute(rgpropvar)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2716,7 +2716,7 @@ impl IWiaTransfer { (::windows::core::Interface::vtable(self).Cancel)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumWIA_FORMAT_INFO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumWIA_FORMAT_INFO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2781,7 +2781,7 @@ impl IWiaTransferCallback { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextStream)(::windows::core::Interface::as_raw(self), lflags, bstritemname.into().abi(), bstrfullitemname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2981,7 +2981,7 @@ impl IWiaVideo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PreviewVisible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreviewVisible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2995,7 +2995,7 @@ impl IWiaVideo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ImagesDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImagesDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3050,7 +3050,7 @@ impl IWiaVideo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TakePicture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TakePicture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3062,7 +3062,7 @@ impl IWiaVideo { (::windows::core::Interface::vtable(self).ResizeVideo)(::windows::core::Interface::as_raw(self), bstretchtofitparent.into()).ok() } pub unsafe fn GetCurrentState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 74bec46bb4..28779d2ec0 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs @@ -85,7 +85,7 @@ where extern "system" { fn DMProcessConfigXMLFiltered(pszxmlin: ::windows::core::PCWSTR, rgszallowedcspnodes: *const ::windows::core::PWSTR, dwnumallowedcspnodes: u32, pbstrxmlout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DMProcessConfigXMLFiltered(pszxmlin.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(rgszallowedcspnodes)), rgszallowedcspnodes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] @@ -279,7 +279,7 @@ impl IEnumPortableDeviceConnectors { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -341,7 +341,7 @@ impl IEnumPortableDeviceObjectIDs { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -398,7 +398,7 @@ pub struct IEnumPortableDeviceObjectIDs_Vtbl { pub struct IMediaRadioManager(::windows::core::IUnknown); impl IMediaRadioManager { pub unsafe fn GetRadioInstances(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadioInstances)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnSystemRadioStateChange(&self, sysradiostate: SYSTEM_RADIO_STATE, utimeoutsec: u32) -> ::windows::core::Result<()> { @@ -542,15 +542,15 @@ impl IPortableDevice { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceValues>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendCommand)(::windows::core::Interface::as_raw(self), dwflags, pparameters.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Capabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Capabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -564,7 +564,7 @@ impl IPortableDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceEventCallback>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceValues>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), dwflags, pcallback.into().abi(), pparameters.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Unadvise<'a, P0>(&self, pszcookie: P0) -> ::windows::core::Result<()> @@ -574,7 +574,7 @@ impl IPortableDevice { (::windows::core::Interface::vtable(self).Unadvise)(::windows::core::Interface::as_raw(self), pszcookie.into()).ok() } pub unsafe fn GetPnPDeviceID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPnPDeviceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -632,50 +632,50 @@ pub struct IPortableDevice_Vtbl { pub struct IPortableDeviceCapabilities(::windows::core::IUnknown); impl IPortableDeviceCapabilities { pub unsafe fn GetSupportedCommands(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedCommands)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetCommandOptions(&self, command: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCommandOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(command), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionalCategories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionalCategories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionalObjects(&self, category: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionalObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(category), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedContentTypes(&self, category: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedContentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(category), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedFormats(&self, contenttype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(contenttype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedFormatProperties(&self, format: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedFormatProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(format), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetFixedPropertyAttributes(&self, format: *const ::windows::core::GUID, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFixedPropertyAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(format), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Cancel)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSupportedEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventOptions(&self, event: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(event), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -769,7 +769,7 @@ impl IPortableDeviceConnector { (::windows::core::Interface::vtable(self).SetProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppropertykey), propertytype, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdata)), pdata.len() as _).ok() } pub unsafe fn GetPnPID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPnPID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -834,15 +834,15 @@ impl IPortableDeviceContent { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceValues>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumObjects)(::windows::core::Interface::as_raw(self), dwflags, pszparentobjectid.into(), pfilter.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Transfer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Transfer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateObjectWithPropertiesOnly<'a, P0>(&self, pvalues: P0, ppszobjectid: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> @@ -869,7 +869,7 @@ impl IPortableDeviceContent { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPortableDevicePropVariantCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectIDsFromPersistentUniqueIDs)(::windows::core::Interface::as_raw(self), ppersistentuniqueids.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -952,15 +952,15 @@ impl IPortableDeviceContent2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceValues>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumObjects)(::windows::core::Interface::as_raw(self), dwflags, pszparentobjectid.into(), pfilter.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Transfer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Transfer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateObjectWithPropertiesOnly<'a, P0>(&self, pvalues: P0, ppszobjectid: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> @@ -987,7 +987,7 @@ impl IPortableDeviceContent2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPortableDevicePropVariantCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetObjectIDsFromPersistentUniqueIDs)(::windows::core::Interface::as_raw(self), ppersistentuniqueids.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -1095,7 +1095,7 @@ impl IPortableDeviceDataStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1139,11 +1139,11 @@ impl IPortableDeviceDataStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetObjectID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -1247,7 +1247,7 @@ impl IPortableDeviceDispatchFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceDispatch)(::windows::core::Interface::as_raw(self), pszpnpdeviceid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1526,7 +1526,7 @@ impl IPortableDevicePropVariantCollection { (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChangeType(&self, vt: u16) -> ::windows::core::Result<()> { @@ -1600,7 +1600,7 @@ impl IPortableDeviceProperties { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedProperties)(::windows::core::Interface::as_raw(self), pszobjectid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1609,7 +1609,7 @@ impl IPortableDeviceProperties { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyAttributes)(::windows::core::Interface::as_raw(self), pszobjectid.into(), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValues<'a, P0, P1>(&self, pszobjectid: P0, pkeys: P1) -> ::windows::core::Result @@ -1617,7 +1617,7 @@ impl IPortableDeviceProperties { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceKeyCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValues)(::windows::core::Interface::as_raw(self), pszobjectid.into(), pkeys.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetValues<'a, P0, P1>(&self, pszobjectid: P0, pvalues: P1) -> ::windows::core::Result @@ -1625,7 +1625,7 @@ impl IPortableDeviceProperties { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceValues>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetValues)(::windows::core::Interface::as_raw(self), pszobjectid.into(), pvalues.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete<'a, P0, P1>(&self, pszobjectid: P0, pkeys: P1) -> ::windows::core::Result<()> @@ -1698,7 +1698,7 @@ impl IPortableDevicePropertiesBulk { P1: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceKeyCollection>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IPortableDevicePropertiesBulkCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueGetValuesByObjectList)(::windows::core::Interface::as_raw(self), pobjectids.into().abi(), pkeys.into().abi(), pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn QueueGetValuesByObjectFormat<'a, P0, P1, P2>(&self, pguidobjectformat: *const ::windows::core::GUID, pszparentobjectid: P0, dwdepth: u32, pkeys: P1, pcallback: P2) -> ::windows::core::Result<::windows::core::GUID> @@ -1707,7 +1707,7 @@ impl IPortableDevicePropertiesBulk { P1: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceKeyCollection>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IPortableDevicePropertiesBulkCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueGetValuesByObjectFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidobjectformat), pszparentobjectid.into(), dwdepth, pkeys.into().abi(), pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn QueueSetValuesByObjectList<'a, P0, P1>(&self, pobjectvalues: P0, pcallback: P1) -> ::windows::core::Result<::windows::core::GUID> @@ -1715,7 +1715,7 @@ impl IPortableDevicePropertiesBulk { P0: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceValuesCollection>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPortableDevicePropertiesBulkCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueSetValuesByObjectList)(::windows::core::Interface::as_raw(self), pobjectvalues.into().abi(), pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Start(&self, pcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -1838,7 +1838,7 @@ impl IPortableDeviceResources { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedResources)(::windows::core::Interface::as_raw(self), pszobjectid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1847,7 +1847,7 @@ impl IPortableDeviceResources { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceAttributes)(::windows::core::Interface::as_raw(self), pszobjectid.into(), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1944,15 +1944,15 @@ impl IPortableDeviceService { (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self), pszpnpserviceid.into(), pclientinfo.into().abi()).ok() } pub unsafe fn Capabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Capabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Methods(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Methods)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -1962,11 +1962,11 @@ impl IPortableDeviceService { (::windows::core::Interface::vtable(self).Close)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetServiceObjectID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceObjectID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPnPServiceID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPnPServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Advise<'a, P0, P1>(&self, dwflags: u32, pcallback: P0, pparameters: P1) -> ::windows::core::Result<::windows::core::PWSTR> @@ -1974,7 +1974,7 @@ impl IPortableDeviceService { P0: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceEventCallback>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceValues>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), dwflags, pcallback.into().abi(), pparameters.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Unadvise<'a, P0>(&self, pszcookie: P0) -> ::windows::core::Result<()> @@ -1987,7 +1987,7 @@ impl IPortableDeviceService { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceValues>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendCommand)(::windows::core::Interface::as_raw(self), dwflags, pparameters.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2105,71 +2105,71 @@ pub struct IPortableDeviceServiceActivation_Vtbl { pub struct IPortableDeviceServiceCapabilities(::windows::core::IUnknown); impl IPortableDeviceServiceCapabilities { pub unsafe fn GetSupportedMethods(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedMethods)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedMethodsByFormat(&self, format: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedMethodsByFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(format), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMethodAttributes(&self, method: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMethodAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(method), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetMethodParameterAttributes(&self, method: *const ::windows::core::GUID, parameter: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMethodParameterAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(method), ::core::mem::transmute(parameter), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormatAttributes(&self, format: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormatAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(format), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedFormatProperties(&self, format: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedFormatProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(format), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetFormatPropertyAttributes(&self, format: *const ::windows::core::GUID, property: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormatPropertyAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(format), ::core::mem::transmute(property), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventAttributes(&self, event: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(event), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetEventParameterAttributes(&self, event: *const ::windows::core::GUID, parameter: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventParameterAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(event), ::core::mem::transmute(parameter), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInheritedServices(&self, dwinheritancetype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInheritedServices)(::windows::core::Interface::as_raw(self), dwinheritancetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormatRenderingProfiles(&self, format: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormatRenderingProfiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(format), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedCommands(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedCommands)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetCommandOptions(&self, command: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCommandOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(command), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -2258,7 +2258,7 @@ impl IPortableDeviceServiceManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceForService)(::windows::core::Interface::as_raw(self), pszpnpserviceid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -2477,7 +2477,7 @@ pub struct IPortableDeviceServiceOpenCallback_Vtbl { pub struct IPortableDeviceUnitsStream(::windows::core::IUnknown); impl IPortableDeviceUnitsStream { pub unsafe fn SeekInUnits(&self, dlibmove: i64, units: WPD_STREAM_UNITS, dworigin: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SeekInUnits)(::windows::core::Interface::as_raw(self), dlibmove, units, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -2546,7 +2546,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2560,7 +2560,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetStringValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2571,7 +2571,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetUnsignedIntegerValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnsignedIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2582,7 +2582,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetSignedIntegerValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignedIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2593,7 +2593,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetUnsignedLargeIntegerValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnsignedLargeIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2604,7 +2604,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetSignedLargeIntegerValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignedLargeIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2615,7 +2615,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetFloatValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFloatValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2626,7 +2626,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetErrorValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2637,7 +2637,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetKeyValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2651,7 +2651,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetBoolValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoolValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2665,7 +2665,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetIUnknownValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIUnknownValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2676,7 +2676,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetGuidValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuidValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2700,7 +2700,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetIPortableDeviceValuesValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIPortableDeviceValuesValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2714,7 +2714,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetIPortableDevicePropVariantCollectionValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIPortableDevicePropVariantCollectionValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2728,7 +2728,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetIPortableDeviceKeyCollectionValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIPortableDeviceKeyCollectionValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2742,7 +2742,7 @@ impl IPortableDeviceValues { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetIPortableDeviceValuesCollectionValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIPortableDeviceValuesCollectionValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -2972,7 +2972,7 @@ impl IPortableDeviceValuesCollection { (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcelems)).ok() } pub unsafe fn GetAt(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Add<'a, P0>(&self, pvalues: P0) -> ::windows::core::Result<()> @@ -3045,7 +3045,7 @@ impl IPortableDeviceWebControl { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceFromId)(::windows::core::Interface::as_raw(self), deviceid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3139,23 +3139,23 @@ pub struct IPortableDeviceWebControl_Vtbl { pub struct IRadioInstance(::windows::core::IUnknown); impl IRadioInstance { pub unsafe fn GetRadioManagerSignature(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadioManagerSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInstanceSignature(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstanceSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFriendlyName(&self, lcid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFriendlyName)(::windows::core::Interface::as_raw(self), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRadioState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadioState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRadioState(&self, radiostate: DEVICE_RADIO_STATE, utimeoutsec: u32) -> ::windows::core::Result<()> { @@ -3236,11 +3236,11 @@ pub struct IRadioInstance_Vtbl { pub struct IRadioInstanceCollection(::windows::core::IUnknown); impl IRadioInstanceCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3291,7 +3291,7 @@ pub struct IRadioInstanceCollection_Vtbl { pub struct IWpdSerializer(::windows::core::IUnknown); impl IWpdSerializer { pub unsafe fn GetIPortableDeviceValuesFromBuffer(&self, pbuffer: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIPortableDeviceValuesFromBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pbuffer)), pbuffer.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteIPortableDeviceValuesToBuffer<'a, P0>(&self, presults: P0, pbuffer: &mut [u8], pdwbyteswritten: *mut u32) -> ::windows::core::Result<()> @@ -3310,7 +3310,7 @@ impl IWpdSerializer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPortableDeviceValues>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSerializedSize)(::windows::core::Interface::as_raw(self), psource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 0d8c00da9e..0129b1e571 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs @@ -359,7 +359,7 @@ impl ILocationPermissions { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGlobalLocationPermission(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlobalLocationPermission)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckLocationCapability(&self, dwclientthreadid: u32) -> ::windows::core::Result<()> { @@ -416,27 +416,27 @@ pub struct ILocationPermissions_Vtbl { pub struct ISensor(::windows::core::IUnknown); impl ISensor { pub unsafe fn GetID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetCategory(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] @@ -445,13 +445,13 @@ impl ISensor { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::PortableDevices::IPortableDeviceKeyCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), pkeys.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[cfg(feature = "Win32_Devices_PortableDevices")] pub unsafe fn GetSupportedDataFields(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedDataFields)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] @@ -460,25 +460,25 @@ impl ISensor { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::PortableDevices::IPortableDeviceValues>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetProperties)(::windows::core::Interface::as_raw(self), pproperties.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn SupportsDataField(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportsDataField)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportsEvent(&self, eventguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportsEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(eventguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventInterest(&self, ppvalues: *mut *mut ::windows::core::GUID, pcount: *mut u32) -> ::windows::core::Result<()> { @@ -572,11 +572,11 @@ pub struct ISensor_Vtbl { pub struct ISensorCollection(::windows::core::IUnknown); impl ISensorCollection { pub unsafe fn GetAt(&self, ulindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Add<'a, P0>(&self, psensor: P0) -> ::windows::core::Result<()> @@ -651,13 +651,13 @@ impl ISensorDataReport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetSensorValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] @@ -666,7 +666,7 @@ impl ISensorDataReport { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::PortableDevices::IPortableDeviceKeyCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorValues)(::windows::core::Interface::as_raw(self), pkeys.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -804,15 +804,15 @@ pub struct ISensorEvents_Vtbl { pub struct ISensorManager(::windows::core::IUnknown); impl ISensorManager { pub unsafe fn GetSensorsByCategory(&self, sensorcategory: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorsByCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(sensorcategory), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSensorsByType(&self, sensortype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorsByType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(sensortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSensorByID(&self, sensorid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorByID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(sensorid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventSink<'a, P0>(&self, pevents: P0) -> ::windows::core::Result<()> @@ -940,7 +940,7 @@ pub unsafe fn InitPropVariantFromCLSIDArray(members: &[::windows::core::GUID]) - extern "system" { fn InitPropVariantFromCLSIDArray(members: *const ::windows::core::GUID, size: u32, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromCLSIDArray(::core::mem::transmute(::windows::core::as_ptr_or_null(members)), members.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -951,7 +951,7 @@ pub unsafe fn InitPropVariantFromFloat(fltval: f32) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromFloat(fltval, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] 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 ba0703d264..b1b48ccf33 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs @@ -1475,7 +1475,7 @@ impl IEnumACDGroup { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1542,7 +1542,7 @@ impl IEnumAddress { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1609,7 +1609,7 @@ impl IEnumAgent { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1676,7 +1676,7 @@ impl IEnumAgentHandler { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1743,7 +1743,7 @@ impl IEnumAgentSession { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1810,7 +1810,7 @@ impl IEnumBstr { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1877,7 +1877,7 @@ impl IEnumCall { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1944,7 +1944,7 @@ impl IEnumCallHub { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2011,7 +2011,7 @@ impl IEnumCallingCard { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2078,7 +2078,7 @@ impl IEnumDialableAddrs { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2145,7 +2145,7 @@ impl IEnumDirectory { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2212,7 +2212,7 @@ impl IEnumDirectoryObject { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2279,7 +2279,7 @@ impl IEnumLocation { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2346,7 +2346,7 @@ impl IEnumMcastScope { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2413,7 +2413,7 @@ impl IEnumPhone { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2480,7 +2480,7 @@ impl IEnumPluggableSuperclassInfo { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2547,7 +2547,7 @@ impl IEnumPluggableTerminalClassInfo { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2614,7 +2614,7 @@ impl IEnumQueue { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2681,7 +2681,7 @@ impl IEnumStream { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2748,7 +2748,7 @@ impl IEnumSubStream { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2815,7 +2815,7 @@ impl IEnumTerminal { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2880,7 +2880,7 @@ impl IEnumTerminalClass { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2937,11 +2937,11 @@ impl IMcastAddressAllocation { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Scopes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scopes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateScopes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateScopes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2950,7 +2950,7 @@ impl IMcastAddressAllocation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMcastScope>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestAddress)(::windows::core::Interface::as_raw(self), pscope.into().abi(), leasestarttime, leasestoptime, numaddresses, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2959,7 +2959,7 @@ impl IMcastAddressAllocation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMcastLeaseInfo>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RenewAddress)(::windows::core::Interface::as_raw(self), lreserved, prenewrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2977,7 +2977,7 @@ impl IMcastAddressAllocation { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLeaseInfo)(::windows::core::Interface::as_raw(self), leasestarttime, leasestoptime, dwnumaddresses, ::core::mem::transmute(ppaddresses), prequestid.into(), pserveraddress.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2988,7 +2988,7 @@ impl IMcastAddressAllocation { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLeaseInfoFromVariant)(::windows::core::Interface::as_raw(self), leasestarttime, leasestoptime, vaddresses.into().abi(), prequestid.into().abi(), pserveraddress.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3093,45 +3093,45 @@ impl IMcastLeaseInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LeaseStartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LeaseStartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLeaseStartTime(&self, time: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLeaseStartTime)(::windows::core::Interface::as_raw(self), time).ok() } pub unsafe fn LeaseStopTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LeaseStopTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLeaseStopTime(&self, time: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLeaseStopTime)(::windows::core::Interface::as_raw(self), time).ok() } pub unsafe fn AddressCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddressCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServerAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TTL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TTL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Addresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Addresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3228,25 +3228,25 @@ pub struct IMcastScope(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMcastScope { pub unsafe fn ScopeID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScopeID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ServerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InterfaceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InterfaceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ScopeDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScopeDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TTL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TTL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3338,17 +3338,17 @@ impl ITACDGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateQueues(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateQueues)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Queues(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Queues)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3437,11 +3437,11 @@ impl ITACDGroupEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Group(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Group)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3524,7 +3524,7 @@ impl ITAMMediaFormat { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn MediaFormat(&self) -> ::windows::core::Result<*mut super::super::Media::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::Media::MediaFoundation::AM_MEDIA_TYPE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::Media::MediaFoundation::AM_MEDIA_TYPE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -3590,17 +3590,17 @@ impl ITASRTerminalEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Terminal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Error(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } } @@ -3687,25 +3687,25 @@ pub struct ITAddress(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddress { pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AddressName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddressName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TAPIObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TAPIObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3714,29 +3714,29 @@ impl ITAddress { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCall)(::windows::core::Interface::as_raw(self), pdestaddress.into().abi(), laddresstype, lmediatypes, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Calls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Calls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DialableAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DialableAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateForwardInfoObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateForwardInfoObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3751,21 +3751,21 @@ impl ITAddress { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentForwardInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentForwardInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMessageWaiting(&self, fmessagewaiting: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMessageWaiting)(::windows::core::Interface::as_raw(self), fmessagewaiting).ok() } pub unsafe fn MessageWaiting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MessageWaiting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDoNotDisturb(&self, fdonotdisturb: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDoNotDisturb)(::windows::core::Interface::as_raw(self), fdonotdisturb).ok() } pub unsafe fn DoNotDisturb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoNotDisturb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3885,25 +3885,25 @@ pub struct ITAddress2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddress2 { pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AddressName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddressName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TAPIObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TAPIObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3912,29 +3912,29 @@ impl ITAddress2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCall)(::windows::core::Interface::as_raw(self), pdestaddress.into().abi(), laddresstype, lmediatypes, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Calls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Calls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DialableAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DialableAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateForwardInfoObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateForwardInfoObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3949,31 +3949,31 @@ impl ITAddress2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentForwardInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentForwardInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMessageWaiting(&self, fmessagewaiting: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMessageWaiting)(::windows::core::Interface::as_raw(self), fmessagewaiting).ok() } pub unsafe fn MessageWaiting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MessageWaiting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDoNotDisturb(&self, fdonotdisturb: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDoNotDisturb)(::windows::core::Interface::as_raw(self), fdonotdisturb).ok() } pub unsafe fn DoNotDisturb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoNotDisturb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Phones(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Phones)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumeratePhones(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumeratePhones)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3982,21 +3982,21 @@ impl ITAddress2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITTerminal>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPhoneFromTerminal)(::windows::core::Interface::as_raw(self), pterminal.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PreferredPhones(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredPhones)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumeratePreferredPhones(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumeratePreferredPhones)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_EventFilter(&self, tapievent: TAPI_EVENT, lsubevent: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EventFilter)(::windows::core::Interface::as_raw(self), tapievent, lsubevent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_EventFilter(&self, tapievent: TAPI_EVENT, lsubevent: i32, benable: i16) -> ::windows::core::Result<()> { @@ -4020,7 +4020,7 @@ impl ITAddress2 { (::windows::core::Interface::vtable(self).DeviceSpecificVariant)(::windows::core::Interface::as_raw(self), pcall.into().abi(), vardevspecificbytearray.into().abi()).ok() } pub unsafe fn NegotiateExtVersion(&self, llowversion: i32, lhighversion: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NegotiateExtVersion)(::windows::core::Interface::as_raw(self), llowversion, lhighversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4141,43 +4141,43 @@ pub struct ITAddressCapabilities(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddressCapabilities { pub unsafe fn get_AddressCapability(&self, addresscap: ADDRESS_CAPABILITY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AddressCapability)(::windows::core::Interface::as_raw(self), addresscap, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_AddressCapabilityString(&self, addresscapstring: ADDRESS_CAPABILITY_STRING) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AddressCapabilityString)(::windows::core::Interface::as_raw(self), addresscapstring, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CallTreatments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallTreatments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateCallTreatments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateCallTreatments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CompletionMessages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompletionMessages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateCompletionMessages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateCompletionMessages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DeviceClasses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceClasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateDeviceClasses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateDeviceClasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4277,25 +4277,25 @@ impl ITAddressDeviceSpecificEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn lParam1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lParam1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn lParam2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lParam2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn lParam3(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lParam3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4386,17 +4386,17 @@ impl ITAddressEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Terminal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4488,7 +4488,7 @@ impl ITAddressTranslation { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TranslateAddress)(::windows::core::Interface::as_raw(self), paddresstotranslate.into().abi(), lcard, ltranslateoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4500,23 +4500,23 @@ impl ITAddressTranslation { (::windows::core::Interface::vtable(self).TranslateDialog)(::windows::core::Interface::as_raw(self), hwndowner, paddressin.into().abi()).ok() } pub unsafe fn EnumerateLocations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateLocations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Locations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Locations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateCallingCards(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateCallingCards)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CallingCards(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallingCards)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4614,25 +4614,25 @@ impl ITAddressTranslationInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DialableString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DialableString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayableString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayableString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationCountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationCountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TranslationResults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TranslationResults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4721,7 +4721,7 @@ pub struct ITAgent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAgent { pub unsafe fn EnumerateAgentSessions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateAgentSessions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4731,7 +4731,7 @@ impl ITAgent { P0: ::std::convert::Into<::windows::core::InParam<'a, ITACDGroup>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITAddress>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSession)(::windows::core::Interface::as_raw(self), pacdgroup.into().abi(), paddress.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4742,69 +4742,69 @@ impl ITAgent { P1: ::std::convert::Into<::windows::core::InParam<'a, ITAddress>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSessionWithPIN)(::windows::core::Interface::as_raw(self), pacdgroup.into().abi(), paddress.into().abi(), ppin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn User(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).User)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, agentstate: AGENT_STATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetState)(::windows::core::Interface::as_raw(self), agentstate).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMeasurementPeriod(&self, lperiod: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMeasurementPeriod)(::windows::core::Interface::as_raw(self), lperiod).ok() } pub unsafe fn MeasurementPeriod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MeasurementPeriod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OverallCallRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OverallCallRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfACDCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfACDCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfIncomingCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfIncomingCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfOutgoingCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfOutgoingCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalACDTalkTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalACDTalkTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalACDCallTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalACDCallTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalWrapUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalWrapUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AgentSessions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AgentSessions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4919,11 +4919,11 @@ impl ITAgentEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Agent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Agent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5008,13 +5008,13 @@ impl ITAgentHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAgent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAgent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5024,27 +5024,27 @@ impl ITAgentHandler { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAgentWithID)(::windows::core::Interface::as_raw(self), pid.into().abi(), ppin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateACDGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateACDGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateUsableAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateUsableAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ACDGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ACDGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn UsableAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UsableAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5146,11 +5146,11 @@ impl ITAgentHandlerEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AgentHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AgentHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5235,76 +5235,76 @@ impl ITAgentSession { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Agent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Agent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ACDGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ACDGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, sessionstate: AGENT_SESSION_STATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetState)(::windows::core::Interface::as_raw(self), sessionstate).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionStartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionStartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalTalkTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalTalkTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AverageTalkTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AverageTalkTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalCallTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalCallTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AverageCallTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AverageCallTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalWrapUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalWrapUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AverageWrapUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AverageWrapUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ACDCallRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ACDCallRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LongestTimeToAnswer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LongestTimeToAnswer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AverageTimeToAnswer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AverageTimeToAnswer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5413,11 +5413,11 @@ impl ITAgentSessionEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5505,7 +5505,7 @@ impl ITAllocatorProperties { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[cfg(feature = "Win32_Media_DirectShow")] pub unsafe fn GetAllocatorProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocatorProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5519,14 +5519,14 @@ impl ITAllocatorProperties { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateBuffers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocateBuffers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferSize(&self, buffersize: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBufferSize)(::windows::core::Interface::as_raw(self), buffersize).ok() } pub unsafe fn GetBufferSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBufferSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5601,7 +5601,7 @@ impl ITAutomatedPhoneControl { (::windows::core::Interface::vtable(self).StopTone)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Tone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartRinger(&self, lringmode: i32, lduration: i32) -> ::windows::core::Result<()> { @@ -5611,84 +5611,84 @@ impl ITAutomatedPhoneControl { (::windows::core::Interface::vtable(self).StopRinger)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Ringer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ringer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPhoneHandlingEnabled(&self, fenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPhoneHandlingEnabled)(::windows::core::Interface::as_raw(self), fenabled).ok() } pub unsafe fn PhoneHandlingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhoneHandlingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoEndOfNumberTimeout(&self, ltimeout: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoEndOfNumberTimeout)(::windows::core::Interface::as_raw(self), ltimeout).ok() } pub unsafe fn AutoEndOfNumberTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoEndOfNumberTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoDialtone(&self, fenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoDialtone)(::windows::core::Interface::as_raw(self), fenabled).ok() } pub unsafe fn AutoDialtone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoDialtone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoStopTonesOnOnHook(&self, fenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoStopTonesOnOnHook)(::windows::core::Interface::as_raw(self), fenabled).ok() } pub unsafe fn AutoStopTonesOnOnHook(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoStopTonesOnOnHook)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoStopRingOnOffHook(&self, fenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoStopRingOnOffHook)(::windows::core::Interface::as_raw(self), fenabled).ok() } pub unsafe fn AutoStopRingOnOffHook(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoStopRingOnOffHook)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoKeypadTones(&self, fenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoKeypadTones)(::windows::core::Interface::as_raw(self), fenabled).ok() } pub unsafe fn AutoKeypadTones(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoKeypadTones)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoKeypadTonesMinimumDuration(&self, lduration: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoKeypadTonesMinimumDuration)(::windows::core::Interface::as_raw(self), lduration).ok() } pub unsafe fn AutoKeypadTonesMinimumDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoKeypadTonesMinimumDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoVolumeControl(&self, fenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoVolumeControl)(::windows::core::Interface::as_raw(self), fenabled).ok() } pub unsafe fn AutoVolumeControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoVolumeControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoVolumeControlStep(&self, lstepsize: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoVolumeControlStep)(::windows::core::Interface::as_raw(self), lstepsize).ok() } pub unsafe fn AutoVolumeControlStep(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoVolumeControlStep)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoVolumeControlRepeatDelay(&self, ldelay: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoVolumeControlRepeatDelay)(::windows::core::Interface::as_raw(self), ldelay).ok() } pub unsafe fn AutoVolumeControlRepeatDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoVolumeControlRepeatDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoVolumeControlRepeatPeriod(&self, lperiod: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoVolumeControlRepeatPeriod)(::windows::core::Interface::as_raw(self), lperiod).ok() } pub unsafe fn AutoVolumeControlRepeatPeriod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoVolumeControlRepeatPeriod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5708,13 +5708,13 @@ impl ITAutomatedPhoneControl { (::windows::core::Interface::vtable(self).UnselectCall)(::windows::core::Interface::as_raw(self), pcall.into().abi()).ok() } pub unsafe fn EnumerateSelectedCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateSelectedCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelectedCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectedCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5836,14 +5836,14 @@ impl ITBasicAudioTerminal { (::windows::core::Interface::vtable(self).SetVolume)(::windows::core::Interface::as_raw(self), lvolume).ok() } pub unsafe fn Volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBalance(&self, lbalance: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBalance)(::windows::core::Interface::as_raw(self), lbalance).ok() } pub unsafe fn Balance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Balance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5990,7 +5990,7 @@ impl ITBasicCallControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ParkIndirect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParkIndirect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unpark(&self) -> ::windows::core::Result<()> { @@ -6206,7 +6206,7 @@ impl ITBasicCallControl2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ParkIndirect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParkIndirect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unpark(&self) -> ::windows::core::Result<()> { @@ -6243,7 +6243,7 @@ impl ITBasicCallControl2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestTerminal)(::windows::core::Interface::as_raw(self), bstrterminalclassguid.into().abi(), lmediatype, direction, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6370,21 +6370,21 @@ impl ITCallHub { (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumerateCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Calls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Calls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumCalls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumCalls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6470,19 +6470,19 @@ pub struct ITCallHubEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallHubEvent { pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CallHub(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallHub)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6571,25 +6571,25 @@ impl ITCallInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Privilege(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Privilege)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CallHub(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallHub)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_CallInfoLong(&self, callinfolong: CALLINFO_LONG) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_CallInfoLong)(::windows::core::Interface::as_raw(self), callinfolong, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_CallInfoLong(&self, callinfolong: CALLINFO_LONG, lcallinfolongval: i32) -> ::windows::core::Result<()> { @@ -6598,7 +6598,7 @@ impl ITCallInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_CallInfoString(&self, callinfostring: CALLINFO_STRING) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_CallInfoString)(::windows::core::Interface::as_raw(self), callinfostring, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6612,7 +6612,7 @@ impl ITCallInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_CallInfoBuffer(&self, callinfobuffer: CALLINFO_BUFFER) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_CallInfoBuffer)(::windows::core::Interface::as_raw(self), callinfobuffer, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6740,25 +6740,25 @@ impl ITCallInfo2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CallState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Privilege(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Privilege)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CallHub(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CallHub)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_CallInfoLong(&self, callinfolong: CALLINFO_LONG) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_CallInfoLong)(::windows::core::Interface::as_raw(self), callinfolong, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_CallInfoLong(&self, callinfolong: CALLINFO_LONG, lcallinfolongval: i32) -> ::windows::core::Result<()> { @@ -6767,7 +6767,7 @@ impl ITCallInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_CallInfoString(&self, callinfostring: CALLINFO_STRING) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_CallInfoString)(::windows::core::Interface::as_raw(self), callinfostring, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6781,7 +6781,7 @@ impl ITCallInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_CallInfoBuffer(&self, callinfobuffer: CALLINFO_BUFFER) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_CallInfoBuffer)(::windows::core::Interface::as_raw(self), callinfobuffer, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6802,7 +6802,7 @@ impl ITCallInfo2 { (::windows::core::Interface::vtable(self).base__.ReleaseUserUserInfo)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_EventFilter(&self, tapievent: TAPI_EVENT, lsubevent: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EventFilter)(::windows::core::Interface::as_raw(self), tapievent, lsubevent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_EventFilter(&self, tapievent: TAPI_EVENT, lsubevent: i32, benable: i16) -> ::windows::core::Result<()> { @@ -6905,15 +6905,15 @@ impl ITCallInfoChangeEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallbackInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallbackInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6999,31 +6999,31 @@ impl ITCallMediaEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Error(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Terminal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Stream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Stream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7118,15 +7118,15 @@ impl ITCallNotificationEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallbackInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallbackInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7212,19 +7212,19 @@ impl ITCallStateEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallbackInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallbackInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7309,39 +7309,39 @@ pub struct ITCallingCard(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallingCard { pub unsafe fn PermanentCardID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermanentCardID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfDigits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfDigits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Options(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Options)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CardName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CardName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SameAreaDialingRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SameAreaDialingRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LongDistanceDialingRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LongDistanceDialingRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InternationalDialingRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InternationalDialingRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7438,17 +7438,17 @@ pub struct ITCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -7532,17 +7532,17 @@ pub struct ITCollection2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCollection2 { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7651,28 +7651,28 @@ pub struct ITCustomTone(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCustomTone { pub unsafe fn Frequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Frequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFrequency(&self, lfrequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFrequency)(::windows::core::Interface::as_raw(self), lfrequency).ok() } pub unsafe fn CadenceOn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CadenceOn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCadenceOn(&self, cadenceon: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCadenceOn)(::windows::core::Interface::as_raw(self), cadenceon).ok() } pub unsafe fn CadenceOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CadenceOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCadenceOff(&self, lcadenceoff: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCadenceOff)(::windows::core::Interface::as_raw(self), lcadenceoff).ok() } pub unsafe fn Volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVolume(&self, lvolume: i32) -> ::windows::core::Result<()> { @@ -7761,21 +7761,21 @@ pub struct ITDetectTone(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDetectTone { pub unsafe fn AppSpecific(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppSpecific)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppSpecific(&self, lappspecific: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAppSpecific)(::windows::core::Interface::as_raw(self), lappspecific).ok() } pub unsafe fn Duration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Duration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDuration(&self, lduration: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDuration)(::windows::core::Interface::as_raw(self), lduration).ok() } pub unsafe fn get_Frequency(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Frequency)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_Frequency(&self, index: i32, lfrequency: i32) -> ::windows::core::Result<()> { @@ -7864,23 +7864,23 @@ impl ITDigitDetectionEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Digit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Digit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DigitMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DigitMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TickCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TickCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallbackInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallbackInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7968,19 +7968,19 @@ impl ITDigitGenerationEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GenerationTermination(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerationTermination)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TickCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TickCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallbackInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallbackInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8067,25 +8067,25 @@ impl ITDigitsGatheredEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Digits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Digits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GatherTermination(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GatherTermination)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TickCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TickCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallbackInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallbackInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8174,21 +8174,21 @@ pub struct ITDirectory(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDirectory { pub unsafe fn DirectoryType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DirectoryType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDynamic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDynamic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultObjectTTL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultObjectTTL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultObjectTTL(&self, ttl: i32) -> ::windows::core::Result<()> { @@ -8248,7 +8248,7 @@ impl ITDirectory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_DirectoryObjects)(::windows::core::Interface::as_raw(self), directoryobjecttype, pname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8257,7 +8257,7 @@ impl ITDirectory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateDirectoryObjects)(::windows::core::Interface::as_raw(self), directoryobjecttype, pname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8373,13 +8373,13 @@ pub struct ITDirectoryObject(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDirectoryObject { pub unsafe fn ObjectType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8393,17 +8393,17 @@ impl ITDirectoryObject { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_DialableAddrs(&self, dwaddresstype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_DialableAddrs)(::windows::core::Interface::as_raw(self), dwaddresstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateDialableAddrs(&self, dwaddresstype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateDialableAddrs)(::windows::core::Interface::as_raw(self), dwaddresstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SecurityDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8513,13 +8513,13 @@ impl ITDirectoryObjectConference { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Originator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Originator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8531,7 +8531,7 @@ impl ITDirectoryObjectConference { (::windows::core::Interface::vtable(self).SetOriginator)(::windows::core::Interface::as_raw(self), poriginator.into().abi()).ok() } pub unsafe fn AdvertisingScope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdvertisingScope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAdvertisingScope(&self, advertisingscope: RND_ADVERTISING_SCOPE) -> ::windows::core::Result<()> { @@ -8540,7 +8540,7 @@ impl ITDirectoryObjectConference { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8554,7 +8554,7 @@ impl ITDirectoryObjectConference { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8566,21 +8566,21 @@ impl ITDirectoryObjectConference { (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), pdescription.into().abi()).ok() } pub unsafe fn IsEncrypted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEncrypted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsEncrypted(&self, fencrypted: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIsEncrypted)(::windows::core::Interface::as_raw(self), fencrypted).ok() } pub unsafe fn StartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartTime(&self, date: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartTime)(::windows::core::Interface::as_raw(self), date).ok() } pub unsafe fn StopTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StopTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStopTime(&self, date: f64) -> ::windows::core::Result<()> { @@ -8699,7 +8699,7 @@ impl ITDirectoryObjectUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IPPhonePrimary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IPPhonePrimary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8799,7 +8799,7 @@ impl ITDispatchMapper { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDispatchInterface)(::windows::core::Interface::as_raw(self), piid.into().abi(), pinterfacetomap.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8883,31 +8883,31 @@ impl ITFileTerminalEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Terminal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Track(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Track)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Error(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } } @@ -9002,7 +9002,7 @@ impl ITFileTrack { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn Format(&self) -> ::windows::core::Result<*mut super::super::Media::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::Media::MediaFoundation::AM_MEDIA_TYPE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Format)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::Media::MediaFoundation::AM_MEDIA_TYPE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -9013,13 +9013,13 @@ impl ITFileTrack { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ControllingTerminal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ControllingTerminal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioFormatForScripting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioFormatForScripting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9033,7 +9033,7 @@ impl ITFileTrack { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EmptyAudioFormatForScripting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EmptyAudioFormatForScripting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9138,7 +9138,7 @@ impl ITForwardInformation { (::windows::core::Interface::vtable(self).SetNumRingsNoAnswer)(::windows::core::Interface::as_raw(self), lnumrings).ok() } pub unsafe fn NumRingsNoAnswer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumRingsNoAnswer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9153,13 +9153,13 @@ impl ITForwardInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_ForwardTypeDestination(&self, forwardtype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ForwardTypeDestination)(::windows::core::Interface::as_raw(self), forwardtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_ForwardTypeCaller(&self, forwardtype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ForwardTypeCaller)(::windows::core::Interface::as_raw(self), forwardtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9267,7 +9267,7 @@ impl ITForwardInformation2 { (::windows::core::Interface::vtable(self).base__.SetNumRingsNoAnswer)(::windows::core::Interface::as_raw(self), lnumrings).ok() } pub unsafe fn NumRingsNoAnswer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NumRingsNoAnswer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9282,13 +9282,13 @@ impl ITForwardInformation2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_ForwardTypeDestination(&self, forwardtype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_ForwardTypeDestination)(::windows::core::Interface::as_raw(self), forwardtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_ForwardTypeCaller(&self, forwardtype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_ForwardTypeCaller)(::windows::core::Interface::as_raw(self), forwardtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9314,11 +9314,11 @@ impl ITForwardInformation2 { (::windows::core::Interface::vtable(self).GetForwardType2)(::windows::core::Interface::as_raw(self), forwardtype, ::core::mem::transmute(ppdestinationaddress), ::core::mem::transmute(pdestaddresstype), ::core::mem::transmute(ppcalleraddress), ::core::mem::transmute(pcalleraddresstype)).ok() } pub unsafe fn get_ForwardTypeDestinationAddressType(&self, forwardtype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ForwardTypeDestinationAddressType)(::windows::core::Interface::as_raw(self), forwardtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_ForwardTypeCallerAddressType(&self, forwardtype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ForwardTypeCallerAddressType)(::windows::core::Interface::as_raw(self), forwardtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9424,7 +9424,7 @@ pub struct ITILSConfig(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITILSConfig { pub unsafe fn Port(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Port)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPort(&self, port: i32) -> ::windows::core::Result<()> { @@ -9876,13 +9876,13 @@ impl ITLegacyCallMediaControl2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateDetectToneObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDetectToneObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateCustomToneObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCustomToneObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9891,7 +9891,7 @@ impl ITLegacyCallMediaControl2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIDAsVariant)(::windows::core::Interface::as_raw(self), bstrdeviceclass.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10018,7 +10018,7 @@ pub struct ITLegacyWaveSupport(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITLegacyWaveSupport { pub unsafe fn IsFullDuplex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFullDuplex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10097,59 +10097,59 @@ pub struct ITLocationInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITLocationInfo { pub unsafe fn PermanentLocationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermanentLocationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CountryID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Options(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Options)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PreferredCardID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredCardID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CityCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CityCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalAccessCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalAccessCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LongDistanceAccessCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LongDistanceAccessCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TollPrefixList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TollPrefixList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CancelCallWaitingCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CancelCallWaitingCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10263,7 +10263,7 @@ impl ITMSPAddress { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMSPCall)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(hcall), dwreserved, dwmediatype, pouterunknown.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ShutdownMSPCall<'a, P0>(&self, pstreamcontrol: P0) -> ::windows::core::Result<()> @@ -10344,7 +10344,7 @@ impl ITMediaControl { (::windows::core::Interface::vtable(self).Pause)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn MediaState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10436,7 +10436,7 @@ impl ITMediaPlayback { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PlayList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10532,7 +10532,7 @@ impl ITMediaRecord { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10618,11 +10618,11 @@ pub struct ITMediaSupport(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITMediaSupport { pub unsafe fn MediaTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryMediaType(&self, lmediatype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryMediaType)(::windows::core::Interface::as_raw(self), lmediatype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10704,25 +10704,25 @@ impl ITMultiTrackTerminal { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn TrackTerminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrackTerminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateTrackTerminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateTrackTerminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTrackTerminal(&self, mediatype: i32, terminaldirection: TERMINAL_DIRECTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTrackTerminal)(::windows::core::Interface::as_raw(self), mediatype, terminaldirection, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaTypesInUse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaTypesInUse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DirectionsInUse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DirectionsInUse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10831,21 +10831,21 @@ impl ITPhone { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Addresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Addresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_PhoneCapsLong(&self, pclcap: PHONECAPS_LONG) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PhoneCapsLong)(::windows::core::Interface::as_raw(self), pclcap, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_PhoneCapsString(&self, pcscap: PHONECAPS_STRING) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PhoneCapsString)(::windows::core::Interface::as_raw(self), pcscap, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10854,7 +10854,7 @@ impl ITPhone { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITAddress>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Terminals)(::windows::core::Interface::as_raw(self), paddress.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10863,18 +10863,18 @@ impl ITPhone { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITAddress>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateTerminals)(::windows::core::Interface::as_raw(self), paddress.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_ButtonMode(&self, lbuttonid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ButtonMode)(::windows::core::Interface::as_raw(self), lbuttonid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_ButtonMode(&self, lbuttonid: i32, buttonmode: PHONE_BUTTON_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_ButtonMode)(::windows::core::Interface::as_raw(self), lbuttonid, buttonmode).ok() } pub unsafe fn get_ButtonFunction(&self, lbuttonid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ButtonFunction)(::windows::core::Interface::as_raw(self), lbuttonid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_ButtonFunction(&self, lbuttonid: i32, buttonfunction: PHONE_BUTTON_FUNCTION) -> ::windows::core::Result<()> { @@ -10883,7 +10883,7 @@ impl ITPhone { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_ButtonText(&self, lbuttonid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ButtonText)(::windows::core::Interface::as_raw(self), lbuttonid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10895,11 +10895,11 @@ impl ITPhone { (::windows::core::Interface::vtable(self).put_ButtonText)(::windows::core::Interface::as_raw(self), lbuttonid, bstrbuttontext.into().abi()).ok() } pub unsafe fn get_ButtonState(&self, lbuttonid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ButtonState)(::windows::core::Interface::as_raw(self), lbuttonid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_HookSwitchState(&self, hookswitchdevice: PHONE_HOOK_SWITCH_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_HookSwitchState)(::windows::core::Interface::as_raw(self), hookswitchdevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_HookSwitchState(&self, hookswitchdevice: PHONE_HOOK_SWITCH_DEVICE, hookswitchstate: PHONE_HOOK_SWITCH_STATE) -> ::windows::core::Result<()> { @@ -10909,18 +10909,18 @@ impl ITPhone { (::windows::core::Interface::vtable(self).SetRingMode)(::windows::core::Interface::as_raw(self), lringmode).ok() } pub unsafe fn RingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRingVolume(&self, lringvolume: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRingVolume)(::windows::core::Interface::as_raw(self), lringvolume).ok() } pub unsafe fn RingVolume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RingVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Privilege(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Privilege)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPhoneCapsBuffer(&self, pcbcaps: PHONECAPS_BUFFER, pdwsize: *mut u32, ppphonecapsbuffer: *mut *mut u8) -> ::windows::core::Result<()> { @@ -10929,11 +10929,11 @@ impl ITPhone { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_PhoneCapsBuffer(&self, pcbcaps: PHONECAPS_BUFFER) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PhoneCapsBuffer)(::windows::core::Interface::as_raw(self), pcbcaps, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_LampMode(&self, llampid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_LampMode)(::windows::core::Interface::as_raw(self), llampid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_LampMode(&self, llampid: i32, lampmode: PHONE_LAMP_MODE) -> ::windows::core::Result<()> { @@ -10942,7 +10942,7 @@ impl ITPhone { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10956,11 +10956,11 @@ impl ITPhone { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PreferredAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumeratePreferredAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumeratePreferredAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceSpecific(&self, pparams: *const u8, dwsize: u32) -> ::windows::core::Result<()> { @@ -10975,7 +10975,7 @@ impl ITPhone { (::windows::core::Interface::vtable(self).DeviceSpecificVariant)(::windows::core::Interface::as_raw(self), vardevspecificbytearray.into().abi()).ok() } pub unsafe fn NegotiateExtVersion(&self, llowversion: i32, lhighversion: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NegotiateExtVersion)(::windows::core::Interface::as_raw(self), llowversion, lhighversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11121,19 +11121,19 @@ impl ITPhoneDeviceSpecificEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Phone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Phone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn lParam1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lParam1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn lParam2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lParam2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn lParam3(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lParam3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11220,43 +11220,43 @@ impl ITPhoneEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Phone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Phone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ButtonState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ButtonState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HookSwitchState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HookSwitchState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HookSwitchDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HookSwitchDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ButtonLampId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ButtonLampId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NumberGathered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberGathered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11354,39 +11354,39 @@ impl ITPluggableTerminalClassInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Company(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Company)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TerminalClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TerminalClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11598,13 +11598,13 @@ impl ITPluggableTerminalSuperclassInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11692,29 +11692,29 @@ impl ITPrivateEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CallHub(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallHub)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EventCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EventInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11811,15 +11811,15 @@ impl ITQOSEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11906,49 +11906,49 @@ impl ITQueue { (::windows::core::Interface::vtable(self).SetMeasurementPeriod)(::windows::core::Interface::as_raw(self), lperiod).ok() } pub unsafe fn MeasurementPeriod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MeasurementPeriod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalCallsQueued(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalCallsQueued)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCallsQueued(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCallsQueued)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalCallsAbandoned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalCallsAbandoned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalCallsFlowedIn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalCallsFlowedIn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalCallsFlowedOut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalCallsFlowedOut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LongestEverWaitTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LongestEverWaitTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLongestWaitTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentLongestWaitTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AverageWaitTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AverageWaitTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FinalDisposition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FinalDisposition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12043,11 +12043,11 @@ impl ITQueueEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Queue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Queue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12132,11 +12132,11 @@ impl ITRendezvous { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DefaultDirectories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultDirectories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateDefaultDirectories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateDefaultDirectories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12145,7 +12145,7 @@ impl ITRendezvous { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDirectory)(::windows::core::Interface::as_raw(self), directorytype, pname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12154,7 +12154,7 @@ impl ITRendezvous { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDirectoryObject)(::windows::core::Interface::as_raw(self), directoryobjecttype, pname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12334,35 +12334,35 @@ pub struct ITRequestEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITRequestEvent { pub unsafe fn RegistrationInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegistrationInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DestAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AppName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CalledParty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CalledParty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Comment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Comment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12458,42 +12458,42 @@ pub struct ITScriptableAudioFormat(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITScriptableAudioFormat { pub unsafe fn Channels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Channels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannels(&self, nnewval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetChannels)(::windows::core::Interface::as_raw(self), nnewval).ok() } pub unsafe fn SamplesPerSec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SamplesPerSec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSamplesPerSec(&self, nnewval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSamplesPerSec)(::windows::core::Interface::as_raw(self), nnewval).ok() } pub unsafe fn AvgBytesPerSec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvgBytesPerSec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAvgBytesPerSec(&self, nnewval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAvgBytesPerSec)(::windows::core::Interface::as_raw(self), nnewval).ok() } pub unsafe fn BlockAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBlockAlign(&self, nnewval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBlockAlign)(::windows::core::Interface::as_raw(self), nnewval).ok() } pub unsafe fn BitsPerSample(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BitsPerSample)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBitsPerSample(&self, nnewval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBitsPerSample)(::windows::core::Interface::as_raw(self), nnewval).ok() } pub unsafe fn FormatTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFormatTag(&self, nnewval: i32) -> ::windows::core::Result<()> { @@ -12586,7 +12586,7 @@ pub struct ITStaticAudioTerminal(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITStaticAudioTerminal { pub unsafe fn WaveId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaveId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12665,17 +12665,17 @@ pub struct ITStream(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITStream { pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartStream(&self) -> ::windows::core::Result<()> { @@ -12704,13 +12704,13 @@ impl ITStream { (::windows::core::Interface::vtable(self).UnselectTerminal)(::windows::core::Interface::as_raw(self), pterminal.into().abi()).ok() } pub unsafe fn EnumerateTerminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateTerminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Terminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Terminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12812,7 +12812,7 @@ impl ITStreamControl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateStream(&self, lmediatype: i32, td: TERMINAL_DIRECTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStream)(::windows::core::Interface::as_raw(self), lmediatype, td, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12824,13 +12824,13 @@ impl ITStreamControl { (::windows::core::Interface::vtable(self).RemoveStream)(::windows::core::Interface::as_raw(self), pstream.into().abi()).ok() } pub unsafe fn EnumerateStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Streams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Streams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12946,19 +12946,19 @@ impl ITSubStream { (::windows::core::Interface::vtable(self).UnselectTerminal)(::windows::core::Interface::as_raw(self), pterminal.into().abi()).ok() } pub unsafe fn EnumerateTerminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateTerminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Terminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Terminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Stream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Stream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13058,7 +13058,7 @@ impl ITSubStreamControl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateSubStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSubStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13070,13 +13070,13 @@ impl ITSubStreamControl { (::windows::core::Interface::vtable(self).RemoveSubStream)(::windows::core::Interface::as_raw(self), psubstream.into().abi()).ok() } pub unsafe fn EnumerateSubStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateSubStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SubStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13175,11 +13175,11 @@ impl ITTAPI { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Addresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Addresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13188,7 +13188,7 @@ impl ITTAPI { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITAddress>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterCallNotifications)(::windows::core::Interface::as_raw(self), paddress.into().abi(), fmonitor, fowner, lmediatypes, lcallbackinstance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterNotifications(&self, lregister: i32) -> ::windows::core::Result<()> { @@ -13197,11 +13197,11 @@ impl ITTAPI { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CallHubs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallHubs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateCallHubs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateCallHubs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13215,13 +13215,13 @@ impl ITTAPI { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumeratePrivateTAPIObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumeratePrivateTAPIObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PrivateTAPIObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateTAPIObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterRequestRecipient(&self, lregistrationinstance: i32, lrequestmode: i32, fenable: i16) -> ::windows::core::Result<()> { @@ -13247,7 +13247,7 @@ impl ITTAPI { (::windows::core::Interface::vtable(self).SetEventFilter)(::windows::core::Interface::as_raw(self), lfiltermask).ok() } pub unsafe fn EventFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13373,11 +13373,11 @@ impl ITTAPI2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Addresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Addresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13386,7 +13386,7 @@ impl ITTAPI2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITAddress>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterCallNotifications)(::windows::core::Interface::as_raw(self), paddress.into().abi(), fmonitor, fowner, lmediatypes, lcallbackinstance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterNotifications(&self, lregister: i32) -> ::windows::core::Result<()> { @@ -13395,11 +13395,11 @@ impl ITTAPI2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CallHubs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CallHubs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateCallHubs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateCallHubs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13413,13 +13413,13 @@ impl ITTAPI2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumeratePrivateTAPIObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumeratePrivateTAPIObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PrivateTAPIObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PrivateTAPIObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterRequestRecipient(&self, lregistrationinstance: i32, lrequestmode: i32, fenable: i16) -> ::windows::core::Result<()> { @@ -13445,23 +13445,23 @@ impl ITTAPI2 { (::windows::core::Interface::vtable(self).base__.SetEventFilter)(::windows::core::Interface::as_raw(self), lfiltermask).ok() } pub unsafe fn EventFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EventFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Phones(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Phones)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumeratePhones(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumeratePhones)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateEmptyCollectionObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEmptyCollectionObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13566,13 +13566,13 @@ pub struct ITTAPICallCenter(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTAPICallCenter { pub unsafe fn EnumerateAgentHandlers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateAgentHandlers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AgentHandlers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AgentHandlers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13787,21 +13787,21 @@ impl ITTAPIObjectEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TAPIObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TAPIObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallbackInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallbackInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13891,27 +13891,27 @@ impl ITTAPIObjectEvent2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TAPIObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TAPIObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallbackInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CallbackInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Phone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Phone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14013,17 +14013,17 @@ impl ITTTSTerminalEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Terminal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Error(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } } @@ -14112,29 +14112,29 @@ impl ITTerminal { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TerminalType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TerminalType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TerminalClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TerminalClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14226,21 +14226,21 @@ impl ITTerminalSupport { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn StaticTerminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StaticTerminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateStaticTerminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateStaticTerminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DynamicTerminalClasses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DynamicTerminalClasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateDynamicTerminalClasses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateDynamicTerminalClasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14249,13 +14249,13 @@ impl ITTerminalSupport { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTerminal)(::windows::core::Interface::as_raw(self), pterminalclass.into().abi(), lmediatype, direction, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDefaultStaticTerminal(&self, lmediatype: i32, direction: TERMINAL_DIRECTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultStaticTerminal)(::windows::core::Interface::as_raw(self), lmediatype, direction, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14353,21 +14353,21 @@ impl ITTerminalSupport2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn StaticTerminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StaticTerminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateStaticTerminals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateStaticTerminals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DynamicTerminalClasses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DynamicTerminalClasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateDynamicTerminalClasses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateDynamicTerminalClasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14376,23 +14376,23 @@ impl ITTerminalSupport2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTerminal)(::windows::core::Interface::as_raw(self), pterminalclass.into().abi(), lmediatype, direction, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDefaultStaticTerminal(&self, lmediatype: i32, direction: TERMINAL_DIRECTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultStaticTerminal)(::windows::core::Interface::as_raw(self), lmediatype, direction, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PluggableSuperclasses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PluggableSuperclasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumeratePluggableSuperclasses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumeratePluggableSuperclasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14401,11 +14401,11 @@ impl ITTerminalSupport2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PluggableTerminalClasses)(::windows::core::Interface::as_raw(self), bstrterminalsuperclass.into().abi(), lmediatype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumeratePluggableTerminalClasses(&self, iidterminalsuperclass: ::windows::core::GUID, lmediatype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumeratePluggableTerminalClasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(iidterminalsuperclass), lmediatype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14513,19 +14513,19 @@ impl ITToneDetectionEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AppSpecific(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppSpecific)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TickCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TickCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallbackInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallbackInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14612,17 +14612,17 @@ impl ITToneTerminalEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Terminal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Error(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } } @@ -14725,7 +14725,7 @@ impl ITnef { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::AddressBook::IMessage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenTaggedBody)(::windows::core::Interface::as_raw(self), lpmessage.into().abi(), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] 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 462e45f95e..824cb41852 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs @@ -167,18 +167,18 @@ impl IWSDAsyncResult { (::windows::core::Interface::vtable(self).HasCompleted)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetAsyncState(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAsyncState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Abort(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Abort)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetEvent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEndpointProxy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEndpointProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -411,7 +411,7 @@ impl IWSDDeviceHostNotify { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetService)(::windows::core::Interface::as_raw(self), pszserviceid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -471,7 +471,7 @@ impl IWSDDeviceProxy { (::windows::core::Interface::vtable(self).Init)(::windows::core::Interface::as_raw(self), pszdeviceid.into(), pdeviceaddress.into().abi(), pszlocalid.into(), pcontext.into().abi(), psponsor.into().abi()).ok() } pub unsafe fn BeginGetMetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginGetMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndGetMetadata<'a, P0>(&self, presult: P0) -> ::windows::core::Result<()> @@ -481,34 +481,34 @@ impl IWSDDeviceProxy { (::windows::core::Interface::vtable(self).EndGetMetadata)(::windows::core::Interface::as_raw(self), presult.into().abi()).ok() } pub unsafe fn GetHostMetadata(&self) -> ::windows::core::Result<*mut WSD_HOST_METADATA> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_HOST_METADATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHostMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_HOST_METADATA>(result__) } pub unsafe fn GetThisModelMetadata(&self) -> ::windows::core::Result<*mut WSD_THIS_MODEL_METADATA> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_THIS_MODEL_METADATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThisModelMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_THIS_MODEL_METADATA>(result__) } pub unsafe fn GetThisDeviceMetadata(&self) -> ::windows::core::Result<*mut WSD_THIS_DEVICE_METADATA> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_THIS_DEVICE_METADATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThisDeviceMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_THIS_DEVICE_METADATA>(result__) } pub unsafe fn GetAllMetadata(&self) -> ::windows::core::Result<*mut WSD_METADATA_SECTION_LIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_METADATA_SECTION_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_METADATA_SECTION_LIST>(result__) } pub unsafe fn GetServiceProxyById<'a, P0>(&self, pszserviceid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceProxyById)(::windows::core::Interface::as_raw(self), pszserviceid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceProxyByType(&self, ptype: *const WSDXML_NAME) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceProxyByType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEndpointProxy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEndpointProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -579,7 +579,7 @@ impl IWSDEndpointProxy { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWSDAsyncCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendTwoWayRequestAsync)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbody), ::core::mem::transmute(poperation), pasyncstate.into().abi(), pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AbortAsyncOperation<'a, P0>(&self, pasyncresult: P0) -> ::windows::core::Result<()> @@ -592,11 +592,11 @@ impl IWSDEndpointProxy { (::windows::core::Interface::vtable(self).ProcessFault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfault)).ok() } pub unsafe fn GetErrorInfo(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetFaultInfo(&self) -> ::windows::core::Result<*mut WSD_SOAP_FAULT> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_SOAP_FAULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFaultInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_SOAP_FAULT>(result__) } } @@ -735,14 +735,14 @@ impl IWSDHttpAddress { (::windows::core::Interface::vtable(self).base__.base__.Deserialize)(::windows::core::Interface::as_raw(self), pszbuffer.into()).ok() } pub unsafe fn GetPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPort(&self, wport: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPort)(::windows::core::Interface::as_raw(self), wport).ok() } pub unsafe fn GetTransportAddress(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransportAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -751,7 +751,7 @@ impl IWSDHttpAddress { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransportAddressEx)(::windows::core::Interface::as_raw(self), fsafe.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransportAddress<'a, P0>(&self, pszaddress: P0) -> ::windows::core::Result<()> @@ -772,7 +772,7 @@ impl IWSDHttpAddress { (::windows::core::Interface::vtable(self).SetSecure)(::windows::core::Interface::as_raw(self), fsecure.into()).ok() } pub unsafe fn GetPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetPath<'a, P0>(&self, pszpath: P0) -> ::windows::core::Result<()> @@ -866,11 +866,11 @@ impl IWSDHttpAuthParameters { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetClientAccessToken(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientAccessToken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAuthType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -924,7 +924,7 @@ pub struct IWSDHttpAuthParameters_Vtbl { pub struct IWSDHttpMessageParameters(::windows::core::IUnknown); impl IWSDHttpMessageParameters { pub unsafe fn GetLocalAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLocalAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocalAddress<'a, P0>(&self, paddress: P0) -> ::windows::core::Result<()> @@ -934,7 +934,7 @@ impl IWSDHttpMessageParameters { (::windows::core::Interface::vtable(self).base__.SetLocalAddress)(::windows::core::Interface::as_raw(self), paddress.into().abi()).ok() } pub unsafe fn GetRemoteAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRemoteAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRemoteAddress<'a, P0>(&self, paddress: P0) -> ::windows::core::Result<()> @@ -944,7 +944,7 @@ impl IWSDHttpMessageParameters { (::windows::core::Interface::vtable(self).base__.SetRemoteAddress)(::windows::core::Interface::as_raw(self), paddress.into().abi()).ok() } pub unsafe fn GetLowerParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLowerParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInboundHttpHeaders<'a, P0>(&self, pszheaders: P0) -> ::windows::core::Result<()> @@ -954,7 +954,7 @@ impl IWSDHttpMessageParameters { (::windows::core::Interface::vtable(self).SetInboundHttpHeaders)(::windows::core::Interface::as_raw(self), pszheaders.into()).ok() } pub unsafe fn GetInboundHttpHeaders(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInboundHttpHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetOutboundHttpHeaders<'a, P0>(&self, pszheaders: P0) -> ::windows::core::Result<()> @@ -964,7 +964,7 @@ impl IWSDHttpMessageParameters { (::windows::core::Interface::vtable(self).SetOutboundHttpHeaders)(::windows::core::Interface::as_raw(self), pszheaders.into()).ok() } pub unsafe fn GetOutboundHttpHeaders(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutboundHttpHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetID<'a, P0>(&self, pszid: P0) -> ::windows::core::Result<()> @@ -974,7 +974,7 @@ impl IWSDHttpMessageParameters { (::windows::core::Interface::vtable(self).SetID)(::windows::core::Interface::as_raw(self), pszid.into()).ok() } pub unsafe fn GetID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetContext<'a, P0>(&self, pcontext: P0) -> ::windows::core::Result<()> @@ -984,7 +984,7 @@ impl IWSDHttpMessageParameters { (::windows::core::Interface::vtable(self).SetContext)(::windows::core::Interface::as_raw(self), pcontext.into().abi()).ok() } pub unsafe fn GetContext(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { @@ -1128,7 +1128,7 @@ pub struct IWSDInboundAttachment_Vtbl { pub struct IWSDMessageParameters(::windows::core::IUnknown); impl IWSDMessageParameters { pub unsafe fn GetLocalAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocalAddress<'a, P0>(&self, paddress: P0) -> ::windows::core::Result<()> @@ -1138,7 +1138,7 @@ impl IWSDMessageParameters { (::windows::core::Interface::vtable(self).SetLocalAddress)(::windows::core::Interface::as_raw(self), paddress.into().abi()).ok() } pub unsafe fn GetRemoteAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRemoteAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRemoteAddress<'a, P0>(&self, paddress: P0) -> ::windows::core::Result<()> @@ -1148,7 +1148,7 @@ impl IWSDMessageParameters { (::windows::core::Interface::vtable(self).SetRemoteAddress)(::windows::core::Interface::as_raw(self), paddress.into().abi()).ok() } pub unsafe fn GetLowerParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLowerParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1202,7 +1202,7 @@ pub struct IWSDMessageParameters_Vtbl { pub struct IWSDMetadataExchange(::windows::core::IUnknown); impl IWSDMetadataExchange { pub unsafe fn GetMetadata(&self) -> ::windows::core::Result<*mut WSD_METADATA_SECTION_LIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_METADATA_SECTION_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_METADATA_SECTION_LIST>(result__) } } @@ -1252,7 +1252,7 @@ pub struct IWSDMetadataExchange_Vtbl { pub struct IWSDOutboundAttachment(::windows::core::IUnknown); impl IWSDOutboundAttachment { pub unsafe fn Write(&self, pbuffer: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Write)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pbuffer)), pbuffer.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -1327,13 +1327,13 @@ impl IWSDSSLClientCertificate { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub unsafe fn GetClientCertificate(&self) -> ::windows::core::Result<*mut super::super::Security::Cryptography::CERT_CONTEXT> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::Security::Cryptography::CERT_CONTEXT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::Security::Cryptography::CERT_CONTEXT>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMappedAccessToken(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMappedAccessToken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1390,7 +1390,7 @@ pub struct IWSDSSLClientCertificate_Vtbl { pub struct IWSDScopeMatchingRule(::windows::core::IUnknown); impl IWSDScopeMatchingRule { pub unsafe fn GetScopeRule(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1400,7 +1400,7 @@ impl IWSDScopeMatchingRule { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MatchScopes)(::windows::core::Interface::as_raw(self), pszscope1.into(), pszscope2.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1513,29 +1513,29 @@ pub struct IWSDServiceMessaging_Vtbl { pub struct IWSDServiceProxy(::windows::core::IUnknown); impl IWSDServiceProxy { pub unsafe fn GetMetadata(&self) -> ::windows::core::Result<*mut WSD_METADATA_SECTION_LIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_METADATA_SECTION_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_METADATA_SECTION_LIST>(result__) } pub unsafe fn BeginGetMetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginGetMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndGetMetadata<'a, P0>(&self, presult: P0) -> ::windows::core::Result<*mut WSD_METADATA_SECTION_LIST> where P0: ::std::convert::Into<::windows::core::InParam<'a, IWSDAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_METADATA_SECTION_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndGetMetadata)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_METADATA_SECTION_LIST>(result__) } pub unsafe fn GetServiceMetadata(&self) -> ::windows::core::Result<*mut WSD_SERVICE_METADATA> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_SERVICE_METADATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_SERVICE_METADATA>(result__) } pub unsafe fn SubscribeToOperation<'a, P0>(&self, poperation: *const WSD_OPERATION, punknown: P0, pany: *const WSDXML_ELEMENT) -> ::windows::core::Result<*mut WSDXML_ELEMENT> where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSDXML_ELEMENT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubscribeToOperation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(poperation), punknown.into().abi(), ::core::mem::transmute(pany), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSDXML_ELEMENT>(result__) } pub unsafe fn UnsubscribeToOperation(&self, poperation: *const WSD_OPERATION) -> ::windows::core::Result<()> { @@ -1548,7 +1548,7 @@ impl IWSDServiceProxy { (::windows::core::Interface::vtable(self).SetEventingStatusCallback)(::windows::core::Interface::as_raw(self), pstatus.into().abi()).ok() } pub unsafe fn GetEndpointProxy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEndpointProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1619,29 +1619,29 @@ pub struct IWSDServiceProxy_Vtbl { pub struct IWSDServiceProxyEventing(::windows::core::IUnknown); impl IWSDServiceProxyEventing { pub unsafe fn GetMetadata(&self) -> ::windows::core::Result<*mut WSD_METADATA_SECTION_LIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_METADATA_SECTION_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_METADATA_SECTION_LIST>(result__) } pub unsafe fn BeginGetMetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BeginGetMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndGetMetadata<'a, P0>(&self, presult: P0) -> ::windows::core::Result<*mut WSD_METADATA_SECTION_LIST> where P0: ::std::convert::Into<::windows::core::InParam<'a, IWSDAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_METADATA_SECTION_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndGetMetadata)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_METADATA_SECTION_LIST>(result__) } pub unsafe fn GetServiceMetadata(&self) -> ::windows::core::Result<*mut WSD_SERVICE_METADATA> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_SERVICE_METADATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetServiceMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_SERVICE_METADATA>(result__) } pub unsafe fn SubscribeToOperation<'a, P0>(&self, poperation: *const WSD_OPERATION, punknown: P0, pany: *const WSDXML_ELEMENT) -> ::windows::core::Result<*mut WSDXML_ELEMENT> where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSDXML_ELEMENT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SubscribeToOperation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(poperation), punknown.into().abi(), ::core::mem::transmute(pany), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSDXML_ELEMENT>(result__) } pub unsafe fn UnsubscribeToOperation(&self, poperation: *const WSD_OPERATION) -> ::windows::core::Result<()> { @@ -1654,7 +1654,7 @@ impl IWSDServiceProxyEventing { (::windows::core::Interface::vtable(self).base__.SetEventingStatusCallback)(::windows::core::Interface::as_raw(self), pstatus.into().abi()).ok() } pub unsafe fn GetEndpointProxy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEndpointProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1673,7 +1673,7 @@ impl IWSDServiceProxyEventing { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IWSDAsyncCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginSubscribeToMultipleOperations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(poperations)), poperations.len() as _, punknown.into().abi(), ::core::mem::transmute(pexpires), ::core::mem::transmute(pany), pasyncstate.into().abi(), pasynccallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1692,7 +1692,7 @@ impl IWSDServiceProxyEventing { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWSDAsyncCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginUnsubscribeToMultipleOperations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(poperations)), poperations.len() as _, ::core::mem::transmute(pany), pasyncstate.into().abi(), pasynccallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndUnsubscribeToMultipleOperations<'a, P0>(&self, poperations: &[WSD_OPERATION], presult: P0) -> ::windows::core::Result<()> @@ -1713,7 +1713,7 @@ impl IWSDServiceProxyEventing { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWSDAsyncCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginRenewMultipleOperations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(poperations)), poperations.len() as _, ::core::mem::transmute(pexpires), ::core::mem::transmute(pany), pasyncstate.into().abi(), pasynccallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1734,7 +1734,7 @@ impl IWSDServiceProxyEventing { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWSDAsyncCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginGetStatusForMultipleOperations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(poperations)), poperations.len() as _, ::core::mem::transmute(pany), pasyncstate.into().abi(), pasynccallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1859,13 +1859,13 @@ impl IWSDSignatureProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMessageSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMessageSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMessageSignatureTrusted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMessageSignatureTrusted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKeyInfo(&self, pbkeyinfo: *mut u8, pdwkeyinfosize: *mut u32) -> ::windows::core::Result<()> { @@ -1948,14 +1948,14 @@ impl IWSDTransportAddress { (::windows::core::Interface::vtable(self).base__.Deserialize)(::windows::core::Interface::as_raw(self), pszbuffer.into()).ok() } pub unsafe fn GetPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPort(&self, wport: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPort)(::windows::core::Interface::as_raw(self), wport).ok() } pub unsafe fn GetTransportAddress(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1964,7 +1964,7 @@ impl IWSDTransportAddress { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportAddressEx)(::windows::core::Interface::as_raw(self), fsafe.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransportAddress<'a, P0>(&self, pszaddress: P0) -> ::windows::core::Result<()> @@ -2056,14 +2056,14 @@ impl IWSDUdpAddress { (::windows::core::Interface::vtable(self).base__.base__.Deserialize)(::windows::core::Interface::as_raw(self), pszbuffer.into()).ok() } pub unsafe fn GetPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPort(&self, wport: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPort)(::windows::core::Interface::as_raw(self), wport).ok() } pub unsafe fn GetTransportAddress(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransportAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2072,7 +2072,7 @@ impl IWSDUdpAddress { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransportAddressEx)(::windows::core::Interface::as_raw(self), fsafe.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransportAddress<'a, P0>(&self, pszaddress: P0) -> ::windows::core::Result<()> @@ -2089,7 +2089,7 @@ impl IWSDUdpAddress { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] pub unsafe fn GetSockaddr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSockaddr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2107,21 +2107,21 @@ impl IWSDUdpAddress { (::windows::core::Interface::vtable(self).SetMessageType)(::windows::core::Interface::as_raw(self), messagetype).ok() } pub unsafe fn GetMessageType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessageType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTTL(&self, dwttl: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTTL)(::windows::core::Interface::as_raw(self), dwttl).ok() } pub unsafe fn GetTTL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTTL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlias(&self, palias: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAlias)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(palias)).ok() } pub unsafe fn GetAlias(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlias)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -2219,7 +2219,7 @@ pub struct IWSDUdpAddress_Vtbl { pub struct IWSDUdpMessageParameters(::windows::core::IUnknown); impl IWSDUdpMessageParameters { pub unsafe fn GetLocalAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLocalAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocalAddress<'a, P0>(&self, paddress: P0) -> ::windows::core::Result<()> @@ -2229,7 +2229,7 @@ impl IWSDUdpMessageParameters { (::windows::core::Interface::vtable(self).base__.SetLocalAddress)(::windows::core::Interface::as_raw(self), paddress.into().abi()).ok() } pub unsafe fn GetRemoteAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRemoteAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRemoteAddress<'a, P0>(&self, paddress: P0) -> ::windows::core::Result<()> @@ -2239,14 +2239,14 @@ impl IWSDUdpMessageParameters { (::windows::core::Interface::vtable(self).base__.SetRemoteAddress)(::windows::core::Interface::as_raw(self), paddress.into().abi()).ok() } pub unsafe fn GetLowerParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLowerParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRetransmitParams(&self, pparams: *const WSDUdpRetransmitParams) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRetransmitParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pparams)).ok() } pub unsafe fn GetRetransmitParams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRetransmitParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2316,7 +2316,7 @@ impl IWSDXMLContext { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSDXML_NAMESPACE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddNamespace)(::windows::core::Interface::as_raw(self), pszuri.into(), pszsuggestedprefix.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSDXML_NAMESPACE>(result__) } pub unsafe fn AddNameToNamespace<'a, P0, P1>(&self, pszuri: P0, pszname: P1) -> ::windows::core::Result<*mut WSDXML_NAME> @@ -2324,7 +2324,7 @@ impl IWSDXMLContext { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSDXML_NAME>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddNameToNamespace)(::windows::core::Interface::as_raw(self), pszuri.into(), pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSDXML_NAME>(result__) } pub unsafe fn SetNamespaces(&self, pnamespaces: &[*const WSDXML_NAMESPACE], blayernumber: u8) -> ::windows::core::Result<()> { @@ -2383,46 +2383,46 @@ pub struct IWSDXMLContext_Vtbl { pub struct IWSDiscoveredService(::windows::core::IUnknown); impl IWSDiscoveredService { pub unsafe fn GetEndpointReference(&self) -> ::windows::core::Result<*mut WSD_ENDPOINT_REFERENCE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_ENDPOINT_REFERENCE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEndpointReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_ENDPOINT_REFERENCE>(result__) } pub unsafe fn GetTypes(&self) -> ::windows::core::Result<*mut WSD_NAME_LIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_NAME_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_NAME_LIST>(result__) } pub unsafe fn GetScopes(&self) -> ::windows::core::Result<*mut WSD_URI_LIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_URI_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_URI_LIST>(result__) } pub unsafe fn GetXAddrs(&self) -> ::windows::core::Result<*mut WSD_URI_LIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_URI_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXAddrs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_URI_LIST>(result__) } pub unsafe fn GetMetadataVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExtendedDiscoXML(&self, ppheaderany: *mut *mut WSDXML_ELEMENT, ppbodyany: *mut *mut WSDXML_ELEMENT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetExtendedDiscoXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppheaderany), ::core::mem::transmute(ppbodyany)).ok() } pub unsafe fn GetProbeResolveTag(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProbeResolveTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetRemoteTransportAddress(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRemoteTransportAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLocalTransportAddress(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalTransportAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLocalInterfaceGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalInterfaceGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetInstanceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstanceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2515,7 +2515,7 @@ impl IWSDiscoveryProvider { (::windows::core::Interface::vtable(self).SearchByType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptypeslist), ::core::mem::transmute(pscopeslist), pszmatchby.into(), psztag.into()).ok() } pub unsafe fn GetXMLContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXMLContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2760,7 +2760,7 @@ impl IWSDiscoveryPublisher { (::windows::core::Interface::vtable(self).UnRegisterScopeMatchingRule)(::windows::core::Interface::as_raw(self), pscopematchingrule.into().abi()).ok() } pub unsafe fn GetXMLContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXMLContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3253,7 +3253,7 @@ where extern "system" { fn WSDCreateDeviceHost(pszlocalid: ::windows::core::PCWSTR, pcontext: *mut ::core::ffi::c_void, ppdevicehost: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDeviceHost(pszlocalid.into(), pcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3267,7 +3267,7 @@ where extern "system" { fn WSDCreateDeviceHost2(pszlocalid: ::windows::core::PCWSTR, pcontext: *mut ::core::ffi::c_void, pconfigparams: *const WSD_CONFIG_PARAM, dwconfigparamcount: u32, ppdevicehost: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDeviceHost2(pszlocalid.into(), pcontext.into().abi(), ::core::mem::transmute(::windows::core::as_ptr_or_null(pconfigparams)), pconfigparams.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3281,7 +3281,7 @@ where extern "system" { fn WSDCreateDeviceHostAdvanced(pszlocalid: ::windows::core::PCWSTR, pcontext: *mut ::core::ffi::c_void, pphostaddresses: *const *mut ::core::ffi::c_void, dwhostaddresscount: u32, ppdevicehost: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDeviceHostAdvanced(pszlocalid.into(), pcontext.into().abi(), ::core::mem::transmute(::windows::core::as_ptr_or_null(pphostaddresses)), pphostaddresses.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3296,7 +3296,7 @@ where extern "system" { fn WSDCreateDeviceProxy(pszdeviceid: ::windows::core::PCWSTR, pszlocalid: ::windows::core::PCWSTR, pcontext: *mut ::core::ffi::c_void, ppdeviceproxy: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDeviceProxy(pszdeviceid.into(), pszlocalid.into(), pcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3311,7 +3311,7 @@ where extern "system" { fn WSDCreateDeviceProxy2(pszdeviceid: ::windows::core::PCWSTR, pszlocalid: ::windows::core::PCWSTR, pcontext: *mut ::core::ffi::c_void, pconfigparams: *const WSD_CONFIG_PARAM, dwconfigparamcount: u32, ppdeviceproxy: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDeviceProxy2(pszdeviceid.into(), pszlocalid.into(), pcontext.into().abi(), ::core::mem::transmute(::windows::core::as_ptr_or_null(pconfigparams)), pconfigparams.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3327,7 +3327,7 @@ where extern "system" { fn WSDCreateDeviceProxyAdvanced(pszdeviceid: ::windows::core::PCWSTR, pdeviceaddress: *mut ::core::ffi::c_void, pszlocalid: ::windows::core::PCWSTR, pcontext: *mut ::core::ffi::c_void, ppdeviceproxy: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDeviceProxyAdvanced(pszdeviceid.into(), pdeviceaddress.into().abi(), pszlocalid.into(), pcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3340,7 +3340,7 @@ where extern "system" { fn WSDCreateDiscoveryProvider(pcontext: *mut ::core::ffi::c_void, ppprovider: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDiscoveryProvider(pcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3353,7 +3353,7 @@ where extern "system" { fn WSDCreateDiscoveryProvider2(pcontext: *mut ::core::ffi::c_void, pconfigparams: *const WSD_CONFIG_PARAM, dwconfigparamcount: u32, ppprovider: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDiscoveryProvider2(pcontext.into().abi(), ::core::mem::transmute(::windows::core::as_ptr_or_null(pconfigparams)), pconfigparams.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3366,7 +3366,7 @@ where extern "system" { fn WSDCreateDiscoveryPublisher(pcontext: *mut ::core::ffi::c_void, pppublisher: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDiscoveryPublisher(pcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3379,7 +3379,7 @@ where extern "system" { fn WSDCreateDiscoveryPublisher2(pcontext: *mut ::core::ffi::c_void, pconfigparams: *const WSD_CONFIG_PARAM, dwconfigparamcount: u32, pppublisher: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateDiscoveryPublisher2(pcontext.into().abi(), ::core::mem::transmute(::windows::core::as_ptr_or_null(pconfigparams)), pconfigparams.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3389,7 +3389,7 @@ pub unsafe fn WSDCreateHttpAddress() -> ::windows::core::Result extern "system" { fn WSDCreateHttpAddress(ppaddress: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateHttpAddress(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3399,7 +3399,7 @@ pub unsafe fn WSDCreateHttpMessageParameters() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateHttpMessageParameters(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3409,7 +3409,7 @@ pub unsafe fn WSDCreateOutboundAttachment() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateOutboundAttachment(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3419,7 +3419,7 @@ pub unsafe fn WSDCreateUdpAddress() -> ::windows::core::Result { extern "system" { fn WSDCreateUdpAddress(ppaddress: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateUdpAddress(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3429,7 +3429,7 @@ pub unsafe fn WSDCreateUdpMessageParameters() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDCreateUdpMessageParameters(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3497,7 +3497,7 @@ where extern "system" { fn WSDGenerateFault(pszcode: ::windows::core::PCWSTR, pszsubcode: ::windows::core::PCWSTR, pszreason: ::windows::core::PCWSTR, pszdetail: ::windows::core::PCWSTR, pcontext: *mut ::core::ffi::c_void, ppfault: *mut *mut WSD_SOAP_FAULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_SOAP_FAULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDGenerateFault(pszcode.into(), pszsubcode.into(), pszreason.into(), pszdetail.into(), pcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_SOAP_FAULT>(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3510,7 +3510,7 @@ where extern "system" { fn WSDGenerateFaultEx(pcode: *const WSDXML_NAME, psubcode: *const WSDXML_NAME, preasons: *const WSD_LOCALIZED_STRING_LIST, pszdetail: ::windows::core::PCWSTR, ppfault: *mut *mut WSD_SOAP_FAULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut WSD_SOAP_FAULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDGenerateFaultEx(::core::mem::transmute(pcode), ::core::mem::transmute(psubcode), ::core::mem::transmute(preasons), pszdetail.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSD_SOAP_FAULT>(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3656,7 +3656,7 @@ pub unsafe fn WSDXMLCreateContext() -> ::windows::core::Result { extern "system" { fn WSDXMLCreateContext(ppcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDXMLCreateContext(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -3670,7 +3670,7 @@ where extern "system" { fn WSDXMLGetNameFromBuiltinNamespace(psznamespace: ::windows::core::PCWSTR, pszname: ::windows::core::PCWSTR, ppname: *mut *mut WSDXML_NAME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut WSDXML_NAME>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WSDXMLGetNameFromBuiltinNamespace(psznamespace.into(), pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WSDXML_NAME>(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs index 78d2c7b9e9..40c2b71f47 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs @@ -10,7 +10,7 @@ where extern "system" { fn CheckGamingPrivilegeSilently(privilegeid: u32, scope: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, policy: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, hasprivilege: *mut super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CheckGamingPrivilegeSilently(privilegeid, scope.into().abi(), policy.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] @@ -26,7 +26,7 @@ where extern "system" { fn CheckGamingPrivilegeSilentlyForUser(user: *mut ::core::ffi::c_void, privilegeid: u32, scope: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, policy: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, hasprivilege: *mut super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CheckGamingPrivilegeSilentlyForUser(user.into().abi(), privilegeid, scope.into().abi(), policy.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -243,7 +243,7 @@ pub unsafe fn GetExpandedResourceExclusiveCpuCount() -> ::windows::core::Result< extern "system" { fn GetExpandedResourceExclusiveCpuCount(exclusivecpucount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetExpandedResourceExclusiveCpuCount(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -253,7 +253,7 @@ pub unsafe fn GetGamingDeviceModelInformation() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetGamingDeviceModelInformation(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] @@ -264,7 +264,7 @@ pub unsafe fn HasExpandedResources() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HasExpandedResources(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -296,7 +296,7 @@ impl IGameExplorer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VerifyAccess)(::windows::core::Interface::as_raw(self), bstrgdfbinarypath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -373,7 +373,7 @@ impl IGameExplorer2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckAccess)(::windows::core::Interface::as_raw(self), binarygdfpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -428,23 +428,23 @@ pub struct IGameExplorer2_Vtbl { pub struct IGameStatistics(::windows::core::IUnknown); impl IGameStatistics { pub unsafe fn GetMaxCategoryLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxCategoryLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxNameLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxNameLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxValueLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxValueLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxCategories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxCategories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStatsPerCategory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxStatsPerCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCategoryTitle<'a, P0>(&self, categoryindex: u16, title: P0) -> ::windows::core::Result<()> @@ -454,7 +454,7 @@ impl IGameStatistics { (::windows::core::Interface::vtable(self).SetCategoryTitle)(::windows::core::Interface::as_raw(self), categoryindex, title.into()).ok() } pub unsafe fn GetCategoryTitle(&self, categoryindex: u16) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategoryTitle)(::windows::core::Interface::as_raw(self), categoryindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetStatistic(&self, categoryindex: u16, statindex: u16, pname: *mut ::windows::core::PWSTR, pvalue: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { @@ -479,7 +479,7 @@ impl IGameStatistics { (::windows::core::Interface::vtable(self).SetLastPlayedCategory)(::windows::core::Interface::as_raw(self), categoryindex).ok() } pub unsafe fn GetLastPlayedCategory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastPlayedCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -619,11 +619,11 @@ impl IXblIdpAuthManager { (::windows::core::Interface::vtable(self).SetAppViewInitialized)(::windows::core::Interface::as_raw(self), appsid.into(), msaaccountid.into()).ok() } pub unsafe fn GetEnvironment(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnvironment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSandbox(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSandbox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -639,7 +639,7 @@ impl IXblIdpAuthManager { P6: ::std::convert::Into<::windows::core::PCWSTR>, P7: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTokenAndSignatureWithTokenResult)(::windows::core::Interface::as_raw(self), msaaccountid.into(), appsid.into(), msatarget.into(), msapolicy.into(), httpmethod.into(), uri.into(), headers.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(body)), body.len() as _, forcerefresh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -697,83 +697,83 @@ pub struct IXblIdpAuthManager_Vtbl { pub struct IXblIdpAuthTokenResult(::windows::core::IUnknown); impl IXblIdpAuthTokenResult { pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetToken(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetToken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSignature(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSandbox(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSandbox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetEnvironment(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnvironment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMsaAccountId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMsaAccountId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetXuid(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetGamertag(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGamertag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetAgeGroup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAgeGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPrivileges(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrivileges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMsaTarget(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMsaTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMsaPolicy(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMsaPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMsaAppId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMsaAppId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetRedirect(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRedirect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMessage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetHelpId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelpId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetEnforcementBans(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnforcementBans)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetRestrictions(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestrictions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetTitleRestrictions(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTitleRestrictions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -842,15 +842,15 @@ pub struct IXblIdpAuthTokenResult_Vtbl { pub struct IXblIdpAuthTokenResult2(::windows::core::IUnknown); impl IXblIdpAuthTokenResult2 { pub unsafe fn GetModernGamertag(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModernGamertag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetModernGamertagSuffix(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModernGamertagSuffix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetUniqueModernGamertag(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUniqueModernGamertag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index edb88a8a0a..fc3c3ab60c 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -1805,7 +1805,7 @@ where extern "system" { fn GetDistanceOfClosestLanguageInList(pszlanguage: ::windows::core::PCWSTR, pszlanguageslist: ::windows::core::PCWSTR, wchlistdelimiter: u16, pclosestdistance: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetDistanceOfClosestLanguageInList(pszlanguage.into(), pszlanguageslist.into(), wchlistdelimiter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -2379,7 +2379,7 @@ impl IComprehensiveSpellCheckProvider { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComprehensiveCheck)(::windows::core::Interface::as_raw(self), text.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2437,7 +2437,7 @@ pub const IDN_USE_STD3_ASCII_RULES: u32 = 2u32; pub struct IEnumCodePage(::windows::core::IUnknown); impl IEnumCodePage { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, celt: u32, rgelt: *mut MIMECPINFO, pceltfetched: *mut u32) -> ::windows::core::Result<()> { @@ -2499,7 +2499,7 @@ pub struct IEnumCodePage_Vtbl { pub struct IEnumRfc1766(::windows::core::IUnknown); impl IEnumRfc1766 { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, celt: u32, rgelt: *mut RFC1766INFO, pceltfetched: *mut u32) -> ::windows::core::Result<()> { @@ -2561,7 +2561,7 @@ pub struct IEnumRfc1766_Vtbl { pub struct IEnumScript(::windows::core::IUnknown); impl IEnumScript { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, celt: u32, rgelt: *mut SCRIPTINFO, pceltfetched: *mut u32) -> ::windows::core::Result<()> { @@ -2623,7 +2623,7 @@ pub struct IEnumScript_Vtbl { pub struct IEnumSpellingError(::windows::core::IUnknown); impl IEnumSpellingError { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2697,18 +2697,18 @@ pub const IME_CMODE_ROMAN: u32 = 16u32; pub struct IMLangCodePages(::windows::core::IUnknown); impl IMLangCodePages { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCharCodePages)(::windows::core::Interface::as_raw(self), chsrc, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStrCodePages(&self, pszsrc: &[u16], dwprioritycodepages: u32, pdwcodepages: *mut u32, pcchcodepages: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetStrCodePages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pszsrc)), pszsrc.len() as _, dwprioritycodepages, ::core::mem::transmute(pdwcodepages), ::core::mem::transmute(pcchcodepages)).ok() } pub unsafe fn CodePageToCodePages(&self, ucodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CodePageToCodePages)(::windows::core::Interface::as_raw(self), ucodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CodePagesToCodePage(&self, dwcodepages: u32, udefaultcodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CodePagesToCodePage)(::windows::core::Interface::as_raw(self), dwcodepages, udefaultcodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2764,15 +2764,15 @@ impl IMLangConvertCharset { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), uisrccodepage, uidstcodepage, dwproperty).ok() } pub unsafe fn GetSourceCodePage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceCodePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDestinationCodePage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDestinationCodePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DoConversion(&self, psrcstr: *const u8, pcsrcsize: *mut u32, pdststr: *mut u8, pcdstsize: *mut u32) -> ::windows::core::Result<()> { @@ -2840,18 +2840,18 @@ pub struct IMLangConvertCharset_Vtbl { pub struct IMLangFontLink(::windows::core::IUnknown); impl IMLangFontLink { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCharCodePages)(::windows::core::Interface::as_raw(self), chsrc, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStrCodePages(&self, pszsrc: &[u16], dwprioritycodepages: u32, pdwcodepages: *mut u32, pcchcodepages: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetStrCodePages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pszsrc)), pszsrc.len() as _, dwprioritycodepages, ::core::mem::transmute(pdwcodepages), ::core::mem::transmute(pcchcodepages)).ok() } pub unsafe fn CodePageToCodePages(&self, ucodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CodePageToCodePages)(::windows::core::Interface::as_raw(self), ucodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CodePagesToCodePage(&self, dwcodepages: u32, udefaultcodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CodePagesToCodePage)(::windows::core::Interface::as_raw(self), dwcodepages, udefaultcodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2861,7 +2861,7 @@ impl IMLangFontLink { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontCodePages)(::windows::core::Interface::as_raw(self), hdc.into(), hfont.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2871,7 +2871,7 @@ impl IMLangFontLink { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapFont)(::windows::core::Interface::as_raw(self), hdc.into(), dwcodepages, hsrcfont.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2959,18 +2959,18 @@ pub struct IMLangFontLink_Vtbl { pub struct IMLangFontLink2(::windows::core::IUnknown); impl IMLangFontLink2 { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCharCodePages)(::windows::core::Interface::as_raw(self), chsrc, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStrCodePages(&self, pszsrc: &[u16], dwprioritycodepages: u32, pdwcodepages: *mut u32, pcchcodepages: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetStrCodePages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pszsrc)), pszsrc.len() as _, dwprioritycodepages, ::core::mem::transmute(pdwcodepages), ::core::mem::transmute(pcchcodepages)).ok() } pub unsafe fn CodePageToCodePages(&self, ucodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CodePageToCodePages)(::windows::core::Interface::as_raw(self), ucodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CodePagesToCodePage(&self, dwcodepages: u32, udefaultcodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CodePagesToCodePage)(::windows::core::Interface::as_raw(self), dwcodepages, udefaultcodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2980,7 +2980,7 @@ impl IMLangFontLink2 { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontCodePages)(::windows::core::Interface::as_raw(self), hdc.into(), hfont.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3000,7 +3000,7 @@ impl IMLangFontLink2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapFont)(::windows::core::Interface::as_raw(self), hdc.into(), dwcodepages, chsrc, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3009,14 +3009,14 @@ impl IMLangFontLink2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontUnicodeRanges)(::windows::core::Interface::as_raw(self), hdc.into(), ::core::mem::transmute(puiranges), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScriptFontInfo(&self, sid: u8, dwflags: u32, puifonts: *mut u32, pscriptfont: *mut tagSCRIPFONTINFO) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetScriptFontInfo)(::windows::core::Interface::as_raw(self), sid, dwflags, ::core::mem::transmute(puifonts), ::core::mem::transmute(pscriptfont)).ok() } pub unsafe fn CodePageToScriptID(&self, uicodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CodePageToScriptID)(::windows::core::Interface::as_raw(self), uicodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3167,7 +3167,7 @@ impl IMLangString { (::windows::core::Interface::vtable(self).Sync)(::windows::core::Interface::as_raw(self), fnoaccess.into()).ok() } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMLStr<'a, P0>(&self, ldestpos: i32, ldestlen: i32, psrcmlstr: P0, lsrcpos: i32, lsrclen: i32) -> ::windows::core::Result<()> @@ -3243,7 +3243,7 @@ impl IMLangStringAStr { (::windows::core::Interface::vtable(self).base__.Sync)(::windows::core::Interface::as_raw(self), fnoaccess.into()).ok() } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMLStr<'a, P0>(&self, ldestpos: i32, ldestlen: i32, psrcmlstr: P0, lsrcpos: i32, lsrclen: i32) -> ::windows::core::Result<()> @@ -3368,7 +3368,7 @@ impl IMLangStringBufA { (::windows::core::Interface::vtable(self).UnlockBuf)(::windows::core::Interface::as_raw(self), pszbuf.into(), cchoffset, cchwrite).ok() } pub unsafe fn Insert(&self, cchoffset: i32, cchmaxinsert: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Insert)(::windows::core::Interface::as_raw(self), cchoffset, cchmaxinsert, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self, cchoffset: i32, cchdelete: i32) -> ::windows::core::Result<()> { @@ -3440,7 +3440,7 @@ impl IMLangStringBufW { (::windows::core::Interface::vtable(self).UnlockBuf)(::windows::core::Interface::as_raw(self), pszbuf.into(), cchoffset, cchwrite).ok() } pub unsafe fn Insert(&self, cchoffset: i32, cchmaxinsert: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Insert)(::windows::core::Interface::as_raw(self), cchoffset, cchmaxinsert, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self, cchoffset: i32, cchdelete: i32) -> ::windows::core::Result<()> { @@ -3505,7 +3505,7 @@ impl IMLangStringWStr { (::windows::core::Interface::vtable(self).base__.Sync)(::windows::core::Interface::as_raw(self), fnoaccess.into()).ok() } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMLStr<'a, P0>(&self, ldestpos: i32, ldestlen: i32, psrcmlstr: P0, lsrcpos: i32, lsrclen: i32) -> ::windows::core::Result<()> @@ -3616,19 +3616,19 @@ pub struct IMLangStringWStr_Vtbl { pub struct IMultiLanguage(::windows::core::IUnknown); impl IMultiLanguage { pub unsafe fn GetNumberOfCodePageInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfCodePageInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodePageInfo(&self, uicodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodePageInfo)(::windows::core::Interface::as_raw(self), uicodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFamilyCodePage(&self, uicodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFamilyCodePage)(::windows::core::Interface::as_raw(self), uicodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumCodePages(&self, grfflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCodePages)(::windows::core::Interface::as_raw(self), grfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3637,7 +3637,7 @@ impl IMultiLanguage { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCharsetInfo)(::windows::core::Interface::as_raw(self), charset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsConvertible(&self, dwsrcencoding: u32, dwdstencoding: u32) -> ::windows::core::Result<()> { @@ -3661,7 +3661,7 @@ impl IMultiLanguage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRfc1766FromLcid(&self, locale: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRfc1766FromLcid)(::windows::core::Interface::as_raw(self), locale, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3673,15 +3673,15 @@ impl IMultiLanguage { (::windows::core::Interface::vtable(self).GetLcidFromRfc1766)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plocale), bstrrfc1766.into().abi()).ok() } pub unsafe fn EnumRfc1766(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRfc1766)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRfc1766Info(&self, locale: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRfc1766Info)(::windows::core::Interface::as_raw(self), locale, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateConvertCharset(&self, uisrccodepage: u32, uidstcodepage: u32, dwproperty: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateConvertCharset)(::windows::core::Interface::as_raw(self), uisrccodepage, uidstcodepage, dwproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3754,19 +3754,19 @@ pub struct IMultiLanguage_Vtbl { pub struct IMultiLanguage2(::windows::core::IUnknown); impl IMultiLanguage2 { pub unsafe fn GetNumberOfCodePageInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfCodePageInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodePageInfo(&self, uicodepage: u32, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodePageInfo)(::windows::core::Interface::as_raw(self), uicodepage, langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFamilyCodePage(&self, uicodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFamilyCodePage)(::windows::core::Interface::as_raw(self), uicodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumCodePages(&self, grfflags: u32, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCodePages)(::windows::core::Interface::as_raw(self), grfflags, langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3775,7 +3775,7 @@ impl IMultiLanguage2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCharsetInfo)(::windows::core::Interface::as_raw(self), charset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsConvertible(&self, dwsrcencoding: u32, dwdstencoding: u32) -> ::windows::core::Result<()> { @@ -3799,7 +3799,7 @@ impl IMultiLanguage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRfc1766FromLcid(&self, locale: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRfc1766FromLcid)(::windows::core::Interface::as_raw(self), locale, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3811,15 +3811,15 @@ impl IMultiLanguage2 { (::windows::core::Interface::vtable(self).GetLcidFromRfc1766)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plocale), bstrrfc1766.into().abi()).ok() } pub unsafe fn EnumRfc1766(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRfc1766)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRfc1766Info(&self, locale: u32, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRfc1766Info)(::windows::core::Interface::as_raw(self), locale, langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateConvertCharset(&self, uisrccodepage: u32, uidstcodepage: u32, dwproperty: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateConvertCharset)(::windows::core::Interface::as_raw(self), uisrccodepage, uidstcodepage, dwproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3877,11 +3877,11 @@ impl IMultiLanguage2 { (::windows::core::Interface::vtable(self).SetMimeDBSource)(::windows::core::Interface::as_raw(self), dwsource).ok() } pub unsafe fn GetNumberOfScripts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfScripts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumScripts(&self, dwflags: u32, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumScripts)(::windows::core::Interface::as_raw(self), dwflags, langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3986,19 +3986,19 @@ pub struct IMultiLanguage2_Vtbl { pub struct IMultiLanguage3(::windows::core::IUnknown); impl IMultiLanguage3 { pub unsafe fn GetNumberOfCodePageInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNumberOfCodePageInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodePageInfo(&self, uicodepage: u32, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCodePageInfo)(::windows::core::Interface::as_raw(self), uicodepage, langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFamilyCodePage(&self, uicodepage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFamilyCodePage)(::windows::core::Interface::as_raw(self), uicodepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumCodePages(&self, grfflags: u32, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumCodePages)(::windows::core::Interface::as_raw(self), grfflags, langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4007,7 +4007,7 @@ impl IMultiLanguage3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCharsetInfo)(::windows::core::Interface::as_raw(self), charset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsConvertible(&self, dwsrcencoding: u32, dwdstencoding: u32) -> ::windows::core::Result<()> { @@ -4031,7 +4031,7 @@ impl IMultiLanguage3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRfc1766FromLcid(&self, locale: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRfc1766FromLcid)(::windows::core::Interface::as_raw(self), locale, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4043,15 +4043,15 @@ impl IMultiLanguage3 { (::windows::core::Interface::vtable(self).base__.GetLcidFromRfc1766)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plocale), bstrrfc1766.into().abi()).ok() } pub unsafe fn EnumRfc1766(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumRfc1766)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRfc1766Info(&self, locale: u32, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRfc1766Info)(::windows::core::Interface::as_raw(self), locale, langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateConvertCharset(&self, uisrccodepage: u32, uidstcodepage: u32, dwproperty: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateConvertCharset)(::windows::core::Interface::as_raw(self), uisrccodepage, uidstcodepage, dwproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4109,11 +4109,11 @@ impl IMultiLanguage3 { (::windows::core::Interface::vtable(self).base__.SetMimeDBSource)(::windows::core::Interface::as_raw(self), dwsource).ok() } pub unsafe fn GetNumberOfScripts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNumberOfScripts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumScripts(&self, dwflags: u32, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumScripts)(::windows::core::Interface::as_raw(self), dwflags, langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4205,21 +4205,21 @@ pub struct IMultiLanguage3_Vtbl { pub struct IOptionDescription(::windows::core::IUnknown); impl IOptionDescription { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Heading(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Heading)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Description(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Labels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Labels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4383,14 +4383,14 @@ impl ::core::fmt::Debug for IS_VALID_LOCALE_FLAGS { pub struct ISpellCheckProvider(::windows::core::IUnknown); impl ISpellCheckProvider { pub unsafe fn LanguageTag(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LanguageTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Check<'a, P0>(&self, text: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Check)(::windows::core::Interface::as_raw(self), text.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4399,14 +4399,14 @@ impl ISpellCheckProvider { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Suggest)(::windows::core::Interface::as_raw(self), word.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOptionValue<'a, P0>(&self, optionid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionValue)(::windows::core::Interface::as_raw(self), optionid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOptionValue<'a, P0>(&self, optionid: P0, value: u8) -> ::windows::core::Result<()> @@ -4418,22 +4418,22 @@ impl ISpellCheckProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OptionIds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OptionIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn LocalizedName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalizedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetOptionDescription<'a, P0>(&self, optionid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionDescription)(::windows::core::Interface::as_raw(self), optionid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4511,7 +4511,7 @@ impl ISpellCheckProviderFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedLanguages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedLanguages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4520,14 +4520,14 @@ impl ISpellCheckProviderFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSupported)(::windows::core::Interface::as_raw(self), languagetag.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSpellCheckProvider<'a, P0>(&self, languagetag: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSpellCheckProvider)(::windows::core::Interface::as_raw(self), languagetag.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4585,14 +4585,14 @@ pub struct ISpellCheckProviderFactory_Vtbl { pub struct ISpellChecker(::windows::core::IUnknown); impl ISpellChecker { pub unsafe fn LanguageTag(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LanguageTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Check<'a, P0>(&self, text: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Check)(::windows::core::Interface::as_raw(self), text.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4601,7 +4601,7 @@ impl ISpellChecker { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Suggest)(::windows::core::Interface::as_raw(self), word.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Add<'a, P0>(&self, word: P0) -> ::windows::core::Result<()> @@ -4627,28 +4627,28 @@ impl ISpellChecker { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionValue)(::windows::core::Interface::as_raw(self), optionid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OptionIds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OptionIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn LocalizedName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalizedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn add_SpellCheckerChanged<'a, P0>(&self, handler: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ISpellCheckerChangedEventHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).add_SpellCheckerChanged)(::windows::core::Interface::as_raw(self), handler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn remove_SpellCheckerChanged(&self, eventcookie: u32) -> ::windows::core::Result<()> { @@ -4658,14 +4658,14 @@ impl ISpellChecker { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionDescription)(::windows::core::Interface::as_raw(self), optionid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ComprehensiveCheck<'a, P0>(&self, text: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComprehensiveCheck)(::windows::core::Interface::as_raw(self), text.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4734,14 +4734,14 @@ pub struct ISpellChecker_Vtbl { pub struct ISpellChecker2(::windows::core::IUnknown); impl ISpellChecker2 { pub unsafe fn LanguageTag(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LanguageTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Check<'a, P0>(&self, text: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Check)(::windows::core::Interface::as_raw(self), text.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4750,7 +4750,7 @@ impl ISpellChecker2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Suggest)(::windows::core::Interface::as_raw(self), word.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Add<'a, P0>(&self, word: P0) -> ::windows::core::Result<()> @@ -4776,28 +4776,28 @@ impl ISpellChecker2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOptionValue)(::windows::core::Interface::as_raw(self), optionid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OptionIds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OptionIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn LocalizedName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalizedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn add_SpellCheckerChanged<'a, P0>(&self, handler: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ISpellCheckerChangedEventHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.add_SpellCheckerChanged)(::windows::core::Interface::as_raw(self), handler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn remove_SpellCheckerChanged(&self, eventcookie: u32) -> ::windows::core::Result<()> { @@ -4807,14 +4807,14 @@ impl ISpellChecker2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOptionDescription)(::windows::core::Interface::as_raw(self), optionid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ComprehensiveCheck<'a, P0>(&self, text: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComprehensiveCheck)(::windows::core::Interface::as_raw(self), text.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Remove<'a, P0>(&self, word: P0) -> ::windows::core::Result<()> @@ -4939,7 +4939,7 @@ impl ISpellCheckerFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedLanguages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedLanguages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4948,14 +4948,14 @@ impl ISpellCheckerFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSupported)(::windows::core::Interface::as_raw(self), languagetag.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSpellChecker<'a, P0>(&self, languagetag: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSpellChecker)(::windows::core::Interface::as_raw(self), languagetag.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5013,19 +5013,19 @@ pub struct ISpellCheckerFactory_Vtbl { pub struct ISpellingError(::windows::core::IUnknown); impl ISpellingError { pub unsafe fn StartIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CorrectiveAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CorrectiveAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Replacement(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Replacement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -7588,7 +7588,7 @@ pub unsafe fn ScriptBreak(pwcchars: &[u16], psa: *const SCRIPT_ANALYSIS) -> ::wi extern "system" { fn ScriptBreak(pwcchars: ::windows::core::PCWSTR, cchars: i32, psa: *const SCRIPT_ANALYSIS, psla: *mut SCRIPT_LOGATTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ScriptBreak(::core::mem::transmute(::windows::core::as_ptr_or_null(pwcchars)), pwcchars.len() as _, ::core::mem::transmute(psa), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -7769,7 +7769,7 @@ pub unsafe fn ScriptJustify(psva: *const SCRIPT_VISATTR, piadvance: *const i32, extern "system" { fn ScriptJustify(psva: *const SCRIPT_VISATTR, piadvance: *const i32, cglyphs: i32, idx: i32, iminkashida: i32, pijustify: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ScriptJustify(::core::mem::transmute(psva), ::core::mem::transmute(piadvance), ::core::mem::transmute(cglyphs), idx, iminkashida, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7847,7 +7847,7 @@ pub unsafe fn ScriptRecordDigitSubstitution(locale: u32) -> ::windows::core::Res extern "system" { fn ScriptRecordDigitSubstitution(locale: u32, psds: *mut SCRIPT_DIGITSUBSTITUTE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ScriptRecordDigitSubstitution(locale, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -7918,7 +7918,7 @@ where extern "system" { fn ScriptStringCPtoX(ssa: *const ::core::ffi::c_void, icp: i32, ftrailing: super::Foundation::BOOL, px: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ScriptStringCPtoX(::core::mem::transmute(ssa), icp, ftrailing.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] 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 d8c18bc1f2..79709bee30 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs @@ -398,11 +398,11 @@ impl IPresentationBuffer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAvailableEvent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailableEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -511,7 +511,7 @@ impl IPresentationFactory { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsPresentationSupportedWithIndependentFlip)(::windows::core::Interface::as_raw(self))) } pub unsafe fn CreatePresentationManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePresentationManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -566,7 +566,7 @@ impl IPresentationManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBufferFromResource)(::windows::core::Interface::as_raw(self), resource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -575,7 +575,7 @@ impl IPresentationManager { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePresentationSurface)(::windows::core::Interface::as_raw(self), compositionsurfacehandle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextPresentId(&self) -> u64 { @@ -594,7 +594,7 @@ impl IPresentationManager { (::windows::core::Interface::vtable(self).Present)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetPresentRetiringFence(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<*mut ::core::ffi::c_void> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPresentRetiringFence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut ::core::ffi::c_void>(result__) } pub unsafe fn CancelPresentsFrom(&self, presentidtocancelfrom: u64) -> ::windows::core::Result<()> { @@ -603,20 +603,20 @@ impl IPresentationManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLostEvent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLostEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPresentStatisticsAvailableEvent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPresentStatisticsAvailableEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnablePresentStatisticsKind(&self, presentstatisticskind: PresentStatisticsKind, enabled: u8) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).EnablePresentStatisticsKind)(::windows::core::Interface::as_raw(self), presentstatisticskind, enabled).ok() } pub unsafe fn GetNextPresentStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextPresentStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 59890d6197..12d7bd2fa7 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs @@ -329,7 +329,7 @@ impl IDXCoreAdapter { (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), property, buffersize, ::core::mem::transmute(propertydata)).ok() } pub unsafe fn GetPropertySize(&self, property: DXCoreAdapterProperty) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertySize)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsQueryStateSupported(&self, property: DXCoreAdapterState) -> bool { @@ -429,7 +429,7 @@ impl IDXCoreAdapterFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterEventNotification)(::windows::core::Interface::as_raw(self), dxcoreobject.into().abi(), notificationtype, ::core::mem::transmute(callbackfunction), ::core::mem::transmute(callbackcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterEventNotification(&self, eventcookie: u32) -> ::windows::core::Result<()> { 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 9dbc6e4288..9ab5de5739 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -96,7 +96,7 @@ where extern "system" { fn D2D1CreateDevice(dxgidevice: *mut ::core::ffi::c_void, creationproperties: *const D2D1_CREATION_PROPERTIES, d2ddevice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D2D1CreateDevice(dxgidevice.into().abi(), ::core::mem::transmute(creationproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`*"] @@ -110,7 +110,7 @@ where extern "system" { fn D2D1CreateDeviceContext(dxgisurface: *mut ::core::ffi::c_void, creationproperties: *const D2D1_CREATION_PROPERTIES, d2ddevicecontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D2D1CreateDeviceContext(dxgisurface.into().abi(), ::core::mem::transmute(creationproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] @@ -8304,11 +8304,11 @@ impl ID2D1Bitmap1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetSurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Map(&self, options: D2D1_MAP_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Map)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unmap(&self) -> ::windows::core::Result<()> { @@ -8691,7 +8691,7 @@ impl ID2D1BitmapRenderTarget { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -8700,7 +8700,7 @@ impl ID2D1BitmapRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8714,19 +8714,19 @@ impl ID2D1BitmapRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -8735,7 +8735,7 @@ impl ID2D1BitmapRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -8744,23 +8744,23 @@ impl ID2D1BitmapRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -9011,7 +9011,7 @@ impl ID2D1BitmapRenderTarget { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.IsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties))) } pub unsafe fn GetBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9560,7 +9560,7 @@ impl ID2D1ColorContext1 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetSimpleColorProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSimpleColorProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11442,7 +11442,7 @@ impl ID2D1ComputeTransform { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MapInvalidRect(&self, inputindex: u32, invalidinputrect: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MapInvalidRect)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(invalidinputrect), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetComputeInfo<'a, P0>(&self, computeinfo: P0) -> ::windows::core::Result<()> @@ -11621,7 +11621,7 @@ impl ID2D1DCRenderTarget { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -11630,7 +11630,7 @@ impl ID2D1DCRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -11644,19 +11644,19 @@ impl ID2D1DCRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -11665,7 +11665,7 @@ impl ID2D1DCRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -11674,23 +11674,23 @@ impl ID2D1DCRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -12031,7 +12031,7 @@ impl ID2D1Device { (::windows::core::Interface::vtable(self).base__.GetFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(factory)) } pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeviceContext)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`*"] @@ -12041,7 +12041,7 @@ impl ID2D1Device { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICImagingFactory>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::Printing::IPrintDocumentPackageTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePrintControl)(::windows::core::Interface::as_raw(self), wicfactory.into().abi(), documenttarget.into().abi(), ::core::mem::transmute(printcontrolproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumTextureMemory(&self, maximuminbytes: u64) { @@ -12125,7 +12125,7 @@ impl ID2D1Device1 { (::windows::core::Interface::vtable(self).base__.base__.GetFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(factory)) } pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeviceContext)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`*"] @@ -12135,7 +12135,7 @@ impl ID2D1Device1 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICImagingFactory>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::Printing::IPrintDocumentPackageTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePrintControl)(::windows::core::Interface::as_raw(self), wicfactory.into().abi(), documenttarget.into().abi(), ::core::mem::transmute(printcontrolproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumTextureMemory(&self, maximuminbytes: u64) { @@ -12154,7 +12154,7 @@ impl ID2D1Device1 { (::windows::core::Interface::vtable(self).SetRenderingPriority)(::windows::core::Interface::as_raw(self), renderingpriority) } pub unsafe fn CreateDeviceContext2(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeviceContext2)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12239,7 +12239,7 @@ impl ID2D1Device2 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(factory)) } pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDeviceContext)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`*"] @@ -12249,7 +12249,7 @@ impl ID2D1Device2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICImagingFactory>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::Printing::IPrintDocumentPackageTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreatePrintControl)(::windows::core::Interface::as_raw(self), wicfactory.into().abi(), documenttarget.into().abi(), ::core::mem::transmute(printcontrolproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumTextureMemory(&self, maximuminbytes: u64) { @@ -12268,11 +12268,11 @@ impl ID2D1Device2 { (::windows::core::Interface::vtable(self).base__.SetRenderingPriority)(::windows::core::Interface::as_raw(self), renderingpriority) } pub unsafe fn CreateDeviceContext2(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeviceContext2)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext3(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeviceContext3)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FlushDeviceContexts<'a, P0>(&self, bitmap: P0) @@ -12284,7 +12284,7 @@ impl ID2D1Device2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetDxgiDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDxgiDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12387,7 +12387,7 @@ impl ID2D1Device3 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(factory)) } pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeviceContext)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`*"] @@ -12397,7 +12397,7 @@ impl ID2D1Device3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICImagingFactory>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::Printing::IPrintDocumentPackageTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreatePrintControl)(::windows::core::Interface::as_raw(self), wicfactory.into().abi(), documenttarget.into().abi(), ::core::mem::transmute(printcontrolproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumTextureMemory(&self, maximuminbytes: u64) { @@ -12416,11 +12416,11 @@ impl ID2D1Device3 { (::windows::core::Interface::vtable(self).base__.base__.SetRenderingPriority)(::windows::core::Interface::as_raw(self), renderingpriority) } pub unsafe fn CreateDeviceContext2(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDeviceContext2)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext3(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeviceContext3)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FlushDeviceContexts<'a, P0>(&self, bitmap: P0) @@ -12432,11 +12432,11 @@ impl ID2D1Device3 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetDxgiDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDxgiDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext4(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeviceContext4)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12549,7 +12549,7 @@ impl ID2D1Device4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(factory)) } pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDeviceContext)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`*"] @@ -12559,7 +12559,7 @@ impl ID2D1Device4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICImagingFactory>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::Printing::IPrintDocumentPackageTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreatePrintControl)(::windows::core::Interface::as_raw(self), wicfactory.into().abi(), documenttarget.into().abi(), ::core::mem::transmute(printcontrolproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumTextureMemory(&self, maximuminbytes: u64) { @@ -12578,11 +12578,11 @@ impl ID2D1Device4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetRenderingPriority)(::windows::core::Interface::as_raw(self), renderingpriority) } pub unsafe fn CreateDeviceContext2(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeviceContext2)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext3(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDeviceContext3)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FlushDeviceContexts<'a, P0>(&self, bitmap: P0) @@ -12594,15 +12594,15 @@ impl ID2D1Device4 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetDxgiDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDxgiDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext4(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeviceContext4)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext5(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeviceContext5)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumColorGlyphCacheMemory(&self, maximuminbytes: u64) { @@ -12738,7 +12738,7 @@ impl ID2D1Device5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(factory)) } pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDeviceContext)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`*"] @@ -12748,7 +12748,7 @@ impl ID2D1Device5 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICImagingFactory>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::Printing::IPrintDocumentPackageTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePrintControl)(::windows::core::Interface::as_raw(self), wicfactory.into().abi(), documenttarget.into().abi(), ::core::mem::transmute(printcontrolproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumTextureMemory(&self, maximuminbytes: u64) { @@ -12767,11 +12767,11 @@ impl ID2D1Device5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetRenderingPriority)(::windows::core::Interface::as_raw(self), renderingpriority) } pub unsafe fn CreateDeviceContext2(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDeviceContext2)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext3(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeviceContext3)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FlushDeviceContexts<'a, P0>(&self, bitmap: P0) @@ -12783,15 +12783,15 @@ impl ID2D1Device5 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetDxgiDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDxgiDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext4(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDeviceContext4)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext5(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeviceContext5)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumColorGlyphCacheMemory(&self, maximuminbytes: u64) { @@ -12801,7 +12801,7 @@ impl ID2D1Device5 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetMaximumColorGlyphCacheMemory)(::windows::core::Interface::as_raw(self))) } pub unsafe fn CreateDeviceContext6(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeviceContext6)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12944,7 +12944,7 @@ impl ID2D1Device6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(factory)) } pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateDeviceContext)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`*"] @@ -12954,7 +12954,7 @@ impl ID2D1Device6 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICImagingFactory>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::Printing::IPrintDocumentPackageTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreatePrintControl)(::windows::core::Interface::as_raw(self), wicfactory.into().abi(), documenttarget.into().abi(), ::core::mem::transmute(printcontrolproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumTextureMemory(&self, maximuminbytes: u64) { @@ -12973,11 +12973,11 @@ impl ID2D1Device6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetRenderingPriority)(::windows::core::Interface::as_raw(self), renderingpriority) } pub unsafe fn CreateDeviceContext2(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDeviceContext2)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext3(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDeviceContext3)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FlushDeviceContexts<'a, P0>(&self, bitmap: P0) @@ -12989,15 +12989,15 @@ impl ID2D1Device6 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetDxgiDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDxgiDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext4(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeviceContext4)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext5(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDeviceContext5)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumColorGlyphCacheMemory(&self, maximuminbytes: u64) { @@ -13007,11 +13007,11 @@ impl ID2D1Device6 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.GetMaximumColorGlyphCacheMemory)(::windows::core::Interface::as_raw(self))) } pub unsafe fn CreateDeviceContext6(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeviceContext6)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeviceContext7(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeviceContext7)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13171,7 +13171,7 @@ impl ID2D1DeviceContext { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -13180,7 +13180,7 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -13194,19 +13194,19 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -13215,7 +13215,7 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -13224,23 +13224,23 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -13493,7 +13493,7 @@ impl ID2D1DeviceContext { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap2(&self, size: Common::D2D_SIZE_U, sourcedata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmap2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(sourcedata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -13502,18 +13502,18 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFromWicBitmap2)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -13522,7 +13522,7 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -13531,17 +13531,17 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFromDxgiSurface)(::windows::core::Interface::as_raw(self), surface.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection2(&self, straightalphagradientstops: &[D2D1_GRADIENT_STOP], preinterpolationspace: D2D1_COLOR_SPACE, postinterpolationspace: D2D1_COLOR_SPACE, bufferprecision: D2D1_BUFFER_PRECISION, extendmode: D2D1_EXTEND_MODE, colorinterpolationmode: D2D1_COLOR_INTERPOLATION_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGradientStopCollection2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(straightalphagradientstops)), straightalphagradientstops.len() as _, preinterpolationspace, postinterpolationspace, bufferprecision, extendmode, colorinterpolationmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -13550,7 +13550,7 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateImageBrush)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(imagebrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -13559,11 +13559,11 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapBrush2)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCommandList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCommandList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -13582,7 +13582,7 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageLocalBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -13591,13 +13591,13 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageWorldBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite"))] pub unsafe fn GetGlyphRunWorldBounds(&self, baselineorigin: Common::D2D_POINT_2F, glyphrun: *const super::DirectWrite::DWRITE_GLYPH_RUN, measuringmode: super::DirectWrite::DWRITE_MEASURING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlyphRunWorldBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDevice(&self, device: *mut ::core::option::Option) { @@ -13686,7 +13686,7 @@ impl ID2D1DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectInvalidRectangleCount)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -13899,7 +13899,7 @@ impl ID2D1DeviceContext1 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -13908,7 +13908,7 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -13922,19 +13922,19 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -13943,7 +13943,7 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -13952,23 +13952,23 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -14221,7 +14221,7 @@ impl ID2D1DeviceContext1 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap2(&self, size: Common::D2D_SIZE_U, sourcedata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmap2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(sourcedata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -14230,18 +14230,18 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromWicBitmap2)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -14250,7 +14250,7 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -14259,17 +14259,17 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromDxgiSurface)(::windows::core::Interface::as_raw(self), surface.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection2(&self, straightalphagradientstops: &[D2D1_GRADIENT_STOP], preinterpolationspace: D2D1_COLOR_SPACE, postinterpolationspace: D2D1_COLOR_SPACE, bufferprecision: D2D1_BUFFER_PRECISION, extendmode: D2D1_EXTEND_MODE, colorinterpolationmode: D2D1_COLOR_INTERPOLATION_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGradientStopCollection2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(straightalphagradientstops)), straightalphagradientstops.len() as _, preinterpolationspace, postinterpolationspace, bufferprecision, extendmode, colorinterpolationmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -14278,7 +14278,7 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateImageBrush)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(imagebrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -14287,11 +14287,11 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapBrush2)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCommandList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCommandList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -14310,7 +14310,7 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetImageLocalBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -14319,13 +14319,13 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetImageWorldBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite"))] pub unsafe fn GetGlyphRunWorldBounds(&self, baselineorigin: Common::D2D_POINT_2F, glyphrun: *const super::DirectWrite::DWRITE_GLYPH_RUN, measuringmode: super::DirectWrite::DWRITE_MEASURING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGlyphRunWorldBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDevice(&self, device: *mut ::core::option::Option) { @@ -14414,7 +14414,7 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEffectInvalidRectangleCount)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -14446,7 +14446,7 @@ impl ID2D1DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFilledGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokedGeometryRealization<'a, P0, P1>(&self, geometry: P0, flatteningtolerance: f32, strokewidth: f32, strokestyle: P1) -> ::windows::core::Result @@ -14454,7 +14454,7 @@ impl ID2D1DeviceContext1 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStrokedGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, strokewidth, strokestyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawGeometryRealization<'a, P0, P1>(&self, geometryrealization: P0, brush: P1) @@ -14563,7 +14563,7 @@ impl ID2D1DeviceContext2 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -14572,7 +14572,7 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -14586,19 +14586,19 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -14607,7 +14607,7 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -14616,23 +14616,23 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -14885,7 +14885,7 @@ impl ID2D1DeviceContext2 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap2(&self, size: Common::D2D_SIZE_U, sourcedata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBitmap2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(sourcedata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -14894,18 +14894,18 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBitmapFromWicBitmap2)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -14914,7 +14914,7 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -14923,17 +14923,17 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBitmapFromDxgiSurface)(::windows::core::Interface::as_raw(self), surface.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection2(&self, straightalphagradientstops: &[D2D1_GRADIENT_STOP], preinterpolationspace: D2D1_COLOR_SPACE, postinterpolationspace: D2D1_COLOR_SPACE, bufferprecision: D2D1_BUFFER_PRECISION, extendmode: D2D1_EXTEND_MODE, colorinterpolationmode: D2D1_COLOR_INTERPOLATION_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGradientStopCollection2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(straightalphagradientstops)), straightalphagradientstops.len() as _, preinterpolationspace, postinterpolationspace, bufferprecision, extendmode, colorinterpolationmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -14942,7 +14942,7 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateImageBrush)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(imagebrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -14951,11 +14951,11 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBitmapBrush2)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCommandList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCommandList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -14974,7 +14974,7 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetImageLocalBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -14983,13 +14983,13 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetImageWorldBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite"))] pub unsafe fn GetGlyphRunWorldBounds(&self, baselineorigin: Common::D2D_POINT_2F, glyphrun: *const super::DirectWrite::DWRITE_GLYPH_RUN, measuringmode: super::DirectWrite::DWRITE_MEASURING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGlyphRunWorldBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDevice(&self, device: *mut ::core::option::Option) { @@ -15078,7 +15078,7 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEffectInvalidRectangleCount)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -15110,7 +15110,7 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFilledGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokedGeometryRealization<'a, P0, P1>(&self, geometry: P0, flatteningtolerance: f32, strokewidth: f32, strokestyle: P1) -> ::windows::core::Result @@ -15118,7 +15118,7 @@ impl ID2D1DeviceContext2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStrokedGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, strokewidth, strokestyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawGeometryRealization<'a, P0, P1>(&self, geometryrealization: P0, brush: P1) @@ -15129,19 +15129,19 @@ impl ID2D1DeviceContext2 { (::windows::core::Interface::vtable(self).base__.DrawGeometryRealization)(::windows::core::Interface::as_raw(self), geometryrealization.into().abi(), brush.into().abi()) } pub unsafe fn CreateInk(&self, startpoint: *const D2D1_INK_POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(startpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn CreateInkStyle(&self, inkstyleproperties: *const D2D1_INK_STYLE_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInkStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(inkstyleproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientMesh(&self, patches: &[D2D1_GRADIENT_MESH_PATCH]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGradientMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(patches)), patches.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -15150,17 +15150,17 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateImageSourceFromWic)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), loadingoptions, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLookupTable3D(&self, precision: D2D1_BUFFER_PRECISION, extents: &[u32; 3], data: &[u8], strides: &[u32; 2]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLookupTable3D)(::windows::core::Interface::as_raw(self), precision, ::core::mem::transmute(::windows::core::as_ptr_or_null(extents)), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), data.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(strides)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateImageSourceFromDxgi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(surfaces)), surfaces.len() as _, colorspace, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -15169,7 +15169,7 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientMesh>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGradientMeshWorldBounds)(::windows::core::Interface::as_raw(self), gradientmesh.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawInk<'a, P0, P1, P2>(&self, ink: P0, brush: P1, inkstyle: P2) @@ -15198,7 +15198,7 @@ impl ID2D1DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1ImageSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransformedImageSource)(::windows::core::Interface::as_raw(self), imagesource.into().abi(), ::core::mem::transmute(properties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15341,7 +15341,7 @@ impl ID2D1DeviceContext3 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -15350,7 +15350,7 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -15364,19 +15364,19 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -15385,7 +15385,7 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -15394,23 +15394,23 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -15663,7 +15663,7 @@ impl ID2D1DeviceContext3 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap2(&self, size: Common::D2D_SIZE_U, sourcedata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBitmap2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(sourcedata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -15672,18 +15672,18 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBitmapFromWicBitmap2)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -15692,7 +15692,7 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -15701,17 +15701,17 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBitmapFromDxgiSurface)(::windows::core::Interface::as_raw(self), surface.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection2(&self, straightalphagradientstops: &[D2D1_GRADIENT_STOP], preinterpolationspace: D2D1_COLOR_SPACE, postinterpolationspace: D2D1_COLOR_SPACE, bufferprecision: D2D1_BUFFER_PRECISION, extendmode: D2D1_EXTEND_MODE, colorinterpolationmode: D2D1_COLOR_INTERPOLATION_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGradientStopCollection2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(straightalphagradientstops)), straightalphagradientstops.len() as _, preinterpolationspace, postinterpolationspace, bufferprecision, extendmode, colorinterpolationmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -15720,7 +15720,7 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateImageBrush)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(imagebrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -15729,11 +15729,11 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBitmapBrush2)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCommandList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCommandList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -15752,7 +15752,7 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetImageLocalBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -15761,13 +15761,13 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetImageWorldBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite"))] pub unsafe fn GetGlyphRunWorldBounds(&self, baselineorigin: Common::D2D_POINT_2F, glyphrun: *const super::DirectWrite::DWRITE_GLYPH_RUN, measuringmode: super::DirectWrite::DWRITE_MEASURING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetGlyphRunWorldBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDevice(&self, device: *mut ::core::option::Option) { @@ -15856,7 +15856,7 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetEffectInvalidRectangleCount)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -15888,7 +15888,7 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFilledGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokedGeometryRealization<'a, P0, P1>(&self, geometry: P0, flatteningtolerance: f32, strokewidth: f32, strokestyle: P1) -> ::windows::core::Result @@ -15896,7 +15896,7 @@ impl ID2D1DeviceContext3 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateStrokedGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, strokewidth, strokestyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawGeometryRealization<'a, P0, P1>(&self, geometryrealization: P0, brush: P1) @@ -15907,19 +15907,19 @@ impl ID2D1DeviceContext3 { (::windows::core::Interface::vtable(self).base__.base__.DrawGeometryRealization)(::windows::core::Interface::as_raw(self), geometryrealization.into().abi(), brush.into().abi()) } pub unsafe fn CreateInk(&self, startpoint: *const D2D1_INK_POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(startpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn CreateInkStyle(&self, inkstyleproperties: *const D2D1_INK_STYLE_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateInkStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(inkstyleproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientMesh(&self, patches: &[D2D1_GRADIENT_MESH_PATCH]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGradientMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(patches)), patches.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -15928,17 +15928,17 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateImageSourceFromWic)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), loadingoptions, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLookupTable3D(&self, precision: D2D1_BUFFER_PRECISION, extents: &[u32; 3], data: &[u8], strides: &[u32; 2]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLookupTable3D)(::windows::core::Interface::as_raw(self), precision, ::core::mem::transmute(::windows::core::as_ptr_or_null(extents)), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), data.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(strides)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateImageSourceFromDxgi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(surfaces)), surfaces.len() as _, colorspace, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -15947,7 +15947,7 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientMesh>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGradientMeshWorldBounds)(::windows::core::Interface::as_raw(self), gradientmesh.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawInk<'a, P0, P1, P2>(&self, ink: P0, brush: P1, inkstyle: P2) @@ -15976,11 +15976,11 @@ impl ID2D1DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1ImageSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTransformedImageSource)(::windows::core::Interface::as_raw(self), imagesource.into().abi(), ::core::mem::transmute(properties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSpriteBatch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSpriteBatch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawSpriteBatch<'a, P0, P1>(&self, spritebatch: P0, startindex: u32, spritecount: u32, bitmap: P1, interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE, spriteoptions: D2D1_SPRITE_OPTIONS) @@ -16118,7 +16118,7 @@ impl ID2D1DeviceContext4 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -16127,7 +16127,7 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -16141,19 +16141,19 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -16162,7 +16162,7 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -16171,23 +16171,23 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -16440,7 +16440,7 @@ impl ID2D1DeviceContext4 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap2(&self, size: Common::D2D_SIZE_U, sourcedata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBitmap2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(sourcedata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -16449,18 +16449,18 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBitmapFromWicBitmap2)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -16469,7 +16469,7 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -16478,17 +16478,17 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBitmapFromDxgiSurface)(::windows::core::Interface::as_raw(self), surface.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection2(&self, straightalphagradientstops: &[D2D1_GRADIENT_STOP], preinterpolationspace: D2D1_COLOR_SPACE, postinterpolationspace: D2D1_COLOR_SPACE, bufferprecision: D2D1_BUFFER_PRECISION, extendmode: D2D1_EXTEND_MODE, colorinterpolationmode: D2D1_COLOR_INTERPOLATION_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGradientStopCollection2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(straightalphagradientstops)), straightalphagradientstops.len() as _, preinterpolationspace, postinterpolationspace, bufferprecision, extendmode, colorinterpolationmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -16497,7 +16497,7 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateImageBrush)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(imagebrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -16506,11 +16506,11 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBitmapBrush2)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCommandList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -16529,7 +16529,7 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetImageLocalBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -16538,13 +16538,13 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetImageWorldBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite"))] pub unsafe fn GetGlyphRunWorldBounds(&self, baselineorigin: Common::D2D_POINT_2F, glyphrun: *const super::DirectWrite::DWRITE_GLYPH_RUN, measuringmode: super::DirectWrite::DWRITE_MEASURING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetGlyphRunWorldBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDevice(&self, device: *mut ::core::option::Option) { @@ -16633,7 +16633,7 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetEffectInvalidRectangleCount)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -16665,7 +16665,7 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFilledGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokedGeometryRealization<'a, P0, P1>(&self, geometry: P0, flatteningtolerance: f32, strokewidth: f32, strokestyle: P1) -> ::windows::core::Result @@ -16673,7 +16673,7 @@ impl ID2D1DeviceContext4 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateStrokedGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, strokewidth, strokestyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawGeometryRealization<'a, P0, P1>(&self, geometryrealization: P0, brush: P1) @@ -16684,19 +16684,19 @@ impl ID2D1DeviceContext4 { (::windows::core::Interface::vtable(self).base__.base__.base__.DrawGeometryRealization)(::windows::core::Interface::as_raw(self), geometryrealization.into().abi(), brush.into().abi()) } pub unsafe fn CreateInk(&self, startpoint: *const D2D1_INK_POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(startpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn CreateInkStyle(&self, inkstyleproperties: *const D2D1_INK_STYLE_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateInkStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(inkstyleproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientMesh(&self, patches: &[D2D1_GRADIENT_MESH_PATCH]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGradientMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(patches)), patches.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -16705,17 +16705,17 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateImageSourceFromWic)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), loadingoptions, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLookupTable3D(&self, precision: D2D1_BUFFER_PRECISION, extents: &[u32; 3], data: &[u8], strides: &[u32; 2]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateLookupTable3D)(::windows::core::Interface::as_raw(self), precision, ::core::mem::transmute(::windows::core::as_ptr_or_null(extents)), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), data.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(strides)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateImageSourceFromDxgi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(surfaces)), surfaces.len() as _, colorspace, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -16724,7 +16724,7 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientMesh>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGradientMeshWorldBounds)(::windows::core::Interface::as_raw(self), gradientmesh.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawInk<'a, P0, P1, P2>(&self, ink: P0, brush: P1, inkstyle: P2) @@ -16753,11 +16753,11 @@ impl ID2D1DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1ImageSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTransformedImageSource)(::windows::core::Interface::as_raw(self), imagesource.into().abi(), ::core::mem::transmute(properties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSpriteBatch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSpriteBatch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawSpriteBatch<'a, P0, P1>(&self, spritebatch: P0, startindex: u32, spritecount: u32, bitmap: P1, interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE, spriteoptions: D2D1_SPRITE_OPTIONS) @@ -16768,7 +16768,7 @@ impl ID2D1DeviceContext4 { (::windows::core::Interface::vtable(self).base__.DrawSpriteBatch)(::windows::core::Interface::as_raw(self), spritebatch.into().abi(), startindex, spritecount, bitmap.into().abi(), interpolationmode, spriteoptions) } pub unsafe fn CreateSvgGlyphStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSvgGlyphStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -16991,7 +16991,7 @@ impl ID2D1DeviceContext5 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -17000,7 +17000,7 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17014,19 +17014,19 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -17035,7 +17035,7 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -17044,23 +17044,23 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -17313,7 +17313,7 @@ impl ID2D1DeviceContext5 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap2(&self, size: Common::D2D_SIZE_U, sourcedata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBitmap2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(sourcedata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -17322,18 +17322,18 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBitmapFromWicBitmap2)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -17342,7 +17342,7 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17351,17 +17351,17 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBitmapFromDxgiSurface)(::windows::core::Interface::as_raw(self), surface.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection2(&self, straightalphagradientstops: &[D2D1_GRADIENT_STOP], preinterpolationspace: D2D1_COLOR_SPACE, postinterpolationspace: D2D1_COLOR_SPACE, bufferprecision: D2D1_BUFFER_PRECISION, extendmode: D2D1_EXTEND_MODE, colorinterpolationmode: D2D1_COLOR_INTERPOLATION_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGradientStopCollection2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(straightalphagradientstops)), straightalphagradientstops.len() as _, preinterpolationspace, postinterpolationspace, bufferprecision, extendmode, colorinterpolationmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -17370,7 +17370,7 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateImageBrush)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(imagebrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -17379,11 +17379,11 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBitmapBrush2)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCommandList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17402,7 +17402,7 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetImageLocalBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -17411,13 +17411,13 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetImageWorldBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite"))] pub unsafe fn GetGlyphRunWorldBounds(&self, baselineorigin: Common::D2D_POINT_2F, glyphrun: *const super::DirectWrite::DWRITE_GLYPH_RUN, measuringmode: super::DirectWrite::DWRITE_MEASURING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetGlyphRunWorldBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDevice(&self, device: *mut ::core::option::Option) { @@ -17506,7 +17506,7 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetEffectInvalidRectangleCount)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -17538,7 +17538,7 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateFilledGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokedGeometryRealization<'a, P0, P1>(&self, geometry: P0, flatteningtolerance: f32, strokewidth: f32, strokestyle: P1) -> ::windows::core::Result @@ -17546,7 +17546,7 @@ impl ID2D1DeviceContext5 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateStrokedGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, strokewidth, strokestyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawGeometryRealization<'a, P0, P1>(&self, geometryrealization: P0, brush: P1) @@ -17557,19 +17557,19 @@ impl ID2D1DeviceContext5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DrawGeometryRealization)(::windows::core::Interface::as_raw(self), geometryrealization.into().abi(), brush.into().abi()) } pub unsafe fn CreateInk(&self, startpoint: *const D2D1_INK_POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(startpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn CreateInkStyle(&self, inkstyleproperties: *const D2D1_INK_STYLE_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateInkStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(inkstyleproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientMesh(&self, patches: &[D2D1_GRADIENT_MESH_PATCH]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGradientMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(patches)), patches.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -17578,17 +17578,17 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateImageSourceFromWic)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), loadingoptions, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLookupTable3D(&self, precision: D2D1_BUFFER_PRECISION, extents: &[u32; 3], data: &[u8], strides: &[u32; 2]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateLookupTable3D)(::windows::core::Interface::as_raw(self), precision, ::core::mem::transmute(::windows::core::as_ptr_or_null(extents)), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), data.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(strides)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateImageSourceFromDxgi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(surfaces)), surfaces.len() as _, colorspace, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -17597,7 +17597,7 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientMesh>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetGradientMeshWorldBounds)(::windows::core::Interface::as_raw(self), gradientmesh.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawInk<'a, P0, P1, P2>(&self, ink: P0, brush: P1, inkstyle: P2) @@ -17626,11 +17626,11 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1ImageSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTransformedImageSource)(::windows::core::Interface::as_raw(self), imagesource.into().abi(), ::core::mem::transmute(properties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSpriteBatch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSpriteBatch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawSpriteBatch<'a, P0, P1>(&self, spritebatch: P0, startindex: u32, spritecount: u32, bitmap: P1, interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE, spriteoptions: D2D1_SPRITE_OPTIONS) @@ -17641,7 +17641,7 @@ impl ID2D1DeviceContext5 { (::windows::core::Interface::vtable(self).base__.base__.DrawSpriteBatch)(::windows::core::Interface::as_raw(self), spritebatch.into().abi(), startindex, spritecount, bitmap.into().abi(), interpolationmode, spriteoptions) } pub unsafe fn CreateSvgGlyphStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSvgGlyphStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -17704,7 +17704,7 @@ impl ID2D1DeviceContext5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSvgDocument)(::windows::core::Interface::as_raw(self), inputxmlstream.into().abi(), ::core::mem::transmute(viewportsize), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawSvgDocument<'a, P0>(&self, svgdocument: P0) @@ -17716,13 +17716,13 @@ impl ID2D1DeviceContext5 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateColorContextFromDxgiColorSpace(&self, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContextFromDxgiColorSpace)(::windows::core::Interface::as_raw(self), colorspace, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateColorContextFromSimpleColorProfile(&self, simpleprofile: *const D2D1_SIMPLE_COLOR_PROFILE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContextFromSimpleColorProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(simpleprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17894,7 +17894,7 @@ impl ID2D1DeviceContext6 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -17903,7 +17903,7 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17917,19 +17917,19 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -17938,7 +17938,7 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -17947,23 +17947,23 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -18216,7 +18216,7 @@ impl ID2D1DeviceContext6 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap2(&self, size: Common::D2D_SIZE_U, sourcedata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateBitmap2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(sourcedata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -18225,18 +18225,18 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateBitmapFromWicBitmap2)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -18245,7 +18245,7 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18254,17 +18254,17 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateBitmapFromDxgiSurface)(::windows::core::Interface::as_raw(self), surface.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection2(&self, straightalphagradientstops: &[D2D1_GRADIENT_STOP], preinterpolationspace: D2D1_COLOR_SPACE, postinterpolationspace: D2D1_COLOR_SPACE, bufferprecision: D2D1_BUFFER_PRECISION, extendmode: D2D1_EXTEND_MODE, colorinterpolationmode: D2D1_COLOR_INTERPOLATION_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateGradientStopCollection2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(straightalphagradientstops)), straightalphagradientstops.len() as _, preinterpolationspace, postinterpolationspace, bufferprecision, extendmode, colorinterpolationmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -18273,7 +18273,7 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateImageBrush)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(imagebrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -18282,11 +18282,11 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateBitmapBrush2)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCommandList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18305,7 +18305,7 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetImageLocalBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -18314,13 +18314,13 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Image>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetImageWorldBounds)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite"))] pub unsafe fn GetGlyphRunWorldBounds(&self, baselineorigin: Common::D2D_POINT_2F, glyphrun: *const super::DirectWrite::DWRITE_GLYPH_RUN, measuringmode: super::DirectWrite::DWRITE_MEASURING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetGlyphRunWorldBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDevice(&self, device: *mut ::core::option::Option) { @@ -18409,7 +18409,7 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetEffectInvalidRectangleCount)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -18441,7 +18441,7 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateFilledGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokedGeometryRealization<'a, P0, P1>(&self, geometry: P0, flatteningtolerance: f32, strokewidth: f32, strokestyle: P1) -> ::windows::core::Result @@ -18449,7 +18449,7 @@ impl ID2D1DeviceContext6 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateStrokedGeometryRealization)(::windows::core::Interface::as_raw(self), geometry.into().abi(), flatteningtolerance, strokewidth, strokestyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawGeometryRealization<'a, P0, P1>(&self, geometryrealization: P0, brush: P1) @@ -18460,19 +18460,19 @@ impl ID2D1DeviceContext6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.DrawGeometryRealization)(::windows::core::Interface::as_raw(self), geometryrealization.into().abi(), brush.into().abi()) } pub unsafe fn CreateInk(&self, startpoint: *const D2D1_INK_POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(startpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn CreateInkStyle(&self, inkstyleproperties: *const D2D1_INK_STYLE_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateInkStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(inkstyleproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientMesh(&self, patches: &[D2D1_GRADIENT_MESH_PATCH]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGradientMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(patches)), patches.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -18481,17 +18481,17 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateImageSourceFromWic)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), loadingoptions, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLookupTable3D(&self, precision: D2D1_BUFFER_PRECISION, extents: &[u32; 3], data: &[u8], strides: &[u32; 2]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateLookupTable3D)(::windows::core::Interface::as_raw(self), precision, ::core::mem::transmute(::windows::core::as_ptr_or_null(extents)), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), data.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(strides)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateImageSourceFromDxgi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(surfaces)), surfaces.len() as _, colorspace, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -18500,7 +18500,7 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientMesh>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetGradientMeshWorldBounds)(::windows::core::Interface::as_raw(self), gradientmesh.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawInk<'a, P0, P1, P2>(&self, ink: P0, brush: P1, inkstyle: P2) @@ -18529,11 +18529,11 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1ImageSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTransformedImageSource)(::windows::core::Interface::as_raw(self), imagesource.into().abi(), ::core::mem::transmute(properties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSpriteBatch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSpriteBatch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawSpriteBatch<'a, P0, P1>(&self, spritebatch: P0, startindex: u32, spritecount: u32, bitmap: P1, interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE, spriteoptions: D2D1_SPRITE_OPTIONS) @@ -18544,7 +18544,7 @@ impl ID2D1DeviceContext6 { (::windows::core::Interface::vtable(self).base__.base__.base__.DrawSpriteBatch)(::windows::core::Interface::as_raw(self), spritebatch.into().abi(), startindex, spritecount, bitmap.into().abi(), interpolationmode, spriteoptions) } pub unsafe fn CreateSvgGlyphStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSvgGlyphStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -18607,7 +18607,7 @@ impl ID2D1DeviceContext6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSvgDocument)(::windows::core::Interface::as_raw(self), inputxmlstream.into().abi(), ::core::mem::transmute(viewportsize), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DrawSvgDocument<'a, P0>(&self, svgdocument: P0) @@ -18619,13 +18619,13 @@ impl ID2D1DeviceContext6 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateColorContextFromDxgiColorSpace(&self, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContextFromDxgiColorSpace)(::windows::core::Interface::as_raw(self), colorspace, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateColorContextFromSimpleColorProfile(&self, simpleprofile: *const D2D1_SIMPLE_COLOR_PROFILE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContextFromSimpleColorProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(simpleprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -18924,7 +18924,7 @@ impl ID2D1DrawTransform { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MapInvalidRect(&self, inputindex: u32, invalidinputrect: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MapInvalidRect)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(invalidinputrect), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDrawInfo<'a, P0>(&self, drawinfo: P0) -> ::windows::core::Result<()> @@ -19270,7 +19270,7 @@ impl ID2D1Effect { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetValueSize)(::windows::core::Interface::as_raw(self), index)) } pub unsafe fn GetSubProperties(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSubProperties)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19366,40 +19366,40 @@ impl ID2D1EffectContext { (::windows::core::Interface::vtable(self).GetDpi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(dpix), ::core::mem::transmute(dpiy)) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetMaximumSupportedFeatureLevel(&self, featurelevels: &[super::Direct3D::D3D_FEATURE_LEVEL]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumSupportedFeatureLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(featurelevels)), featurelevels.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransformNodeFromEffect<'a, P0>(&self, effect: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransformNodeFromEffect)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBlendTransform(&self, numinputs: u32, blenddescription: *const D2D1_BLEND_DESCRIPTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlendTransform)(::windows::core::Interface::as_raw(self), numinputs, ::core::mem::transmute(blenddescription), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBorderTransform(&self, extendmodex: D2D1_EXTEND_MODE, extendmodey: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBorderTransform)(::windows::core::Interface::as_raw(self), extendmodex, extendmodey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateOffsetTransform(&self, offset: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateOffsetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(offset), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBoundsAdjustmentTransform(&self, outputrectangle: *const super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBoundsAdjustmentTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(outputrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadPixelShader(&self, shaderid: *const ::windows::core::GUID, shaderbuffer: &[u8]) -> ::windows::core::Result<()> { @@ -19417,32 +19417,32 @@ impl ID2D1EffectContext { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsShaderLoaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(shaderid))) } pub unsafe fn CreateResourceTexture(&self, resourceid: *const ::windows::core::GUID, resourcetextureproperties: *const D2D1_RESOURCE_TEXTURE_PROPERTIES, data: &[u8], strides: *const u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateResourceTexture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resourceid), ::core::mem::transmute(resourcetextureproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), ::core::mem::transmute(strides), data.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindResourceTexture(&self, resourceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindResourceTexture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resourceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVertexBuffer(&self, vertexbufferproperties: *const D2D1_VERTEX_BUFFER_PROPERTIES, resourceid: *const ::windows::core::GUID, customvertexbufferproperties: *const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVertexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(vertexbufferproperties), ::core::mem::transmute(resourceid), ::core::mem::transmute(customvertexbufferproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindVertexBuffer(&self, resourceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindVertexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resourceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -19451,7 +19451,7 @@ impl ID2D1EffectContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D2D1_FEATURE, featuresupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { @@ -19553,40 +19553,40 @@ impl ID2D1EffectContext1 { (::windows::core::Interface::vtable(self).base__.GetDpi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(dpix), ::core::mem::transmute(dpiy)) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetMaximumSupportedFeatureLevel(&self, featurelevels: &[super::Direct3D::D3D_FEATURE_LEVEL]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaximumSupportedFeatureLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(featurelevels)), featurelevels.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransformNodeFromEffect<'a, P0>(&self, effect: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTransformNodeFromEffect)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBlendTransform(&self, numinputs: u32, blenddescription: *const D2D1_BLEND_DESCRIPTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBlendTransform)(::windows::core::Interface::as_raw(self), numinputs, ::core::mem::transmute(blenddescription), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBorderTransform(&self, extendmodex: D2D1_EXTEND_MODE, extendmodey: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBorderTransform)(::windows::core::Interface::as_raw(self), extendmodex, extendmodey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateOffsetTransform(&self, offset: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOffsetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(offset), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBoundsAdjustmentTransform(&self, outputrectangle: *const super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBoundsAdjustmentTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(outputrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadPixelShader(&self, shaderid: *const ::windows::core::GUID, shaderbuffer: &[u8]) -> ::windows::core::Result<()> { @@ -19604,32 +19604,32 @@ impl ID2D1EffectContext1 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.IsShaderLoaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(shaderid))) } pub unsafe fn CreateResourceTexture(&self, resourceid: *const ::windows::core::GUID, resourcetextureproperties: *const D2D1_RESOURCE_TEXTURE_PROPERTIES, data: &[u8], strides: *const u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateResourceTexture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resourceid), ::core::mem::transmute(resourcetextureproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), ::core::mem::transmute(strides), data.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindResourceTexture(&self, resourceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindResourceTexture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resourceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVertexBuffer(&self, vertexbufferproperties: *const D2D1_VERTEX_BUFFER_PROPERTIES, resourceid: *const ::windows::core::GUID, customvertexbufferproperties: *const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVertexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(vertexbufferproperties), ::core::mem::transmute(resourceid), ::core::mem::transmute(customvertexbufferproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindVertexBuffer(&self, resourceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindVertexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resourceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -19638,7 +19638,7 @@ impl ID2D1EffectContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D2D1_FEATURE, featuresupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { @@ -19650,7 +19650,7 @@ impl ID2D1EffectContext1 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.IsBufferPrecisionSupported)(::windows::core::Interface::as_raw(self), bufferprecision)) } pub unsafe fn CreateLookupTable3D(&self, precision: D2D1_BUFFER_PRECISION, extents: &[u32; 3], data: &[u8], strides: &[u32; 2]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLookupTable3D)(::windows::core::Interface::as_raw(self), precision, ::core::mem::transmute(::windows::core::as_ptr_or_null(extents)), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), data.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(strides)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19718,40 +19718,40 @@ impl ID2D1EffectContext2 { (::windows::core::Interface::vtable(self).base__.base__.GetDpi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(dpix), ::core::mem::transmute(dpiy)) } pub unsafe fn CreateEffect(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetMaximumSupportedFeatureLevel(&self, featurelevels: &[super::Direct3D::D3D_FEATURE_LEVEL]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMaximumSupportedFeatureLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(featurelevels)), featurelevels.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransformNodeFromEffect<'a, P0>(&self, effect: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Effect>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTransformNodeFromEffect)(::windows::core::Interface::as_raw(self), effect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBlendTransform(&self, numinputs: u32, blenddescription: *const D2D1_BLEND_DESCRIPTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBlendTransform)(::windows::core::Interface::as_raw(self), numinputs, ::core::mem::transmute(blenddescription), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBorderTransform(&self, extendmodex: D2D1_EXTEND_MODE, extendmodey: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBorderTransform)(::windows::core::Interface::as_raw(self), extendmodex, extendmodey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateOffsetTransform(&self, offset: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateOffsetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(offset), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBoundsAdjustmentTransform(&self, outputrectangle: *const super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBoundsAdjustmentTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(outputrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadPixelShader(&self, shaderid: *const ::windows::core::GUID, shaderbuffer: &[u8]) -> ::windows::core::Result<()> { @@ -19769,32 +19769,32 @@ impl ID2D1EffectContext2 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.IsShaderLoaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(shaderid))) } pub unsafe fn CreateResourceTexture(&self, resourceid: *const ::windows::core::GUID, resourcetextureproperties: *const D2D1_RESOURCE_TEXTURE_PROPERTIES, data: &[u8], strides: *const u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateResourceTexture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resourceid), ::core::mem::transmute(resourcetextureproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), ::core::mem::transmute(strides), data.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindResourceTexture(&self, resourceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindResourceTexture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resourceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVertexBuffer(&self, vertexbufferproperties: *const D2D1_VERTEX_BUFFER_PROPERTIES, resourceid: *const ::windows::core::GUID, customvertexbufferproperties: *const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateVertexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(vertexbufferproperties), ::core::mem::transmute(resourceid), ::core::mem::transmute(customvertexbufferproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindVertexBuffer(&self, resourceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindVertexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resourceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateColorContext)(::windows::core::Interface::as_raw(self), space, ::core::mem::transmute(::windows::core::as_ptr_or_null(profile)), profile.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContextFromFilename<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateColorContextFromFilename)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -19803,7 +19803,7 @@ impl ID2D1EffectContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICColorContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateColorContextFromWicColorContext)(::windows::core::Interface::as_raw(self), wiccolorcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D2D1_FEATURE, featuresupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { @@ -19815,19 +19815,19 @@ impl ID2D1EffectContext2 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.IsBufferPrecisionSupported)(::windows::core::Interface::as_raw(self), bufferprecision)) } pub unsafe fn CreateLookupTable3D(&self, precision: D2D1_BUFFER_PRECISION, extents: &[u32; 3], data: &[u8], strides: &[u32; 2]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLookupTable3D)(::windows::core::Interface::as_raw(self), precision, ::core::mem::transmute(::windows::core::as_ptr_or_null(extents)), ::core::mem::transmute(::windows::core::as_ptr_or_null(data)), data.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(strides)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateColorContextFromDxgiColorSpace(&self, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContextFromDxgiColorSpace)(::windows::core::Interface::as_raw(self), colorspace, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateColorContextFromSimpleColorProfile(&self, simpleprofile: *const D2D1_SIMPLE_COLOR_PROFILE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContextFromSimpleColorProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(simpleprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19983,7 +19983,7 @@ impl ID2D1EllipseGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn GetBounds(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -19992,7 +19992,7 @@ impl ID2D1EllipseGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWidenedBounds)(::windows::core::Interface::as_raw(self), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -20001,13 +20001,13 @@ impl ID2D1EllipseGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StrokeContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn FillContainsPoint(&self, point: Common::D2D_POINT_2F, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FillContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -20016,7 +20016,7 @@ impl ID2D1EllipseGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareWithGeometry)(::windows::core::Interface::as_raw(self), inputgeometry.into().abi(), ::core::mem::transmute(inputgeometrytransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -20055,13 +20055,13 @@ impl ID2D1EllipseGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeArea(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeLength(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -20171,25 +20171,25 @@ impl ID2D1Factory { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRectangleGeometry(&self, rectangle: *const Common::D2D_RECT_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRoundedRectangleGeometry(&self, roundedrectangle: *const D2D1_ROUNDED_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRoundedRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(roundedrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateEllipseGeometry(&self, ellipse: *const D2D1_ELLIPSE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEllipseGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ellipse), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGeometryGroup)(::windows::core::Interface::as_raw(self), fillmode, ::core::mem::transmute(::windows::core::as_ptr_or_null(geometries)), geometries.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -20198,15 +20198,15 @@ impl ID2D1Factory { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransformedGeometry)(::windows::core::Interface::as_raw(self), sourcegeometry.into().abi(), ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePathGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStrokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -20215,7 +20215,7 @@ impl ID2D1Factory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDrawingStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -20224,13 +20224,13 @@ impl ID2D1Factory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateWicBitmapRenderTarget)(::windows::core::Interface::as_raw(self), target.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateHwndRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateHwndRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -20239,13 +20239,13 @@ impl ID2D1Factory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDxgiSurfaceRenderTarget)(::windows::core::Interface::as_raw(self), dxgisurface.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDCRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDCRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20346,25 +20346,25 @@ impl ID2D1Factory1 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRectangleGeometry(&self, rectangle: *const Common::D2D_RECT_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRoundedRectangleGeometry(&self, roundedrectangle: *const D2D1_ROUNDED_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRoundedRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(roundedrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateEllipseGeometry(&self, ellipse: *const D2D1_ELLIPSE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEllipseGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ellipse), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGeometryGroup)(::windows::core::Interface::as_raw(self), fillmode, ::core::mem::transmute(::windows::core::as_ptr_or_null(geometries)), geometries.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -20373,15 +20373,15 @@ impl ID2D1Factory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTransformedGeometry)(::windows::core::Interface::as_raw(self), sourcegeometry.into().abi(), ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePathGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStrokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -20390,7 +20390,7 @@ impl ID2D1Factory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDrawingStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -20399,13 +20399,13 @@ impl ID2D1Factory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateWicBitmapRenderTarget)(::windows::core::Interface::as_raw(self), target.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateHwndRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateHwndRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -20414,13 +20414,13 @@ impl ID2D1Factory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDxgiSurfaceRenderTarget)(::windows::core::Interface::as_raw(self), dxgisurface.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDCRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDCRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -20429,15 +20429,15 @@ impl ID2D1Factory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDevice)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle2(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStrokeStyle2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePathGeometry2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -20446,7 +20446,7 @@ impl ID2D1Factory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDrawingStateBlock2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -20455,7 +20455,7 @@ impl ID2D1Factory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGdiMetafile)(::windows::core::Interface::as_raw(self), metafilestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -20479,7 +20479,7 @@ impl ID2D1Factory1 { (::windows::core::Interface::vtable(self).GetRegisteredEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(effects)), effects.len() as _, ::core::mem::transmute(effectsreturned), ::core::mem::transmute(effectsregistered)).ok() } pub unsafe fn GetEffectProperties(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20573,25 +20573,25 @@ impl ID2D1Factory2 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRectangleGeometry(&self, rectangle: *const Common::D2D_RECT_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRoundedRectangleGeometry(&self, roundedrectangle: *const D2D1_ROUNDED_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRoundedRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(roundedrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateEllipseGeometry(&self, ellipse: *const D2D1_ELLIPSE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateEllipseGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ellipse), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGeometryGroup)(::windows::core::Interface::as_raw(self), fillmode, ::core::mem::transmute(::windows::core::as_ptr_or_null(geometries)), geometries.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -20600,15 +20600,15 @@ impl ID2D1Factory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTransformedGeometry)(::windows::core::Interface::as_raw(self), sourcegeometry.into().abi(), ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreatePathGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateStrokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -20617,7 +20617,7 @@ impl ID2D1Factory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDrawingStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -20626,13 +20626,13 @@ impl ID2D1Factory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateWicBitmapRenderTarget)(::windows::core::Interface::as_raw(self), target.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateHwndRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateHwndRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -20641,13 +20641,13 @@ impl ID2D1Factory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDxgiSurfaceRenderTarget)(::windows::core::Interface::as_raw(self), dxgisurface.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDCRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDCRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -20656,15 +20656,15 @@ impl ID2D1Factory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDevice)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle2(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStrokeStyle2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePathGeometry2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -20673,7 +20673,7 @@ impl ID2D1Factory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDrawingStateBlock2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -20682,7 +20682,7 @@ impl ID2D1Factory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGdiMetafile)(::windows::core::Interface::as_raw(self), metafilestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -20706,7 +20706,7 @@ impl ID2D1Factory2 { (::windows::core::Interface::vtable(self).base__.GetRegisteredEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(effects)), effects.len() as _, ::core::mem::transmute(effectsreturned), ::core::mem::transmute(effectsregistered)).ok() } pub unsafe fn GetEffectProperties(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEffectProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -20715,7 +20715,7 @@ impl ID2D1Factory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDevice2)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20806,25 +20806,25 @@ impl ID2D1Factory3 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRectangleGeometry(&self, rectangle: *const Common::D2D_RECT_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRoundedRectangleGeometry(&self, roundedrectangle: *const D2D1_ROUNDED_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRoundedRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(roundedrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateEllipseGeometry(&self, ellipse: *const D2D1_ELLIPSE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateEllipseGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ellipse), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGeometryGroup)(::windows::core::Interface::as_raw(self), fillmode, ::core::mem::transmute(::windows::core::as_ptr_or_null(geometries)), geometries.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -20833,15 +20833,15 @@ impl ID2D1Factory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTransformedGeometry)(::windows::core::Interface::as_raw(self), sourcegeometry.into().abi(), ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreatePathGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateStrokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -20850,7 +20850,7 @@ impl ID2D1Factory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDrawingStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -20859,13 +20859,13 @@ impl ID2D1Factory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateWicBitmapRenderTarget)(::windows::core::Interface::as_raw(self), target.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateHwndRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateHwndRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -20874,13 +20874,13 @@ impl ID2D1Factory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDxgiSurfaceRenderTarget)(::windows::core::Interface::as_raw(self), dxgisurface.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDCRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDCRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -20889,15 +20889,15 @@ impl ID2D1Factory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDevice)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle2(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateStrokeStyle2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreatePathGeometry2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -20906,7 +20906,7 @@ impl ID2D1Factory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDrawingStateBlock2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -20915,7 +20915,7 @@ impl ID2D1Factory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGdiMetafile)(::windows::core::Interface::as_raw(self), metafilestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -20939,7 +20939,7 @@ impl ID2D1Factory3 { (::windows::core::Interface::vtable(self).base__.base__.GetRegisteredEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(effects)), effects.len() as _, ::core::mem::transmute(effectsreturned), ::core::mem::transmute(effectsregistered)).ok() } pub unsafe fn GetEffectProperties(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEffectProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -20948,7 +20948,7 @@ impl ID2D1Factory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDevice2)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -20957,7 +20957,7 @@ impl ID2D1Factory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDevice3)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21063,25 +21063,25 @@ impl ID2D1Factory4 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRectangleGeometry(&self, rectangle: *const Common::D2D_RECT_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRoundedRectangleGeometry(&self, roundedrectangle: *const D2D1_ROUNDED_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRoundedRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(roundedrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateEllipseGeometry(&self, ellipse: *const D2D1_ELLIPSE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateEllipseGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ellipse), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGeometryGroup)(::windows::core::Interface::as_raw(self), fillmode, ::core::mem::transmute(::windows::core::as_ptr_or_null(geometries)), geometries.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -21090,15 +21090,15 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTransformedGeometry)(::windows::core::Interface::as_raw(self), sourcegeometry.into().abi(), ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreatePathGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateStrokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -21107,7 +21107,7 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDrawingStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -21116,13 +21116,13 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateWicBitmapRenderTarget)(::windows::core::Interface::as_raw(self), target.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateHwndRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateHwndRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -21131,13 +21131,13 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDxgiSurfaceRenderTarget)(::windows::core::Interface::as_raw(self), dxgisurface.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDCRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDCRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21146,15 +21146,15 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDevice)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle2(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateStrokeStyle2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreatePathGeometry2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -21163,7 +21163,7 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDrawingStateBlock2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21172,7 +21172,7 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGdiMetafile)(::windows::core::Interface::as_raw(self), metafilestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21196,7 +21196,7 @@ impl ID2D1Factory4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetRegisteredEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(effects)), effects.len() as _, ::core::mem::transmute(effectsreturned), ::core::mem::transmute(effectsregistered)).ok() } pub unsafe fn GetEffectProperties(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetEffectProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21205,7 +21205,7 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDevice2)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21214,7 +21214,7 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDevice3)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21223,7 +21223,7 @@ impl ID2D1Factory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDevice4)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21344,25 +21344,25 @@ impl ID2D1Factory5 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRectangleGeometry(&self, rectangle: *const Common::D2D_RECT_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRoundedRectangleGeometry(&self, roundedrectangle: *const D2D1_ROUNDED_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRoundedRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(roundedrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateEllipseGeometry(&self, ellipse: *const D2D1_ELLIPSE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateEllipseGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ellipse), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGeometryGroup)(::windows::core::Interface::as_raw(self), fillmode, ::core::mem::transmute(::windows::core::as_ptr_or_null(geometries)), geometries.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -21371,15 +21371,15 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTransformedGeometry)(::windows::core::Interface::as_raw(self), sourcegeometry.into().abi(), ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePathGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateStrokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -21388,7 +21388,7 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDrawingStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -21397,13 +21397,13 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateWicBitmapRenderTarget)(::windows::core::Interface::as_raw(self), target.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateHwndRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateHwndRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -21412,13 +21412,13 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDxgiSurfaceRenderTarget)(::windows::core::Interface::as_raw(self), dxgisurface.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDCRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDCRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21427,15 +21427,15 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDevice)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle2(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateStrokeStyle2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreatePathGeometry2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -21444,7 +21444,7 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDrawingStateBlock2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21453,7 +21453,7 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGdiMetafile)(::windows::core::Interface::as_raw(self), metafilestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21477,7 +21477,7 @@ impl ID2D1Factory5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetRegisteredEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(effects)), effects.len() as _, ::core::mem::transmute(effectsreturned), ::core::mem::transmute(effectsregistered)).ok() } pub unsafe fn GetEffectProperties(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetEffectProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21486,7 +21486,7 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDevice2)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21495,7 +21495,7 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDevice3)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21504,7 +21504,7 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDevice4)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21513,7 +21513,7 @@ impl ID2D1Factory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDevice5)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21649,25 +21649,25 @@ impl ID2D1Factory6 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRectangleGeometry(&self, rectangle: *const Common::D2D_RECT_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRoundedRectangleGeometry(&self, roundedrectangle: *const D2D1_ROUNDED_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateRoundedRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(roundedrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateEllipseGeometry(&self, ellipse: *const D2D1_ELLIPSE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateEllipseGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ellipse), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateGeometryGroup)(::windows::core::Interface::as_raw(self), fillmode, ::core::mem::transmute(::windows::core::as_ptr_or_null(geometries)), geometries.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -21676,15 +21676,15 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateTransformedGeometry)(::windows::core::Interface::as_raw(self), sourcegeometry.into().abi(), ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreatePathGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateStrokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -21693,7 +21693,7 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateDrawingStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -21702,13 +21702,13 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateWicBitmapRenderTarget)(::windows::core::Interface::as_raw(self), target.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateHwndRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateHwndRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -21717,13 +21717,13 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateDxgiSurfaceRenderTarget)(::windows::core::Interface::as_raw(self), dxgisurface.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDCRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateDCRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21732,15 +21732,15 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDevice)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle2(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateStrokeStyle2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePathGeometry2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -21749,7 +21749,7 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDrawingStateBlock2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21758,7 +21758,7 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGdiMetafile)(::windows::core::Interface::as_raw(self), metafilestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21782,7 +21782,7 @@ impl ID2D1Factory6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetRegisteredEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(effects)), effects.len() as _, ::core::mem::transmute(effectsreturned), ::core::mem::transmute(effectsregistered)).ok() } pub unsafe fn GetEffectProperties(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetEffectProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21791,7 +21791,7 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDevice2)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21800,7 +21800,7 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDevice3)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21809,7 +21809,7 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDevice4)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21818,7 +21818,7 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDevice5)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -21827,7 +21827,7 @@ impl ID2D1Factory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDevice6)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21978,25 +21978,25 @@ impl ID2D1Factory7 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRectangleGeometry(&self, rectangle: *const Common::D2D_RECT_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRoundedRectangleGeometry(&self, roundedrectangle: *const D2D1_ROUNDED_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateRoundedRectangleGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(roundedrectangle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateEllipseGeometry(&self, ellipse: *const D2D1_ELLIPSE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateEllipseGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ellipse), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateGeometryGroup)(::windows::core::Interface::as_raw(self), fillmode, ::core::mem::transmute(::windows::core::as_ptr_or_null(geometries)), geometries.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -22005,15 +22005,15 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateTransformedGeometry)(::windows::core::Interface::as_raw(self), sourcegeometry.into().abi(), ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreatePathGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateStrokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -22022,7 +22022,7 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateDrawingStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -22031,13 +22031,13 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateWicBitmapRenderTarget)(::windows::core::Interface::as_raw(self), target.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateHwndRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES, hwndrendertargetproperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateHwndRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(hwndrendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -22046,13 +22046,13 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGISurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateDxgiSurfaceRenderTarget)(::windows::core::Interface::as_raw(self), dxgisurface.into().abi(), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateDCRenderTarget(&self, rendertargetproperties: *const D2D1_RENDER_TARGET_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateDCRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rendertargetproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -22061,15 +22061,15 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateDevice)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeStyle2(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1, dashes: &[f32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateStrokeStyle2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(strokestyleproperties), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathGeometry2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreatePathGeometry2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`*"] @@ -22078,7 +22078,7 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DirectWrite::IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateDrawingStateBlock2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(drawingstatedescription), textrenderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22087,7 +22087,7 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateGdiMetafile)(::windows::core::Interface::as_raw(self), metafilestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22111,7 +22111,7 @@ impl ID2D1Factory7 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetRegisteredEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(effects)), effects.len() as _, ::core::mem::transmute(effectsreturned), ::core::mem::transmute(effectsregistered)).ok() } pub unsafe fn GetEffectProperties(&self, effectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetEffectProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(effectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -22120,7 +22120,7 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDevice2)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -22129,7 +22129,7 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDevice3)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -22138,7 +22138,7 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDevice4)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -22147,7 +22147,7 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDevice5)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -22156,7 +22156,7 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDevice6)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -22165,7 +22165,7 @@ impl ID2D1Factory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Dxgi::IDXGIDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDevice7)(::windows::core::Interface::as_raw(self), dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22325,7 +22325,7 @@ impl ID2D1GdiInteropRenderTarget { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetDC(&self, mode: D2D1_DC_INITIALIZE_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDC)(::windows::core::Interface::as_raw(self), mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22398,7 +22398,7 @@ impl ID2D1GdiMetafile { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetBounds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22478,7 +22478,7 @@ impl ID2D1GdiMetafile1 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetBounds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32) -> ::windows::core::Result<()> { @@ -22487,7 +22487,7 @@ impl ID2D1GdiMetafile1 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetSourceBounds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22692,7 +22692,7 @@ impl ID2D1Geometry { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn GetBounds(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -22701,7 +22701,7 @@ impl ID2D1Geometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWidenedBounds)(::windows::core::Interface::as_raw(self), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -22710,13 +22710,13 @@ impl ID2D1Geometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StrokeContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn FillContainsPoint(&self, point: Common::D2D_POINT_2F, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -22725,7 +22725,7 @@ impl ID2D1Geometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareWithGeometry)(::windows::core::Interface::as_raw(self), inputgeometry.into().abi(), ::core::mem::transmute(inputgeometrytransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -22764,13 +22764,13 @@ impl ID2D1Geometry { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeArea(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputeArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeLength(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputeLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -22905,7 +22905,7 @@ impl ID2D1GeometryGroup { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn GetBounds(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -22914,7 +22914,7 @@ impl ID2D1GeometryGroup { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWidenedBounds)(::windows::core::Interface::as_raw(self), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -22923,13 +22923,13 @@ impl ID2D1GeometryGroup { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StrokeContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn FillContainsPoint(&self, point: Common::D2D_POINT_2F, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FillContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -22938,7 +22938,7 @@ impl ID2D1GeometryGroup { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareWithGeometry)(::windows::core::Interface::as_raw(self), inputgeometry.into().abi(), ::core::mem::transmute(inputgeometrytransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -22977,13 +22977,13 @@ impl ID2D1GeometryGroup { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeArea(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeLength(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -23592,7 +23592,7 @@ impl ID2D1HwndRenderTarget { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -23601,7 +23601,7 @@ impl ID2D1HwndRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -23615,19 +23615,19 @@ impl ID2D1HwndRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -23636,7 +23636,7 @@ impl ID2D1HwndRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -23645,23 +23645,23 @@ impl ID2D1HwndRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -24227,7 +24227,7 @@ impl ID2D1ImageSource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TryReclaimResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TryReclaimResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24319,7 +24319,7 @@ impl ID2D1ImageSourceFromWic { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TryReclaimResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TryReclaimResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -24483,7 +24483,7 @@ impl ID2D1Ink { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1InkStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBounds)(::windows::core::Interface::as_raw(self), inkstyle.into().abi(), ::core::mem::transmute(worldtransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24930,7 +24930,7 @@ impl ID2D1Mesh { (::windows::core::Interface::vtable(self).base__.GetFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(factory)) } pub unsafe fn Open(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25145,7 +25145,7 @@ impl ID2D1PathGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn GetBounds(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25154,7 +25154,7 @@ impl ID2D1PathGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWidenedBounds)(::windows::core::Interface::as_raw(self), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25163,13 +25163,13 @@ impl ID2D1PathGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StrokeContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn FillContainsPoint(&self, point: Common::D2D_POINT_2F, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FillContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -25178,7 +25178,7 @@ impl ID2D1PathGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareWithGeometry)(::windows::core::Interface::as_raw(self), inputgeometry.into().abi(), ::core::mem::transmute(inputgeometrytransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25217,13 +25217,13 @@ impl ID2D1PathGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeArea(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeLength(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25243,7 +25243,7 @@ impl ID2D1PathGeometry { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn Open(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25255,11 +25255,11 @@ impl ID2D1PathGeometry { (::windows::core::Interface::vtable(self).Stream)(::windows::core::Interface::as_raw(self), geometrysink.into().abi()).ok() } pub unsafe fn GetSegmentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSegmentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFigureCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFigureCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25353,7 +25353,7 @@ impl ID2D1PathGeometry1 { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn GetBounds(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25362,7 +25362,7 @@ impl ID2D1PathGeometry1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWidenedBounds)(::windows::core::Interface::as_raw(self), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25371,13 +25371,13 @@ impl ID2D1PathGeometry1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.StrokeContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn FillContainsPoint(&self, point: Common::D2D_POINT_2F, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FillContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -25386,7 +25386,7 @@ impl ID2D1PathGeometry1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CompareWithGeometry)(::windows::core::Interface::as_raw(self), inputgeometry.into().abi(), ::core::mem::transmute(inputgeometrytransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25425,13 +25425,13 @@ impl ID2D1PathGeometry1 { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeArea(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ComputeArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeLength(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ComputeLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25451,7 +25451,7 @@ impl ID2D1PathGeometry1 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn Open(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Open)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25463,17 +25463,17 @@ impl ID2D1PathGeometry1 { (::windows::core::Interface::vtable(self).base__.Stream)(::windows::core::Interface::as_raw(self), geometrysink.into().abi()).ok() } pub unsafe fn GetSegmentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSegmentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFigureCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFigureCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn ComputePointAndSegmentAtLength(&self, length: f32, startsegment: u32, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputePointAndSegmentAtLength)(::windows::core::Interface::as_raw(self), length, startsegment, ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25672,7 +25672,7 @@ impl ID2D1Properties { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetValueSize)(::windows::core::Interface::as_raw(self), index)) } pub unsafe fn GetSubProperties(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubProperties)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25891,7 +25891,7 @@ impl ID2D1RectangleGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn GetBounds(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25900,7 +25900,7 @@ impl ID2D1RectangleGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWidenedBounds)(::windows::core::Interface::as_raw(self), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25909,13 +25909,13 @@ impl ID2D1RectangleGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StrokeContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn FillContainsPoint(&self, point: Common::D2D_POINT_2F, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FillContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -25924,7 +25924,7 @@ impl ID2D1RectangleGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareWithGeometry)(::windows::core::Interface::as_raw(self), inputgeometry.into().abi(), ::core::mem::transmute(inputgeometrytransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -25963,13 +25963,13 @@ impl ID2D1RectangleGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeArea(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeLength(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -26145,7 +26145,7 @@ impl ID2D1RenderTarget { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: *const ::core::ffi::c_void, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(srcdata), pitch, ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -26154,7 +26154,7 @@ impl ID2D1RenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Imaging::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFromWicBitmap)(::windows::core::Interface::as_raw(self), wicbitmapsource.into().abi(), ::core::mem::transmute(bitmapproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -26168,19 +26168,19 @@ impl ID2D1RenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Bitmap>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapBrush)(::windows::core::Interface::as_raw(self), bitmap.into().abi(), ::core::mem::transmute(bitmapbrushproperties), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: *const D2D1_BRUSH_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), ::core::mem::transmute(brushproperties), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGradientStopCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(gradientstops)), gradientstops.len() as _, colorinterpolationgamma, extendmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -26189,7 +26189,7 @@ impl ID2D1RenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lineargradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -26198,23 +26198,23 @@ impl ID2D1RenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1GradientStopCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radialgradientbrushproperties), ::core::mem::transmute(brushproperties), gradientstopcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: *const Common::D2D_SIZE_F, desiredpixelsize: *const Common::D2D_SIZE_U, desiredformat: *const Common::D2D1_PIXEL_FORMAT, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCompatibleRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(desiredsize), ::core::mem::transmute(desiredpixelsize), ::core::mem::transmute(desiredformat), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: *const Common::D2D_SIZE_F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMesh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMesh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -26780,7 +26780,7 @@ impl ID2D1RoundedRectangleGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn GetBounds(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -26789,7 +26789,7 @@ impl ID2D1RoundedRectangleGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWidenedBounds)(::windows::core::Interface::as_raw(self), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -26798,13 +26798,13 @@ impl ID2D1RoundedRectangleGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StrokeContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn FillContainsPoint(&self, point: Common::D2D_POINT_2F, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FillContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -26813,7 +26813,7 @@ impl ID2D1RoundedRectangleGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareWithGeometry)(::windows::core::Interface::as_raw(self), inputgeometry.into().abi(), ::core::mem::transmute(inputgeometrytransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -26852,13 +26852,13 @@ impl ID2D1RoundedRectangleGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeArea(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeLength(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -27089,7 +27089,7 @@ impl ID2D1SourceTransform { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MapInvalidRect(&self, inputindex: u32, invalidinputrect: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MapInvalidRect)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(invalidinputrect), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRenderInfo<'a, P0>(&self, renderinfo: P0) -> ::windows::core::Result<()> @@ -27499,7 +27499,7 @@ impl ID2D1SvgAttribute { (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(element)) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27592,7 +27592,7 @@ impl ID2D1SvgDocument { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindElementById)(::windows::core::Interface::as_raw(self), id.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -27610,7 +27610,7 @@ impl ID2D1SvgDocument { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Deserialize)(::windows::core::Interface::as_raw(self), inputxmlstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -27619,21 +27619,21 @@ impl ID2D1SvgDocument { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePaint)(::windows::core::Interface::as_raw(self), painttype, ::core::mem::transmute(color), id.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStrokeDashArray(&self, dashes: &[D2D1_SVG_LENGTH]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStrokeDashArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(dashes)), dashes.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreatePointCollection(&self, points: &[Common::D2D_POINT_2F]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePointCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(points)), points.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePathData(&self, segmentdata: &[f32], commands: &[D2D1_SVG_PATH_COMMAND]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePathData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(segmentdata)), segmentdata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(commands)), commands.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27760,14 +27760,14 @@ impl ID2D1SvgElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1SvgElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousChild)(::windows::core::Interface::as_raw(self), referencechild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextChild<'a, P0>(&self, referencechild: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1SvgElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextChild)(::windows::core::Interface::as_raw(self), referencechild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertChildBefore<'a, P0, P1>(&self, newchild: P0, referencechild: P1) -> ::windows::core::Result<()> @@ -27800,7 +27800,7 @@ impl ID2D1SvgElement { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateChild)(::windows::core::Interface::as_raw(self), tagname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27882,7 +27882,7 @@ impl ID2D1SvgElement { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeValueLength)(::windows::core::Interface::as_raw(self), name.into(), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28086,7 +28086,7 @@ impl ID2D1SvgPaint { (::windows::core::Interface::vtable(self).base__.GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(element)) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPaintType(&self, painttype: D2D1_SVG_PAINT_TYPE) -> ::windows::core::Result<()> { @@ -28212,7 +28212,7 @@ impl ID2D1SvgPathData { (::windows::core::Interface::vtable(self).base__.GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(element)) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveSegmentDataAtEnd(&self, datacount: u32) -> ::windows::core::Result<()> { @@ -28242,7 +28242,7 @@ impl ID2D1SvgPathData { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreatePathGeometry(&self, fillmode: Common::D2D1_FILL_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePathGeometry)(::windows::core::Interface::as_raw(self), fillmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28339,7 +28339,7 @@ impl ID2D1SvgPointCollection { (::windows::core::Interface::vtable(self).base__.GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(element)) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemovePointsAtEnd(&self, pointscount: u32) -> ::windows::core::Result<()> { @@ -28450,7 +28450,7 @@ impl ID2D1SvgStrokeDashArray { (::windows::core::Interface::vtable(self).base__.GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(element)) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveDashesAtEnd(&self, dashescount: u32) -> ::windows::core::Result<()> { @@ -28626,7 +28626,7 @@ impl ID2D1Transform { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MapInvalidRect(&self, inputindex: u32, invalidinputrect: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapInvalidRect)(::windows::core::Interface::as_raw(self), inputindex, ::core::mem::transmute(invalidinputrect), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28856,7 +28856,7 @@ impl ID2D1TransformedGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn GetBounds(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -28865,7 +28865,7 @@ impl ID2D1TransformedGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWidenedBounds)(::windows::core::Interface::as_raw(self), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -28874,13 +28874,13 @@ impl ID2D1TransformedGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1StrokeStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StrokeContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn FillContainsPoint(&self, point: Common::D2D_POINT_2F, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FillContainsPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -28889,7 +28889,7 @@ impl ID2D1TransformedGeometry { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID2D1Geometry>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareWithGeometry)(::windows::core::Interface::as_raw(self), inputgeometry.into().abi(), ::core::mem::transmute(inputgeometrytransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -28928,13 +28928,13 @@ impl ID2D1TransformedGeometry { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeArea(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeLength(&self, worldtransform: *const super::super::super::Foundation::Numerics::Matrix3x2, flatteningtolerance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(worldtransform), flatteningtolerance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] 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 c5d2ec8f2b..261d21a072 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 @@ -311,7 +311,7 @@ impl IDxcAssembler { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssembleToContainer)(::windows::core::Interface::as_raw(self), pshader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -684,7 +684,7 @@ impl IDxcCompiler { P3: ::std::convert::Into<::windows::core::PCWSTR>, P4: ::std::convert::Into<::windows::core::InParam<'a, IDxcIncludeHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Compile)(::windows::core::Interface::as_raw(self), psource.into().abi(), psourcename.into(), pentrypoint.into(), ptargetprofile.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(parguments)), parguments.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdefines)), pdefines.len() as _, pincludehandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Preprocess<'a, P0, P1, P2>(&self, psource: P0, psourcename: P1, parguments: &[::windows::core::PWSTR], pdefines: &[DxcDefine], pincludehandler: P2) -> ::windows::core::Result @@ -693,14 +693,14 @@ impl IDxcCompiler { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::InParam<'a, IDxcIncludeHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Preprocess)(::windows::core::Interface::as_raw(self), psource.into().abi(), psourcename.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(parguments)), parguments.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdefines)), pdefines.len() as _, pincludehandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disassemble<'a, P0>(&self, psource: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Disassemble)(::windows::core::Interface::as_raw(self), psource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -759,7 +759,7 @@ impl IDxcCompiler2 { P3: ::std::convert::Into<::windows::core::PCWSTR>, P4: ::std::convert::Into<::windows::core::InParam<'a, IDxcIncludeHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compile)(::windows::core::Interface::as_raw(self), psource.into().abi(), psourcename.into(), pentrypoint.into(), ptargetprofile.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(parguments)), parguments.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdefines)), pdefines.len() as _, pincludehandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Preprocess<'a, P0, P1, P2>(&self, psource: P0, psourcename: P1, parguments: &[::windows::core::PWSTR], pdefines: &[DxcDefine], pincludehandler: P2) -> ::windows::core::Result @@ -768,14 +768,14 @@ impl IDxcCompiler2 { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::InParam<'a, IDxcIncludeHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Preprocess)(::windows::core::Interface::as_raw(self), psource.into().abi(), psourcename.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(parguments)), parguments.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdefines)), pdefines.len() as _, pincludehandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disassemble<'a, P0>(&self, psource: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Disassemble)(::windows::core::Interface::as_raw(self), psource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompileWithDebug<'a, P0, P1, P2, P3, P4>(&self, psource: P0, psourcename: P1, pentrypoint: P2, ptargetprofile: P3, parguments: &[::windows::core::PWSTR], pdefines: &[DxcDefine], pincludehandler: P4, ppresult: *mut ::core::option::Option, ppdebugblobname: *mut ::windows::core::PWSTR, ppdebugblob: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -986,7 +986,7 @@ impl IDxcContainerBuilder { (::windows::core::Interface::vtable(self).RemovePart)(::windows::core::Interface::as_raw(self), fourcc).ok() } pub unsafe fn SerializeContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SerializeContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1045,19 +1045,19 @@ impl IDxcContainerReflection { (::windows::core::Interface::vtable(self).Load)(::windows::core::Interface::as_raw(self), pcontainer.into().abi()).ok() } pub unsafe fn GetPartCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartKind(&self, idx: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartKind)(::windows::core::Interface::as_raw(self), idx, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartContent(&self, idx: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartContent)(::windows::core::Interface::as_raw(self), idx, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstPartKind(&self, kind: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstPartKind)(::windows::core::Interface::as_raw(self), kind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartReflection(&self, idx: u32, iid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -1174,7 +1174,7 @@ impl IDxcIncludeHandler { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadSource)(::windows::core::Interface::as_raw(self), pfilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1235,22 +1235,22 @@ impl IDxcLibrary { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlobFromBlob)(::windows::core::Interface::as_raw(self), pblob.into().abi(), offset, length, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBlobFromFile<'a, P0>(&self, pfilename: P0, codepage: *const DXC_CP) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlobFromFile)(::windows::core::Interface::as_raw(self), pfilename.into(), ::core::mem::transmute(codepage), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBlobWithEncodingFromPinned(&self, ptext: *const ::core::ffi::c_void, size: u32, codepage: DXC_CP) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlobWithEncodingFromPinned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptext), size, codepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBlobWithEncodingOnHeapCopy(&self, ptext: *const ::core::ffi::c_void, size: u32, codepage: DXC_CP) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlobWithEncodingOnHeapCopy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptext), size, codepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1259,11 +1259,11 @@ impl IDxcLibrary { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IMalloc>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlobWithEncodingOnMalloc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptext), pimalloc.into().abi(), size, codepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateIncludeHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateIncludeHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1272,21 +1272,21 @@ impl IDxcLibrary { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStreamFromBlobReadOnly)(::windows::core::Interface::as_raw(self), pblob.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlobAsUtf8<'a, P0>(&self, pblob: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBlobAsUtf8)(::windows::core::Interface::as_raw(self), pblob.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlobAsUtf16<'a, P0>(&self, pblob: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBlobAsUtf16)(::windows::core::Interface::as_raw(self), pblob.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1365,7 +1365,7 @@ impl IDxcLinker { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Link)(::windows::core::Interface::as_raw(self), pentryname.into(), ptargetprofile.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(plibnames)), plibnames.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(parguments)), parguments.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1416,15 +1416,15 @@ pub struct IDxcLinker_Vtbl { pub struct IDxcOperationResult(::windows::core::IUnknown); impl IDxcOperationResult { pub unsafe fn GetStatus(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1476,11 +1476,11 @@ pub struct IDxcOperationResult_Vtbl { pub struct IDxcOptimizer(::windows::core::IUnknown); impl IDxcOptimizer { pub unsafe fn GetAvailablePassCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailablePassCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAvailablePass(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailablePass)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunOptimizer<'a, P0>(&self, pblob: P0, ppoptions: &[::windows::core::PWSTR], poutputmodule: *mut ::core::option::Option, ppoutputtext: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -1538,23 +1538,23 @@ pub struct IDxcOptimizer_Vtbl { pub struct IDxcOptimizerPass(::windows::core::IUnknown); impl IDxcOptimizerPass { pub unsafe fn GetOptionName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetOptionArgCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionArgCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOptionArgName(&self, argindex: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionArgName)(::windows::core::Interface::as_raw(self), argindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetOptionArgDescription(&self, argindex: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionArgDescription)(::windows::core::Interface::as_raw(self), argindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -1614,41 +1614,41 @@ impl IDxcPdbUtils { (::windows::core::Interface::vtable(self).Load)(::windows::core::Interface::as_raw(self), ppdbordxil.into().abi()).ok() } pub unsafe fn GetSourceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSource(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSource)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceName(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceName)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFlagCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlagCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFlag(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlag)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetArgCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetArgCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetArg(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetArg)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetArgPairCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetArgPairCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1657,41 +1657,41 @@ impl IDxcPdbUtils { (::windows::core::Interface::vtable(self).GetArgPair)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(pname), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetDefineCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefineCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDefine(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefine)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTargetProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEntryPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntryPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMainFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMainFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1700,11 +1700,11 @@ impl IDxcPdbUtils { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsFullPDB)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFullPDB(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFullPDB)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVersionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCompiler<'a, P0>(&self, pcompiler: P0) -> ::windows::core::Result<()> @@ -1714,7 +1714,7 @@ impl IDxcPdbUtils { (::windows::core::Interface::vtable(self).SetCompiler)(::windows::core::Interface::as_raw(self), pcompiler.into().abi()).ok() } pub unsafe fn CompileForFullPDB(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompileForFullPDB)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OverrideArgs(&self, pargpairs: *const DxcArgPair, unumargpairs: u32) -> ::windows::core::Result<()> { @@ -1826,15 +1826,15 @@ pub struct IDxcPdbUtils_Vtbl { pub struct IDxcResult(::windows::core::IUnknown); impl IDxcResult { pub unsafe fn GetStatus(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetErrorBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1929,11 +1929,11 @@ impl IDxcUtils { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlobFromBlob)(::windows::core::Interface::as_raw(self), pblob.into().abi(), offset, length, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBlobFromPinned(&self, pdata: *const ::core::ffi::c_void, size: u32, codepage: DXC_CP) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlobFromPinned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdata), size, codepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1942,18 +1942,18 @@ impl IDxcUtils { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IMalloc>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveToBlob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdata), pimalloc.into().abi(), size, codepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBlob(&self, pdata: *const ::core::ffi::c_void, size: u32, codepage: DXC_CP) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdata), size, codepage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadFile<'a, P0>(&self, pfilename: P0, pcodepage: *const DXC_CP) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadFile)(::windows::core::Interface::as_raw(self), pfilename.into(), ::core::mem::transmute(pcodepage), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1962,25 +1962,25 @@ impl IDxcUtils { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateReadOnlyStreamFromBlob)(::windows::core::Interface::as_raw(self), pblob.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDefaultIncludeHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDefaultIncludeHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlobAsUtf8<'a, P0>(&self, pblob: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBlobAsUtf8)(::windows::core::Interface::as_raw(self), pblob.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlobAsUtf16<'a, P0>(&self, pblob: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBlobAsUtf16)(::windows::core::Interface::as_raw(self), pblob.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDxilContainerPart(&self, pshader: *const DxcBuffer, dxcpart: u32, pppartdata: *mut *mut ::core::ffi::c_void, ppartsizeinbytes: *mut u32) -> ::windows::core::Result<()> { @@ -1995,7 +1995,7 @@ impl IDxcUtils { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BuildArguments)(::windows::core::Interface::as_raw(self), psourcename.into(), pentrypoint.into(), ptargetprofile.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(parguments)), parguments.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdefines)), pdefines.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPDBContents<'a, P0>(&self, ppdbblob: P0, pphash: *mut ::core::option::Option, ppcontainer: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -2072,7 +2072,7 @@ impl IDxcValidator { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Validate)(::windows::core::Interface::as_raw(self), pshader.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2125,14 +2125,14 @@ impl IDxcValidator2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Validate)(::windows::core::Interface::as_raw(self), pshader.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ValidateWithDebug<'a, P0>(&self, pshader: P0, flags: u32, poptdebugbitcode: *const DxcBuffer) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDxcBlob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValidateWithDebug)(::windows::core::Interface::as_raw(self), pshader.into().abi(), flags, ::core::mem::transmute(poptdebugbitcode), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2200,7 +2200,7 @@ impl IDxcVersionInfo { (::windows::core::Interface::vtable(self).GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmajor), ::core::mem::transmute(pminor)).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2254,7 +2254,7 @@ impl IDxcVersionInfo2 { (::windows::core::Interface::vtable(self).base__.GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmajor), ::core::mem::transmute(pminor)).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCommitInfo(&self, pcommitcount: *mut u32, pcommithash: *mut *mut i8) -> ::windows::core::Result<()> { @@ -2322,7 +2322,7 @@ pub struct IDxcVersionInfo2_Vtbl { pub struct IDxcVersionInfo3(::windows::core::IUnknown); impl IDxcVersionInfo3 { pub unsafe fn GetCustomVersionString(&self) -> ::windows::core::Result<*mut i8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut i8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomVersionString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut i8>(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs index b03c5f4c18..56db28d71f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs @@ -155,7 +155,7 @@ pub unsafe fn D3DCompressShaders(pshaderdata: &[D3D_SHADER_DATA], uflags: u32) - extern "system" { fn D3DCompressShaders(unumshaders: u32, pshaderdata: *const D3D_SHADER_DATA, uflags: u32, ppcompresseddata: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DCompressShaders(pshaderdata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderdata)), uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -165,7 +165,7 @@ pub unsafe fn D3DCreateBlob(size: usize) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DCreateBlob(size, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D11\"`*"] @@ -176,7 +176,7 @@ pub unsafe fn D3DCreateFunctionLinkingGraph(uflags: u32) -> ::windows::core::Res extern "system" { fn D3DCreateFunctionLinkingGraph(uflags: u32, ppfunctionlinkinggraph: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DCreateFunctionLinkingGraph(uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D11\"`*"] @@ -187,7 +187,7 @@ pub unsafe fn D3DCreateLinker() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DCreateLinker(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -209,7 +209,7 @@ where extern "system" { fn D3DDisassemble(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, flags: u32, szcomments: ::windows::core::PCSTR, ppdisassembly: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DDisassemble(::core::mem::transmute(psrcdata), srcdatasize, flags, szcomments.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D10\"`*"] @@ -223,7 +223,7 @@ where extern "system" { fn D3DDisassemble10Effect(peffect: *mut ::core::ffi::c_void, flags: u32, ppdisassembly: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DDisassemble10Effect(peffect.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -245,7 +245,7 @@ pub unsafe fn D3DGetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: extern "system" { fn D3DGetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32, pppart: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DGetBlobPart(::core::mem::transmute(psrcdata), srcdatasize, part, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -255,7 +255,7 @@ pub unsafe fn D3DGetDebugInfo(psrcdata: *const ::core::ffi::c_void, srcdatasize: extern "system" { fn D3DGetDebugInfo(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppdebuginfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DGetDebugInfo(::core::mem::transmute(psrcdata), srcdatasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -265,7 +265,7 @@ pub unsafe fn D3DGetInputAndOutputSignatureBlob(psrcdata: *const ::core::ffi::c_ extern "system" { fn D3DGetInputAndOutputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppsignatureblob: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DGetInputAndOutputSignatureBlob(::core::mem::transmute(psrcdata), srcdatasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -275,7 +275,7 @@ pub unsafe fn D3DGetInputSignatureBlob(psrcdata: *const ::core::ffi::c_void, src extern "system" { fn D3DGetInputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppsignatureblob: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DGetInputSignatureBlob(::core::mem::transmute(psrcdata), srcdatasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -285,7 +285,7 @@ pub unsafe fn D3DGetOutputSignatureBlob(psrcdata: *const ::core::ffi::c_void, sr extern "system" { fn D3DGetOutputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppsignatureblob: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DGetOutputSignatureBlob(::core::mem::transmute(psrcdata), srcdatasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -305,7 +305,7 @@ pub unsafe fn D3DLoadModule(psrcdata: *const ::core::ffi::c_void, cbsrcdatasize: extern "system" { fn D3DLoadModule(psrcdata: *const ::core::ffi::c_void, cbsrcdatasize: usize, ppmodule: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DLoadModule(::core::mem::transmute(psrcdata), cbsrcdatasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -331,7 +331,7 @@ where extern "system" { fn D3DReadFileToBlob(pfilename: ::windows::core::PCWSTR, ppcontents: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DReadFileToBlob(pfilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -359,7 +359,7 @@ pub unsafe fn D3DSetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: extern "system" { fn D3DSetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32, ppart: *const ::core::ffi::c_void, partsize: usize, ppnewshader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DSetBlobPart(::core::mem::transmute(psrcdata), srcdatasize, part, flags, ::core::mem::transmute(ppart), partsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -369,7 +369,7 @@ pub unsafe fn D3DStripShader(pshaderbytecode: *const ::core::ffi::c_void, byteco extern "system" { fn D3DStripShader(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ustripflags: u32, ppstrippedblob: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DStripShader(::core::mem::transmute(pshaderbytecode), bytecodelength, ustripflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Foundation\"`*"] 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 5bfd4d57d8..32d03da10c 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs @@ -1961,7 +1961,7 @@ pub struct ID3DBlob_Vtbl { pub struct ID3DDestructionNotifier(::windows::core::IUnknown); impl ID3DDestructionNotifier { pub unsafe fn RegisterDestructionCallback(&self, callbackfn: PFN_DESTRUCTION_CALLBACK, pdata: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterDestructionCallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(callbackfn), ::core::mem::transmute(pdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterDestructionCallback(&self, callbackid: u32) -> ::windows::core::Result<()> { 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 92a812994a..b2675652e4 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs @@ -37,7 +37,7 @@ pub unsafe fn D3D10CreateBlob(numbytes: usize) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10CreateBlob(numbytes, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi\"`*"] @@ -52,7 +52,7 @@ where extern "system" { fn D3D10CreateDevice(padapter: *mut ::core::ffi::c_void, drivertype: D3D10_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: u32, sdkversion: u32, ppdevice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10CreateDevice(padapter.into().abi(), drivertype, software.into(), flags, sdkversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi\"`*"] @@ -67,7 +67,7 @@ where extern "system" { fn D3D10CreateDevice1(padapter: *mut ::core::ffi::c_void, drivertype: D3D10_DRIVER_TYPE, software: super::super::Foundation::HINSTANCE, flags: u32, hardwarelevel: D3D10_FEATURE_LEVEL1, sdkversion: u32, ppdevice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10CreateDevice1(padapter.into().abi(), drivertype, software.into(), flags, hardwarelevel, sdkversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -109,7 +109,7 @@ where extern "system" { fn D3D10CreateEffectFromMemory(pdata: *const ::core::ffi::c_void, datalength: usize, fxflags: u32, pdevice: *mut ::core::ffi::c_void, peffectpool: *mut ::core::ffi::c_void, ppeffect: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10CreateEffectFromMemory(::core::mem::transmute(pdata), datalength, fxflags, pdevice.into().abi(), peffectpool.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -122,7 +122,7 @@ where extern "system" { fn D3D10CreateEffectPoolFromMemory(pdata: *const ::core::ffi::c_void, datalength: usize, fxflags: u32, pdevice: *mut ::core::ffi::c_void, ppeffectpool: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10CreateEffectPoolFromMemory(::core::mem::transmute(pdata), datalength, fxflags, pdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -135,7 +135,7 @@ where extern "system" { fn D3D10CreateStateBlock(pdevice: *mut ::core::ffi::c_void, pstateblockmask: *const D3D10_STATE_BLOCK_MASK, ppstateblock: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10CreateStateBlock(pdevice.into().abi(), ::core::mem::transmute(pstateblockmask), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] @@ -150,7 +150,7 @@ where extern "system" { fn D3D10DisassembleEffect(peffect: *mut ::core::ffi::c_void, enablecolorcode: super::super::Foundation::BOOL, ppdisassembly: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10DisassembleEffect(peffect.into().abi(), enablecolorcode.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] @@ -165,7 +165,7 @@ where extern "system" { fn D3D10DisassembleShader(pshader: *const ::core::ffi::c_void, bytecodelength: usize, enablecolorcode: super::super::Foundation::BOOL, pcomments: ::windows::core::PCSTR, ppdisassembly: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10DisassembleShader(::core::mem::transmute(pshader), bytecodelength, enablecolorcode.into(), pcomments.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -188,7 +188,7 @@ pub unsafe fn D3D10GetInputAndOutputSignatureBlob(pshaderbytecode: *const ::core extern "system" { fn D3D10GetInputAndOutputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppsignatureblob: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10GetInputAndOutputSignatureBlob(::core::mem::transmute(pshaderbytecode), bytecodelength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] @@ -199,7 +199,7 @@ pub unsafe fn D3D10GetInputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_ extern "system" { fn D3D10GetInputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppsignatureblob: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10GetInputSignatureBlob(::core::mem::transmute(pshaderbytecode), bytecodelength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] @@ -210,7 +210,7 @@ pub unsafe fn D3D10GetOutputSignatureBlob(pshaderbytecode: *const ::core::ffi::c extern "system" { fn D3D10GetOutputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppsignatureblob: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10GetOutputSignatureBlob(::core::mem::transmute(pshaderbytecode), bytecodelength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -233,7 +233,7 @@ pub unsafe fn D3D10GetShaderDebugInfo(pshaderbytecode: *const ::core::ffi::c_voi extern "system" { fn D3D10GetShaderDebugInfo(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppdebuginfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10GetShaderDebugInfo(::core::mem::transmute(pshaderbytecode), bytecodelength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -270,7 +270,7 @@ pub unsafe fn D3D10ReflectShader(pshaderbytecode: *const ::core::ffi::c_void, by extern "system" { fn D3D10ReflectShader(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ppreflector: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10ReflectShader(::core::mem::transmute(pshaderbytecode), bytecodelength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -280,7 +280,7 @@ pub unsafe fn D3D10StateBlockMaskDifference(pa: *const D3D10_STATE_BLOCK_MASK, p extern "system" { fn D3D10StateBlockMaskDifference(pa: *const D3D10_STATE_BLOCK_MASK, pb: *const D3D10_STATE_BLOCK_MASK, presult: *mut D3D10_STATE_BLOCK_MASK) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10StateBlockMaskDifference(::core::mem::transmute(pa), ::core::mem::transmute(pb), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -290,7 +290,7 @@ pub unsafe fn D3D10StateBlockMaskDisableAll() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10StateBlockMaskDisableAll(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -309,7 +309,7 @@ pub unsafe fn D3D10StateBlockMaskEnableAll() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10StateBlockMaskEnableAll(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -338,7 +338,7 @@ pub unsafe fn D3D10StateBlockMaskIntersect(pa: *const D3D10_STATE_BLOCK_MASK, pb extern "system" { fn D3D10StateBlockMaskIntersect(pa: *const D3D10_STATE_BLOCK_MASK, pb: *const D3D10_STATE_BLOCK_MASK, presult: *mut D3D10_STATE_BLOCK_MASK) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10StateBlockMaskIntersect(::core::mem::transmute(pa), ::core::mem::transmute(pb), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -348,7 +348,7 @@ pub unsafe fn D3D10StateBlockMaskUnion(pa: *const D3D10_STATE_BLOCK_MASK, pb: *c extern "system" { fn D3D10StateBlockMaskUnion(pa: *const D3D10_STATE_BLOCK_MASK, pb: *const D3D10_STATE_BLOCK_MASK, presult: *mut D3D10_STATE_BLOCK_MASK) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3D10StateBlockMaskUnion(::core::mem::transmute(pa), ::core::mem::transmute(pb), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -7234,7 +7234,7 @@ impl ID3D10Debug { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetSwapChain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSwapChain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Validate(&self) -> ::windows::core::Result<()> { @@ -7771,25 +7771,25 @@ impl ID3D10Device { (::windows::core::Interface::vtable(self).Flush)(::windows::core::Interface::as_raw(self)) } pub unsafe fn CreateBuffer(&self, pdesc: *const D3D10_BUFFER_DESC, pinitialdata: *const D3D10_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D10_TEXTURE1D_DESC, pinitialdata: *const D3D10_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTexture1D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D10_TEXTURE2D_DESC, pinitialdata: *const D3D10_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTexture2D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D10_TEXTURE3D_DESC, pinitialdata: *const D3D10_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTexture3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -7798,7 +7798,7 @@ impl ID3D10Device { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D10Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -7807,7 +7807,7 @@ impl ID3D10Device { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D10Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -7816,75 +7816,75 @@ impl ID3D10Device { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D10Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D10_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pinputelementdescs)), pinputelementdescs.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecodewithinputsignature)), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVertexShader(&self, pshaderbytecode: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShader(&self, pshaderbytecode: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShaderWithStreamOutput(&self, pshaderbytecode: &[u8], psodeclaration: &[D3D10_SO_DECLARATION_ENTRY], outputstreamstride: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGeometryShaderWithStreamOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psodeclaration)), psodeclaration.len() as _, outputstreamstride, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader(&self, pshaderbytecode: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D10_BLEND_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D10_DEPTH_STENCIL_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdepthstencildesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D10_RASTERIZER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRasterizerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D10_SAMPLER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSamplerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psamplerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D10_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D10_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePredicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppredicatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D10_COUNTER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcounterdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCounterInfo(&self, pcounterinfo: *mut D3D10_COUNTER_INFO) { @@ -8399,25 +8399,25 @@ impl ID3D10Device1 { (::windows::core::Interface::vtable(self).base__.Flush)(::windows::core::Interface::as_raw(self)) } pub unsafe fn CreateBuffer(&self, pdesc: *const D3D10_BUFFER_DESC, pinitialdata: *const D3D10_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D10_TEXTURE1D_DESC, pinitialdata: *const D3D10_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D10_TEXTURE2D_DESC, pinitialdata: *const D3D10_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D10_TEXTURE3D_DESC, pinitialdata: *const D3D10_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8426,7 +8426,7 @@ impl ID3D10Device1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D10Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8435,7 +8435,7 @@ impl ID3D10Device1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D10Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8444,75 +8444,75 @@ impl ID3D10Device1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D10Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D10_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pinputelementdescs)), pinputelementdescs.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecodewithinputsignature)), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVertexShader(&self, pshaderbytecode: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShader(&self, pshaderbytecode: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShaderWithStreamOutput(&self, pshaderbytecode: &[u8], psodeclaration: &[D3D10_SO_DECLARATION_ENTRY], outputstreamstride: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGeometryShaderWithStreamOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psodeclaration)), psodeclaration.len() as _, outputstreamstride, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader(&self, pshaderbytecode: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D10_BLEND_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D10_DEPTH_STENCIL_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdepthstencildesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D10_RASTERIZER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D10_SAMPLER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psamplerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D10_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D10_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppredicatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D10_COUNTER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcounterdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCounterInfo(&self, pcounterinfo: *mut D3D10_COUNTER_INFO) { @@ -8544,13 +8544,13 @@ impl ID3D10Device1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D10Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateShaderResourceView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D10_BLEND_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlendState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFeatureLevel(&self) -> D3D10_FEATURE_LEVEL1 { @@ -8704,13 +8704,13 @@ impl ID3D10Effect { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsPool)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConstantBufferByIndex(&self, index: u32) -> ::core::option::Option { @@ -8835,7 +8835,7 @@ impl ID3D10EffectBlendVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -8914,7 +8914,7 @@ impl ID3D10EffectBlendVariable { (::windows::core::Interface::vtable(self).base__.GetRawValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdata), offset, bytecount).ok() } pub unsafe fn GetBlendState(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBlendState)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8983,7 +8983,7 @@ impl ID3D10EffectConstantBuffer { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -9068,7 +9068,7 @@ impl ID3D10EffectConstantBuffer { (::windows::core::Interface::vtable(self).SetConstantBuffer)(::windows::core::Interface::as_raw(self), pconstantbuffer.into().abi()).ok() } pub unsafe fn GetConstantBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConstantBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTextureBuffer<'a, P0>(&self, ptexturebuffer: P0) -> ::windows::core::Result<()> @@ -9078,7 +9078,7 @@ impl ID3D10EffectConstantBuffer { (::windows::core::Interface::vtable(self).SetTextureBuffer)(::windows::core::Interface::as_raw(self), ptexturebuffer.into().abi()).ok() } pub unsafe fn GetTextureBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextureBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9141,7 +9141,7 @@ impl ID3D10EffectDepthStencilVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -9220,13 +9220,13 @@ impl ID3D10EffectDepthStencilVariable { (::windows::core::Interface::vtable(self).base__.GetRawValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdata), offset, bytecount).ok() } pub unsafe fn GetDepthStencilState(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDepthStencilState)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBackingStore(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackingStore)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9290,7 +9290,7 @@ impl ID3D10EffectDepthStencilViewVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -9375,7 +9375,7 @@ impl ID3D10EffectDepthStencilViewVariable { (::windows::core::Interface::vtable(self).SetDepthStencil)(::windows::core::Interface::as_raw(self), presource.into().abi()).ok() } pub unsafe fn GetDepthStencil(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDepthStencil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDepthStencilArray(&self, ppresources: &[::core::option::Option], offset: u32) -> ::windows::core::Result<()> { @@ -9444,7 +9444,7 @@ impl ID3D10EffectMatrixVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -9631,7 +9631,7 @@ impl ID3D10EffectPass { (::windows::core::Interface::vtable(self).Apply)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn ComputeStateBlockMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputeStateBlockMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9737,7 +9737,7 @@ impl ID3D10EffectRasterizerVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -9816,13 +9816,13 @@ impl ID3D10EffectRasterizerVariable { (::windows::core::Interface::vtable(self).base__.GetRawValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdata), offset, bytecount).ok() } pub unsafe fn GetRasterizerState(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRasterizerState)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBackingStore(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackingStore)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9886,7 +9886,7 @@ impl ID3D10EffectRenderTargetViewVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -9971,7 +9971,7 @@ impl ID3D10EffectRenderTargetViewVariable { (::windows::core::Interface::vtable(self).SetRenderTarget)(::windows::core::Interface::as_raw(self), presource.into().abi()).ok() } pub unsafe fn GetRenderTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenderTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRenderTargetArray(&self, ppresources: &[::core::option::Option], offset: u32) -> ::windows::core::Result<()> { @@ -10040,7 +10040,7 @@ impl ID3D10EffectSamplerVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -10119,11 +10119,11 @@ impl ID3D10EffectSamplerVariable { (::windows::core::Interface::vtable(self).base__.GetRawValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdata), offset, bytecount).ok() } pub unsafe fn GetSampler(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSampler)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBackingStore(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackingStore)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10184,7 +10184,7 @@ impl ID3D10EffectScalarVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -10266,7 +10266,7 @@ impl ID3D10EffectScalarVariable { (::windows::core::Interface::vtable(self).SetFloat)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFloatArray(&self, pdata: &[f32], offset: u32) -> ::windows::core::Result<()> { @@ -10279,7 +10279,7 @@ impl ID3D10EffectScalarVariable { (::windows::core::Interface::vtable(self).SetInt)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetInt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIntArray(&self, pdata: &[i32], offset: u32) -> ::windows::core::Result<()> { @@ -10299,7 +10299,7 @@ impl ID3D10EffectScalarVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBool(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBool)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10392,7 +10392,7 @@ impl ID3D10EffectShaderResourceVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -10477,7 +10477,7 @@ impl ID3D10EffectShaderResourceVariable { (::windows::core::Interface::vtable(self).SetResource)(::windows::core::Interface::as_raw(self), presource.into().abi()).ok() } pub unsafe fn GetResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetResourceArray(&self, ppresources: &[::core::option::Option], offset: u32) -> ::windows::core::Result<()> { @@ -10546,7 +10546,7 @@ impl ID3D10EffectShaderVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -10627,31 +10627,31 @@ impl ID3D10EffectShaderVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetShaderDesc(&self, shaderindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShaderDesc)(::windows::core::Interface::as_raw(self), shaderindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVertexShader(&self, shaderindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVertexShader)(::windows::core::Interface::as_raw(self), shaderindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGeometryShader(&self, shaderindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGeometryShader)(::windows::core::Interface::as_raw(self), shaderindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPixelShader(&self, shaderindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPixelShader)(::windows::core::Interface::as_raw(self), shaderindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetInputSignatureElementDesc(&self, shaderindex: u32, element: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputSignatureElementDesc)(::windows::core::Interface::as_raw(self), shaderindex, element, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetOutputSignatureElementDesc(&self, shaderindex: u32, element: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputSignatureElementDesc)(::windows::core::Interface::as_raw(self), shaderindex, element, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10725,7 +10725,7 @@ impl ID3D10EffectStringVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -10804,7 +10804,7 @@ impl ID3D10EffectStringVariable { (::windows::core::Interface::vtable(self).base__.GetRawValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdata), offset, bytecount).ok() } pub unsafe fn GetString(&self) -> ::windows::core::Result<::windows::core::PSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } pub unsafe fn GetStringArray(&self, ppstrings: &mut [::windows::core::PSTR], offset: u32) -> ::windows::core::Result<()> { @@ -10886,7 +10886,7 @@ impl ID3D10EffectTechnique { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetPassByName)(::windows::core::Interface::as_raw(self), name.into())) } pub unsafe fn ComputeStateBlockMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputeStateBlockMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11014,7 +11014,7 @@ impl ID3D10EffectVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -11160,7 +11160,7 @@ impl ID3D10EffectVectorVariable { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAnnotationByIndex(&self, index: u32) -> ::core::option::Option { @@ -12498,7 +12498,7 @@ impl ID3D10ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConstantBufferByIndex(&self, index: u32) -> ::core::option::Option { @@ -12513,19 +12513,19 @@ impl ID3D10ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetResourceBindingDesc(&self, resourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDesc)(::windows::core::Interface::as_raw(self), resourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetInputParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetOutputParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12596,7 +12596,7 @@ impl ID3D10ShaderReflection1 { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConstantBufferByIndex(&self, index: u32) -> ::core::option::Option { @@ -12611,19 +12611,19 @@ impl ID3D10ShaderReflection1 { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetResourceBindingDesc(&self, resourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDesc)(::windows::core::Interface::as_raw(self), resourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetInputParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetOutputParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVariableByName<'a, P0>(&self, name: P0) -> ::core::option::Option @@ -12638,41 +12638,41 @@ impl ID3D10ShaderReflection1 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDescByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMovInstructionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMovInstructionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMovcInstructionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMovcInstructionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConversionInstructionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConversionInstructionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBitwiseInstructionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitwiseInstructionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetGSInputPrimitive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGSInputPrimitive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLevel9Shader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLevel9Shader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSampleFrequencyShader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSampleFrequencyShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12764,7 +12764,7 @@ impl ID3D10ShaderReflectionConstantBuffer { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVariableByIndex(&self, index: u32) -> ::core::option::Option { @@ -12869,7 +12869,7 @@ pub struct ID3D10ShaderReflectionType_Vtbl { pub struct ID3D10ShaderReflectionVariable(::windows::core::IUnknown); impl ID3D10ShaderReflectionVariable { pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::core::option::Option { @@ -13146,7 +13146,7 @@ impl ID3D10StateBlock { (::windows::core::Interface::vtable(self).ReleaseAllDeviceObjects)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13411,7 +13411,7 @@ impl ID3D10Texture2D { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetEvictionPriority)(::windows::core::Interface::as_raw(self))) } pub unsafe fn Map(&self, subresource: u32, maptype: D3D10_MAP, mapflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Map)(::windows::core::Interface::as_raw(self), subresource, maptype, mapflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unmap(&self, subresource: u32) { @@ -13530,7 +13530,7 @@ impl ID3D10Texture3D { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetEvictionPriority)(::windows::core::Interface::as_raw(self))) } pub unsafe fn Map(&self, subresource: u32, maptype: D3D10_MAP, mapflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Map)(::windows::core::Interface::as_raw(self), subresource, maptype, mapflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unmap(&self, subresource: u32) { 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 f1eb36e95d..07d601d24e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -14971,7 +14971,7 @@ where extern "system" { fn D3DDisassemble11Trace(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ptrace: *mut ::core::ffi::c_void, startstep: u32, numsteps: u32, flags: u32, ppdisassembly: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DDisassemble11Trace(::core::mem::transmute(psrcdata), srcdatasize, ptrace.into().abi(), startstep, numsteps, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] @@ -15068,7 +15068,7 @@ where extern "system" { fn D3DX11CreateScan(pdevicecontext: *mut ::core::ffi::c_void, maxelementscansize: u32, maxscancount: u32, ppscan: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DX11CreateScan(pdevicecontext.into().abi(), maxelementscansize, maxscancount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] @@ -15081,7 +15081,7 @@ where extern "system" { fn D3DX11CreateSegmentedScan(pdevicecontext: *mut ::core::ffi::c_void, maxelementscansize: u32, ppscan: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); D3DX11CreateSegmentedScan(pdevicecontext.into().abi(), maxelementscansize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -15452,11 +15452,11 @@ impl ID3D11AuthenticatedChannel { (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), pdata.into().abi()).ok() } pub unsafe fn GetCertificateSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCertificate(&self, certificatesize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificate)(::windows::core::Interface::as_raw(self), certificatesize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15946,14 +15946,14 @@ impl ID3D11ClassLinkage { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClassInstance)(::windows::core::Interface::as_raw(self), pclassinstancename.into(), instanceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateClassInstance<'a, P0>(&self, pclasstypename: P0, constantbufferoffset: u32, constantvectoroffset: u32, textureoffset: u32, sampleroffset: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClassInstance)(::windows::core::Interface::as_raw(self), pclasstypename.into(), constantbufferoffset, constantvectoroffset, textureoffset, sampleroffset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16299,11 +16299,11 @@ impl ID3D11CryptoSession { (::windows::core::Interface::vtable(self).GetDecoderProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdecoderprofile)) } pub unsafe fn GetCertificateSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCertificate(&self, certificatesize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificate)(::windows::core::Interface::as_raw(self), certificatesize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16404,7 +16404,7 @@ impl ID3D11Debug { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetSwapChain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSwapChain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ValidateContext<'a, P0>(&self, pcontext: P0) -> ::windows::core::Result<()> @@ -16675,25 +16675,25 @@ pub struct ID3D11DepthStencilView_Vtbl { pub struct ID3D11Device(::windows::core::IUnknown); impl ID3D11Device { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTexture1D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTexture2D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTexture3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -16702,7 +16702,7 @@ impl ID3D11Device { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -16711,7 +16711,7 @@ impl ID3D11Device { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -16720,7 +16720,7 @@ impl ID3D11Device { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -16729,104 +16729,104 @@ impl ID3D11Device { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pinputelementdescs)), pinputelementdescs.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecodewithinputsignature)), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVertexShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShaderWithStreamOutput<'a, P0>(&self, pshaderbytecode: &[u8], psodeclaration: &[D3D11_SO_DECLARATION_ENTRY], pbufferstrides: &[u32], rasterizedstream: u32, pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGeometryShaderWithStreamOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psodeclaration)), psodeclaration.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbufferstrides)), pbufferstrides.len() as _, rasterizedstream, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHullShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDomainShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComputeShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClassLinkage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdepthstencildesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRasterizerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSamplerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psamplerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePredicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppredicatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcounterdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeferredContext(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16841,13 +16841,13 @@ impl ID3D11Device { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCounterInfo(&self, pcounterinfo: *mut D3D11_COUNTER_INFO) { @@ -17024,25 +17024,25 @@ pub struct ID3D11Device_Vtbl { pub struct ID3D11Device1(::windows::core::IUnknown); impl ID3D11Device1 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17051,7 +17051,7 @@ impl ID3D11Device1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17060,7 +17060,7 @@ impl ID3D11Device1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17069,7 +17069,7 @@ impl ID3D11Device1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17078,104 +17078,104 @@ impl ID3D11Device1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pinputelementdescs)), pinputelementdescs.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecodewithinputsignature)), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVertexShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShaderWithStreamOutput<'a, P0>(&self, pshaderbytecode: &[u8], psodeclaration: &[D3D11_SO_DECLARATION_ENTRY], pbufferstrides: &[u32], rasterizedstream: u32, pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGeometryShaderWithStreamOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psodeclaration)), psodeclaration.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbufferstrides)), pbufferstrides.len() as _, rasterizedstream, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHullShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDomainShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComputeShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdepthstencildesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psamplerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppredicatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcounterdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeferredContext(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17190,13 +17190,13 @@ impl ID3D11Device1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCounterInfo(&self, pcounterinfo: *mut D3D11_COUNTER_INFO) { @@ -17244,19 +17244,19 @@ impl ID3D11Device1 { (::windows::core::Interface::vtable(self).GetImmediateContext1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext1(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlendState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRasterizerState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -17364,25 +17364,25 @@ pub struct ID3D11Device1_Vtbl { pub struct ID3D11Device2(::windows::core::IUnknown); impl ID3D11Device2 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17391,7 +17391,7 @@ impl ID3D11Device2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17400,7 +17400,7 @@ impl ID3D11Device2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17409,7 +17409,7 @@ impl ID3D11Device2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17418,104 +17418,104 @@ impl ID3D11Device2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pinputelementdescs)), pinputelementdescs.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecodewithinputsignature)), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVertexShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShaderWithStreamOutput<'a, P0>(&self, pshaderbytecode: &[u8], psodeclaration: &[D3D11_SO_DECLARATION_ENTRY], pbufferstrides: &[u32], rasterizedstream: u32, pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGeometryShaderWithStreamOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psodeclaration)), psodeclaration.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbufferstrides)), pbufferstrides.len() as _, rasterizedstream, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHullShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDomainShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComputeShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdepthstencildesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psamplerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppredicatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcounterdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeferredContext(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17530,13 +17530,13 @@ impl ID3D11Device2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCounterInfo(&self, pcounterinfo: *mut D3D11_COUNTER_INFO) { @@ -17584,19 +17584,19 @@ impl ID3D11Device2 { (::windows::core::Interface::vtable(self).base__.GetImmediateContext1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext1(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBlendState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRasterizerState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -17626,7 +17626,7 @@ impl ID3D11Device2 { (::windows::core::Interface::vtable(self).GetImmediateContext2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext2(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeferredContext2)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResourceTiling<'a, P0>(&self, ptiledresource: P0, pnumtilesforentireresource: *mut u32, ppackedmipdesc: *mut D3D11_PACKED_MIP_DESC, pstandardtileshapefornonpackedmips: *mut D3D11_TILE_SHAPE, pnumsubresourcetilings: *mut u32, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING) @@ -17638,7 +17638,7 @@ impl ID3D11Device2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels1(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckMultisampleQualityLevels1)(::windows::core::Interface::as_raw(self), format, samplecount, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17726,25 +17726,25 @@ pub struct ID3D11Device2_Vtbl { pub struct ID3D11Device3(::windows::core::IUnknown); impl ID3D11Device3 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17753,7 +17753,7 @@ impl ID3D11Device3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17762,7 +17762,7 @@ impl ID3D11Device3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17771,7 +17771,7 @@ impl ID3D11Device3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17780,104 +17780,104 @@ impl ID3D11Device3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pinputelementdescs)), pinputelementdescs.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecodewithinputsignature)), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVertexShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShaderWithStreamOutput<'a, P0>(&self, pshaderbytecode: &[u8], psodeclaration: &[D3D11_SO_DECLARATION_ENTRY], pbufferstrides: &[u32], rasterizedstream: u32, pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGeometryShaderWithStreamOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psodeclaration)), psodeclaration.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbufferstrides)), pbufferstrides.len() as _, rasterizedstream, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHullShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDomainShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComputeShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdepthstencildesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psamplerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppredicatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcounterdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeferredContext(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17892,13 +17892,13 @@ impl ID3D11Device3 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCounterInfo(&self, pcounterinfo: *mut D3D11_COUNTER_INFO) { @@ -17946,19 +17946,19 @@ impl ID3D11Device3 { (::windows::core::Interface::vtable(self).base__.base__.GetImmediateContext1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext1(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateBlendState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRasterizerState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -17988,7 +17988,7 @@ impl ID3D11Device3 { (::windows::core::Interface::vtable(self).base__.GetImmediateContext2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext2(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeferredContext2)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResourceTiling<'a, P0>(&self, ptiledresource: P0, pnumtilesforentireresource: *mut u32, ppackedmipdesc: *mut D3D11_PACKED_MIP_DESC, pstandardtileshapefornonpackedmips: *mut D3D11_TILE_SHAPE, pnumsubresourcetilings: *mut u32, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING) @@ -18000,25 +18000,25 @@ impl ID3D11Device3 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels1(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckMultisampleQualityLevels1)(::windows::core::Interface::as_raw(self), format, samplecount, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D1(&self, pdesc1: *const D3D11_TEXTURE2D_DESC1, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTexture2D1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc1), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D1(&self, pdesc1: *const D3D11_TEXTURE3D_DESC1, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTexture3D1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc1), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState2(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRasterizerState2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18027,7 +18027,7 @@ impl ID3D11Device3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateShaderResourceView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18036,7 +18036,7 @@ impl ID3D11Device3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUnorderedAccessView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18045,18 +18045,18 @@ impl ID3D11Device3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRenderTargetView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery1(&self, pquerydesc1: *const D3D11_QUERY_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQuery1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImmediateContext3(&self, ppimmediatecontext: *mut ::core::option::Option) { (::windows::core::Interface::vtable(self).GetImmediateContext3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext3(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDeferredContext3)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteToSubresource<'a, P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: *const D3D11_BOX, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) @@ -18193,25 +18193,25 @@ pub struct ID3D11Device3_Vtbl { pub struct ID3D11Device4(::windows::core::IUnknown); impl ID3D11Device4 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18220,7 +18220,7 @@ impl ID3D11Device4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18229,7 +18229,7 @@ impl ID3D11Device4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18238,7 +18238,7 @@ impl ID3D11Device4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18247,104 +18247,104 @@ impl ID3D11Device4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pinputelementdescs)), pinputelementdescs.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecodewithinputsignature)), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVertexShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShaderWithStreamOutput<'a, P0>(&self, pshaderbytecode: &[u8], psodeclaration: &[D3D11_SO_DECLARATION_ENTRY], pbufferstrides: &[u32], rasterizedstream: u32, pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGeometryShaderWithStreamOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psodeclaration)), psodeclaration.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbufferstrides)), pbufferstrides.len() as _, rasterizedstream, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHullShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDomainShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComputeShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdepthstencildesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psamplerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppredicatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcounterdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeferredContext(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18359,13 +18359,13 @@ impl ID3D11Device4 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCounterInfo(&self, pcounterinfo: *mut D3D11_COUNTER_INFO) { @@ -18413,19 +18413,19 @@ impl ID3D11Device4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetImmediateContext1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext1(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBlendState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRasterizerState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -18455,7 +18455,7 @@ impl ID3D11Device4 { (::windows::core::Interface::vtable(self).base__.base__.GetImmediateContext2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext2(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDeferredContext2)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResourceTiling<'a, P0>(&self, ptiledresource: P0, pnumtilesforentireresource: *mut u32, ppackedmipdesc: *mut D3D11_PACKED_MIP_DESC, pstandardtileshapefornonpackedmips: *mut D3D11_TILE_SHAPE, pnumsubresourcetilings: *mut u32, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING) @@ -18467,25 +18467,25 @@ impl ID3D11Device4 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels1(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckMultisampleQualityLevels1)(::windows::core::Interface::as_raw(self), format, samplecount, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D1(&self, pdesc1: *const D3D11_TEXTURE2D_DESC1, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTexture2D1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc1), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D1(&self, pdesc1: *const D3D11_TEXTURE3D_DESC1, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTexture3D1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc1), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState2(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRasterizerState2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18494,7 +18494,7 @@ impl ID3D11Device4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateShaderResourceView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18503,7 +18503,7 @@ impl ID3D11Device4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateUnorderedAccessView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18512,18 +18512,18 @@ impl ID3D11Device4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRenderTargetView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery1(&self, pquerydesc1: *const D3D11_QUERY_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQuery1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImmediateContext3(&self, ppimmediatecontext: *mut ::core::option::Option) { (::windows::core::Interface::vtable(self).base__.GetImmediateContext3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext3(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDeferredContext3)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteToSubresource<'a, P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: *const D3D11_BOX, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) @@ -18544,7 +18544,7 @@ impl ID3D11Device4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterDeviceRemovedEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterDeviceRemoved(&self, dwcookie: u32) { @@ -18663,25 +18663,25 @@ pub struct ID3D11Device4_Vtbl { pub struct ID3D11Device5(::windows::core::IUnknown); impl ID3D11Device5 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18690,7 +18690,7 @@ impl ID3D11Device5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18699,7 +18699,7 @@ impl ID3D11Device5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18708,7 +18708,7 @@ impl ID3D11Device5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18717,104 +18717,104 @@ impl ID3D11Device5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pinputelementdescs)), pinputelementdescs.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecodewithinputsignature)), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVertexShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryShaderWithStreamOutput<'a, P0>(&self, pshaderbytecode: &[u8], psodeclaration: &[D3D11_SO_DECLARATION_ENTRY], pbufferstrides: &[u32], rasterizedstream: u32, pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGeometryShaderWithStreamOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psodeclaration)), psodeclaration.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbufferstrides)), pbufferstrides.len() as _, rasterizedstream, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHullShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDomainShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComputeShader<'a, P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11ClassLinkage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pshaderbytecode)), pshaderbytecode.len() as _, pclasslinkage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdepthstencildesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psamplerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppredicatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcounterdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDeferredContext(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18829,13 +18829,13 @@ impl ID3D11Device5 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCounterInfo(&self, pcounterinfo: *mut D3D11_COUNTER_INFO) { @@ -18883,19 +18883,19 @@ impl ID3D11Device5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetImmediateContext1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext1(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBlendState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblendstatedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRasterizerState1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -18925,7 +18925,7 @@ impl ID3D11Device5 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetImmediateContext2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext2(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeferredContext2)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResourceTiling<'a, P0>(&self, ptiledresource: P0, pnumtilesforentireresource: *mut u32, ppackedmipdesc: *mut D3D11_PACKED_MIP_DESC, pstandardtileshapefornonpackedmips: *mut D3D11_TILE_SHAPE, pnumsubresourcetilings: *mut u32, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING) @@ -18937,25 +18937,25 @@ impl ID3D11Device5 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckMultisampleQualityLevels1(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CheckMultisampleQualityLevels1)(::windows::core::Interface::as_raw(self), format, samplecount, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D1(&self, pdesc1: *const D3D11_TEXTURE2D_DESC1, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTexture2D1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc1), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D1(&self, pdesc1: *const D3D11_TEXTURE3D_DESC1, pinitialdata: *const D3D11_SUBRESOURCE_DATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTexture3D1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc1), ::core::mem::transmute(pinitialdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRasterizerState2(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRasterizerState2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prasterizerdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18964,7 +18964,7 @@ impl ID3D11Device5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateShaderResourceView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18973,7 +18973,7 @@ impl ID3D11Device5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateUnorderedAccessView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18982,18 +18982,18 @@ impl ID3D11Device5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRenderTargetView1)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQuery1(&self, pquerydesc1: *const D3D11_QUERY_DESC1) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateQuery1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pquerydesc1), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImmediateContext3(&self, ppimmediatecontext: *mut ::core::option::Option) { (::windows::core::Interface::vtable(self).base__.base__.GetImmediateContext3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppimmediatecontext)) } pub unsafe fn CreateDeferredContext3(&self, contextflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDeferredContext3)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteToSubresource<'a, P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: *const D3D11_BOX, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) @@ -19014,7 +19014,7 @@ impl ID3D11Device5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterDeviceRemovedEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterDeviceRemoved(&self, dwcookie: u32) { @@ -19274,7 +19274,7 @@ impl ID3D11DeviceContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Map)(::windows::core::Interface::as_raw(self), presource.into().abi(), subresource, maptype, mapflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unmap<'a, P0>(&self, presource: P0, subresource: u32) @@ -19702,7 +19702,7 @@ impl ID3D11DeviceContext { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19954,7 +19954,7 @@ impl ID3D11DeviceContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Map)(::windows::core::Interface::as_raw(self), presource.into().abi(), subresource, maptype, mapflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unmap<'a, P0>(&self, presource: P0, subresource: u32) @@ -20382,7 +20382,7 @@ impl ID3D11DeviceContext1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopySubresourceRegion1<'a, P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: *const D3D11_BOX, copyflags: u32) @@ -20616,7 +20616,7 @@ impl ID3D11DeviceContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Map)(::windows::core::Interface::as_raw(self), presource.into().abi(), subresource, maptype, mapflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unmap<'a, P0>(&self, presource: P0, subresource: u32) @@ -21044,7 +21044,7 @@ impl ID3D11DeviceContext2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopySubresourceRegion1<'a, P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: *const D3D11_BOX, copyflags: u32) @@ -21361,7 +21361,7 @@ impl ID3D11DeviceContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Map)(::windows::core::Interface::as_raw(self), presource.into().abi(), subresource, maptype, mapflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unmap<'a, P0>(&self, presource: P0, subresource: u32) @@ -21789,7 +21789,7 @@ impl ID3D11DeviceContext3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopySubresourceRegion1<'a, P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: *const D3D11_BOX, copyflags: u32) @@ -22129,7 +22129,7 @@ impl ID3D11DeviceContext4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Map)(::windows::core::Interface::as_raw(self), presource.into().abi(), subresource, maptype, mapflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unmap<'a, P0>(&self, presource: P0, subresource: u32) @@ -22557,7 +22557,7 @@ impl ID3D11DeviceContext4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopySubresourceRegion1<'a, P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: *const D3D11_BOX, copyflags: u32) @@ -22966,7 +22966,7 @@ impl ID3D11Fence { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSharedHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pattributes), dwaccess, lpname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCompletedValue(&self) -> u64 { @@ -23059,13 +23059,13 @@ impl ID3D11FunctionLinkingGraph { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn SetInputSignature(&self, pinputparameters: &[D3D11_PARAMETER_DESC]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetInputSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pinputparameters)), pinputparameters.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn SetOutputSignature(&self, poutputparameters: &[D3D11_PARAMETER_DESC]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetOutputSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(poutputparameters)), poutputparameters.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallFunction<'a, P0, P1, P2>(&self, pmoduleinstancenamespace: P0, pmodulewithfunctionprototype: P1, pfunctionname: P2) -> ::windows::core::Result @@ -23074,7 +23074,7 @@ impl ID3D11FunctionLinkingGraph { P1: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Module>>, P2: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallFunction)(::windows::core::Interface::as_raw(self), pmoduleinstancenamespace.into(), pmodulewithfunctionprototype.into().abi(), pfunctionname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PassValue<'a, P0, P1>(&self, psrcnode: P0, srcparameterindex: i32, pdstnode: P1, dstparameterindex: i32) -> ::windows::core::Result<()> @@ -23096,13 +23096,13 @@ impl ID3D11FunctionLinkingGraph { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetLastError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GenerateHlsl(&self, uflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateHlsl)(::windows::core::Interface::as_raw(self), uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23178,7 +23178,7 @@ impl ID3D11FunctionParameterReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23219,7 +23219,7 @@ impl ID3D11FunctionReflection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConstantBufferByIndex(&self, bufferindex: u32) -> ::core::option::Option { @@ -23234,7 +23234,7 @@ impl ID3D11FunctionReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetResourceBindingDesc(&self, resourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDesc)(::windows::core::Interface::as_raw(self), resourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVariableByName<'a, P0>(&self, name: P0) -> ::core::option::Option @@ -23249,7 +23249,7 @@ impl ID3D11FunctionReflection { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDescByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionParameter(&self, parameterindex: i32) -> ::core::option::Option { @@ -23779,7 +23779,7 @@ pub struct ID3D11InputLayout_Vtbl { pub struct ID3D11LibraryReflection(::windows::core::IUnknown); impl ID3D11LibraryReflection { pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionByIndex(&self, functionindex: i32) -> ::core::option::Option { @@ -23956,7 +23956,7 @@ impl ID3D11Module { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), pnamespace.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25412,7 +25412,7 @@ impl ID3D11ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConstantBufferByIndex(&self, index: u32) -> ::core::option::Option { @@ -25427,25 +25427,25 @@ impl ID3D11ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetResourceBindingDesc(&self, resourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDesc)(::windows::core::Interface::as_raw(self), resourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetInputParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetOutputParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetPatchConstantParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPatchConstantParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVariableByName<'a, P0>(&self, name: P0) -> ::core::option::Option @@ -25460,7 +25460,7 @@ impl ID3D11ShaderReflection { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDescByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMovInstructionCount(&self) -> u32 { @@ -25491,7 +25491,7 @@ impl ID3D11ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetMinFeatureLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinFeatureLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadGroupSize(&self, psizex: *mut u32, psizey: *mut u32, psizez: *mut u32) -> u32 { @@ -25647,7 +25647,7 @@ impl ID3D11ShaderReflectionType { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMemberTypeByIndex(&self, index: u32) -> ::core::option::Option { @@ -25738,7 +25738,7 @@ pub struct ID3D11ShaderReflectionType_Vtbl { pub struct ID3D11ShaderReflectionVariable(::windows::core::IUnknown); impl ID3D11ShaderReflectionVariable { pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::core::option::Option { @@ -26014,7 +26014,7 @@ pub struct ID3D11ShaderResourceView1_Vtbl { pub struct ID3D11ShaderTrace(::windows::core::IUnknown); impl ID3D11ShaderTrace { pub unsafe fn TraceReady(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TraceReady)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetTrace(&self) { @@ -26023,20 +26023,20 @@ impl ID3D11ShaderTrace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTraceStats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTraceStats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PSSelectStamp(&self, stampindex: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).PSSelectStamp)(::windows::core::Interface::as_raw(self), stampindex).ok() } pub unsafe fn GetInitialRegisterContents(&self, pregister: *const D3D11_TRACE_REGISTER) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInitialRegisterContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pregister), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStep(&self, stepindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStep)(::windows::core::Interface::as_raw(self), stepindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWrittenRegister(&self, stepindex: u32, writtenregisterindex: u32, pregister: *mut D3D11_TRACE_REGISTER, pvalue: *mut D3D11_TRACE_VALUE) -> ::windows::core::Result<()> { @@ -26110,7 +26110,7 @@ impl ID3D11ShaderTraceFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateShaderTrace)(::windows::core::Interface::as_raw(self), pshader.into().abi(), ::core::mem::transmute(ptracedesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27610,7 +27610,7 @@ impl ID3D11VideoContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11AuthenticatedChannel>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConfigureAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into().abi(), inputsize, ::core::mem::transmute(pinput), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -28271,7 +28271,7 @@ impl ID3D11VideoContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11AuthenticatedChannel>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ConfigureAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into().abi(), inputsize, ::core::mem::transmute(pinput), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -28301,14 +28301,14 @@ impl ID3D11VideoContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11CryptoSession>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataForNewHardwareKey)(::windows::core::Interface::as_raw(self), pcryptosession.into().abi(), pprivatinputdata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pprivatinputdata)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCryptoSessionStatus<'a, P0>(&self, pcryptosession: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11CryptoSession>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckCryptoSessionStatus)(::windows::core::Interface::as_raw(self), pcryptosession.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -28401,7 +28401,7 @@ impl ID3D11VideoContext1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessor>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoProcessorGetBehaviorHints)(::windows::core::Interface::as_raw(self), pvideoprocessor.into().abi(), outputwidth, outputheight, outputformat, pstreams.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pstreams)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28956,7 +28956,7 @@ impl ID3D11VideoContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11AuthenticatedChannel>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ConfigureAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into().abi(), inputsize, ::core::mem::transmute(pinput), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -28986,14 +28986,14 @@ impl ID3D11VideoContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11CryptoSession>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDataForNewHardwareKey)(::windows::core::Interface::as_raw(self), pcryptosession.into().abi(), pprivatinputdata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pprivatinputdata)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCryptoSessionStatus<'a, P0>(&self, pcryptosession: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11CryptoSession>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckCryptoSessionStatus)(::windows::core::Interface::as_raw(self), pcryptosession.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -29086,7 +29086,7 @@ impl ID3D11VideoContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessor>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VideoProcessorGetBehaviorHints)(::windows::core::Interface::as_raw(self), pvideoprocessor.into().abi(), outputwidth, outputheight, outputformat, pstreams.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pstreams)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -29657,7 +29657,7 @@ impl ID3D11VideoContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11AuthenticatedChannel>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ConfigureAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into().abi(), inputsize, ::core::mem::transmute(pinput), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29687,14 +29687,14 @@ impl ID3D11VideoContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11CryptoSession>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDataForNewHardwareKey)(::windows::core::Interface::as_raw(self), pcryptosession.into().abi(), pprivatinputdata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pprivatinputdata)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCryptoSessionStatus<'a, P0>(&self, pcryptosession: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11CryptoSession>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckCryptoSessionStatus)(::windows::core::Interface::as_raw(self), pcryptosession.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -29787,7 +29787,7 @@ impl ID3D11VideoContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessor>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetBehaviorHints)(::windows::core::Interface::as_raw(self), pvideoprocessor.into().abi(), outputwidth, outputheight, outputformat, pstreams.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pstreams)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -29967,7 +29967,7 @@ impl ID3D11VideoDecoder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDriverHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDriverHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30142,29 +30142,29 @@ impl ID3D11VideoDevice { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVideoDecoder(&self, pvideodesc: *const D3D11_VIDEO_DECODER_DESC, pconfig: *const D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVideoDecoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvideodesc), ::core::mem::transmute(pconfig), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessor<'a, P0>(&self, penum: P0, rateconversionindex: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessorEnumerator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVideoProcessor)(::windows::core::Interface::as_raw(self), penum.into().abi(), rateconversionindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAuthenticatedChannel(&self, channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAuthenticatedChannel)(::windows::core::Interface::as_raw(self), channeltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCryptoSession(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, pkeyexchangetype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCryptoSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype), ::core::mem::transmute(pdecoderprofile), ::core::mem::transmute(pkeyexchangetype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoDecoderOutputView<'a, P0>(&self, presource: P0, pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVideoDecoderOutputView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessorInputView<'a, P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC) -> ::windows::core::Result @@ -30172,7 +30172,7 @@ impl ID3D11VideoDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessorEnumerator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVideoProcessorInputView)(::windows::core::Interface::as_raw(self), presource.into().abi(), penum.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessorOutputView<'a, P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC) -> ::windows::core::Result @@ -30180,46 +30180,46 @@ impl ID3D11VideoDevice { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessorEnumerator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVideoProcessorOutputView)(::windows::core::Interface::as_raw(self), presource.into().abi(), penum.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVideoProcessorEnumerator(&self, pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVideoProcessorEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoDecoderProfileCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetVideoDecoderProfileCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetVideoDecoderProfile(&self, index: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoDecoderProfile)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CheckVideoDecoderFormat(&self, pdecoderprofile: *const ::windows::core::GUID, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckVideoDecoderFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdecoderprofile), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoDecoderConfigCount(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoDecoderConfigCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoDecoderConfig(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoDecoderConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContentProtectionCaps(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentProtectionCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype), ::core::mem::transmute(pdecoderprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCryptoKeyExchange(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, index: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckCryptoKeyExchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype), ::core::mem::transmute(pdecoderprofile), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -30313,29 +30313,29 @@ impl ID3D11VideoDevice1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVideoDecoder(&self, pvideodesc: *const D3D11_VIDEO_DECODER_DESC, pconfig: *const D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVideoDecoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvideodesc), ::core::mem::transmute(pconfig), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessor<'a, P0>(&self, penum: P0, rateconversionindex: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessorEnumerator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVideoProcessor)(::windows::core::Interface::as_raw(self), penum.into().abi(), rateconversionindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAuthenticatedChannel(&self, channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateAuthenticatedChannel)(::windows::core::Interface::as_raw(self), channeltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCryptoSession(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, pkeyexchangetype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCryptoSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype), ::core::mem::transmute(pdecoderprofile), ::core::mem::transmute(pkeyexchangetype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoDecoderOutputView<'a, P0>(&self, presource: P0, pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVideoDecoderOutputView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessorInputView<'a, P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC) -> ::windows::core::Result @@ -30343,7 +30343,7 @@ impl ID3D11VideoDevice1 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessorEnumerator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVideoProcessorInputView)(::windows::core::Interface::as_raw(self), presource.into().abi(), penum.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessorOutputView<'a, P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC) -> ::windows::core::Result @@ -30351,46 +30351,46 @@ impl ID3D11VideoDevice1 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessorEnumerator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVideoProcessorOutputView)(::windows::core::Interface::as_raw(self), presource.into().abi(), penum.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVideoProcessorEnumerator(&self, pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVideoProcessorEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoDecoderProfileCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetVideoDecoderProfileCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetVideoDecoderProfile(&self, index: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVideoDecoderProfile)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CheckVideoDecoderFormat(&self, pdecoderprofile: *const ::windows::core::GUID, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckVideoDecoderFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdecoderprofile), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoDecoderConfigCount(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVideoDecoderConfigCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoDecoderConfig(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVideoDecoderConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContentProtectionCaps(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContentProtectionCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype), ::core::mem::transmute(pdecoderprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCryptoKeyExchange(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, index: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckCryptoKeyExchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype), ::core::mem::transmute(pdecoderprofile), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -30408,7 +30408,7 @@ impl ID3D11VideoDevice1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoDecoderCaps(&self, pdecoderprofile: *const ::windows::core::GUID, samplewidth: u32, sampleheight: u32, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL, bitrate: u32, pcryptotype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoDecoderCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdecoderprofile), samplewidth, sampleheight, ::core::mem::transmute(pframerate), bitrate, ::core::mem::transmute(pcryptotype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -30419,7 +30419,7 @@ impl ID3D11VideoDevice1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn RecommendVideoDecoderDownsampleParameters(&self, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecommendVideoDecoderDownsampleParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputdesc), inputcolorspace, ::core::mem::transmute(pinputconfig), ::core::mem::transmute(pframerate), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30500,29 +30500,29 @@ impl ID3D11VideoDevice2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVideoDecoder(&self, pvideodesc: *const D3D11_VIDEO_DECODER_DESC, pconfig: *const D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateVideoDecoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvideodesc), ::core::mem::transmute(pconfig), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessor<'a, P0>(&self, penum: P0, rateconversionindex: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessorEnumerator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateVideoProcessor)(::windows::core::Interface::as_raw(self), penum.into().abi(), rateconversionindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAuthenticatedChannel(&self, channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateAuthenticatedChannel)(::windows::core::Interface::as_raw(self), channeltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCryptoSession(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, pkeyexchangetype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCryptoSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype), ::core::mem::transmute(pdecoderprofile), ::core::mem::transmute(pkeyexchangetype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoDecoderOutputView<'a, P0>(&self, presource: P0, pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateVideoDecoderOutputView)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessorInputView<'a, P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC) -> ::windows::core::Result @@ -30530,7 +30530,7 @@ impl ID3D11VideoDevice2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessorEnumerator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateVideoProcessorInputView)(::windows::core::Interface::as_raw(self), presource.into().abi(), penum.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessorOutputView<'a, P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC) -> ::windows::core::Result @@ -30538,46 +30538,46 @@ impl ID3D11VideoDevice2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D11Resource>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ID3D11VideoProcessorEnumerator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateVideoProcessorOutputView)(::windows::core::Interface::as_raw(self), presource.into().abi(), penum.into().abi(), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVideoProcessorEnumerator(&self, pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateVideoProcessorEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoDecoderProfileCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.GetVideoDecoderProfileCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetVideoDecoderProfile(&self, index: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVideoDecoderProfile)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CheckVideoDecoderFormat(&self, pdecoderprofile: *const ::windows::core::GUID, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckVideoDecoderFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdecoderprofile), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoDecoderConfigCount(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVideoDecoderConfigCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoDecoderConfig(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVideoDecoderConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdesc), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContentProtectionCaps(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetContentProtectionCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype), ::core::mem::transmute(pdecoderprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCryptoKeyExchange(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, index: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckCryptoKeyExchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype), ::core::mem::transmute(pdecoderprofile), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -30595,7 +30595,7 @@ impl ID3D11VideoDevice2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoDecoderCaps(&self, pdecoderprofile: *const ::windows::core::GUID, samplewidth: u32, sampleheight: u32, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL, bitrate: u32, pcryptotype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVideoDecoderCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdecoderprofile), samplewidth, sampleheight, ::core::mem::transmute(pframerate), bitrate, ::core::mem::transmute(pcryptotype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -30606,7 +30606,7 @@ impl ID3D11VideoDevice2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn RecommendVideoDecoderDownsampleParameters(&self, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecommendVideoDecoderDownsampleParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputdesc), inputcolorspace, ::core::mem::transmute(pinputconfig), ::core::mem::transmute(pframerate), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D11_FEATURE_VIDEO, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { @@ -30805,31 +30805,31 @@ impl ID3D11VideoProcessorEnumerator { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoProcessorContentDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorContentDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckVideoProcessorFormat(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckVideoProcessorFormat)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoProcessorCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoProcessorRateConversionCaps(&self, typeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorRateConversionCaps)(::windows::core::Interface::as_raw(self), typeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetVideoProcessorCustomRate(&self, typeindex: u32, customrateindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorCustomRate)(::windows::core::Interface::as_raw(self), typeindex, customrateindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoProcessorFilterRange(&self, filter: D3D11_VIDEO_PROCESSOR_FILTER) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorFilterRange)(::windows::core::Interface::as_raw(self), filter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30927,37 +30927,37 @@ impl ID3D11VideoProcessorEnumerator1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoProcessorContentDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVideoProcessorContentDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckVideoProcessorFormat(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckVideoProcessorFormat)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoProcessorCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVideoProcessorCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoProcessorRateConversionCaps(&self, typeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVideoProcessorRateConversionCaps)(::windows::core::Interface::as_raw(self), typeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetVideoProcessorCustomRate(&self, typeindex: u32, customrateindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVideoProcessorCustomRate)(::windows::core::Interface::as_raw(self), typeindex, customrateindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoProcessorFilterRange(&self, filter: D3D11_VIDEO_PROCESSOR_FILTER) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVideoProcessorFilterRange)(::windows::core::Interface::as_raw(self), filter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CheckVideoProcessorFormatConversion(&self, inputformat: super::Dxgi::Common::DXGI_FORMAT, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, outputformat: super::Dxgi::Common::DXGI_FORMAT, outputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckVideoProcessorFormatConversion)(::windows::core::Interface::as_raw(self), inputformat, inputcolorspace, outputformat, outputcolorspace, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 55e22afad9..bef5df19ee 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs @@ -18258,7 +18258,7 @@ impl ID3D12CommandQueue { (::windows::core::Interface::vtable(self).Wait)(::windows::core::Interface::as_raw(self), pfence.into().abi(), value).ok() } pub unsafe fn GetTimestampFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimestampFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClockCalibration(&self, pgputimestamp: *mut u64, pcputimestamp: *mut u64) -> ::windows::core::Result<()> { @@ -19779,7 +19779,7 @@ impl ID3D12Device { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19797,7 +19797,7 @@ impl ID3D12Device { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -20174,7 +20174,7 @@ impl ID3D12Device1 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20192,7 +20192,7 @@ impl ID3D12Device1 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -20526,7 +20526,7 @@ impl ID3D12Device2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20544,7 +20544,7 @@ impl ID3D12Device2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -20895,7 +20895,7 @@ impl ID3D12Device3 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20913,7 +20913,7 @@ impl ID3D12Device3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -21307,7 +21307,7 @@ impl ID3D12Device4 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21325,7 +21325,7 @@ impl ID3D12Device4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -21789,7 +21789,7 @@ impl ID3D12Device5 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21807,7 +21807,7 @@ impl ID3D12Device5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -22321,7 +22321,7 @@ impl ID3D12Device6 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22339,7 +22339,7 @@ impl ID3D12Device6 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -22536,7 +22536,7 @@ impl ID3D12Device6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetBackgroundProcessingMode)(::windows::core::Interface::as_raw(self), mode, measurementsaction, heventtosignaluponcompletion.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22870,7 +22870,7 @@ impl ID3D12Device7 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22888,7 +22888,7 @@ impl ID3D12Device7 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -23085,7 +23085,7 @@ impl ID3D12Device7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetBackgroundProcessingMode)(::windows::core::Interface::as_raw(self), mode, measurementsaction, heventtosignaluponcompletion.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddToStateObject<'a, P0, T>(&self, paddition: *const D3D12_STATE_OBJECT_DESC, pstateobjecttogrowfrom: P0) -> ::windows::core::Result @@ -23447,7 +23447,7 @@ impl ID3D12Device8 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23465,7 +23465,7 @@ impl ID3D12Device8 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -23662,7 +23662,7 @@ impl ID3D12Device8 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SetBackgroundProcessingMode)(::windows::core::Interface::as_raw(self), mode, measurementsaction, heventtosignaluponcompletion.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddToStateObject<'a, P0, T>(&self, paddition: *const D3D12_STATE_OBJECT_DESC, pstateobjecttogrowfrom: P0) -> ::windows::core::Result @@ -24091,7 +24091,7 @@ impl ID3D12Device9 { P0: ::std::convert::Into<::windows::core::InParam<'a, ID3D12DeviceChild>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(pattributes), access, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24109,7 +24109,7 @@ impl ID3D12Device9 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandleByName)(::windows::core::Interface::as_raw(self), name.into(), access, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -24306,7 +24306,7 @@ impl ID3D12Device9 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SetBackgroundProcessingMode)(::windows::core::Interface::as_raw(self), mode, measurementsaction, heventtosignaluponcompletion.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddToStateObject<'a, P0, T>(&self, paddition: *const D3D12_STATE_OBJECT_DESC, pstateobjecttogrowfrom: P0) -> ::windows::core::Result @@ -24665,11 +24665,11 @@ pub struct ID3D12DeviceChild_Vtbl { pub struct ID3D12DeviceRemovedExtendedData(::windows::core::IUnknown); impl ID3D12DeviceRemovedExtendedData { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutoBreadcrumbsOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageFaultAllocationOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageFaultAllocationOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24722,19 +24722,19 @@ pub struct ID3D12DeviceRemovedExtendedData_Vtbl { pub struct ID3D12DeviceRemovedExtendedData1(::windows::core::IUnknown); impl ID3D12DeviceRemovedExtendedData1 { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAutoBreadcrumbsOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageFaultAllocationOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPageFaultAllocationOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAutoBreadcrumbsOutput1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutoBreadcrumbsOutput1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageFaultAllocationOutput1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageFaultAllocationOutput1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24802,23 +24802,23 @@ pub struct ID3D12DeviceRemovedExtendedData1_Vtbl { pub struct ID3D12DeviceRemovedExtendedData2(::windows::core::IUnknown); impl ID3D12DeviceRemovedExtendedData2 { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAutoBreadcrumbsOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageFaultAllocationOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPageFaultAllocationOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAutoBreadcrumbsOutput1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAutoBreadcrumbsOutput1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageFaultAllocationOutput1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPageFaultAllocationOutput1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageFaultAllocationOutput2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageFaultAllocationOutput2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceState(&self) -> D3D12_DRED_DEVICE_STATE { @@ -25325,7 +25325,7 @@ impl ID3D12FunctionParameterReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25366,7 +25366,7 @@ impl ID3D12FunctionReflection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConstantBufferByIndex(&self, bufferindex: u32) -> ::core::option::Option { @@ -25381,7 +25381,7 @@ impl ID3D12FunctionReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetResourceBindingDesc(&self, resourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDesc)(::windows::core::Interface::as_raw(self), resourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVariableByName<'a, P0>(&self, name: P0) -> ::core::option::Option @@ -25396,7 +25396,7 @@ impl ID3D12FunctionReflection { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDescByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionParameter(&self, parameterindex: i32) -> ::core::option::Option { @@ -29499,7 +29499,7 @@ pub struct ID3D12InfoQueue1_Vtbl { pub struct ID3D12LibraryReflection(::windows::core::IUnknown); impl ID3D12LibraryReflection { pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionByIndex(&self, functionindex: i32) -> ::core::option::Option { @@ -30326,7 +30326,7 @@ impl ID3D12PipelineState { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetCachedBlob(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedBlob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31765,7 +31765,7 @@ impl ID3D12ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConstantBufferByIndex(&self, index: u32) -> ::core::option::Option { @@ -31780,25 +31780,25 @@ impl ID3D12ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetResourceBindingDesc(&self, resourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDesc)(::windows::core::Interface::as_raw(self), resourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetInputParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetOutputParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetPatchConstantParameterDesc(&self, parameterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPatchConstantParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVariableByName<'a, P0>(&self, name: P0) -> ::core::option::Option @@ -31813,7 +31813,7 @@ impl ID3D12ShaderReflection { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceBindingDescByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMovInstructionCount(&self) -> u32 { @@ -31844,7 +31844,7 @@ impl ID3D12ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetMinFeatureLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinFeatureLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadGroupSize(&self, psizex: *mut u32, psizey: *mut u32, psizez: *mut u32) -> u32 { @@ -32000,7 +32000,7 @@ impl ID3D12ShaderReflectionType { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMemberTypeByIndex(&self, index: u32) -> ::core::option::Option { @@ -32091,7 +32091,7 @@ pub struct ID3D12ShaderReflectionType_Vtbl { pub struct ID3D12ShaderReflectionVariable(::windows::core::IUnknown); impl ID3D12ShaderReflectionVariable { pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::core::option::Option { @@ -32545,7 +32545,7 @@ pub struct ID3D12Tools_Vtbl { pub struct ID3D12VersionedRootSignatureDeserializer(::windows::core::IUnknown); impl ID3D12VersionedRootSignatureDeserializer { pub unsafe fn GetRootSignatureDescAtVersion(&self, converttoversion: D3D_ROOT_SIGNATURE_VERSION) -> ::windows::core::Result<*mut D3D12_VERSIONED_ROOT_SIGNATURE_DESC> { - let mut result__ = ::core::mem::MaybeUninit::<*mut D3D12_VERSIONED_ROOT_SIGNATURE_DESC>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootSignatureDescAtVersion)(::windows::core::Interface::as_raw(self), converttoversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut D3D12_VERSIONED_ROOT_SIGNATURE_DESC>(result__) } pub unsafe fn GetUnconvertedRootSignatureDesc(&self) -> *mut D3D12_VERSIONED_ROOT_SIGNATURE_DESC { 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 a60a95f376..d7fb4208a9 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs @@ -6301,7 +6301,7 @@ pub unsafe fn Direct3DCreate9Ex(sdkversion: u32) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); Direct3DCreate9Ex(sdkversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -6598,7 +6598,7 @@ pub struct IDirect3D9Ex_Vtbl { pub struct IDirect3DBaseTexture9(::windows::core::IUnknown); impl IDirect3DBaseTexture9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivateData(&self, refguid: *const ::windows::core::GUID, pdata: *const ::core::ffi::c_void, sizeofdata: u32, flags: u32) -> ::windows::core::Result<()> { @@ -6707,7 +6707,7 @@ pub struct IDirect3DBaseTexture9_Vtbl { pub struct IDirect3DCubeTexture9(::windows::core::IUnknown); impl IDirect3DCubeTexture9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivateData(&self, refguid: *const ::windows::core::GUID, pdata: *const ::core::ffi::c_void, sizeofdata: u32, flags: u32) -> ::windows::core::Result<()> { @@ -6753,7 +6753,7 @@ impl IDirect3DCubeTexture9 { (::windows::core::Interface::vtable(self).GetLevelDesc)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(pdesc)).ok() } pub unsafe fn GetCubeMapSurface(&self, facetype: D3DCUBEMAP_FACES, level: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCubeMapSurface)(::windows::core::Interface::as_raw(self), facetype, level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6865,7 +6865,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).EvictManagedResources)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDirect3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDirect3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCaps(&self, pcaps: *mut D3DCAPS9) -> ::windows::core::Result<()> { @@ -6902,7 +6902,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).CreateAdditionalSwapChain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppresentationparameters), ::core::mem::transmute(pswapchain)).ok() } pub unsafe fn GetSwapChain(&self, iswapchain: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSwapChain)(::windows::core::Interface::as_raw(self), iswapchain, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOfSwapChains(&self) -> u32 { @@ -6922,7 +6922,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).Present)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psourcerect), ::core::mem::transmute(pdestrect), hdestwindowoverride.into(), ::core::mem::transmute(pdirtyregion)).ok() } pub unsafe fn GetBackBuffer(&self, iswapchain: u32, ibackbuffer: u32, r#type: D3DBACKBUFFER_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackBuffer)(::windows::core::Interface::as_raw(self), iswapchain, ibackbuffer, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7043,7 +7043,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).SetRenderTarget)(::windows::core::Interface::as_raw(self), rendertargetindex, prendertarget.into().abi()).ok() } pub unsafe fn GetRenderTarget(&self, rendertargetindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenderTarget)(::windows::core::Interface::as_raw(self), rendertargetindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDepthStencilSurface<'a, P0>(&self, pnewzstencil: P0) -> ::windows::core::Result<()> @@ -7053,7 +7053,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).SetDepthStencilSurface)(::windows::core::Interface::as_raw(self), pnewzstencil.into().abi()).ok() } pub unsafe fn GetDepthStencilSurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDepthStencilSurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginScene(&self) -> ::windows::core::Result<()> { @@ -7128,14 +7128,14 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).GetRenderState)(::windows::core::Interface::as_raw(self), state, ::core::mem::transmute(pvalue)).ok() } pub unsafe fn CreateStateBlock(&self, r#type: D3DSTATEBLOCKTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStateBlock)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginStateBlock(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).BeginStateBlock)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EndStateBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClipStatus(&self, pclipstatus: *const D3DCLIPSTATUS9) -> ::windows::core::Result<()> { @@ -7145,7 +7145,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).GetClipStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pclipstatus)).ok() } pub unsafe fn GetTexture(&self, stage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTexture)(::windows::core::Interface::as_raw(self), stage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTexture<'a, P0>(&self, stage: u32, ptexture: P0) -> ::windows::core::Result<()> @@ -7234,7 +7234,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).ProcessVertices)(::windows::core::Interface::as_raw(self), srcstartindex, destindex, vertexcount, pdestbuffer.into().abi(), pvertexdecl.into().abi(), flags).ok() } pub unsafe fn CreateVertexDeclaration(&self, pvertexelements: *const D3DVERTEXELEMENT9) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVertexDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvertexelements), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVertexDeclaration<'a, P0>(&self, pdecl: P0) -> ::windows::core::Result<()> @@ -7244,7 +7244,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).SetVertexDeclaration)(::windows::core::Interface::as_raw(self), pdecl.into().abi()).ok() } pub unsafe fn GetVertexDeclaration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVertexDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFVF(&self, fvf: u32) -> ::windows::core::Result<()> { @@ -7254,7 +7254,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).GetFVF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfvf)).ok() } pub unsafe fn CreateVertexShader(&self, pfunction: *const u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfunction), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVertexShader<'a, P0>(&self, pshader: P0) -> ::windows::core::Result<()> @@ -7264,7 +7264,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).SetVertexShader)(::windows::core::Interface::as_raw(self), pshader.into().abi()).ok() } pub unsafe fn GetVertexShader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVertexShaderConstantF(&self, startregister: u32, pconstantdata: *const f32, vector4fcount: u32) -> ::windows::core::Result<()> { @@ -7311,11 +7311,11 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).SetIndices)(::windows::core::Interface::as_raw(self), pindexdata.into().abi()).ok() } pub unsafe fn GetIndices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader(&self, pfunction: *const u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfunction), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPixelShader<'a, P0>(&self, pshader: P0) -> ::windows::core::Result<()> @@ -7325,7 +7325,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).SetPixelShader)(::windows::core::Interface::as_raw(self), pshader.into().abi()).ok() } pub unsafe fn GetPixelShader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPixelShaderConstantF(&self, startregister: u32, pconstantdata: *const f32, vector4fcount: u32) -> ::windows::core::Result<()> { @@ -7360,7 +7360,7 @@ impl IDirect3DDevice9 { (::windows::core::Interface::vtable(self).DeletePatch)(::windows::core::Interface::as_raw(self), handle).ok() } pub unsafe fn CreateQuery(&self, r#type: D3DQUERYTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQuery)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7639,7 +7639,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.EvictManagedResources)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDirect3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDirect3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCaps(&self, pcaps: *mut D3DCAPS9) -> ::windows::core::Result<()> { @@ -7676,7 +7676,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.CreateAdditionalSwapChain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppresentationparameters), ::core::mem::transmute(pswapchain)).ok() } pub unsafe fn GetSwapChain(&self, iswapchain: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSwapChain)(::windows::core::Interface::as_raw(self), iswapchain, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOfSwapChains(&self) -> u32 { @@ -7696,7 +7696,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.Present)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psourcerect), ::core::mem::transmute(pdestrect), hdestwindowoverride.into(), ::core::mem::transmute(pdirtyregion)).ok() } pub unsafe fn GetBackBuffer(&self, iswapchain: u32, ibackbuffer: u32, r#type: D3DBACKBUFFER_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBackBuffer)(::windows::core::Interface::as_raw(self), iswapchain, ibackbuffer, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7817,7 +7817,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.SetRenderTarget)(::windows::core::Interface::as_raw(self), rendertargetindex, prendertarget.into().abi()).ok() } pub unsafe fn GetRenderTarget(&self, rendertargetindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRenderTarget)(::windows::core::Interface::as_raw(self), rendertargetindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDepthStencilSurface<'a, P0>(&self, pnewzstencil: P0) -> ::windows::core::Result<()> @@ -7827,7 +7827,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.SetDepthStencilSurface)(::windows::core::Interface::as_raw(self), pnewzstencil.into().abi()).ok() } pub unsafe fn GetDepthStencilSurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDepthStencilSurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginScene(&self) -> ::windows::core::Result<()> { @@ -7902,14 +7902,14 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.GetRenderState)(::windows::core::Interface::as_raw(self), state, ::core::mem::transmute(pvalue)).ok() } pub unsafe fn CreateStateBlock(&self, r#type: D3DSTATEBLOCKTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStateBlock)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginStateBlock(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.BeginStateBlock)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EndStateBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndStateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClipStatus(&self, pclipstatus: *const D3DCLIPSTATUS9) -> ::windows::core::Result<()> { @@ -7919,7 +7919,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.GetClipStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pclipstatus)).ok() } pub unsafe fn GetTexture(&self, stage: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTexture)(::windows::core::Interface::as_raw(self), stage, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTexture<'a, P0>(&self, stage: u32, ptexture: P0) -> ::windows::core::Result<()> @@ -8008,7 +8008,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.ProcessVertices)(::windows::core::Interface::as_raw(self), srcstartindex, destindex, vertexcount, pdestbuffer.into().abi(), pvertexdecl.into().abi(), flags).ok() } pub unsafe fn CreateVertexDeclaration(&self, pvertexelements: *const D3DVERTEXELEMENT9) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVertexDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvertexelements), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVertexDeclaration<'a, P0>(&self, pdecl: P0) -> ::windows::core::Result<()> @@ -8018,7 +8018,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.SetVertexDeclaration)(::windows::core::Interface::as_raw(self), pdecl.into().abi()).ok() } pub unsafe fn GetVertexDeclaration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVertexDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFVF(&self, fvf: u32) -> ::windows::core::Result<()> { @@ -8028,7 +8028,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.GetFVF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfvf)).ok() } pub unsafe fn CreateVertexShader(&self, pfunction: *const u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfunction), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVertexShader<'a, P0>(&self, pshader: P0) -> ::windows::core::Result<()> @@ -8038,7 +8038,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.SetVertexShader)(::windows::core::Interface::as_raw(self), pshader.into().abi()).ok() } pub unsafe fn GetVertexShader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVertexShaderConstantF(&self, startregister: u32, pconstantdata: *const f32, vector4fcount: u32) -> ::windows::core::Result<()> { @@ -8085,11 +8085,11 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.SetIndices)(::windows::core::Interface::as_raw(self), pindexdata.into().abi()).ok() } pub unsafe fn GetIndices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIndices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePixelShader(&self, pfunction: *const u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfunction), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPixelShader<'a, P0>(&self, pshader: P0) -> ::windows::core::Result<()> @@ -8099,7 +8099,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.SetPixelShader)(::windows::core::Interface::as_raw(self), pshader.into().abi()).ok() } pub unsafe fn GetPixelShader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPixelShaderConstantF(&self, startregister: u32, pconstantdata: *const f32, vector4fcount: u32) -> ::windows::core::Result<()> { @@ -8134,7 +8134,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Interface::vtable(self).base__.DeletePatch)(::windows::core::Interface::as_raw(self), handle).ok() } pub unsafe fn CreateQuery(&self, r#type: D3DQUERYTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQuery)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConvolutionMonoKernel(&self, width: u32, height: u32, rows: *mut f32, columns: *mut f32) -> ::windows::core::Result<()> { @@ -8306,7 +8306,7 @@ pub struct IDirect3DDevice9Ex_Vtbl { pub struct IDirect3DIndexBuffer9(::windows::core::IUnknown); impl IDirect3DIndexBuffer9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivateData(&self, refguid: *const ::windows::core::GUID, pdata: *const ::core::ffi::c_void, sizeofdata: u32, flags: u32) -> ::windows::core::Result<()> { @@ -8403,7 +8403,7 @@ pub struct IDirect3DIndexBuffer9_Vtbl { pub struct IDirect3DPixelShader9(::windows::core::IUnknown); impl IDirect3DPixelShader9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunction(&self, param0: *mut ::core::ffi::c_void, psizeofdata: *mut u32) -> ::windows::core::Result<()> { @@ -8457,7 +8457,7 @@ pub struct IDirect3DPixelShader9_Vtbl { pub struct IDirect3DQuery9(::windows::core::IUnknown); impl IDirect3DQuery9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> D3DQUERYTYPE { @@ -8523,7 +8523,7 @@ pub struct IDirect3DQuery9_Vtbl { pub struct IDirect3DResource9(::windows::core::IUnknown); impl IDirect3DResource9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivateData(&self, refguid: *const ::windows::core::GUID, pdata: *const ::core::ffi::c_void, sizeofdata: u32, flags: u32) -> ::windows::core::Result<()> { @@ -8601,7 +8601,7 @@ pub struct IDirect3DResource9_Vtbl { pub struct IDirect3DStateBlock9(::windows::core::IUnknown); impl IDirect3DStateBlock9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Capture(&self) -> ::windows::core::Result<()> { @@ -8659,7 +8659,7 @@ pub struct IDirect3DStateBlock9_Vtbl { pub struct IDirect3DSurface9(::windows::core::IUnknown); impl IDirect3DSurface9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivateData(&self, refguid: *const ::windows::core::GUID, pdata: *const ::core::ffi::c_void, sizeofdata: u32, flags: u32) -> ::windows::core::Result<()> { @@ -8800,7 +8800,7 @@ impl IDirect3DSwapChain9 { (::windows::core::Interface::vtable(self).GetFrontBufferData)(::windows::core::Interface::as_raw(self), pdestsurface.into().abi()).ok() } pub unsafe fn GetBackBuffer(&self, ibackbuffer: u32, r#type: D3DBACKBUFFER_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackBuffer)(::windows::core::Interface::as_raw(self), ibackbuffer, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8812,7 +8812,7 @@ impl IDirect3DSwapChain9 { (::windows::core::Interface::vtable(self).GetDisplayMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmode)).ok() } pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8896,7 +8896,7 @@ impl IDirect3DSwapChain9Ex { (::windows::core::Interface::vtable(self).base__.GetFrontBufferData)(::windows::core::Interface::as_raw(self), pdestsurface.into().abi()).ok() } pub unsafe fn GetBackBuffer(&self, ibackbuffer: u32, r#type: D3DBACKBUFFER_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBackBuffer)(::windows::core::Interface::as_raw(self), ibackbuffer, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8908,7 +8908,7 @@ impl IDirect3DSwapChain9Ex { (::windows::core::Interface::vtable(self).base__.GetDisplayMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmode)).ok() } pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8989,7 +8989,7 @@ pub struct IDirect3DSwapChain9Ex_Vtbl { pub struct IDirect3DTexture9(::windows::core::IUnknown); impl IDirect3DTexture9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivateData(&self, refguid: *const ::windows::core::GUID, pdata: *const ::core::ffi::c_void, sizeofdata: u32, flags: u32) -> ::windows::core::Result<()> { @@ -9035,7 +9035,7 @@ impl IDirect3DTexture9 { (::windows::core::Interface::vtable(self).GetLevelDesc)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(pdesc)).ok() } pub unsafe fn GetSurfaceLevel(&self, level: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurfaceLevel)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9138,7 +9138,7 @@ pub struct IDirect3DTexture9_Vtbl { pub struct IDirect3DVertexBuffer9(::windows::core::IUnknown); impl IDirect3DVertexBuffer9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivateData(&self, refguid: *const ::windows::core::GUID, pdata: *const ::core::ffi::c_void, sizeofdata: u32, flags: u32) -> ::windows::core::Result<()> { @@ -9235,7 +9235,7 @@ pub struct IDirect3DVertexBuffer9_Vtbl { pub struct IDirect3DVertexDeclaration9(::windows::core::IUnknown); impl IDirect3DVertexDeclaration9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeclaration(&self, pelement: *mut D3DVERTEXELEMENT9, pnumelements: *mut u32) -> ::windows::core::Result<()> { @@ -9289,7 +9289,7 @@ pub struct IDirect3DVertexDeclaration9_Vtbl { pub struct IDirect3DVertexShader9(::windows::core::IUnknown); impl IDirect3DVertexShader9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunction(&self, param0: *mut ::core::ffi::c_void, psizeofdata: *mut u32) -> ::windows::core::Result<()> { @@ -9343,7 +9343,7 @@ pub struct IDirect3DVertexShader9_Vtbl { pub struct IDirect3DVolume9(::windows::core::IUnknown); impl IDirect3DVolume9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivateData(&self, refguid: *const ::windows::core::GUID, pdata: *const ::core::ffi::c_void, sizeofdata: u32, flags: u32) -> ::windows::core::Result<()> { @@ -9421,7 +9421,7 @@ pub struct IDirect3DVolume9_Vtbl { pub struct IDirect3DVolumeTexture9(::windows::core::IUnknown); impl IDirect3DVolumeTexture9 { pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivateData(&self, refguid: *const ::windows::core::GUID, pdata: *const ::core::ffi::c_void, sizeofdata: u32, flags: u32) -> ::windows::core::Result<()> { @@ -9467,7 +9467,7 @@ impl IDirect3DVolumeTexture9 { (::windows::core::Interface::vtable(self).GetLevelDesc)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(pdesc)).ok() } pub unsafe fn GetVolumeLevel(&self, level: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVolumeLevel)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LockBox(&self, level: u32, plockedvolume: *mut D3DLOCKED_BOX, pbox: *const D3DBOX, flags: u32) -> ::windows::core::Result<()> { 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 4d0c396067..d78ca6bbfa 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs @@ -484,7 +484,7 @@ pub unsafe fn DCompositionCreateSurfaceHandle(desiredaccess: u32, securityattrib extern "system" { fn DCompositionCreateSurfaceHandle(desiredaccess: u32, securityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, surfacehandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DCompositionCreateSurfaceHandle(desiredaccess, ::core::mem::transmute(securityattributes), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] @@ -494,7 +494,7 @@ pub unsafe fn DCompositionGetFrameId(frameidtype: COMPOSITION_FRAME_ID_TYPE) -> extern "system" { fn DCompositionGetFrameId(frameidtype: COMPOSITION_FRAME_ID_TYPE, frameid: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DCompositionGetFrameId(frameidtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] @@ -515,7 +515,7 @@ pub unsafe fn DCompositionGetTargetStatistics(frameid: u64, targetid: *const COM extern "system" { fn DCompositionGetTargetStatistics(frameid: u64, targetid: *const COMPOSITION_TARGET_ID, targetstats: *mut COMPOSITION_TARGET_STATS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DCompositionGetTargetStatistics(frameid, ::core::mem::transmute(targetid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -1399,11 +1399,11 @@ pub struct IDCompositionCompositeEffect_Vtbl { pub struct IDCompositionDelegatedInkTrail(::windows::core::IUnknown); impl IDCompositionDelegatedInkTrail { pub unsafe fn AddTrailPoints(&self, inkpoints: &[DCompositionInkTrailPoint]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddTrailPoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(inkpoints)), inkpoints.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTrailPointsWithPrediction(&self, inkpoints: &[DCompositionInkTrailPoint], predictedinkpoints: &[DCompositionInkTrailPoint]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddTrailPointsWithPrediction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(inkpoints)), inkpoints.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(predictedinkpoints)), predictedinkpoints.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveTrailPoints(&self, generationid: u32) -> ::windows::core::Result<()> { @@ -1475,86 +1475,86 @@ impl IDCompositionDesktopDevice { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVisual(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVisual)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSurfaceFactory<'a, P0>(&self, renderingdevice: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSurfaceFactory)(::windows::core::Interface::as_raw(self), renderingdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateSurface(&self, width: u32, height: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSurface)(::windows::core::Interface::as_raw(self), width, height, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVirtualSurface(&self, initialwidth: u32, initialheight: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVirtualSurface)(::windows::core::Interface::as_raw(self), initialwidth, initialheight, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTranslateTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTranslateTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateScaleTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateScaleTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRotateTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRotateTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSkewTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSkewTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransformGroup(&self, transforms: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTransformGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(transforms)), transforms.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTranslateTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTranslateTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateScaleTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateScaleTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRotateTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRotateTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMatrixTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransform3DGroup(&self, transforms3d: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTransform3DGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(transforms3d)), transforms3d.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffectGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEffectGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRectangleClip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRectangleClip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1564,7 +1564,7 @@ impl IDCompositionDesktopDevice { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTargetForHwnd)(::windows::core::Interface::as_raw(self), hwnd.into(), topmost.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1573,7 +1573,7 @@ impl IDCompositionDesktopDevice { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurfaceFromHandle)(::windows::core::Interface::as_raw(self), handle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1582,7 +1582,7 @@ impl IDCompositionDesktopDevice { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurfaceFromHwnd)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -1666,7 +1666,7 @@ impl IDCompositionDevice { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1676,23 +1676,23 @@ impl IDCompositionDevice { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTargetForHwnd)(::windows::core::Interface::as_raw(self), hwnd.into(), topmost.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVisual(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVisual)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateSurface(&self, width: u32, height: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurface)(::windows::core::Interface::as_raw(self), width, height, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVirtualSurface(&self, initialwidth: u32, initialheight: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVirtualSurface)(::windows::core::Interface::as_raw(self), initialwidth, initialheight, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1701,7 +1701,7 @@ impl IDCompositionDevice { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurfaceFromHandle)(::windows::core::Interface::as_raw(self), handle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1710,69 +1710,69 @@ impl IDCompositionDevice { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurfaceFromHwnd)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn CreateTranslateTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTranslateTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateScaleTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateScaleTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRotateTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRotateTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSkewTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSkewTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransformGroup(&self, transforms: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransformGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(transforms)), transforms.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTranslateTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTranslateTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateScaleTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateScaleTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRotateTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRotateTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMatrixTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransform3DGroup(&self, transforms3d: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransform3DGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(transforms3d)), transforms3d.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffectGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEffectGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRectangleClip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRectangleClip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CheckDeviceState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckDeviceState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1874,86 +1874,86 @@ impl IDCompositionDevice2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVisual(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVisual)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSurfaceFactory<'a, P0>(&self, renderingdevice: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurfaceFactory)(::windows::core::Interface::as_raw(self), renderingdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateSurface(&self, width: u32, height: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurface)(::windows::core::Interface::as_raw(self), width, height, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVirtualSurface(&self, initialwidth: u32, initialheight: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVirtualSurface)(::windows::core::Interface::as_raw(self), initialwidth, initialheight, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTranslateTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTranslateTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateScaleTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateScaleTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRotateTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRotateTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSkewTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSkewTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransformGroup(&self, transforms: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransformGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(transforms)), transforms.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTranslateTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTranslateTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateScaleTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateScaleTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRotateTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRotateTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMatrixTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransform3DGroup(&self, transforms3d: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransform3DGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(transforms3d)), transforms3d.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffectGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEffectGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRectangleClip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRectangleClip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2040,138 +2040,138 @@ impl IDCompositionDevice3 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVisual(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVisual)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSurfaceFactory<'a, P0>(&self, renderingdevice: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSurfaceFactory)(::windows::core::Interface::as_raw(self), renderingdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateSurface(&self, width: u32, height: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSurface)(::windows::core::Interface::as_raw(self), width, height, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVirtualSurface(&self, initialwidth: u32, initialheight: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVirtualSurface)(::windows::core::Interface::as_raw(self), initialwidth, initialheight, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTranslateTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTranslateTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateScaleTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateScaleTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRotateTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRotateTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSkewTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSkewTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransformGroup(&self, transforms: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTransformGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(transforms)), transforms.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTranslateTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTranslateTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateScaleTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateScaleTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRotateTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRotateTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform3D(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMatrixTransform3D)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTransform3DGroup(&self, transforms3d: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTransform3DGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(transforms3d)), transforms3d.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffectGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEffectGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRectangleClip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRectangleClip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGaussianBlurEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGaussianBlurEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBrightnessEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBrightnessEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorMatrixEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorMatrixEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateShadowEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateShadowEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHueRotationEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateHueRotationEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSaturationEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSaturationEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTurbulenceEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTurbulenceEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLinearTransferEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLinearTransferEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTableTransferEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTableTransferEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCompositeEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCompositeEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBlendEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlendEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateArithmeticCompositeEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateArithmeticCompositeEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAffineTransform2DEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAffineTransform2DEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2683,14 +2683,14 @@ pub struct IDCompositionHueRotationEffect_Vtbl { pub struct IDCompositionInkTrailDevice(::windows::core::IUnknown); impl IDCompositionInkTrailDevice { pub unsafe fn CreateDelegatedInkTrail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDelegatedInkTrail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDelegatedInkTrailForSwapChain<'a, P0>(&self, swapchain: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDelegatedInkTrailForSwapChain)(::windows::core::Interface::as_raw(self), swapchain.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4365,13 +4365,13 @@ impl IDCompositionSurfaceFactory { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateSurface(&self, width: u32, height: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurface)(::windows::core::Interface::as_raw(self), width, height, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVirtualSurface(&self, initialwidth: u32, initialheight: u32, pixelformat: super::Dxgi::Common::DXGI_FORMAT, alphamode: super::Dxgi::Common::DXGI_ALPHA_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVirtualSurface)(::windows::core::Interface::as_raw(self), initialwidth, initialheight, pixelformat, alphamode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 c92bd35096..f6b7cc6c91 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -14331,7 +14331,7 @@ impl IDirectDraw { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDirectDrawSurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DuplicateSurface)(::windows::core::Interface::as_raw(self), param0.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDisplayModes(&self, param0: u32, param1: *mut DDSURFACEDESC, param2: *mut ::core::ffi::c_void, param3: LPDDENUMMODESCALLBACK) -> ::windows::core::Result<()> { @@ -14353,7 +14353,7 @@ impl IDirectDraw { (::windows::core::Interface::vtable(self).GetFourCCCodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), ::core::mem::transmute(param1)).ok() } pub unsafe fn GetGDISurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGDISurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMonitorFrequency(&self, param0: *mut u32) -> ::windows::core::Result<()> { @@ -14491,7 +14491,7 @@ impl IDirectDraw2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDirectDrawSurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DuplicateSurface)(::windows::core::Interface::as_raw(self), param0.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDisplayModes(&self, param0: u32, param1: *mut DDSURFACEDESC, param2: *mut ::core::ffi::c_void, param3: LPDDENUMMODESCALLBACK) -> ::windows::core::Result<()> { @@ -14513,7 +14513,7 @@ impl IDirectDraw2 { (::windows::core::Interface::vtable(self).GetFourCCCodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), ::core::mem::transmute(param1)).ok() } pub unsafe fn GetGDISurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGDISurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMonitorFrequency(&self, param0: *mut u32) -> ::windows::core::Result<()> { @@ -14655,7 +14655,7 @@ impl IDirectDraw4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDirectDrawSurface4>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DuplicateSurface)(::windows::core::Interface::as_raw(self), param0.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDisplayModes(&self, param0: u32, param1: *mut DDSURFACEDESC2, param2: *mut ::core::ffi::c_void, param3: LPDDENUMMODESCALLBACK2) -> ::windows::core::Result<()> { @@ -14677,7 +14677,7 @@ impl IDirectDraw4 { (::windows::core::Interface::vtable(self).GetFourCCCodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), ::core::mem::transmute(param1)).ok() } pub unsafe fn GetGDISurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGDISurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMonitorFrequency(&self, param0: *mut u32) -> ::windows::core::Result<()> { @@ -14723,7 +14723,7 @@ impl IDirectDraw4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurfaceFromDC)(::windows::core::Interface::as_raw(self), param0.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RestoreAllSurfaces(&self) -> ::windows::core::Result<()> { @@ -14849,7 +14849,7 @@ impl IDirectDraw7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDirectDrawSurface7>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DuplicateSurface)(::windows::core::Interface::as_raw(self), param0.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDisplayModes(&self, param0: u32, param1: *mut DDSURFACEDESC2, param2: *mut ::core::ffi::c_void, param3: LPDDENUMMODESCALLBACK2) -> ::windows::core::Result<()> { @@ -14871,7 +14871,7 @@ impl IDirectDraw7 { (::windows::core::Interface::vtable(self).GetFourCCCodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), ::core::mem::transmute(param1)).ok() } pub unsafe fn GetGDISurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGDISurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMonitorFrequency(&self, param0: *mut u32) -> ::windows::core::Result<()> { @@ -14917,7 +14917,7 @@ impl IDirectDraw7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurfaceFromDC)(::windows::core::Interface::as_raw(self), param0.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RestoreAllSurfaces(&self) -> ::windows::core::Result<()> { @@ -15431,7 +15431,7 @@ impl IDirectDrawSurface { (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0)).ok() } pub unsafe fn GetClipper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> ::windows::core::Result<()> { @@ -15449,7 +15449,7 @@ impl IDirectDrawSurface { (::windows::core::Interface::vtable(self).GetOverlayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), ::core::mem::transmute(param1)).ok() } pub unsafe fn GetPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> ::windows::core::Result<()> { @@ -15686,7 +15686,7 @@ impl IDirectDrawSurface2 { (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0)).ok() } pub unsafe fn GetClipper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> ::windows::core::Result<()> { @@ -15704,7 +15704,7 @@ impl IDirectDrawSurface2 { (::windows::core::Interface::vtable(self).GetOverlayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), ::core::mem::transmute(param1)).ok() } pub unsafe fn GetPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> ::windows::core::Result<()> { @@ -15953,7 +15953,7 @@ impl IDirectDrawSurface3 { (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0)).ok() } pub unsafe fn GetClipper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> ::windows::core::Result<()> { @@ -15971,7 +15971,7 @@ impl IDirectDrawSurface3 { (::windows::core::Interface::vtable(self).GetOverlayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), ::core::mem::transmute(param1)).ok() } pub unsafe fn GetPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> ::windows::core::Result<()> { @@ -16224,7 +16224,7 @@ impl IDirectDrawSurface4 { (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0)).ok() } pub unsafe fn GetClipper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> ::windows::core::Result<()> { @@ -16242,7 +16242,7 @@ impl IDirectDrawSurface4 { (::windows::core::Interface::vtable(self).GetOverlayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), ::core::mem::transmute(param1)).ok() } pub unsafe fn GetPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> ::windows::core::Result<()> { @@ -16520,7 +16520,7 @@ impl IDirectDrawSurface7 { (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0)).ok() } pub unsafe fn GetClipper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> ::windows::core::Result<()> { @@ -16538,7 +16538,7 @@ impl IDirectDrawSurface7 { (::windows::core::Interface::vtable(self).GetOverlayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), ::core::mem::transmute(param1)).ok() } pub unsafe fn GetPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> ::windows::core::Result<()> { 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 0925202ea0..bb9ddde748 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs @@ -736,7 +736,7 @@ impl IDirectManipulationContent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetContentRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -892,7 +892,7 @@ impl IDirectManipulationDragDropBehavior { (::windows::core::Interface::vtable(self).SetConfiguration)(::windows::core::Interface::as_raw(self), configuration).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1123,7 +1123,7 @@ impl IDirectManipulationManager { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe fn ProcessInput(&self, message: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProcessInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(message), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUpdateManager(&self) -> ::windows::core::Result @@ -1247,7 +1247,7 @@ impl IDirectManipulationManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe fn ProcessInput(&self, message: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProcessInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(message), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUpdateManager(&self) -> ::windows::core::Result @@ -1372,7 +1372,7 @@ impl IDirectManipulationManager3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe fn ProcessInput(&self, message: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProcessInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(message), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUpdateManager(&self) -> ::windows::core::Result @@ -1628,7 +1628,7 @@ impl IDirectManipulationUpdateManager { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IDirectManipulationUpdateHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterWaitHandleCallback)(::windows::core::Interface::as_raw(self), handle.into(), eventhandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterWaitHandleCallback(&self, cookie: u32) -> ::windows::core::Result<()> { @@ -1707,7 +1707,7 @@ impl IDirectManipulationViewport { (::windows::core::Interface::vtable(self).ReleaseAllContacts)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTag(&self, id: *mut u32, result__: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -1725,7 +1725,7 @@ impl IDirectManipulationViewport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewportRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewportRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1791,7 +1791,7 @@ impl IDirectManipulationViewport { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IDirectManipulationViewportEventHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddEventHandler)(::windows::core::Interface::as_raw(self), window.into(), eventhandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveEventHandler(&self, cookie: u32) -> ::windows::core::Result<()> { @@ -1910,7 +1910,7 @@ impl IDirectManipulationViewport2 { (::windows::core::Interface::vtable(self).base__.ReleaseAllContacts)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTag(&self, id: *mut u32, result__: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -1928,7 +1928,7 @@ impl IDirectManipulationViewport2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewportRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewportRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1994,7 +1994,7 @@ impl IDirectManipulationViewport2 { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IDirectManipulationViewportEventHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddEventHandler)(::windows::core::Interface::as_raw(self), window.into(), eventhandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveEventHandler(&self, cookie: u32) -> ::windows::core::Result<()> { @@ -2016,7 +2016,7 @@ impl IDirectManipulationViewport2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBehavior)(::windows::core::Interface::as_raw(self), behavior.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBehavior(&self, cookie: u32) -> ::windows::core::Result<()> { 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 a2e6408646..c80aabdf39 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs @@ -4417,7 +4417,7 @@ pub unsafe fn DWriteCreateFactory(factorytype: DWRITE_FACTORY_TYPE, iid: *const extern "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__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DWriteCreateFactory(factorytype, ::core::mem::transmute(iid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] @@ -4490,7 +4490,7 @@ impl IDWriteBitmapRenderTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DrawGlyphRun)(::windows::core::Interface::as_raw(self), baselineoriginx, baselineoriginy, measuringmode, ::core::mem::transmute(glyphrun), renderingparams.into().abi(), textcolor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -4505,7 +4505,7 @@ impl IDWriteBitmapRenderTarget { (::windows::core::Interface::vtable(self).SetPixelsPerDip)(::windows::core::Interface::as_raw(self), pixelsperdip).ok() } pub unsafe fn GetCurrentTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentTransform(&self, transform: *const DWRITE_MATRIX) -> ::windows::core::Result<()> { @@ -4514,7 +4514,7 @@ impl IDWriteBitmapRenderTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resize(&self, width: u32, height: u32) -> ::windows::core::Result<()> { @@ -4588,7 +4588,7 @@ impl IDWriteBitmapRenderTarget1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DrawGlyphRun)(::windows::core::Interface::as_raw(self), baselineoriginx, baselineoriginy, measuringmode, ::core::mem::transmute(glyphrun), renderingparams.into().abi(), textcolor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -4603,7 +4603,7 @@ impl IDWriteBitmapRenderTarget1 { (::windows::core::Interface::vtable(self).base__.SetPixelsPerDip)(::windows::core::Interface::as_raw(self), pixelsperdip).ok() } pub unsafe fn GetCurrentTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentTransform(&self, transform: *const DWRITE_MATRIX) -> ::windows::core::Result<()> { @@ -4612,7 +4612,7 @@ impl IDWriteBitmapRenderTarget1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resize(&self, width: u32, height: u32) -> ::windows::core::Result<()> { @@ -4689,13 +4689,13 @@ impl IDWriteColorGlyphRunEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCurrentRun(&self) -> ::windows::core::Result<*mut DWRITE_COLOR_GLYPH_RUN> { - let mut result__ = ::core::mem::MaybeUninit::<*mut DWRITE_COLOR_GLYPH_RUN>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentRun)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut DWRITE_COLOR_GLYPH_RUN>(result__) } } @@ -4754,19 +4754,19 @@ impl IDWriteColorGlyphRunEnumerator1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCurrentRun(&self) -> ::windows::core::Result<*mut DWRITE_COLOR_GLYPH_RUN> { - let mut result__ = ::core::mem::MaybeUninit::<*mut DWRITE_COLOR_GLYPH_RUN>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentRun)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut DWRITE_COLOR_GLYPH_RUN>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCurrentRun2(&self) -> ::windows::core::Result<*mut DWRITE_COLOR_GLYPH_RUN1> { - let mut result__ = ::core::mem::MaybeUninit::<*mut DWRITE_COLOR_GLYPH_RUN1>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentRun2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut DWRITE_COLOR_GLYPH_RUN1>(result__) } } @@ -4845,7 +4845,7 @@ impl IDWriteFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollectionLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCustomFontCollection)(::windows::core::Interface::as_raw(self), collectionloader.into().abi(), ::core::mem::transmute(collectionkey), collectionkeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontCollectionLoader<'a, P0>(&self, fontcollectionloader: P0) -> ::windows::core::Result<()> @@ -4866,22 +4866,22 @@ impl IDWriteFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFileReference)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomFontFileReference<'a, P0>(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32, fontfileloader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFileLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCustomFontFileReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, fontfileloader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, fontfacetype: DWRITE_FONT_FACE_TYPE, fontfiles: &[::core::option::Option], faceindex: u32, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFace)(::windows::core::Interface::as_raw(self), fontfacetype, fontfiles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontfiles)), faceindex, fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRenderingParams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRenderingParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -4890,11 +4890,11 @@ impl IDWriteFactory { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMonitorRenderingParams)(::windows::core::Interface::as_raw(self), monitor.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams(&self, gamma: f32, enhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCustomRenderingParams)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontFileLoader<'a, P0>(&self, fontfileloader: P0) -> ::windows::core::Result<()> @@ -4915,22 +4915,22 @@ impl IDWriteFactory { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTextFormat)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), fontweight, fontstyle, fontstretch, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypography(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTypography)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiInterop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGdiInterop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextLayout<'a, P0>(&self, string: &[u16], textformat: P0, maxwidth: f32, maxheight: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), maxwidth, maxheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4940,18 +4940,18 @@ impl IDWriteFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGdiCompatibleTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), layoutwidth, layoutheight, pixelsperdip, ::core::mem::transmute(transform), usegdinatural.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEllipsisTrimmingSign<'a, P0>(&self, textformat: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEllipsisTrimmingSign)(::windows::core::Interface::as_raw(self), textformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextAnalyzer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTextAnalyzer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4961,13 +4961,13 @@ impl IDWriteFactory { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNumberSubstitution)(::windows::core::Interface::as_raw(self), substitutionmethod, localename.into(), ignoreuseroverride.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, pixelsperdip: f32, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGlyphRunAnalysis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), pixelsperdip, ::core::mem::transmute(transform), renderingmode, measuringmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5066,7 +5066,7 @@ impl IDWriteFactory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollectionLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCustomFontCollection)(::windows::core::Interface::as_raw(self), collectionloader.into().abi(), ::core::mem::transmute(collectionkey), collectionkeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontCollectionLoader<'a, P0>(&self, fontcollectionloader: P0) -> ::windows::core::Result<()> @@ -5087,22 +5087,22 @@ impl IDWriteFactory1 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFileReference)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomFontFileReference<'a, P0>(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32, fontfileloader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFileLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCustomFontFileReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, fontfileloader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, fontfacetype: DWRITE_FONT_FACE_TYPE, fontfiles: &[::core::option::Option], faceindex: u32, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFace)(::windows::core::Interface::as_raw(self), fontfacetype, fontfiles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontfiles)), faceindex, fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRenderingParams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRenderingParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -5111,11 +5111,11 @@ impl IDWriteFactory1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMonitorRenderingParams)(::windows::core::Interface::as_raw(self), monitor.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams(&self, gamma: f32, enhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCustomRenderingParams)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontFileLoader<'a, P0>(&self, fontfileloader: P0) -> ::windows::core::Result<()> @@ -5136,22 +5136,22 @@ impl IDWriteFactory1 { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTextFormat)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), fontweight, fontstyle, fontstretch, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypography(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTypography)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiInterop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGdiInterop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextLayout<'a, P0>(&self, string: &[u16], textformat: P0, maxwidth: f32, maxheight: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), maxwidth, maxheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5161,18 +5161,18 @@ impl IDWriteFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGdiCompatibleTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), layoutwidth, layoutheight, pixelsperdip, ::core::mem::transmute(transform), usegdinatural.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEllipsisTrimmingSign<'a, P0>(&self, textformat: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEllipsisTrimmingSign)(::windows::core::Interface::as_raw(self), textformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextAnalyzer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTextAnalyzer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5182,13 +5182,13 @@ impl IDWriteFactory1 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateNumberSubstitution)(::windows::core::Interface::as_raw(self), substitutionmethod, localename.into(), ignoreuseroverride.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, pixelsperdip: f32, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGlyphRunAnalysis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), pixelsperdip, ::core::mem::transmute(transform), renderingmode, measuringmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5200,7 +5200,7 @@ impl IDWriteFactory1 { (::windows::core::Interface::vtable(self).GetEudcFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn CreateCustomRenderingParams2(&self, gamma: f32, enhancedcontrast: f32, enhancedcontrastgrayscale: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCustomRenderingParams2)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, enhancedcontrastgrayscale, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5280,7 +5280,7 @@ impl IDWriteFactory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollectionLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCustomFontCollection)(::windows::core::Interface::as_raw(self), collectionloader.into().abi(), ::core::mem::transmute(collectionkey), collectionkeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontCollectionLoader<'a, P0>(&self, fontcollectionloader: P0) -> ::windows::core::Result<()> @@ -5301,22 +5301,22 @@ impl IDWriteFactory2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontFileReference)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomFontFileReference<'a, P0>(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32, fontfileloader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFileLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCustomFontFileReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, fontfileloader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, fontfacetype: DWRITE_FONT_FACE_TYPE, fontfiles: &[::core::option::Option], faceindex: u32, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontFace)(::windows::core::Interface::as_raw(self), fontfacetype, fontfiles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontfiles)), faceindex, fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRenderingParams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRenderingParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -5325,11 +5325,11 @@ impl IDWriteFactory2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateMonitorRenderingParams)(::windows::core::Interface::as_raw(self), monitor.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams(&self, gamma: f32, enhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCustomRenderingParams)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontFileLoader<'a, P0>(&self, fontfileloader: P0) -> ::windows::core::Result<()> @@ -5350,22 +5350,22 @@ impl IDWriteFactory2 { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTextFormat)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), fontweight, fontstyle, fontstretch, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypography(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTypography)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiInterop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGdiInterop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextLayout<'a, P0>(&self, string: &[u16], textformat: P0, maxwidth: f32, maxheight: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), maxwidth, maxheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5375,18 +5375,18 @@ impl IDWriteFactory2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGdiCompatibleTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), layoutwidth, layoutheight, pixelsperdip, ::core::mem::transmute(transform), usegdinatural.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEllipsisTrimmingSign<'a, P0>(&self, textformat: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateEllipsisTrimmingSign)(::windows::core::Interface::as_raw(self), textformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextAnalyzer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTextAnalyzer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5396,13 +5396,13 @@ impl IDWriteFactory2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateNumberSubstitution)(::windows::core::Interface::as_raw(self), substitutionmethod, localename.into(), ignoreuseroverride.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, pixelsperdip: f32, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGlyphRunAnalysis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), pixelsperdip, ::core::mem::transmute(transform), renderingmode, measuringmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5414,31 +5414,31 @@ impl IDWriteFactory2 { (::windows::core::Interface::vtable(self).base__.GetEudcFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn CreateCustomRenderingParams2(&self, gamma: f32, enhancedcontrast: f32, enhancedcontrastgrayscale: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCustomRenderingParams2)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, enhancedcontrastgrayscale, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFallbackBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFallbackBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TranslateColorGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, measuringmode: DWRITE_MEASURING_MODE, worldtodevicetransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TranslateColorGlyphRun)(::windows::core::Interface::as_raw(self), baselineoriginx, baselineoriginy, ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), measuringmode, ::core::mem::transmute(worldtodevicetransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams3(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCustomRenderingParams3)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis2(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGlyphRunAnalysis2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5539,7 +5539,7 @@ impl IDWriteFactory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollectionLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCustomFontCollection)(::windows::core::Interface::as_raw(self), collectionloader.into().abi(), ::core::mem::transmute(collectionkey), collectionkeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontCollectionLoader<'a, P0>(&self, fontcollectionloader: P0) -> ::windows::core::Result<()> @@ -5560,22 +5560,22 @@ impl IDWriteFactory3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFontFileReference)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomFontFileReference<'a, P0>(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32, fontfileloader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFileLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCustomFontFileReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, fontfileloader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, fontfacetype: DWRITE_FONT_FACE_TYPE, fontfiles: &[::core::option::Option], faceindex: u32, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFontFace)(::windows::core::Interface::as_raw(self), fontfacetype, fontfiles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontfiles)), faceindex, fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRenderingParams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRenderingParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -5584,11 +5584,11 @@ impl IDWriteFactory3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateMonitorRenderingParams)(::windows::core::Interface::as_raw(self), monitor.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams(&self, gamma: f32, enhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCustomRenderingParams)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontFileLoader<'a, P0>(&self, fontfileloader: P0) -> ::windows::core::Result<()> @@ -5609,22 +5609,22 @@ impl IDWriteFactory3 { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTextFormat)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), fontweight, fontstyle, fontstretch, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypography(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTypography)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiInterop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetGdiInterop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextLayout<'a, P0>(&self, string: &[u16], textformat: P0, maxwidth: f32, maxheight: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), maxwidth, maxheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5634,18 +5634,18 @@ impl IDWriteFactory3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGdiCompatibleTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), layoutwidth, layoutheight, pixelsperdip, ::core::mem::transmute(transform), usegdinatural.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEllipsisTrimmingSign<'a, P0>(&self, textformat: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateEllipsisTrimmingSign)(::windows::core::Interface::as_raw(self), textformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextAnalyzer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTextAnalyzer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5655,13 +5655,13 @@ impl IDWriteFactory3 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateNumberSubstitution)(::windows::core::Interface::as_raw(self), substitutionmethod, localename.into(), ignoreuseroverride.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, pixelsperdip: f32, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGlyphRunAnalysis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), pixelsperdip, ::core::mem::transmute(transform), renderingmode, measuringmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5673,48 +5673,48 @@ impl IDWriteFactory3 { (::windows::core::Interface::vtable(self).base__.base__.GetEudcFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn CreateCustomRenderingParams2(&self, gamma: f32, enhancedcontrast: f32, enhancedcontrastgrayscale: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCustomRenderingParams2)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, enhancedcontrastgrayscale, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSystemFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFallbackBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFallbackBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TranslateColorGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, measuringmode: DWRITE_MEASURING_MODE, worldtodevicetransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TranslateColorGlyphRun)(::windows::core::Interface::as_raw(self), baselineoriginx, baselineoriginy, ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), measuringmode, ::core::mem::transmute(worldtodevicetransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams3(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCustomRenderingParams3)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis2(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGlyphRunAnalysis2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis3(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE1, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGlyphRunAnalysis3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams4(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE1, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCustomRenderingParams4)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceReference<'a, P0>(&self, fontfile: P0, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFaceReference)(::windows::core::Interface::as_raw(self), fontfile.into().abi(), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5723,22 +5723,22 @@ impl IDWriteFactory3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFaceReference2)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontSetBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontCollectionFromFontSet<'a, P0>(&self, fontset: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontSet>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontCollectionFromFontSet)(::windows::core::Interface::as_raw(self), fontset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5751,7 +5751,7 @@ impl IDWriteFactory3 { (::windows::core::Interface::vtable(self).GetSystemFontCollection2)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn GetFontDownloadQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontDownloadQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5874,7 +5874,7 @@ impl IDWriteFactory4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollectionLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCustomFontCollection)(::windows::core::Interface::as_raw(self), collectionloader.into().abi(), ::core::mem::transmute(collectionkey), collectionkeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontCollectionLoader<'a, P0>(&self, fontcollectionloader: P0) -> ::windows::core::Result<()> @@ -5895,22 +5895,22 @@ impl IDWriteFactory4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateFontFileReference)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomFontFileReference<'a, P0>(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32, fontfileloader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFileLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCustomFontFileReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, fontfileloader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, fontfacetype: DWRITE_FONT_FACE_TYPE, fontfiles: &[::core::option::Option], faceindex: u32, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateFontFace)(::windows::core::Interface::as_raw(self), fontfacetype, fontfiles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontfiles)), faceindex, fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRenderingParams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRenderingParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -5919,11 +5919,11 @@ impl IDWriteFactory4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateMonitorRenderingParams)(::windows::core::Interface::as_raw(self), monitor.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams(&self, gamma: f32, enhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCustomRenderingParams)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontFileLoader<'a, P0>(&self, fontfileloader: P0) -> ::windows::core::Result<()> @@ -5944,22 +5944,22 @@ impl IDWriteFactory4 { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTextFormat)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), fontweight, fontstyle, fontstretch, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypography(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTypography)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiInterop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetGdiInterop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextLayout<'a, P0>(&self, string: &[u16], textformat: P0, maxwidth: f32, maxheight: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), maxwidth, maxheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5969,18 +5969,18 @@ impl IDWriteFactory4 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGdiCompatibleTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), layoutwidth, layoutheight, pixelsperdip, ::core::mem::transmute(transform), usegdinatural.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEllipsisTrimmingSign<'a, P0>(&self, textformat: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateEllipsisTrimmingSign)(::windows::core::Interface::as_raw(self), textformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextAnalyzer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTextAnalyzer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5990,13 +5990,13 @@ impl IDWriteFactory4 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateNumberSubstitution)(::windows::core::Interface::as_raw(self), substitutionmethod, localename.into(), ignoreuseroverride.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, pixelsperdip: f32, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGlyphRunAnalysis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), pixelsperdip, ::core::mem::transmute(transform), renderingmode, measuringmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6008,48 +6008,48 @@ impl IDWriteFactory4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetEudcFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn CreateCustomRenderingParams2(&self, gamma: f32, enhancedcontrast: f32, enhancedcontrastgrayscale: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCustomRenderingParams2)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, enhancedcontrastgrayscale, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSystemFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFallbackBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontFallbackBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TranslateColorGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, measuringmode: DWRITE_MEASURING_MODE, worldtodevicetransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TranslateColorGlyphRun)(::windows::core::Interface::as_raw(self), baselineoriginx, baselineoriginy, ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), measuringmode, ::core::mem::transmute(worldtodevicetransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams3(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCustomRenderingParams3)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis2(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGlyphRunAnalysis2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis3(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE1, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGlyphRunAnalysis3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams4(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE1, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCustomRenderingParams4)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceReference<'a, P0>(&self, fontfile: P0, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFaceReference)(::windows::core::Interface::as_raw(self), fontfile.into().abi(), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6058,22 +6058,22 @@ impl IDWriteFactory4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFaceReference2)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSystemFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontSetBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontCollectionFromFontSet<'a, P0>(&self, fontset: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontSet>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontCollectionFromFontSet)(::windows::core::Interface::as_raw(self), fontset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6086,25 +6086,25 @@ impl IDWriteFactory4 { (::windows::core::Interface::vtable(self).base__.GetSystemFontCollection2)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn GetFontDownloadQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontDownloadQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn TranslateColorGlyphRun2(&self, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, desiredglyphimageformats: DWRITE_GLYPH_IMAGE_FORMATS, measuringmode: DWRITE_MEASURING_MODE, worldanddpitransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TranslateColorGlyphRun2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), desiredglyphimageformats, measuringmode, ::core::mem::transmute(worldanddpitransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn ComputeGlyphOrigins(&self, glyphrun: *const DWRITE_GLYPH_RUN, baselineorigin: super::Direct2D::Common::D2D_POINT_2F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputeGlyphOrigins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn ComputeGlyphOrigins2(&self, glyphrun: *const DWRITE_GLYPH_RUN, measuringmode: DWRITE_MEASURING_MODE, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, worldanddpitransform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputeGlyphOrigins2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(baselineorigin), ::core::mem::transmute(worldanddpitransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6236,7 +6236,7 @@ impl IDWriteFactory5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollectionLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCustomFontCollection)(::windows::core::Interface::as_raw(self), collectionloader.into().abi(), ::core::mem::transmute(collectionkey), collectionkeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontCollectionLoader<'a, P0>(&self, fontcollectionloader: P0) -> ::windows::core::Result<()> @@ -6257,22 +6257,22 @@ impl IDWriteFactory5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateFontFileReference)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomFontFileReference<'a, P0>(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32, fontfileloader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFileLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCustomFontFileReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, fontfileloader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, fontfacetype: DWRITE_FONT_FACE_TYPE, fontfiles: &[::core::option::Option], faceindex: u32, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateFontFace)(::windows::core::Interface::as_raw(self), fontfacetype, fontfiles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontfiles)), faceindex, fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRenderingParams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRenderingParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -6281,11 +6281,11 @@ impl IDWriteFactory5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateMonitorRenderingParams)(::windows::core::Interface::as_raw(self), monitor.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams(&self, gamma: f32, enhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCustomRenderingParams)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontFileLoader<'a, P0>(&self, fontfileloader: P0) -> ::windows::core::Result<()> @@ -6306,22 +6306,22 @@ impl IDWriteFactory5 { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTextFormat)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), fontweight, fontstyle, fontstretch, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypography(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTypography)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiInterop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetGdiInterop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextLayout<'a, P0>(&self, string: &[u16], textformat: P0, maxwidth: f32, maxheight: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), maxwidth, maxheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6331,18 +6331,18 @@ impl IDWriteFactory5 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGdiCompatibleTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), layoutwidth, layoutheight, pixelsperdip, ::core::mem::transmute(transform), usegdinatural.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEllipsisTrimmingSign<'a, P0>(&self, textformat: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateEllipsisTrimmingSign)(::windows::core::Interface::as_raw(self), textformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextAnalyzer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTextAnalyzer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6352,13 +6352,13 @@ impl IDWriteFactory5 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateNumberSubstitution)(::windows::core::Interface::as_raw(self), substitutionmethod, localename.into(), ignoreuseroverride.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, pixelsperdip: f32, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGlyphRunAnalysis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), pixelsperdip, ::core::mem::transmute(transform), renderingmode, measuringmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6370,48 +6370,48 @@ impl IDWriteFactory5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetEudcFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn CreateCustomRenderingParams2(&self, gamma: f32, enhancedcontrast: f32, enhancedcontrastgrayscale: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCustomRenderingParams2)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, enhancedcontrastgrayscale, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetSystemFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFallbackBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFontFallbackBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TranslateColorGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, measuringmode: DWRITE_MEASURING_MODE, worldtodevicetransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.TranslateColorGlyphRun)(::windows::core::Interface::as_raw(self), baselineoriginx, baselineoriginy, ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), measuringmode, ::core::mem::transmute(worldtodevicetransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams3(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCustomRenderingParams3)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis2(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGlyphRunAnalysis2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis3(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE1, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGlyphRunAnalysis3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams4(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE1, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCustomRenderingParams4)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceReference<'a, P0>(&self, fontfile: P0, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontFaceReference)(::windows::core::Interface::as_raw(self), fontfile.into().abi(), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6420,22 +6420,22 @@ impl IDWriteFactory5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontFaceReference2)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSystemFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontSetBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontCollectionFromFontSet<'a, P0>(&self, fontset: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontSet>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontCollectionFromFontSet)(::windows::core::Interface::as_raw(self), fontset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6448,33 +6448,33 @@ impl IDWriteFactory5 { (::windows::core::Interface::vtable(self).base__.base__.GetSystemFontCollection2)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn GetFontDownloadQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontDownloadQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn TranslateColorGlyphRun2(&self, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, desiredglyphimageformats: DWRITE_GLYPH_IMAGE_FORMATS, measuringmode: DWRITE_MEASURING_MODE, worldanddpitransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TranslateColorGlyphRun2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), desiredglyphimageformats, measuringmode, ::core::mem::transmute(worldanddpitransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn ComputeGlyphOrigins(&self, glyphrun: *const DWRITE_GLYPH_RUN, baselineorigin: super::Direct2D::Common::D2D_POINT_2F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeGlyphOrigins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn ComputeGlyphOrigins2(&self, glyphrun: *const DWRITE_GLYPH_RUN, measuringmode: DWRITE_MEASURING_MODE, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, worldanddpitransform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeGlyphOrigins2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(baselineorigin), ::core::mem::transmute(worldanddpitransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontSetBuilder2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInMemoryFontFileLoader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInMemoryFontFileLoader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHttpFontFileLoader<'a, P0, P1>(&self, referrerurl: P0, extraheaders: P1) -> ::windows::core::Result @@ -6482,14 +6482,14 @@ impl IDWriteFactory5 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateHttpFontFileLoader)(::windows::core::Interface::as_raw(self), referrerurl.into(), extraheaders.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AnalyzeContainerType(&self, filedata: *const ::core::ffi::c_void, filedatasize: u32) -> DWRITE_CONTAINER_TYPE { ::core::mem::transmute((::windows::core::Interface::vtable(self).AnalyzeContainerType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(filedata), filedatasize)) } pub unsafe fn UnpackFontFile(&self, containertype: DWRITE_CONTAINER_TYPE, filedata: *const ::core::ffi::c_void, filedatasize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UnpackFontFile)(::windows::core::Interface::as_raw(self), containertype, ::core::mem::transmute(filedata), filedatasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6629,7 +6629,7 @@ impl IDWriteFactory6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollectionLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCustomFontCollection)(::windows::core::Interface::as_raw(self), collectionloader.into().abi(), ::core::mem::transmute(collectionkey), collectionkeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontCollectionLoader<'a, P0>(&self, fontcollectionloader: P0) -> ::windows::core::Result<()> @@ -6650,22 +6650,22 @@ impl IDWriteFactory6 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateFontFileReference)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomFontFileReference<'a, P0>(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32, fontfileloader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFileLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCustomFontFileReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, fontfileloader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, fontfacetype: DWRITE_FONT_FACE_TYPE, fontfiles: &[::core::option::Option], faceindex: u32, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateFontFace)(::windows::core::Interface::as_raw(self), fontfacetype, fontfiles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontfiles)), faceindex, fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRenderingParams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateRenderingParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -6674,11 +6674,11 @@ impl IDWriteFactory6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateMonitorRenderingParams)(::windows::core::Interface::as_raw(self), monitor.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams(&self, gamma: f32, enhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCustomRenderingParams)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontFileLoader<'a, P0>(&self, fontfileloader: P0) -> ::windows::core::Result<()> @@ -6699,22 +6699,22 @@ impl IDWriteFactory6 { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateTextFormat)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), fontweight, fontstyle, fontstretch, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypography(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateTypography)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiInterop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetGdiInterop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextLayout<'a, P0>(&self, string: &[u16], textformat: P0, maxwidth: f32, maxheight: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), maxwidth, maxheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6724,18 +6724,18 @@ impl IDWriteFactory6 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateGdiCompatibleTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), layoutwidth, layoutheight, pixelsperdip, ::core::mem::transmute(transform), usegdinatural.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEllipsisTrimmingSign<'a, P0>(&self, textformat: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateEllipsisTrimmingSign)(::windows::core::Interface::as_raw(self), textformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextAnalyzer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateTextAnalyzer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6745,13 +6745,13 @@ impl IDWriteFactory6 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateNumberSubstitution)(::windows::core::Interface::as_raw(self), substitutionmethod, localename.into(), ignoreuseroverride.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, pixelsperdip: f32, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateGlyphRunAnalysis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), pixelsperdip, ::core::mem::transmute(transform), renderingmode, measuringmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6763,48 +6763,48 @@ impl IDWriteFactory6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetEudcFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn CreateCustomRenderingParams2(&self, gamma: f32, enhancedcontrast: f32, enhancedcontrastgrayscale: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCustomRenderingParams2)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, enhancedcontrastgrayscale, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetSystemFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFallbackBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateFontFallbackBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TranslateColorGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, measuringmode: DWRITE_MEASURING_MODE, worldtodevicetransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.TranslateColorGlyphRun)(::windows::core::Interface::as_raw(self), baselineoriginx, baselineoriginy, ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), measuringmode, ::core::mem::transmute(worldtodevicetransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams3(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCustomRenderingParams3)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis2(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGlyphRunAnalysis2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis3(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE1, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGlyphRunAnalysis3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams4(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE1, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCustomRenderingParams4)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceReference<'a, P0>(&self, fontfile: P0, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFontFaceReference)(::windows::core::Interface::as_raw(self), fontfile.into().abi(), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6813,22 +6813,22 @@ impl IDWriteFactory6 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFontFaceReference2)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetSystemFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFontSetBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontCollectionFromFontSet<'a, P0>(&self, fontset: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontSet>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFontCollectionFromFontSet)(::windows::core::Interface::as_raw(self), fontset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6841,33 +6841,33 @@ impl IDWriteFactory6 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetSystemFontCollection2)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn GetFontDownloadQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFontDownloadQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn TranslateColorGlyphRun2(&self, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, desiredglyphimageformats: DWRITE_GLYPH_IMAGE_FORMATS, measuringmode: DWRITE_MEASURING_MODE, worldanddpitransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TranslateColorGlyphRun2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), desiredglyphimageformats, measuringmode, ::core::mem::transmute(worldanddpitransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn ComputeGlyphOrigins(&self, glyphrun: *const DWRITE_GLYPH_RUN, baselineorigin: super::Direct2D::Common::D2D_POINT_2F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ComputeGlyphOrigins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn ComputeGlyphOrigins2(&self, glyphrun: *const DWRITE_GLYPH_RUN, measuringmode: DWRITE_MEASURING_MODE, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, worldanddpitransform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ComputeGlyphOrigins2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(baselineorigin), ::core::mem::transmute(worldanddpitransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontSetBuilder2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInMemoryFontFileLoader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateInMemoryFontFileLoader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHttpFontFileLoader<'a, P0, P1>(&self, referrerurl: P0, extraheaders: P1) -> ::windows::core::Result @@ -6875,28 +6875,28 @@ impl IDWriteFactory6 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateHttpFontFileLoader)(::windows::core::Interface::as_raw(self), referrerurl.into(), extraheaders.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AnalyzeContainerType(&self, filedata: *const ::core::ffi::c_void, filedatasize: u32) -> DWRITE_CONTAINER_TYPE { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.AnalyzeContainerType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(filedata), filedatasize)) } pub unsafe fn UnpackFontFile(&self, containertype: DWRITE_CONTAINER_TYPE, filedata: *const ::core::ffi::c_void, filedatasize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UnpackFontFile)(::windows::core::Interface::as_raw(self), containertype, ::core::mem::transmute(filedata), filedatasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceReference3<'a, P0>(&self, fontfile: P0, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFaceReference3)(::windows::core::Interface::as_raw(self), fontfile.into().abi(), faceindex, fontsimulations, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontResource<'a, P0>(&self, fontfile: P0, faceindex: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontResource)(::windows::core::Interface::as_raw(self), fontfile.into().abi(), faceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6905,7 +6905,7 @@ impl IDWriteFactory6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemFontSet2)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6914,18 +6914,18 @@ impl IDWriteFactory6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemFontCollection3)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), fontfamilymodel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontCollectionFromFontSet2<'a, P0>(&self, fontset: P0, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontSet>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontCollectionFromFontSet2)(::windows::core::Interface::as_raw(self), fontset.into().abi(), fontfamilymodel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder3(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontSetBuilder3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextFormat2<'a, P0, P1, P2>(&self, fontfamilyname: P0, fontcollection: P1, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE], fontsize: f32, localename: P2) -> ::windows::core::Result @@ -6934,7 +6934,7 @@ impl IDWriteFactory6 { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTextFormat2)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7097,7 +7097,7 @@ impl IDWriteFactory7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollectionLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCustomFontCollection)(::windows::core::Interface::as_raw(self), collectionloader.into().abi(), ::core::mem::transmute(collectionkey), collectionkeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontCollectionLoader<'a, P0>(&self, fontcollectionloader: P0) -> ::windows::core::Result<()> @@ -7118,22 +7118,22 @@ impl IDWriteFactory7 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateFontFileReference)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomFontFileReference<'a, P0>(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32, fontfileloader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFileLoader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCustomFontFileReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, fontfileloader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, fontfacetype: DWRITE_FONT_FACE_TYPE, fontfiles: &[::core::option::Option], faceindex: u32, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateFontFace)(::windows::core::Interface::as_raw(self), fontfacetype, fontfiles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontfiles)), faceindex, fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRenderingParams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateRenderingParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -7142,11 +7142,11 @@ impl IDWriteFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateMonitorRenderingParams)(::windows::core::Interface::as_raw(self), monitor.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams(&self, gamma: f32, enhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCustomRenderingParams)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFontFileLoader<'a, P0>(&self, fontfileloader: P0) -> ::windows::core::Result<()> @@ -7167,22 +7167,22 @@ impl IDWriteFactory7 { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateTextFormat)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), fontweight, fontstyle, fontstretch, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypography(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateTypography)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiInterop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetGdiInterop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextLayout<'a, P0>(&self, string: &[u16], textformat: P0, maxwidth: f32, maxheight: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), maxwidth, maxheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7192,18 +7192,18 @@ impl IDWriteFactory7 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateGdiCompatibleTextLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(string)), string.len() as _, textformat.into().abi(), layoutwidth, layoutheight, pixelsperdip, ::core::mem::transmute(transform), usegdinatural.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEllipsisTrimmingSign<'a, P0>(&self, textformat: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteTextFormat>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateEllipsisTrimmingSign)(::windows::core::Interface::as_raw(self), textformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextAnalyzer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateTextAnalyzer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7213,13 +7213,13 @@ impl IDWriteFactory7 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateNumberSubstitution)(::windows::core::Interface::as_raw(self), substitutionmethod, localename.into(), ignoreuseroverride.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, pixelsperdip: f32, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateGlyphRunAnalysis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), pixelsperdip, ::core::mem::transmute(transform), renderingmode, measuringmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7231,48 +7231,48 @@ impl IDWriteFactory7 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetEudcFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn CreateCustomRenderingParams2(&self, gamma: f32, enhancedcontrast: f32, enhancedcontrastgrayscale: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCustomRenderingParams2)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, enhancedcontrastgrayscale, cleartypelevel, pixelgeometry, renderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetSystemFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFallbackBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateFontFallbackBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TranslateColorGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, measuringmode: DWRITE_MEASURING_MODE, worldtodevicetransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.TranslateColorGlyphRun)(::windows::core::Interface::as_raw(self), baselineoriginx, baselineoriginy, ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), measuringmode, ::core::mem::transmute(worldtodevicetransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams3(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCustomRenderingParams3)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis2(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGlyphRunAnalysis2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateGlyphRunAnalysis3(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: *const DWRITE_MATRIX, renderingmode: DWRITE_RENDERING_MODE1, measuringmode: DWRITE_MEASURING_MODE, gridfitmode: DWRITE_GRID_FIT_MODE, antialiasmode: DWRITE_TEXT_ANTIALIAS_MODE, baselineoriginx: f32, baselineoriginy: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGlyphRunAnalysis3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(transform), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCustomRenderingParams4(&self, gamma: f32, enhancedcontrast: f32, grayscaleenhancedcontrast: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE1, gridfitmode: DWRITE_GRID_FIT_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCustomRenderingParams4)(::windows::core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceReference<'a, P0>(&self, fontfile: P0, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateFontFaceReference)(::windows::core::Interface::as_raw(self), fontfile.into().abi(), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7281,22 +7281,22 @@ impl IDWriteFactory7 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateFontFaceReference2)(::windows::core::Interface::as_raw(self), filepath.into(), ::core::mem::transmute(lastwritetime), faceindex, fontsimulations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetSystemFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateFontSetBuilder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontCollectionFromFontSet<'a, P0>(&self, fontset: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontSet>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateFontCollectionFromFontSet)(::windows::core::Interface::as_raw(self), fontset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7309,33 +7309,33 @@ impl IDWriteFactory7 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetSystemFontCollection2)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), ::core::mem::transmute(fontcollection), checkforupdates.into()).ok() } pub unsafe fn GetFontDownloadQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetFontDownloadQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn TranslateColorGlyphRun2(&self, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: *const DWRITE_GLYPH_RUN_DESCRIPTION, desiredglyphimageformats: DWRITE_GLYPH_IMAGE_FORMATS, measuringmode: DWRITE_MEASURING_MODE, worldanddpitransform: *const DWRITE_MATRIX, colorpaletteindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.TranslateColorGlyphRun2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(glyphrun), ::core::mem::transmute(glyphrundescription), desiredglyphimageformats, measuringmode, ::core::mem::transmute(worldanddpitransform), colorpaletteindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn ComputeGlyphOrigins(&self, glyphrun: *const DWRITE_GLYPH_RUN, baselineorigin: super::Direct2D::Common::D2D_POINT_2F) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ComputeGlyphOrigins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), ::core::mem::transmute(baselineorigin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn ComputeGlyphOrigins2(&self, glyphrun: *const DWRITE_GLYPH_RUN, measuringmode: DWRITE_MEASURING_MODE, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, worldanddpitransform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ComputeGlyphOrigins2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphrun), measuringmode, ::core::mem::transmute(baselineorigin), ::core::mem::transmute(worldanddpitransform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontSetBuilder2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInMemoryFontFileLoader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateInMemoryFontFileLoader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateHttpFontFileLoader<'a, P0, P1>(&self, referrerurl: P0, extraheaders: P1) -> ::windows::core::Result @@ -7343,28 +7343,28 @@ impl IDWriteFactory7 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateHttpFontFileLoader)(::windows::core::Interface::as_raw(self), referrerurl.into(), extraheaders.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AnalyzeContainerType(&self, filedata: *const ::core::ffi::c_void, filedatasize: u32) -> DWRITE_CONTAINER_TYPE { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.AnalyzeContainerType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(filedata), filedatasize)) } pub unsafe fn UnpackFontFile(&self, containertype: DWRITE_CONTAINER_TYPE, filedata: *const ::core::ffi::c_void, filedatasize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UnpackFontFile)(::windows::core::Interface::as_raw(self), containertype, ::core::mem::transmute(filedata), filedatasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceReference3<'a, P0>(&self, fontfile: P0, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFaceReference3)(::windows::core::Interface::as_raw(self), fontfile.into().abi(), faceindex, fontsimulations, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontResource<'a, P0>(&self, fontfile: P0, faceindex: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontResource)(::windows::core::Interface::as_raw(self), fontfile.into().abi(), faceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7373,7 +7373,7 @@ impl IDWriteFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSystemFontSet2)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7382,18 +7382,18 @@ impl IDWriteFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSystemFontCollection3)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), fontfamilymodel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontCollectionFromFontSet2<'a, P0>(&self, fontset: P0, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontSet>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontCollectionFromFontSet2)(::windows::core::Interface::as_raw(self), fontset.into().abi(), fontfamilymodel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontSetBuilder3(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontSetBuilder3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTextFormat2<'a, P0, P1, P2>(&self, fontfamilyname: P0, fontcollection: P1, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE], fontsize: f32, localename: P2) -> ::windows::core::Result @@ -7402,7 +7402,7 @@ impl IDWriteFactory7 { P1: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTextFormat2)(::windows::core::Interface::as_raw(self), fontfamilyname.into(), fontcollection.into().abi(), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, fontsize, localename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7411,7 +7411,7 @@ impl IDWriteFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemFontSet3)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7420,7 +7420,7 @@ impl IDWriteFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemFontCollection4)(::windows::core::Interface::as_raw(self), includedownloadablefonts.into(), fontfamilymodel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7582,7 +7582,7 @@ pub struct IDWriteFactory7_Vtbl { pub struct IDWriteFont(::windows::core::IUnknown); impl IDWriteFont { pub unsafe fn GetFontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWeight(&self) -> DWRITE_FONT_WEIGHT { @@ -7600,7 +7600,7 @@ impl IDWriteFont { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsSymbolFont)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFaceNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7617,11 +7617,11 @@ impl IDWriteFont { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasCharacter(&self, unicodevalue: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasCharacter)(::windows::core::Interface::as_raw(self), unicodevalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7690,7 +7690,7 @@ pub struct IDWriteFont_Vtbl { pub struct IDWriteFont1(::windows::core::IUnknown); impl IDWriteFont1 { pub unsafe fn GetFontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWeight(&self) -> DWRITE_FONT_WEIGHT { @@ -7708,7 +7708,7 @@ impl IDWriteFont1 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.IsSymbolFont)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFaceNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7725,11 +7725,11 @@ impl IDWriteFont1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasCharacter(&self, unicodevalue: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HasCharacter)(::windows::core::Interface::as_raw(self), unicodevalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7819,7 +7819,7 @@ pub struct IDWriteFont1_Vtbl { pub struct IDWriteFont2(::windows::core::IUnknown); impl IDWriteFont2 { pub unsafe fn GetFontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWeight(&self) -> DWRITE_FONT_WEIGHT { @@ -7837,7 +7837,7 @@ impl IDWriteFont2 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.IsSymbolFont)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFaceNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7854,11 +7854,11 @@ impl IDWriteFont2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasCharacter(&self, unicodevalue: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HasCharacter)(::windows::core::Interface::as_raw(self), unicodevalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontFace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7962,7 +7962,7 @@ pub struct IDWriteFont2_Vtbl { pub struct IDWriteFont3(::windows::core::IUnknown); impl IDWriteFont3 { pub unsafe fn GetFontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWeight(&self) -> DWRITE_FONT_WEIGHT { @@ -7980,7 +7980,7 @@ impl IDWriteFont3 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.base__.IsSymbolFont)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFaceNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7997,11 +7997,11 @@ impl IDWriteFont3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasCharacter(&self, unicodevalue: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.HasCharacter)(::windows::core::Interface::as_raw(self), unicodevalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFontFace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8026,7 +8026,7 @@ impl IDWriteFont3 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.IsColorFont)(::windows::core::Interface::as_raw(self))) } pub unsafe fn CreateFontFace2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFace2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8038,7 +8038,7 @@ impl IDWriteFont3 { ::core::mem::transmute((::windows::core::Interface::vtable(self).Equals)(::windows::core::Interface::as_raw(self), font.into().abi())) } pub unsafe fn GetFontFaceReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFaceReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8154,7 +8154,7 @@ impl IDWriteFontCollection { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetFontFamilyCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFamily(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFamily)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8169,7 +8169,7 @@ impl IDWriteFontCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFace>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFromFontFace)(::windows::core::Interface::as_raw(self), fontface.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8228,7 +8228,7 @@ impl IDWriteFontCollection1 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetFontFamilyCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFamily(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFamily)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8243,15 +8243,15 @@ impl IDWriteFontCollection1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFace>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFromFontFace)(::windows::core::Interface::as_raw(self), fontface.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamily2(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFamily2)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8320,7 +8320,7 @@ impl IDWriteFontCollection2 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.GetFontFamilyCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFamily(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontFamily)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8335,33 +8335,33 @@ impl IDWriteFontCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFace>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontFromFontFace)(::windows::core::Interface::as_raw(self), fontface.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamily2(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFamily2)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamily3(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFamily3)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts<'a, P0>(&self, familyname: P0, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchingFonts)(::windows::core::Interface::as_raw(self), familyname.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyModel(&self) -> DWRITE_FONT_FAMILY_MODEL { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetFontFamilyModel)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontSet2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontSet2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8447,7 +8447,7 @@ impl IDWriteFontCollection3 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.base__.GetFontFamilyCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFamily(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFontFamily)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8462,33 +8462,33 @@ impl IDWriteFontCollection3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFace>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFontFromFontFace)(::windows::core::Interface::as_raw(self), fontface.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamily2(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontFamily2)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamily3(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFamily3)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts<'a, P0>(&self, familyname: P0, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMatchingFonts)(::windows::core::Interface::as_raw(self), familyname.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyModel(&self) -> DWRITE_FONT_FAMILY_MODEL { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetFontFamilyModel)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontSet2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontSet2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8594,7 +8594,7 @@ impl IDWriteFontCollectionLoader { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFactory>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEnumeratorFromKey)(::windows::core::Interface::as_raw(self), factory.into().abi(), ::core::mem::transmute(collectionkey), collectionkeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8700,7 +8700,7 @@ impl IDWriteFontDownloadQueue { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontDownloadListener>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddListener)(::windows::core::Interface::as_raw(self), listener.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveListener(&self, token: u32) -> ::windows::core::Result<()> { @@ -8833,11 +8833,11 @@ impl IDWriteFontFace { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecommendedRenderingMode)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiCompatibleMetrics(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGdiCompatibleMetrics)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8980,11 +8980,11 @@ impl IDWriteFontFace1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecommendedRenderingMode)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiCompatibleMetrics(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGdiCompatibleMetrics)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9004,7 +9004,7 @@ impl IDWriteFontFace1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGdiCompatibleMetrics2(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGdiCompatibleMetrics2)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCaretMetrics(&self, caretmetrics: *mut DWRITE_CARET_METRICS) { @@ -9049,7 +9049,7 @@ impl IDWriteFontFace1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecommendedRenderingMode2)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVerticalGlyphVariants(&self, glyphcount: u32, nominalglyphindices: *const u16, verticalglyphindices: *mut u16) -> ::windows::core::Result<()> { @@ -9212,11 +9212,11 @@ impl IDWriteFontFace2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRecommendedRenderingMode)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiCompatibleMetrics(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGdiCompatibleMetrics)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9236,7 +9236,7 @@ impl IDWriteFontFace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGdiCompatibleMetrics2(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGdiCompatibleMetrics2)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCaretMetrics(&self, caretmetrics: *mut DWRITE_CARET_METRICS) { @@ -9281,7 +9281,7 @@ impl IDWriteFontFace2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecommendedRenderingMode2)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVerticalGlyphVariants(&self, glyphcount: u32, nominalglyphindices: *const u16, verticalglyphindices: *mut u16) -> ::windows::core::Result<()> { @@ -9457,11 +9457,11 @@ impl IDWriteFontFace3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetRecommendedRenderingMode)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiCompatibleMetrics(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetGdiCompatibleMetrics)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9481,7 +9481,7 @@ impl IDWriteFontFace3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGdiCompatibleMetrics2(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGdiCompatibleMetrics2)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCaretMetrics(&self, caretmetrics: *mut DWRITE_CARET_METRICS) { @@ -9526,7 +9526,7 @@ impl IDWriteFontFace3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRecommendedRenderingMode2)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVerticalGlyphVariants(&self, glyphcount: u32, nominalglyphindices: *const u16, verticalglyphindices: *mut u16) -> ::windows::core::Result<()> { @@ -9561,7 +9561,7 @@ impl IDWriteFontFace3 { (::windows::core::Interface::vtable(self).base__.GetRecommendedRenderingMode3)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(renderingmode), ::core::mem::transmute(gridfitmode)).ok() } pub unsafe fn GetFontFaceReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFaceReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPanose(&self, panose: *mut DWRITE_PANOSE) { @@ -9577,11 +9577,11 @@ impl IDWriteFontFace3 { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetStyle)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFamilyNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFamilyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFaceNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9619,7 +9619,7 @@ impl IDWriteFontFace3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AreCharactersLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(characters)), characters.len() as _, enqueueifnotlocal.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9628,7 +9628,7 @@ impl IDWriteFontFace3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AreGlyphsLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(glyphindices)), glyphindices.len() as _, enqueueifnotlocal.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9812,11 +9812,11 @@ impl IDWriteFontFace4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetRecommendedRenderingMode)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiCompatibleMetrics(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetGdiCompatibleMetrics)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9836,7 +9836,7 @@ impl IDWriteFontFace4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGdiCompatibleMetrics2(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetGdiCompatibleMetrics2)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCaretMetrics(&self, caretmetrics: *mut DWRITE_CARET_METRICS) { @@ -9881,7 +9881,7 @@ impl IDWriteFontFace4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetRecommendedRenderingMode2)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVerticalGlyphVariants(&self, glyphcount: u32, nominalglyphindices: *const u16, verticalglyphindices: *mut u16) -> ::windows::core::Result<()> { @@ -9916,7 +9916,7 @@ impl IDWriteFontFace4 { (::windows::core::Interface::vtable(self).base__.base__.GetRecommendedRenderingMode3)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(renderingmode), ::core::mem::transmute(gridfitmode)).ok() } pub unsafe fn GetFontFaceReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFaceReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPanose(&self, panose: *mut DWRITE_PANOSE) { @@ -9932,11 +9932,11 @@ impl IDWriteFontFace4 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetStyle)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFamilyNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFamilyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFaceNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9974,7 +9974,7 @@ impl IDWriteFontFace4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AreCharactersLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(characters)), characters.len() as _, enqueueifnotlocal.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9983,11 +9983,11 @@ impl IDWriteFontFace4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AreGlyphsLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(glyphindices)), glyphindices.len() as _, enqueueifnotlocal.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphImageFormats(&self, glyphid: u16, pixelsperemfirst: u32, pixelsperemlast: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlyphImageFormats)(::windows::core::Interface::as_raw(self), glyphid, pixelsperemfirst, pixelsperemlast, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphImageFormats2(&self) -> DWRITE_GLYPH_IMAGE_FORMATS { @@ -10169,11 +10169,11 @@ impl IDWriteFontFace5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetRecommendedRenderingMode)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiCompatibleMetrics(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetGdiCompatibleMetrics)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10193,7 +10193,7 @@ impl IDWriteFontFace5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGdiCompatibleMetrics2(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetGdiCompatibleMetrics2)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCaretMetrics(&self, caretmetrics: *mut DWRITE_CARET_METRICS) { @@ -10238,7 +10238,7 @@ impl IDWriteFontFace5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetRecommendedRenderingMode2)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVerticalGlyphVariants(&self, glyphcount: u32, nominalglyphindices: *const u16, verticalglyphindices: *mut u16) -> ::windows::core::Result<()> { @@ -10273,7 +10273,7 @@ impl IDWriteFontFace5 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetRecommendedRenderingMode3)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(renderingmode), ::core::mem::transmute(gridfitmode)).ok() } pub unsafe fn GetFontFaceReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontFaceReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPanose(&self, panose: *mut DWRITE_PANOSE) { @@ -10289,11 +10289,11 @@ impl IDWriteFontFace5 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.GetStyle)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFamilyNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFamilyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFaceNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10331,7 +10331,7 @@ impl IDWriteFontFace5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AreCharactersLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(characters)), characters.len() as _, enqueueifnotlocal.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10340,11 +10340,11 @@ impl IDWriteFontFace5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AreGlyphsLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(glyphindices)), glyphindices.len() as _, enqueueifnotlocal.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphImageFormats(&self, glyphid: u16, pixelsperemfirst: u32, pixelsperemlast: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGlyphImageFormats)(::windows::core::Interface::as_raw(self), glyphid, pixelsperemfirst, pixelsperemlast, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphImageFormats2(&self) -> DWRITE_GLYPH_IMAGE_FORMATS { @@ -10370,7 +10370,7 @@ impl IDWriteFontFace5 { ::core::mem::transmute((::windows::core::Interface::vtable(self).HasVariations)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10568,11 +10568,11 @@ impl IDWriteFontFace6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteRenderingParams>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetRecommendedRenderingMode)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGdiCompatibleMetrics(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetGdiCompatibleMetrics)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10592,7 +10592,7 @@ impl IDWriteFontFace6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGdiCompatibleMetrics2(&self, emsize: f32, pixelsperdip: f32, transform: *const DWRITE_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetGdiCompatibleMetrics2)(::windows::core::Interface::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCaretMetrics(&self, caretmetrics: *mut DWRITE_CARET_METRICS) { @@ -10637,7 +10637,7 @@ impl IDWriteFontFace6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetRecommendedRenderingMode2)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVerticalGlyphVariants(&self, glyphcount: u32, nominalglyphindices: *const u16, verticalglyphindices: *mut u16) -> ::windows::core::Result<()> { @@ -10672,7 +10672,7 @@ impl IDWriteFontFace6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetRecommendedRenderingMode3)(::windows::core::Interface::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform), issideways.into(), outlinethreshold, measuringmode, renderingparams.into().abi(), ::core::mem::transmute(renderingmode), ::core::mem::transmute(gridfitmode)).ok() } pub unsafe fn GetFontFaceReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFontFaceReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPanose(&self, panose: *mut DWRITE_PANOSE) { @@ -10688,11 +10688,11 @@ impl IDWriteFontFace6 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.base__.GetStyle)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFamilyNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFamilyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFaceNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10730,7 +10730,7 @@ impl IDWriteFontFace6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AreCharactersLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(characters)), characters.len() as _, enqueueifnotlocal.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10739,11 +10739,11 @@ impl IDWriteFontFace6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AreGlyphsLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(glyphindices)), glyphindices.len() as _, enqueueifnotlocal.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphImageFormats(&self, glyphid: u16, pixelsperemfirst: u32, pixelsperemlast: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGlyphImageFormats)(::windows::core::Interface::as_raw(self), glyphid, pixelsperemfirst, pixelsperemlast, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphImageFormats2(&self) -> DWRITE_GLYPH_IMAGE_FORMATS { @@ -10769,7 +10769,7 @@ impl IDWriteFontFace6 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.HasVariations)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10781,11 +10781,11 @@ impl IDWriteFontFace6 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.Equals)(::windows::core::Interface::as_raw(self), fontface.into().abi())) } pub unsafe fn GetFamilyNames2(&self, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFamilyNames2)(::windows::core::Interface::as_raw(self), fontfamilymodel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFaceNames2(&self, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFaceNames2)(::windows::core::Interface::as_raw(self), fontfamilymodel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10926,11 +10926,11 @@ pub struct IDWriteFontFace6_Vtbl { pub struct IDWriteFontFaceReference(::windows::core::IUnknown); impl IDWriteFontFaceReference { pub unsafe fn CreateFontFace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceWithSimulations(&self, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFaceWithSimulations)(::windows::core::Interface::as_raw(self), fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10948,7 +10948,7 @@ impl IDWriteFontFaceReference { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetSimulations)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocalFileSize(&self) -> u64 { @@ -10960,7 +10960,7 @@ impl IDWriteFontFaceReference { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFileTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocality(&self) -> DWRITE_LOCALITY { @@ -11044,11 +11044,11 @@ pub struct IDWriteFontFaceReference_Vtbl { pub struct IDWriteFontFaceReference1(::windows::core::IUnknown); impl IDWriteFontFaceReference1 { pub unsafe fn CreateFontFace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceWithSimulations(&self, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFaceWithSimulations)(::windows::core::Interface::as_raw(self), fontfacesimulationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11066,7 +11066,7 @@ impl IDWriteFontFaceReference1 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetSimulations)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocalFileSize(&self) -> u64 { @@ -11078,7 +11078,7 @@ impl IDWriteFontFaceReference1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFileTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocality(&self) -> DWRITE_LOCALITY { @@ -11097,7 +11097,7 @@ impl IDWriteFontFaceReference1 { (::windows::core::Interface::vtable(self).base__.EnqueueFileFragmentDownloadRequest)(::windows::core::Interface::as_raw(self), fileoffset, fragmentsize).ok() } pub unsafe fn CreateFontFace2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFace2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontAxisValueCount(&self) -> u32 { @@ -11315,7 +11315,7 @@ impl IDWriteFontFallbackBuilder { (::windows::core::Interface::vtable(self).AddMappings)(::windows::core::Interface::as_raw(self), fontfallback.into().abi()).ok() } pub unsafe fn CreateFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11367,26 +11367,26 @@ pub struct IDWriteFontFallbackBuilder_Vtbl { pub struct IDWriteFontFamily(::windows::core::IUnknown); impl IDWriteFontFamily { pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFont(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFont)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFamilyNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFamilyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstMatchingFont(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFirstMatchingFont)(::windows::core::Interface::as_raw(self), weight, stretch, style, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchingFonts)(::windows::core::Interface::as_raw(self), weight, stretch, style, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11453,37 +11453,37 @@ pub struct IDWriteFontFamily_Vtbl { pub struct IDWriteFontFamily1(::windows::core::IUnknown); impl IDWriteFontFamily1 { pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFont(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFont)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFamilyNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFamilyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstMatchingFont(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFirstMatchingFont)(::windows::core::Interface::as_raw(self), weight, stretch, style, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMatchingFonts)(::windows::core::Interface::as_raw(self), weight, stretch, style, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontLocality(&self, listindex: u32) -> DWRITE_LOCALITY { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetFontLocality)(::windows::core::Interface::as_raw(self), listindex)) } pub unsafe fn GetFont2(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFont2)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFaceReference)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11565,45 +11565,45 @@ pub struct IDWriteFontFamily1_Vtbl { pub struct IDWriteFontFamily2(::windows::core::IUnknown); impl IDWriteFontFamily2 { pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.base__.GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFont(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFont)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFamilyNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFamilyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstMatchingFont(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFirstMatchingFont)(::windows::core::Interface::as_raw(self), weight, stretch, style, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMatchingFonts)(::windows::core::Interface::as_raw(self), weight, stretch, style, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontLocality(&self, listindex: u32) -> DWRITE_LOCALITY { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetFontLocality)(::windows::core::Interface::as_raw(self), listindex)) } pub unsafe fn GetFont2(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFont2)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFaceReference)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts2(&self, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchingFonts2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11702,7 +11702,7 @@ impl IDWriteFontFile { (::windows::core::Interface::vtable(self).GetReferenceKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), ::core::mem::transmute(fontfilereferencekeysize)).ok() } pub unsafe fn GetLoader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLoader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11764,11 +11764,11 @@ impl IDWriteFontFileEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentFontFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentFontFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11822,7 +11822,7 @@ pub struct IDWriteFontFileEnumerator_Vtbl { pub struct IDWriteFontFileLoader(::windows::core::IUnknown); impl IDWriteFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStreamFromKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11878,11 +11878,11 @@ impl IDWriteFontFileStream { (::windows::core::Interface::vtable(self).ReleaseFileFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fragmentcontext)) } pub unsafe fn GetFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastWriteTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastWriteTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11935,14 +11935,14 @@ pub struct IDWriteFontFileStream_Vtbl { pub struct IDWriteFontList(::windows::core::IUnknown); impl IDWriteFontList { pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFont(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFont)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11994,25 +11994,25 @@ pub struct IDWriteFontList_Vtbl { pub struct IDWriteFontList1(::windows::core::IUnknown); impl IDWriteFontList1 { pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFont(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFont)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontLocality(&self, listindex: u32) -> DWRITE_LOCALITY { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetFontLocality)(::windows::core::Interface::as_raw(self), listindex)) } pub unsafe fn GetFont2(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFont2)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFaceReference)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12079,29 +12079,29 @@ pub struct IDWriteFontList1_Vtbl { pub struct IDWriteFontList2(::windows::core::IUnknown); impl IDWriteFontList2 { pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFont(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFont)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontLocality(&self, listindex: u32) -> DWRITE_LOCALITY { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetFontLocality)(::windows::core::Interface::as_raw(self), listindex)) } pub unsafe fn GetFont2(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFont2)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFaceReference)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12181,7 +12181,7 @@ pub struct IDWriteFontList2_Vtbl { pub struct IDWriteFontResource(::windows::core::IUnknown); impl IDWriteFontResource { pub unsafe fn GetFontFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFaceIndex(&self) -> u32 { @@ -12200,7 +12200,7 @@ impl IDWriteFontResource { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetFontAxisAttributes)(::windows::core::Interface::as_raw(self), axisindex)) } pub unsafe fn GetAxisNames(&self, axisindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAxisNames)(::windows::core::Interface::as_raw(self), axisindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAxisValueNameCount(&self, axisindex: u32) -> u32 { @@ -12215,11 +12215,11 @@ impl IDWriteFontResource { ::core::mem::transmute((::windows::core::Interface::vtable(self).HasVariations)(::windows::core::Interface::as_raw(self))) } pub unsafe fn CreateFontFace(&self, fontsimulations: DWRITE_FONT_SIMULATIONS, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFace)(::windows::core::Interface::as_raw(self), fontsimulations, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFaceReference(&self, fontsimulations: DWRITE_FONT_SIMULATIONS, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFaceReference)(::windows::core::Interface::as_raw(self), fontsimulations, ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12286,7 +12286,7 @@ impl IDWriteFontSet { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFaceReference)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12306,14 +12306,14 @@ impl IDWriteFontSet { (::windows::core::Interface::vtable(self).FindFontFace)(::windows::core::Interface::as_raw(self), fontface.into().abi(), ::core::mem::transmute(listindex), ::core::mem::transmute(exists)).ok() } pub unsafe fn GetPropertyValues(&self, propertyid: DWRITE_FONT_PROPERTY_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyValues)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyValues2<'a, P0>(&self, propertyid: DWRITE_FONT_PROPERTY_ID, preferredlocalenames: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyValues2)(::windows::core::Interface::as_raw(self), propertyid, preferredlocalenames.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12322,18 +12322,18 @@ impl IDWriteFontSet { (::windows::core::Interface::vtable(self).GetPropertyValues3)(::windows::core::Interface::as_raw(self), listindex, propertyid, ::core::mem::transmute(exists), ::core::mem::transmute(values)).ok() } pub unsafe fn GetPropertyOccurrenceCount(&self, property: *const DWRITE_FONT_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyOccurrenceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(property), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts<'a, P0>(&self, familyname: P0, fontweight: DWRITE_FONT_WEIGHT, fontstretch: DWRITE_FONT_STRETCH, fontstyle: DWRITE_FONT_STYLE) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchingFonts)(::windows::core::Interface::as_raw(self), familyname.into(), fontweight, fontstretch, fontstyle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts2(&self, properties: &[DWRITE_FONT_PROPERTY]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchingFonts2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(properties)), properties.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12404,7 +12404,7 @@ impl IDWriteFontSet1 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFaceReference)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12424,14 +12424,14 @@ impl IDWriteFontSet1 { (::windows::core::Interface::vtable(self).base__.FindFontFace)(::windows::core::Interface::as_raw(self), fontface.into().abi(), ::core::mem::transmute(listindex), ::core::mem::transmute(exists)).ok() } pub unsafe fn GetPropertyValues(&self, propertyid: DWRITE_FONT_PROPERTY_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyValues)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyValues2<'a, P0>(&self, propertyid: DWRITE_FONT_PROPERTY_ID, preferredlocalenames: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyValues2)(::windows::core::Interface::as_raw(self), propertyid, preferredlocalenames.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12440,30 +12440,30 @@ impl IDWriteFontSet1 { (::windows::core::Interface::vtable(self).base__.GetPropertyValues3)(::windows::core::Interface::as_raw(self), listindex, propertyid, ::core::mem::transmute(exists), ::core::mem::transmute(values)).ok() } pub unsafe fn GetPropertyOccurrenceCount(&self, property: *const DWRITE_FONT_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyOccurrenceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(property), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts<'a, P0>(&self, familyname: P0, fontweight: DWRITE_FONT_WEIGHT, fontstretch: DWRITE_FONT_STRETCH, fontstyle: DWRITE_FONT_STYLE) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMatchingFonts)(::windows::core::Interface::as_raw(self), familyname.into(), fontweight, fontstretch, fontstyle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts2(&self, properties: &[DWRITE_FONT_PROPERTY]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMatchingFonts2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(properties)), properties.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts3(&self, fontproperty: *const DWRITE_FONT_PROPERTY, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchingFonts3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontproperty), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstFontResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFirstFontResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilteredFonts(&self, indices: &[u32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteredFonts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(indices)), indices.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12472,7 +12472,7 @@ impl IDWriteFontSet1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteredFonts2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisranges)), fontaxisranges.len() as _, selectanyrange.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12481,7 +12481,7 @@ impl IDWriteFontSet1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteredFonts3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(properties)), properties.len() as _, selectanyproperty.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12507,15 +12507,15 @@ impl IDWriteFontSet1 { (::windows::core::Interface::vtable(self).GetFontAxisRanges2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fontaxisranges)), fontaxisranges.len() as _, ::core::mem::transmute(actualfontaxisrangecount)).ok() } pub unsafe fn GetFontFaceReference2(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFaceReference2)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontResource(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontResource)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFace)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontLocality(&self, listindex: u32) -> DWRITE_LOCALITY { @@ -12610,7 +12610,7 @@ impl IDWriteFontSet2 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontFaceReference)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12630,14 +12630,14 @@ impl IDWriteFontSet2 { (::windows::core::Interface::vtable(self).base__.base__.FindFontFace)(::windows::core::Interface::as_raw(self), fontface.into().abi(), ::core::mem::transmute(listindex), ::core::mem::transmute(exists)).ok() } pub unsafe fn GetPropertyValues(&self, propertyid: DWRITE_FONT_PROPERTY_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPropertyValues)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyValues2<'a, P0>(&self, propertyid: DWRITE_FONT_PROPERTY_ID, preferredlocalenames: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPropertyValues2)(::windows::core::Interface::as_raw(self), propertyid, preferredlocalenames.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12646,30 +12646,30 @@ impl IDWriteFontSet2 { (::windows::core::Interface::vtable(self).base__.base__.GetPropertyValues3)(::windows::core::Interface::as_raw(self), listindex, propertyid, ::core::mem::transmute(exists), ::core::mem::transmute(values)).ok() } pub unsafe fn GetPropertyOccurrenceCount(&self, property: *const DWRITE_FONT_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPropertyOccurrenceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(property), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts<'a, P0>(&self, familyname: P0, fontweight: DWRITE_FONT_WEIGHT, fontstretch: DWRITE_FONT_STRETCH, fontstyle: DWRITE_FONT_STYLE) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMatchingFonts)(::windows::core::Interface::as_raw(self), familyname.into(), fontweight, fontstretch, fontstyle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts2(&self, properties: &[DWRITE_FONT_PROPERTY]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMatchingFonts2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(properties)), properties.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts3(&self, fontproperty: *const DWRITE_FONT_PROPERTY, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMatchingFonts3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontproperty), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstFontResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFirstFontResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilteredFonts(&self, indices: &[u32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFilteredFonts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(indices)), indices.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12678,7 +12678,7 @@ impl IDWriteFontSet2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFilteredFonts2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisranges)), fontaxisranges.len() as _, selectanyrange.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12687,7 +12687,7 @@ impl IDWriteFontSet2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFilteredFonts3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(properties)), properties.len() as _, selectanyproperty.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12713,15 +12713,15 @@ impl IDWriteFontSet2 { (::windows::core::Interface::vtable(self).base__.GetFontAxisRanges2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fontaxisranges)), fontaxisranges.len() as _, ::core::mem::transmute(actualfontaxisrangecount)).ok() } pub unsafe fn GetFontFaceReference2(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFaceReference2)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontResource(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontResource)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFace)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontLocality(&self, listindex: u32) -> DWRITE_LOCALITY { @@ -12815,7 +12815,7 @@ impl IDWriteFontSet3 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.base__.GetFontCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFontFaceReference)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12835,14 +12835,14 @@ impl IDWriteFontSet3 { (::windows::core::Interface::vtable(self).base__.base__.base__.FindFontFace)(::windows::core::Interface::as_raw(self), fontface.into().abi(), ::core::mem::transmute(listindex), ::core::mem::transmute(exists)).ok() } pub unsafe fn GetPropertyValues(&self, propertyid: DWRITE_FONT_PROPERTY_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPropertyValues)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyValues2<'a, P0>(&self, propertyid: DWRITE_FONT_PROPERTY_ID, preferredlocalenames: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPropertyValues2)(::windows::core::Interface::as_raw(self), propertyid, preferredlocalenames.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12851,30 +12851,30 @@ impl IDWriteFontSet3 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetPropertyValues3)(::windows::core::Interface::as_raw(self), listindex, propertyid, ::core::mem::transmute(exists), ::core::mem::transmute(values)).ok() } pub unsafe fn GetPropertyOccurrenceCount(&self, property: *const DWRITE_FONT_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPropertyOccurrenceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(property), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts<'a, P0>(&self, familyname: P0, fontweight: DWRITE_FONT_WEIGHT, fontstretch: DWRITE_FONT_STRETCH, fontstyle: DWRITE_FONT_STYLE) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetMatchingFonts)(::windows::core::Interface::as_raw(self), familyname.into(), fontweight, fontstretch, fontstyle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts2(&self, properties: &[DWRITE_FONT_PROPERTY]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetMatchingFonts2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(properties)), properties.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingFonts3(&self, fontproperty: *const DWRITE_FONT_PROPERTY, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMatchingFonts3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontproperty), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisvalues)), fontaxisvalues.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstFontResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFirstFontResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilteredFonts(&self, indices: &[u32]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFilteredFonts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(indices)), indices.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12883,7 +12883,7 @@ impl IDWriteFontSet3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFilteredFonts2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(fontaxisranges)), fontaxisranges.len() as _, selectanyrange.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12892,7 +12892,7 @@ impl IDWriteFontSet3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFilteredFonts3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(properties)), properties.len() as _, selectanyproperty.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12918,15 +12918,15 @@ impl IDWriteFontSet3 { (::windows::core::Interface::vtable(self).base__.base__.GetFontAxisRanges2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fontaxisranges)), fontaxisranges.len() as _, ::core::mem::transmute(actualfontaxisrangecount)).ok() } pub unsafe fn GetFontFaceReference2(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontFaceReference2)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontResource(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontResource)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFace(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontFace)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontLocality(&self, listindex: u32) -> DWRITE_LOCALITY { @@ -13058,7 +13058,7 @@ impl IDWriteFontSetBuilder { (::windows::core::Interface::vtable(self).AddFontSet)(::windows::core::Interface::as_raw(self), fontset.into().abi()).ok() } pub unsafe fn CreateFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13129,7 +13129,7 @@ impl IDWriteFontSetBuilder1 { (::windows::core::Interface::vtable(self).base__.AddFontSet)(::windows::core::Interface::as_raw(self), fontset.into().abi()).ok() } pub unsafe fn CreateFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddFontFile<'a, P0>(&self, fontfile: P0) -> ::windows::core::Result<()> @@ -13218,7 +13218,7 @@ impl IDWriteFontSetBuilder2 { (::windows::core::Interface::vtable(self).base__.base__.AddFontSet)(::windows::core::Interface::as_raw(self), fontset.into().abi()).ok() } pub unsafe fn CreateFontSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFontSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddFontFile<'a, P0>(&self, fontfile: P0) -> ::windows::core::Result<()> @@ -13319,7 +13319,7 @@ impl IDWriteGdiInterop { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn CreateFontFromLOGFONT(&self, logfont: *const super::Gdi::LOGFONTW) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFromLOGFONT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(logfont), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -13336,7 +13336,7 @@ impl IDWriteGdiInterop { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFace>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConvertFontFaceToLOGFONT)(::windows::core::Interface::as_raw(self), font.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -13345,7 +13345,7 @@ impl IDWriteGdiInterop { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFaceFromHdc)(::windows::core::Interface::as_raw(self), hdc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -13354,7 +13354,7 @@ impl IDWriteGdiInterop { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapRenderTarget)(::windows::core::Interface::as_raw(self), hdc.into(), width, height, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13425,7 +13425,7 @@ impl IDWriteGdiInterop1 { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn CreateFontFromLOGFONT(&self, logfont: *const super::Gdi::LOGFONTW) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFromLOGFONT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(logfont), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -13442,7 +13442,7 @@ impl IDWriteGdiInterop1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFace>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ConvertFontFaceToLOGFONT)(::windows::core::Interface::as_raw(self), font.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -13451,7 +13451,7 @@ impl IDWriteGdiInterop1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontFaceFromHdc)(::windows::core::Interface::as_raw(self), hdc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -13460,7 +13460,7 @@ impl IDWriteGdiInterop1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapRenderTarget)(::windows::core::Interface::as_raw(self), hdc.into(), width, height, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -13469,7 +13469,7 @@ impl IDWriteGdiInterop1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontCollection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFromLOGFONT2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(logfont), fontcollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -13478,7 +13478,7 @@ impl IDWriteGdiInterop1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontFace>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontSignature)(::windows::core::Interface::as_raw(self), fontface.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -13487,7 +13487,7 @@ impl IDWriteGdiInterop1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFont>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontSignature2)(::windows::core::Interface::as_raw(self), font.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -13496,7 +13496,7 @@ impl IDWriteGdiInterop1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFontSet>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchingFontsByLOGFONT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(logfont), fontset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13578,7 +13578,7 @@ impl IDWriteGlyphRunAnalysis { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAlphaTextureBounds(&self, texturetype: DWRITE_TEXTURE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlphaTextureBounds)(::windows::core::Interface::as_raw(self), texturetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13647,7 +13647,7 @@ pub struct IDWriteGlyphRunAnalysis_Vtbl { pub struct IDWriteInMemoryFontFileLoader(::windows::core::IUnknown); impl IDWriteInMemoryFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStreamFromKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInMemoryFontFileReference<'a, P0, P1>(&self, factory: P0, fontdata: *const ::core::ffi::c_void, fontdatasize: u32, ownerobject: P1) -> ::windows::core::Result @@ -13655,7 +13655,7 @@ impl IDWriteInMemoryFontFileLoader { P0: ::std::convert::Into<::windows::core::InParam<'a, IDWriteFactory>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInMemoryFontFileReference)(::windows::core::Interface::as_raw(self), factory.into().abi(), ::core::mem::transmute(fontdata), fontdatasize, ownerobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileCount(&self) -> u32 { @@ -13737,11 +13737,11 @@ impl IDWriteInlineObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOverhangMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOverhangMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakConditions(&self, breakconditionbefore: *mut DWRITE_BREAK_CONDITION, breakconditionafter: *mut DWRITE_BREAK_CONDITION) -> ::windows::core::Result<()> { @@ -13803,11 +13803,11 @@ pub struct IDWriteInlineObject_Vtbl { pub struct IDWriteLocalFontFileLoader(::windows::core::IUnknown); impl IDWriteLocalFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStreamFromKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilePathLengthFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilePathLengthFromKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilePathFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32, filepath: &mut [u16]) -> ::windows::core::Result<()> { @@ -13816,7 +13816,7 @@ impl IDWriteLocalFontFileLoader { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastWriteTimeFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastWriteTimeFromKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13897,14 +13897,14 @@ impl IDWriteLocalizedStrings { (::windows::core::Interface::vtable(self).FindLocaleName)(::windows::core::Interface::as_raw(self), localename.into(), ::core::mem::transmute(index), ::core::mem::transmute(exists)).ok() } pub unsafe fn GetLocaleNameLength(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocaleNameLength)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocaleName(&self, index: u32, localename: &mut [u16]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLocaleName)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(localename)), localename.len() as _).ok() } pub unsafe fn GetStringLength(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringLength)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, index: u32, stringbuffer: &mut [u16]) -> ::windows::core::Result<()> { @@ -14011,15 +14011,15 @@ impl IDWritePixelSnapping { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPixelSnappingDisabled(&self, clientdrawingcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPixelSnappingDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clientdrawingcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentTransform(&self, clientdrawingcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clientdrawingcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPixelsPerDip(&self, clientdrawingcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPixelsPerDip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clientdrawingcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14074,15 +14074,15 @@ pub struct IDWritePixelSnapping_Vtbl { pub struct IDWriteRemoteFontFileLoader(::windows::core::IUnknown); impl IDWriteRemoteFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStreamFromKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRemoteStreamFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRemoteStreamFromKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocalityFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalityFromKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontfilereferencekey), fontfilereferencekeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFontFileReferenceFromUrl<'a, P0, P1, P2>(&self, factory: P0, baseurl: P1, fontfileurl: P2) -> ::windows::core::Result @@ -14091,7 +14091,7 @@ impl IDWriteRemoteFontFileLoader { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontFileReferenceFromUrl)(::windows::core::Interface::as_raw(self), factory.into().abi(), baseurl.into(), fontfileurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14164,15 +14164,15 @@ impl IDWriteRemoteFontFileStream { (::windows::core::Interface::vtable(self).base__.ReleaseFileFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fragmentcontext)) } pub unsafe fn GetFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastWriteTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLastWriteTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocalFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14184,7 +14184,7 @@ impl IDWriteRemoteFontFileStream { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetLocality)(::windows::core::Interface::as_raw(self))) } pub unsafe fn BeginDownload(&self, downloadoperationid: *const ::windows::core::GUID, filefragments: &[DWRITE_FILE_FRAGMENT]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginDownload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(downloadoperationid), ::core::mem::transmute(::windows::core::as_ptr_or_null(filefragments)), filefragments.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14614,14 +14614,14 @@ impl IDWriteStringList { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetLocaleNameLength(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocaleNameLength)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocaleName(&self, listindex: u32, localename: &mut [u16]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLocaleName)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(localename)), localename.len() as _).ok() } pub unsafe fn GetStringLength(&self, listindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringLength)(::windows::core::Interface::as_raw(self), listindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, listindex: u32, stringbuffer: &mut [u16]) -> ::windows::core::Result<()> { @@ -15340,11 +15340,11 @@ impl IDWriteTextAnalyzer1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlyphOrientationTransform)(::windows::core::Interface::as_raw(self), glyphorientationangle, issideways.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScriptProperties(&self, scriptanalysis: DWRITE_SCRIPT_ANALYSIS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScriptProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(scriptanalysis), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15623,11 +15623,11 @@ impl IDWriteTextAnalyzer2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGlyphOrientationTransform)(::windows::core::Interface::as_raw(self), glyphorientationangle, issideways.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScriptProperties(&self, scriptanalysis: DWRITE_SCRIPT_ANALYSIS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetScriptProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(scriptanalysis), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15679,7 +15679,7 @@ impl IDWriteTextAnalyzer2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlyphOrientationTransform2)(::windows::core::Interface::as_raw(self), glyphorientationangle, issideways.into(), originx, originy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypographicFeatures<'a, P0, P1>(&self, fontface: P0, scriptanalysis: DWRITE_SCRIPT_ANALYSIS, localename: P1, actualtagcount: *mut u32, tags: &mut [DWRITE_FONT_FEATURE_TAG]) -> ::windows::core::Result<()> @@ -15829,7 +15829,7 @@ impl IDWriteTextFormat { (::windows::core::Interface::vtable(self).GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingmethod), ::core::mem::transmute(linespacing), ::core::mem::transmute(baseline)).ok() } pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -15978,7 +15978,7 @@ impl IDWriteTextFormat1 { (::windows::core::Interface::vtable(self).base__.GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingmethod), ::core::mem::transmute(linespacing), ::core::mem::transmute(baseline)).ok() } pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -16037,7 +16037,7 @@ impl IDWriteTextFormat1 { (::windows::core::Interface::vtable(self).SetFontFallback)(::windows::core::Interface::as_raw(self), fontfallback.into().abi()).ok() } pub unsafe fn GetFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16166,7 +16166,7 @@ impl IDWriteTextFormat2 { (::windows::core::Interface::vtable(self).base__.base__.GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingmethod), ::core::mem::transmute(linespacing), ::core::mem::transmute(baseline)).ok() } pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -16225,14 +16225,14 @@ impl IDWriteTextFormat2 { (::windows::core::Interface::vtable(self).base__.SetFontFallback)(::windows::core::Interface::as_raw(self), fontfallback.into().abi()).ok() } pub unsafe fn GetFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLineSpacing2(&self, linespacingoptions: *const DWRITE_LINE_SPACING) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLineSpacing2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingoptions)).ok() } pub unsafe fn GetLineSpacing2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLineSpacing2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16364,7 +16364,7 @@ impl IDWriteTextFormat3 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingmethod), ::core::mem::transmute(linespacing), ::core::mem::transmute(baseline)).ok() } pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -16423,14 +16423,14 @@ impl IDWriteTextFormat3 { (::windows::core::Interface::vtable(self).base__.base__.SetFontFallback)(::windows::core::Interface::as_raw(self), fontfallback.into().abi()).ok() } pub unsafe fn GetFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLineSpacing2(&self, linespacingoptions: *const DWRITE_LINE_SPACING) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLineSpacing2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingoptions)).ok() } pub unsafe fn GetLineSpacing2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLineSpacing2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFontAxisValues(&self, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> ::windows::core::Result<()> { @@ -16595,7 +16595,7 @@ impl IDWriteTextLayout { (::windows::core::Interface::vtable(self).base__.GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingmethod), ::core::mem::transmute(linespacing), ::core::mem::transmute(baseline)).ok() } pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -16756,18 +16756,18 @@ impl IDWriteTextLayout { (::windows::core::Interface::vtable(self).GetLineMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(linemetrics)), linemetrics.len() as _, ::core::mem::transmute(actuallinecount)).ok() } pub unsafe fn GetMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOverhangMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOverhangMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClusterMetrics(&self, clustermetrics: &mut [DWRITE_CLUSTER_METRICS], actualclustercount: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetClusterMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(clustermetrics)), clustermetrics.len() as _, ::core::mem::transmute(actualclustercount)).ok() } pub unsafe fn DetermineMinWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DetermineMinWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16963,7 +16963,7 @@ impl IDWriteTextLayout1 { (::windows::core::Interface::vtable(self).base__.base__.GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingmethod), ::core::mem::transmute(linespacing), ::core::mem::transmute(baseline)).ok() } pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -17124,18 +17124,18 @@ impl IDWriteTextLayout1 { (::windows::core::Interface::vtable(self).base__.GetLineMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(linemetrics)), linemetrics.len() as _, ::core::mem::transmute(actuallinecount)).ok() } pub unsafe fn GetMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOverhangMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOverhangMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClusterMetrics(&self, clustermetrics: &mut [DWRITE_CLUSTER_METRICS], actualclustercount: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetClusterMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(clustermetrics)), clustermetrics.len() as _, ::core::mem::transmute(actualclustercount)).ok() } pub unsafe fn DetermineMinWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DetermineMinWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17312,7 +17312,7 @@ impl IDWriteTextLayout2 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingmethod), ::core::mem::transmute(linespacing), ::core::mem::transmute(baseline)).ok() } pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -17473,18 +17473,18 @@ impl IDWriteTextLayout2 { (::windows::core::Interface::vtable(self).base__.base__.GetLineMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(linemetrics)), linemetrics.len() as _, ::core::mem::transmute(actuallinecount)).ok() } pub unsafe fn GetMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOverhangMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOverhangMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClusterMetrics(&self, clustermetrics: &mut [DWRITE_CLUSTER_METRICS], actualclustercount: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetClusterMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(clustermetrics)), clustermetrics.len() as _, ::core::mem::transmute(actualclustercount)).ok() } pub unsafe fn DetermineMinWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DetermineMinWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17525,7 +17525,7 @@ impl IDWriteTextLayout2 { (::windows::core::Interface::vtable(self).base__.GetCharacterSpacing)(::windows::core::Interface::as_raw(self), currentposition, ::core::mem::transmute(leadingspacing), ::core::mem::transmute(trailingspacing), ::core::mem::transmute(minimumadvancewidth), ::core::mem::transmute(textrange)).ok() } pub unsafe fn GetMetrics2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetrics2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVerticalGlyphOrientation(&self, glyphorientation: DWRITE_VERTICAL_GLYPH_ORIENTATION) -> ::windows::core::Result<()> { @@ -17560,7 +17560,7 @@ impl IDWriteTextLayout2 { (::windows::core::Interface::vtable(self).SetFontFallback)(::windows::core::Interface::as_raw(self), fontfallback.into().abi()).ok() } pub unsafe fn GetFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17720,7 +17720,7 @@ impl IDWriteTextLayout3 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingmethod), ::core::mem::transmute(linespacing), ::core::mem::transmute(baseline)).ok() } pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -17881,18 +17881,18 @@ impl IDWriteTextLayout3 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetLineMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(linemetrics)), linemetrics.len() as _, ::core::mem::transmute(actuallinecount)).ok() } pub unsafe fn GetMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOverhangMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetOverhangMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClusterMetrics(&self, clustermetrics: &mut [DWRITE_CLUSTER_METRICS], actualclustercount: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.GetClusterMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(clustermetrics)), clustermetrics.len() as _, ::core::mem::transmute(actualclustercount)).ok() } pub unsafe fn DetermineMinWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DetermineMinWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17933,7 +17933,7 @@ impl IDWriteTextLayout3 { (::windows::core::Interface::vtable(self).base__.base__.GetCharacterSpacing)(::windows::core::Interface::as_raw(self), currentposition, ::core::mem::transmute(leadingspacing), ::core::mem::transmute(trailingspacing), ::core::mem::transmute(minimumadvancewidth), ::core::mem::transmute(textrange)).ok() } pub unsafe fn GetMetrics2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMetrics2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVerticalGlyphOrientation(&self, glyphorientation: DWRITE_VERTICAL_GLYPH_ORIENTATION) -> ::windows::core::Result<()> { @@ -17968,7 +17968,7 @@ impl IDWriteTextLayout3 { (::windows::core::Interface::vtable(self).base__.SetFontFallback)(::windows::core::Interface::as_raw(self), fontfallback.into().abi()).ok() } pub unsafe fn GetFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InvalidateLayout(&self) -> ::windows::core::Result<()> { @@ -17978,7 +17978,7 @@ impl IDWriteTextLayout3 { (::windows::core::Interface::vtable(self).SetLineSpacing2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingoptions)).ok() } pub unsafe fn GetLineSpacing2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLineSpacing2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18150,7 +18150,7 @@ impl IDWriteTextLayout4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingmethod), ::core::mem::transmute(linespacing), ::core::mem::transmute(baseline)).ok() } pub unsafe fn GetFontCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetFontCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -18311,18 +18311,18 @@ impl IDWriteTextLayout4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetLineMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(linemetrics)), linemetrics.len() as _, ::core::mem::transmute(actuallinecount)).ok() } pub unsafe fn GetMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOverhangMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetOverhangMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClusterMetrics(&self, clustermetrics: &mut [DWRITE_CLUSTER_METRICS], actualclustercount: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetClusterMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(clustermetrics)), clustermetrics.len() as _, ::core::mem::transmute(actualclustercount)).ok() } pub unsafe fn DetermineMinWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DetermineMinWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18363,7 +18363,7 @@ impl IDWriteTextLayout4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetCharacterSpacing)(::windows::core::Interface::as_raw(self), currentposition, ::core::mem::transmute(leadingspacing), ::core::mem::transmute(trailingspacing), ::core::mem::transmute(minimumadvancewidth), ::core::mem::transmute(textrange)).ok() } pub unsafe fn GetMetrics2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMetrics2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVerticalGlyphOrientation(&self, glyphorientation: DWRITE_VERTICAL_GLYPH_ORIENTATION) -> ::windows::core::Result<()> { @@ -18398,7 +18398,7 @@ impl IDWriteTextLayout4 { (::windows::core::Interface::vtable(self).base__.base__.SetFontFallback)(::windows::core::Interface::as_raw(self), fontfallback.into().abi()).ok() } pub unsafe fn GetFontFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFontFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InvalidateLayout(&self) -> ::windows::core::Result<()> { @@ -18408,7 +18408,7 @@ impl IDWriteTextLayout4 { (::windows::core::Interface::vtable(self).base__.SetLineSpacing2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(linespacingoptions)).ok() } pub unsafe fn GetLineSpacing2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLineSpacing2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18559,15 +18559,15 @@ impl IDWriteTextRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPixelSnappingDisabled(&self, clientdrawingcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsPixelSnappingDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clientdrawingcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentTransform(&self, clientdrawingcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clientdrawingcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPixelsPerDip(&self, clientdrawingcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelsPerDip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clientdrawingcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18674,15 +18674,15 @@ impl IDWriteTextRenderer1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPixelSnappingDisabled(&self, clientdrawingcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsPixelSnappingDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clientdrawingcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentTransform(&self, clientdrawingcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCurrentTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clientdrawingcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPixelsPerDip(&self, clientdrawingcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPixelsPerDip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clientdrawingcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18839,7 +18839,7 @@ impl IDWriteTypography { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetFontFeatureCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFeature(&self, fontfeatureindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFeature)(::windows::core::Interface::as_raw(self), fontfeatureindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs index 3624949c4b..e2bf75d873 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs @@ -684,7 +684,7 @@ where extern "system" { fn DwmGetCompositionTimingInfo(hwnd: super::super::Foundation::HWND, ptiminginfo: *mut DWM_TIMING_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DwmGetCompositionTimingInfo(hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] @@ -694,7 +694,7 @@ pub unsafe fn DwmGetGraphicsStreamClient(uindex: u32) -> ::windows::core::Result extern "system" { fn DwmGetGraphicsStreamClient(uindex: u32, pclientuuid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DwmGetGraphicsStreamClient(uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] @@ -704,7 +704,7 @@ pub unsafe fn DwmGetGraphicsStreamTransformHint(uindex: u32) -> ::windows::core: extern "system" { fn DwmGetGraphicsStreamTransformHint(uindex: u32, ptransform: *mut MilMatrix3x2D) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DwmGetGraphicsStreamTransformHint(uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -728,7 +728,7 @@ where extern "system" { fn DwmGetUnmetTabRequirements(appwindow: super::super::Foundation::HWND, value: *mut DWM_TAB_WINDOW_REQUIREMENTS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DwmGetUnmetTabRequirements(appwindow.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -765,7 +765,7 @@ pub unsafe fn DwmIsCompositionEnabled() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DwmIsCompositionEnabled(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -790,7 +790,7 @@ pub unsafe fn DwmQueryThumbnailSourceSize(hthumbnail: isize) -> ::windows::core: extern "system" { fn DwmQueryThumbnailSourceSize(hthumbnail: isize, psize: *mut super::super::Foundation::SIZE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DwmQueryThumbnailSourceSize(hthumbnail, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -805,7 +805,7 @@ where extern "system" { fn DwmRegisterThumbnail(hwnddestination: super::super::Foundation::HWND, hwndsource: super::super::Foundation::HWND, phthumbnailid: *mut isize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DwmRegisterThumbnail(hwnddestination.into(), hwndsource.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] 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 b54a2a37c4..3590ec7087 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs @@ -3115,17 +3115,17 @@ impl IDXGIAdapter { (::windows::core::Interface::vtable(self).base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumOutputs)(::windows::core::Interface::as_raw(self), output, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckInterfaceSupport(&self, interfacename: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckInterfaceSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(interfacename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3214,23 +3214,23 @@ impl IDXGIAdapter1 { (::windows::core::Interface::vtable(self).base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumOutputs)(::windows::core::Interface::as_raw(self), output, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckInterfaceSupport(&self, interfacename: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckInterfaceSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(interfacename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3332,29 +3332,29 @@ impl IDXGIAdapter2 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumOutputs)(::windows::core::Interface::as_raw(self), output, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckInterfaceSupport(&self, interfacename: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckInterfaceSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(interfacename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3471,29 +3471,29 @@ impl IDXGIAdapter3 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumOutputs)(::windows::core::Interface::as_raw(self), output, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckInterfaceSupport(&self, interfacename: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CheckInterfaceSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(interfacename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDesc1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3502,14 +3502,14 @@ impl IDXGIAdapter3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterHardwareContentProtectionTeardownStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterHardwareContentProtectionTeardownStatus(&self, dwcookie: u32) { (::windows::core::Interface::vtable(self).UnregisterHardwareContentProtectionTeardownStatus)(::windows::core::Interface::as_raw(self), dwcookie) } pub unsafe fn QueryVideoMemoryInfo(&self, nodeindex: u32, memorysegmentgroup: DXGI_MEMORY_SEGMENT_GROUP) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryVideoMemoryInfo)(::windows::core::Interface::as_raw(self), nodeindex, memorysegmentgroup, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVideoMemoryReservation(&self, nodeindex: u32, memorysegmentgroup: DXGI_MEMORY_SEGMENT_GROUP, reservation: u64) -> ::windows::core::Result<()> { @@ -3521,7 +3521,7 @@ impl IDXGIAdapter3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterVideoMemoryBudgetChangeNotificationEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterVideoMemoryBudgetChangeNotification(&self, dwcookie: u32) { @@ -3664,29 +3664,29 @@ impl IDXGIAdapter4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EnumOutputs)(::windows::core::Interface::as_raw(self), output, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckInterfaceSupport(&self, interfacename: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CheckInterfaceSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(interfacename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDesc1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDesc2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3695,14 +3695,14 @@ impl IDXGIAdapter4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterHardwareContentProtectionTeardownStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterHardwareContentProtectionTeardownStatus(&self, dwcookie: u32) { (::windows::core::Interface::vtable(self).base__.UnregisterHardwareContentProtectionTeardownStatus)(::windows::core::Interface::as_raw(self), dwcookie) } pub unsafe fn QueryVideoMemoryInfo(&self, nodeindex: u32, memorysegmentgroup: DXGI_MEMORY_SEGMENT_GROUP) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryVideoMemoryInfo)(::windows::core::Interface::as_raw(self), nodeindex, memorysegmentgroup, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVideoMemoryReservation(&self, nodeindex: u32, memorysegmentgroup: DXGI_MEMORY_SEGMENT_GROUP, reservation: u64) -> ::windows::core::Result<()> { @@ -3714,7 +3714,7 @@ impl IDXGIAdapter4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterVideoMemoryBudgetChangeNotificationEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterVideoMemoryBudgetChangeNotification(&self, dwcookie: u32) { @@ -3723,7 +3723,7 @@ impl IDXGIAdapter4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDesc3(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc3)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3998,13 +3998,13 @@ impl IDXGIDecodeSwapChain { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTargetRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDestSize(&self, pwidth: *mut u32, pheight: *mut u32) -> ::windows::core::Result<()> { @@ -4102,7 +4102,7 @@ impl IDXGIDevice { (::windows::core::Interface::vtable(self).base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetAdapter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -4117,7 +4117,7 @@ impl IDXGIDevice { (::windows::core::Interface::vtable(self).SetGPUThreadPriority)(::windows::core::Interface::as_raw(self), priority).ok() } pub unsafe fn GetGPUThreadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGPUThreadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4208,7 +4208,7 @@ impl IDXGIDevice1 { (::windows::core::Interface::vtable(self).base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetAdapter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -4223,14 +4223,14 @@ impl IDXGIDevice1 { (::windows::core::Interface::vtable(self).base__.SetGPUThreadPriority)(::windows::core::Interface::as_raw(self), priority).ok() } pub unsafe fn GetGPUThreadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGPUThreadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumFrameLatency(&self, maxlatency: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), maxlatency).ok() } pub unsafe fn GetMaximumFrameLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4330,7 +4330,7 @@ impl IDXGIDevice2 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetAdapter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -4345,14 +4345,14 @@ impl IDXGIDevice2 { (::windows::core::Interface::vtable(self).base__.base__.SetGPUThreadPriority)(::windows::core::Interface::as_raw(self), priority).ok() } pub unsafe fn GetGPUThreadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGPUThreadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumFrameLatency(&self, maxlatency: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), maxlatency).ok() } pub unsafe fn GetMaximumFrameLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OfferResources(&self, ppresources: &[::core::option::Option], priority: DXGI_OFFER_RESOURCE_PRIORITY) -> ::windows::core::Result<()> { @@ -4361,7 +4361,7 @@ impl IDXGIDevice2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReclaimResources(&self, ppresources: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReclaimResources)(::windows::core::Interface::as_raw(self), ppresources.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppresources)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4491,7 +4491,7 @@ impl IDXGIDevice3 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetAdapter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -4506,14 +4506,14 @@ impl IDXGIDevice3 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetGPUThreadPriority)(::windows::core::Interface::as_raw(self), priority).ok() } pub unsafe fn GetGPUThreadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetGPUThreadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumFrameLatency(&self, maxlatency: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), maxlatency).ok() } pub unsafe fn GetMaximumFrameLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OfferResources(&self, ppresources: &[::core::option::Option], priority: DXGI_OFFER_RESOURCE_PRIORITY) -> ::windows::core::Result<()> { @@ -4522,7 +4522,7 @@ impl IDXGIDevice3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReclaimResources(&self, ppresources: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReclaimResources)(::windows::core::Interface::as_raw(self), ppresources.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppresources)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4662,7 +4662,7 @@ impl IDXGIDevice4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetAdapter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -4677,14 +4677,14 @@ impl IDXGIDevice4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetGPUThreadPriority)(::windows::core::Interface::as_raw(self), priority).ok() } pub unsafe fn GetGPUThreadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetGPUThreadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumFrameLatency(&self, maxlatency: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), maxlatency).ok() } pub unsafe fn GetMaximumFrameLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OfferResources(&self, ppresources: &[::core::option::Option], priority: DXGI_OFFER_RESOURCE_PRIORITY) -> ::windows::core::Result<()> { @@ -4693,7 +4693,7 @@ impl IDXGIDevice4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReclaimResources(&self, ppresources: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ReclaimResources)(::windows::core::Interface::as_raw(self), ppresources.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppresources)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4711,7 +4711,7 @@ impl IDXGIDevice4 { (::windows::core::Interface::vtable(self).OfferResources1)(::windows::core::Interface::as_raw(self), ppresources.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppresources)), priority, flags).ok() } pub unsafe fn ReclaimResources1(&self, ppresources: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReclaimResources1)(::windows::core::Interface::as_raw(self), ppresources.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppresources)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5009,7 +5009,7 @@ impl IDXGIFactory { (::windows::core::Interface::vtable(self).base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumAdapters)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5023,7 +5023,7 @@ impl IDXGIFactory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindowAssociation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindowAssociation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -5040,7 +5040,7 @@ impl IDXGIFactory { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSoftwareAdapter)(::windows::core::Interface::as_raw(self), module.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5140,7 +5140,7 @@ impl IDXGIFactory1 { (::windows::core::Interface::vtable(self).base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumAdapters)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5154,7 +5154,7 @@ impl IDXGIFactory1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindowAssociation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindowAssociation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -5171,11 +5171,11 @@ impl IDXGIFactory1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSoftwareAdapter)(::windows::core::Interface::as_raw(self), module.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumAdapters1(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumAdapters1)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5283,7 +5283,7 @@ impl IDXGIFactory2 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumAdapters)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5297,7 +5297,7 @@ impl IDXGIFactory2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindowAssociation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWindowAssociation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -5314,11 +5314,11 @@ impl IDXGIFactory2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSoftwareAdapter)(::windows::core::Interface::as_raw(self), module.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumAdapters1(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumAdapters1)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5339,7 +5339,7 @@ impl IDXGIFactory2 { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSwapChainForHwnd)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), hwnd.into(), ::core::mem::transmute(pdesc), ::core::mem::transmute(pfullscreendesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -5350,7 +5350,7 @@ impl IDXGIFactory2 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSwapChainForCoreWindow)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), pwindow.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5359,7 +5359,7 @@ impl IDXGIFactory2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSharedResourceAdapterLuid)(::windows::core::Interface::as_raw(self), hresource.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5368,7 +5368,7 @@ impl IDXGIFactory2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterStereoStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5377,7 +5377,7 @@ impl IDXGIFactory2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterStereoStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterStereoStatus(&self, dwcookie: u32) { @@ -5389,7 +5389,7 @@ impl IDXGIFactory2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterOcclusionStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5398,7 +5398,7 @@ impl IDXGIFactory2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterOcclusionStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterOcclusionStatus(&self, dwcookie: u32) { @@ -5411,7 +5411,7 @@ impl IDXGIFactory2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSwapChainForComposition)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5562,7 +5562,7 @@ impl IDXGIFactory3 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumAdapters)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5576,7 +5576,7 @@ impl IDXGIFactory3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindowAssociation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetWindowAssociation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -5593,11 +5593,11 @@ impl IDXGIFactory3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSoftwareAdapter)(::windows::core::Interface::as_raw(self), module.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumAdapters1(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumAdapters1)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5618,7 +5618,7 @@ impl IDXGIFactory3 { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSwapChainForHwnd)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), hwnd.into(), ::core::mem::transmute(pdesc), ::core::mem::transmute(pfullscreendesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -5629,7 +5629,7 @@ impl IDXGIFactory3 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSwapChainForCoreWindow)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), pwindow.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5638,7 +5638,7 @@ impl IDXGIFactory3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSharedResourceAdapterLuid)(::windows::core::Interface::as_raw(self), hresource.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5647,7 +5647,7 @@ impl IDXGIFactory3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterStereoStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5656,7 +5656,7 @@ impl IDXGIFactory3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterStereoStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterStereoStatus(&self, dwcookie: u32) { @@ -5668,7 +5668,7 @@ impl IDXGIFactory3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterOcclusionStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5677,7 +5677,7 @@ impl IDXGIFactory3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterOcclusionStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterOcclusionStatus(&self, dwcookie: u32) { @@ -5690,7 +5690,7 @@ impl IDXGIFactory3 { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSwapChainForComposition)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCreationFlags(&self) -> u32 { @@ -5822,7 +5822,7 @@ impl IDXGIFactory4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EnumAdapters)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5836,7 +5836,7 @@ impl IDXGIFactory4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindowAssociation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetWindowAssociation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -5853,11 +5853,11 @@ impl IDXGIFactory4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateSoftwareAdapter)(::windows::core::Interface::as_raw(self), module.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumAdapters1(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumAdapters1)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5878,7 +5878,7 @@ impl IDXGIFactory4 { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSwapChainForHwnd)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), hwnd.into(), ::core::mem::transmute(pdesc), ::core::mem::transmute(pfullscreendesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -5889,7 +5889,7 @@ impl IDXGIFactory4 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSwapChainForCoreWindow)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), pwindow.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5898,7 +5898,7 @@ impl IDXGIFactory4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSharedResourceAdapterLuid)(::windows::core::Interface::as_raw(self), hresource.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5907,7 +5907,7 @@ impl IDXGIFactory4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RegisterStereoStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5916,7 +5916,7 @@ impl IDXGIFactory4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RegisterStereoStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterStereoStatus(&self, dwcookie: u32) { @@ -5928,7 +5928,7 @@ impl IDXGIFactory4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RegisterOcclusionStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5937,7 +5937,7 @@ impl IDXGIFactory4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RegisterOcclusionStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterOcclusionStatus(&self, dwcookie: u32) { @@ -5950,7 +5950,7 @@ impl IDXGIFactory4 { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSwapChainForComposition)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCreationFlags(&self) -> u32 { @@ -6117,7 +6117,7 @@ impl IDXGIFactory5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.EnumAdapters)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6131,7 +6131,7 @@ impl IDXGIFactory5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindowAssociation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetWindowAssociation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -6148,11 +6148,11 @@ impl IDXGIFactory5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateSoftwareAdapter)(::windows::core::Interface::as_raw(self), module.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumAdapters1(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EnumAdapters1)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6173,7 +6173,7 @@ impl IDXGIFactory5 { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSwapChainForHwnd)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), hwnd.into(), ::core::mem::transmute(pdesc), ::core::mem::transmute(pfullscreendesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -6184,7 +6184,7 @@ impl IDXGIFactory5 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSwapChainForCoreWindow)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), pwindow.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6193,7 +6193,7 @@ impl IDXGIFactory5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetSharedResourceAdapterLuid)(::windows::core::Interface::as_raw(self), hresource.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6202,7 +6202,7 @@ impl IDXGIFactory5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RegisterStereoStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6211,7 +6211,7 @@ impl IDXGIFactory5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RegisterStereoStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterStereoStatus(&self, dwcookie: u32) { @@ -6223,7 +6223,7 @@ impl IDXGIFactory5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RegisterOcclusionStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6232,7 +6232,7 @@ impl IDXGIFactory5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RegisterOcclusionStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterOcclusionStatus(&self, dwcookie: u32) { @@ -6245,7 +6245,7 @@ impl IDXGIFactory5 { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSwapChainForComposition)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCreationFlags(&self) -> u32 { @@ -6426,7 +6426,7 @@ impl IDXGIFactory6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.EnumAdapters)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6440,7 +6440,7 @@ impl IDXGIFactory6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindowAssociation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetWindowAssociation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -6457,11 +6457,11 @@ impl IDXGIFactory6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateSoftwareAdapter)(::windows::core::Interface::as_raw(self), module.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumAdapters1(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.EnumAdapters1)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6482,7 +6482,7 @@ impl IDXGIFactory6 { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateSwapChainForHwnd)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), hwnd.into(), ::core::mem::transmute(pdesc), ::core::mem::transmute(pfullscreendesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -6493,7 +6493,7 @@ impl IDXGIFactory6 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateSwapChainForCoreWindow)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), pwindow.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6502,7 +6502,7 @@ impl IDXGIFactory6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetSharedResourceAdapterLuid)(::windows::core::Interface::as_raw(self), hresource.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6511,7 +6511,7 @@ impl IDXGIFactory6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RegisterStereoStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6520,7 +6520,7 @@ impl IDXGIFactory6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RegisterStereoStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterStereoStatus(&self, dwcookie: u32) { @@ -6532,7 +6532,7 @@ impl IDXGIFactory6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RegisterOcclusionStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6541,7 +6541,7 @@ impl IDXGIFactory6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RegisterOcclusionStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterOcclusionStatus(&self, dwcookie: u32) { @@ -6554,7 +6554,7 @@ impl IDXGIFactory6 { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateSwapChainForComposition)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCreationFlags(&self) -> u32 { @@ -6757,7 +6757,7 @@ impl IDXGIFactory7 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetParent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.EnumAdapters)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6771,7 +6771,7 @@ impl IDXGIFactory7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindowAssociation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetWindowAssociation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -6788,11 +6788,11 @@ impl IDXGIFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateSoftwareAdapter)(::windows::core::Interface::as_raw(self), module.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumAdapters1(&self, adapter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.EnumAdapters1)(::windows::core::Interface::as_raw(self), adapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6813,7 +6813,7 @@ impl IDXGIFactory7 { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateSwapChainForHwnd)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), hwnd.into(), ::core::mem::transmute(pdesc), ::core::mem::transmute(pfullscreendesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -6824,7 +6824,7 @@ impl IDXGIFactory7 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateSwapChainForCoreWindow)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), pwindow.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6833,7 +6833,7 @@ impl IDXGIFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetSharedResourceAdapterLuid)(::windows::core::Interface::as_raw(self), hresource.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6842,7 +6842,7 @@ impl IDXGIFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RegisterStereoStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6851,7 +6851,7 @@ impl IDXGIFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RegisterStereoStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterStereoStatus(&self, dwcookie: u32) { @@ -6863,7 +6863,7 @@ impl IDXGIFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RegisterOcclusionStatusWindow)(::windows::core::Interface::as_raw(self), windowhandle.into(), wmsg, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6872,7 +6872,7 @@ impl IDXGIFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RegisterOcclusionStatusEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterOcclusionStatus(&self, dwcookie: u32) { @@ -6885,7 +6885,7 @@ impl IDXGIFactory7 { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateSwapChainForComposition)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCreationFlags(&self) -> u32 { @@ -6923,7 +6923,7 @@ impl IDXGIFactory7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterAdaptersChangedEvent)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterAdaptersChangedEvent(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -7107,7 +7107,7 @@ impl IDXGIFactoryMedia { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSwapChainForCompositionSurfaceHandle)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), hsurface.into(), ::core::mem::transmute(pdesc), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7119,7 +7119,7 @@ impl IDXGIFactoryMedia { P2: ::std::convert::Into<::windows::core::InParam<'a, IDXGIResource>>, P3: ::std::convert::Into<::windows::core::InParam<'a, IDXGIOutput>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDecodeSwapChainForCompositionSurfaceHandle)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), hsurface.into(), ::core::mem::transmute(pdesc), pyuvdecodebuffers.into().abi(), prestricttooutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7625,7 +7625,7 @@ impl IDXGIOutput { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -7659,7 +7659,7 @@ impl IDXGIOutput { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetGammaControlCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGammaControlCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -7670,7 +7670,7 @@ impl IDXGIOutput { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetGammaControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGammaControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplaySurface<'a, P0>(&self, pscanoutsurface: P0) -> ::windows::core::Result<()> @@ -7686,7 +7686,7 @@ impl IDXGIOutput { (::windows::core::Interface::vtable(self).GetDisplaySurfaceData)(::windows::core::Interface::as_raw(self), pdestination.into().abi()).ok() } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7804,7 +7804,7 @@ impl IDXGIOutput1 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -7838,7 +7838,7 @@ impl IDXGIOutput1 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetGammaControlCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGammaControlCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -7849,7 +7849,7 @@ impl IDXGIOutput1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetGammaControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGammaControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplaySurface<'a, P0>(&self, pscanoutsurface: P0) -> ::windows::core::Result<()> @@ -7865,7 +7865,7 @@ impl IDXGIOutput1 { (::windows::core::Interface::vtable(self).base__.GetDisplaySurfaceData)(::windows::core::Interface::as_raw(self), pdestination.into().abi()).ok() } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -7891,7 +7891,7 @@ impl IDXGIOutput1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DuplicateOutput)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8001,7 +8001,7 @@ impl IDXGIOutput2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8035,7 +8035,7 @@ impl IDXGIOutput2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetGammaControlCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGammaControlCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8046,7 +8046,7 @@ impl IDXGIOutput2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetGammaControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGammaControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplaySurface<'a, P0>(&self, pscanoutsurface: P0) -> ::windows::core::Result<()> @@ -8062,7 +8062,7 @@ impl IDXGIOutput2 { (::windows::core::Interface::vtable(self).base__.base__.GetDisplaySurfaceData)(::windows::core::Interface::as_raw(self), pdestination.into().abi()).ok() } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8088,7 +8088,7 @@ impl IDXGIOutput2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DuplicateOutput)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8212,7 +8212,7 @@ impl IDXGIOutput3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8246,7 +8246,7 @@ impl IDXGIOutput3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetGammaControlCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetGammaControlCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8257,7 +8257,7 @@ impl IDXGIOutput3 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetGammaControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetGammaControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplaySurface<'a, P0>(&self, pscanoutsurface: P0) -> ::windows::core::Result<()> @@ -8273,7 +8273,7 @@ impl IDXGIOutput3 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetDisplaySurfaceData)(::windows::core::Interface::as_raw(self), pdestination.into().abi()).ok() } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8299,7 +8299,7 @@ impl IDXGIOutput3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DuplicateOutput)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8313,7 +8313,7 @@ impl IDXGIOutput3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckOverlaySupport)(::windows::core::Interface::as_raw(self), enumformat, pconcerneddevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8447,7 +8447,7 @@ impl IDXGIOutput4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8481,7 +8481,7 @@ impl IDXGIOutput4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetGammaControlCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetGammaControlCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8492,7 +8492,7 @@ impl IDXGIOutput4 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetGammaControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetGammaControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplaySurface<'a, P0>(&self, pscanoutsurface: P0) -> ::windows::core::Result<()> @@ -8508,7 +8508,7 @@ impl IDXGIOutput4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDisplaySurfaceData)(::windows::core::Interface::as_raw(self), pdestination.into().abi()).ok() } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8534,7 +8534,7 @@ impl IDXGIOutput4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DuplicateOutput)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8548,7 +8548,7 @@ impl IDXGIOutput4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckOverlaySupport)(::windows::core::Interface::as_raw(self), enumformat, pconcerneddevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8557,7 +8557,7 @@ impl IDXGIOutput4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckOverlayColorSpaceSupport)(::windows::core::Interface::as_raw(self), format, colorspace, pconcerneddevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8706,7 +8706,7 @@ impl IDXGIOutput5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8740,7 +8740,7 @@ impl IDXGIOutput5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetGammaControlCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetGammaControlCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8751,7 +8751,7 @@ impl IDXGIOutput5 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetGammaControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetGammaControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplaySurface<'a, P0>(&self, pscanoutsurface: P0) -> ::windows::core::Result<()> @@ -8767,7 +8767,7 @@ impl IDXGIOutput5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDisplaySurfaceData)(::windows::core::Interface::as_raw(self), pdestination.into().abi()).ok() } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8793,7 +8793,7 @@ impl IDXGIOutput5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DuplicateOutput)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8807,7 +8807,7 @@ impl IDXGIOutput5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckOverlaySupport)(::windows::core::Interface::as_raw(self), enumformat, pconcerneddevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8816,7 +8816,7 @@ impl IDXGIOutput5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckOverlayColorSpaceSupport)(::windows::core::Interface::as_raw(self), format, colorspace, pconcerneddevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -8825,7 +8825,7 @@ impl IDXGIOutput5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DuplicateOutput1)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), flags, psupportedformats.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psupportedformats)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8989,7 +8989,7 @@ impl IDXGIOutput6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -9023,7 +9023,7 @@ impl IDXGIOutput6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetGammaControlCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetGammaControlCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -9034,7 +9034,7 @@ impl IDXGIOutput6 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetGammaControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetGammaControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplaySurface<'a, P0>(&self, pscanoutsurface: P0) -> ::windows::core::Result<()> @@ -9050,7 +9050,7 @@ impl IDXGIOutput6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetDisplaySurfaceData)(::windows::core::Interface::as_raw(self), pdestination.into().abi()).ok() } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -9076,7 +9076,7 @@ impl IDXGIOutput6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.DuplicateOutput)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9090,7 +9090,7 @@ impl IDXGIOutput6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CheckOverlaySupport)(::windows::core::Interface::as_raw(self), enumformat, pconcerneddevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -9099,7 +9099,7 @@ impl IDXGIOutput6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckOverlayColorSpaceSupport)(::windows::core::Interface::as_raw(self), format, colorspace, pconcerneddevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -9108,17 +9108,17 @@ impl IDXGIOutput6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DuplicateOutput1)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), flags, psupportedformats.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(psupportedformats)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDesc1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckHardwareCompositionSupport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckHardwareCompositionSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9321,7 +9321,7 @@ impl IDXGIOutputDuplication { (::windows::core::Interface::vtable(self).GetFramePointerShape)(::windows::core::Interface::as_raw(self), pointershapebuffersize, ::core::mem::transmute(ppointershapebuffer), ::core::mem::transmute(ppointershapebuffersizerequired), ::core::mem::transmute(ppointershapeinfo)).ok() } pub unsafe fn MapDesktopSurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapDesktopSurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnMapDesktopSurface(&self) -> ::windows::core::Result<()> { @@ -9442,18 +9442,18 @@ impl IDXGIResource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSharedHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSharedHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEvictionPriority(&self, evictionpriority: DXGI_RESOURCE_PRIORITY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEvictionPriority)(::windows::core::Interface::as_raw(self), evictionpriority).ok() } pub unsafe fn GetEvictionPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEvictionPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9567,22 +9567,22 @@ impl IDXGIResource1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSharedHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSharedHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEvictionPriority(&self, evictionpriority: DXGI_RESOURCE_PRIORITY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetEvictionPriority)(::windows::core::Interface::as_raw(self), evictionpriority).ok() } pub unsafe fn GetEvictionPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEvictionPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSubresourceSurface(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSubresourceSurface)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -9591,7 +9591,7 @@ impl IDXGIResource1 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSharedHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pattributes), dwaccess, lpname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9718,7 +9718,7 @@ impl IDXGISurface { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Map(&self, plockedrect: *mut DXGI_MAPPED_RECT, mapflags: u32) -> ::windows::core::Result<()> { @@ -9837,7 +9837,7 @@ impl IDXGISurface1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Map(&self, plockedrect: *mut DXGI_MAPPED_RECT, mapflags: u32) -> ::windows::core::Result<()> { @@ -9852,7 +9852,7 @@ impl IDXGISurface1 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDC)(::windows::core::Interface::as_raw(self), discard.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9987,7 +9987,7 @@ impl IDXGISurface2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Map(&self, plockedrect: *mut DXGI_MAPPED_RECT, mapflags: u32) -> ::windows::core::Result<()> { @@ -10002,7 +10002,7 @@ impl IDXGISurface2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDC)(::windows::core::Interface::as_raw(self), discard.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10176,7 +10176,7 @@ impl IDXGISwapChain { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -10190,15 +10190,15 @@ impl IDXGISwapChain { (::windows::core::Interface::vtable(self).ResizeTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnewtargetparameters)).ok() } pub unsafe fn GetContainingOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainingOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastPresentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastPresentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10354,7 +10354,7 @@ impl IDXGISwapChain1 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -10368,33 +10368,33 @@ impl IDXGISwapChain1 { (::windows::core::Interface::vtable(self).base__.ResizeTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnewtargetparameters)).ok() } pub unsafe fn GetContainingOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainingOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastPresentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLastPresentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetDesc1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetFullscreenDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFullscreenDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCoreWindow(&self) -> ::windows::core::Result @@ -10415,14 +10415,14 @@ impl IDXGISwapChain1 { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsTemporaryMonoSupported)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetRestrictToOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestrictToOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackgroundColor(&self, pcolor: *const DXGI_RGBA) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcolor)).ok() } pub unsafe fn GetBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -10433,7 +10433,7 @@ impl IDXGISwapChain1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetRotation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRotation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10611,7 +10611,7 @@ impl IDXGISwapChain2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -10625,33 +10625,33 @@ impl IDXGISwapChain2 { (::windows::core::Interface::vtable(self).base__.base__.ResizeTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnewtargetparameters)).ok() } pub unsafe fn GetContainingOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetContainingOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastPresentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLastPresentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetDesc1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDesc1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetFullscreenDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFullscreenDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCoreWindow(&self) -> ::windows::core::Result @@ -10672,14 +10672,14 @@ impl IDXGISwapChain2 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.IsTemporaryMonoSupported)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetRestrictToOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRestrictToOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackgroundColor(&self, pcolor: *const DXGI_RGBA) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcolor)).ok() } pub unsafe fn GetBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -10690,7 +10690,7 @@ impl IDXGISwapChain2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetRotation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRotation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceSize(&self, width: u32, height: u32) -> ::windows::core::Result<()> { @@ -10703,7 +10703,7 @@ impl IDXGISwapChain2 { (::windows::core::Interface::vtable(self).SetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), maxlatency).ok() } pub unsafe fn GetMaximumFrameLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10715,7 +10715,7 @@ impl IDXGISwapChain2 { (::windows::core::Interface::vtable(self).SetMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmatrix)).ok() } pub unsafe fn GetMatrixTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10886,7 +10886,7 @@ impl IDXGISwapChain3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -10900,33 +10900,33 @@ impl IDXGISwapChain3 { (::windows::core::Interface::vtable(self).base__.base__.base__.ResizeTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnewtargetparameters)).ok() } pub unsafe fn GetContainingOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetContainingOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastPresentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetLastPresentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetDesc1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDesc1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetFullscreenDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFullscreenDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetHwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCoreWindow(&self) -> ::windows::core::Result @@ -10947,14 +10947,14 @@ impl IDXGISwapChain3 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.IsTemporaryMonoSupported)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetRestrictToOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRestrictToOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackgroundColor(&self, pcolor: *const DXGI_RGBA) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcolor)).ok() } pub unsafe fn GetBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -10965,7 +10965,7 @@ impl IDXGISwapChain3 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetRotation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRotation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceSize(&self, width: u32, height: u32) -> ::windows::core::Result<()> { @@ -10978,7 +10978,7 @@ impl IDXGISwapChain3 { (::windows::core::Interface::vtable(self).base__.SetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), maxlatency).ok() } pub unsafe fn GetMaximumFrameLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10990,7 +10990,7 @@ impl IDXGISwapChain3 { (::windows::core::Interface::vtable(self).base__.SetMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmatrix)).ok() } pub unsafe fn GetMatrixTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentBackBufferIndex(&self) -> u32 { @@ -10999,7 +10999,7 @@ impl IDXGISwapChain3 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckColorSpaceSupport(&self, colorspace: Common::DXGI_COLOR_SPACE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckColorSpaceSupport)(::windows::core::Interface::as_raw(self), colorspace, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -11198,7 +11198,7 @@ impl IDXGISwapChain4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -11212,33 +11212,33 @@ impl IDXGISwapChain4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ResizeTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnewtargetparameters)).ok() } pub unsafe fn GetContainingOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetContainingOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetFrameStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastPresentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetLastPresentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetDesc1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDesc1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn GetFullscreenDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFullscreenDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetHwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCoreWindow(&self) -> ::windows::core::Result @@ -11259,14 +11259,14 @@ impl IDXGISwapChain4 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.base__.IsTemporaryMonoSupported)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetRestrictToOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetRestrictToOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackgroundColor(&self, pcolor: *const DXGI_RGBA) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcolor)).ok() } pub unsafe fn GetBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -11277,7 +11277,7 @@ impl IDXGISwapChain4 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetRotation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetRotation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceSize(&self, width: u32, height: u32) -> ::windows::core::Result<()> { @@ -11290,7 +11290,7 @@ impl IDXGISwapChain4 { (::windows::core::Interface::vtable(self).base__.base__.SetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), maxlatency).ok() } pub unsafe fn GetMaximumFrameLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMaximumFrameLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11302,7 +11302,7 @@ impl IDXGISwapChain4 { (::windows::core::Interface::vtable(self).base__.base__.SetMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmatrix)).ok() } pub unsafe fn GetMatrixTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentBackBufferIndex(&self) -> u32 { @@ -11311,7 +11311,7 @@ impl IDXGISwapChain4 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckColorSpaceSupport(&self, colorspace: Common::DXGI_COLOR_SPACE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckColorSpaceSupport)(::windows::core::Interface::as_raw(self), colorspace, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -11464,7 +11464,7 @@ pub struct IDXGISwapChain4_Vtbl { pub struct IDXGISwapChainMedia(::windows::core::IUnknown); impl IDXGISwapChainMedia { pub unsafe fn GetFrameStatisticsMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameStatisticsMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPresentDuration(&self, duration: u32) -> ::windows::core::Result<()> { 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 016ec9cdf8..f85b5fda62 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 @@ -90,7 +90,7 @@ impl IWICImagingFactory2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDecoderFromFilename)(::windows::core::Interface::as_raw(self), wzfilename.into(), ::core::mem::transmute(pguidvendor), dwdesiredaccess, metadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -99,79 +99,79 @@ impl IWICImagingFactory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDecoderFromStream)(::windows::core::Interface::as_raw(self), pistream.into().abi(), ::core::mem::transmute(pguidvendor), metadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDecoderFromFileHandle(&self, hfile: usize, pguidvendor: *const ::windows::core::GUID, metadataoptions: super::WICDecodeOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDecoderFromFileHandle)(::windows::core::Interface::as_raw(self), hfile, ::core::mem::transmute(pguidvendor), metadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComponentInfo(&self, clsidcomponent: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateComponentInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsidcomponent), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDecoder(&self, guidcontainerformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDecoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidcontainerformat), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEncoder(&self, guidcontainerformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEncoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidcontainerformat), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFormatConverter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFormatConverter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapScaler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapScaler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapClipper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapClipper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFlipRotator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFlipRotator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorTransformer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorTransformer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmap(&self, uiwidth: u32, uiheight: u32, pixelformat: *const ::windows::core::GUID, option: super::WICBitmapCreateCacheOption) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmap)(::windows::core::Interface::as_raw(self), uiwidth, uiheight, ::core::mem::transmute(pixelformat), option, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFromSource<'a, P0>(&self, pibitmapsource: P0, option: super::WICBitmapCreateCacheOption) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, super::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromSource)(::windows::core::Interface::as_raw(self), pibitmapsource.into().abi(), option, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFromSourceRect<'a, P0>(&self, pibitmapsource: P0, x: u32, y: u32, width: u32, height: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, super::IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromSourceRect)(::windows::core::Interface::as_raw(self), pibitmapsource.into().abi(), x, y, width, height, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFromMemory(&self, uiwidth: u32, uiheight: u32, pixelformat: *const ::windows::core::GUID, cbstride: u32, pbbuffer: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromMemory)(::windows::core::Interface::as_raw(self), uiwidth, uiheight, ::core::mem::transmute(pixelformat), cbstride, pbbuffer.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbbuffer)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -181,7 +181,7 @@ impl IWICImagingFactory2 { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromHBITMAP)(::windows::core::Interface::as_raw(self), hbitmap.into(), hpalette.into(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -190,38 +190,38 @@ impl IWICImagingFactory2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromHICON)(::windows::core::Interface::as_raw(self), hicon.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateComponentEnumerator(&self, componenttypes: u32, options: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateComponentEnumerator)(::windows::core::Interface::as_raw(self), componenttypes, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFastMetadataEncoderFromDecoder<'a, P0>(&self, pidecoder: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, super::IWICBitmapDecoder>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFastMetadataEncoderFromDecoder)(::windows::core::Interface::as_raw(self), pidecoder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFastMetadataEncoderFromFrameDecode<'a, P0>(&self, piframedecoder: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, super::IWICBitmapFrameDecode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFastMetadataEncoderFromFrameDecode)(::windows::core::Interface::as_raw(self), piframedecoder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQueryWriter(&self, guidmetadataformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQueryWriter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidmetadataformat), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQueryWriterFromReader<'a, P0>(&self, piqueryreader: P0, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, super::IWICMetadataQueryReader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQueryWriterFromReader)(::windows::core::Interface::as_raw(self), piqueryreader.into().abi(), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] @@ -230,7 +230,7 @@ impl IWICImagingFactory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Direct2D::ID2D1Device>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateImageEncoder)(::windows::core::Interface::as_raw(self), pd2ddevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 7b3b890994..118d956658 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -275,7 +275,7 @@ impl IWICBitmap { (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -291,7 +291,7 @@ impl IWICBitmap { (::windows::core::Interface::vtable(self).base__.CopyPixels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prc), cbstride, pbbuffer.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pbbuffer))).ok() } pub unsafe fn Lock(&self, prclock: *const WICRect, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Lock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prclock), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPalette<'a, P0>(&self, pipalette: P0) -> ::windows::core::Result<()> @@ -370,7 +370,7 @@ impl IWICBitmapClipper { (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -453,22 +453,22 @@ pub struct IWICBitmapClipper_Vtbl { pub struct IWICBitmapCodecInfo(::windows::core::IUnknown); impl IWICBitmapCodecInfo { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -481,7 +481,7 @@ impl IWICBitmapCodecInfo { (::windows::core::Interface::vtable(self).base__.GetFriendlyName)(::windows::core::Interface::as_raw(self), wzfriendlyname.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzfriendlyname)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainerFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetPixelFormats(&self, pguidpixelformats: &mut [::windows::core::GUID], pcactual: *mut u32) -> ::windows::core::Result<()> { @@ -505,25 +505,25 @@ impl IWICBitmapCodecInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesSupportAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportChromakey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesSupportChromakey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportLossless(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesSupportLossless)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportMultiframe(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesSupportMultiframe)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -532,7 +532,7 @@ impl IWICBitmapCodecInfo { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MatchesMimeType)(::windows::core::Interface::as_raw(self), wzmimetype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -677,7 +677,7 @@ impl IWICBitmapDecoder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryCapability)(::windows::core::Interface::as_raw(self), pistream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -689,11 +689,11 @@ impl IWICBitmapDecoder { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pistream.into().abi(), cacheoptions).ok() } pub unsafe fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainerFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetDecoderInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDecoderInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyPalette<'a, P0>(&self, pipalette: P0) -> ::windows::core::Result<()> @@ -703,26 +703,26 @@ impl IWICBitmapDecoder { (::windows::core::Interface::vtable(self).CopyPalette)(::windows::core::Interface::as_raw(self), pipalette.into().abi()).ok() } pub unsafe fn GetMetadataQueryReader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataQueryReader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreview(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreview)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorContexts(&self, ppicolorcontexts: &mut [::core::option::Option], pcactualcount: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetColorContexts)(::windows::core::Interface::as_raw(self), ppicolorcontexts.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ppicolorcontexts)), ::core::mem::transmute(pcactualcount)).ok() } pub unsafe fn GetThumbnail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThumbnail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrame(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrame)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -788,22 +788,22 @@ pub struct IWICBitmapDecoder_Vtbl { pub struct IWICBitmapDecoderInfo(::windows::core::IUnknown); impl IWICBitmapDecoderInfo { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -816,7 +816,7 @@ impl IWICBitmapDecoderInfo { (::windows::core::Interface::vtable(self).base__.base__.GetFriendlyName)(::windows::core::Interface::as_raw(self), wzfriendlyname.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzfriendlyname)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainerFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetPixelFormats(&self, pguidpixelformats: &mut [::windows::core::GUID], pcactual: *mut u32) -> ::windows::core::Result<()> { @@ -840,25 +840,25 @@ impl IWICBitmapDecoderInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportChromakey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportChromakey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportLossless(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportLossless)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportMultiframe(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportMultiframe)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -867,7 +867,7 @@ impl IWICBitmapDecoderInfo { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MatchesMimeType)(::windows::core::Interface::as_raw(self), wzmimetype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -881,11 +881,11 @@ impl IWICBitmapDecoderInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MatchesPattern)(::windows::core::Interface::as_raw(self), pistream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -981,11 +981,11 @@ impl IWICBitmapEncoder { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pistream.into().abi(), cacheoption).ok() } pub unsafe fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainerFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetEncoderInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEncoderInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColorContexts(&self, ppicolorcontext: &[::core::option::Option]) -> ::windows::core::Result<()> { @@ -1018,7 +1018,7 @@ impl IWICBitmapEncoder { (::windows::core::Interface::vtable(self).Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetMetadataQueryWriter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataQueryWriter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1083,22 +1083,22 @@ pub struct IWICBitmapEncoder_Vtbl { pub struct IWICBitmapEncoderInfo(::windows::core::IUnknown); impl IWICBitmapEncoderInfo { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -1111,7 +1111,7 @@ impl IWICBitmapEncoderInfo { (::windows::core::Interface::vtable(self).base__.base__.GetFriendlyName)(::windows::core::Interface::as_raw(self), wzfriendlyname.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzfriendlyname)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainerFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetPixelFormats(&self, pguidpixelformats: &mut [::windows::core::GUID], pcactual: *mut u32) -> ::windows::core::Result<()> { @@ -1135,25 +1135,25 @@ impl IWICBitmapEncoderInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportChromakey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportChromakey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportLossless(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportLossless)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportMultiframe(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportMultiframe)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1162,11 +1162,11 @@ impl IWICBitmapEncoderInfo { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MatchesMimeType)(::windows::core::Interface::as_raw(self), wzmimetype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1249,7 +1249,7 @@ impl IWICBitmapFlipRotator { (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -1335,7 +1335,7 @@ impl IWICBitmapFrameDecode { (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -1351,14 +1351,14 @@ impl IWICBitmapFrameDecode { (::windows::core::Interface::vtable(self).base__.CopyPixels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prc), cbstride, pbbuffer.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pbbuffer))).ok() } pub unsafe fn GetMetadataQueryReader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataQueryReader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorContexts(&self, ppicolorcontexts: &mut [::core::option::Option], pcactualcount: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetColorContexts)(::windows::core::Interface::as_raw(self), ppicolorcontexts.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ppicolorcontexts)), ::core::mem::transmute(pcactualcount)).ok() } pub unsafe fn GetThumbnail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThumbnail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1469,7 +1469,7 @@ impl IWICBitmapFrameEncode { (::windows::core::Interface::vtable(self).Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetMetadataQueryWriter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataQueryWriter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1535,14 +1535,14 @@ impl IWICBitmapLock { (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetStride(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStride)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataPointer(&self, pcbbuffersize: *mut u32, ppbdata: *mut *mut u8) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetDataPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcbbuffersize), ::core::mem::transmute(ppbdata)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -1598,7 +1598,7 @@ impl IWICBitmapScaler { (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -1684,7 +1684,7 @@ impl IWICBitmapSource { (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -1761,7 +1761,7 @@ impl IWICBitmapSourceTransform { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportTransform(&self, dsttransform: WICBitmapTransformOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesSupportTransform)(::windows::core::Interface::as_raw(self), dsttransform, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1829,14 +1829,14 @@ impl IWICColorContext { (::windows::core::Interface::vtable(self).InitializeFromExifColorSpace)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProfileBytes(&self, pbbuffer: &mut [u8], pcbactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetProfileBytes)(::windows::core::Interface::as_raw(self), pbbuffer.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pbbuffer)), ::core::mem::transmute(pcbactual)).ok() } pub unsafe fn GetExifColorSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExifColorSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1894,7 +1894,7 @@ impl IWICColorTransform { (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -1982,7 +1982,7 @@ impl IWICComponentFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDecoderFromFilename)(::windows::core::Interface::as_raw(self), wzfilename.into(), ::core::mem::transmute(pguidvendor), dwdesiredaccess, metadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1991,79 +1991,79 @@ impl IWICComponentFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDecoderFromStream)(::windows::core::Interface::as_raw(self), pistream.into().abi(), ::core::mem::transmute(pguidvendor), metadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDecoderFromFileHandle(&self, hfile: usize, pguidvendor: *const ::windows::core::GUID, metadataoptions: WICDecodeOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDecoderFromFileHandle)(::windows::core::Interface::as_raw(self), hfile, ::core::mem::transmute(pguidvendor), metadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComponentInfo(&self, clsidcomponent: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateComponentInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsidcomponent), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDecoder(&self, guidcontainerformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDecoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidcontainerformat), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEncoder(&self, guidcontainerformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEncoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidcontainerformat), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFormatConverter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFormatConverter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapScaler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapScaler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapClipper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapClipper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFlipRotator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFlipRotator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorTransformer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorTransformer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmap(&self, uiwidth: u32, uiheight: u32, pixelformat: *const ::windows::core::GUID, option: WICBitmapCreateCacheOption) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmap)(::windows::core::Interface::as_raw(self), uiwidth, uiheight, ::core::mem::transmute(pixelformat), option, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFromSource<'a, P0>(&self, pibitmapsource: P0, option: WICBitmapCreateCacheOption) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromSource)(::windows::core::Interface::as_raw(self), pibitmapsource.into().abi(), option, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFromSourceRect<'a, P0>(&self, pibitmapsource: P0, x: u32, y: u32, width: u32, height: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromSourceRect)(::windows::core::Interface::as_raw(self), pibitmapsource.into().abi(), x, y, width, height, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFromMemory(&self, uiwidth: u32, uiheight: u32, pixelformat: *const ::windows::core::GUID, cbstride: u32, pbbuffer: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromMemory)(::windows::core::Interface::as_raw(self), uiwidth, uiheight, ::core::mem::transmute(pixelformat), cbstride, pbbuffer.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbbuffer)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2073,7 +2073,7 @@ impl IWICComponentFactory { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromHBITMAP)(::windows::core::Interface::as_raw(self), hbitmap.into(), hpalette.into(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2082,38 +2082,38 @@ impl IWICComponentFactory { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateBitmapFromHICON)(::windows::core::Interface::as_raw(self), hicon.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateComponentEnumerator(&self, componenttypes: u32, options: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateComponentEnumerator)(::windows::core::Interface::as_raw(self), componenttypes, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFastMetadataEncoderFromDecoder<'a, P0>(&self, pidecoder: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICBitmapDecoder>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFastMetadataEncoderFromDecoder)(::windows::core::Interface::as_raw(self), pidecoder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFastMetadataEncoderFromFrameDecode<'a, P0>(&self, piframedecoder: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICBitmapFrameDecode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFastMetadataEncoderFromFrameDecode)(::windows::core::Interface::as_raw(self), piframedecoder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQueryWriter(&self, guidmetadataformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQueryWriter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidmetadataformat), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQueryWriterFromReader<'a, P0>(&self, piqueryreader: P0, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICMetadataQueryReader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQueryWriterFromReader)(::windows::core::Interface::as_raw(self), piqueryreader.into().abi(), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2122,7 +2122,7 @@ impl IWICComponentFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMetadataReader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidmetadataformat), ::core::mem::transmute(pguidvendor), dwoptions, pistream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2131,38 +2131,38 @@ impl IWICComponentFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMetadataReaderFromContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidcontainerformat), ::core::mem::transmute(pguidvendor), dwoptions, pistream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMetadataWriter(&self, guidmetadataformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID, dwmetadataoptions: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMetadataWriter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidmetadataformat), ::core::mem::transmute(pguidvendor), dwmetadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMetadataWriterFromReader<'a, P0>(&self, pireader: P0, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICMetadataReader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMetadataWriterFromReader)(::windows::core::Interface::as_raw(self), pireader.into().abi(), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQueryReaderFromBlockReader<'a, P0>(&self, piblockreader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICMetadataBlockReader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQueryReaderFromBlockReader)(::windows::core::Interface::as_raw(self), piblockreader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQueryWriterFromBlockWriter<'a, P0>(&self, piblockwriter: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICMetadataBlockWriter>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQueryWriterFromBlockWriter)(::windows::core::Interface::as_raw(self), piblockwriter.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn CreateEncoderPropertyBag(&self, ppropoptions: &[super::super::System::Com::StructuredStorage::PROPBAG2]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEncoderPropertyBag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(ppropoptions)), ppropoptions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2242,22 +2242,22 @@ pub struct IWICComponentFactory_Vtbl { pub struct IWICComponentInfo(::windows::core::IUnknown); impl IWICComponentInfo { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -2325,11 +2325,11 @@ impl IWICDdsDecoder { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrame(&self, arrayindex: u32, miplevel: u32, sliceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrame)(::windows::core::Interface::as_raw(self), arrayindex, miplevel, sliceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2390,7 +2390,7 @@ impl IWICDdsEncoder { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateNewFrame(&self, ppiframeencode: *mut ::core::option::Option, parrayindex: *mut u32, pmiplevel: *mut u32, psliceindex: *mut u32) -> ::windows::core::Result<()> { @@ -2456,7 +2456,7 @@ impl IWICDdsFrameDecode { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetFormatInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormatInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyBlocks(&self, prcboundsinblocks: *const WICRect, cbstride: u32, pbbuffer: &mut [u8]) -> ::windows::core::Result<()> { @@ -2517,7 +2517,7 @@ impl IWICDevelopRaw { (::windows::core::Interface::vtable(self).base__.base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -2533,14 +2533,14 @@ impl IWICDevelopRaw { (::windows::core::Interface::vtable(self).base__.base__.CopyPixels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prc), cbstride, pbbuffer.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pbbuffer))).ok() } pub unsafe fn GetMetadataQueryReader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMetadataQueryReader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorContexts(&self, ppicolorcontexts: &mut [::core::option::Option], pcactualcount: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetColorContexts)(::windows::core::Interface::as_raw(self), ppicolorcontexts.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ppicolorcontexts)), ::core::mem::transmute(pcactualcount)).ok() } pub unsafe fn GetThumbnail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetThumbnail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryRawCapabilitiesInfo(&self, pinfo: *mut WICRawCapabilitiesInfo) -> ::windows::core::Result<()> { @@ -2552,14 +2552,14 @@ impl IWICDevelopRaw { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetCurrentParameterSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentParameterSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExposureCompensation(&self, ev: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExposureCompensation)(::windows::core::Interface::as_raw(self), ev).ok() } pub unsafe fn GetExposureCompensation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExposureCompensation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWhitePointRGB(&self, red: u32, green: u32, blue: u32) -> ::windows::core::Result<()> { @@ -2572,14 +2572,14 @@ impl IWICDevelopRaw { (::windows::core::Interface::vtable(self).SetNamedWhitePoint)(::windows::core::Interface::as_raw(self), whitepoint).ok() } pub unsafe fn GetNamedWhitePoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamedWhitePoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWhitePointKelvin(&self, whitepointkelvin: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWhitePointKelvin)(::windows::core::Interface::as_raw(self), whitepointkelvin).ok() } pub unsafe fn GetWhitePointKelvin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWhitePointKelvin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKelvinRangeInfo(&self, pminkelvintemp: *mut u32, pmaxkelvintemp: *mut u32, pkelvintempstepvalue: *mut u32) -> ::windows::core::Result<()> { @@ -2589,42 +2589,42 @@ impl IWICDevelopRaw { (::windows::core::Interface::vtable(self).SetContrast)(::windows::core::Interface::as_raw(self), contrast).ok() } pub unsafe fn GetContrast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContrast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGamma(&self, gamma: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGamma)(::windows::core::Interface::as_raw(self), gamma).ok() } pub unsafe fn GetGamma(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGamma)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSharpness(&self, sharpness: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSharpness)(::windows::core::Interface::as_raw(self), sharpness).ok() } pub unsafe fn GetSharpness(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSharpness)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSaturation(&self, saturation: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSaturation)(::windows::core::Interface::as_raw(self), saturation).ok() } pub unsafe fn GetSaturation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSaturation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTint(&self, tint: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTint)(::windows::core::Interface::as_raw(self), tint).ok() } pub unsafe fn GetTint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNoiseReduction(&self, noisereduction: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNoiseReduction)(::windows::core::Interface::as_raw(self), noisereduction).ok() } pub unsafe fn GetNoiseReduction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNoiseReduction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDestinationColorContext<'a, P0>(&self, pcolorcontext: P0) -> ::windows::core::Result<()> @@ -2643,14 +2643,14 @@ impl IWICDevelopRaw { (::windows::core::Interface::vtable(self).SetRotation)(::windows::core::Interface::as_raw(self), rotation).ok() } pub unsafe fn GetRotation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRotation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRenderMode(&self, rendermode: WICRawRenderMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRenderMode)(::windows::core::Interface::as_raw(self), rendermode).ok() } pub unsafe fn GetRenderMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenderMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotificationCallback<'a, P0>(&self, pcallback: P0) -> ::windows::core::Result<()> @@ -2830,7 +2830,7 @@ impl IWICEnumMetadataItem { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2889,7 +2889,7 @@ impl IWICFastMetadataEncoder { (::windows::core::Interface::vtable(self).Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetMetadataQueryWriter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataQueryWriter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2943,7 +2943,7 @@ impl IWICFormatConverter { (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -2968,7 +2968,7 @@ impl IWICFormatConverter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanConvert(&self, srcpixelformat: *const ::windows::core::GUID, dstpixelformat: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanConvert)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(srcpixelformat), ::core::mem::transmute(dstpixelformat), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3037,22 +3037,22 @@ pub struct IWICFormatConverter_Vtbl { pub struct IWICFormatConverterInfo(::windows::core::IUnknown); impl IWICFormatConverterInfo { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -3068,7 +3068,7 @@ impl IWICFormatConverterInfo { (::windows::core::Interface::vtable(self).GetPixelFormats)(::windows::core::Interface::as_raw(self), ppixelformatguids.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ppixelformatguids)), ::core::mem::transmute(pcactual)).ok() } pub unsafe fn CreateInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3137,7 +3137,7 @@ impl IWICImagingFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDecoderFromFilename)(::windows::core::Interface::as_raw(self), wzfilename.into(), ::core::mem::transmute(pguidvendor), dwdesiredaccess, metadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3146,79 +3146,79 @@ impl IWICImagingFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDecoderFromStream)(::windows::core::Interface::as_raw(self), pistream.into().abi(), ::core::mem::transmute(pguidvendor), metadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDecoderFromFileHandle(&self, hfile: usize, pguidvendor: *const ::windows::core::GUID, metadataoptions: WICDecodeOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDecoderFromFileHandle)(::windows::core::Interface::as_raw(self), hfile, ::core::mem::transmute(pguidvendor), metadataoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComponentInfo(&self, clsidcomponent: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateComponentInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsidcomponent), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDecoder(&self, guidcontainerformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDecoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidcontainerformat), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEncoder(&self, guidcontainerformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEncoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidcontainerformat), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFormatConverter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFormatConverter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapScaler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapScaler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapClipper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapClipper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFlipRotator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFlipRotator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateColorTransformer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorTransformer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmap(&self, uiwidth: u32, uiheight: u32, pixelformat: *const ::windows::core::GUID, option: WICBitmapCreateCacheOption) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmap)(::windows::core::Interface::as_raw(self), uiwidth, uiheight, ::core::mem::transmute(pixelformat), option, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFromSource<'a, P0>(&self, pibitmapsource: P0, option: WICBitmapCreateCacheOption) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFromSource)(::windows::core::Interface::as_raw(self), pibitmapsource.into().abi(), option, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFromSourceRect<'a, P0>(&self, pibitmapsource: P0, x: u32, y: u32, width: u32, height: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICBitmapSource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFromSourceRect)(::windows::core::Interface::as_raw(self), pibitmapsource.into().abi(), x, y, width, height, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBitmapFromMemory(&self, uiwidth: u32, uiheight: u32, pixelformat: *const ::windows::core::GUID, cbstride: u32, pbbuffer: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFromMemory)(::windows::core::Interface::as_raw(self), uiwidth, uiheight, ::core::mem::transmute(pixelformat), cbstride, pbbuffer.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbbuffer)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3228,7 +3228,7 @@ impl IWICImagingFactory { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFromHBITMAP)(::windows::core::Interface::as_raw(self), hbitmap.into(), hpalette.into(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3237,38 +3237,38 @@ impl IWICImagingFactory { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBitmapFromHICON)(::windows::core::Interface::as_raw(self), hicon.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateComponentEnumerator(&self, componenttypes: u32, options: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateComponentEnumerator)(::windows::core::Interface::as_raw(self), componenttypes, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFastMetadataEncoderFromDecoder<'a, P0>(&self, pidecoder: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICBitmapDecoder>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFastMetadataEncoderFromDecoder)(::windows::core::Interface::as_raw(self), pidecoder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFastMetadataEncoderFromFrameDecode<'a, P0>(&self, piframedecoder: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICBitmapFrameDecode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFastMetadataEncoderFromFrameDecode)(::windows::core::Interface::as_raw(self), piframedecoder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQueryWriter(&self, guidmetadataformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQueryWriter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidmetadataformat), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQueryWriterFromReader<'a, P0>(&self, piqueryreader: P0, pguidvendor: *const ::windows::core::GUID) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWICMetadataQueryReader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQueryWriterFromReader)(::windows::core::Interface::as_raw(self), piqueryreader.into().abi(), ::core::mem::transmute(pguidvendor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3359,7 +3359,7 @@ impl IWICJpegFrameDecode { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportIndexing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesSupportIndexing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndexing(&self, options: WICJpegIndexingOptions, horizontalintervalsize: u32) -> ::windows::core::Result<()> { @@ -3371,27 +3371,27 @@ impl IWICJpegFrameDecode { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetAcHuffmanTable(&self, scanindex: u32, tableindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAcHuffmanTable)(::windows::core::Interface::as_raw(self), scanindex, tableindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetDcHuffmanTable(&self, scanindex: u32, tableindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDcHuffmanTable)(::windows::core::Interface::as_raw(self), scanindex, tableindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetQuantizationTable(&self, scanindex: u32, tableindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQuantizationTable)(::windows::core::Interface::as_raw(self), scanindex, tableindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameHeader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameHeader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScanHeader(&self, scanindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScanHeader)(::windows::core::Interface::as_raw(self), scanindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyScan(&self, scanindex: u32, scanoffset: u32, pbscandata: &mut [u8], pcbscandataactual: *mut u32) -> ::windows::core::Result<()> { @@ -3470,19 +3470,19 @@ impl IWICJpegFrameEncode { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetAcHuffmanTable(&self, scanindex: u32, tableindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAcHuffmanTable)(::windows::core::Interface::as_raw(self), scanindex, tableindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetDcHuffmanTable(&self, scanindex: u32, tableindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDcHuffmanTable)(::windows::core::Interface::as_raw(self), scanindex, tableindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetQuantizationTable(&self, scanindex: u32, tableindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQuantizationTable)(::windows::core::Interface::as_raw(self), scanindex, tableindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteScan(&self, pbscandata: &[u8]) -> ::windows::core::Result<()> { @@ -3547,21 +3547,21 @@ pub struct IWICJpegFrameEncode_Vtbl { pub struct IWICMetadataBlockReader(::windows::core::IUnknown); impl IWICMetadataBlockReader { pub unsafe fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainerFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReaderByIndex(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReaderByIndex)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3617,21 +3617,21 @@ pub struct IWICMetadataBlockReader_Vtbl { pub struct IWICMetadataBlockWriter(::windows::core::IUnknown); impl IWICMetadataBlockWriter { pub unsafe fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainerFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReaderByIndex(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetReaderByIndex)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitializeFromBlockReader<'a, P0>(&self, pimdblockreader: P0) -> ::windows::core::Result<()> @@ -3641,7 +3641,7 @@ impl IWICMetadataBlockWriter { (::windows::core::Interface::vtable(self).InitializeFromBlockReader)(::windows::core::Interface::as_raw(self), pimdblockreader.into().abi()).ok() } pub unsafe fn GetWriterByIndex(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWriterByIndex)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddWriter<'a, P0>(&self, pimetadatawriter: P0) -> ::windows::core::Result<()> @@ -3725,22 +3725,22 @@ pub struct IWICMetadataBlockWriter_Vtbl { pub struct IWICMetadataHandlerInfo(::windows::core::IUnknown); impl IWICMetadataHandlerInfo { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -3753,7 +3753,7 @@ impl IWICMetadataHandlerInfo { (::windows::core::Interface::vtable(self).base__.GetFriendlyName)(::windows::core::Interface::as_raw(self), wzfriendlyname.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzfriendlyname)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetMetadataFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetContainerFormats(&self, pguidcontainerformats: &mut [::windows::core::GUID], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -3768,19 +3768,19 @@ impl IWICMetadataHandlerInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesRequireFullStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesRequireFullStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportPadding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesSupportPadding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesRequireFixedSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesRequireFixedSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3860,7 +3860,7 @@ pub struct IWICMetadataHandlerInfo_Vtbl { pub struct IWICMetadataQueryReader(::windows::core::IUnknown); impl IWICMetadataQueryReader { pub unsafe fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainerFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetLocation(&self, wznamespace: &mut [u16], pcchactuallength: *mut u32) -> ::windows::core::Result<()> { @@ -3877,7 +3877,7 @@ impl IWICMetadataQueryReader { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3936,7 +3936,7 @@ pub struct IWICMetadataQueryReader_Vtbl { pub struct IWICMetadataQueryWriter(::windows::core::IUnknown); impl IWICMetadataQueryWriter { pub unsafe fn GetContainerFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainerFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetLocation(&self, wznamespace: &mut [u16], pcchactuallength: *mut u32) -> ::windows::core::Result<()> { @@ -3953,7 +3953,7 @@ impl IWICMetadataQueryWriter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4036,15 +4036,15 @@ pub struct IWICMetadataQueryWriter_Vtbl { pub struct IWICMetadataReader(::windows::core::IUnknown); impl IWICMetadataReader { pub unsafe fn GetMetadataFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetMetadataHandlerInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataHandlerInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4058,7 +4058,7 @@ impl IWICMetadataReader { (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarschema), ::core::mem::transmute(pvarid), ::core::mem::transmute(pvarvalue)).ok() } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4119,22 +4119,22 @@ pub struct IWICMetadataReader_Vtbl { pub struct IWICMetadataReaderInfo(::windows::core::IUnknown); impl IWICMetadataReaderInfo { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -4147,7 +4147,7 @@ impl IWICMetadataReaderInfo { (::windows::core::Interface::vtable(self).base__.base__.GetFriendlyName)(::windows::core::Interface::as_raw(self), wzfriendlyname.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzfriendlyname)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetMetadataFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMetadataFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetContainerFormats(&self, pguidcontainerformats: &mut [::windows::core::GUID], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -4162,19 +4162,19 @@ impl IWICMetadataReaderInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesRequireFullStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesRequireFullStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportPadding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportPadding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesRequireFixedSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesRequireFixedSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPatterns(&self, guidcontainerformat: *const ::windows::core::GUID, cbsize: u32, ppattern: *mut WICMetadataPattern, pccount: *mut u32, pcbactual: *mut u32) -> ::windows::core::Result<()> { @@ -4186,11 +4186,11 @@ impl IWICMetadataReaderInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MatchesPattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidcontainerformat), pistream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4275,15 +4275,15 @@ pub struct IWICMetadataReaderInfo_Vtbl { pub struct IWICMetadataWriter(::windows::core::IUnknown); impl IWICMetadataWriter { pub unsafe fn GetMetadataFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMetadataFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetMetadataHandlerInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMetadataHandlerInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4297,7 +4297,7 @@ impl IWICMetadataWriter { (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarschema), ::core::mem::transmute(pvarid), ::core::mem::transmute(pvarvalue)).ok() } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4392,22 +4392,22 @@ pub struct IWICMetadataWriter_Vtbl { pub struct IWICMetadataWriterInfo(::windows::core::IUnknown); impl IWICMetadataWriterInfo { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -4420,7 +4420,7 @@ impl IWICMetadataWriterInfo { (::windows::core::Interface::vtable(self).base__.base__.GetFriendlyName)(::windows::core::Interface::as_raw(self), wzfriendlyname.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzfriendlyname)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetMetadataFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMetadataFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetContainerFormats(&self, pguidcontainerformats: &mut [::windows::core::GUID], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -4435,26 +4435,26 @@ impl IWICMetadataWriterInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesRequireFullStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesRequireFullStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesSupportPadding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesSupportPadding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesRequireFixedSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoesRequireFixedSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHeader(&self, guidcontainerformat: *const ::windows::core::GUID, cbsize: u32, pheader: *mut WICMetadataHeader, pcbactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetHeader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidcontainerformat), cbsize, ::core::mem::transmute(pheader), ::core::mem::transmute(pcbactual)).ok() } pub unsafe fn CreateInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4561,11 +4561,11 @@ impl IWICPalette { (::windows::core::Interface::vtable(self).InitializeFromPalette)(::windows::core::Interface::as_raw(self), pipalette.into().abi()).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColors(&self, pcolors: &mut [u32], pcactualcolors: *mut u32) -> ::windows::core::Result<()> { @@ -4574,19 +4574,19 @@ impl IWICPalette { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsBlackWhite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsBlackWhite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsGrayscale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsGrayscale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasAlpha(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasAlpha)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4664,7 +4664,7 @@ impl IWICPersistStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4692,7 +4692,7 @@ impl IWICPersistStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSizeMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSizeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4811,22 +4811,22 @@ pub struct IWICPersistStream_Vtbl { pub struct IWICPixelFormatInfo(::windows::core::IUnknown); impl IWICPixelFormatInfo { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -4839,19 +4839,19 @@ impl IWICPixelFormatInfo { (::windows::core::Interface::vtable(self).base__.GetFriendlyName)(::windows::core::Interface::as_raw(self), wzfriendlyname.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzfriendlyname)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetFormatGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormatGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetColorContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColorContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBitsPerPixel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitsPerPixel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChannelMask(&self, uichannelindex: u32, pbmaskbuffer: &mut [u8], pcbactual: *mut u32) -> ::windows::core::Result<()> { @@ -4923,22 +4923,22 @@ pub struct IWICPixelFormatInfo_Vtbl { pub struct IWICPixelFormatInfo2(::windows::core::IUnknown); impl IWICPixelFormatInfo2 { pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSigningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSigningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthor(&self, wzauthor: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetAuthor)(::windows::core::Interface::as_raw(self), wzauthor.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzauthor)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> ::windows::core::Result<()> { @@ -4951,19 +4951,19 @@ impl IWICPixelFormatInfo2 { (::windows::core::Interface::vtable(self).base__.base__.GetFriendlyName)(::windows::core::Interface::as_raw(self), wzfriendlyname.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(wzfriendlyname)), ::core::mem::transmute(pcchactual)).ok() } pub unsafe fn GetFormatGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFormatGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetColorContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColorContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBitsPerPixel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBitsPerPixel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChannelMask(&self, uichannelindex: u32, pbmaskbuffer: &mut [u8], pcbactual: *mut u32) -> ::windows::core::Result<()> { @@ -4972,11 +4972,11 @@ impl IWICPixelFormatInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportsTransparency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportsTransparency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumericRepresentation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumericRepresentation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5174,7 +5174,7 @@ impl IWICPlanarFormatConverter { (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puiwidth), ::core::mem::transmute(puiheight)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> ::windows::core::Result<()> { @@ -5198,7 +5198,7 @@ impl IWICPlanarFormatConverter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanConvert(&self, psrcpixelformats: &[::windows::core::GUID], dstpixelformat: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanConvert)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(psrcpixelformats)), psrcpixelformats.len() as _, ::core::mem::transmute(dstpixelformat), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5316,11 +5316,11 @@ pub struct IWICProgressCallback_Vtbl { pub struct IWICProgressiveLevelControl(::windows::core::IUnknown); impl IWICProgressiveLevelControl { pub unsafe fn GetLevelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLevelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentLevel(&self, nlevel: u32) -> ::windows::core::Result<()> { @@ -5389,7 +5389,7 @@ impl IWICStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5433,7 +5433,7 @@ impl IWICStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5564,15 +5564,15 @@ impl IWICStreamProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPersistOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPersistOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreferredVendorGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreferredVendorGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn RefreshStream(&self) -> ::windows::core::Result<()> { @@ -6305,7 +6305,7 @@ where extern "system" { fn WICConvertBitmapSource(dstformat: *const ::windows::core::GUID, pisrc: *mut ::core::ffi::c_void, ppidst: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WICConvertBitmapSource(::core::mem::transmute(dstformat), pisrc.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`*"] @@ -6319,7 +6319,7 @@ where extern "system" { fn WICCreateBitmapFromSection(width: u32, height: u32, pixelformat: *const ::windows::core::GUID, hsection: super::super::Foundation::HANDLE, stride: u32, offset: u32, ppibitmap: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WICCreateBitmapFromSection(width, height, ::core::mem::transmute(pixelformat), hsection.into(), stride, offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`*"] @@ -6333,7 +6333,7 @@ where extern "system" { fn WICCreateBitmapFromSectionEx(width: u32, height: u32, pixelformat: *const ::windows::core::GUID, hsection: super::super::Foundation::HANDLE, stride: u32, offset: u32, desiredaccesslevel: WICSectionAccessLevel, ppibitmap: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WICCreateBitmapFromSectionEx(width, height, ::core::mem::transmute(pixelformat), hsection.into(), stride, offset, desiredaccesslevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -6529,7 +6529,7 @@ where extern "system" { fn WICGetMetadataContentSize(guidcontainerformat: *const ::windows::core::GUID, piwriter: *mut ::core::ffi::c_void, pcbsize: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WICGetMetadataContentSize(::core::mem::transmute(guidcontainerformat), piwriter.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -7132,7 +7132,7 @@ where extern "system" { fn WICMapShortNameToGuid(wzname: ::windows::core::PCWSTR, pguid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WICMapShortNameToGuid(wzname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`*"] @@ -7146,7 +7146,7 @@ where extern "system" { fn WICMatchMetadataContent(guidcontainerformat: *const ::windows::core::GUID, pguidvendor: *const ::windows::core::GUID, pistream: *mut ::core::ffi::c_void, pguidmetadataformat: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WICMatchMetadataContent(::core::mem::transmute(guidcontainerformat), ::core::mem::transmute(pguidvendor), pistream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs index 785aa4b389..681cd64f82 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs @@ -118,7 +118,7 @@ where extern "system" { fn PTGetPrintCapabilities(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, pprintticket: *mut ::core::ffi::c_void, pcapabilities: *mut ::core::ffi::c_void, pbstrerrormessage: *mut super::super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PTGetPrintCapabilities(hprovider.into(), pprintticket.into().abi(), pcapabilities.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] @@ -134,7 +134,7 @@ where extern "system" { fn PTGetPrintDeviceCapabilities(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, pprintticket: *mut ::core::ffi::c_void, pdevicecapabilities: *mut ::core::ffi::c_void, pbstrerrormessage: *mut super::super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PTGetPrintDeviceCapabilities(hprovider.into(), pprintticket.into().abi(), pdevicecapabilities.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] @@ -151,7 +151,7 @@ where extern "system" { fn PTGetPrintDeviceResources(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, pszlocalename: ::windows::core::PCWSTR, pprintticket: *mut ::core::ffi::c_void, pdeviceresources: *mut ::core::ffi::c_void, pbstrerrormessage: *mut super::super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PTGetPrintDeviceResources(hprovider.into(), pszlocalename.into(), pprintticket.into().abi(), pdeviceresources.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] @@ -168,7 +168,7 @@ where extern "system" { fn PTMergeAndValidatePrintTicket(hprovider: super::super::super::Storage::Xps::HPTPROVIDER, pbaseticket: *mut ::core::ffi::c_void, pdeltaticket: *mut ::core::ffi::c_void, scope: EPrintTicketScope, presultticket: *mut ::core::ffi::c_void, pbstrerrormessage: *mut super::super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PTMergeAndValidatePrintTicket(hprovider.into(), pbaseticket.into().abi(), pdeltaticket.into().abi(), scope, presultticket.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`*"] @@ -182,7 +182,7 @@ where extern "system" { fn PTOpenProvider(pszprintername: ::windows::core::PCWSTR, dwversion: u32, phprovider: *mut super::super::super::Storage::Xps::HPTPROVIDER) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PTOpenProvider(pszprintername.into(), dwversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`*"] @@ -208,7 +208,7 @@ where extern "system" { fn PTQuerySchemaVersionSupport(pszprintername: ::windows::core::PCWSTR, pmaxversion: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PTQuerySchemaVersionSupport(pszprintername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"] 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 4fc9b3059c..94ee4d8e17 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -400,7 +400,7 @@ where extern "system" { fn AddPrintDeviceObject(hprinter: super::super::Foundation::HANDLE, phdeviceobject: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AddPrintDeviceObject(hprinter.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1861,7 +1861,7 @@ where extern "system" { fn CorePrinterDriverInstalledA(pszserver: ::windows::core::PCSTR, pszenvironment: ::windows::core::PCSTR, coredriverguid: ::windows::core::GUID, ftdriverdate: super::super::Foundation::FILETIME, dwldriverversion: u64, pbdriverinstalled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CorePrinterDriverInstalledA(pszserver.into(), pszenvironment.into(), ::core::mem::transmute(coredriverguid), ::core::mem::transmute(ftdriverdate), dwldriverversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1876,7 +1876,7 @@ where extern "system" { fn CorePrinterDriverInstalledW(pszserver: ::windows::core::PCWSTR, pszenvironment: ::windows::core::PCWSTR, coredriverguid: ::windows::core::GUID, ftdriverdate: super::super::Foundation::FILETIME, dwldriverversion: u64, pbdriverinstalled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CorePrinterDriverInstalledW(pszserver.into(), pszenvironment.into(), ::core::mem::transmute(coredriverguid), ::core::mem::transmute(ftdriverdate), dwldriverversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] @@ -1890,7 +1890,7 @@ where extern "system" { fn CreatePrintAsyncNotifyChannel(pszname: ::windows::core::PCWSTR, pnotificationtype: *const ::windows::core::GUID, euserfilter: PrintAsyncNotifyUserFilter, econversationstyle: PrintAsyncNotifyConversationStyle, pcallback: *mut ::core::ffi::c_void, ppiasynchnotification: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreatePrintAsyncNotifyChannel(pszname.into(), ::core::mem::transmute(pnotificationtype), euserfilter, econversationstyle, pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -6505,14 +6505,14 @@ impl IBidiRequest { (::windows::core::Interface::vtable(self).SetInputData)(::windows::core::Interface::as_raw(self), dwtype, ::core::mem::transmute(pdata), usize).ok() } pub unsafe fn GetResult(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetOutputData(&self, dwindex: u32, ppszschema: *mut ::windows::core::PWSTR, pdwtype: *mut u32, ppdata: *mut *mut u8, usize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetOutputData)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(ppszschema), ::core::mem::transmute(pdwtype), ::core::mem::transmute(ppdata), ::core::mem::transmute(usize)).ok() } pub unsafe fn GetEnumCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6574,11 +6574,11 @@ impl IBidiRequestContainer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEnumObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRequestCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6719,7 +6719,7 @@ impl IBidiSpl2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendRecvXMLString)(::windows::core::Interface::as_raw(self), bstrrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6728,7 +6728,7 @@ impl IBidiSpl2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendRecvXMLStream)(::windows::core::Interface::as_raw(self), psrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7403,11 +7403,11 @@ impl IFixedDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrintTicket(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintTicket)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrintTicket<'a, P0>(&self, pprintticket: P0) -> ::windows::core::Result<()> @@ -7470,11 +7470,11 @@ impl IFixedDocumentSequence { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrintTicket(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintTicket)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrintTicket<'a, P0>(&self, pprintticket: P0) -> ::windows::core::Result<()> @@ -7537,33 +7537,33 @@ impl IFixedPage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartCompression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartCompression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPartCompression)(::windows::core::Interface::as_raw(self), compression).ok() } pub unsafe fn GetPrintTicket(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintTicket)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPagePart<'a, P0>(&self, uri: P0) -> ::windows::core::Result<::windows::core::IUnknown> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPagePart)(::windows::core::Interface::as_raw(self), uri.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetWriteStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWriteStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrintTicket<'a, P0>(&self, ppprintticket: P0) -> ::windows::core::Result<()> @@ -7585,7 +7585,7 @@ impl IFixedPage { (::windows::core::Interface::vtable(self).DeleteResource)(::windows::core::Interface::as_raw(self), uri.into()).ok() } pub unsafe fn GetXpsPartIterator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXpsPartIterator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7777,67 +7777,67 @@ impl IImgErrorInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetHelpFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHelpFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHelpContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHelpContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDeveloperDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeveloperDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUserErrorId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserErrorId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetUserParameterCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserParameterCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserParameter(&self, cparam: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserParameter)(::windows::core::Interface::as_raw(self), cparam, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExceptionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExceptionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DetachErrorInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DetachErrorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8091,15 +8091,15 @@ impl IPartBase { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartCompression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartCompression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> ::windows::core::Result<()> { @@ -8160,15 +8160,15 @@ impl IPartColorProfile { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartCompression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartCompression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> ::windows::core::Result<()> { @@ -8291,15 +8291,15 @@ impl IPartFont { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartCompression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartCompression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> ::windows::core::Result<()> { @@ -8388,15 +8388,15 @@ impl IPartFont2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartCompression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartCompression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> ::windows::core::Result<()> { @@ -8417,7 +8417,7 @@ impl IPartFont2 { (::windows::core::Interface::vtable(self).base__.SetFontOptions)(::windows::core::Interface::as_raw(self), options).ok() } pub unsafe fn GetFontRestriction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontRestriction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8499,15 +8499,15 @@ impl IPartImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartCompression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartCompression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> ::windows::core::Result<()> { @@ -8516,7 +8516,7 @@ impl IPartImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetImageProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImageContent<'a, P0>(&self, pcontenttype: P0) -> ::windows::core::Result<()> @@ -8593,15 +8593,15 @@ impl IPartPrintTicket { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartCompression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartCompression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> ::windows::core::Result<()> { @@ -8670,15 +8670,15 @@ impl IPartResourceDictionary { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartCompression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartCompression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> ::windows::core::Result<()> { @@ -8747,15 +8747,15 @@ impl IPartThumbnail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartCompression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartCompression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> ::windows::core::Result<()> { @@ -8764,7 +8764,7 @@ impl IPartThumbnail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetThumbnailProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThumbnailProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetThumbnailContent<'a, P0>(&self, pcontenttype: P0) -> ::windows::core::Result<()> @@ -8965,14 +8965,14 @@ impl IPrintAsyncNotify { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPrintAsyncNotifyCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePrintAsyncNotifyChannel)(::windows::core::Interface::as_raw(self), param0, ::core::mem::transmute(param1), param2, param3, param4.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePrintAsyncNotifyRegistration<'a, P0>(&self, param0: *const ::windows::core::GUID, param1: PrintAsyncNotifyUserFilter, param2: PrintAsyncNotifyConversationStyle, param3: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IPrintAsyncNotifyCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePrintAsyncNotifyRegistration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(param0), param1, param2, param3.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9249,7 +9249,7 @@ pub struct IPrintAsyncNotifyRegistration_Vtbl { pub struct IPrintAsyncNotifyServerReferral(::windows::core::IUnknown); impl IPrintAsyncNotifyServerReferral { pub unsafe fn GetServerReferral(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServerReferral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn AsyncGetServerReferral<'a, P0>(&self, param0: P0) -> ::windows::core::Result<()> @@ -9443,7 +9443,7 @@ impl IPrintCoreHelper { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdevmode), cbsize, pszfeaturerequested.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -9571,7 +9571,7 @@ impl IPrintCoreHelperPS { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdevmode), cbsize, pszfeaturerequested.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -9717,7 +9717,7 @@ impl IPrintCoreHelperUni { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdevmode), cbsize, pszfeaturerequested.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -9781,7 +9781,7 @@ impl IPrintCoreHelperUni { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateDefaultGDLSnapshot(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDefaultGDLSnapshot)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9858,7 +9858,7 @@ impl IPrintCoreHelperUni2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdevmode), cbsize, pszfeaturerequested.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -9922,7 +9922,7 @@ impl IPrintCoreHelperUni2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateDefaultGDLSnapshot(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDefaultGDLSnapshot)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -10039,7 +10039,7 @@ impl IPrintCoreUI2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetOptions(&self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pmszfeatureoptionbuf: *const i8, cbin: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(poemuiobj), dwflags, ::core::mem::transmute(pmszfeatureoptionbuf), cbin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10210,27 +10210,27 @@ impl IPrintJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrintedPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrintedPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SubmissionTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubmissionTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestCancel(&self) -> ::windows::core::Result<()> { @@ -10294,15 +10294,15 @@ pub struct IPrintJobCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintJobCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, ulindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -11175,7 +11175,7 @@ impl IPrintPipelinePropertyBag { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11309,7 +11309,7 @@ pub struct IPrintPreviewDxgiPackageTarget_Vtbl { pub struct IPrintReadStream(::windows::core::IUnknown); impl IPrintReadStream { pub unsafe fn Seek(&self, dlibmove: i64, dworigin: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11368,7 +11368,7 @@ pub struct IPrintReadStream_Vtbl { pub struct IPrintReadStreamFactory(::windows::core::IUnknown); impl IPrintReadStreamFactory { pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11588,19 +11588,19 @@ pub struct IPrintSchemaCapabilities(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaCapabilities { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11609,7 +11609,7 @@ impl IPrintSchemaCapabilities { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFeatureByKeyName)(::windows::core::Interface::as_raw(self), bstrkeyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11619,21 +11619,21 @@ impl IPrintSchemaCapabilities { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFeature)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PageImageableSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PageImageableSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JobCopiesAllDocumentsMinValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JobCopiesAllDocumentsMinValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JobCopiesAllDocumentsMaxValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JobCopiesAllDocumentsMaxValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11642,7 +11642,7 @@ impl IPrintSchemaCapabilities { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPrintSchemaFeature>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectedOptionInPrintTicket)(::windows::core::Interface::as_raw(self), pfeature.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11651,7 +11651,7 @@ impl IPrintSchemaCapabilities { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPrintSchemaFeature>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptions)(::windows::core::Interface::as_raw(self), pfeature.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11769,19 +11769,19 @@ pub struct IPrintSchemaCapabilities2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaCapabilities2 { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11790,7 +11790,7 @@ impl IPrintSchemaCapabilities2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFeatureByKeyName)(::windows::core::Interface::as_raw(self), bstrkeyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11800,21 +11800,21 @@ impl IPrintSchemaCapabilities2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFeature)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PageImageableSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PageImageableSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JobCopiesAllDocumentsMinValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.JobCopiesAllDocumentsMinValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JobCopiesAllDocumentsMaxValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.JobCopiesAllDocumentsMaxValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11823,7 +11823,7 @@ impl IPrintSchemaCapabilities2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPrintSchemaFeature>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelectedOptionInPrintTicket)(::windows::core::Interface::as_raw(self), pfeature.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11832,7 +11832,7 @@ impl IPrintSchemaCapabilities2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPrintSchemaFeature>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOptions)(::windows::core::Interface::as_raw(self), pfeature.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11842,7 +11842,7 @@ impl IPrintSchemaCapabilities2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameterDefinition)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11960,25 +11960,25 @@ pub struct IPrintSchemaDisplayableElement(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaDisplayableElement { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12078,19 +12078,19 @@ pub struct IPrintSchemaElement(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaElement { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12177,31 +12177,31 @@ pub struct IPrintSchemaFeature(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaFeature { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedOption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectedOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12213,7 +12213,7 @@ impl IPrintSchemaFeature { (::windows::core::Interface::vtable(self).SetSelectedOption)(::windows::core::Interface::as_raw(self), poption.into().abi()).ok() } pub unsafe fn SelectionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12223,13 +12223,13 @@ impl IPrintSchemaFeature { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOption)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayUI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayUI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12360,35 +12360,35 @@ pub struct IPrintSchemaNUpOption(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaNUpOption { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Selected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Selected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Constrained(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Constrained)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12398,11 +12398,11 @@ impl IPrintSchemaNUpOption { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyValue)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn PagesPerSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PagesPerSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12535,35 +12535,35 @@ pub struct IPrintSchemaOption(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaOption { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Selected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Selected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Constrained(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Constrained)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12573,7 +12573,7 @@ impl IPrintSchemaOption { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyValue)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -12696,17 +12696,17 @@ pub struct IPrintSchemaOptionCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaOptionCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAt(&self, ulindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -12790,43 +12790,43 @@ pub struct IPrintSchemaPageImageableSize(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaPageImageableSize { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ImageableSizeWidthInMicrons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImageableSizeWidthInMicrons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ImageableSizeHeightInMicrons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImageableSizeHeightInMicrons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OriginWidthInMicrons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OriginWidthInMicrons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OriginHeightInMicrons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OriginHeightInMicrons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExtentWidthInMicrons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtentWidthInMicrons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExtentHeightInMicrons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtentHeightInMicrons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12928,35 +12928,35 @@ pub struct IPrintSchemaPageMediaSizeOption(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaPageMediaSizeOption { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Selected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Selected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Constrained(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Constrained)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12966,15 +12966,15 @@ impl IPrintSchemaPageMediaSizeOption { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyValue)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn WidthInMicrons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WidthInMicrons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HeightInMicrons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HeightInMicrons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13108,49 +13108,49 @@ pub struct IPrintSchemaParameterDefinition(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaParameterDefinition { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserInputRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserInputRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UnitType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UnitType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeMin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeMin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13275,25 +13275,25 @@ pub struct IPrintSchemaParameterInitializer(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaParameterInitializer { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13402,19 +13402,19 @@ pub struct IPrintSchemaTicket(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaTicket { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13423,7 +13423,7 @@ impl IPrintSchemaTicket { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFeatureByKeyName)(::windows::core::Interface::as_raw(self), bstrkeyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13433,13 +13433,13 @@ impl IPrintSchemaTicket { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFeature)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValidateAsync(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValidateAsync)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13448,7 +13448,7 @@ impl IPrintSchemaTicket { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPrintSchemaTicket>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitAsync)(::windows::core::Interface::as_raw(self), pprintticketcommit.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyXmlChanged(&self) -> ::windows::core::Result<()> { @@ -13457,11 +13457,11 @@ impl IPrintSchemaTicket { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JobCopiesAllDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JobCopiesAllDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJobCopiesAllDocuments(&self, uljobcopiesalldocuments: u32) -> ::windows::core::Result<()> { @@ -13583,19 +13583,19 @@ pub struct IPrintSchemaTicket2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaTicket2 { pub unsafe fn XmlNode(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.XmlNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamespaceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NamespaceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13604,7 +13604,7 @@ impl IPrintSchemaTicket2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFeatureByKeyName)(::windows::core::Interface::as_raw(self), bstrkeyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13614,13 +13614,13 @@ impl IPrintSchemaTicket2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFeature)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValidateAsync(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ValidateAsync)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13629,7 +13629,7 @@ impl IPrintSchemaTicket2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPrintSchemaTicket>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CommitAsync)(::windows::core::Interface::as_raw(self), pprintticketcommit.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyXmlChanged(&self) -> ::windows::core::Result<()> { @@ -13638,11 +13638,11 @@ impl IPrintSchemaTicket2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JobCopiesAllDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.JobCopiesAllDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJobCopiesAllDocuments(&self, uljobcopiesalldocuments: u32) -> ::windows::core::Result<()> { @@ -13655,7 +13655,7 @@ impl IPrintSchemaTicket2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameterInitializer)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrnamespaceuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13813,7 +13813,7 @@ impl IPrintTicketProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::MsXml::IXMLDOMDocument2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintCapabilities)(::windows::core::Interface::as_raw(self), pprintticket.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] @@ -13940,7 +13940,7 @@ impl IPrintTicketProvider2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::MsXml::IXMLDOMDocument2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPrintCapabilities)(::windows::core::Interface::as_raw(self), pprintticket.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] @@ -13957,7 +13957,7 @@ impl IPrintTicketProvider2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::MsXml::IXMLDOMDocument2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintDeviceCapabilities)(::windows::core::Interface::as_raw(self), pprintticket.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] @@ -13967,7 +13967,7 @@ impl IPrintTicketProvider2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Data::Xml::MsXml::IXMLDOMDocument2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintDeviceResources)(::windows::core::Interface::as_raw(self), pszlocalename.into(), pprintticket.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14112,7 +14112,7 @@ pub struct IPrintUnidiAsyncNotifyRegistration_Vtbl { pub struct IPrintWriteStream(::windows::core::IUnknown); impl IPrintWriteStream { pub unsafe fn WriteBytes(&self, pvbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteBytes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvbuffer), cbbuffer, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) { @@ -14325,25 +14325,25 @@ impl IPrinterExtensionContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrinterQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrinterQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrintSchemaTicket(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrintSchemaTicket)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DriverProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UserProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14437,17 +14437,17 @@ pub struct IPrinterExtensionContextCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionContextCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAt(&self, ulindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -14631,63 +14631,63 @@ impl IPrinterExtensionEventArgs { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrinterQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PrinterQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrintSchemaTicket(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PrintSchemaTicket)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DriverProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DriverProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UserProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BidiNotification(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BidiNotification)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReasonId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReasonId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Request(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Request)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourceApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DetailedReasonId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DetailedReasonId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WindowModal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowModal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WindowParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14953,7 +14953,7 @@ impl IPrinterPropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBool)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14971,7 +14971,7 @@ impl IPrinterPropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInt32)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14988,7 +14988,7 @@ impl IPrinterPropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15022,7 +15022,7 @@ impl IPrinterPropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReadStream)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -15031,7 +15031,7 @@ impl IPrinterPropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWriteStream)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15151,13 +15151,13 @@ impl IPrinterQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15171,7 +15171,7 @@ impl IPrinterQueue { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15267,13 +15267,13 @@ impl IPrinterQueue2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15287,7 +15287,7 @@ impl IPrinterQueue2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15297,13 +15297,13 @@ impl IPrinterQueue2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPrinterBidiSetRequestCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendBidiSetRequestAsync)(::windows::core::Interface::as_raw(self), bstrbidirequest.into().abi(), pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPrinterQueueView(&self, ulviewoffset: u32, ulviewsize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrinterQueueView)(::windows::core::Interface::as_raw(self), ulviewoffset, ulviewsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15659,19 +15659,19 @@ impl IPrinterScriptContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DriverProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UserProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15766,7 +15766,7 @@ impl IPrinterScriptablePropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBool)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15784,7 +15784,7 @@ impl IPrinterScriptablePropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInt32)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15801,7 +15801,7 @@ impl IPrinterScriptablePropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15819,7 +15819,7 @@ impl IPrinterScriptablePropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBytes)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -15837,7 +15837,7 @@ impl IPrinterScriptablePropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReadStream)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -15846,7 +15846,7 @@ impl IPrinterScriptablePropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWriteStream)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15969,7 +15969,7 @@ impl IPrinterScriptablePropertyBag2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBool)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15987,7 +15987,7 @@ impl IPrinterScriptablePropertyBag2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetInt32)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16004,7 +16004,7 @@ impl IPrinterScriptablePropertyBag2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetString)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16022,7 +16022,7 @@ impl IPrinterScriptablePropertyBag2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBytes)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -16040,7 +16040,7 @@ impl IPrinterScriptablePropertyBag2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetReadStream)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -16049,7 +16049,7 @@ impl IPrinterScriptablePropertyBag2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWriteStream)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16058,7 +16058,7 @@ impl IPrinterScriptablePropertyBag2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReadStreamAsXML)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -16160,7 +16160,7 @@ impl IPrinterScriptableSequentialStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Read(&self, cbread: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Read)(::windows::core::Interface::as_raw(self), cbread, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -16169,7 +16169,7 @@ impl IPrinterScriptableSequentialStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Write)(::windows::core::Interface::as_raw(self), parray.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16257,7 +16257,7 @@ impl IPrinterScriptableStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Read(&self, cbread: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Read)(::windows::core::Interface::as_raw(self), cbread, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -16266,7 +16266,7 @@ impl IPrinterScriptableStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Write)(::windows::core::Interface::as_raw(self), parray.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Commit(&self) -> ::windows::core::Result<()> { @@ -16275,7 +16275,7 @@ impl IPrinterScriptableStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, loffset: i32, streamseek: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Seek)(::windows::core::Interface::as_raw(self), loffset, streamseek, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSize(&self, lsize: i32) -> ::windows::core::Result<()> { @@ -16378,7 +16378,7 @@ pub struct IPrinterScriptableStream_Vtbl { pub struct IXpsDocument(::windows::core::IUnknown); impl IXpsDocument { pub unsafe fn GetThumbnail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThumbnail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetThumbnail<'a, P0>(&self, pthumbnail: P0) -> ::windows::core::Result<()> @@ -16526,7 +16526,7 @@ pub struct IXpsDocumentConsumer_Vtbl { pub struct IXpsDocumentProvider(::windows::core::IUnknown); impl IXpsDocumentProvider { pub unsafe fn GetXpsPart(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXpsPart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -16652,7 +16652,7 @@ impl IXpsRasterizationFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::IXpsOMPage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRasterizer)(::windows::core::Interface::as_raw(self), xpspage.into().abi(), dpi, nontextrenderingmode, textrenderingmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16710,7 +16710,7 @@ impl IXpsRasterizationFactory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::IXpsOMPage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRasterizer)(::windows::core::Interface::as_raw(self), xpspage.into().abi(), dpi, nontextrenderingmode, textrenderingmode, pixelformat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16768,7 +16768,7 @@ impl IXpsRasterizationFactory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Storage::Xps::IXpsOMPage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRasterizer)(::windows::core::Interface::as_raw(self), xpspage.into().abi(), dpix, dpiy, nontextrenderingmode, textrenderingmode, pixelformat, backgroundcolor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16826,7 +16826,7 @@ impl IXpsRasterizer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsRasterizerNotificationCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RasterizeRect)(::windows::core::Interface::as_raw(self), x, y, width, height, notificationcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinimalLineWidth(&self, width: i32) -> ::windows::core::Result<()> { @@ -23254,7 +23254,7 @@ where extern "system" { fn RegisterForPrintAsyncNotifications(pszname: ::windows::core::PCWSTR, pnotificationtype: *const ::windows::core::GUID, euserfilter: PrintAsyncNotifyUserFilter, econversationstyle: PrintAsyncNotifyConversationStyle, pcallback: *mut ::core::ffi::c_void, phnotify: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RegisterForPrintAsyncNotifications(pszname.into(), ::core::mem::transmute(pnotificationtype), euserfilter, econversationstyle, pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs b/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs index d0129ac94c..e9412f4c86 100644 --- a/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs @@ -8,7 +8,7 @@ where extern "system" { fn ApplyLocalManagementSyncML(syncmlrequest: ::windows::core::PCWSTR, syncmlresult: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ApplyLocalManagementSyncML(syncmlrequest.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] @@ -31,7 +31,7 @@ where extern "system" { fn DiscoverManagementService(pszupn: ::windows::core::PCWSTR, ppmgmtinfo: *mut *mut MANAGEMENT_SERVICE_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut MANAGEMENT_SERVICE_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DiscoverManagementService(pszupn.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut MANAGEMENT_SERVICE_INFO>(result__) } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] @@ -45,7 +45,7 @@ where extern "system" { fn DiscoverManagementServiceEx(pszupn: ::windows::core::PCWSTR, pszdiscoveryservicecandidate: ::windows::core::PCWSTR, ppmgmtinfo: *mut *mut MANAGEMENT_SERVICE_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut MANAGEMENT_SERVICE_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DiscoverManagementServiceEx(pszupn.into(), pszdiscoveryservicecandidate.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut MANAGEMENT_SERVICE_INFO>(result__) } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] @@ -96,7 +96,7 @@ pub unsafe fn IsManagementRegistrationAllowed() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IsManagementRegistrationAllowed(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] @@ -107,7 +107,7 @@ pub unsafe fn IsMdmUxWithoutAadAllowed() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IsMdmUxWithoutAadAllowed(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -339,7 +339,7 @@ pub unsafe fn RegisterDeviceWithLocalManagement() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RegisterDeviceWithLocalManagement(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] 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 16f60cd73e..5617ba4406 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 @@ -1104,7 +1104,7 @@ impl IApoAuxiliaryInputConfiguration { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAudioMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInputFormatSupported)(::windows::core::Interface::as_raw(self), prequestedinputformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1259,21 +1259,21 @@ impl IAudioMediaType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCompressedFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCompressedFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsEqual<'a, P0>(&self, piaudiotype: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IAudioMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), piaudiotype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAudioFormat(&self) -> *mut super::WAVEFORMATEX { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetAudioFormat)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetUncompressedAudioFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUncompressedAudioFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1332,11 +1332,11 @@ impl IAudioProcessingObject { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRegistrationProperties(&self) -> ::windows::core::Result<*mut APO_REG_PROPERTIES> { - let mut result__ = ::core::mem::MaybeUninit::<*mut APO_REG_PROPERTIES>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegistrationProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut APO_REG_PROPERTIES>(result__) } pub unsafe fn Initialize(&self, pbydata: &[u8]) -> ::windows::core::Result<()> { @@ -1347,7 +1347,7 @@ impl IAudioProcessingObject { P0: ::std::convert::Into<::windows::core::InParam<'a, IAudioMediaType>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IAudioMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInputFormatSupported)(::windows::core::Interface::as_raw(self), poppositeformat.into().abi(), prequestedinputformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsOutputFormatSupported<'a, P0, P1>(&self, poppositeformat: P0, prequestedoutputformat: P1) -> ::windows::core::Result @@ -1355,11 +1355,11 @@ impl IAudioProcessingObject { P0: ::std::convert::Into<::windows::core::InParam<'a, IAudioMediaType>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IAudioMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOutputFormatSupported)(::windows::core::Interface::as_raw(self), poppositeformat.into().abi(), prequestedoutputformat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1635,7 +1635,7 @@ pub struct IAudioProcessingObjectRT_Vtbl { pub struct IAudioProcessingObjectRTQueueService(::windows::core::IUnknown); impl IAudioProcessingObjectRTQueueService { pub unsafe fn GetRealTimeWorkQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRealTimeWorkQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1685,11 +1685,11 @@ pub struct IAudioProcessingObjectRTQueueService_Vtbl { pub struct IAudioProcessingObjectVBR(::windows::core::IUnknown); impl IAudioProcessingObjectVBR { pub unsafe fn CalcMaxInputFrames(&self, u32maxoutputframecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CalcMaxInputFrames)(::windows::core::Interface::as_raw(self), u32maxoutputframecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CalcMaxOutputFrames(&self, u32maxinputframecount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CalcMaxOutputFrames)(::windows::core::Interface::as_raw(self), u32maxinputframecount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1955,15 +1955,15 @@ pub struct IAudioSystemEffects3_Vtbl { pub struct IAudioSystemEffectsCustomFormats(::windows::core::IUnknown); impl IAudioSystemEffectsCustomFormats { pub unsafe fn GetFormatCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormatCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormat(&self, nformat: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), nformat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormatRepresentation(&self, nformat: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormatRepresentation)(::windows::core::Interface::as_raw(self), nformat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } 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 5eb5661ffb..781a846d3c 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 @@ -2272,7 +2272,7 @@ pub struct IDirectMusicBuffer_Vtbl { pub struct IDirectMusicCollection(::windows::core::IUnknown); impl IDirectMusicCollection { pub unsafe fn GetInstrument(&self, dwpatch: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstrument)(::windows::core::Interface::as_raw(self), dwpatch, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumInstrument<'a, P0>(&self, dwindex: u32, pdwpatch: *mut u32, pwszname: P0, dwnamelen: u32) -> ::windows::core::Result<()> @@ -2507,7 +2507,7 @@ impl IDirectMusicPort { (::windows::core::Interface::vtable(self).UnloadInstrument)(::windows::core::Interface::as_raw(self), pdownloadedinstrument.into().abi()).ok() } pub unsafe fn GetLatencyClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLatencyClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningStats(&self, pstats: *mut DMUS_SYNTHSTATS) -> ::windows::core::Result<()> { @@ -2631,11 +2631,11 @@ pub struct IDirectMusicPort_Vtbl { pub struct IDirectMusicPortDownload(::windows::core::IUnknown); impl IDirectMusicPortDownload { pub unsafe fn GetBuffer(&self, dwdlid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBuffer)(::windows::core::Interface::as_raw(self), dwdlid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllocateBuffer(&self, dwsize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocateBuffer)(::windows::core::Interface::as_raw(self), dwsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDLId(&self, pdwstartdlid: *mut u32, dwcount: u32) -> ::windows::core::Result<()> { @@ -2748,7 +2748,7 @@ impl IDirectMusicSynth { (::windows::core::Interface::vtable(self).SetMasterClock)(::windows::core::Interface::as_raw(self), pclock.into().abi()).ok() } pub unsafe fn GetLatencyClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLatencyClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2895,7 +2895,7 @@ impl IDirectMusicSynth8 { (::windows::core::Interface::vtable(self).base__.SetMasterClock)(::windows::core::Interface::as_raw(self), pclock.into().abi()).ok() } pub unsafe fn GetLatencyClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLatencyClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3025,7 +3025,7 @@ impl IDirectMusicSynthSink { (::windows::core::Interface::vtable(self).SetMasterClock)(::windows::core::Interface::as_raw(self), pclock.into().abi()).ok() } pub unsafe fn GetLatencyClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLatencyClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] 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 4991293171..08733f384a 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 @@ -1643,7 +1643,7 @@ pub unsafe fn GetDeviceID(pguidsrc: *const ::windows::core::GUID) -> ::windows:: extern "system" { fn GetDeviceID(pguidsrc: *const ::windows::core::GUID, pguiddest: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetDeviceID(::core::mem::transmute(pguidsrc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] @@ -1657,14 +1657,14 @@ impl IDirectSound { (::windows::core::Interface::vtable(self).CreateSoundBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsbufferdesc), ::core::mem::transmute(ppdsbuffer), punkouter.into().abi()).ok() } pub unsafe fn GetCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DuplicateSoundBuffer<'a, P0>(&self, pdsbufferoriginal: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDirectSoundBuffer>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DuplicateSoundBuffer)(::windows::core::Interface::as_raw(self), pdsbufferoriginal.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1679,7 +1679,7 @@ impl IDirectSound { (::windows::core::Interface::vtable(self).Compact)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSpeakerConfig(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpeakerConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpeakerConfig(&self, dwspeakerconfig: u32) -> ::windows::core::Result<()> { @@ -1747,7 +1747,7 @@ impl IDirectSound3DBuffer { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConeAngles(&self, pdwinsideconeangle: *mut u32, pdwoutsideconeangle: *mut u32) -> ::windows::core::Result<()> { @@ -1756,35 +1756,35 @@ impl IDirectSound3DBuffer { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetConeOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConeOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConeOutsideVolume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConeOutsideVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxDistance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxDistance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMinDistance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinDistance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetVelocity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVelocity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -1897,15 +1897,15 @@ impl IDirectSound3DListener { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDistanceFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDistanceFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDopplerFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDopplerFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -1916,17 +1916,17 @@ impl IDirectSound3DListener { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRolloffFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRolloffFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetVelocity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVelocity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -2037,14 +2037,14 @@ impl IDirectSound8 { (::windows::core::Interface::vtable(self).base__.CreateSoundBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsbufferdesc), ::core::mem::transmute(ppdsbuffer), punkouter.into().abi()).ok() } pub unsafe fn GetCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DuplicateSoundBuffer<'a, P0>(&self, pdsbufferoriginal: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDirectSoundBuffer>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DuplicateSoundBuffer)(::windows::core::Interface::as_raw(self), pdsbufferoriginal.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2059,7 +2059,7 @@ impl IDirectSound8 { (::windows::core::Interface::vtable(self).base__.Compact)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSpeakerConfig(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSpeakerConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpeakerConfig(&self, dwspeakerconfig: u32) -> ::windows::core::Result<()> { @@ -2069,7 +2069,7 @@ impl IDirectSound8 { (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcguiddevice)).ok() } pub unsafe fn VerifyCertification(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VerifyCertification)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2134,7 +2134,7 @@ pub struct IDirectSound8_Vtbl { pub struct IDirectSoundBuffer(::windows::core::IUnknown); impl IDirectSoundBuffer { pub unsafe fn GetCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPosition(&self, pdwcurrentplaycursor: *mut u32, pdwcurrentwritecursor: *mut u32) -> ::windows::core::Result<()> { @@ -2144,19 +2144,19 @@ impl IDirectSoundBuffer { (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwfxformat), dwsizeallocated, ::core::mem::transmute(pdwsizewritten)).ok() } pub unsafe fn GetVolume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize<'a, P0>(&self, pdirectsound: P0, pcdsbufferdesc: *const DSBUFFERDESC) -> ::windows::core::Result<()> @@ -2259,7 +2259,7 @@ pub struct IDirectSoundBuffer_Vtbl { pub struct IDirectSoundBuffer8(::windows::core::IUnknown); impl IDirectSoundBuffer8 { pub unsafe fn GetCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPosition(&self, pdwcurrentplaycursor: *mut u32, pdwcurrentwritecursor: *mut u32) -> ::windows::core::Result<()> { @@ -2269,19 +2269,19 @@ impl IDirectSoundBuffer8 { (::windows::core::Interface::vtable(self).base__.GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwfxformat), dwsizeallocated, ::core::mem::transmute(pdwsizewritten)).ok() } pub unsafe fn GetVolume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize<'a, P0>(&self, pdirectsound: P0, pcdsbufferdesc: *const DSBUFFERDESC) -> ::windows::core::Result<()> @@ -2399,7 +2399,7 @@ impl IDirectSoundCapture { (::windows::core::Interface::vtable(self).CreateCaptureBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdscbufferdesc), ::core::mem::transmute(ppdscbuffer), punkouter.into().abi()).ok() } pub unsafe fn GetCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize(&self, pcguiddevice: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -2454,7 +2454,7 @@ pub struct IDirectSoundCapture_Vtbl { pub struct IDirectSoundCaptureBuffer(::windows::core::IUnknown); impl IDirectSoundCaptureBuffer { pub unsafe fn GetCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPosition(&self, pdwcaptureposition: *mut u32, pdwreadposition: *mut u32) -> ::windows::core::Result<()> { @@ -2464,7 +2464,7 @@ impl IDirectSoundCaptureBuffer { (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwfxformat), dwsizeallocated, ::core::mem::transmute(pdwsizewritten)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize<'a, P0>(&self, pdirectsoundcapture: P0, pcdscbufferdesc: *const DSCBUFFERDESC) -> ::windows::core::Result<()> @@ -2540,7 +2540,7 @@ pub struct IDirectSoundCaptureBuffer_Vtbl { pub struct IDirectSoundCaptureBuffer8(::windows::core::IUnknown); impl IDirectSoundCaptureBuffer8 { pub unsafe fn GetCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPosition(&self, pdwcaptureposition: *mut u32, pdwreadposition: *mut u32) -> ::windows::core::Result<()> { @@ -2550,7 +2550,7 @@ impl IDirectSoundCaptureBuffer8 { (::windows::core::Interface::vtable(self).base__.GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwfxformat), dwsizeallocated, ::core::mem::transmute(pdwsizewritten)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize<'a, P0>(&self, pdirectsoundcapture: P0, pcdscbufferdesc: *const DSCBUFFERDESC) -> ::windows::core::Result<()> @@ -2647,11 +2647,11 @@ impl IDirectSoundCaptureFXAec { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { @@ -2720,7 +2720,7 @@ impl IDirectSoundCaptureFXNoiseSuppress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { @@ -2784,7 +2784,7 @@ impl IDirectSoundFXChorus { (::windows::core::Interface::vtable(self).SetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsfxchorus)).ok() } pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2838,7 +2838,7 @@ impl IDirectSoundFXCompressor { (::windows::core::Interface::vtable(self).SetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsfxcompressor)).ok() } pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2892,7 +2892,7 @@ impl IDirectSoundFXDistortion { (::windows::core::Interface::vtable(self).SetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsfxdistortion)).ok() } pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2946,7 +2946,7 @@ impl IDirectSoundFXEcho { (::windows::core::Interface::vtable(self).SetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsfxecho)).ok() } pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3000,7 +3000,7 @@ impl IDirectSoundFXFlanger { (::windows::core::Interface::vtable(self).SetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsfxflanger)).ok() } pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3054,7 +3054,7 @@ impl IDirectSoundFXGargle { (::windows::core::Interface::vtable(self).SetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsfxgargle)).ok() } pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3108,21 +3108,21 @@ impl IDirectSoundFXI3DL2Reverb { (::windows::core::Interface::vtable(self).SetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsfxi3dl2reverb)).ok() } pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPreset(&self, dwpreset: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPreset)(::windows::core::Interface::as_raw(self), dwpreset).ok() } pub unsafe fn GetPreset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuality(&self, lquality: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQuality)(::windows::core::Interface::as_raw(self), lquality).ok() } pub unsafe fn GetQuality(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQuality)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3180,7 +3180,7 @@ impl IDirectSoundFXParamEq { (::windows::core::Interface::vtable(self).SetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsfxparameq)).ok() } pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3234,7 +3234,7 @@ impl IDirectSoundFXWavesReverb { (::windows::core::Interface::vtable(self).SetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcdsfxwavesreverb)).ok() } pub unsafe fn GetAllParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 28566293aa..a5dfcb306a 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 @@ -189,11 +189,11 @@ pub struct IAudioEndpointLastBufferControl_Vtbl { pub struct IAudioEndpointOffloadStreamMeter(::windows::core::IUnknown); impl IAudioEndpointOffloadStreamMeter { pub unsafe fn GetMeterChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMeterChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMeteringData(&self, u32channelcount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMeteringData)(::windows::core::Interface::as_raw(self), u32channelcount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -247,7 +247,7 @@ impl IAudioEndpointOffloadStreamMute { (::windows::core::Interface::vtable(self).SetMute)(::windows::core::Interface::as_raw(self), bmuted).ok() } pub unsafe fn GetMute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -298,7 +298,7 @@ pub struct IAudioEndpointOffloadStreamMute_Vtbl { pub struct IAudioEndpointOffloadStreamVolume(::windows::core::IUnknown); impl IAudioEndpointOffloadStreamVolume { pub unsafe fn GetVolumeChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVolumeChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] @@ -307,7 +307,7 @@ impl IAudioEndpointOffloadStreamVolume { (::windows::core::Interface::vtable(self).SetChannelVolumes)(::windows::core::Interface::as_raw(self), u32channelcount, ::core::mem::transmute(pf32volumes), u32curvetype, ::core::mem::transmute(pcurveduration)).ok() } pub unsafe fn GetChannelVolumes(&self, u32channelcount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelVolumes)(::windows::core::Interface::as_raw(self), u32channelcount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -374,7 +374,7 @@ impl IAudioEndpointVolume { (::windows::core::Interface::vtable(self).UnregisterControlChangeNotify)(::windows::core::Interface::as_raw(self), pnotify.into().abi()).ok() } pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMasterVolumeLevel(&self, fleveldb: f32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -384,11 +384,11 @@ impl IAudioEndpointVolume { (::windows::core::Interface::vtable(self).SetMasterVolumeLevelScalar)(::windows::core::Interface::as_raw(self), flevel, ::core::mem::transmute(pguideventcontext)).ok() } pub unsafe fn GetMasterVolumeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMasterVolumeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMasterVolumeLevelScalar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMasterVolumeLevelScalar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannelVolumeLevel(&self, nchannel: u32, fleveldb: f32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -398,11 +398,11 @@ impl IAudioEndpointVolume { (::windows::core::Interface::vtable(self).SetChannelVolumeLevelScalar)(::windows::core::Interface::as_raw(self), nchannel, flevel, ::core::mem::transmute(pguideventcontext)).ok() } pub unsafe fn GetChannelVolumeLevel(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelVolumeLevel)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChannelVolumeLevelScalar(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelVolumeLevelScalar)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -416,7 +416,7 @@ impl IAudioEndpointVolume { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVolumeStepInfo(&self, pnstep: *mut u32, pnstepcount: *mut u32) -> ::windows::core::Result<()> { @@ -429,7 +429,7 @@ impl IAudioEndpointVolume { (::windows::core::Interface::vtable(self).VolumeStepDown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguideventcontext)).ok() } pub unsafe fn QueryHardwareSupport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHardwareSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVolumeRange(&self, pflvolumemindb: *mut f32, pflvolumemaxdb: *mut f32, pflvolumeincrementdb: *mut f32) -> ::windows::core::Result<()> { @@ -571,7 +571,7 @@ impl IAudioEndpointVolumeEx { (::windows::core::Interface::vtable(self).base__.UnregisterControlChangeNotify)(::windows::core::Interface::as_raw(self), pnotify.into().abi()).ok() } pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMasterVolumeLevel(&self, fleveldb: f32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -581,11 +581,11 @@ impl IAudioEndpointVolumeEx { (::windows::core::Interface::vtable(self).base__.SetMasterVolumeLevelScalar)(::windows::core::Interface::as_raw(self), flevel, ::core::mem::transmute(pguideventcontext)).ok() } pub unsafe fn GetMasterVolumeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMasterVolumeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMasterVolumeLevelScalar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMasterVolumeLevelScalar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannelVolumeLevel(&self, nchannel: u32, fleveldb: f32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -595,11 +595,11 @@ impl IAudioEndpointVolumeEx { (::windows::core::Interface::vtable(self).base__.SetChannelVolumeLevelScalar)(::windows::core::Interface::as_raw(self), nchannel, flevel, ::core::mem::transmute(pguideventcontext)).ok() } pub unsafe fn GetChannelVolumeLevel(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChannelVolumeLevel)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChannelVolumeLevelScalar(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChannelVolumeLevelScalar)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -613,7 +613,7 @@ impl IAudioEndpointVolumeEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVolumeStepInfo(&self, pnstep: *mut u32, pnstepcount: *mut u32) -> ::windows::core::Result<()> { @@ -626,7 +626,7 @@ impl IAudioEndpointVolumeEx { (::windows::core::Interface::vtable(self).base__.VolumeStepDown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguideventcontext)).ok() } pub unsafe fn QueryHardwareSupport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryHardwareSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVolumeRange(&self, pflvolumemindb: *mut f32, pflvolumemaxdb: *mut f32, pflvolumeincrementdb: *mut f32) -> ::windows::core::Result<()> { @@ -707,7 +707,7 @@ impl IAudioLfxControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLocalEffectsState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalEffectsState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -764,18 +764,18 @@ pub struct IAudioLfxControl_Vtbl { pub struct IAudioMeterInformation(::windows::core::IUnknown); impl IAudioMeterInformation { pub unsafe fn GetPeakValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPeakValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMeteringChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMeteringChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChannelsPeakValues(&self, afpeakvalues: &mut [f32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetChannelsPeakValues)(::windows::core::Interface::as_raw(self), afpeakvalues.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(afpeakvalues))).ok() } pub unsafe fn QueryHardwareSupport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHardwareSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -831,7 +831,7 @@ impl IHardwareAudioEngineBase { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailableOffloadConnectorCount)(::windows::core::Interface::as_raw(self), _pwstrdeviceid.into(), _uconnectorid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -864,7 +864,7 @@ impl IHardwareAudioEngineBase { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::IMMDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGfxState)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 3bcf92e348..d7d85f3015 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 @@ -7,7 +7,7 @@ pub unsafe fn CreateAudioReverb() -> ::windows::core::Result<::windows::core::IU extern "system" { fn CreateAudioReverb(ppapo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateAudioReverb(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] @@ -17,7 +17,7 @@ pub unsafe fn CreateAudioVolumeMeter() -> ::windows::core::Result<::windows::cor extern "system" { fn CreateAudioVolumeMeter(ppapo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateAudioVolumeMeter(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn CreateHrtfApo(init: *const HrtfApoInit) -> ::windows::core::Result extern "system" { fn CreateHrtfApo(init: *const HrtfApoInit, xapo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateHrtfApo(::core::mem::transmute(init), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] @@ -582,15 +582,15 @@ impl ::core::default::Default for HrtfPosition { pub struct IXAPO(::windows::core::IUnknown); impl IXAPO { pub unsafe fn GetRegistrationProperties(&self) -> ::windows::core::Result<*mut XAPO_REGISTRATION_PROPERTIES> { - let mut result__ = ::core::mem::MaybeUninit::<*mut XAPO_REGISTRATION_PROPERTIES>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegistrationProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut XAPO_REGISTRATION_PROPERTIES>(result__) } pub unsafe fn IsInputFormatSupported(&self, poutputformat: *const super::WAVEFORMATEX, prequestedinputformat: *const super::WAVEFORMATEX) -> ::windows::core::Result<*mut super::WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInputFormatSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(poutputformat), ::core::mem::transmute(prequestedinputformat), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::WAVEFORMATEX>(result__) } pub unsafe fn IsOutputFormatSupported(&self, pinputformat: *const super::WAVEFORMATEX, prequestedoutputformat: *const super::WAVEFORMATEX) -> ::windows::core::Result<*mut super::WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOutputFormatSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputformat), ::core::mem::transmute(prequestedoutputformat), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::WAVEFORMATEX>(result__) } pub unsafe fn Initialize(&self, pdata: *const ::core::ffi::c_void, databytesize: u32) -> ::windows::core::Result<()> { @@ -1076,7 +1076,7 @@ impl IXAudio2MasteringVoice { (::windows::core::Interface::vtable(self).base__.DestroyVoice)(::windows::core::Interface::as_raw(self)) } pub unsafe fn GetChannelMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 e6b9cb5f47..19b322d83b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -1892,7 +1892,7 @@ where extern "system" { fn ActivateAudioInterfaceAsync(deviceinterfacepath: ::windows::core::PCWSTR, riid: *const ::windows::core::GUID, activationparams: *const super::super::System::Com::StructuredStorage::PROPVARIANT, completionhandler: *mut ::core::ffi::c_void, activationoperation: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ActivateAudioInterfaceAsync(deviceinterfacepath.into(), ::core::mem::transmute(riid), ::core::mem::transmute(activationparams), completionhandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -2202,7 +2202,7 @@ where extern "system" { fn CoRegisterMessageFilter(lpmessagefilter: *mut ::core::ffi::c_void, lplpmessagefilter: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoRegisterMessageFilter(lpmessagefilter.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2243,7 +2243,7 @@ pub unsafe fn CreateCaptureAudioStateMonitor() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateCaptureAudioStateMonitor(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2253,7 +2253,7 @@ pub unsafe fn CreateCaptureAudioStateMonitorForCategory(category: AUDIO_STREAM_C extern "system" { fn CreateCaptureAudioStateMonitorForCategory(category: AUDIO_STREAM_CATEGORY, audiostatemonitor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateCaptureAudioStateMonitorForCategory(category, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2266,7 +2266,7 @@ where extern "system" { fn CreateCaptureAudioStateMonitorForCategoryAndDeviceId(category: AUDIO_STREAM_CATEGORY, deviceid: ::windows::core::PCWSTR, audiostatemonitor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateCaptureAudioStateMonitorForCategoryAndDeviceId(category, deviceid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2276,7 +2276,7 @@ pub unsafe fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category: A extern "system" { fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category: AUDIO_STREAM_CATEGORY, role: ERole, audiostatemonitor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category, role, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2286,7 +2286,7 @@ pub unsafe fn CreateRenderAudioStateMonitor() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateRenderAudioStateMonitor(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2296,7 +2296,7 @@ pub unsafe fn CreateRenderAudioStateMonitorForCategory(category: AUDIO_STREAM_CA extern "system" { fn CreateRenderAudioStateMonitorForCategory(category: AUDIO_STREAM_CATEGORY, audiostatemonitor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateRenderAudioStateMonitorForCategory(category, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2309,7 +2309,7 @@ where extern "system" { fn CreateRenderAudioStateMonitorForCategoryAndDeviceId(category: AUDIO_STREAM_CATEGORY, deviceid: ::windows::core::PCWSTR, audiostatemonitor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateRenderAudioStateMonitorForCategoryAndDeviceId(category, deviceid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2319,7 +2319,7 @@ pub unsafe fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category: AU extern "system" { fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category: AUDIO_STREAM_CATEGORY, role: ERole, audiostatemonitor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category, role, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -3104,7 +3104,7 @@ impl IAudioAmbisonicsControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHeadTracking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHeadTracking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRotation(&self, x: f32, y: f32, z: f32, w: f32) -> ::windows::core::Result<()> { @@ -3168,7 +3168,7 @@ impl IAudioAutoGainControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3233,14 +3233,14 @@ pub struct IAudioAutoGainControl_Vtbl { pub struct IAudioBass(::windows::core::IUnknown); impl IAudioBass { pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLevelRange(&self, nchannel: u32, pfminleveldb: *mut f32, pfmaxleveldb: *mut f32, pfstepping: *mut f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetLevelRange)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(pfminleveldb), ::core::mem::transmute(pfmaxleveldb), ::core::mem::transmute(pfstepping)).ok() } pub unsafe fn GetLevel(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLevel)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLevel(&self, nchannel: u32, fleveldb: f32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -3319,7 +3319,7 @@ impl IAudioCaptureClient { (::windows::core::Interface::vtable(self).ReleaseBuffer)(::windows::core::Interface::as_raw(self), numframesread).ok() } pub unsafe fn GetNextPacketSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextPacketSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3374,7 +3374,7 @@ impl IAudioChannelConfig { (::windows::core::Interface::vtable(self).SetChannelConfig)(::windows::core::Interface::as_raw(self), dwconfig, ::core::mem::transmute(pguideventcontext)).ok() } pub unsafe fn GetChannelConfig(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3428,22 +3428,22 @@ impl IAudioClient { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), sharemode, streamflags, hnsbufferduration, hnsperiodicity, ::core::mem::transmute(pformat), ::core::mem::transmute(audiosessionguid)).ok() } pub unsafe fn GetBufferSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBufferSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPadding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPadding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFormatSupported(&self, sharemode: AUDCLNT_SHAREMODE, pformat: *const WAVEFORMATEX, ppclosestmatch: *mut *mut WAVEFORMATEX) -> ::windows::core::HRESULT { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsFormatSupported)(::windows::core::Interface::as_raw(self), sharemode, ::core::mem::transmute(pformat), ::core::mem::transmute(ppclosestmatch))) } pub unsafe fn GetMixFormat(&self) -> ::windows::core::Result<*mut WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMixFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WAVEFORMATEX>(result__) } pub unsafe fn GetDevicePeriod(&self, phnsdefaultdeviceperiod: *mut i64, phnsminimumdeviceperiod: *mut i64) -> ::windows::core::Result<()> { @@ -3537,22 +3537,22 @@ impl IAudioClient2 { (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), sharemode, streamflags, hnsbufferduration, hnsperiodicity, ::core::mem::transmute(pformat), ::core::mem::transmute(audiosessionguid)).ok() } pub unsafe fn GetBufferSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBufferSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPadding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentPadding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFormatSupported(&self, sharemode: AUDCLNT_SHAREMODE, pformat: *const WAVEFORMATEX, ppclosestmatch: *mut *mut WAVEFORMATEX) -> ::windows::core::HRESULT { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.IsFormatSupported)(::windows::core::Interface::as_raw(self), sharemode, ::core::mem::transmute(pformat), ::core::mem::transmute(ppclosestmatch))) } pub unsafe fn GetMixFormat(&self) -> ::windows::core::Result<*mut WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMixFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WAVEFORMATEX>(result__) } pub unsafe fn GetDevicePeriod(&self, phnsdefaultdeviceperiod: *mut i64, phnsminimumdeviceperiod: *mut i64) -> ::windows::core::Result<()> { @@ -3585,7 +3585,7 @@ impl IAudioClient2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOffloadCapable(&self, category: AUDIO_STREAM_CATEGORY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOffloadCapable)(::windows::core::Interface::as_raw(self), category, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3677,22 +3677,22 @@ impl IAudioClient3 { (::windows::core::Interface::vtable(self).base__.base__.Initialize)(::windows::core::Interface::as_raw(self), sharemode, streamflags, hnsbufferduration, hnsperiodicity, ::core::mem::transmute(pformat), ::core::mem::transmute(audiosessionguid)).ok() } pub unsafe fn GetBufferSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBufferSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStreamLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPadding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCurrentPadding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFormatSupported(&self, sharemode: AUDCLNT_SHAREMODE, pformat: *const WAVEFORMATEX, ppclosestmatch: *mut *mut WAVEFORMATEX) -> ::windows::core::HRESULT { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.IsFormatSupported)(::windows::core::Interface::as_raw(self), sharemode, ::core::mem::transmute(pformat), ::core::mem::transmute(ppclosestmatch))) } pub unsafe fn GetMixFormat(&self) -> ::windows::core::Result<*mut WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMixFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WAVEFORMATEX>(result__) } pub unsafe fn GetDevicePeriod(&self, phnsdefaultdeviceperiod: *mut i64, phnsminimumdeviceperiod: *mut i64) -> ::windows::core::Result<()> { @@ -3725,7 +3725,7 @@ impl IAudioClient3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOffloadCapable(&self, category: AUDIO_STREAM_CATEGORY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsOffloadCapable)(::windows::core::Interface::as_raw(self), category, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3878,14 +3878,14 @@ pub struct IAudioClientDuckingControl_Vtbl { pub struct IAudioClock(::windows::core::IUnknown); impl IAudioClock { pub unsafe fn GetFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPosition(&self, pu64position: *mut u64, pu64qpcposition: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pu64position), ::core::mem::transmute(pu64qpcposition)).ok() } pub unsafe fn GetCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4156,11 +4156,11 @@ pub struct IAudioEffectsManager_Vtbl { pub struct IAudioFormatEnumerator(::windows::core::IUnknown); impl IAudioFormatEnumerator { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormat(&self, index: u32) -> ::windows::core::Result<*mut WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WAVEFORMATEX>(result__) } } @@ -4211,7 +4211,7 @@ pub struct IAudioFormatEnumerator_Vtbl { pub struct IAudioInputSelector(::windows::core::IUnknown); impl IAudioInputSelector { pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelection(&self, nidselect: u32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -4267,7 +4267,7 @@ impl IAudioLoudness { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4332,14 +4332,14 @@ pub struct IAudioLoudness_Vtbl { pub struct IAudioMidrange(::windows::core::IUnknown); impl IAudioMidrange { pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLevelRange(&self, nchannel: u32, pfminleveldb: *mut f32, pfmaxleveldb: *mut f32, pfstepping: *mut f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetLevelRange)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(pfminleveldb), ::core::mem::transmute(pfmaxleveldb), ::core::mem::transmute(pfstepping)).ok() } pub unsafe fn GetLevel(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLevel)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLevel(&self, nchannel: u32, fleveldb: f32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -4422,7 +4422,7 @@ impl IAudioMute { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4479,7 +4479,7 @@ pub struct IAudioMute_Vtbl { pub struct IAudioOutputSelector(::windows::core::IUnknown); impl IAudioOutputSelector { pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelection(&self, nidselect: u32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -4533,11 +4533,11 @@ pub struct IAudioOutputSelector_Vtbl { pub struct IAudioPeakMeter(::windows::core::IUnknown); impl IAudioPeakMeter { pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLevel(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLevel)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4588,7 +4588,7 @@ pub struct IAudioPeakMeter_Vtbl { pub struct IAudioRenderClient(::windows::core::IUnknown); impl IAudioRenderClient { pub unsafe fn GetBuffer(&self, numframesrequested: u32) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBuffer)(::windows::core::Interface::as_raw(self), numframesrequested, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn ReleaseBuffer(&self, numframeswritten: u32, dwflags: u32) -> ::windows::core::Result<()> { @@ -4642,11 +4642,11 @@ pub struct IAudioRenderClient_Vtbl { pub struct IAudioSessionControl(::windows::core::IUnknown); impl IAudioSessionControl { pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDisplayName<'a, P0>(&self, value: P0, eventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> @@ -4656,7 +4656,7 @@ impl IAudioSessionControl { (::windows::core::Interface::vtable(self).SetDisplayName)(::windows::core::Interface::as_raw(self), value.into(), ::core::mem::transmute(eventcontext)).ok() } pub unsafe fn GetIconPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIconPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetIconPath<'a, P0>(&self, value: P0, eventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> @@ -4666,7 +4666,7 @@ impl IAudioSessionControl { (::windows::core::Interface::vtable(self).SetIconPath)(::windows::core::Interface::as_raw(self), value.into(), ::core::mem::transmute(eventcontext)).ok() } pub unsafe fn GetGroupingParam(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroupingParam)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetGroupingParam(&self, r#override: *const ::windows::core::GUID, eventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -4739,11 +4739,11 @@ pub struct IAudioSessionControl_Vtbl { pub struct IAudioSessionControl2(::windows::core::IUnknown); impl IAudioSessionControl2 { pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDisplayName<'a, P0>(&self, value: P0, eventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> @@ -4753,7 +4753,7 @@ impl IAudioSessionControl2 { (::windows::core::Interface::vtable(self).base__.SetDisplayName)(::windows::core::Interface::as_raw(self), value.into(), ::core::mem::transmute(eventcontext)).ok() } pub unsafe fn GetIconPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIconPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetIconPath<'a, P0>(&self, value: P0, eventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> @@ -4763,7 +4763,7 @@ impl IAudioSessionControl2 { (::windows::core::Interface::vtable(self).base__.SetIconPath)(::windows::core::Interface::as_raw(self), value.into(), ::core::mem::transmute(eventcontext)).ok() } pub unsafe fn GetGroupingParam(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGroupingParam)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetGroupingParam(&self, r#override: *const ::windows::core::GUID, eventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -4782,15 +4782,15 @@ impl IAudioSessionControl2 { (::windows::core::Interface::vtable(self).base__.UnregisterAudioSessionNotification)(::windows::core::Interface::as_raw(self), newnotifications.into().abi()).ok() } pub unsafe fn GetSessionIdentifier(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSessionIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSessionInstanceIdentifier(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSessionInstanceIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSystemSoundsSession(&self) -> ::windows::core::Result<()> { @@ -4873,11 +4873,11 @@ pub struct IAudioSessionControl2_Vtbl { pub struct IAudioSessionEnumerator(::windows::core::IUnknown); impl IAudioSessionEnumerator { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSession(&self, sessioncount: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSession)(::windows::core::Interface::as_raw(self), sessioncount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5015,11 +5015,11 @@ pub struct IAudioSessionEvents_Vtbl { pub struct IAudioSessionManager(::windows::core::IUnknown); impl IAudioSessionManager { pub unsafe fn GetAudioSessionControl(&self, audiosessionguid: *const ::windows::core::GUID, streamflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioSessionControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(audiosessionguid), streamflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSimpleAudioVolume(&self, audiosessionguid: *const ::windows::core::GUID, streamflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSimpleAudioVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(audiosessionguid), streamflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5070,15 +5070,15 @@ pub struct IAudioSessionManager_Vtbl { pub struct IAudioSessionManager2(::windows::core::IUnknown); impl IAudioSessionManager2 { pub unsafe fn GetAudioSessionControl(&self, audiosessionguid: *const ::windows::core::GUID, streamflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAudioSessionControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(audiosessionguid), streamflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSimpleAudioVolume(&self, audiosessionguid: *const ::windows::core::GUID, streamflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSimpleAudioVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(audiosessionguid), streamflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSessionEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSessionEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterSessionNotification<'a, P0>(&self, sessionnotification: P0) -> ::windows::core::Result<()> @@ -5224,7 +5224,7 @@ pub struct IAudioSessionNotification_Vtbl { pub struct IAudioStateMonitor(::windows::core::IUnknown); impl IAudioStateMonitor { pub unsafe fn RegisterCallback(&self, callback: PAudioStateMonitorCallback, context: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterCallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(callback), ::core::mem::transmute(context), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterCallback(&self, registration: i64) { @@ -5282,14 +5282,14 @@ pub struct IAudioStateMonitor_Vtbl { pub struct IAudioStreamVolume(::windows::core::IUnknown); impl IAudioStreamVolume { pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannelVolume(&self, dwindex: u32, flevel: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetChannelVolume)(::windows::core::Interface::as_raw(self), dwindex, flevel).ok() } pub unsafe fn GetChannelVolume(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelVolume)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllVolumes(&self, pfvolumes: &[f32]) -> ::windows::core::Result<()> { @@ -5405,19 +5405,19 @@ impl IAudioSystemEffectsPropertyStore { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn OpenDefaultPropertyStore(&self, stgmaccess: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenDefaultPropertyStore)(::windows::core::Interface::as_raw(self), stgmaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn OpenUserPropertyStore(&self, stgmaccess: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenUserPropertyStore)(::windows::core::Interface::as_raw(self), stgmaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn OpenVolatilePropertyStore(&self, stgmaccess: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenVolatilePropertyStore)(::windows::core::Interface::as_raw(self), stgmaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetUserPropertyStore(&self) -> ::windows::core::Result<()> { @@ -5500,14 +5500,14 @@ pub struct IAudioSystemEffectsPropertyStore_Vtbl { pub struct IAudioTreble(::windows::core::IUnknown); impl IAudioTreble { pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLevelRange(&self, nchannel: u32, pfminleveldb: *mut f32, pfmaxleveldb: *mut f32, pfstepping: *mut f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetLevelRange)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(pfminleveldb), ::core::mem::transmute(pfmaxleveldb), ::core::mem::transmute(pfstepping)).ok() } pub unsafe fn GetLevel(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLevel)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLevel(&self, nchannel: u32, fleveldb: f32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -5639,14 +5639,14 @@ pub struct IAudioVolumeDuckNotification_Vtbl { pub struct IAudioVolumeLevel(::windows::core::IUnknown); impl IAudioVolumeLevel { pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLevelRange(&self, nchannel: u32, pfminleveldb: *mut f32, pfmaxleveldb: *mut f32, pfstepping: *mut f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetLevelRange)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(pfminleveldb), ::core::mem::transmute(pfmaxleveldb), ::core::mem::transmute(pfstepping)).ok() } pub unsafe fn GetLevel(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLevel)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLevel(&self, nchannel: u32, fleveldb: f32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -5719,14 +5719,14 @@ pub struct IAudioVolumeLevel_Vtbl { pub struct IChannelAudioVolume(::windows::core::IUnknown); impl IChannelAudioVolume { pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannelVolume(&self, dwindex: u32, flevel: f32, eventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetChannelVolume)(::windows::core::Interface::as_raw(self), dwindex, flevel, ::core::mem::transmute(eventcontext)).ok() } pub unsafe fn GetChannelVolume(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelVolume)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllVolumes(&self, pfvolumes: &[f32], eventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -5786,11 +5786,11 @@ pub struct IChannelAudioVolume_Vtbl { pub struct IConnector(::windows::core::IUnknown); impl IConnector { pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConnectTo<'a, P0>(&self, pconnectto: P0) -> ::windows::core::Result<()> @@ -5805,19 +5805,19 @@ impl IConnector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnectedTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectedTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnectorIdConnectedTo(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectorIdConnectedTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDeviceIdConnectedTo(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceIdConnectedTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -5926,11 +5926,11 @@ pub struct IControlChangeNotify_Vtbl { pub struct IControlInterface(::windows::core::IUnknown); impl IControlInterface { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetIID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -5981,7 +5981,7 @@ pub struct IControlInterface_Vtbl { pub struct IDeviceSpecificProperty(::windows::core::IUnknown); impl IDeviceSpecificProperty { pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValue(&self, pvvalue: *mut ::core::ffi::c_void, pcbvalue: *mut u32) -> ::windows::core::Result<()> { @@ -6043,27 +6043,27 @@ pub struct IDeviceSpecificProperty_Vtbl { pub struct IDeviceTopology(::windows::core::IUnknown); impl IDeviceTopology { pub unsafe fn GetConnectorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnector(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnector)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubunitCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubunitCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubunit(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubunit)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPartById(&self, nid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartById)(::windows::core::Interface::as_raw(self), nid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6074,7 +6074,7 @@ impl IDeviceTopology { P1: ::std::convert::Into<::windows::core::InParam<'a, IPart>>, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignalPath)(::windows::core::Interface::as_raw(self), pipartfrom.into().abi(), pipartto.into().abi(), brejectmixedpaths.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6144,15 +6144,15 @@ impl IMMDevice { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn OpenPropertyStore(&self, stgmaccess: super::super::System::Com::StructuredStorage::STGM) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenPropertyStore)(::windows::core::Interface::as_raw(self), stgmaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6268,11 +6268,11 @@ pub struct IMMDeviceActivator_Vtbl { pub struct IMMDeviceCollection(::windows::core::IUnknown); impl IMMDeviceCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Item(&self, ndevice: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), ndevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6323,18 +6323,18 @@ pub struct IMMDeviceCollection_Vtbl { pub struct IMMDeviceEnumerator(::windows::core::IUnknown); impl IMMDeviceEnumerator { pub unsafe fn EnumAudioEndpoints(&self, dataflow: EDataFlow, dwstatemask: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumAudioEndpoints)(::windows::core::Interface::as_raw(self), dataflow, dwstatemask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultAudioEndpoint(&self, dataflow: EDataFlow, role: ERole) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultAudioEndpoint)(::windows::core::Interface::as_raw(self), dataflow, role, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDevice<'a, P0>(&self, pwstrid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), pwstrid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterEndpointNotificationCallback<'a, P0>(&self, pclient: P0) -> ::windows::core::Result<()> @@ -6400,7 +6400,7 @@ pub struct IMMDeviceEnumerator_Vtbl { pub struct IMMEndpoint(::windows::core::IUnknown); impl IMMEndpoint { pub unsafe fn GetDataFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6606,43 +6606,43 @@ pub struct IMessageFilter_Vtbl { pub struct IPart(::windows::core::IUnknown); impl IPart { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLocalId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlobalId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlobalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPartType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetControlInterfaceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetControlInterfaceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetControlInterface(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetControlInterface)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumPartsIncoming(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumPartsIncoming)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumPartsOutgoing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumPartsOutgoing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTopologyObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTopologyObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Activate(&self, dwclscontext: u32, refiid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -6719,11 +6719,11 @@ pub struct IPart_Vtbl { pub struct IPartsList(::windows::core::IUnknown); impl IPartsList { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPart(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPart)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6774,14 +6774,14 @@ pub struct IPartsList_Vtbl { pub struct IPerChannelDbLevel(::windows::core::IUnknown); impl IPerChannelDbLevel { pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLevelRange(&self, nchannel: u32, pfminleveldb: *mut f32, pfmaxleveldb: *mut f32, pfstepping: *mut f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLevelRange)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(pfminleveldb), ::core::mem::transmute(pfmaxleveldb), ::core::mem::transmute(pfstepping)).ok() } pub unsafe fn GetLevel(&self, nchannel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLevel)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLevel(&self, nchannel: u32, fleveldb: f32, pguideventcontext: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -6848,7 +6848,7 @@ impl ISimpleAudioVolume { (::windows::core::Interface::vtable(self).SetMasterVolume)(::windows::core::Interface::as_raw(self), flevel, ::core::mem::transmute(eventcontext)).ok() } pub unsafe fn GetMasterVolume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMasterVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6862,7 +6862,7 @@ impl ISimpleAudioVolume { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6924,19 +6924,19 @@ impl ISpatialAudioClient { (::windows::core::Interface::vtable(self).GetStaticObjectPosition)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(x), ::core::mem::transmute(y), ::core::mem::transmute(z)).ok() } pub unsafe fn GetNativeStaticObjectTypeMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNativeStaticObjectTypeMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxDynamicObjectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxDynamicObjectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedAudioObjectFormatEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedAudioObjectFormatEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxFrameCount(&self, objectformat: *const WAVEFORMATEX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxFrameCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(objectformat), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsAudioObjectFormatSupported(&self, objectformat: *const WAVEFORMATEX) -> ::windows::core::Result<()> { @@ -7019,19 +7019,19 @@ impl ISpatialAudioClient2 { (::windows::core::Interface::vtable(self).base__.GetStaticObjectPosition)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(x), ::core::mem::transmute(y), ::core::mem::transmute(z)).ok() } pub unsafe fn GetNativeStaticObjectTypeMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNativeStaticObjectTypeMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxDynamicObjectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxDynamicObjectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedAudioObjectFormatEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSupportedAudioObjectFormatEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxFrameCount(&self, objectformat: *const WAVEFORMATEX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxFrameCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(objectformat), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsAudioObjectFormatSupported(&self, objectformat: *const WAVEFORMATEX) -> ::windows::core::Result<()> { @@ -7054,7 +7054,7 @@ impl ISpatialAudioClient2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOffloadCapable(&self, category: AUDIO_STREAM_CATEGORY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOffloadCapable)(::windows::core::Interface::as_raw(self), category, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7063,7 +7063,7 @@ impl ISpatialAudioClient2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxFrameCountForCategory)(::windows::core::Interface::as_raw(self), category, offloadenabled.into(), ::core::mem::transmute(objectformat), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7138,19 +7138,19 @@ impl ISpatialAudioMetadataClient { (::windows::core::Interface::vtable(self).ActivateSpatialAudioMetadataItems)(::windows::core::Interface::as_raw(self), maxitemcount, framecount, ::core::mem::transmute(metadataitemsbuffer), ::core::mem::transmute(metadataitems)).ok() } pub unsafe fn GetSpatialAudioMetadataItemsBufferLength(&self, maxitemcount: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpatialAudioMetadataItemsBufferLength)(::windows::core::Interface::as_raw(self), maxitemcount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActivateSpatialAudioMetadataWriter(&self, overflowmode: SpatialAudioMetadataWriterOverflowMode) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateSpatialAudioMetadataWriter)(::windows::core::Interface::as_raw(self), overflowmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActivateSpatialAudioMetadataCopier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateSpatialAudioMetadataCopier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActivateSpatialAudioMetadataReader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateSpatialAudioMetadataReader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7213,7 +7213,7 @@ impl ISpatialAudioMetadataCopier { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISpatialAudioMetadataItems>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopyMetadataForFrames)(::windows::core::Interface::as_raw(self), copyframecount, copymode, dstmetadataitems.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -7268,23 +7268,23 @@ pub struct ISpatialAudioMetadataCopier_Vtbl { pub struct ISpatialAudioMetadataItems(::windows::core::IUnknown); impl ISpatialAudioMetadataItems { pub unsafe fn GetFrameCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxValueBufferLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxValueBufferLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7531,11 +7531,11 @@ impl ISpatialAudioObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAudioObjectType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAudioObjectType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPosition(&self, x: f32, y: f32, z: f32) -> ::windows::core::Result<()> { @@ -7615,11 +7615,11 @@ impl ISpatialAudioObjectBase { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAudioObjectType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioObjectType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7683,11 +7683,11 @@ impl ISpatialAudioObjectForHrtf { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAudioObjectType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAudioObjectType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPosition(&self, x: f32, y: f32, z: f32) -> ::windows::core::Result<()> { @@ -7783,11 +7783,11 @@ impl ISpatialAudioObjectForMetadataCommands { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAudioObjectType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAudioObjectType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteNextMetadataCommand(&self, commandid: u8, valuebuffer: *const ::core::ffi::c_void, valuebufferlength: u32) -> ::windows::core::Result<()> { @@ -7863,15 +7863,15 @@ impl ISpatialAudioObjectForMetadataItems { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAudioObjectType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAudioObjectType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSpatialAudioMetadataItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpatialAudioMetadataItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7936,7 +7936,7 @@ pub struct ISpatialAudioObjectForMetadataItems_Vtbl { pub struct ISpatialAudioObjectRenderStream(::windows::core::IUnknown); impl ISpatialAudioObjectRenderStream { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAvailableDynamicObjectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self) -> ::windows::core::Result @@ -7962,7 +7962,7 @@ impl ISpatialAudioObjectRenderStream { (::windows::core::Interface::vtable(self).base__.EndUpdatingAudioObjects)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ActivateSpatialAudioObject(&self, r#type: AudioObjectType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateSpatialAudioObject)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8027,7 +8027,7 @@ pub struct ISpatialAudioObjectRenderStream_Vtbl { pub struct ISpatialAudioObjectRenderStreamBase(::windows::core::IUnknown); impl ISpatialAudioObjectRenderStreamBase { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailableDynamicObjectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self) -> ::windows::core::Result @@ -8105,7 +8105,7 @@ pub struct ISpatialAudioObjectRenderStreamBase_Vtbl { pub struct ISpatialAudioObjectRenderStreamForHrtf(::windows::core::IUnknown); impl ISpatialAudioObjectRenderStreamForHrtf { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAvailableDynamicObjectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self) -> ::windows::core::Result @@ -8131,7 +8131,7 @@ impl ISpatialAudioObjectRenderStreamForHrtf { (::windows::core::Interface::vtable(self).base__.EndUpdatingAudioObjects)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ActivateSpatialAudioObjectForHrtf(&self, r#type: AudioObjectType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateSpatialAudioObjectForHrtf)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8196,7 +8196,7 @@ pub struct ISpatialAudioObjectRenderStreamForHrtf_Vtbl { pub struct ISpatialAudioObjectRenderStreamForMetadata(::windows::core::IUnknown); impl ISpatialAudioObjectRenderStreamForMetadata { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAvailableDynamicObjectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self) -> ::windows::core::Result @@ -8222,11 +8222,11 @@ impl ISpatialAudioObjectRenderStreamForMetadata { (::windows::core::Interface::vtable(self).base__.EndUpdatingAudioObjects)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ActivateSpatialAudioObjectForMetadataCommands(&self, r#type: AudioObjectType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateSpatialAudioObjectForMetadataCommands)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActivateSpatialAudioObjectForMetadataItems(&self, r#type: AudioObjectType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateSpatialAudioObjectForMetadataItems)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 63e25aeda8..a2f14b6f97 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs @@ -67,11 +67,11 @@ impl IMDSPDevice { (::windows::core::Interface::vtable(self).GetManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSerialNumber(&self, pserialnumber: *mut WMDMID, abmac: *mut u8) -> ::windows::core::Result<()> { @@ -81,15 +81,15 @@ impl IMDSPDevice { (::windows::core::Interface::vtable(self).GetPowerSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpowersource), ::core::mem::transmute(pdwpercentremaining)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -166,11 +166,11 @@ impl IMDSPDevice2 { (::windows::core::Interface::vtable(self).base__.GetManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSerialNumber(&self, pserialnumber: *mut WMDMID, abmac: *mut u8) -> ::windows::core::Result<()> { @@ -180,15 +180,15 @@ impl IMDSPDevice2 { (::windows::core::Interface::vtable(self).base__.GetPowerSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpowersource), ::core::mem::transmute(pdwpercentremaining)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDeviceIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -203,7 +203,7 @@ impl IMDSPDevice2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -296,11 +296,11 @@ impl IMDSPDevice3 { (::windows::core::Interface::vtable(self).base__.base__.GetManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSerialNumber(&self, pserialnumber: *mut WMDMID, abmac: *mut u8) -> ::windows::core::Result<()> { @@ -310,15 +310,15 @@ impl IMDSPDevice3 { (::windows::core::Interface::vtable(self).base__.base__.GetPowerSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpowersource), ::core::mem::transmute(pdwpercentremaining)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDeviceIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -333,7 +333,7 @@ impl IMDSPDevice3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -355,7 +355,7 @@ impl IMDSPDevice3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), pwszpropname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -369,7 +369,7 @@ impl IMDSPDevice3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetFormatCapability(&self, format: WMDM_FORMATCODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormatCapability)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceIoControl(&self, dwiocontrolcode: u32, lpinbuffer: &[u8], lpoutbuffer: *mut u8, pnoutbuffersize: *mut u32) -> ::windows::core::Result<()> { @@ -379,7 +379,7 @@ impl IMDSPDevice3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindStorage)(::windows::core::Interface::as_raw(self), findscope, pwszuniqueid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -472,11 +472,11 @@ pub struct IMDSPDevice3_Vtbl { pub struct IMDSPDeviceControl(::windows::core::IUnknown); impl IMDSPDeviceControl { pub unsafe fn GetDCStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDCStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Play(&self) -> ::windows::core::Result<()> { @@ -563,7 +563,7 @@ impl IMDSPDirectTransfer { P3: ::std::convert::Into<::windows::core::InParam<'a, IWMDMMetaData>>, P4: ::std::convert::Into<::windows::core::InParam<'a, IWMDMProgress>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransferToDevice)(::windows::core::Interface::as_raw(self), pwszsourcefilepath.into(), psourceoperation.into().abi(), fuflags, pwszdestinationname.into(), psourcemetadata.into().abi(), ptransferprogress.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -616,14 +616,14 @@ impl IMDSPEnumDevice { (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), celt, ::core::mem::transmute(ppdevice), ::core::mem::transmute(pceltfetched)).ok() } pub unsafe fn Skip(&self, celt: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -679,14 +679,14 @@ impl IMDSPEnumStorage { (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), celt, ::core::mem::transmute(ppstorage), ::core::mem::transmute(pceltfetched)).ok() } pub unsafe fn Skip(&self, celt: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -930,29 +930,29 @@ pub struct IMDSPObject2_Vtbl { pub struct IMDSPObjectInfo(::windows::core::IUnknown); impl IMDSPObjectInfo { pub unsafe fn GetPlayLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPlayLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPlayLength(&self, dwlength: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPlayLength)(::windows::core::Interface::as_raw(self), dwlength).ok() } pub unsafe fn GetPlayOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPlayOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPlayOffset(&self, dwoffset: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPlayOffset)(::windows::core::Interface::as_raw(self), dwoffset).ok() } pub unsafe fn GetTotalLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTotalLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastPlayPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastPlayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLongestPlayPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLongestPlayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1062,7 +1062,7 @@ impl IMDSPStorage { (::windows::core::Interface::vtable(self).SetAttributes)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetStorageGlobals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStorageGlobals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1074,7 +1074,7 @@ impl IMDSPStorage { (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> ::windows::core::Result<()> { @@ -1089,11 +1089,11 @@ impl IMDSPStorage { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStorage)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat), pwszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> ::windows::core::Result<()> { @@ -1169,7 +1169,7 @@ impl IMDSPStorage2 { (::windows::core::Interface::vtable(self).base__.SetAttributes)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetStorageGlobals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStorageGlobals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1181,7 +1181,7 @@ impl IMDSPStorage2 { (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> ::windows::core::Result<()> { @@ -1196,11 +1196,11 @@ impl IMDSPStorage2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStorage)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat), pwszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> ::windows::core::Result<()> { @@ -1210,7 +1210,7 @@ impl IMDSPStorage2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -1219,7 +1219,7 @@ impl IMDSPStorage2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStorage2)(::windows::core::Interface::as_raw(self), dwattributes, dwattributesex, ::core::mem::transmute(paudioformat), ::core::mem::transmute(pvideoformat), pwszname.into(), qwfilesize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -1311,7 +1311,7 @@ impl IMDSPStorage3 { (::windows::core::Interface::vtable(self).base__.base__.SetAttributes)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetStorageGlobals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStorageGlobals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1323,7 +1323,7 @@ impl IMDSPStorage3 { (::windows::core::Interface::vtable(self).base__.base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> ::windows::core::Result<()> { @@ -1338,11 +1338,11 @@ impl IMDSPStorage3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateStorage)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat), pwszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> ::windows::core::Result<()> { @@ -1352,7 +1352,7 @@ impl IMDSPStorage3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -1361,7 +1361,7 @@ impl IMDSPStorage3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStorage2)(::windows::core::Interface::as_raw(self), dwattributes, dwattributesex, ::core::mem::transmute(paudioformat), ::core::mem::transmute(pvideoformat), pwszname.into(), qwfilesize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -1469,7 +1469,7 @@ impl IMDSPStorage4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetAttributes)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetStorageGlobals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetStorageGlobals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1481,7 +1481,7 @@ impl IMDSPStorage4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> ::windows::core::Result<()> { @@ -1496,11 +1496,11 @@ impl IMDSPStorage4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateStorage)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat), pwszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> ::windows::core::Result<()> { @@ -1510,7 +1510,7 @@ impl IMDSPStorage4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -1519,7 +1519,7 @@ impl IMDSPStorage4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateStorage2)(::windows::core::Interface::as_raw(self), dwattributes, dwattributesex, ::core::mem::transmute(paudioformat), ::core::mem::transmute(pvideoformat), pwszname.into(), qwfilesize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -1555,7 +1555,7 @@ impl IMDSPStorage4 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWMDMMetaData>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStorageWithMetadata)(::windows::core::Interface::as_raw(self), dwattributes, pwszname.into(), pmetadata.into().abi(), qwfilesize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSpecifiedMetadata<'a, P0>(&self, ppwszpropnames: &[::windows::core::PWSTR], pmetadata: P0) -> ::windows::core::Result<()> @@ -1568,11 +1568,11 @@ impl IMDSPStorage4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindStorage)(::windows::core::Interface::as_raw(self), findscope, pwszuniqueid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1672,7 +1672,7 @@ pub struct IMDSPStorage4_Vtbl { pub struct IMDSPStorageGlobals(::windows::core::IUnknown); impl IMDSPStorageGlobals { pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSerialNumber(&self, pserialnum: *mut WMDMID, abmac: *mut u8) -> ::windows::core::Result<()> { @@ -1688,7 +1688,7 @@ impl IMDSPStorageGlobals { (::windows::core::Interface::vtable(self).GetTotalBad)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwbadlow), ::core::mem::transmute(pdwbadhigh)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize<'a, P0>(&self, fumode: u32, pprogress: P0) -> ::windows::core::Result<()> @@ -1698,11 +1698,11 @@ impl IMDSPStorageGlobals { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), fumode, pprogress.into().abi()).ok() } pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1760,11 +1760,11 @@ pub struct IMDSPStorageGlobals_Vtbl { pub struct IMDServiceProvider(::windows::core::IUnknown); impl IMDServiceProvider { pub unsafe fn GetDeviceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1815,11 +1815,11 @@ pub struct IMDServiceProvider_Vtbl { pub struct IMDServiceProvider2(::windows::core::IUnknown); impl IMDServiceProvider2 { pub unsafe fn GetDeviceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDeviceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDevice<'a, P0>(&self, pwszdevicepath: P0, pdwcount: *mut u32, pppdevicearray: *mut *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -1890,11 +1890,11 @@ pub struct IMDServiceProvider2_Vtbl { pub struct IMDServiceProvider3(::windows::core::IUnknown); impl IMDServiceProvider3 { pub unsafe fn GetDeviceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDeviceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDevice<'a, P0>(&self, pwszdevicepath: P0, pdwcount: *mut u32, pppdevicearray: *mut *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -1985,7 +1985,7 @@ pub const IOCTL_MTP_CUSTOM_COMMAND: u32 = 827348045u32; pub struct ISCPSecureAuthenticate(::windows::core::IUnknown); impl ISCPSecureAuthenticate { pub unsafe fn GetSecureQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecureQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2035,11 +2035,11 @@ pub struct ISCPSecureAuthenticate_Vtbl { pub struct ISCPSecureAuthenticate2(::windows::core::IUnknown); impl ISCPSecureAuthenticate2 { pub unsafe fn GetSecureQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSecureQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSCPSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSCPSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2256,7 +2256,7 @@ impl ISCPSecureExchange3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IMDSPDevice>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWMDMProgress3>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransferContainerDataOnClearChannel)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(::windows::core::as_ptr_or_null(pdata)), pdata.len() as _, pprogresscallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetObjectDataOnClearChannel<'a, P0>(&self, pdevice: P0, pdata: *mut u8, pdwsize: *mut u32) -> ::windows::core::Result<()> @@ -2701,7 +2701,7 @@ impl ISCPSession { (::windows::core::Interface::vtable(self).EndSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pctx)), pctx.len() as _).ok() } pub unsafe fn GetSecureQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecureQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2759,11 +2759,11 @@ impl IWMDMDevice { (::windows::core::Interface::vtable(self).GetManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSerialNumber(&self, pserialnumber: *mut WMDMID, abmac: *mut u8) -> ::windows::core::Result<()> { @@ -2773,15 +2773,15 @@ impl IWMDMDevice { (::windows::core::Interface::vtable(self).GetPowerSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpowersource), ::core::mem::transmute(pdwpercentremaining)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2858,11 +2858,11 @@ impl IWMDMDevice2 { (::windows::core::Interface::vtable(self).base__.GetManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSerialNumber(&self, pserialnumber: *mut WMDMID, abmac: *mut u8) -> ::windows::core::Result<()> { @@ -2872,15 +2872,15 @@ impl IWMDMDevice2 { (::windows::core::Interface::vtable(self).base__.GetPowerSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpowersource), ::core::mem::transmute(pdwpercentremaining)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDeviceIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -2895,7 +2895,7 @@ impl IWMDMDevice2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -2988,11 +2988,11 @@ impl IWMDMDevice3 { (::windows::core::Interface::vtable(self).base__.base__.GetManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSerialNumber(&self, pserialnumber: *mut WMDMID, abmac: *mut u8) -> ::windows::core::Result<()> { @@ -3002,15 +3002,15 @@ impl IWMDMDevice3 { (::windows::core::Interface::vtable(self).base__.base__.GetPowerSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpowersource), ::core::mem::transmute(pdwpercentremaining)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDeviceIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -3025,7 +3025,7 @@ impl IWMDMDevice3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -3047,7 +3047,7 @@ impl IWMDMDevice3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), pwszpropname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3061,7 +3061,7 @@ impl IWMDMDevice3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetFormatCapability(&self, format: WMDM_FORMATCODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormatCapability)(::windows::core::Interface::as_raw(self), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceIoControl(&self, dwiocontrolcode: u32, lpinbuffer: &[u8], lpoutbuffer: *mut u8, pnoutbuffersize: *mut u32) -> ::windows::core::Result<()> { @@ -3071,7 +3071,7 @@ impl IWMDMDevice3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindStorage)(::windows::core::Interface::as_raw(self), findscope, pwszuniqueid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3164,11 +3164,11 @@ pub struct IWMDMDevice3_Vtbl { pub struct IWMDMDeviceControl(::windows::core::IUnknown); impl IWMDMDeviceControl { pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Play(&self) -> ::windows::core::Result<()> { @@ -3304,14 +3304,14 @@ impl IWMDMEnumDevice { (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), celt, ::core::mem::transmute(ppdevice), ::core::mem::transmute(pceltfetched)).ok() } pub unsafe fn Skip(&self, celt: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3367,14 +3367,14 @@ impl IWMDMEnumStorage { (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), celt, ::core::mem::transmute(ppstorage), ::core::mem::transmute(pceltfetched)).ok() } pub unsafe fn Skip(&self, celt: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3429,7 +3429,7 @@ impl IWMDMLogger { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3548,7 +3548,7 @@ impl IWMDMMetaData { (::windows::core::Interface::vtable(self).QueryByIndex)(::windows::core::Interface::as_raw(self), iindex, ::core::mem::transmute(ppwszname), ::core::mem::transmute(ptype), ::core::mem::transmute(ppvalue), ::core::mem::transmute(pcblength)).ok() } pub unsafe fn GetItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3653,29 +3653,29 @@ pub struct IWMDMNotification_Vtbl { pub struct IWMDMObjectInfo(::windows::core::IUnknown); impl IWMDMObjectInfo { pub unsafe fn GetPlayLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPlayLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPlayLength(&self, dwlength: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPlayLength)(::windows::core::Interface::as_raw(self), dwlength).ok() } pub unsafe fn GetPlayOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPlayOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPlayOffset(&self, dwoffset: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPlayOffset)(::windows::core::Interface::as_raw(self), dwoffset).ok() } pub unsafe fn GetTotalLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTotalLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastPlayPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastPlayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLongestPlayPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLongestPlayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4328,7 +4328,7 @@ impl IWMDMStorage { (::windows::core::Interface::vtable(self).SetAttributes)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetStorageGlobals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStorageGlobals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -4340,7 +4340,7 @@ impl IWMDMStorage { (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> ::windows::core::Result<()> { @@ -4350,7 +4350,7 @@ impl IWMDMStorage { (::windows::core::Interface::vtable(self).GetRights)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pprights), ::core::mem::transmute(pnrightscount), ::core::mem::transmute(abmac)).ok() } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> ::windows::core::Result<()> { @@ -4422,7 +4422,7 @@ impl IWMDMStorage2 { (::windows::core::Interface::vtable(self).base__.SetAttributes)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetStorageGlobals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStorageGlobals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -4434,7 +4434,7 @@ impl IWMDMStorage2 { (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> ::windows::core::Result<()> { @@ -4444,7 +4444,7 @@ impl IWMDMStorage2 { (::windows::core::Interface::vtable(self).base__.GetRights)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pprights), ::core::mem::transmute(pnrightscount), ::core::mem::transmute(abmac)).ok() } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> ::windows::core::Result<()> { @@ -4454,7 +4454,7 @@ impl IWMDMStorage2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -4542,7 +4542,7 @@ impl IWMDMStorage3 { (::windows::core::Interface::vtable(self).base__.base__.SetAttributes)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetStorageGlobals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStorageGlobals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -4554,7 +4554,7 @@ impl IWMDMStorage3 { (::windows::core::Interface::vtable(self).base__.base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> ::windows::core::Result<()> { @@ -4564,7 +4564,7 @@ impl IWMDMStorage3 { (::windows::core::Interface::vtable(self).base__.base__.GetRights)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pprights), ::core::mem::transmute(pnrightscount), ::core::mem::transmute(abmac)).ok() } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> ::windows::core::Result<()> { @@ -4574,7 +4574,7 @@ impl IWMDMStorage3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -4588,7 +4588,7 @@ impl IWMDMStorage3 { (::windows::core::Interface::vtable(self).base__.GetAttributes2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwattributes), ::core::mem::transmute(pdwattributesex), ::core::mem::transmute(paudioformat), ::core::mem::transmute(pvideoformat)).ok() } pub unsafe fn GetMetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMetadata<'a, P0>(&self, pmetadata: P0) -> ::windows::core::Result<()> @@ -4598,7 +4598,7 @@ impl IWMDMStorage3 { (::windows::core::Interface::vtable(self).SetMetadata)(::windows::core::Interface::as_raw(self), pmetadata.into().abi()).ok() } pub unsafe fn CreateEmptyMetadataObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEmptyMetadataObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnumPreference(&self, pmode: *mut WMDM_STORAGE_ENUM_MODE, pviews: &[WMDMMetadataView]) -> ::windows::core::Result<()> { @@ -4689,7 +4689,7 @@ impl IWMDMStorage4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetAttributes)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetStorageGlobals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetStorageGlobals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -4701,7 +4701,7 @@ impl IWMDMStorage4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwszname)), pwszname.len() as _).ok() } pub unsafe fn GetDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> ::windows::core::Result<()> { @@ -4711,7 +4711,7 @@ impl IWMDMStorage4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetRights)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pprights), ::core::mem::transmute(pnrightscount), ::core::mem::transmute(abmac)).ok() } pub unsafe fn EnumStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> ::windows::core::Result<()> { @@ -4721,7 +4721,7 @@ impl IWMDMStorage4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStorage)(::windows::core::Interface::as_raw(self), pszstoragename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -4735,7 +4735,7 @@ impl IWMDMStorage4 { (::windows::core::Interface::vtable(self).base__.base__.GetAttributes2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwattributes), ::core::mem::transmute(pdwattributesex), ::core::mem::transmute(paudioformat), ::core::mem::transmute(pvideoformat)).ok() } pub unsafe fn GetMetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMetadata<'a, P0>(&self, pmetadata: P0) -> ::windows::core::Result<()> @@ -4745,7 +4745,7 @@ impl IWMDMStorage4 { (::windows::core::Interface::vtable(self).base__.SetMetadata)(::windows::core::Interface::as_raw(self), pmetadata.into().abi()).ok() } pub unsafe fn CreateEmptyMetadataObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEmptyMetadataObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnumPreference(&self, pmode: *mut WMDM_STORAGE_ENUM_MODE, pviews: &[WMDMMetadataView]) -> ::windows::core::Result<()> { @@ -4764,18 +4764,18 @@ impl IWMDMStorage4 { (::windows::core::Interface::vtable(self).GetRightsWithProgress)(::windows::core::Interface::as_raw(self), piprogresscallback.into().abi(), ::core::mem::transmute(pprights), ::core::mem::transmute(pnrightscount)).ok() } pub unsafe fn GetSpecifiedMetadata(&self, ppwszpropnames: &[::windows::core::PWSTR]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpecifiedMetadata)(::windows::core::Interface::as_raw(self), ppwszpropnames.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppwszpropnames)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindStorage<'a, P0>(&self, findscope: WMDM_FIND_SCOPE, pwszuniqueid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindStorage)(::windows::core::Interface::as_raw(self), findscope, pwszuniqueid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4880,7 +4880,7 @@ impl IWMDMStorageControl { P1: ::std::convert::Into<::windows::core::InParam<'a, IWMDMOperation>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IWMDMProgress>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Insert)(::windows::core::Interface::as_raw(self), fumode, pwszfile.into(), poperation.into().abi(), pprogress.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete<'a, P0>(&self, fumode: u32, pprogress: P0) -> ::windows::core::Result<()> @@ -4967,7 +4967,7 @@ impl IWMDMStorageControl2 { P1: ::std::convert::Into<::windows::core::InParam<'a, IWMDMOperation>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IWMDMProgress>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Insert)(::windows::core::Interface::as_raw(self), fumode, pwszfile.into(), poperation.into().abi(), pprogress.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete<'a, P0>(&self, fumode: u32, pprogress: P0) -> ::windows::core::Result<()> @@ -5075,7 +5075,7 @@ impl IWMDMStorageControl3 { P1: ::std::convert::Into<::windows::core::InParam<'a, IWMDMOperation>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IWMDMProgress>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Insert)(::windows::core::Interface::as_raw(self), fumode, pwszfile.into(), poperation.into().abi(), pprogress.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete<'a, P0>(&self, fumode: u32, pprogress: P0) -> ::windows::core::Result<()> @@ -5204,7 +5204,7 @@ pub struct IWMDMStorageControl3_Vtbl { pub struct IWMDMStorageGlobals(::windows::core::IUnknown); impl IWMDMStorageGlobals { pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSerialNumber(&self, pserialnum: *mut WMDMID, abmac: *mut u8) -> ::windows::core::Result<()> { @@ -5220,7 +5220,7 @@ impl IWMDMStorageGlobals { (::windows::core::Interface::vtable(self).GetTotalBad)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwbadlow), ::core::mem::transmute(pdwbadhigh)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize<'a, P0>(&self, fumode: u32, pprogress: P0) -> ::windows::core::Result<()> @@ -5282,15 +5282,15 @@ pub struct IWMDMStorageGlobals_Vtbl { pub struct IWMDeviceManager(::windows::core::IUnknown); impl IWMDeviceManager { pub unsafe fn GetRevision(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRevision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5342,26 +5342,26 @@ pub struct IWMDeviceManager_Vtbl { pub struct IWMDeviceManager2(::windows::core::IUnknown); impl IWMDeviceManager2 { pub unsafe fn GetRevision(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRevision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDeviceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceFromCanonicalName<'a, P0>(&self, pwszcanonicalname: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceFromCanonicalName)(::windows::core::Interface::as_raw(self), pwszcanonicalname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDevices2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDevices2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reinitialize(&self) -> ::windows::core::Result<()> { @@ -5431,26 +5431,26 @@ pub struct IWMDeviceManager2_Vtbl { pub struct IWMDeviceManager3(::windows::core::IUnknown); impl IWMDeviceManager3 { pub unsafe fn GetRevision(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRevision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDeviceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceFromCanonicalName<'a, P0>(&self, pwszcanonicalname: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDeviceFromCanonicalName)(::windows::core::Interface::as_raw(self), pwszcanonicalname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDevices2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumDevices2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reinitialize(&self) -> ::windows::core::Result<()> { 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 f41cf91aa5..7c23ac26d9 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs @@ -13205,36 +13205,36 @@ impl ::core::fmt::Debug for HierarchyAlpha { pub struct IAMAnalogVideoDecoder(::windows::core::IUnknown); impl IAMAnalogVideoDecoder { pub unsafe fn AvailableTVFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvailableTVFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTVFormat(&self, lanalogvideostandard: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTVFormat)(::windows::core::Interface::as_raw(self), lanalogvideostandard).ok() } pub unsafe fn TVFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TVFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HorizontalLocked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HorizontalLocked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVCRHorizontalLocking(&self, lvcrhorizontallocking: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVCRHorizontalLocking)(::windows::core::Interface::as_raw(self), lvcrhorizontallocking).ok() } pub unsafe fn VCRHorizontalLocking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VCRHorizontalLocking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfLines(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfLines)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputEnable(&self, loutputenable: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOutputEnable)(::windows::core::Interface::as_raw(self), loutputenable).ok() } pub unsafe fn OutputEnable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputEnable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13292,28 +13292,28 @@ pub struct IAMAnalogVideoDecoder_Vtbl { pub struct IAMAnalogVideoEncoder(::windows::core::IUnknown); impl IAMAnalogVideoEncoder { pub unsafe fn AvailableTVFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvailableTVFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTVFormat(&self, lanalogvideostandard: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTVFormat)(::windows::core::Interface::as_raw(self), lanalogvideostandard).ok() } pub unsafe fn TVFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TVFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCopyProtection(&self, lvideocopyprotection: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCopyProtection)(::windows::core::Interface::as_raw(self), lvideocopyprotection).ok() } pub unsafe fn CopyProtection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopyProtection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCCEnable(&self, lccenable: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCCEnable)(::windows::core::Interface::as_raw(self), lccenable).ok() } pub unsafe fn CCEnable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CCEnable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13371,7 +13371,7 @@ impl IAMAsyncReaderTimestampScaling { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimestampMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimestampMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13446,7 +13446,7 @@ impl IAMAudioInputMixer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Enable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13460,21 +13460,21 @@ impl IAMAudioInputMixer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Mono(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Mono)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMixLevel(&self, level: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMixLevel)(::windows::core::Interface::as_raw(self), level).ok() } pub unsafe fn MixLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MixLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPan(&self, pan: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPan)(::windows::core::Interface::as_raw(self), pan).ok() } pub unsafe fn Pan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13488,29 +13488,29 @@ impl IAMAudioInputMixer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Loudness(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Loudness)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTreble(&self, treble: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTreble)(::windows::core::Interface::as_raw(self), treble).ok() } pub unsafe fn Treble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Treble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TrebleRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrebleRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBass(&self, bass: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBass)(::windows::core::Interface::as_raw(self), bass).ok() } pub unsafe fn Bass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Bass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BassRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BassRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13645,7 +13645,7 @@ impl IAMBufferNegotiation { (::windows::core::Interface::vtable(self).SuggestAllocatorProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pprop)).ok() } pub unsafe fn GetAllocatorProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocatorProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13762,7 +13762,7 @@ impl IAMCertifiedOutputProtection { (::windows::core::Interface::vtable(self).ProtectionCommand)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cmd)).ok() } pub unsafe fn ProtectionStatus(&self, pstatusinput: *const AMCOPPStatusInput) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProtectionStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstatusinput), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13995,7 +13995,7 @@ impl IAMClockSlave { (::windows::core::Interface::vtable(self).SetErrorTolerance)(::windows::core::Interface::as_raw(self), dwtolerance).ok() } pub unsafe fn GetErrorTolerance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorTolerance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14048,15 +14048,15 @@ pub struct IAMCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Item(&self, litem: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), litem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -14193,7 +14193,7 @@ impl IAMCrossbar { (::windows::core::Interface::vtable(self).Route)(::windows::core::Interface::as_raw(self), outputpinindex, inputpinindex).ok() } pub unsafe fn get_IsRoutedTo(&self, outputpinindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_IsRoutedTo)(::windows::core::Interface::as_raw(self), outputpinindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14258,7 +14258,7 @@ pub struct IAMCrossbar_Vtbl { pub struct IAMDecoderCaps(::windows::core::IUnknown); impl IAMDecoderCaps { pub unsafe fn GetDecoderCaps(&self, dwcapindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDecoderCaps)(::windows::core::Interface::as_raw(self), dwcapindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14382,7 +14382,7 @@ impl IAMDevMemoryControl { (::windows::core::Interface::vtable(self).WriteSync)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDevId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14493,19 +14493,19 @@ impl IAMDirectSound { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[cfg(feature = "Win32_Media_Audio_DirectSound")] pub unsafe fn GetDirectSoundInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDirectSoundInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[cfg(feature = "Win32_Media_Audio_DirectSound")] pub unsafe fn GetPrimaryBufferInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrimaryBufferInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[cfg(feature = "Win32_Media_Audio_DirectSound")] pub unsafe fn GetSecondaryBufferInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecondaryBufferInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] @@ -14624,18 +14624,18 @@ pub struct IAMDirectSound_Vtbl { pub struct IAMDroppedFrames(::windows::core::IUnknown); impl IAMDroppedFrames { pub unsafe fn GetNumDropped(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumDropped)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumNotDropped(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumNotDropped)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDroppedInfo(&self, lsize: i32, plarray: *mut i32, plnumcopied: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetDroppedInfo)(::windows::core::Interface::as_raw(self), lsize, ::core::mem::transmute(plarray), ::core::mem::transmute(plnumcopied)).ok() } pub unsafe fn GetAverageFrameSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAverageFrameSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14691,29 +14691,29 @@ impl IAMExtDevice { (::windows::core::Interface::vtable(self).GetCapability)(::windows::core::Interface::as_raw(self), capability, ::core::mem::transmute(pvalue), ::core::mem::transmute(pdblvalue)).ok() } pub unsafe fn ExternalDeviceID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExternalDeviceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn ExternalDeviceVersion(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExternalDeviceVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDevicePower(&self, powermode: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDevicePower)(::windows::core::Interface::as_raw(self), powermode).ok() } pub unsafe fn DevicePower(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DevicePower)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Calibrate(&self, hevent: usize, mode: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Calibrate)(::windows::core::Interface::as_raw(self), hevent, mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDevicePort(&self, deviceport: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDevicePort)(::windows::core::Interface::as_raw(self), deviceport).ok() } pub unsafe fn DevicePort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DevicePort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14776,18 +14776,18 @@ impl IAMExtTransport { (::windows::core::Interface::vtable(self).SetMediaState)(::windows::core::Interface::as_raw(self), state).ok() } pub unsafe fn MediaState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocalControl(&self, state: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLocalControl)(::windows::core::Interface::as_raw(self), state).ok() } pub unsafe fn LocalControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self, statusitem: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), statusitem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransportBasicParameters(&self, param: i32, pvalue: *mut i32, ppszdata: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { @@ -14800,14 +14800,14 @@ impl IAMExtTransport { (::windows::core::Interface::vtable(self).SetTransportBasicParameters)(::windows::core::Interface::as_raw(self), param, value, pszdata.into()).ok() } pub unsafe fn GetTransportVideoParameters(&self, param: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportVideoParameters)(::windows::core::Interface::as_raw(self), param, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransportVideoParameters(&self, param: i32, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTransportVideoParameters)(::windows::core::Interface::as_raw(self), param, value).ok() } pub unsafe fn GetTransportAudioParameters(&self, param: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportAudioParameters)(::windows::core::Interface::as_raw(self), param, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransportAudioParameters(&self, param: i32, value: i32) -> ::windows::core::Result<()> { @@ -14817,14 +14817,14 @@ impl IAMExtTransport { (::windows::core::Interface::vtable(self).SetMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn Mode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRate(&self, dblrate: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRate)(::windows::core::Interface::as_raw(self), dblrate).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChase(&self, penabled: *mut i32, poffset: *mut i32, phevent: *mut usize) -> ::windows::core::Result<()> { @@ -14840,28 +14840,28 @@ impl IAMExtTransport { (::windows::core::Interface::vtable(self).SetBump)(::windows::core::Interface::as_raw(self), speed, duration).ok() } pub unsafe fn AntiClogControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AntiClogControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAntiClogControl(&self, enable: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAntiClogControl)(::windows::core::Interface::as_raw(self), enable).ok() } pub unsafe fn GetEditPropertySet(&self, editid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEditPropertySet)(::windows::core::Interface::as_raw(self), editid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEditPropertySet(&self, peditid: *mut i32, state: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEditPropertySet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(peditid), state).ok() } pub unsafe fn GetEditProperty(&self, editid: i32, param: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEditProperty)(::windows::core::Interface::as_raw(self), editid, param, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEditProperty(&self, editid: i32, param: i32, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEditProperty)(::windows::core::Interface::as_raw(self), editid, param, value).ok() } pub unsafe fn EditStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EditStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEditStart(&self, value: i32) -> ::windows::core::Result<()> { @@ -15377,7 +15377,7 @@ pub struct IAMGraphStreams_Vtbl { pub struct IAMLatency(::windows::core::IUnknown); impl IAMLatency { pub unsafe fn GetLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15832,7 +15832,7 @@ pub struct IAMMediaContent2_Vtbl { pub struct IAMMediaStream(::windows::core::IUnknown); impl IAMMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMultiMediaStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInformation(&self, ppurposeid: *mut ::windows::core::GUID, ptype: *mut STREAM_TYPE) -> ::windows::core::Result<()> { @@ -15845,14 +15845,14 @@ impl IAMMediaStream { (::windows::core::Interface::vtable(self).base__.SetSameFormat)(::windows::core::Interface::as_raw(self), pstreamthathasdesiredformat.into().abi(), dwflags).ok() } pub unsafe fn AllocateSample(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllocateSample)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSharedSample<'a, P0>(&self, pexistingsample: P0, dwflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IStreamSample>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSharedSample)(::windows::core::Interface::as_raw(self), pexistingsample.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendEndOfStream(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -15979,7 +15979,7 @@ impl IAMMediaTypeSample { (::windows::core::Interface::vtable(self).SetPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pbuffer)), pbuffer.len() as _).ok() } pub unsafe fn GetPointer(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetSize(&self) -> i32 { @@ -16022,7 +16022,7 @@ impl IAMMediaTypeSample { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn GetMediaType(&self) -> ::windows::core::Result<*mut super::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::MediaFoundation::AM_MEDIA_TYPE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::MediaFoundation::AM_MEDIA_TYPE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -16140,7 +16140,7 @@ pub struct IAMMediaTypeSample_Vtbl { pub struct IAMMediaTypeStream(::windows::core::IUnknown); impl IAMMediaTypeStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMultiMediaStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInformation(&self, ppurposeid: *mut ::windows::core::GUID, ptype: *mut STREAM_TYPE) -> ::windows::core::Result<()> { @@ -16153,14 +16153,14 @@ impl IAMMediaTypeStream { (::windows::core::Interface::vtable(self).base__.SetSameFormat)(::windows::core::Interface::as_raw(self), pstreamthathasdesiredformat.into().abi(), dwflags).ok() } pub unsafe fn AllocateSample(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllocateSample)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSharedSample<'a, P0>(&self, pexistingsample: P0, dwflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IStreamSample>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSharedSample)(::windows::core::Interface::as_raw(self), pexistingsample.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendEndOfStream(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -16180,11 +16180,11 @@ impl IAMMediaTypeStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSample)(::windows::core::Interface::as_raw(self), lsamplesize, ::core::mem::transmute(pbbuffer), dwflags, punkouter.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamAllocatorRequirements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamAllocatorRequirements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamAllocatorRequirements(&self, pprops: *const ALLOCATOR_PROPERTIES) -> ::windows::core::Result<()> { @@ -16265,26 +16265,26 @@ impl IAMMultiMediaStream { (::windows::core::Interface::vtable(self).base__.GetInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwflags), ::core::mem::transmute(pstreamtype)).ok() } pub unsafe fn GetMediaStream(&self, idpurpose: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMediaStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(idpurpose), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumMediaStreams(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumMediaStreams)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, newstate: STREAM_STATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetState)(::windows::core::Interface::as_raw(self), newstate).ok() } pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Seek(&self, seektime: i64) -> ::windows::core::Result<()> { @@ -16293,7 +16293,7 @@ impl IAMMultiMediaStream { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEndOfStreamEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEndOfStreamEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize<'a, P0>(&self, streamtype: STREAM_TYPE, dwflags: AMMSF_MMS_INIT_FLAGS, pfiltergraph: P0) -> ::windows::core::Result<()> @@ -16303,20 +16303,20 @@ impl IAMMultiMediaStream { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), streamtype, dwflags, pfiltergraph.into().abi()).ok() } pub unsafe fn GetFilterGraph(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilterGraph)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddMediaStream<'a, P0>(&self, pstreamobject: P0, purposeid: *const ::windows::core::GUID, dwflags: AMMSF_MS_FLAGS) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddMediaStream)(::windows::core::Interface::as_raw(self), pstreamobject.into().abi(), ::core::mem::transmute(purposeid), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenFile<'a, P0>(&self, pszfilename: P0, dwflags: u32) -> ::windows::core::Result<()> @@ -16953,14 +16953,14 @@ pub struct IAMOpenProgress_Vtbl { pub struct IAMOverlayFX(::windows::core::IUnknown); impl IAMOverlayFX { pub unsafe fn QueryOverlayFXCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryOverlayFXCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverlayFX(&self, dwoverlayfx: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOverlayFX)(::windows::core::Interface::as_raw(self), dwoverlayfx).ok() } pub unsafe fn GetOverlayFX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOverlayFX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17012,7 +17012,7 @@ pub struct IAMOverlayFX_Vtbl { pub struct IAMParse(::windows::core::IUnknown); impl IAMParse { pub unsafe fn GetParseTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParseTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParseTime(&self, rtcurrent: i64) -> ::windows::core::Result<()> { @@ -17119,15 +17119,15 @@ pub struct IAMPhysicalPinInfo_Vtbl { pub struct IAMPlayList(::windows::core::IUnknown); impl IAMPlayList { pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItem(&self, dwitemindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), dwitemindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNamedEvent<'a, P0>(&self, pwszeventname: P0, dwitemindex: u32, ppitem: *mut ::core::option::Option, pdwflags: *mut u32) -> ::windows::core::Result<()> @@ -17190,55 +17190,55 @@ pub struct IAMPlayList_Vtbl { pub struct IAMPlayListItem(::windows::core::IUnknown); impl IAMPlayListItem { pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceURL(&self, dwsourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceURL)(::windows::core::Interface::as_raw(self), dwsourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceStart(&self, dwsourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceStart)(::windows::core::Interface::as_raw(self), dwsourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceDuration(&self, dwsourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceDuration)(::windows::core::Interface::as_raw(self), dwsourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceStartMarker(&self, dwsourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceStartMarker)(::windows::core::Interface::as_raw(self), dwsourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceEndMarker(&self, dwsourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceEndMarker)(::windows::core::Interface::as_raw(self), dwsourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceStartMarkerName(&self, dwsourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceStartMarkerName)(::windows::core::Interface::as_raw(self), dwsourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceEndMarkerName(&self, dwsourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceEndMarkerName)(::windows::core::Interface::as_raw(self), dwsourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLinkURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLinkURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScanDuration(&self, dwsourceindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScanDuration)(::windows::core::Interface::as_raw(self), dwsourceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17310,7 +17310,7 @@ pub struct IAMPlayListItem_Vtbl { pub struct IAMPluginControl(::windows::core::IUnknown); impl IAMPluginControl { pub unsafe fn GetPreferredClsid(&self, subtype: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreferredClsid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(subtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetPreferredClsidByIndex(&self, index: u32, subtype: *mut ::windows::core::GUID, clsid: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -17323,7 +17323,7 @@ impl IAMPluginControl { (::windows::core::Interface::vtable(self).IsDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsid)).ok() } pub unsafe fn GetDisabledByIndex(&self, index: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisabledByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17396,11 +17396,11 @@ pub struct IAMPluginControl_Vtbl { pub struct IAMPushSource(::windows::core::IUnknown); impl IAMPushSource { pub unsafe fn GetLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPushSourceFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPushSourceFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPushSourceFlags(&self, flags: u32) -> ::windows::core::Result<()> { @@ -17410,11 +17410,11 @@ impl IAMPushSource { (::windows::core::Interface::vtable(self).SetStreamOffset)(::windows::core::Interface::as_raw(self), rtoffset).ok() } pub unsafe fn GetStreamOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStreamOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxStreamOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxStreamOffset(&self, rtmaxoffset: i64) -> ::windows::core::Result<()> { @@ -17590,7 +17590,7 @@ impl IAMStats { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17612,7 +17612,7 @@ impl IAMStats { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndex)(::windows::core::Interface::as_raw(self), szname.into().abi(), lcreate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddValue(&self, lindex: i32, dvalue: f64) -> ::windows::core::Result<()> { @@ -17713,7 +17713,7 @@ impl IAMStreamConfig { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn GetFormat(&self) -> ::windows::core::Result<*mut super::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::MediaFoundation::AM_MEDIA_TYPE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::MediaFoundation::AM_MEDIA_TYPE>(result__) } pub unsafe fn GetNumberOfCapabilities(&self, picount: *mut i32, pisize: *mut i32) -> ::windows::core::Result<()> { @@ -17794,7 +17794,7 @@ impl IAMStreamControl { (::windows::core::Interface::vtable(self).StopAt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptstop), bsendextra.into(), dwcookie).ok() } pub unsafe fn GetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17849,7 +17849,7 @@ pub struct IAMStreamControl_Vtbl { pub struct IAMStreamSelect(::windows::core::IUnknown); impl IAMStreamSelect { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -17912,15 +17912,15 @@ pub struct IAMStreamSelect_Vtbl { pub struct IAMTVAudio(::windows::core::IUnknown); impl IAMTVAudio { pub unsafe fn GetHardwareSupportedTVAudioModes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHardwareSupportedTVAudioModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAvailableTVAudioModes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailableTVAudioModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TVAudioMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TVAudioMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTVAudioMode(&self, lmode: i32) -> ::windows::core::Result<()> { @@ -18051,14 +18051,14 @@ impl IAMTVTuner { (::windows::core::Interface::vtable(self).base__.SetCountryCode)(::windows::core::Interface::as_raw(self), lcountrycode).ok() } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTuningSpace(&self, ltuningspace: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetTuningSpace)(::windows::core::Interface::as_raw(self), ltuningspace).ok() } pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18073,18 +18073,18 @@ impl IAMTVTuner { (::windows::core::Interface::vtable(self).base__.Logout)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SignalPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignalPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMode(&self, lmode: AMTunerModeType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMode)(::windows::core::Interface::as_raw(self), lmode).ok() } pub unsafe fn Mode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAvailableModes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAvailableModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterNotificationCallBack<'a, P0>(&self, pnotify: P0, levents: i32) -> ::windows::core::Result<()> @@ -18100,44 +18100,44 @@ impl IAMTVTuner { (::windows::core::Interface::vtable(self).base__.UnRegisterNotificationCallBack)(::windows::core::Interface::as_raw(self), pnotify.into().abi()).ok() } pub unsafe fn AvailableTVFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvailableTVFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TVFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TVFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoTune(&self, lchannel: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoTune)(::windows::core::Interface::as_raw(self), lchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StoreAutoTune(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).StoreAutoTune)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn NumInputConnections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumInputConnections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_InputType(&self, lindex: i32, inputtype: TunerInputType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_InputType)(::windows::core::Interface::as_raw(self), lindex, inputtype).ok() } pub unsafe fn get_InputType(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_InputType)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectInput(&self, lindex: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetConnectInput)(::windows::core::Interface::as_raw(self), lindex).ok() } pub unsafe fn ConnectInput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VideoFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18212,14 +18212,14 @@ pub struct IAMTVTuner_Vtbl { pub struct IAMTimecodeDisplay(::windows::core::IUnknown); impl IAMTimecodeDisplay { pub unsafe fn GetTCDisplayEnable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTCDisplayEnable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTCDisplayEnable(&self, state: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTCDisplayEnable)(::windows::core::Interface::as_raw(self), state).ok() } pub unsafe fn GetTCDisplay(&self, param: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTCDisplay)(::windows::core::Interface::as_raw(self), param, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTCDisplay(&self, param: i32, value: i32) -> ::windows::core::Result<()> { @@ -18275,7 +18275,7 @@ pub struct IAMTimecodeDisplay_Vtbl { pub struct IAMTimecodeGenerator(::windows::core::IUnknown); impl IAMTimecodeGenerator { pub unsafe fn GetTCGMode(&self, param: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTCGMode)(::windows::core::Interface::as_raw(self), param, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTCGMode(&self, param: i32, value: i32) -> ::windows::core::Result<()> { @@ -18285,14 +18285,14 @@ impl IAMTimecodeGenerator { (::windows::core::Interface::vtable(self).SetVITCLine)(::windows::core::Interface::as_raw(self), line).ok() } pub unsafe fn VITCLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VITCLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTimecode(&self, ptimecodesample: *mut super::TIMECODE_SAMPLE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTimecode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptimecodesample)).ok() } pub unsafe fn GetTimecode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimecode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18347,7 +18347,7 @@ pub struct IAMTimecodeGenerator_Vtbl { pub struct IAMTimecodeReader(::windows::core::IUnknown); impl IAMTimecodeReader { pub unsafe fn GetTCRMode(&self, param: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTCRMode)(::windows::core::Interface::as_raw(self), param, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTCRMode(&self, param: i32, value: i32) -> ::windows::core::Result<()> { @@ -18357,11 +18357,11 @@ impl IAMTimecodeReader { (::windows::core::Interface::vtable(self).SetVITCLine)(::windows::core::Interface::as_raw(self), line).ok() } pub unsafe fn VITCLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VITCLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTimecode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimecode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18427,14 +18427,14 @@ impl IAMTuner { (::windows::core::Interface::vtable(self).SetCountryCode)(::windows::core::Interface::as_raw(self), lcountrycode).ok() } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTuningSpace(&self, ltuningspace: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTuningSpace)(::windows::core::Interface::as_raw(self), ltuningspace).ok() } pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18449,18 +18449,18 @@ impl IAMTuner { (::windows::core::Interface::vtable(self).Logout)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SignalPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignalPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMode(&self, lmode: AMTunerModeType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMode)(::windows::core::Interface::as_raw(self), lmode).ok() } pub unsafe fn Mode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAvailableModes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailableModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterNotificationCallBack<'a, P0>(&self, pnotify: P0, levents: i32) -> ::windows::core::Result<()> @@ -18911,28 +18911,28 @@ impl IAMVideoCompression { (::windows::core::Interface::vtable(self).SetKeyFrameRate)(::windows::core::Interface::as_raw(self), keyframerate).ok() } pub unsafe fn KeyFrameRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeyFrameRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPFramesPerKeyFrame(&self, pframesperkeyframe: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPFramesPerKeyFrame)(::windows::core::Interface::as_raw(self), pframesperkeyframe).ok() } pub unsafe fn PFramesPerKeyFrame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PFramesPerKeyFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuality(&self, quality: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQuality)(::windows::core::Interface::as_raw(self), quality).ok() } pub unsafe fn Quality(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Quality)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWindowSize(&self, windowsize: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWindowSize)(::windows::core::Interface::as_raw(self), windowsize).ok() } pub unsafe fn WindowSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self, pszversion: ::windows::core::PWSTR, pcbversion: *mut i32, pszdescription: ::windows::core::PWSTR, pcbdescription: *mut i32, pdefaultkeyframerate: *mut i32, pdefaultpframesperkey: *mut i32, pdefaultquality: *mut f64, pcapabilities: *mut i32) -> ::windows::core::Result<()> { @@ -19004,7 +19004,7 @@ impl IAMVideoControl { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPin>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ppin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMode<'a, P0>(&self, ppin: P0, mode: i32) -> ::windows::core::Result<()> @@ -19017,14 +19017,14 @@ impl IAMVideoControl { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPin>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMode)(::windows::core::Interface::as_raw(self), ppin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentActualFrameRate<'a, P0>(&self, ppin: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IPin>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentActualFrameRate)(::windows::core::Interface::as_raw(self), ppin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19033,7 +19033,7 @@ impl IAMVideoControl { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPin>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxAvailableFrameRate)(::windows::core::Interface::as_raw(self), ppin.into().abi(), iindex, ::core::mem::transmute(dimensions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19102,7 +19102,7 @@ pub struct IAMVideoControl_Vtbl { pub struct IAMVideoDecimationProperties(::windows::core::IUnknown); impl IAMVideoDecimationProperties { pub unsafe fn QueryDecimationUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDecimationUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDecimationUsage(&self, usage: DECIMATION_USAGE) -> ::windows::core::Result<()> { @@ -19541,25 +19541,25 @@ impl IATSCChannelTuneRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Components(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Components)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Locator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Locator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -19571,14 +19571,14 @@ impl IATSCChannelTuneRequest { (::windows::core::Interface::vtable(self).base__.base__.SetLocator)(::windows::core::Interface::as_raw(self), locator.into().abi()).ok() } pub unsafe fn Channel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Channel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannel(&self, channel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetChannel)(::windows::core::Interface::as_raw(self), channel).ok() } pub unsafe fn MinorChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinorChannel(&self, minorchannel: i32) -> ::windows::core::Result<()> { @@ -19697,7 +19697,7 @@ pub struct IATSCComponentType(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IATSCComponentType { pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCategory(&self, category: ComponentCategory) -> ::windows::core::Result<()> { @@ -19706,7 +19706,7 @@ impl IATSCComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaMajorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19718,7 +19718,7 @@ impl IATSCComponentType { (::windows::core::Interface::vtable(self).base__.base__.base__.SetMediaMajorType)(::windows::core::Interface::as_raw(self), mediamajortype.into().abi()).ok() } pub unsafe fn _MediaMajorType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaMajorType(&self, mediamajortypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -19727,7 +19727,7 @@ impl IATSCComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaSubType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19739,7 +19739,7 @@ impl IATSCComponentType { (::windows::core::Interface::vtable(self).base__.base__.base__.SetMediaSubType)(::windows::core::Interface::as_raw(self), mediasubtype.into().abi()).ok() } pub unsafe fn _MediaSubType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaSubType(&self, mediasubtypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -19748,7 +19748,7 @@ impl IATSCComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaFormatType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19760,7 +19760,7 @@ impl IATSCComponentType { (::windows::core::Interface::vtable(self).base__.base__.base__.SetMediaFormatType)(::windows::core::Interface::as_raw(self), mediaformattype.into().abi()).ok() } pub unsafe fn _MediaFormatType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaFormatType(&self, mediaformattypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -19769,7 +19769,7 @@ impl IATSCComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -19780,25 +19780,25 @@ impl IATSCComponentType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LangID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LangID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLangID(&self, langid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetLangID)(::windows::core::Interface::as_raw(self), langid).ok() } pub unsafe fn StreamType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StreamType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamType(&self, mp2streamtype: MPEG2StreamType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStreamType)(::windows::core::Interface::as_raw(self), mp2streamtype).ok() } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, flags: i32) -> ::windows::core::Result<()> { @@ -19935,49 +19935,49 @@ pub struct IATSCLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IATSCLocator { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -19986,18 +19986,18 @@ impl IATSCLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhysicalChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhysicalChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPhysicalChannel(&self, physicalchannel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPhysicalChannel)(::windows::core::Interface::as_raw(self), physicalchannel).ok() } pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTSID(&self, tsid: i32) -> ::windows::core::Result<()> { @@ -20118,49 +20118,49 @@ pub struct IATSCLocator2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IATSCLocator2 { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -20169,25 +20169,25 @@ impl IATSCLocator2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhysicalChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PhysicalChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPhysicalChannel(&self, physicalchannel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPhysicalChannel)(::windows::core::Interface::as_raw(self), physicalchannel).ok() } pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTSID(&self, tsid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetTSID)(::windows::core::Interface::as_raw(self), tsid).ok() } pub unsafe fn ProgramNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProgramNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProgramNumber(&self, programnumber: i32) -> ::windows::core::Result<()> { @@ -20326,7 +20326,7 @@ impl IATSCTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20340,7 +20340,7 @@ impl IATSCTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20354,13 +20354,13 @@ impl IATSCTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20372,7 +20372,7 @@ impl IATSCTuningSpace { (::windows::core::Interface::vtable(self).base__.base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -20381,25 +20381,25 @@ impl IATSCTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -20413,7 +20413,7 @@ impl IATSCTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20427,7 +20427,7 @@ impl IATSCTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -20441,60 +20441,60 @@ impl IATSCTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinChannel(&self, newminchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMinChannel)(::windows::core::Interface::as_raw(self), newminchannelval).ok() } pub unsafe fn MaxChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxChannel(&self, newmaxchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaxChannel)(::windows::core::Interface::as_raw(self), newmaxchannelval).ok() } pub unsafe fn InputType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InputType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputType(&self, newinputtypeval: TunerInputType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetInputType)(::windows::core::Interface::as_raw(self), newinputtypeval).ok() } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCountryCode(&self, newcountrycodeval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCountryCode)(::windows::core::Interface::as_raw(self), newcountrycodeval).ok() } pub unsafe fn MinMinorChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinMinorChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinMinorChannel(&self, newminminorchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinMinorChannel)(::windows::core::Interface::as_raw(self), newminminorchannelval).ok() } pub unsafe fn MaxMinorChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxMinorChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxMinorChannel(&self, newmaxminorchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxMinorChannel)(::windows::core::Interface::as_raw(self), newmaxminorchannelval).ok() } pub unsafe fn MinPhysicalChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinPhysicalChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinPhysicalChannel(&self, newminphysicalchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinPhysicalChannel)(::windows::core::Interface::as_raw(self), newminphysicalchannelval).ok() } pub unsafe fn MaxPhysicalChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxPhysicalChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxPhysicalChannel(&self, newmaxphysicalchannelval: i32) -> ::windows::core::Result<()> { @@ -20624,46 +20624,46 @@ impl IATSC_EIT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordEventId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordEventId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordStartTime(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordStartTime)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordEtmLocation(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordEtmLocation)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDuration(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDuration)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTitleText(&self, dwrecordindex: u32, pdwlength: *mut u32, pptext: *mut *mut u8) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetRecordTitleText)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(pdwlength), ::core::mem::transmute(pptext)).ok() } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -20735,15 +20735,15 @@ impl IATSC_ETT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEtmId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEtmId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExtendedMessageText(&self, pdwlength: *mut u32, pptext: *mut *mut u8) -> ::windows::core::Result<()> { @@ -20807,35 +20807,35 @@ impl IATSC_MGT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordType(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordType)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTypePid(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTypePid)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordVersionNumber(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordVersionNumber)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -20845,7 +20845,7 @@ impl IATSC_MGT { (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwval)).ok() } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -20917,27 +20917,27 @@ impl IATSC_STT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGpsUtcOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGpsUtcOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDaylightSavings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDaylightSavings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -21004,97 +21004,97 @@ impl IATSC_VCT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransportStreamId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportStreamId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordName(&self, dwrecordindex: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordName)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetRecordMajorChannelNumber(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordMajorChannelNumber)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordMinorChannelNumber(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordMinorChannelNumber)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordModulationMode(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordModulationMode)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCarrierFrequency(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCarrierFrequency)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTransportStreamId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTransportStreamId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordProgramNumber(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordProgramNumber)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordEtmLocation(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordEtmLocation)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordIsAccessControlledBitSet(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordIsAccessControlledBitSet)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordIsHiddenBitSet(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordIsHiddenBitSet)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordIsPathSelectBitSet(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordIsPathSelectBitSet)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordIsOutOfBandBitSet(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordIsOutOfBandBitSet)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordIsHideGuideBitSet(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordIsHideGuideBitSet)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceType(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceType)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordSourceId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordSourceId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -21104,7 +21104,7 @@ impl IATSC_VCT { (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwval)).ok() } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -21199,7 +21199,7 @@ pub struct IAnalogAudioComponentType(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAnalogAudioComponentType { pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCategory(&self, category: ComponentCategory) -> ::windows::core::Result<()> { @@ -21208,7 +21208,7 @@ impl IAnalogAudioComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaMajorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21220,7 +21220,7 @@ impl IAnalogAudioComponentType { (::windows::core::Interface::vtable(self).base__.SetMediaMajorType)(::windows::core::Interface::as_raw(self), mediamajortype.into().abi()).ok() } pub unsafe fn _MediaMajorType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaMajorType(&self, mediamajortypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -21229,7 +21229,7 @@ impl IAnalogAudioComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaSubType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21241,7 +21241,7 @@ impl IAnalogAudioComponentType { (::windows::core::Interface::vtable(self).base__.SetMediaSubType)(::windows::core::Interface::as_raw(self), mediasubtype.into().abi()).ok() } pub unsafe fn _MediaSubType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaSubType(&self, mediasubtypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -21250,7 +21250,7 @@ impl IAnalogAudioComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaFormatType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21262,7 +21262,7 @@ impl IAnalogAudioComponentType { (::windows::core::Interface::vtable(self).base__.SetMediaFormatType)(::windows::core::Interface::as_raw(self), mediaformattype.into().abi()).ok() } pub unsafe fn _MediaFormatType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaFormatType(&self, mediaformattypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -21271,7 +21271,7 @@ impl IAnalogAudioComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -21282,11 +21282,11 @@ impl IAnalogAudioComponentType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AnalogAudioMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AnalogAudioMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAnalogAudioMode(&self, mode: TVAudioMode) -> ::windows::core::Result<()> { @@ -21387,49 +21387,49 @@ pub struct IAnalogLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAnalogLocator { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -21438,11 +21438,11 @@ impl IAnalogLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VideoStandard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoStandard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVideoStandard(&self, avs: AnalogVideoStandard) -> ::windows::core::Result<()> { @@ -21545,7 +21545,7 @@ impl IAnalogRadioTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21559,7 +21559,7 @@ impl IAnalogRadioTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21573,13 +21573,13 @@ impl IAnalogRadioTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21591,7 +21591,7 @@ impl IAnalogRadioTuningSpace { (::windows::core::Interface::vtable(self).base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -21600,25 +21600,25 @@ impl IAnalogRadioTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21632,7 +21632,7 @@ impl IAnalogRadioTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21646,7 +21646,7 @@ impl IAnalogRadioTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21660,25 +21660,25 @@ impl IAnalogRadioTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinFrequency(&self, newminfrequencyval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinFrequency)(::windows::core::Interface::as_raw(self), newminfrequencyval).ok() } pub unsafe fn MaxFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxFrequency(&self, newmaxfrequencyval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxFrequency)(::windows::core::Interface::as_raw(self), newmaxfrequencyval).ok() } pub unsafe fn Step(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Step)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStep(&self, newstepval: i32) -> ::windows::core::Result<()> { @@ -21785,7 +21785,7 @@ impl IAnalogRadioTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21799,7 +21799,7 @@ impl IAnalogRadioTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21813,13 +21813,13 @@ impl IAnalogRadioTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21831,7 +21831,7 @@ impl IAnalogRadioTuningSpace2 { (::windows::core::Interface::vtable(self).base__.base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -21840,25 +21840,25 @@ impl IAnalogRadioTuningSpace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21872,7 +21872,7 @@ impl IAnalogRadioTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21886,7 +21886,7 @@ impl IAnalogRadioTuningSpace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21900,32 +21900,32 @@ impl IAnalogRadioTuningSpace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinFrequency(&self, newminfrequencyval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMinFrequency)(::windows::core::Interface::as_raw(self), newminfrequencyval).ok() } pub unsafe fn MaxFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxFrequency(&self, newmaxfrequencyval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaxFrequency)(::windows::core::Interface::as_raw(self), newmaxfrequencyval).ok() } pub unsafe fn Step(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Step)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStep(&self, newstepval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStep)(::windows::core::Interface::as_raw(self), newstepval).ok() } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCountryCode(&self, newcountrycodeval: i32) -> ::windows::core::Result<()> { @@ -22046,7 +22046,7 @@ impl IAnalogTVTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22060,7 +22060,7 @@ impl IAnalogTVTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22074,13 +22074,13 @@ impl IAnalogTVTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22092,7 +22092,7 @@ impl IAnalogTVTuningSpace { (::windows::core::Interface::vtable(self).base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -22101,25 +22101,25 @@ impl IAnalogTVTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22133,7 +22133,7 @@ impl IAnalogTVTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22147,7 +22147,7 @@ impl IAnalogTVTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22161,32 +22161,32 @@ impl IAnalogTVTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinChannel(&self, newminchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinChannel)(::windows::core::Interface::as_raw(self), newminchannelval).ok() } pub unsafe fn MaxChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxChannel(&self, newmaxchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxChannel)(::windows::core::Interface::as_raw(self), newmaxchannelval).ok() } pub unsafe fn InputType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InputType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputType(&self, newinputtypeval: TunerInputType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInputType)(::windows::core::Interface::as_raw(self), newinputtypeval).ok() } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCountryCode(&self, newcountrycodeval: i32) -> ::windows::core::Result<()> { @@ -22294,7 +22294,7 @@ impl IAsyncReader { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMemAllocator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestAllocator)(::windows::core::Interface::as_raw(self), ppreferred.into().abi(), ::core::mem::transmute(pprops), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Request<'a, P0>(&self, psample: P0, dwuser: usize) -> ::windows::core::Result<()> @@ -22313,7 +22313,7 @@ impl IAsyncReader { (::windows::core::Interface::vtable(self).SyncReadAligned)(::windows::core::Interface::as_raw(self), psample.into().abi()).ok() } pub unsafe fn SyncRead(&self, llposition: i64, llength: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SyncRead)(::windows::core::Interface::as_raw(self), llposition, llength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self, ptotal: *mut i64, pavailable: *mut i64) -> ::windows::core::Result<()> { @@ -22379,31 +22379,31 @@ pub struct IAsyncReader_Vtbl { pub struct IAtscContentAdvisoryDescriptor(::windows::core::IUnknown); impl IAtscContentAdvisoryDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRatingRegionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRatingRegionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRatingRegion(&self, bindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordRatingRegion)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRatedDimensions(&self, bindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordRatedDimensions)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRatingDimension(&self, bindexouter: u8, bindexinner: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordRatingDimension)(::windows::core::Interface::as_raw(self), bindexouter, bindexinner, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRatingValue(&self, bindexouter: u8, bindexinner: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordRatingValue)(::windows::core::Interface::as_raw(self), bindexouter, bindexinner, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRatingDescriptionText(&self, bindex: u8, pblength: *mut u8, pptext: *mut *mut u8) -> ::windows::core::Result<()> { @@ -22469,23 +22469,23 @@ impl IAtscPsipParser { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), punkmpeg2data.into().abi()).ok() } pub unsafe fn GetPAT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPAT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCAT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPMT(&self, pid: u16, pwprogramnumber: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPMT)(::windows::core::Interface::as_raw(self), pid, ::core::mem::transmute(pwprogramnumber), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTSDT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTSDT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMGT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMGT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22494,23 +22494,23 @@ impl IAtscPsipParser { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVCT)(::windows::core::Interface::as_raw(self), tableid, fgetnexttable.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEIT(&self, pid: u16, pwsourceid: *const u16, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEIT)(::windows::core::Interface::as_raw(self), pid, ::core::mem::transmute(pwsourceid), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetETT(&self, pid: u16, wsourceid: *const u16, pweventid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetETT)(::windows::core::Interface::as_raw(self), pid, ::core::mem::transmute(wsourceid), ::core::mem::transmute(pweventid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSTT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSTT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEAS(&self, pid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEAS)(::windows::core::Interface::as_raw(self), pid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22573,7 +22573,7 @@ pub struct IAtscPsipParser_Vtbl { pub struct IAttributeGet(::windows::core::IUnknown); impl IAttributeGet { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttribIndexed(&self, lindex: i32, pguidattribute: *mut ::windows::core::GUID, pbattribute: *mut u8, pdwattributelength: *mut u32) -> ::windows::core::Result<()> { @@ -22691,7 +22691,7 @@ impl IAudioData { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -22768,7 +22768,7 @@ pub struct IAudioData_Vtbl { pub struct IAudioMediaStream(::windows::core::IUnknown); impl IAudioMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMultiMediaStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInformation(&self, ppurposeid: *mut ::windows::core::GUID, ptype: *mut STREAM_TYPE) -> ::windows::core::Result<()> { @@ -22781,14 +22781,14 @@ impl IAudioMediaStream { (::windows::core::Interface::vtable(self).base__.SetSameFormat)(::windows::core::Interface::as_raw(self), pstreamthathasdesiredformat.into().abi(), dwflags).ok() } pub unsafe fn AllocateSample(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllocateSample)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSharedSample<'a, P0>(&self, pexistingsample: P0, dwflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IStreamSample>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSharedSample)(::windows::core::Interface::as_raw(self), pexistingsample.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendEndOfStream(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -22797,7 +22797,7 @@ impl IAudioMediaStream { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -22809,7 +22809,7 @@ impl IAudioMediaStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAudioData>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSample)(::windows::core::Interface::as_raw(self), paudiodata.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22902,7 +22902,7 @@ impl IAudioStreamSample { (::windows::core::Interface::vtable(self).base__.CompletionStatus)(::windows::core::Interface::as_raw(self), dwflags, dwmilliseconds).ok() } pub unsafe fn GetAudioData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22971,7 +22971,7 @@ impl IAuxInTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22985,7 +22985,7 @@ impl IAuxInTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22999,13 +22999,13 @@ impl IAuxInTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23017,7 +23017,7 @@ impl IAuxInTuningSpace { (::windows::core::Interface::vtable(self).base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -23026,25 +23026,25 @@ impl IAuxInTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23058,7 +23058,7 @@ impl IAuxInTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23072,7 +23072,7 @@ impl IAuxInTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23086,7 +23086,7 @@ impl IAuxInTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23184,7 +23184,7 @@ impl IAuxInTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23198,7 +23198,7 @@ impl IAuxInTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23212,13 +23212,13 @@ impl IAuxInTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23230,7 +23230,7 @@ impl IAuxInTuningSpace2 { (::windows::core::Interface::vtable(self).base__.base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -23239,25 +23239,25 @@ impl IAuxInTuningSpace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23271,7 +23271,7 @@ impl IAuxInTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23285,7 +23285,7 @@ impl IAuxInTuningSpace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23299,11 +23299,11 @@ impl IAuxInTuningSpace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCountryCode(&self, newcountrycodeval: i32) -> ::windows::core::Result<()> { @@ -23425,7 +23425,7 @@ impl IBDAComparable { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareExact)(::windows::core::Interface::as_raw(self), compareto.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23434,23 +23434,23 @@ impl IBDAComparable { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareEquivalent)(::windows::core::Interface::as_raw(self), compareto.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HashExact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashExact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HashExactIncremental(&self, partialresult: i64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashExactIncremental)(::windows::core::Interface::as_raw(self), partialresult, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HashEquivalent(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashEquivalent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HashEquivalentIncremental(&self, partialresult: i64, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashEquivalentIncremental)(::windows::core::Interface::as_raw(self), partialresult, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23513,7 +23513,7 @@ impl IBDACreateTuneRequestEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequestEx(&self, tunerequestiid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTuneRequestEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(tunerequestiid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23566,7 +23566,7 @@ pub struct IBDACreateTuneRequestEx_Vtbl { pub struct IBDA_AUX(::windows::core::IUnknown); impl IBDA_AUX { pub unsafe fn QueryCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumCapability(&self, dwindex: u32, dwinputid: *mut u32, pconnectortype: *mut ::windows::core::GUID, conntypenum: *mut u32, numvideostds: *mut u32, analogstds: *mut u64) -> ::windows::core::Result<()> { @@ -23759,7 +23759,7 @@ impl IBDA_ConditionalAccess { (::windows::core::Interface::vtable(self).get_SmartCardApplications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pulcapplications), rgapplications.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(rgapplications))).ok() } pub unsafe fn get_Entitlement(&self, usvirtualchannel: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Entitlement)(::windows::core::Interface::as_raw(self), usvirtualchannel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TuneByChannel(&self, usvirtualchannel: u16) -> ::windows::core::Result<()> { @@ -23777,7 +23777,7 @@ impl IBDA_ConditionalAccess { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetModuleUI(&self, bydialognumber: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModuleUI)(::windows::core::Interface::as_raw(self), bydialognumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InformUIClosed(&self, bydialognumber: u8, closereason: UICloseReasonType) -> ::windows::core::Result<()> { @@ -23856,7 +23856,7 @@ impl IBDA_ConditionalAccessEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckEntitlementToken)(::windows::core::Interface::as_raw(self), uldialogrequest, bstrlanguage.into().abi(), requesttype, pbentitlementtoken.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbentitlementtoken)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCaptureToken(&self, pbcapturetoken: &[u8]) -> ::windows::core::Result<()> { @@ -23876,11 +23876,11 @@ impl IBDA_ConditionalAccessEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CloseMmiDialog)(::windows::core::Interface::as_raw(self), uldialogrequest, bstrlanguage.into().abi(), uldialognumber, reasoncode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDialogRequestNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDialogRequestNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24987,7 +24987,7 @@ impl IBDA_EthernetFilter { (::windows::core::Interface::vtable(self).PutMulticastMode)(::windows::core::Interface::as_raw(self), ulmodemask).ok() } pub unsafe fn GetMulticastMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMulticastMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25108,7 +25108,7 @@ impl IBDA_FDC { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddPid)(::windows::core::Interface::as_raw(self), pidstoadd.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25125,7 +25125,7 @@ impl IBDA_FDC { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddTid)(::windows::core::Interface::as_raw(self), tidstoadd.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25303,7 +25303,7 @@ pub struct IBDA_FrequencyFilter_Vtbl { pub struct IBDA_GuideDataDeliveryService(::windows::core::IUnknown); impl IBDA_GuideDataDeliveryService { pub unsafe fn GetGuideDataType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuideDataType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetGuideData(&self, pulcbbufferlen: *mut u32, pbbuffer: *mut u8, pulguidedatapercentageprogress: *mut u32) -> ::windows::core::Result<()> { @@ -25315,7 +25315,7 @@ impl IBDA_GuideDataDeliveryService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTuneXmlFromServiceIdx(&self, ul64serviceidx: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTuneXmlFromServiceIdx)(::windows::core::Interface::as_raw(self), ul64serviceidx, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServices(&self, pulcbbufferlen: *mut u32, pbbuffer: *mut u8) -> ::windows::core::Result<()> { @@ -25327,7 +25327,7 @@ impl IBDA_GuideDataDeliveryService { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceInfoFromTuneXml)(::windows::core::Interface::as_raw(self), bstrtunexml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25446,13 +25446,13 @@ impl IBDA_IPSinkInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AdapterIPAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdapterIPAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AdapterDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdapterDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25522,7 +25522,7 @@ impl IBDA_IPV4Filter { (::windows::core::Interface::vtable(self).PutMulticastMode)(::windows::core::Interface::as_raw(self), ulmodemask).ok() } pub unsafe fn GetMulticastMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMulticastMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25588,7 +25588,7 @@ impl IBDA_IPV6Filter { (::windows::core::Interface::vtable(self).PutMulticastMode)(::windows::core::Interface::as_raw(self), ulmodemask).ok() } pub unsafe fn GetMulticastMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMulticastMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25815,7 +25815,7 @@ impl IBDA_NameValueService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValueNameByIndex(&self, ulindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValueNameByIndex)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25825,7 +25825,7 @@ impl IBDA_NameValueService { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrlanguage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26402,7 +26402,7 @@ pub struct IBDA_Topology_Vtbl { pub struct IBDA_TransportStreamInfo(::windows::core::IUnknown); impl IBDA_TransportStreamInfo { pub unsafe fn PatTableTickCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PatTableTickCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26508,7 +26508,7 @@ impl IBDA_UserActivityService { (::windows::core::Interface::vtable(self).SetCurrentTunerUseReason)(::windows::core::Interface::as_raw(self), dwusereason).ok() } pub unsafe fn GetUserActivityInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserActivityInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserActivityDetected(&self) -> ::windows::core::Result<()> { @@ -26707,7 +26707,7 @@ impl IBDA_WMDRMTuner { (::windows::core::Interface::vtable(self).SetPidProtection)(::windows::core::Interface::as_raw(self), ulpid, ::core::mem::transmute(uuidkey)).ok() } pub unsafe fn GetPidProtection(&self, pulpid: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPidProtection)(::windows::core::Interface::as_raw(self), pulpid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetSyncValue(&self, ulsyncvalue: u32) -> ::windows::core::Result<()> { @@ -26783,14 +26783,14 @@ impl IBPCSatelliteTuner { (::windows::core::Interface::vtable(self).base__.SetCountryCode)(::windows::core::Interface::as_raw(self), lcountrycode).ok() } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTuningSpace(&self, ltuningspace: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetTuningSpace)(::windows::core::Interface::as_raw(self), ltuningspace).ok() } pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26805,18 +26805,18 @@ impl IBPCSatelliteTuner { (::windows::core::Interface::vtable(self).base__.Logout)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SignalPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignalPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMode(&self, lmode: AMTunerModeType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMode)(::windows::core::Interface::as_raw(self), lmode).ok() } pub unsafe fn Mode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAvailableModes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAvailableModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterNotificationCallBack<'a, P0>(&self, pnotify: P0, levents: i32) -> ::windows::core::Result<()> @@ -26908,7 +26908,7 @@ impl IBaseFilter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Stop(&self) -> ::windows::core::Result<()> { @@ -26921,7 +26921,7 @@ impl IBaseFilter { (::windows::core::Interface::vtable(self).base__.Run)(::windows::core::Interface::as_raw(self), tstart).ok() } pub unsafe fn GetState(&self, dwmillisecstimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetState)(::windows::core::Interface::as_raw(self), dwmillisecstimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncSource<'a, P0>(&self, pclock: P0) -> ::windows::core::Result<()> @@ -26931,22 +26931,22 @@ impl IBaseFilter { (::windows::core::Interface::vtable(self).base__.SetSyncSource)(::windows::core::Interface::as_raw(self), pclock.into().abi()).ok() } pub unsafe fn GetSyncSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSyncSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumPins(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumPins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindPin<'a, P0>(&self, id: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindPin)(::windows::core::Interface::as_raw(self), id.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryFilterInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryFilterInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JoinFilterGraph<'a, P0, P1>(&self, pgraph: P0, pname: P1) -> ::windows::core::Result<()> @@ -26957,7 +26957,7 @@ impl IBaseFilter { (::windows::core::Interface::vtable(self).JoinFilterGraph)(::windows::core::Interface::as_raw(self), pgraph.into().abi(), pname.into()).ok() } pub unsafe fn QueryVendorInfo(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryVendorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -27059,22 +27059,22 @@ impl IBaseVideoMixer { (::windows::core::Interface::vtable(self).SetLeadPin)(::windows::core::Interface::as_raw(self), ipin).ok() } pub unsafe fn GetLeadPin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLeadPin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputPinCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputPinCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUsingClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUsingClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUsingClock(&self, bvalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUsingClock)(::windows::core::Interface::as_raw(self), bvalue).ok() } pub unsafe fn GetClockPeriod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClockPeriod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClockPeriod(&self, bvalue: i32) -> ::windows::core::Result<()> { @@ -27138,14 +27138,14 @@ impl IBasicAudio { (::windows::core::Interface::vtable(self).SetVolume)(::windows::core::Interface::as_raw(self), lvolume).ok() } pub unsafe fn Volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBalance(&self, lbalance: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBalance)(::windows::core::Interface::as_raw(self), lbalance).ok() } pub unsafe fn Balance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Balance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27227,79 +27227,79 @@ pub struct IBasicVideo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBasicVideo { pub unsafe fn AvgTimePerFrame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvgTimePerFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BitRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BitRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BitErrorRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BitErrorRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VideoWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VideoHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceLeft(&self, sourceleft: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSourceLeft)(::windows::core::Interface::as_raw(self), sourceleft).ok() } pub unsafe fn SourceLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceWidth(&self, sourcewidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSourceWidth)(::windows::core::Interface::as_raw(self), sourcewidth).ok() } pub unsafe fn SourceWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceTop(&self, sourcetop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSourceTop)(::windows::core::Interface::as_raw(self), sourcetop).ok() } pub unsafe fn SourceTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceHeight(&self, sourceheight: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSourceHeight)(::windows::core::Interface::as_raw(self), sourceheight).ok() } pub unsafe fn SourceHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDestinationLeft(&self, destinationleft: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDestinationLeft)(::windows::core::Interface::as_raw(self), destinationleft).ok() } pub unsafe fn DestinationLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDestinationWidth(&self, destinationwidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDestinationWidth)(::windows::core::Interface::as_raw(self), destinationwidth).ok() } pub unsafe fn DestinationWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDestinationTop(&self, destinationtop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDestinationTop)(::windows::core::Interface::as_raw(self), destinationtop).ok() } pub unsafe fn DestinationTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDestinationHeight(&self, destinationheight: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDestinationHeight)(::windows::core::Interface::as_raw(self), destinationheight).ok() } pub unsafe fn DestinationHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourcePosition(&self, left: i32, top: i32, width: i32, height: i32) -> ::windows::core::Result<()> { @@ -27442,79 +27442,79 @@ pub struct IBasicVideo2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBasicVideo2 { pub unsafe fn AvgTimePerFrame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AvgTimePerFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BitRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BitRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BitErrorRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BitErrorRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VideoWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VideoWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VideoHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VideoHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceLeft(&self, sourceleft: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSourceLeft)(::windows::core::Interface::as_raw(self), sourceleft).ok() } pub unsafe fn SourceLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SourceLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceWidth(&self, sourcewidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSourceWidth)(::windows::core::Interface::as_raw(self), sourcewidth).ok() } pub unsafe fn SourceWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SourceWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceTop(&self, sourcetop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSourceTop)(::windows::core::Interface::as_raw(self), sourcetop).ok() } pub unsafe fn SourceTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SourceTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceHeight(&self, sourceheight: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSourceHeight)(::windows::core::Interface::as_raw(self), sourceheight).ok() } pub unsafe fn SourceHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SourceHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDestinationLeft(&self, destinationleft: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDestinationLeft)(::windows::core::Interface::as_raw(self), destinationleft).ok() } pub unsafe fn DestinationLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DestinationLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDestinationWidth(&self, destinationwidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDestinationWidth)(::windows::core::Interface::as_raw(self), destinationwidth).ok() } pub unsafe fn DestinationWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DestinationWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDestinationTop(&self, destinationtop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDestinationTop)(::windows::core::Interface::as_raw(self), destinationtop).ok() } pub unsafe fn DestinationTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DestinationTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDestinationHeight(&self, destinationheight: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDestinationHeight)(::windows::core::Interface::as_raw(self), destinationheight).ok() } pub unsafe fn DestinationHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DestinationHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourcePosition(&self, left: i32, top: i32, width: i32, height: i32) -> ::windows::core::Result<()> { @@ -27821,15 +27821,15 @@ impl ICAT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -27844,7 +27844,7 @@ impl ICAT { (::windows::core::Interface::vtable(self).RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextTable)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27919,7 +27919,7 @@ pub struct ICAT_Vtbl { pub struct ICCSubStreamFiltering(::windows::core::IUnknown); impl ICCSubStreamFiltering { pub unsafe fn SubstreamTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubstreamTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSubstreamTypes(&self, types: i32) -> ::windows::core::Result<()> { @@ -28222,26 +28222,26 @@ pub struct ICameraControl_Vtbl { pub struct ICaptionServiceDescriptor(::windows::core::IUnknown); impl ICaptionServiceDescriptor { pub unsafe fn GetNumberOfServices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfServices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguageCode(&self, bindex: u8, langcode: &mut [u8; 3]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLanguageCode)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(langcode))).ok() } pub unsafe fn GetCaptionServiceNumber(&self, bindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaptionServiceNumber)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCCType(&self, bindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCCType)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEasyReader(&self, bindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEasyReader)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWideAspectRatio(&self, bindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWideAspectRatio)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28302,7 +28302,7 @@ impl ICaptureGraphBuilder { (::windows::core::Interface::vtable(self).SetFiltergraph)(::windows::core::Interface::as_raw(self), pfg.into().abi()).ok() } pub unsafe fn GetFiltergraph(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFiltergraph)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -28425,7 +28425,7 @@ impl ICaptureGraphBuilder2 { (::windows::core::Interface::vtable(self).SetFiltergraph)(::windows::core::Interface::as_raw(self), pfg.into().abi()).ok() } pub unsafe fn GetFiltergraph(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFiltergraph)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -28483,7 +28483,7 @@ impl ICaptureGraphBuilder2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindPin)(::windows::core::Interface::as_raw(self), psource.into().abi(), pindir, ::core::mem::transmute(pcategory), ::core::mem::transmute(ptype), funconnected.into(), num, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28560,25 +28560,25 @@ impl IChannelIDTuneRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Components(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Components)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Locator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Locator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -28592,7 +28592,7 @@ impl IChannelIDTuneRequest { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ChannelID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChannelID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -28706,25 +28706,25 @@ impl IChannelTuneRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Components(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Components)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Locator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Locator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -28736,7 +28736,7 @@ impl IChannelTuneRequest { (::windows::core::Interface::vtable(self).base__.SetLocator)(::windows::core::Interface::as_raw(self), locator.into().abi()).ok() } pub unsafe fn Channel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Channel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannel(&self, channel: i32) -> ::windows::core::Result<()> { @@ -28839,7 +28839,7 @@ impl IComponent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -28851,14 +28851,14 @@ impl IComponent { (::windows::core::Interface::vtable(self).SetType)(::windows::core::Interface::as_raw(self), ct.into().abi()).ok() } pub unsafe fn DescLangID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DescLangID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDescLangID(&self, langid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDescLangID)(::windows::core::Interface::as_raw(self), langid).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStatus(&self, status: ComponentStatus) -> ::windows::core::Result<()> { @@ -28867,7 +28867,7 @@ impl IComponent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -28881,7 +28881,7 @@ impl IComponent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28983,7 +28983,7 @@ pub struct IComponentType(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponentType { pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCategory(&self, category: ComponentCategory) -> ::windows::core::Result<()> { @@ -28992,7 +28992,7 @@ impl IComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaMajorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29004,7 +29004,7 @@ impl IComponentType { (::windows::core::Interface::vtable(self).SetMediaMajorType)(::windows::core::Interface::as_raw(self), mediamajortype.into().abi()).ok() } pub unsafe fn _MediaMajorType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaMajorType(&self, mediamajortypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -29013,7 +29013,7 @@ impl IComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaSubType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29025,7 +29025,7 @@ impl IComponentType { (::windows::core::Interface::vtable(self).SetMediaSubType)(::windows::core::Interface::as_raw(self), mediasubtype.into().abi()).ok() } pub unsafe fn _MediaSubType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaSubType(&self, mediasubtypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -29034,7 +29034,7 @@ impl IComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaFormatType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29046,7 +29046,7 @@ impl IComponentType { (::windows::core::Interface::vtable(self).SetMediaFormatType)(::windows::core::Interface::as_raw(self), mediaformattype.into().abi()).ok() } pub unsafe fn _MediaFormatType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaFormatType(&self, mediaformattypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -29055,7 +29055,7 @@ impl IComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -29066,7 +29066,7 @@ impl IComponentType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29188,17 +29188,17 @@ pub struct IComponentTypes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponentTypes { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29207,7 +29207,7 @@ impl IComponentTypes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29225,7 +29225,7 @@ impl IComponentTypes { where P0: ::std::convert::Into<::windows::core::InParam<'a, IComponentType>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), componenttype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29239,7 +29239,7 @@ impl IComponentTypes { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29343,17 +29343,17 @@ pub struct IComponents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponents { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumComponents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumComponents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29362,7 +29362,7 @@ impl IComponents { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29371,7 +29371,7 @@ impl IComponents { where P0: ::std::convert::Into<::windows::core::InParam<'a, IComponent>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), component.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29385,7 +29385,7 @@ impl IComponents { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29498,17 +29498,17 @@ pub struct IComponentsOld(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponentsOld { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumComponents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumComponents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29517,7 +29517,7 @@ impl IComponentsOld { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29526,7 +29526,7 @@ impl IComponentsOld { where P0: ::std::convert::Into<::windows::core::InParam<'a, IComponent>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), component.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29540,7 +29540,7 @@ impl IComponentsOld { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29641,14 +29641,14 @@ impl IConfigAsfWriter { (::windows::core::Interface::vtable(self).ConfigureFilterUsingProfileId)(::windows::core::Interface::as_raw(self), dwprofileid).ok() } pub unsafe fn GetCurrentProfileId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProfileId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConfigureFilterUsingProfileGuid(&self, guidprofile: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ConfigureFilterUsingProfileGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidprofile)).ok() } pub unsafe fn GetCurrentProfileGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProfileGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -29662,7 +29662,7 @@ impl IConfigAsfWriter { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[cfg(feature = "Win32_Media_WindowsMediaFormat")] pub unsafe fn GetCurrentProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29676,7 +29676,7 @@ impl IConfigAsfWriter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIndexMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndexMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29748,14 +29748,14 @@ impl IConfigAsfWriter2 { (::windows::core::Interface::vtable(self).base__.ConfigureFilterUsingProfileId)(::windows::core::Interface::as_raw(self), dwprofileid).ok() } pub unsafe fn GetCurrentProfileId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentProfileId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConfigureFilterUsingProfileGuid(&self, guidprofile: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.ConfigureFilterUsingProfileGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidprofile)).ok() } pub unsafe fn GetCurrentProfileGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentProfileGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -29769,7 +29769,7 @@ impl IConfigAsfWriter2 { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[cfg(feature = "Win32_Media_WindowsMediaFormat")] pub unsafe fn GetCurrentProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29783,14 +29783,14 @@ impl IConfigAsfWriter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIndexMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIndexMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StreamNumFromPin<'a, P0>(&self, ppin: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IPin>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StreamNumFromPin)(::windows::core::Interface::as_raw(self), ppin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParam(&self, dwparam: u32, dwparam1: u32, dwparam2: u32) -> ::windows::core::Result<()> { @@ -29870,7 +29870,7 @@ impl IConfigAviMux { (::windows::core::Interface::vtable(self).SetMasterStream)(::windows::core::Interface::as_raw(self), istream).ok() } pub unsafe fn GetMasterStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMasterStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29884,7 +29884,7 @@ impl IConfigAviMux { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOutputCompatibilityIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCompatibilityIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29946,7 +29946,7 @@ impl IConfigInterleaving { (::windows::core::Interface::vtable(self).SetMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn Mode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_Interleaving(&self, prtinterleave: *const i64, prtpreroll: *const i64) -> ::windows::core::Result<()> { @@ -30403,14 +30403,14 @@ pub struct IDShowPlugin_Vtbl { pub struct IDTFilter(::windows::core::IUnknown); impl IDTFilter { pub unsafe fn EvalRatObjOK(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EvalRatObjOK)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetCurrRating(&self, pensystem: *mut EnTvRat_System, penrating: *mut EnTvRat_GenericLevel, plbfenattr: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCurrRating)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pensystem), ::core::mem::transmute(penrating), ::core::mem::transmute(plbfenattr)).ok() } pub unsafe fn get_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_BlockedRatingAttributes)(::windows::core::Interface::as_raw(self), ensystem, enlevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel, lbfattrs: i32) -> ::windows::core::Result<()> { @@ -30419,7 +30419,7 @@ impl IDTFilter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BlockUnRated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockUnRated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30431,7 +30431,7 @@ impl IDTFilter { (::windows::core::Interface::vtable(self).SetBlockUnRated)(::windows::core::Interface::as_raw(self), fblockunratedshows.into()).ok() } pub unsafe fn BlockUnRatedDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockUnRatedDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBlockUnRatedDelay(&self, msecsdelaybeforeblock: i32) -> ::windows::core::Result<()> { @@ -30497,14 +30497,14 @@ pub struct IDTFilter_Vtbl { pub struct IDTFilter2(::windows::core::IUnknown); impl IDTFilter2 { pub unsafe fn EvalRatObjOK(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EvalRatObjOK)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetCurrRating(&self, pensystem: *mut EnTvRat_System, penrating: *mut EnTvRat_GenericLevel, plbfenattr: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetCurrRating)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pensystem), ::core::mem::transmute(penrating), ::core::mem::transmute(plbfenattr)).ok() } pub unsafe fn get_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_BlockedRatingAttributes)(::windows::core::Interface::as_raw(self), ensystem, enlevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel, lbfattrs: i32) -> ::windows::core::Result<()> { @@ -30513,7 +30513,7 @@ impl IDTFilter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BlockUnRated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BlockUnRated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30525,7 +30525,7 @@ impl IDTFilter2 { (::windows::core::Interface::vtable(self).base__.SetBlockUnRated)(::windows::core::Interface::as_raw(self), fblockunratedshows.into()).ok() } pub unsafe fn BlockUnRatedDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BlockUnRatedDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBlockUnRatedDelay(&self, msecsdelaybeforeblock: i32) -> ::windows::core::Result<()> { @@ -30534,11 +30534,11 @@ impl IDTFilter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ChallengeUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChallengeUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrLicenseExpDate(&self, prottype: *const ProtType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrLicenseExpDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prottype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastErrorCode(&self) -> ::windows::core::Result<()> { @@ -30611,14 +30611,14 @@ pub struct IDTFilter2_Vtbl { pub struct IDTFilter3(::windows::core::IUnknown); impl IDTFilter3 { pub unsafe fn EvalRatObjOK(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EvalRatObjOK)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetCurrRating(&self, pensystem: *mut EnTvRat_System, penrating: *mut EnTvRat_GenericLevel, plbfenattr: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetCurrRating)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pensystem), ::core::mem::transmute(penrating), ::core::mem::transmute(plbfenattr)).ok() } pub unsafe fn get_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_BlockedRatingAttributes)(::windows::core::Interface::as_raw(self), ensystem, enlevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel, lbfattrs: i32) -> ::windows::core::Result<()> { @@ -30627,7 +30627,7 @@ impl IDTFilter3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BlockUnRated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BlockUnRated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30639,7 +30639,7 @@ impl IDTFilter3 { (::windows::core::Interface::vtable(self).base__.base__.SetBlockUnRated)(::windows::core::Interface::as_raw(self), fblockunratedshows.into()).ok() } pub unsafe fn BlockUnRatedDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BlockUnRatedDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBlockUnRatedDelay(&self, msecsdelaybeforeblock: i32) -> ::windows::core::Result<()> { @@ -30648,24 +30648,24 @@ impl IDTFilter3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ChallengeUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ChallengeUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrLicenseExpDate(&self, prottype: *const ProtType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrLicenseExpDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prottype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastErrorCode(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetLastErrorCode)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetProtectionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtectionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LicenseHasExpirationDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LicenseHasExpirationDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30761,7 +30761,7 @@ pub struct IDTFilter3_Vtbl { pub struct IDTFilterConfig(::windows::core::IUnknown); impl IDTFilterConfig { pub unsafe fn GetSecureChannelObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecureChannelObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -30935,49 +30935,49 @@ pub struct IDVBCLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBCLocator { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -30986,7 +30986,7 @@ impl IDVBCLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31100,49 +31100,49 @@ pub struct IDVBSLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBSLocator { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -31151,39 +31151,39 @@ impl IDVBSLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SignalPolarisation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignalPolarisation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSignalPolarisation(&self, polarisationval: Polarisation) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSignalPolarisation)(::windows::core::Interface::as_raw(self), polarisationval).ok() } pub unsafe fn WestPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WestPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWestPosition(&self, westlongitude: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWestPosition)(::windows::core::Interface::as_raw(self), westlongitude).ok() } pub unsafe fn OrbitalPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OrbitalPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOrbitalPosition(&self, longitude: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOrbitalPosition)(::windows::core::Interface::as_raw(self), longitude).ok() } pub unsafe fn Azimuth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Azimuth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAzimuth(&self, azimuth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAzimuth)(::windows::core::Interface::as_raw(self), azimuth).ok() } pub unsafe fn Elevation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Elevation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetElevation(&self, elevation: i32) -> ::windows::core::Result<()> { @@ -31310,49 +31310,49 @@ pub struct IDVBSLocator2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBSLocator2 { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -31361,88 +31361,88 @@ impl IDVBSLocator2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SignalPolarisation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignalPolarisation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSignalPolarisation(&self, polarisationval: Polarisation) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSignalPolarisation)(::windows::core::Interface::as_raw(self), polarisationval).ok() } pub unsafe fn WestPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WestPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWestPosition(&self, westlongitude: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetWestPosition)(::windows::core::Interface::as_raw(self), westlongitude).ok() } pub unsafe fn OrbitalPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OrbitalPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOrbitalPosition(&self, longitude: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOrbitalPosition)(::windows::core::Interface::as_raw(self), longitude).ok() } pub unsafe fn Azimuth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Azimuth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAzimuth(&self, azimuth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetAzimuth)(::windows::core::Interface::as_raw(self), azimuth).ok() } pub unsafe fn Elevation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Elevation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetElevation(&self, elevation: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetElevation)(::windows::core::Interface::as_raw(self), elevation).ok() } pub unsafe fn DiseqLNBSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiseqLNBSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDiseqLNBSource(&self, diseqlnbsourceval: LNB_Source) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDiseqLNBSource)(::windows::core::Interface::as_raw(self), diseqlnbsourceval).ok() } pub unsafe fn LocalOscillatorOverrideLow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalOscillatorOverrideLow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocalOscillatorOverrideLow(&self, localoscillatoroverridelowval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLocalOscillatorOverrideLow)(::windows::core::Interface::as_raw(self), localoscillatoroverridelowval).ok() } pub unsafe fn LocalOscillatorOverrideHigh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalOscillatorOverrideHigh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocalOscillatorOverrideHigh(&self, localoscillatoroverridehighval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLocalOscillatorOverrideHigh)(::windows::core::Interface::as_raw(self), localoscillatoroverridehighval).ok() } pub unsafe fn LocalLNBSwitchOverride(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalLNBSwitchOverride)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocalLNBSwitchOverride(&self, locallnbswitchoverrideval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLocalLNBSwitchOverride)(::windows::core::Interface::as_raw(self), locallnbswitchoverrideval).ok() } pub unsafe fn LocalSpectralInversionOverride(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalSpectralInversionOverride)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocalSpectralInversionOverride(&self, localspectralinversionoverrideval: SpectralInversion) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLocalSpectralInversionOverride)(::windows::core::Interface::as_raw(self), localspectralinversionoverrideval).ok() } pub unsafe fn SignalRollOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignalRollOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSignalRollOff(&self, rolloffval: RollOff) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSignalRollOff)(::windows::core::Interface::as_raw(self), rolloffval).ok() } pub unsafe fn SignalPilot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignalPilot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSignalPilot(&self, pilotval: Pilot) -> ::windows::core::Result<()> { @@ -31593,7 +31593,7 @@ impl IDVBSTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31607,7 +31607,7 @@ impl IDVBSTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31621,13 +31621,13 @@ impl IDVBSTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31639,7 +31639,7 @@ impl IDVBSTuningSpace { (::windows::core::Interface::vtable(self).base__.base__.base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -31648,25 +31648,25 @@ impl IDVBSTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -31680,7 +31680,7 @@ impl IDVBSTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31694,7 +31694,7 @@ impl IDVBSTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -31708,39 +31708,39 @@ impl IDVBSTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SystemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SystemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSystemType(&self, systype: DVBSystemType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetSystemType)(::windows::core::Interface::as_raw(self), systype).ok() } pub unsafe fn NetworkID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NetworkID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNetworkID(&self, networkid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetNetworkID)(::windows::core::Interface::as_raw(self), networkid).ok() } pub unsafe fn LowOscillator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LowOscillator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLowOscillator(&self, lowoscillator: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLowOscillator)(::windows::core::Interface::as_raw(self), lowoscillator).ok() } pub unsafe fn HighOscillator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HighOscillator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHighOscillator(&self, highoscillator: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHighOscillator)(::windows::core::Interface::as_raw(self), highoscillator).ok() } pub unsafe fn LNBSwitch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LNBSwitch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLNBSwitch(&self, lnbswitch: i32) -> ::windows::core::Result<()> { @@ -31749,7 +31749,7 @@ impl IDVBSTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InputRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InputRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31761,7 +31761,7 @@ impl IDVBSTuningSpace { (::windows::core::Interface::vtable(self).SetInputRange)(::windows::core::Interface::as_raw(self), inputrange.into().abi()).ok() } pub unsafe fn SpectralInversion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpectralInversion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpectralInversion(&self, spectralinversionval: SpectralInversion) -> ::windows::core::Result<()> { @@ -31912,49 +31912,49 @@ pub struct IDVBTLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBTLocator { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -31963,53 +31963,53 @@ impl IDVBTLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Bandwidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Bandwidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBandwidth(&self, bandwidthval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBandwidth)(::windows::core::Interface::as_raw(self), bandwidthval).ok() } pub unsafe fn LPInnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LPInnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLPInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLPInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn LPInnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LPInnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLPInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLPInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn HAlpha(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HAlpha)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHAlpha(&self, alpha: HierarchyAlpha) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHAlpha)(::windows::core::Interface::as_raw(self), alpha).ok() } pub unsafe fn Guard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Guard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGuard(&self, gi: GuardInterval) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGuard)(::windows::core::Interface::as_raw(self), gi).ok() } pub unsafe fn Mode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMode(&self, mode: TransmissionMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn OtherFrequencyInUse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OtherFrequencyInUse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherFrequencyInUse(&self, otherfrequencyinuseval: i16) -> ::windows::core::Result<()> { @@ -32140,49 +32140,49 @@ pub struct IDVBTLocator2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBTLocator2 { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -32191,60 +32191,60 @@ impl IDVBTLocator2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Bandwidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Bandwidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBandwidth(&self, bandwidthval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBandwidth)(::windows::core::Interface::as_raw(self), bandwidthval).ok() } pub unsafe fn LPInnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LPInnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLPInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLPInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn LPInnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LPInnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLPInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLPInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn HAlpha(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HAlpha)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHAlpha(&self, alpha: HierarchyAlpha) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetHAlpha)(::windows::core::Interface::as_raw(self), alpha).ok() } pub unsafe fn Guard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Guard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGuard(&self, gi: GuardInterval) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetGuard)(::windows::core::Interface::as_raw(self), gi).ok() } pub unsafe fn Mode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMode(&self, mode: TransmissionMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn OtherFrequencyInUse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OtherFrequencyInUse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherFrequencyInUse(&self, otherfrequencyinuseval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOtherFrequencyInUse)(::windows::core::Interface::as_raw(self), otherfrequencyinuseval).ok() } pub unsafe fn PhysicalLayerPipeId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhysicalLayerPipeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPhysicalLayerPipeId(&self, physicallayerpipeidval: i32) -> ::windows::core::Result<()> { @@ -32383,25 +32383,25 @@ impl IDVBTuneRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Components(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Components)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Locator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Locator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32413,21 +32413,21 @@ impl IDVBTuneRequest { (::windows::core::Interface::vtable(self).base__.SetLocator)(::windows::core::Interface::as_raw(self), locator.into().abi()).ok() } pub unsafe fn ONID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ONID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetONID(&self, onid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetONID)(::windows::core::Interface::as_raw(self), onid).ok() } pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTSID(&self, tsid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTSID)(::windows::core::Interface::as_raw(self), tsid).ok() } pub unsafe fn SID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSID(&self, sid: i32) -> ::windows::core::Result<()> { @@ -32534,7 +32534,7 @@ impl IDVBTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32548,7 +32548,7 @@ impl IDVBTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32562,13 +32562,13 @@ impl IDVBTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32580,7 +32580,7 @@ impl IDVBTuningSpace { (::windows::core::Interface::vtable(self).base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -32589,25 +32589,25 @@ impl IDVBTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32621,7 +32621,7 @@ impl IDVBTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32635,7 +32635,7 @@ impl IDVBTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32649,11 +32649,11 @@ impl IDVBTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SystemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SystemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSystemType(&self, systype: DVBSystemType) -> ::windows::core::Result<()> { @@ -32756,7 +32756,7 @@ impl IDVBTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32770,7 +32770,7 @@ impl IDVBTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32784,13 +32784,13 @@ impl IDVBTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32802,7 +32802,7 @@ impl IDVBTuningSpace2 { (::windows::core::Interface::vtable(self).base__.base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -32811,25 +32811,25 @@ impl IDVBTuningSpace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32843,7 +32843,7 @@ impl IDVBTuningSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32857,7 +32857,7 @@ impl IDVBTuningSpace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32871,18 +32871,18 @@ impl IDVBTuningSpace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SystemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SystemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSystemType(&self, systype: DVBSystemType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSystemType)(::windows::core::Interface::as_raw(self), systype).ok() } pub unsafe fn NetworkID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNetworkID(&self, networkid: i32) -> ::windows::core::Result<()> { @@ -33006,15 +33006,15 @@ impl IDVB_BAT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBouquetId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBouquetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32, ppdescriptor: *const ::core::option::Option) -> ::windows::core::Result<()> { @@ -33024,23 +33024,23 @@ impl IDVB_BAT { (::windows::core::Interface::vtable(self).GetTableDescriptorByTag)(::windows::core::Interface::as_raw(self), btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTransportStreamId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTransportStreamId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordOriginalNetworkId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordOriginalNetworkId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -33055,7 +33055,7 @@ impl IDVB_BAT { (::windows::core::Interface::vtable(self).RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33145,7 +33145,7 @@ impl IDVB_DIT { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTransitionFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransitionFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33206,61 +33206,61 @@ impl IDVB_EIT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransportStreamId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportStreamId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSegmentLastSectionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSegmentLastSectionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastTableId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastTableId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordEventId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordEventId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordStartTime(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordStartTime)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDuration(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDuration)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordRunningStatus)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordFreeCAMode(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordFreeCAMode)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -33275,7 +33275,7 @@ impl IDVB_EIT { (::windows::core::Interface::vtable(self).RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33290,7 +33290,7 @@ impl IDVB_EIT { (::windows::core::Interface::vtable(self).ConvertNextToCurrent)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33376,61 +33376,61 @@ impl IDVB_EIT2 { (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetServiceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransportStreamId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransportStreamId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOriginalNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSegmentLastSectionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSegmentLastSectionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastTableId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLastTableId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordEventId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordEventId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordStartTime(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordStartTime)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDuration(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordDuration)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordRunningStatus)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordFreeCAMode(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordFreeCAMode)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -33445,7 +33445,7 @@ impl IDVB_EIT2 { (::windows::core::Interface::vtable(self).base__.RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNextTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33460,14 +33460,14 @@ impl IDVB_EIT2 { (::windows::core::Interface::vtable(self).base__.ConvertNextToCurrent)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSegmentInfo(&self, pbtid: *mut u8, pbsegment: *mut u8) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSegmentInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbtid), ::core::mem::transmute(pbsegment)).ok() } pub unsafe fn GetRecordSection(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordSection)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33540,42 +33540,42 @@ impl IDVB_NIT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetTableDescriptorByTag)(::windows::core::Interface::as_raw(self), btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTransportStreamId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTransportStreamId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordOriginalNetworkId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordOriginalNetworkId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -33590,7 +33590,7 @@ impl IDVB_NIT { (::windows::core::Interface::vtable(self).RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33605,7 +33605,7 @@ impl IDVB_NIT { (::windows::core::Interface::vtable(self).ConvertNextToCurrent)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33683,27 +33683,27 @@ impl IDVB_RST { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi()).ok() } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTransportStreamId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTransportStreamId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordOriginalNetworkId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordOriginalNetworkId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordEventId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordEventId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordRunningStatus)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33766,53 +33766,53 @@ impl IDVB_SDT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransportStreamId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportStreamId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordEITScheduleFlag(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordEITScheduleFlag)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordEITPresentFollowingFlag(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordEITPresentFollowingFlag)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordRunningStatus)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordFreeCAMode(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordFreeCAMode)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -33827,7 +33827,7 @@ impl IDVB_SDT { (::windows::core::Interface::vtable(self).RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33842,7 +33842,7 @@ impl IDVB_SDT { (::windows::core::Interface::vtable(self).ConvertNextToCurrent)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33931,38 +33931,38 @@ impl IDVB_SIT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetTableDescriptorByTag)(::windows::core::Interface::as_raw(self), btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordRunningStatus)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -33977,7 +33977,7 @@ impl IDVB_SIT { (::windows::core::Interface::vtable(self).RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextTable)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34064,11 +34064,11 @@ impl IDVB_ST { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi()).ok() } pub unsafe fn GetDataLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetData(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } } @@ -34126,7 +34126,7 @@ impl IDVB_TDT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi()).ok() } pub unsafe fn GetUTCTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUTCTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34183,15 +34183,15 @@ impl IDVB_TOT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi()).ok() } pub unsafe fn GetUTCTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUTCTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -34463,14 +34463,14 @@ impl IDeferredCommand { (::windows::core::Interface::vtable(self).Cancel)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Confidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Confidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Postpone(&self, newtime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Postpone)(::windows::core::Interface::as_raw(self), newtime).ok() } pub unsafe fn GetHResult(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } } @@ -34525,49 +34525,49 @@ pub struct IDigitalCableLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDigitalCableLocator { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -34576,25 +34576,25 @@ impl IDigitalCableLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhysicalChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PhysicalChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPhysicalChannel(&self, physicalchannel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPhysicalChannel)(::windows::core::Interface::as_raw(self), physicalchannel).ok() } pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTSID(&self, tsid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetTSID)(::windows::core::Interface::as_raw(self), tsid).ok() } pub unsafe fn ProgramNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProgramNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProgramNumber(&self, programnumber: i32) -> ::windows::core::Result<()> { @@ -34749,25 +34749,25 @@ impl IDigitalCableTuneRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Components(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Components)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Locator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Locator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -34779,28 +34779,28 @@ impl IDigitalCableTuneRequest { (::windows::core::Interface::vtable(self).base__.base__.base__.SetLocator)(::windows::core::Interface::as_raw(self), locator.into().abi()).ok() } pub unsafe fn Channel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Channel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannel(&self, channel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetChannel)(::windows::core::Interface::as_raw(self), channel).ok() } pub unsafe fn MinorChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinorChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinorChannel(&self, minorchannel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMinorChannel)(::windows::core::Interface::as_raw(self), minorchannel).ok() } pub unsafe fn MajorChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMajorChannel(&self, majorchannel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMajorChannel)(::windows::core::Interface::as_raw(self), majorchannel).ok() } pub unsafe fn SourceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceID(&self, sourceid: i32) -> ::windows::core::Result<()> { @@ -34941,7 +34941,7 @@ impl IDigitalCableTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34955,7 +34955,7 @@ impl IDigitalCableTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34969,13 +34969,13 @@ impl IDigitalCableTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34987,7 +34987,7 @@ impl IDigitalCableTuningSpace { (::windows::core::Interface::vtable(self).base__.base__.base__.SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -34996,25 +34996,25 @@ impl IDigitalCableTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -35028,7 +35028,7 @@ impl IDigitalCableTuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -35042,7 +35042,7 @@ impl IDigitalCableTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -35056,88 +35056,88 @@ impl IDigitalCableTuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MinChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinChannel(&self, newminchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetMinChannel)(::windows::core::Interface::as_raw(self), newminchannelval).ok() } pub unsafe fn MaxChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MaxChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxChannel(&self, newmaxchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetMaxChannel)(::windows::core::Interface::as_raw(self), newmaxchannelval).ok() } pub unsafe fn InputType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InputType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputType(&self, newinputtypeval: TunerInputType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInputType)(::windows::core::Interface::as_raw(self), newinputtypeval).ok() } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCountryCode(&self, newcountrycodeval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCountryCode)(::windows::core::Interface::as_raw(self), newcountrycodeval).ok() } pub unsafe fn MinMinorChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinMinorChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinMinorChannel(&self, newminminorchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMinMinorChannel)(::windows::core::Interface::as_raw(self), newminminorchannelval).ok() } pub unsafe fn MaxMinorChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxMinorChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxMinorChannel(&self, newmaxminorchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaxMinorChannel)(::windows::core::Interface::as_raw(self), newmaxminorchannelval).ok() } pub unsafe fn MinPhysicalChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinPhysicalChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinPhysicalChannel(&self, newminphysicalchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMinPhysicalChannel)(::windows::core::Interface::as_raw(self), newminphysicalchannelval).ok() } pub unsafe fn MaxPhysicalChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxPhysicalChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxPhysicalChannel(&self, newmaxphysicalchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaxPhysicalChannel)(::windows::core::Interface::as_raw(self), newmaxphysicalchannelval).ok() } pub unsafe fn MinMajorChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinMajorChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinMajorChannel(&self, newminmajorchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinMajorChannel)(::windows::core::Interface::as_raw(self), newminmajorchannelval).ok() } pub unsafe fn MaxMajorChannel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxMajorChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxMajorChannel(&self, newmaxmajorchannelval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxMajorChannel)(::windows::core::Interface::as_raw(self), newmaxmajorchannelval).ok() } pub unsafe fn MinSourceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinSourceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinSourceID(&self, newminsourceidval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinSourceID)(::windows::core::Interface::as_raw(self), newminsourceidval).ok() } pub unsafe fn MaxSourceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxSourceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxSourceID(&self, newmaxsourceidval: i32) -> ::windows::core::Result<()> { @@ -35280,49 +35280,49 @@ pub struct IDigitalLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDigitalLocator { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -35331,7 +35331,7 @@ impl IDigitalLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35485,7 +35485,7 @@ impl IDirectDrawMediaSampleAllocator { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetDirectDraw(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDirectDraw)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35538,7 +35538,7 @@ pub struct IDirectDrawMediaSampleAllocator_Vtbl { pub struct IDirectDrawMediaStream(::windows::core::IUnknown); impl IDirectDrawMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMultiMediaStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInformation(&self, ppurposeid: *mut ::windows::core::GUID, ptype: *mut STREAM_TYPE) -> ::windows::core::Result<()> { @@ -35551,14 +35551,14 @@ impl IDirectDrawMediaStream { (::windows::core::Interface::vtable(self).base__.SetSameFormat)(::windows::core::Interface::as_raw(self), pstreamthathasdesiredformat.into().abi(), dwflags).ok() } pub unsafe fn AllocateSample(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllocateSample)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSharedSample<'a, P0>(&self, pexistingsample: P0, dwflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IStreamSample>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSharedSample)(::windows::core::Interface::as_raw(self), pexistingsample.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendEndOfStream(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -35580,7 +35580,7 @@ impl IDirectDrawMediaStream { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetDirectDraw(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDirectDraw)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -35597,11 +35597,11 @@ impl IDirectDrawMediaStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Graphics::DirectDraw::IDirectDrawSurface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSample)(::windows::core::Interface::as_raw(self), psurface.into().abi(), ::core::mem::transmute(prect), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTimePerFrame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimePerFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35784,7 +35784,7 @@ pub struct IDirectDrawStreamSample_Vtbl { pub struct IDirectDrawVideo(::windows::core::IUnknown); impl IDirectDrawVideo { pub unsafe fn GetSwitches(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSwitches)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSwitches(&self, switches: u32) -> ::windows::core::Result<()> { @@ -35793,13 +35793,13 @@ impl IDirectDrawVideo { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetEmulatedCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmulatedCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -35821,11 +35821,11 @@ impl IDirectDrawVideo { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetDirectDraw(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDirectDraw)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSurfaceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurfaceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefault(&self) -> ::windows::core::Result<()> { @@ -35835,21 +35835,21 @@ impl IDirectDrawVideo { (::windows::core::Interface::vtable(self).UseScanLine)(::windows::core::Interface::as_raw(self), usescanline).ok() } pub unsafe fn CanUseScanLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanUseScanLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UseOverlayStretch(&self, useoverlaystretch: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).UseOverlayStretch)(::windows::core::Interface::as_raw(self), useoverlaystretch).ok() } pub unsafe fn CanUseOverlayStretch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanUseOverlayStretch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UseWhenFullScreen(&self, usewhenfullscreen: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).UseWhenFullScreen)(::windows::core::Interface::as_raw(self), usewhenfullscreen).ok() } pub unsafe fn WillUseFullScreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WillUseFullScreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36062,31 +36062,31 @@ pub struct IDrawVideoImage_Vtbl { pub struct IDvbCableDeliverySystemDescriptor(::windows::core::IUnknown); impl IDvbCableDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFECOuter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFECOuter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFECInner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFECInner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36142,23 +36142,23 @@ pub struct IDvbCableDeliverySystemDescriptor_Vtbl { pub struct IDvbComponentDescriptor(::windows::core::IUnknown); impl IDvbComponentDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComponentTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguageCode(&self, pszcode: &mut [u8; 4]) -> ::windows::core::Result<()> { @@ -36167,7 +36167,7 @@ impl IDvbComponentDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36226,15 +36226,15 @@ pub struct IDvbComponentDescriptor_Vtbl { pub struct IDvbContentDescriptor(::windows::core::IUnknown); impl IDvbContentDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordContentNibbles(&self, brecordindex: u8, pbvallevel1: *mut u8, pbvallevel2: *mut u8) -> ::windows::core::Result<()> { @@ -36294,15 +36294,15 @@ pub struct IDvbContentDescriptor_Vtbl { pub struct IDvbContentIdentifierDescriptor(::windows::core::IUnknown); impl IDvbContentIdentifierDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCrid(&self, brecordindex: u8, pbtype: *mut u8, pblocation: *mut u8, pblength: *mut u8, ppbbytes: *mut *mut u8) -> ::windows::core::Result<()> { @@ -36358,34 +36358,34 @@ pub struct IDvbContentIdentifierDescriptor_Vtbl { pub struct IDvbDataBroadcastDescriptor(::windows::core::IUnknown); impl IDvbDataBroadcastDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataBroadcastID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataBroadcastID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComponentTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelectorLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectorLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelectorBytes(&self, pblen: *mut u8, pbval: *mut u8) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSelectorBytes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblen), ::core::mem::transmute(pbval)).ok() } pub unsafe fn GetLangID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLangID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetText(&self, pblen: *mut u8, pbval: *mut u8) -> ::windows::core::Result<()> { @@ -36446,15 +36446,15 @@ pub struct IDvbDataBroadcastDescriptor_Vtbl { pub struct IDvbDataBroadcastIDDescriptor(::windows::core::IUnknown); impl IDvbDataBroadcastIDDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataBroadcastID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataBroadcastID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIDSelectorBytes(&self, pblen: *mut u8, pbval: *mut u8) -> ::windows::core::Result<()> { @@ -36510,11 +36510,11 @@ pub struct IDvbDataBroadcastIDDescriptor_Vtbl { pub struct IDvbDefaultAuthorityDescriptor(::windows::core::IUnknown); impl IDvbDefaultAuthorityDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultAuthority(&self, pblength: *mut u8, ppbbytes: *mut *mut u8) -> ::windows::core::Result<()> { @@ -36569,26 +36569,26 @@ pub struct IDvbDefaultAuthorityDescriptor_Vtbl { pub struct IDvbExtendedEventDescriptor(::windows::core::IUnknown); impl IDvbExtendedEventDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDescriptorNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescriptorNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastDescriptorNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastDescriptorNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguageCode(&self, pszcode: &mut [u8; 4]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLanguageCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pszcode))).ok() } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36607,7 +36607,7 @@ impl IDvbExtendedEventDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36616,7 +36616,7 @@ impl IDvbExtendedEventDescriptor { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDvbExtendedEventDescriptor>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConcatenatedTextW)(::windows::core::Interface::as_raw(self), followingdescriptor.into().abi(), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordItemRawBytes(&self, brecordindex: u8, ppbrawitem: *mut *mut u8, pbitemlength: *mut u8) -> ::windows::core::Result<()> { @@ -36691,23 +36691,23 @@ pub struct IDvbExtendedEventDescriptor_Vtbl { pub struct IDvbFrequencyListDescriptor(::windows::core::IUnknown); impl IDvbFrequencyListDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodingType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodingType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCentreFrequency(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCentreFrequency)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36761,27 +36761,27 @@ pub struct IDvbFrequencyListDescriptor_Vtbl { pub struct IDvbHDSimulcastLogicalChannelDescriptor(::windows::core::IUnknown); impl IDvbHDSimulcastLogicalChannelDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRecordServiceId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLogicalChannelNumber(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRecordLogicalChannelNumber)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLogicalChannelAndVisibility(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordLogicalChannelAndVisibility)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36860,31 +36860,31 @@ pub struct IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { pub struct IDvbLinkageDescriptor(::windows::core::IUnknown); impl IDvbLinkageDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTSId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTSId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetONId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetONId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLinkageType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLinkageType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrivateDataLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrivateDataLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrivateData(&self, pblen: *mut u8, pbdata: *mut u8) -> ::windows::core::Result<()> { @@ -36944,60 +36944,60 @@ pub struct IDvbLinkageDescriptor_Vtbl { pub struct IDvbLogicalChannel2Descriptor(::windows::core::IUnknown); impl IDvbLogicalChannel2Descriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRecordServiceId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLogicalChannelNumber(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRecordLogicalChannelNumber)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLogicalChannelAndVisibility(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordLogicalChannelAndVisibility)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfLists(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfLists)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetListId(&self, blistindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListId)(::windows::core::Interface::as_raw(self), blistindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetListNameW(&self, blistindex: u8, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListNameW)(::windows::core::Interface::as_raw(self), blistindex, convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetListCountryCode(&self, blistindex: u8, pszcode: &mut [u8; 4]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetListCountryCode)(::windows::core::Interface::as_raw(self), blistindex, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pszcode))).ok() } pub unsafe fn GetListCountOfRecords(&self, bchannellistindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListCountOfRecords)(::windows::core::Interface::as_raw(self), bchannellistindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetListRecordServiceId(&self, blistindex: u8, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListRecordServiceId)(::windows::core::Interface::as_raw(self), blistindex, brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetListRecordLogicalChannelNumber(&self, blistindex: u8, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListRecordLogicalChannelNumber)(::windows::core::Interface::as_raw(self), blistindex, brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetListRecordLogicalChannelAndVisibility(&self, blistindex: u8, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListRecordLogicalChannelAndVisibility)(::windows::core::Interface::as_raw(self), blistindex, brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37087,23 +37087,23 @@ pub struct IDvbLogicalChannel2Descriptor_Vtbl { pub struct IDvbLogicalChannelDescriptor(::windows::core::IUnknown); impl IDvbLogicalChannelDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLogicalChannelNumber(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordLogicalChannelNumber)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37157,27 +37157,27 @@ pub struct IDvbLogicalChannelDescriptor_Vtbl { pub struct IDvbLogicalChannelDescriptor2(::windows::core::IUnknown); impl IDvbLogicalChannelDescriptor2 { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordServiceId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLogicalChannelNumber(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordLogicalChannelNumber)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLogicalChannelAndVisibility(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordLogicalChannelAndVisibility)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37242,31 +37242,31 @@ pub struct IDvbLogicalChannelDescriptor2_Vtbl { pub struct IDvbMultilingualServiceNameDescriptor(::windows::core::IUnknown); impl IDvbMultilingualServiceNameDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLangId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordLangId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordServiceProviderNameW(&self, brecordindex: u8, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceProviderNameW)(::windows::core::Interface::as_raw(self), brecordindex, convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordServiceNameW(&self, brecordindex: u8, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceNameW)(::windows::core::Interface::as_raw(self), brecordindex, convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37327,21 +37327,21 @@ pub struct IDvbMultilingualServiceNameDescriptor_Vtbl { pub struct IDvbNetworkNameDescriptor(::windows::core::IUnknown); impl IDvbNetworkNameDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNetworkName(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkNameW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkNameW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37397,15 +37397,15 @@ pub struct IDvbNetworkNameDescriptor_Vtbl { pub struct IDvbParentalRatingDescriptor(::windows::core::IUnknown); impl IDvbParentalRatingDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRating(&self, brecordindex: u8, pszcountrycode: &mut [u8; 4], pbval: *mut u8) -> ::windows::core::Result<()> { @@ -37461,15 +37461,15 @@ pub struct IDvbParentalRatingDescriptor_Vtbl { pub struct IDvbPrivateDataSpecifierDescriptor(::windows::core::IUnknown); impl IDvbPrivateDataSpecifierDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrivateDataSpecifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrivateDataSpecifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37521,39 +37521,39 @@ pub struct IDvbPrivateDataSpecifierDescriptor_Vtbl { pub struct IDvbSatelliteDeliverySystemDescriptor(::windows::core::IUnknown); impl IDvbSatelliteDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOrbitalPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOrbitalPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWestEastFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWestEastFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPolarization(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolarization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFECInner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFECInner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37611,31 +37611,31 @@ pub struct IDvbSatelliteDeliverySystemDescriptor_Vtbl { pub struct IDvbServiceAttributeDescriptor(::windows::core::IUnknown); impl IDvbServiceAttributeDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordNumericSelectionFlag(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordNumericSelectionFlag)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordVisibleServiceFlag(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordVisibleServiceFlag)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37696,41 +37696,41 @@ pub struct IDvbServiceAttributeDescriptor_Vtbl { pub struct IDvbServiceDescriptor(::windows::core::IUnknown); impl IDvbServiceDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceProviderName(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetServiceProviderNameW(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceProviderNameW)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceName(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProcessedServiceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessedServiceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetServiceNameEmphasized(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceNameEmphasized)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37796,53 +37796,53 @@ pub struct IDvbServiceDescriptor_Vtbl { pub struct IDvbServiceDescriptor2(::windows::core::IUnknown); impl IDvbServiceDescriptor2 { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetServiceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceProviderName(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetServiceProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetServiceProviderNameW(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetServiceProviderNameW)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceName(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetServiceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProcessedServiceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProcessedServiceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetServiceNameEmphasized(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetServiceNameEmphasized)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetServiceProviderNameW2(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceProviderNameW2)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetServiceNameW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceNameW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37914,23 +37914,23 @@ pub struct IDvbServiceDescriptor2_Vtbl { pub struct IDvbServiceListDescriptor(::windows::core::IUnknown); impl IDvbServiceListDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceType(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceType)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37984,11 +37984,11 @@ pub struct IDvbServiceListDescriptor_Vtbl { pub struct IDvbShortEventDescriptor(::windows::core::IUnknown); impl IDvbShortEventDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguageCode(&self, pszcode: &mut [u8; 4]) -> ::windows::core::Result<()> { @@ -37997,13 +37997,13 @@ impl IDvbShortEventDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEventNameW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventNameW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38069,59 +38069,59 @@ impl IDvbSiParser { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), punkmpeg2data.into().abi()).ok() } pub unsafe fn GetPAT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPAT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCAT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPMT(&self, pid: u16, pwprogramnumber: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPMT)(::windows::core::Interface::as_raw(self), pid, ::core::mem::transmute(pwprogramnumber), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTSDT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTSDT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNIT(&self, tableid: u8, pwnetworkid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNIT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwnetworkid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSDT(&self, tableid: u8, pwtransportstreamid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSDT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwtransportstreamid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEIT(&self, tableid: u8, pwserviceid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEIT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwserviceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBAT(&self, pwbouquetid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBAT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwbouquetid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRST(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRST)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetST(&self, pid: u16, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetST)(::windows::core::Interface::as_raw(self), pid, dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTDT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTDT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTOT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTOT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDIT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDIT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSIT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSIT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38191,63 +38191,63 @@ impl IDvbSiParser2 { (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), punkmpeg2data.into().abi()).ok() } pub unsafe fn GetPAT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPAT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCAT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCAT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPMT(&self, pid: u16, pwprogramnumber: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPMT)(::windows::core::Interface::as_raw(self), pid, ::core::mem::transmute(pwprogramnumber), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTSDT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTSDT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNIT(&self, tableid: u8, pwnetworkid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNIT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwnetworkid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSDT(&self, tableid: u8, pwtransportstreamid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSDT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwtransportstreamid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEIT(&self, tableid: u8, pwserviceid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEIT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwserviceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBAT(&self, pwbouquetid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBAT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwbouquetid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRST(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRST)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetST(&self, pid: u16, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetST)(::windows::core::Interface::as_raw(self), pid, dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTDT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTDT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTOT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTOT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDIT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDIT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSIT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSIT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEIT2(&self, tableid: u8, pwserviceid: *const u16, pbsegment: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEIT2)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwserviceid), ::core::mem::transmute(pbsegment), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38312,31 +38312,31 @@ pub struct IDvbSiParser2_Vtbl { pub struct IDvbSubtitlingDescriptor(::windows::core::IUnknown); impl IDvbSubtitlingDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLangId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordLangId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordSubtitlingType(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordSubtitlingType)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCompositionPageID(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCompositionPageID)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordAncillaryPageID(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordAncillaryPageID)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38392,31 +38392,31 @@ pub struct IDvbSubtitlingDescriptor_Vtbl { pub struct IDvbTeletextDescriptor(::windows::core::IUnknown); impl IDvbTeletextDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordLangId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordLangId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTeletextType(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTeletextType)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordMagazineNumber(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordMagazineNumber)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordPageNumber(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordPageNumber)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38472,55 +38472,55 @@ pub struct IDvbTeletextDescriptor_Vtbl { pub struct IDvbTerrestrial2DeliverySystemDescriptor(::windows::core::IUnknown); impl IDvbTerrestrial2DeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTagExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTagExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCentreFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCentreFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPLPId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPLPId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetT2SystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetT2SystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMultipleInputMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMultipleInputMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBandwidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBandwidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGuardInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuardInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransmissionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransmissionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCellId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOtherFrequencyFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherFrequencyFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTFSFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTFSFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38582,47 +38582,47 @@ pub struct IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { pub struct IDvbTerrestrialDeliverySystemDescriptor(::windows::core::IUnknown); impl IDvbTerrestrialDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCentreFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCentreFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBandwidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBandwidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConstellation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConstellation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHierarchyInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHierarchyInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodeRateHPStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeRateHPStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodeRateLPStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeRateLPStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGuardInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuardInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransmissionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransmissionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOtherFrequencyFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherFrequencyFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38941,11 +38941,11 @@ pub struct IDvdControl_Vtbl { pub struct IDvdControl2(::windows::core::IUnknown); impl IDvdControl2 { pub unsafe fn PlayTitle(&self, ultitle: u32, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayTitle)(::windows::core::Interface::as_raw(self), ultitle, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayChapterInTitle(&self, ultitle: u32, ulchapter: u32, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayChapterInTitle)(::windows::core::Interface::as_raw(self), ultitle, ulchapter, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayAtTimeInTitle(&self, ultitle: u32, pstarttime: *mut DVD_HMSF_TIMECODE, dwflags: u32, ppcmd: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -38955,42 +38955,42 @@ impl IDvdControl2 { (::windows::core::Interface::vtable(self).Stop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ReturnFromSubmenu(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReturnFromSubmenu)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayAtTime(&self, ptime: *mut DVD_HMSF_TIMECODE, dwflags: u32, ppcmd: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).PlayAtTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptime), dwflags, ::core::mem::transmute(ppcmd)).ok() } pub unsafe fn PlayChapter(&self, ulchapter: u32, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayChapter)(::windows::core::Interface::as_raw(self), ulchapter, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayPrevChapter(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayPrevChapter)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReplayChapter(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReplayChapter)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayNextChapter(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayNextChapter)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayForwards(&self, dspeed: f64, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayForwards)(::windows::core::Interface::as_raw(self), dspeed, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayBackwards(&self, dspeed: f64, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayBackwards)(::windows::core::Interface::as_raw(self), dspeed, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowMenu(&self, menuid: DVD_MENU_ID, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowMenu)(::windows::core::Interface::as_raw(self), menuid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resume(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Resume)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectRelativeButton(&self, buttondir: DVD_RELATIVE_BUTTON) -> ::windows::core::Result<()> { @@ -39017,11 +39017,11 @@ impl IDvdControl2 { (::windows::core::Interface::vtable(self).Pause)(::windows::core::Interface::as_raw(self), bstate.into()).ok() } pub unsafe fn SelectAudioStream(&self, ulaudio: u32, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectAudioStream)(::windows::core::Interface::as_raw(self), ulaudio, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectSubpictureStream(&self, ulsubpicture: u32, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectSubpictureStream)(::windows::core::Interface::as_raw(self), ulsubpicture, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39030,11 +39030,11 @@ impl IDvdControl2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetSubpictureState)(::windows::core::Interface::as_raw(self), bstate.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectAngle(&self, ulangle: u32, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectAngle)(::windows::core::Interface::as_raw(self), ulangle, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectParentalLevel(&self, ulparentallevel: u32) -> ::windows::core::Result<()> { @@ -39066,7 +39066,7 @@ impl IDvdControl2 { (::windows::core::Interface::vtable(self).SelectAtPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point)).ok() } pub unsafe fn PlayChaptersAutoStop(&self, ultitle: u32, ulchapter: u32, ulchapterstoplay: u32, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayChaptersAutoStop)(::windows::core::Interface::as_raw(self), ultitle, ulchapter, ulchapterstoplay, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39089,14 +39089,14 @@ impl IDvdControl2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDvdState>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetState)(::windows::core::Interface::as_raw(self), pstate.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayPeriodInTitleAutoStop(&self, ultitle: u32, pstarttime: *mut DVD_HMSF_TIMECODE, pendtime: *mut DVD_HMSF_TIMECODE, dwflags: u32, ppcmd: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).PlayPeriodInTitleAutoStop)(::windows::core::Interface::as_raw(self), ultitle, ::core::mem::transmute(pstarttime), ::core::mem::transmute(pendtime), dwflags, ::core::mem::transmute(ppcmd)).ok() } pub unsafe fn SetGPRM(&self, ulindex: u32, wvalue: u16, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetGPRM)(::windows::core::Interface::as_raw(self), ulindex, wvalue, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectDefaultMenuLanguage(&self, language: u32) -> ::windows::core::Result<()> { @@ -39212,7 +39212,7 @@ pub struct IDvdControl2_Vtbl { pub struct IDvdGraphBuilder(::windows::core::IUnknown); impl IDvdGraphBuilder { pub unsafe fn GetFiltergraph(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFiltergraph)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDvdInterface(&self, riid: *const ::windows::core::GUID, ppvif: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -39224,7 +39224,7 @@ impl IDvdGraphBuilder { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RenderDvdVideoVolume)(::windows::core::Interface::as_raw(self), lpcwszpathname.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39282,11 +39282,11 @@ impl IDvdInfo { (::windows::core::Interface::vtable(self).GetCurrentDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdomain)).ok() } pub unsafe fn GetCurrentLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTotalTitleTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTotalTitleTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentButton(&self, pulbuttonsavailable: *mut u32, pulcurrentbutton: *mut u32) -> ::windows::core::Result<()> { @@ -39304,43 +39304,43 @@ impl IDvdInfo { (::windows::core::Interface::vtable(self).GetCurrentSubpicture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pulstreamsavailable), ::core::mem::transmute(pulcurrentstream), ::core::mem::transmute(pisdisabled)).ok() } pub unsafe fn GetCurrentUOPS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentUOPS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAllSPRMs(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllSPRMs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn GetAllGPRMs(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllGPRMs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn GetAudioLanguage(&self, ulstream: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioLanguage)(::windows::core::Interface::as_raw(self), ulstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubpictureLanguage(&self, ulstream: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubpictureLanguage)(::windows::core::Interface::as_raw(self), ulstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTitleAttributes(&self, ultitle: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTitleAttributes)(::windows::core::Interface::as_raw(self), ultitle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVMGAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVMGAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentVideoAttributes(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentVideoAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetCurrentAudioAttributes(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentAudioAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetCurrentSubpictureAttributes(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSubpictureAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetCurrentVolumeInfo(&self, pulnumofvol: *mut u32, pulthisvolnum: *mut u32, pside: *mut DVD_DISC_SIDE, pulnumoftitles: *mut u32) -> ::windows::core::Result<()> { @@ -39353,11 +39353,11 @@ impl IDvdInfo { (::windows::core::Interface::vtable(self).GetPlayerParentalLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pulparentallevel), ::core::mem::transmute(pulcountrycode)).ok() } pub unsafe fn GetNumberOfChapters(&self, ultitle: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfChapters)(::windows::core::Interface::as_raw(self), ultitle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTitleParentalLevels(&self, ultitle: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTitleParentalLevels)(::windows::core::Interface::as_raw(self), ultitle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRoot(&self, proot: &mut [u8], pulactualsize: *mut u32) -> ::windows::core::Result<()> { @@ -39435,11 +39435,11 @@ pub struct IDvdInfo_Vtbl { pub struct IDvdInfo2(::windows::core::IUnknown); impl IDvdInfo2 { pub unsafe fn GetCurrentDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTotalTitleTime(&self, ptotaltime: *mut DVD_HMSF_TIMECODE, ultimecodeflags: *mut u32) -> ::windows::core::Result<()> { @@ -39460,23 +39460,23 @@ impl IDvdInfo2 { (::windows::core::Interface::vtable(self).GetCurrentSubpicture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pulstreamsavailable), ::core::mem::transmute(pulcurrentstream), ::core::mem::transmute(pbisdisabled)).ok() } pub unsafe fn GetCurrentUOPS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentUOPS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAllSPRMs(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllSPRMs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn GetAllGPRMs(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllGPRMs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn GetAudioLanguage(&self, ulstream: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioLanguage)(::windows::core::Interface::as_raw(self), ulstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubpictureLanguage(&self, ulstream: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubpictureLanguage)(::windows::core::Interface::as_raw(self), ulstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39487,36 +39487,36 @@ impl IDvdInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetVMGAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVMGAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCurrentVideoAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentVideoAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAudioAttributes(&self, ulstream: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioAttributes)(::windows::core::Interface::as_raw(self), ulstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetKaraokeAttributes(&self, ulstream: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKaraokeAttributes)(::windows::core::Interface::as_raw(self), ulstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubpictureAttributes(&self, ulstream: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubpictureAttributes)(::windows::core::Interface::as_raw(self), ulstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDVDVolumeInfo(&self, pulnumofvolumes: *mut u32, pulvolume: *mut u32, pside: *mut DVD_DISC_SIDE, pulnumoftitles: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetDVDVolumeInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pulnumofvolumes), ::core::mem::transmute(pulvolume), ::core::mem::transmute(pside), ::core::mem::transmute(pulnumoftitles)).ok() } pub unsafe fn GetDVDTextNumberOfLanguages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDVDTextNumberOfLanguages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDVDTextLanguageInfo(&self, ullangindex: u32, pulnumofstrings: *mut u32, plangcode: *mut u32, pbcharacterset: *mut DVD_TextCharSet) -> ::windows::core::Result<()> { @@ -39532,11 +39532,11 @@ impl IDvdInfo2 { (::windows::core::Interface::vtable(self).GetPlayerParentalLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pulparentallevel), ::core::mem::transmute(pbcountrycode)).ok() } pub unsafe fn GetNumberOfChapters(&self, ultitle: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfChapters)(::windows::core::Interface::as_raw(self), ultitle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTitleParentalLevels(&self, ultitle: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTitleParentalLevels)(::windows::core::Interface::as_raw(self), ultitle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDVDDirectory(&self, pszwpath: &mut [u16], pulactualsize: *mut u32) -> ::windows::core::Result<()> { @@ -39545,18 +39545,18 @@ impl IDvdInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsAudioStreamEnabled(&self, ulstreamnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAudioStreamEnabled)(::windows::core::Interface::as_raw(self), ulstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDiscID<'a, P0>(&self, pszwpath: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDiscID)(::windows::core::Interface::as_raw(self), pszwpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMenuLanguages(&self, planguages: *mut u32, ulmaxlanguages: u32, pulactuallanguages: *mut u32) -> ::windows::core::Result<()> { @@ -39565,15 +39565,15 @@ impl IDvdInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetButtonAtPosition(&self, point: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetButtonAtPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCmdFromEvent(&self, lparam1: isize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCmdFromEvent)(::windows::core::Interface::as_raw(self), lparam1, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultMenuLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultMenuLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultAudioLanguage(&self, planguage: *mut u32, paudioextension: *mut DVD_AUDIO_LANG_EXT) -> ::windows::core::Result<()> { @@ -39583,19 +39583,19 @@ impl IDvdInfo2 { (::windows::core::Interface::vtable(self).GetDefaultSubpictureLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(planguage), ::core::mem::transmute(psubpictureextension)).ok() } pub unsafe fn GetDecoderCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDecoderCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetButtonRect(&self, ulbutton: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetButtonRect)(::windows::core::Interface::as_raw(self), ulbutton, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSubpictureStreamEnabled(&self, ulstreamnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSubpictureStreamEnabled)(::windows::core::Interface::as_raw(self), ulstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39713,11 +39713,11 @@ pub struct IDvdInfo2_Vtbl { pub struct IDvdState(::windows::core::IUnknown); impl IDvdState { pub unsafe fn GetDiscID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDiscID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParentalLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentalLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39768,11 +39768,11 @@ pub struct IDvdState_Vtbl { pub struct IESCloseMmiEvent(::windows::core::IUnknown); impl IESCloseMmiEvent { pub unsafe fn GetEventId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetCompletionStatus(&self, dwresult: u32) -> ::windows::core::Result<()> { @@ -39781,17 +39781,17 @@ impl IESCloseMmiEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDialogNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDialogNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39856,11 +39856,11 @@ pub struct IESCloseMmiEvent_Vtbl { pub struct IESEvent(::windows::core::IUnknown); impl IESEvent { pub unsafe fn GetEventId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetCompletionStatus(&self, dwresult: u32) -> ::windows::core::Result<()> { @@ -39869,13 +39869,13 @@ impl IESEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39942,7 +39942,7 @@ impl IESEventFactory { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateESEvent)(::windows::core::Interface::as_raw(self), pserviceprovider.into().abi(), dweventid, ::core::mem::transmute(guideventtype), peventdata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(peventdata)), bstrbaseurl.into().abi(), pinitcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40180,11 +40180,11 @@ pub struct IESEvents_Vtbl { pub struct IESFileExpiryDateEvent(::windows::core::IUnknown); impl IESFileExpiryDateEvent { pub unsafe fn GetEventId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetCompletionStatus(&self, dwresult: u32) -> ::windows::core::Result<()> { @@ -40193,41 +40193,41 @@ impl IESFileExpiryDateEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTunerId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTunerId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetExpiryDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpiryDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFinalExpiryDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFinalExpiryDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxRenewalCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxRenewalCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEntitlementTokenPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEntitlementTokenPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DoesExpireAfterFirstUse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesExpireAfterFirstUse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40303,11 +40303,11 @@ pub struct IESFileExpiryDateEvent_Vtbl { pub struct IESIsdbCasResponseEvent(::windows::core::IUnknown); impl IESIsdbCasResponseEvent { pub unsafe fn GetEventId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetCompletionStatus(&self, dwresult: u32) -> ::windows::core::Result<()> { @@ -40316,31 +40316,31 @@ impl IESIsdbCasResponseEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRequestId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetResponseData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResponseData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -40411,11 +40411,11 @@ pub struct IESIsdbCasResponseEvent_Vtbl { pub struct IESLicenseRenewalResultEvent(::windows::core::IUnknown); impl IESLicenseRenewalResultEvent { pub unsafe fn GetEventId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetCompletionStatus(&self, dwresult: u32) -> ::windows::core::Result<()> { @@ -40424,65 +40424,65 @@ impl IESLicenseRenewalResultEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCallersId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCallersId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRenewalSuccessful(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRenewalSuccessful)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCheckEntitlementCallRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCheckEntitlementCallRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDescrambledStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescrambledStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRenewalResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenewalResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCASFailureCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCASFailureCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRenewalHResult(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenewalHResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetEntitlementTokenLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntitlementTokenLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEntitlementToken(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntitlementToken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetExpiryDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpiryDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40569,11 +40569,11 @@ pub struct IESLicenseRenewalResultEvent_Vtbl { pub struct IESOpenMmiEvent(::windows::core::IUnknown); impl IESOpenMmiEvent { pub unsafe fn GetEventId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetCompletionStatus(&self, dwresult: u32) -> ::windows::core::Result<()> { @@ -40582,26 +40582,26 @@ impl IESOpenMmiEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDialogNumber(&self, pdialogrequest: *mut u32, pdialognumber: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetDialogNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdialogrequest), ::core::mem::transmute(pdialognumber)).ok() } pub unsafe fn GetDialogType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDialogType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDialogData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDialogData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -40680,11 +40680,11 @@ pub struct IESOpenMmiEvent_Vtbl { pub struct IESRequestTunerEvent(::windows::core::IUnknown); impl IESRequestTunerEvent { pub unsafe fn GetEventId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetCompletionStatus(&self, dwresult: u32) -> ::windows::core::Result<()> { @@ -40693,29 +40693,29 @@ impl IESRequestTunerEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConsequences(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConsequences)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEstimatedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEstimatedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40783,11 +40783,11 @@ pub struct IESRequestTunerEvent_Vtbl { pub struct IESValueUpdatedEvent(::windows::core::IUnknown); impl IESValueUpdatedEvent { pub unsafe fn GetEventId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetCompletionStatus(&self, dwresult: u32) -> ::windows::core::Result<()> { @@ -40796,19 +40796,19 @@ impl IESValueUpdatedEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetData(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetValueNames(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValueNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -40876,14 +40876,14 @@ pub struct IESValueUpdatedEvent_Vtbl { pub struct IETFilter(::windows::core::IUnknown); impl IETFilter { pub unsafe fn EvalRatObjOK(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EvalRatObjOK)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetCurrRating(&self, pensystem: *mut EnTvRat_System, penrating: *mut EnTvRat_GenericLevel, plbfenattr: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCurrRating)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pensystem), ::core::mem::transmute(penrating), ::core::mem::transmute(plbfenattr)).ok() } pub unsafe fn GetCurrLicenseExpDate(&self, prottype: *const ProtType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrLicenseExpDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prottype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastErrorCode(&self) -> ::windows::core::Result<()> { @@ -40954,7 +40954,7 @@ impl IETFilterConfig { (::windows::core::Interface::vtable(self).InitLicense)(::windows::core::Interface::as_raw(self), licenseid).ok() } pub unsafe fn GetSecureChannelObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecureChannelObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -41096,13 +41096,13 @@ impl IEncoderAPI { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetDefaultValue(&self, api: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(api), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetValue(&self, api: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(api), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41189,7 +41189,7 @@ impl IEnumComponentTypes { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41256,7 +41256,7 @@ impl IEnumComponents { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41323,7 +41323,7 @@ impl IEnumFilters { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41388,7 +41388,7 @@ impl IEnumGuideDataProperties { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41452,7 +41452,7 @@ impl IEnumMSVidGraphSegment { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41519,7 +41519,7 @@ impl IEnumMediaTypes { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41584,7 +41584,7 @@ impl IEnumPIDMap { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41646,7 +41646,7 @@ impl IEnumPins { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41708,7 +41708,7 @@ impl IEnumRegFilters { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41770,7 +41770,7 @@ impl IEnumStreamBufferRecordingAttrib { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41832,7 +41832,7 @@ impl IEnumStreamIdMap { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41896,7 +41896,7 @@ impl IEnumTuneRequests { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41963,7 +41963,7 @@ impl IEnumTuningSpaces { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -42021,7 +42021,7 @@ pub struct IEvalRat(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEvalRat { pub unsafe fn get_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_BlockedRatingAttributes)(::windows::core::Interface::as_raw(self), ensystem, enlevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel, lbfattrs: i32) -> ::windows::core::Result<()> { @@ -42030,7 +42030,7 @@ impl IEvalRat { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BlockUnRated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockUnRated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42249,7 +42249,7 @@ impl IFileSinkFilter2 { (::windows::core::Interface::vtable(self).SetMode)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -42495,7 +42495,7 @@ impl IFilterGraph { (::windows::core::Interface::vtable(self).RemoveFilter)(::windows::core::Interface::as_raw(self), pfilter.into().abi()).ok() } pub unsafe fn EnumFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -42504,7 +42504,7 @@ impl IFilterGraph { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFilterByName)(::windows::core::Interface::as_raw(self), pname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -42614,7 +42614,7 @@ impl IFilterGraph2 { (::windows::core::Interface::vtable(self).base__.base__.RemoveFilter)(::windows::core::Interface::as_raw(self), pfilter.into().abi()).ok() } pub unsafe fn EnumFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -42623,7 +42623,7 @@ impl IFilterGraph2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindFilterByName)(::windows::core::Interface::as_raw(self), pname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -42677,7 +42677,7 @@ impl IFilterGraph2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddSourceFilter)(::windows::core::Interface::as_raw(self), lpcwstrfilename.into(), lpcwstrfiltername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogFile(&self, hfile: usize) -> ::windows::core::Result<()> { @@ -42697,7 +42697,7 @@ impl IFilterGraph2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindCtx>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSourceFilterForMoniker)(::windows::core::Interface::as_raw(self), pmoniker.into().abi(), pctx.into().abi(), lpcwstrfiltername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -42816,7 +42816,7 @@ impl IFilterGraph3 { (::windows::core::Interface::vtable(self).base__.base__.base__.RemoveFilter)(::windows::core::Interface::as_raw(self), pfilter.into().abi()).ok() } pub unsafe fn EnumFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -42825,7 +42825,7 @@ impl IFilterGraph3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FindFilterByName)(::windows::core::Interface::as_raw(self), pname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -42879,7 +42879,7 @@ impl IFilterGraph3 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AddSourceFilter)(::windows::core::Interface::as_raw(self), lpcwstrfilename.into(), lpcwstrfiltername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogFile(&self, hfile: usize) -> ::windows::core::Result<()> { @@ -42899,7 +42899,7 @@ impl IFilterGraph3 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindCtx>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddSourceFilterForMoniker)(::windows::core::Interface::as_raw(self), pmoniker.into().abi(), pctx.into().abi(), lpcwstrfiltername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -43028,39 +43028,39 @@ impl IFilterInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindPin)(::windows::core::Interface::as_raw(self), strpinid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VendorInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VendorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Filter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Pins(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFileSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFileSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Filename(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Filename)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43179,7 +43179,7 @@ impl IFilterMapper { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterFilterInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsid), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43402,7 +43402,7 @@ impl IFilterMapper3 { (::windows::core::Interface::vtable(self).base__.EnumMatchingFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppenum), dwflags, bexactmatch.into(), dwmerit, binputneeded.into(), cinputtypes, ::core::mem::transmute(pinputtypes), ::core::mem::transmute(pmedin), ::core::mem::transmute(ppincategoryin), brender.into(), boutputneeded.into(), coutputtypes, ::core::mem::transmute(poutputtypes), ::core::mem::transmute(pmedout), ::core::mem::transmute(ppincategoryout)).ok() } pub unsafe fn GetICreateDevEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetICreateDevEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43473,7 +43473,7 @@ impl IFrequencyMap { (::windows::core::Interface::vtable(self).put_FrequencyMapping)(::windows::core::Interface::as_raw(self), plist.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(plist))).ok() } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCountryCode(&self, ulcountrycode: u32) -> ::windows::core::Result<()> { @@ -43537,14 +43537,14 @@ pub struct IFrequencyMap_Vtbl { pub struct IFullScreenVideo(::windows::core::IUnknown); impl IFullScreenVideo { pub unsafe fn CountModes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModeInfo(&self, mode: i32, pwidth: *mut i32, pheight: *mut i32, pdepth: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetModeInfo)(::windows::core::Interface::as_raw(self), mode, ::core::mem::transmute(pwidth), ::core::mem::transmute(pheight), ::core::mem::transmute(pdepth)).ok() } pub unsafe fn GetCurrentMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsModeAvailable(&self, mode: i32) -> ::windows::core::Result<()> { @@ -43557,7 +43557,7 @@ impl IFullScreenVideo { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), mode, benabled).ok() } pub unsafe fn GetClipFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClipFactor(&self, clipfactor: i32) -> ::windows::core::Result<()> { @@ -43574,14 +43574,14 @@ impl IFullScreenVideo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMessageDrain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessageDrain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMonitor(&self, monitor: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMonitor)(::windows::core::Interface::as_raw(self), monitor).ok() } pub unsafe fn GetMonitor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMonitor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HideOnDeactivate(&self, hide: i32) -> ::windows::core::Result<()> { @@ -43601,7 +43601,7 @@ impl IFullScreenVideo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefault(&self) -> ::windows::core::Result<()> { @@ -43682,14 +43682,14 @@ pub struct IFullScreenVideo_Vtbl { pub struct IFullScreenVideoEx(::windows::core::IUnknown); impl IFullScreenVideoEx { pub unsafe fn CountModes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CountModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModeInfo(&self, mode: i32, pwidth: *mut i32, pheight: *mut i32, pdepth: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetModeInfo)(::windows::core::Interface::as_raw(self), mode, ::core::mem::transmute(pwidth), ::core::mem::transmute(pheight), ::core::mem::transmute(pdepth)).ok() } pub unsafe fn GetCurrentMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsModeAvailable(&self, mode: i32) -> ::windows::core::Result<()> { @@ -43702,7 +43702,7 @@ impl IFullScreenVideoEx { (::windows::core::Interface::vtable(self).base__.SetEnabled)(::windows::core::Interface::as_raw(self), mode, benabled).ok() } pub unsafe fn GetClipFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClipFactor(&self, clipfactor: i32) -> ::windows::core::Result<()> { @@ -43719,14 +43719,14 @@ impl IFullScreenVideoEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMessageDrain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMessageDrain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMonitor(&self, monitor: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMonitor)(::windows::core::Interface::as_raw(self), monitor).ok() } pub unsafe fn GetMonitor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMonitor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HideOnDeactivate(&self, hide: i32) -> ::windows::core::Result<()> { @@ -43746,7 +43746,7 @@ impl IFullScreenVideoEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefault(&self) -> ::windows::core::Result<()> { @@ -43770,7 +43770,7 @@ impl IFullScreenVideoEx { (::windows::core::Interface::vtable(self).KeepPixelAspectRatio)(::windows::core::Interface::as_raw(self), keepaspect).ok() } pub unsafe fn IsKeepPixelAspectRatio(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsKeepPixelAspectRatio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43847,15 +43847,15 @@ impl IGenericDescriptor { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbdesc), bcount).ok() } pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBody(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } } @@ -43911,22 +43911,22 @@ impl IGenericDescriptor2 { (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbdesc), bcount).ok() } pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBody(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn Initialize2(&self, pbdesc: *const u8, wcount: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Initialize2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbdesc), wcount).ok() } pub unsafe fn GetLength2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43994,7 +43994,7 @@ impl IGetCapabilitiesKey { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub unsafe fn GetCapabilitiesKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilitiesKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44049,7 +44049,7 @@ impl IGpnvsCommonBase { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValueUpdateName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValueUpdateName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44119,7 +44119,7 @@ impl IGraphBuilder { (::windows::core::Interface::vtable(self).base__.RemoveFilter)(::windows::core::Interface::as_raw(self), pfilter.into().abi()).ok() } pub unsafe fn EnumFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -44128,7 +44128,7 @@ impl IGraphBuilder { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindFilterByName)(::windows::core::Interface::as_raw(self), pname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -44182,7 +44182,7 @@ impl IGraphBuilder { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSourceFilter)(::windows::core::Interface::as_raw(self), lpcwstrfilename.into(), lpcwstrfiltername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogFile(&self, hfile: usize) -> ::windows::core::Result<()> { @@ -44293,7 +44293,7 @@ impl IGraphConfig { (::windows::core::Interface::vtable(self).AddFilterToCache)(::windows::core::Interface::as_raw(self), pfilter.into().abi()).ok() } pub unsafe fn EnumCacheFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCacheFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -44470,7 +44470,7 @@ pub struct IGraphConfigCallback_Vtbl { pub struct IGraphVersion(::windows::core::IUnknown); impl IGraphVersion { pub unsafe fn QueryVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44520,7 +44520,7 @@ pub struct IGraphVersion_Vtbl { pub struct IGuideData(::windows::core::IUnknown); impl IGuideData { pub unsafe fn GetServices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -44529,13 +44529,13 @@ impl IGuideData { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceProperties)(::windows::core::Interface::as_raw(self), ptunerequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetGuideProgramIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuideProgramIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44544,13 +44544,13 @@ impl IGuideData { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgramProperties)(::windows::core::Interface::as_raw(self), varprogramdescriptionid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetScheduleEntryIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScheduleEntryIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44559,7 +44559,7 @@ impl IGuideData { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScheduleEntryProperties)(::windows::core::Interface::as_raw(self), varscheduleentrydescriptionid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44808,17 +44808,17 @@ impl IGuideDataProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Language(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Language)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44876,7 +44876,7 @@ pub struct IGuideDataProperty_Vtbl { pub struct IIPDVDec(::windows::core::IUnknown); impl IIPDVDec { pub unsafe fn IPDisplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IPDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIPDisplay(&self, displaypix: i32) -> ::windows::core::Result<()> { @@ -44932,49 +44932,49 @@ pub struct IISDBSLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IISDBSLocator { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -44983,39 +44983,39 @@ impl IISDBSLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SignalPolarisation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignalPolarisation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSignalPolarisation(&self, polarisationval: Polarisation) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSignalPolarisation)(::windows::core::Interface::as_raw(self), polarisationval).ok() } pub unsafe fn WestPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WestPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWestPosition(&self, westlongitude: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetWestPosition)(::windows::core::Interface::as_raw(self), westlongitude).ok() } pub unsafe fn OrbitalPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OrbitalPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOrbitalPosition(&self, longitude: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOrbitalPosition)(::windows::core::Interface::as_raw(self), longitude).ok() } pub unsafe fn Azimuth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Azimuth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAzimuth(&self, azimuth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetAzimuth)(::windows::core::Interface::as_raw(self), azimuth).ok() } pub unsafe fn Elevation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Elevation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetElevation(&self, elevation: i32) -> ::windows::core::Result<()> { @@ -45155,49 +45155,49 @@ impl IISDB_BIT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBroadcastViewPropriety(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBroadcastViewPropriety)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetTableDescriptorByTag)(::windows::core::Interface::as_raw(self), btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordBroadcasterId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordBroadcasterId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetRecordDescriptorByTag)(::windows::core::Interface::as_raw(self), dwrecordindex, btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45266,46 +45266,46 @@ impl IISDB_CDT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi(), bsectionnumber).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDownloadDataId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDownloadDataId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSectionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSectionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetTableDescriptorByTag)(::windows::core::Interface::as_raw(self), btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetSizeOfDataModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSizeOfDataModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataModule(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45373,11 +45373,11 @@ impl IISDB_EMM { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableIdExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableIdExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataBytes(&self, pwbufferlength: *mut u16, pbbuffer: *mut u8) -> ::windows::core::Result<()> { @@ -45393,7 +45393,7 @@ impl IISDB_EMM { (::windows::core::Interface::vtable(self).GetIndividualEmmMessage)(::windows::core::Interface::as_raw(self), punknown.into().abi(), ::core::mem::transmute(pwlength), ::core::mem::transmute(ppbmessage)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45456,42 +45456,42 @@ impl IISDB_LDT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalServiceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalServiceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransportStreamId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportStreamId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptionId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptionId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetRecordDescriptorByTag)(::windows::core::Interface::as_raw(self), dwrecordindex, btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45558,58 +45558,58 @@ impl IISDB_NBIT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordInformationId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordInformationId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordInformationType(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordInformationType)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptionBodyLocation(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptionBodyLocation)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordMessageSectionNumber(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordMessageSectionNumber)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordUserDefined(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordUserDefined)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordNumberOfKeys(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordNumberOfKeys)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordKeys(&self, dwrecordindex: u32) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordKeys)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetRecordDescriptorByTag)(::windows::core::Interface::as_raw(self), dwrecordindex, btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45680,53 +45680,53 @@ impl IISDB_SDT { (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransportStreamId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransportStreamId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOriginalNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordServiceId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordEITScheduleFlag(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordEITScheduleFlag)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordEITPresentFollowingFlag(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordEITPresentFollowingFlag)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordRunningStatus)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordFreeCAMode(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordFreeCAMode)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -45741,7 +45741,7 @@ impl IISDB_SDT { (::windows::core::Interface::vtable(self).base__.RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNextTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45756,11 +45756,11 @@ impl IISDB_SDT { (::windows::core::Interface::vtable(self).base__.ConvertNextToCurrent)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordEITUserDefinedFlags(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordEITUserDefinedFlags)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45832,78 +45832,78 @@ impl IISDB_SDTT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableIdExt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableIdExt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransportStreamId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportStreamId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalNetworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordGroup(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordGroup)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTargetVersion(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTargetVersion)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordNewVersion(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordNewVersion)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDownloadLevel(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDownloadLevel)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordVersionIndicator(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordVersionIndicator)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordScheduleTimeShiftInformation(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordScheduleTimeShiftInformation)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfSchedules(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfSchedules)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordStartTimeByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordStartTimeByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDurationByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDurationByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetRecordDescriptorByTag)(::windows::core::Interface::as_raw(self), dwrecordindex, btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetVersionHash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45972,51 +45972,51 @@ pub struct IISDB_SDTT_Vtbl { pub struct IIsdbAudioComponentDescriptor(::windows::core::IUnknown); impl IIsdbAudioComponentDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComponentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComponentTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSimulcastGroupTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSimulcastGroupTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetESMultiLingualFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetESMultiLingualFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMainComponentFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMainComponentFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQualityIndicator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQualityIndicator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSamplingRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSamplingRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguageCode(&self, pszcode: &mut [u8; 4]) -> ::windows::core::Result<()> { @@ -46028,7 +46028,7 @@ impl IIsdbAudioComponentDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46100,41 +46100,41 @@ pub struct IIsdbAudioComponentDescriptor_Vtbl { pub struct IIsdbCAContractInformationDescriptor(::windows::core::IUnknown); impl IIsdbCAContractInformationDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCASystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCASystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCAUnitId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAUnitId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordComponentTag(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordComponentTag)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContractVerificationInfoLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContractVerificationInfoLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContractVerificationInfo(&self, bbuflength: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContractVerificationInfo)(::windows::core::Interface::as_raw(self), bbuflength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFeeNameW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFeeNameW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46195,23 +46195,23 @@ pub struct IIsdbCAContractInformationDescriptor_Vtbl { pub struct IIsdbCADescriptor(::windows::core::IUnknown); impl IIsdbCADescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCASystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCASystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReservedBits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReservedBits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCAPID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAPID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrivateDataBytes(&self, pbbufferlength: *mut u8, pbbuffer: *mut u8) -> ::windows::core::Result<()> { @@ -46269,23 +46269,23 @@ pub struct IIsdbCADescriptor_Vtbl { pub struct IIsdbCAServiceDescriptor(::windows::core::IUnknown); impl IIsdbCAServiceDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCASystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCASystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCABroadcasterGroupId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCABroadcasterGroupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMessageControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessageControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceIds(&self, pbnumserviceids: *mut u8, pwserviceids: *mut u16) -> ::windows::core::Result<()> { @@ -46343,49 +46343,49 @@ pub struct IIsdbCAServiceDescriptor_Vtbl { pub struct IIsdbComponentGroupDescriptor(::windows::core::IUnknown); impl IIsdbComponentGroupDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComponentGroupType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentGroupType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordGroupId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordGroupId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordNumberOfCAUnit(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordNumberOfCAUnit)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCAUnitCAUnitId(&self, brecordindex: u8, bcaunitindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCAUnitCAUnitId)(::windows::core::Interface::as_raw(self), brecordindex, bcaunitindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCAUnitNumberOfComponents(&self, brecordindex: u8, bcaunitindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCAUnitNumberOfComponents)(::windows::core::Interface::as_raw(self), brecordindex, bcaunitindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCAUnitComponentTag(&self, brecordindex: u8, bcaunitindex: u8, bcomponentindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCAUnitComponentTag)(::windows::core::Interface::as_raw(self), brecordindex, bcaunitindex, bcomponentindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTotalBitRate(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTotalBitRate)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRecordTextW(&self, brecordindex: u8, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTextW)(::windows::core::Interface::as_raw(self), brecordindex, convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46448,35 +46448,35 @@ pub struct IIsdbComponentGroupDescriptor_Vtbl { pub struct IIsdbDataContentDescriptor(::windows::core::IUnknown); impl IIsdbDataContentDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataComponentId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataComponentId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEntryComponent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntryComponent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelectorLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectorLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelectorBytes(&self, bbuflength: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectorBytes)(::windows::core::Interface::as_raw(self), bbuflength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordComponentRef(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordComponentRef)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguageCode(&self, pszcode: &mut [u8; 4]) -> ::windows::core::Result<()> { @@ -46485,7 +46485,7 @@ impl IIsdbDataContentDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46547,18 +46547,18 @@ pub struct IIsdbDataContentDescriptor_Vtbl { pub struct IIsdbDigitalCopyControlDescriptor(::windows::core::IUnknown); impl IIsdbDigitalCopyControlDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCopyControl(&self, pbdigitalrecordingcontroldata: *mut u8, pbcopycontroltype: *mut u8, pbapscontroldata: *mut u8, pbmaximumbitrate: *mut u8) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCopyControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbdigitalrecordingcontroldata), ::core::mem::transmute(pbcopycontroltype), ::core::mem::transmute(pbapscontroldata), ::core::mem::transmute(pbmaximumbitrate)).ok() } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCopyControl(&self, brecordindex: u8, pbcomponenttag: *mut u8, pbdigitalrecordingcontroldata: *mut u8, pbcopycontroltype: *mut u8, pbapscontroldata: *mut u8, pbmaximumbitrate: *mut u8) -> ::windows::core::Result<()> { @@ -46615,11 +46615,11 @@ pub struct IIsdbDigitalCopyControlDescriptor_Vtbl { pub struct IIsdbDownloadContentDescriptor(::windows::core::IUnknown); impl IIsdbDownloadContentDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46628,51 +46628,51 @@ impl IIsdbDownloadContentDescriptor { (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfreboot), ::core::mem::transmute(pfaddon), ::core::mem::transmute(pfcompatibility), ::core::mem::transmute(pfmoduleinfo), ::core::mem::transmute(pftextinfo)).ok() } pub unsafe fn GetComponentSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDownloadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDownloadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTimeOutValueDII(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimeOutValueDII)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLeakRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLeakRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComponentTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCompatiblityDescriptorLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompatiblityDescriptorLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCompatiblityDescriptor(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompatiblityDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordModuleId(&self, wrecordindex: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordModuleId)(::windows::core::Interface::as_raw(self), wrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordModuleSize(&self, wrecordindex: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordModuleSize)(::windows::core::Interface::as_raw(self), wrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordModuleInfoLength(&self, wrecordindex: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordModuleInfoLength)(::windows::core::Interface::as_raw(self), wrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordModuleInfo(&self, wrecordindex: u16) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordModuleInfo)(::windows::core::Interface::as_raw(self), wrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetTextLanguageCode(&self, szcode: &mut [u8; 4]) -> ::windows::core::Result<()> { @@ -46681,7 +46681,7 @@ impl IIsdbDownloadContentDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46753,27 +46753,27 @@ pub struct IIsdbDownloadContentDescriptor_Vtbl { pub struct IIsdbEmergencyInformationDescriptor(::windows::core::IUnknown); impl IIsdbEmergencyInformationDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStartEndFlag(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStartEndFlag)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSignalLevel(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignalLevel)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAreaCode(&self, brecordindex: u8, ppwval: *mut *mut u16, pbnumareacodes: *mut u8) -> ::windows::core::Result<()> { @@ -46832,26 +46832,26 @@ pub struct IIsdbEmergencyInformationDescriptor_Vtbl { pub struct IIsdbEventGroupDescriptor(::windows::core::IUnknown); impl IIsdbEventGroupDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGroupType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroupType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordEvent(&self, brecordindex: u8, pwserviceid: *mut u16, pweventid: *mut u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetRecordEvent)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(pwserviceid), ::core::mem::transmute(pweventid)).ok() } pub unsafe fn GetCountOfRefRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRefRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRefRecordEvent(&self, brecordindex: u8, pworiginalnetworkid: *mut u16, pwtransportstreamid: *mut u16, pwserviceid: *mut u16, pweventid: *mut u16) -> ::windows::core::Result<()> { @@ -46910,27 +46910,27 @@ pub struct IIsdbEventGroupDescriptor_Vtbl { pub struct IIsdbHierarchicalTransmissionDescriptor(::windows::core::IUnknown); impl IIsdbHierarchicalTransmissionDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFutureUse1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFutureUse1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQualityLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQualityLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFutureUse2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFutureUse2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReferencePid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReferencePid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46985,33 +46985,33 @@ pub struct IIsdbHierarchicalTransmissionDescriptor_Vtbl { pub struct IIsdbLogoTransmissionDescriptor(::windows::core::IUnknown); impl IIsdbLogoTransmissionDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLogoTransmissionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogoTransmissionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLogoId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogoId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLogoVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogoVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDownloadDataId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDownloadDataId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLogoCharW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogoCharW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47070,31 +47070,31 @@ pub struct IIsdbLogoTransmissionDescriptor_Vtbl { pub struct IIsdbSIParameterDescriptor(::windows::core::IUnknown); impl IIsdbSIParameterDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParameterVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameterVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUpdateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpdateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordNumberOfTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordNumberOfTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableId(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableId)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptionLength(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptionLength)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptionBytes(&self, brecordindex: u8, pbbufferlength: *mut u8, pbbuffer: *mut u8) -> ::windows::core::Result<()> { @@ -47154,23 +47154,23 @@ pub struct IIsdbSIParameterDescriptor_Vtbl { pub struct IIsdbSeriesDescriptor(::windows::core::IUnknown); impl IIsdbSeriesDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSeriesId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSeriesId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRepeatLabel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRepeatLabel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProgramPattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgramPattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -47179,17 +47179,17 @@ impl IIsdbSeriesDescriptor { (::windows::core::Interface::vtable(self).GetExpireDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfvalid), ::core::mem::transmute(pmdtval)).ok() } pub unsafe fn GetEpisodeNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEpisodeNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastEpisodeNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastEpisodeNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSeriesNameW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSeriesNameW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47259,91 +47259,91 @@ impl IIsdbSiParser2 { (::windows::core::Interface::vtable(self).base__.base__.Initialize)(::windows::core::Interface::as_raw(self), punkmpeg2data.into().abi()).ok() } pub unsafe fn GetPAT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPAT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCAT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCAT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPMT(&self, pid: u16, pwprogramnumber: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPMT)(::windows::core::Interface::as_raw(self), pid, ::core::mem::transmute(pwprogramnumber), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTSDT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTSDT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNIT(&self, tableid: u8, pwnetworkid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNIT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwnetworkid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSDT(&self, tableid: u8, pwtransportstreamid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSDT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwtransportstreamid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEIT(&self, tableid: u8, pwserviceid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEIT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwserviceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBAT(&self, pwbouquetid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBAT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwbouquetid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRST(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRST)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetST(&self, pid: u16, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetST)(::windows::core::Interface::as_raw(self), pid, dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTDT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTDT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTOT(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTOT)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDIT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDIT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSIT(&self, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSIT)(::windows::core::Interface::as_raw(self), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEIT2(&self, tableid: u8, pwserviceid: *const u16, pbsegment: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEIT2)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwserviceid), ::core::mem::transmute(pbsegment), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSDT2(&self, tableid: u8, pwtransportstreamid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSDT2)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwtransportstreamid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBIT(&self, tableid: u8, pworiginalnetworkid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBIT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pworiginalnetworkid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNBIT(&self, tableid: u8, pworiginalnetworkid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNBIT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pworiginalnetworkid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLDT(&self, tableid: u8, pworiginalserviceid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLDT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pworiginalserviceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSDTT(&self, tableid: u8, pwtableidext: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSDTT)(::windows::core::Interface::as_raw(self), tableid, ::core::mem::transmute(pwtableidext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCDT(&self, tableid: u8, bsectionnumber: u8, pwdownloaddataid: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCDT)(::windows::core::Interface::as_raw(self), tableid, bsectionnumber, ::core::mem::transmute(pwdownloaddataid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEMM(&self, pid: u16, wtableidext: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEMM)(::windows::core::Interface::as_raw(self), pid, wtableidext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47429,37 +47429,37 @@ pub struct IIsdbSiParser2_Vtbl { pub struct IIsdbTSInformationDescriptor(::windows::core::IUnknown); impl IIsdbTSInformationDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRemoteControlKeyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRemoteControlKeyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTSNameW(&self, convmode: DVB_STRCONV_MODE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTSNameW)(::windows::core::Interface::as_raw(self), convmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordTransmissionTypeInfo(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordTransmissionTypeInfo)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordNumberOfServices(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordNumberOfServices)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordServiceIdByIndex(&self, brecordindex: u8, bserviceindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordServiceIdByIndex)(::windows::core::Interface::as_raw(self), brecordindex, bserviceindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47519,31 +47519,31 @@ pub struct IIsdbTSInformationDescriptor_Vtbl { pub struct IIsdbTerrestrialDeliverySystemDescriptor(::windows::core::IUnknown); impl IIsdbTerrestrialDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAreaCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAreaCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGuardInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuardInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransmissionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransmissionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordFrequency(&self, brecordindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordFrequency)(::windows::core::Interface::as_raw(self), brecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47652,32 +47652,32 @@ pub struct IKsNodeControl_Vtbl { pub struct IKsTopologyInfo(::windows::core::IUnknown); impl IKsTopologyInfo { pub unsafe fn NumCategories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumCategories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_Category(&self, dwindex: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Category)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn NumConnections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumConnections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[cfg(feature = "Win32_Media_KernelStreaming")] pub unsafe fn get_ConnectionInfo(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ConnectionInfo)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_NodeName(&self, dwnodeid: u32, pwchnodename: ::windows::core::PWSTR, dwbufsize: u32, pdwnamelen: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).get_NodeName)(::windows::core::Interface::as_raw(self), dwnodeid, ::core::mem::transmute(pwchnodename), dwbufsize, ::core::mem::transmute(pdwnamelen)).ok() } pub unsafe fn NumNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_NodeType(&self, dwnodeid: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_NodeType)(::windows::core::Interface::as_raw(self), dwnodeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn CreateNodeInstance(&self, dwnodeid: u32, iid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -47742,7 +47742,7 @@ pub struct ILanguageComponentType(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILanguageComponentType { pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCategory(&self, category: ComponentCategory) -> ::windows::core::Result<()> { @@ -47751,7 +47751,7 @@ impl ILanguageComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaMajorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -47763,7 +47763,7 @@ impl ILanguageComponentType { (::windows::core::Interface::vtable(self).base__.SetMediaMajorType)(::windows::core::Interface::as_raw(self), mediamajortype.into().abi()).ok() } pub unsafe fn _MediaMajorType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaMajorType(&self, mediamajortypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -47772,7 +47772,7 @@ impl ILanguageComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaSubType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -47784,7 +47784,7 @@ impl ILanguageComponentType { (::windows::core::Interface::vtable(self).base__.SetMediaSubType)(::windows::core::Interface::as_raw(self), mediasubtype.into().abi()).ok() } pub unsafe fn _MediaSubType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaSubType(&self, mediasubtypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -47793,7 +47793,7 @@ impl ILanguageComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaFormatType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -47805,7 +47805,7 @@ impl ILanguageComponentType { (::windows::core::Interface::vtable(self).base__.SetMediaFormatType)(::windows::core::Interface::as_raw(self), mediaformattype.into().abi()).ok() } pub unsafe fn _MediaFormatType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaFormatType(&self, mediaformattypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -47814,7 +47814,7 @@ impl ILanguageComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -47825,11 +47825,11 @@ impl ILanguageComponentType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LangID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LangID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLangID(&self, langid: i32) -> ::windows::core::Result<()> { @@ -47930,49 +47930,49 @@ pub struct ILocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILocator { pub unsafe fn CarrierFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CarrierFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCarrierFrequency(&self, frequency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCarrierFrequency)(::windows::core::Interface::as_raw(self), frequency).ok() } pub unsafe fn InnerFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InnerFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInnerFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn InnerFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InnerFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInnerFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInnerFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OuterFEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFEC(&self, fec: FECMethod) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOuterFEC)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn OuterFECRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OuterFECRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOuterFECRate(&self, fec: BinaryConvolutionCodeRate) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOuterFECRate)(::windows::core::Interface::as_raw(self), fec).ok() } pub unsafe fn Modulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Modulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulation(&self, modulation: ModulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetModulation)(::windows::core::Interface::as_raw(self), modulation).ok() } pub unsafe fn SymbolRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SymbolRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> ::windows::core::Result<()> { @@ -47981,7 +47981,7 @@ impl ILocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48079,7 +48079,7 @@ impl IMPEG2Component { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -48091,14 +48091,14 @@ impl IMPEG2Component { (::windows::core::Interface::vtable(self).base__.SetType)(::windows::core::Interface::as_raw(self), ct.into().abi()).ok() } pub unsafe fn DescLangID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DescLangID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDescLangID(&self, langid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDescLangID)(::windows::core::Interface::as_raw(self), langid).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStatus(&self, status: ComponentStatus) -> ::windows::core::Result<()> { @@ -48107,7 +48107,7 @@ impl IMPEG2Component { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -48121,25 +48121,25 @@ impl IMPEG2Component { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPID(&self, pid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPID)(::windows::core::Interface::as_raw(self), pid).ok() } pub unsafe fn PCRPID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PCRPID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPCRPID(&self, pcrpid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPCRPID)(::windows::core::Interface::as_raw(self), pcrpid).ok() } pub unsafe fn ProgramNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProgramNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProgramNumber(&self, programnumber: i32) -> ::windows::core::Result<()> { @@ -48244,7 +48244,7 @@ pub struct IMPEG2ComponentType(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMPEG2ComponentType { pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCategory(&self, category: ComponentCategory) -> ::windows::core::Result<()> { @@ -48253,7 +48253,7 @@ impl IMPEG2ComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaMajorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -48265,7 +48265,7 @@ impl IMPEG2ComponentType { (::windows::core::Interface::vtable(self).base__.base__.SetMediaMajorType)(::windows::core::Interface::as_raw(self), mediamajortype.into().abi()).ok() } pub unsafe fn _MediaMajorType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._MediaMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaMajorType(&self, mediamajortypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -48274,7 +48274,7 @@ impl IMPEG2ComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaSubType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -48286,7 +48286,7 @@ impl IMPEG2ComponentType { (::windows::core::Interface::vtable(self).base__.base__.SetMediaSubType)(::windows::core::Interface::as_raw(self), mediasubtype.into().abi()).ok() } pub unsafe fn _MediaSubType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._MediaSubType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaSubType(&self, mediasubtypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -48295,7 +48295,7 @@ impl IMPEG2ComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaFormatType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -48307,7 +48307,7 @@ impl IMPEG2ComponentType { (::windows::core::Interface::vtable(self).base__.base__.SetMediaFormatType)(::windows::core::Interface::as_raw(self), mediaformattype.into().abi()).ok() } pub unsafe fn _MediaFormatType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._MediaFormatType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_MediaFormatType(&self, mediaformattypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -48316,7 +48316,7 @@ impl IMPEG2ComponentType { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -48327,18 +48327,18 @@ impl IMPEG2ComponentType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LangID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LangID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLangID(&self, langid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLangID)(::windows::core::Interface::as_raw(self), langid).ok() } pub unsafe fn StreamType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StreamType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamType(&self, mp2streamtype: MPEG2StreamType) -> ::windows::core::Result<()> { @@ -48461,7 +48461,7 @@ impl IMPEG2PIDMap { (::windows::core::Interface::vtable(self).UnmapPID)(::windows::core::Interface::as_raw(self), culpid, ::core::mem::transmute(pulpid)).ok() } pub unsafe fn EnumPIDMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumPIDMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48519,7 +48519,7 @@ impl IMPEG2StreamIdMap { (::windows::core::Interface::vtable(self).UnmapStreamId)(::windows::core::Interface::as_raw(self), pulstreamid.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pulstreamid))).ok() } pub unsafe fn EnumStreamIdMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStreamIdMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48575,25 +48575,25 @@ impl IMPEG2TuneRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Components(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Components)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Locator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Locator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -48605,14 +48605,14 @@ impl IMPEG2TuneRequest { (::windows::core::Interface::vtable(self).base__.SetLocator)(::windows::core::Interface::as_raw(self), locator.into().abi()).ok() } pub unsafe fn TSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTSID(&self, tsid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTSID)(::windows::core::Interface::as_raw(self), tsid).ok() } pub unsafe fn ProgNo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProgNo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProgNo(&self, progno: i32) -> ::windows::core::Result<()> { @@ -48720,7 +48720,7 @@ impl IMPEG2TuneRequestFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuningSpace>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTuneRequest)(::windows::core::Interface::as_raw(self), tuningspace.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48859,7 +48859,7 @@ impl IMPEG2_TIF_CONTROL { (::windows::core::Interface::vtable(self).DeletePIDs)(::windows::core::Interface::as_raw(self), ulcpids, ::core::mem::transmute(pulpids)).ok() } pub unsafe fn GetPIDCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPIDCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPIDs(&self, pulcpids: *mut u32, pulpids: *mut u32) -> ::windows::core::Result<()> { @@ -48926,7 +48926,7 @@ impl IMSEventBinder { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Bind)(::windows::core::Interface::as_raw(self), peventobject.into().abi(), eventname.into().abi(), eventhandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unbind(&self, cancelcookie: u32) -> ::windows::core::Result<()> { @@ -49014,38 +49014,38 @@ impl IMSVidAnalogTuner { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -49054,13 +49054,13 @@ impl IMSVidAnalogTuner { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -49071,7 +49071,7 @@ impl IMSVidAnalogTuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tune(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Tune)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -49085,7 +49085,7 @@ impl IMSVidAnalogTuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -49097,29 +49097,29 @@ impl IMSVidAnalogTuner { (::windows::core::Interface::vtable(self).base__.SetTuningSpace)(::windows::core::Interface::as_raw(self), plts.into().abi()).ok() } pub unsafe fn Channel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Channel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannel(&self, channel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetChannel)(::windows::core::Interface::as_raw(self), channel).ok() } pub unsafe fn VideoFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCountryCode(&self, lcc: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCountryCode)(::windows::core::Interface::as_raw(self), lcc).ok() } pub unsafe fn SAP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SAP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSAP(&self, fsapon: i16) -> ::windows::core::Result<()> { @@ -49286,38 +49286,38 @@ impl IMSVidAnalogTuner2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -49326,13 +49326,13 @@ impl IMSVidAnalogTuner2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -49343,7 +49343,7 @@ impl IMSVidAnalogTuner2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tune(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Tune)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -49357,7 +49357,7 @@ impl IMSVidAnalogTuner2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -49369,29 +49369,29 @@ impl IMSVidAnalogTuner2 { (::windows::core::Interface::vtable(self).base__.base__.SetTuningSpace)(::windows::core::Interface::as_raw(self), plts.into().abi()).ok() } pub unsafe fn Channel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Channel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannel(&self, channel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetChannel)(::windows::core::Interface::as_raw(self), channel).ok() } pub unsafe fn VideoFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VideoFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioFrequency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AudioFrequency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CountryCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CountryCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCountryCode(&self, lcc: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCountryCode)(::windows::core::Interface::as_raw(self), lcc).ok() } pub unsafe fn SAP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SAP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSAP(&self, fsapon: i16) -> ::windows::core::Result<()> { @@ -49401,15 +49401,15 @@ impl IMSVidAnalogTuner2 { (::windows::core::Interface::vtable(self).base__.ChannelAvailable)(::windows::core::Interface::as_raw(self), nchannel, ::core::mem::transmute(signalstrength), ::core::mem::transmute(fsignalpresent)).ok() } pub unsafe fn TVFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TVFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TunerModes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TunerModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumAuxInputs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumAuxInputs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -49700,38 +49700,38 @@ impl IMSVidAudioRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -49740,21 +49740,21 @@ impl IMSVidAudioRenderer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVolume(&self, lvol: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVolume)(::windows::core::Interface::as_raw(self), lvol).ok() } pub unsafe fn Volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBalance(&self, lbal: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBalance)(::windows::core::Interface::as_raw(self), lbal).ok() } pub unsafe fn Balance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Balance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -49872,13 +49872,13 @@ pub struct IMSVidAudioRendererDevices(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidAudioRendererDevices { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -49887,7 +49887,7 @@ impl IMSVidAudioRendererDevices { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -50286,38 +50286,38 @@ impl IMSVidClosedCaptioning { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -50326,11 +50326,11 @@ impl IMSVidClosedCaptioning { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnable(&self, on: i16) -> ::windows::core::Result<()> { @@ -50451,38 +50451,38 @@ impl IMSVidClosedCaptioning2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -50491,18 +50491,18 @@ impl IMSVidClosedCaptioning2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Enable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnable(&self, on: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetEnable)(::windows::core::Interface::as_raw(self), on).ok() } pub unsafe fn Service(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Service)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetService(&self, on: MSVidCCService) -> ::windows::core::Result<()> { @@ -50641,38 +50641,38 @@ impl IMSVidClosedCaptioning3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -50681,25 +50681,25 @@ impl IMSVidClosedCaptioning3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Enable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnable(&self, on: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetEnable)(::windows::core::Interface::as_raw(self), on).ok() } pub unsafe fn Service(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Service)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetService(&self, on: MSVidCCService) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetService)(::windows::core::Interface::as_raw(self), on).ok() } pub unsafe fn TeleTextFilter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TeleTextFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -50852,11 +50852,11 @@ impl IMSVidCompositionSegment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Init(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Init)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetInit<'a, P0>(&self, pinit: P0) -> ::windows::core::Result<()> @@ -50866,11 +50866,11 @@ impl IMSVidCompositionSegment { (::windows::core::Interface::vtable(self).base__.SetInit)(::windows::core::Interface::as_raw(self), pinit.into().abi()).ok() } pub unsafe fn EnumFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Container(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Container)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetContainer<'a, P0>(&self, pctl: P0) -> ::windows::core::Result<()> @@ -50880,11 +50880,11 @@ impl IMSVidCompositionSegment { (::windows::core::Interface::vtable(self).base__.SetContainer)(::windows::core::Interface::as_raw(self), pctl.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Build(&self) -> ::windows::core::Result<()> { @@ -50923,13 +50923,13 @@ impl IMSVidCompositionSegment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Up(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Up)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Down(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Down)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -51037,28 +51037,28 @@ pub struct IMSVidCtl(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidCtl { pub unsafe fn AutoSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoSize(&self, vbool: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoSize)(::windows::core::Interface::as_raw(self), vbool).ok() } pub unsafe fn BackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColor(&self, backcolor: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBackColor)(::windows::core::Interface::as_raw(self), backcolor).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, vbool: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), vbool).ok() } pub unsafe fn TabStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TabStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTabStop(&self, vbool: i16) -> ::windows::core::Result<()> { @@ -51067,28 +51067,28 @@ impl IMSVidCtl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Window(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Window)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Refresh)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DisplaySize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplaySize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplaySize(&self, newvalue: DisplaySizeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisplaySize)(::windows::core::Interface::as_raw(self), newvalue).ok() } pub unsafe fn MaintainAspectRatio(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaintainAspectRatio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaintainAspectRatio(&self, newvalue: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaintainAspectRatio)(::windows::core::Interface::as_raw(self), newvalue).ok() } pub unsafe fn ColorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ColorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColorKey(&self, newvalue: u32) -> ::windows::core::Result<()> { @@ -51100,7 +51100,7 @@ impl IMSVidCtl { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_InputsAvailable)(::windows::core::Interface::as_raw(self), categoryguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -51109,43 +51109,43 @@ impl IMSVidCtl { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_OutputsAvailable)(::windows::core::Interface::as_raw(self), categoryguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get__InputsAvailable(&self, categoryguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get__InputsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(categoryguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get__OutputsAvailable(&self, categoryguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get__OutputsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(categoryguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn VideoRenderersAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoRenderersAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioRenderersAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioRenderersAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FeaturesAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FeaturesAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InputActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InputActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51159,7 +51159,7 @@ impl IMSVidCtl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutputsActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputsActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51173,7 +51173,7 @@ impl IMSVidCtl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn VideoRendererActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoRendererActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51187,7 +51187,7 @@ impl IMSVidCtl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioRendererActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioRendererActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51201,7 +51201,7 @@ impl IMSVidCtl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FeaturesActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FeaturesActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51213,7 +51213,7 @@ impl IMSVidCtl { (::windows::core::Interface::vtable(self).SetFeaturesActive)(::windows::core::Interface::as_raw(self), pval.into().abi()).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -51427,38 +51427,38 @@ impl IMSVidDataServices { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51467,7 +51467,7 @@ impl IMSVidDataServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -51683,38 +51683,38 @@ impl IMSVidDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51723,7 +51723,7 @@ impl IMSVidDevice { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -51822,7 +51822,7 @@ impl IMSVidDevice2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DevicePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DevicePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -51965,38 +51965,38 @@ impl IMSVidEVR { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -52005,13 +52005,13 @@ impl IMSVidEVR { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CustomCompositorClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52023,14 +52023,14 @@ impl IMSVidEVR { (::windows::core::Interface::vtable(self).base__.SetCustomCompositorClass)(::windows::core::Interface::as_raw(self), compositorclsid.into().abi()).ok() } pub unsafe fn _CustomCompositorClass(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_CustomCompositorClass(&self, compositorclsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Set_CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(compositorclsid)).ok() } pub unsafe fn _CustomCompositor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._CustomCompositor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Set_CustomCompositor<'a, P0>(&self, compositor: P0) -> ::windows::core::Result<()> @@ -52042,11 +52042,11 @@ impl IMSVidEVR { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MixerBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MixerBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _MixerBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._MixerBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -52065,7 +52065,7 @@ impl IMSVidEVR { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MixerBitmapPositionRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MixerBitmapPositionRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -52077,7 +52077,7 @@ impl IMSVidEVR { (::windows::core::Interface::vtable(self).base__.SetMixerBitmapPositionRect)(::windows::core::Interface::as_raw(self), rdest.into().abi()).ok() } pub unsafe fn MixerBitmapOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MixerBitmapOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMixerBitmapOpacity(&self, opacity: i32) -> ::windows::core::Result<()> { @@ -52093,14 +52093,14 @@ impl IMSVidEVR { (::windows::core::Interface::vtable(self).base__.SetupMixerBitmap)(::windows::core::Interface::as_raw(self), mixerpicturedisp.into().abi(), opacity, rdest.into().abi()).ok() } pub unsafe fn SourceSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SourceSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceSize(&self, newsize: SourceSizeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSourceSize)(::windows::core::Interface::as_raw(self), newsize).ok() } pub unsafe fn OverScan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OverScan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverScan(&self, lpercent: i32) -> ::windows::core::Result<()> { @@ -52109,25 +52109,25 @@ impl IMSVidEVR { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AvailableSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AvailableSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MaxVidRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxVidRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MinVidRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinVidRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClippedSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClippedSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -52139,7 +52139,7 @@ impl IMSVidEVR { (::windows::core::Interface::vtable(self).base__.SetClippedSourceRect)(::windows::core::Interface::as_raw(self), prect.into().abi()).ok() } pub unsafe fn UsingOverlay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UsingOverlay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUsingOverlay(&self, useoverlayval: i16) -> ::windows::core::Result<()> { @@ -52148,15 +52148,15 @@ impl IMSVidEVR { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Capture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Capture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FramesPerSecond(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FramesPerSecond)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DecimateInput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DecimateInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDecimateInput(&self, pdeci: i16) -> ::windows::core::Result<()> { @@ -52165,7 +52165,7 @@ impl IMSVidEVR { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[cfg(feature = "Win32_Media_MediaFoundation")] pub unsafe fn Presenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Presenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52180,7 +52180,7 @@ impl IMSVidEVR { (::windows::core::Interface::vtable(self).SetSuppressEffects)(::windows::core::Interface::as_raw(self), bsuppress).ok() } pub unsafe fn SuppressEffects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SuppressEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -52446,38 +52446,38 @@ impl IMSVidEncoder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -52486,15 +52486,15 @@ impl IMSVidEncoder { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VideoEncoderInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoEncoderInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn AudioEncoderInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioEncoderInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -52612,38 +52612,38 @@ impl IMSVidFeature { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -52652,7 +52652,7 @@ impl IMSVidFeature { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -52848,13 +52848,13 @@ pub struct IMSVidFeatures(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidFeatures { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -52863,7 +52863,7 @@ impl IMSVidFeatures { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -52976,38 +52976,38 @@ impl IMSVidFilePlayback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -53016,13 +53016,13 @@ impl IMSVidFilePlayback { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53031,7 +53031,7 @@ impl IMSVidFilePlayback { (::windows::core::Interface::vtable(self).base__.base__.View)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v)).ok() } pub unsafe fn EnableResetOnStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnableResetOnStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableResetOnStop(&self, newval: i16) -> ::windows::core::Result<()> { @@ -53047,7 +53047,7 @@ impl IMSVidFilePlayback { (::windows::core::Interface::vtable(self).base__.Stop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_CanStep(&self, fbackwards: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_CanStep)(::windows::core::Interface::as_raw(self), fbackwards, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Step(&self, lstep: i32) -> ::windows::core::Result<()> { @@ -53057,31 +53057,31 @@ impl IMSVidFilePlayback { (::windows::core::Interface::vtable(self).base__.SetRate)(::windows::core::Interface::as_raw(self), plrate).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPosition(&self, lposition: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCurrentPosition)(::windows::core::Interface::as_raw(self), lposition).ok() } pub unsafe fn CurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPositionMode(&self, lpositionmode: PositionModeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPositionMode)(::windows::core::Interface::as_raw(self), lpositionmode).ok() } pub unsafe fn PositionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PositionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53231,38 +53231,38 @@ impl IMSVidFilePlayback2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -53271,13 +53271,13 @@ impl IMSVidFilePlayback2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53286,7 +53286,7 @@ impl IMSVidFilePlayback2 { (::windows::core::Interface::vtable(self).base__.base__.base__.View)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v)).ok() } pub unsafe fn EnableResetOnStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnableResetOnStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableResetOnStop(&self, newval: i16) -> ::windows::core::Result<()> { @@ -53302,7 +53302,7 @@ impl IMSVidFilePlayback2 { (::windows::core::Interface::vtable(self).base__.base__.Stop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_CanStep(&self, fbackwards: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_CanStep)(::windows::core::Interface::as_raw(self), fbackwards, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Step(&self, lstep: i32) -> ::windows::core::Result<()> { @@ -53312,31 +53312,31 @@ impl IMSVidFilePlayback2 { (::windows::core::Interface::vtable(self).base__.base__.SetRate)(::windows::core::Interface::as_raw(self), plrate).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPosition(&self, lposition: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCurrentPosition)(::windows::core::Interface::as_raw(self), lposition).ok() } pub unsafe fn CurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPositionMode(&self, lpositionmode: PositionModeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPositionMode)(::windows::core::Interface::as_raw(self), lpositionmode).ok() } pub unsafe fn PositionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PositionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53630,38 +53630,38 @@ impl IMSVidGenericSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -53670,7 +53670,7 @@ impl IMSVidGenericSink { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53682,7 +53682,7 @@ impl IMSVidGenericSink { (::windows::core::Interface::vtable(self).SetSinkFilter)(::windows::core::Interface::as_raw(self), bstrname.into().abi()).ok() } pub unsafe fn SinkStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SinkStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSinkStreams(&self, streams: MSVidSinkStreams) -> ::windows::core::Result<()> { @@ -53807,38 +53807,38 @@ impl IMSVidGenericSink2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -53847,7 +53847,7 @@ impl IMSVidGenericSink2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53859,7 +53859,7 @@ impl IMSVidGenericSink2 { (::windows::core::Interface::vtable(self).base__.SetSinkFilter)(::windows::core::Interface::as_raw(self), bstrname.into().abi()).ok() } pub unsafe fn SinkStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SinkStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSinkStreams(&self, streams: MSVidSinkStreams) -> ::windows::core::Result<()> { @@ -54012,11 +54012,11 @@ impl IMSVidGraphSegment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Init(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Init)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetInit<'a, P0>(&self, pinit: P0) -> ::windows::core::Result<()> @@ -54026,11 +54026,11 @@ impl IMSVidGraphSegment { (::windows::core::Interface::vtable(self).SetInit)(::windows::core::Interface::as_raw(self), pinit.into().abi()).ok() } pub unsafe fn EnumFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Container(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Container)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetContainer<'a, P0>(&self, pctl: P0) -> ::windows::core::Result<()> @@ -54040,11 +54040,11 @@ impl IMSVidGraphSegment { (::windows::core::Interface::vtable(self).SetContainer)(::windows::core::Interface::as_raw(self), pctl.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Build(&self) -> ::windows::core::Result<()> { @@ -54159,41 +54159,41 @@ pub struct IMSVidGraphSegment_Vtbl { pub struct IMSVidGraphSegmentContainer(::windows::core::IUnknown); impl IMSVidGraphSegmentContainer { pub unsafe fn Graph(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Graph)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Input(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Input)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Outputs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Outputs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn VideoRenderer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoRenderer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioRenderer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioRenderer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Features(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Features)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Composites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Composites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ParentContainer(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -54360,38 +54360,38 @@ impl IMSVidInputDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -54400,13 +54400,13 @@ impl IMSVidInputDevice { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54588,13 +54588,13 @@ pub struct IMSVidInputDevices(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidInputDevices { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54603,7 +54603,7 @@ impl IMSVidInputDevices { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -54716,38 +54716,38 @@ impl IMSVidOutputDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -54756,7 +54756,7 @@ impl IMSVidOutputDevice { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -54952,13 +54952,13 @@ pub struct IMSVidOutputDevices(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidOutputDevices { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54967,7 +54967,7 @@ impl IMSVidOutputDevices { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -55080,38 +55080,38 @@ impl IMSVidPlayback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -55120,13 +55120,13 @@ impl IMSVidPlayback { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55135,7 +55135,7 @@ impl IMSVidPlayback { (::windows::core::Interface::vtable(self).base__.View)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v)).ok() } pub unsafe fn EnableResetOnStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableResetOnStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableResetOnStop(&self, newval: i16) -> ::windows::core::Result<()> { @@ -55151,7 +55151,7 @@ impl IMSVidPlayback { (::windows::core::Interface::vtable(self).Stop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_CanStep(&self, fbackwards: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_CanStep)(::windows::core::Interface::as_raw(self), fbackwards, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Step(&self, lstep: i32) -> ::windows::core::Result<()> { @@ -55161,25 +55161,25 @@ impl IMSVidPlayback { (::windows::core::Interface::vtable(self).SetRate)(::windows::core::Interface::as_raw(self), plrate).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPosition(&self, lposition: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentPosition)(::windows::core::Interface::as_raw(self), lposition).ok() } pub unsafe fn CurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPositionMode(&self, lpositionmode: PositionModeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPositionMode)(::windows::core::Interface::as_raw(self), lpositionmode).ok() } pub unsafe fn PositionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PositionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -55411,28 +55411,28 @@ pub struct IMSVidRect(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidRect { pub unsafe fn Top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTop(&self, topval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTop)(::windows::core::Interface::as_raw(self), topval).ok() } pub unsafe fn Left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLeft(&self, leftval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLeft)(::windows::core::Interface::as_raw(self), leftval).ok() } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, widthval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWidth)(::windows::core::Interface::as_raw(self), widthval).ok() } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHeight(&self, heightval: i32) -> ::windows::core::Result<()> { @@ -55441,7 +55441,7 @@ impl IMSVidRect { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HWnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HWnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -55555,33 +55555,33 @@ pub struct IMSVidStreamBufferRecordingControl(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferRecordingControl { pub unsafe fn StartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartTime(&self, rtstart: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartTime)(::windows::core::Interface::as_raw(self), rtstart).ok() } pub unsafe fn StopTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StopTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStopTime(&self, rtstop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStopTime)(::windows::core::Interface::as_raw(self), rtstop).ok() } pub unsafe fn RecordingStopped(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecordingStopped)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecordingStarted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecordingStarted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecordingType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecordingType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecordingAttribute(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecordingAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -55669,38 +55669,38 @@ impl IMSVidStreamBufferSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -55709,7 +55709,7 @@ impl IMSVidStreamBufferSink { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55718,7 +55718,7 @@ impl IMSVidStreamBufferSink { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ContentRecorder)(::windows::core::Interface::as_raw(self), pszfilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55727,13 +55727,13 @@ impl IMSVidStreamBufferSink { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ReferenceRecorder)(::windows::core::Interface::as_raw(self), pszfilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SinkName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SinkName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -55748,7 +55748,7 @@ impl IMSVidStreamBufferSink { (::windows::core::Interface::vtable(self).NameSetLock)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SBESink(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SBESink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -55882,38 +55882,38 @@ impl IMSVidStreamBufferSink2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -55922,7 +55922,7 @@ impl IMSVidStreamBufferSink2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55931,7 +55931,7 @@ impl IMSVidStreamBufferSink2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_ContentRecorder)(::windows::core::Interface::as_raw(self), pszfilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55940,13 +55940,13 @@ impl IMSVidStreamBufferSink2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_ReferenceRecorder)(::windows::core::Interface::as_raw(self), pszfilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SinkName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SinkName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -55961,7 +55961,7 @@ impl IMSVidStreamBufferSink2 { (::windows::core::Interface::vtable(self).base__.NameSetLock)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SBESink(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SBESink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn UnlockProfile(&self) -> ::windows::core::Result<()> { @@ -56099,38 +56099,38 @@ impl IMSVidStreamBufferSink3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -56139,7 +56139,7 @@ impl IMSVidStreamBufferSink3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -56148,7 +56148,7 @@ impl IMSVidStreamBufferSink3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_ContentRecorder)(::windows::core::Interface::as_raw(self), pszfilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -56157,13 +56157,13 @@ impl IMSVidStreamBufferSink3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_ReferenceRecorder)(::windows::core::Interface::as_raw(self), pszfilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SinkName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SinkName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -56178,30 +56178,30 @@ impl IMSVidStreamBufferSink3 { (::windows::core::Interface::vtable(self).base__.base__.NameSetLock)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SBESink(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SBESink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn UnlockProfile(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.UnlockProfile)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SetMinSeek(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetMinSeek)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioCounter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn VideoCounter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn CCCounter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CCCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn WSTCounter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WSTCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -56215,14 +56215,14 @@ impl IMSVidStreamBufferSink3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AudioAnalysisFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioAnalysisFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Set_AudioAnalysisFilter(&self, guid: ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Set_AudioAnalysisFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid)).ok() } pub unsafe fn _AudioAnalysisFilter(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._AudioAnalysisFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -56236,14 +56236,14 @@ impl IMSVidStreamBufferSink3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VideoAnalysisFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoAnalysisFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Set_VideoAnalysisFilter(&self, guid: ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Set_VideoAnalysisFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid)).ok() } pub unsafe fn _VideoAnalysisFilter(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._VideoAnalysisFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -56257,18 +56257,18 @@ impl IMSVidStreamBufferSink3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DataAnalysisFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataAnalysisFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Set_DataAnalysisFilter(&self, guid: ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Set_DataAnalysisFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid)).ok() } pub unsafe fn _DataAnalysisFilter(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._DataAnalysisFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn LicenseErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LicenseErrorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } } @@ -57106,38 +57106,38 @@ impl IMSVidStreamBufferSource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -57146,13 +57146,13 @@ impl IMSVidStreamBufferSource { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57161,7 +57161,7 @@ impl IMSVidStreamBufferSource { (::windows::core::Interface::vtable(self).base__.base__.base__.View)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v)).ok() } pub unsafe fn EnableResetOnStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnableResetOnStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableResetOnStop(&self, newval: i16) -> ::windows::core::Result<()> { @@ -57177,7 +57177,7 @@ impl IMSVidStreamBufferSource { (::windows::core::Interface::vtable(self).base__.base__.Stop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_CanStep(&self, fbackwards: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_CanStep)(::windows::core::Interface::as_raw(self), fbackwards, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Step(&self, lstep: i32) -> ::windows::core::Result<()> { @@ -57187,31 +57187,31 @@ impl IMSVidStreamBufferSource { (::windows::core::Interface::vtable(self).base__.base__.SetRate)(::windows::core::Interface::as_raw(self), plrate).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPosition(&self, lposition: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCurrentPosition)(::windows::core::Interface::as_raw(self), lposition).ok() } pub unsafe fn CurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPositionMode(&self, lpositionmode: PositionModeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPositionMode)(::windows::core::Interface::as_raw(self), lpositionmode).ok() } pub unsafe fn PositionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PositionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -57223,11 +57223,11 @@ impl IMSVidStreamBufferSource { (::windows::core::Interface::vtable(self).base__.SetFileName)(::windows::core::Interface::as_raw(self), filename.into().abi()).ok() } pub unsafe fn Start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecordingAttribute(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecordingAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn CurrentRatings(&self, pensystem: *mut EnTvRat_System, penrating: *mut EnTvRat_GenericLevel, pbfenattr: *mut i32) -> ::windows::core::Result<()> { @@ -57243,7 +57243,7 @@ impl IMSVidStreamBufferSource { (::windows::core::Interface::vtable(self).SetUnratedDelay)(::windows::core::Interface::as_raw(self), dwdelay).ok() } pub unsafe fn SBESource(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SBESource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -57402,38 +57402,38 @@ impl IMSVidStreamBufferSource2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -57442,13 +57442,13 @@ impl IMSVidStreamBufferSource2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57457,7 +57457,7 @@ impl IMSVidStreamBufferSource2 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.View)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v)).ok() } pub unsafe fn EnableResetOnStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnableResetOnStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableResetOnStop(&self, newval: i16) -> ::windows::core::Result<()> { @@ -57473,7 +57473,7 @@ impl IMSVidStreamBufferSource2 { (::windows::core::Interface::vtable(self).base__.base__.base__.Stop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_CanStep(&self, fbackwards: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_CanStep)(::windows::core::Interface::as_raw(self), fbackwards, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Step(&self, lstep: i32) -> ::windows::core::Result<()> { @@ -57483,31 +57483,31 @@ impl IMSVidStreamBufferSource2 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetRate)(::windows::core::Interface::as_raw(self), plrate).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPosition(&self, lposition: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetCurrentPosition)(::windows::core::Interface::as_raw(self), lposition).ok() } pub unsafe fn CurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPositionMode(&self, lpositionmode: PositionModeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPositionMode)(::windows::core::Interface::as_raw(self), lpositionmode).ok() } pub unsafe fn PositionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.PositionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -57519,11 +57519,11 @@ impl IMSVidStreamBufferSource2 { (::windows::core::Interface::vtable(self).base__.base__.SetFileName)(::windows::core::Interface::as_raw(self), filename.into().abi()).ok() } pub unsafe fn Start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecordingAttribute(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecordingAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn CurrentRatings(&self, pensystem: *mut EnTvRat_System, penrating: *mut EnTvRat_GenericLevel, pbfenattr: *mut i32) -> ::windows::core::Result<()> { @@ -57539,26 +57539,26 @@ impl IMSVidStreamBufferSource2 { (::windows::core::Interface::vtable(self).base__.SetUnratedDelay)(::windows::core::Interface::as_raw(self), dwdelay).ok() } pub unsafe fn SBESource(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SBESource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn put_RateEx(&self, dwrate: f64, dwframespersecond: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_RateEx)(::windows::core::Interface::as_raw(self), dwrate, dwframespersecond).ok() } pub unsafe fn AudioCounter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn VideoCounter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VideoCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn CCCounter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CCCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn WSTCounter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WSTCounter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -58516,38 +58516,38 @@ impl IMSVidTuner { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -58556,13 +58556,13 @@ impl IMSVidTuner { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58573,7 +58573,7 @@ impl IMSVidTuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tune(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tune)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -58587,7 +58587,7 @@ impl IMSVidTuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -58849,38 +58849,38 @@ impl IMSVidVMR9 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -58889,13 +58889,13 @@ impl IMSVidVMR9 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CustomCompositorClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58907,14 +58907,14 @@ impl IMSVidVMR9 { (::windows::core::Interface::vtable(self).base__.SetCustomCompositorClass)(::windows::core::Interface::as_raw(self), compositorclsid.into().abi()).ok() } pub unsafe fn _CustomCompositorClass(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_CustomCompositorClass(&self, compositorclsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Set_CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(compositorclsid)).ok() } pub unsafe fn _CustomCompositor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._CustomCompositor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Set_CustomCompositor<'a, P0>(&self, compositor: P0) -> ::windows::core::Result<()> @@ -58926,11 +58926,11 @@ impl IMSVidVMR9 { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MixerBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MixerBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _MixerBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._MixerBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58949,7 +58949,7 @@ impl IMSVidVMR9 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MixerBitmapPositionRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MixerBitmapPositionRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -58961,7 +58961,7 @@ impl IMSVidVMR9 { (::windows::core::Interface::vtable(self).base__.SetMixerBitmapPositionRect)(::windows::core::Interface::as_raw(self), rdest.into().abi()).ok() } pub unsafe fn MixerBitmapOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MixerBitmapOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMixerBitmapOpacity(&self, opacity: i32) -> ::windows::core::Result<()> { @@ -58977,14 +58977,14 @@ impl IMSVidVMR9 { (::windows::core::Interface::vtable(self).base__.SetupMixerBitmap)(::windows::core::Interface::as_raw(self), mixerpicturedisp.into().abi(), opacity, rdest.into().abi()).ok() } pub unsafe fn SourceSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SourceSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceSize(&self, newsize: SourceSizeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSourceSize)(::windows::core::Interface::as_raw(self), newsize).ok() } pub unsafe fn OverScan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OverScan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverScan(&self, lpercent: i32) -> ::windows::core::Result<()> { @@ -58993,25 +58993,25 @@ impl IMSVidVMR9 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AvailableSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AvailableSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MaxVidRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxVidRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MinVidRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinVidRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClippedSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClippedSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -59023,7 +59023,7 @@ impl IMSVidVMR9 { (::windows::core::Interface::vtable(self).base__.SetClippedSourceRect)(::windows::core::Interface::as_raw(self), prect.into().abi()).ok() } pub unsafe fn UsingOverlay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UsingOverlay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUsingOverlay(&self, useoverlayval: i16) -> ::windows::core::Result<()> { @@ -59032,22 +59032,22 @@ impl IMSVidVMR9 { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Capture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Capture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FramesPerSecond(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FramesPerSecond)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DecimateInput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DecimateInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDecimateInput(&self, pdeci: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDecimateInput)(::windows::core::Interface::as_raw(self), pdeci).ok() } pub unsafe fn Allocator_ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Allocator_ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllocator<'a, P0>(&self, allocpresent: P0, id: i32) -> ::windows::core::Result<()> @@ -59060,11 +59060,11 @@ impl IMSVidVMR9 { (::windows::core::Interface::vtable(self).SetSuppressEffects)(::windows::core::Interface::as_raw(self), bsuppress).ok() } pub unsafe fn SuppressEffects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SuppressEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Allocator(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Allocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -59203,11 +59203,11 @@ impl IMSVidVRGraphSegment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Init(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Init)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetInit<'a, P0>(&self, pinit: P0) -> ::windows::core::Result<()> @@ -59217,11 +59217,11 @@ impl IMSVidVRGraphSegment { (::windows::core::Interface::vtable(self).base__.SetInit)(::windows::core::Interface::as_raw(self), pinit.into().abi()).ok() } pub unsafe fn EnumFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Container(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Container)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetContainer<'a, P0>(&self, pctl: P0) -> ::windows::core::Result<()> @@ -59231,11 +59231,11 @@ impl IMSVidVRGraphSegment { (::windows::core::Interface::vtable(self).base__.SetContainer)(::windows::core::Interface::as_raw(self), pctl.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Build(&self) -> ::windows::core::Result<()> { @@ -59276,25 +59276,25 @@ impl IMSVidVRGraphSegment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Owner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Owner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UseOverlay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseOverlay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseOverlay(&self, useoverlayval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUseOverlay)(::windows::core::Interface::as_raw(self), useoverlayval).ok() } pub unsafe fn Visible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Visible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVisible(&self, visible: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVisible)(::windows::core::Interface::as_raw(self), visible).ok() } pub unsafe fn ColorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ColorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColorKey(&self, colorkey: u32) -> ::windows::core::Result<()> { @@ -59303,7 +59303,7 @@ impl IMSVidVRGraphSegment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Source(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Source)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59314,7 +59314,7 @@ impl IMSVidVRGraphSegment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Destination(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Destination)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59328,14 +59328,14 @@ impl IMSVidVRGraphSegment { (::windows::core::Interface::vtable(self).get_NativeSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(sizeval), ::core::mem::transmute(aspectratio)).ok() } pub unsafe fn BorderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BorderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBorderColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBorderColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn MaintainAspectRatio(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaintainAspectRatio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaintainAspectRatio(&self, fmaintain: i16) -> ::windows::core::Result<()> { @@ -59495,38 +59495,38 @@ impl IMSVidVideoInputDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -59535,13 +59535,13 @@ impl IMSVidVideoInputDevice { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59662,38 +59662,38 @@ impl IMSVidVideoRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -59702,13 +59702,13 @@ impl IMSVidVideoRenderer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CustomCompositorClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59720,14 +59720,14 @@ impl IMSVidVideoRenderer { (::windows::core::Interface::vtable(self).SetCustomCompositorClass)(::windows::core::Interface::as_raw(self), compositorclsid.into().abi()).ok() } pub unsafe fn _CustomCompositorClass(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_CustomCompositorClass(&self, compositorclsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Set_CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(compositorclsid)).ok() } pub unsafe fn _CustomCompositor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._CustomCompositor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Set_CustomCompositor<'a, P0>(&self, compositor: P0) -> ::windows::core::Result<()> @@ -59739,11 +59739,11 @@ impl IMSVidVideoRenderer { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MixerBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MixerBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _MixerBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._MixerBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59762,7 +59762,7 @@ impl IMSVidVideoRenderer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MixerBitmapPositionRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MixerBitmapPositionRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -59774,7 +59774,7 @@ impl IMSVidVideoRenderer { (::windows::core::Interface::vtable(self).SetMixerBitmapPositionRect)(::windows::core::Interface::as_raw(self), rdest.into().abi()).ok() } pub unsafe fn MixerBitmapOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MixerBitmapOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMixerBitmapOpacity(&self, opacity: i32) -> ::windows::core::Result<()> { @@ -59790,14 +59790,14 @@ impl IMSVidVideoRenderer { (::windows::core::Interface::vtable(self).SetupMixerBitmap)(::windows::core::Interface::as_raw(self), mixerpicturedisp.into().abi(), opacity, rdest.into().abi()).ok() } pub unsafe fn SourceSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceSize(&self, newsize: SourceSizeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSourceSize)(::windows::core::Interface::as_raw(self), newsize).ok() } pub unsafe fn OverScan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OverScan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverScan(&self, lpercent: i32) -> ::windows::core::Result<()> { @@ -59806,25 +59806,25 @@ impl IMSVidVideoRenderer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AvailableSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvailableSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MaxVidRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxVidRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MinVidRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinVidRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClippedSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClippedSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -59836,7 +59836,7 @@ impl IMSVidVideoRenderer { (::windows::core::Interface::vtable(self).SetClippedSourceRect)(::windows::core::Interface::as_raw(self), prect.into().abi()).ok() } pub unsafe fn UsingOverlay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UsingOverlay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUsingOverlay(&self, useoverlayval: i16) -> ::windows::core::Result<()> { @@ -59845,15 +59845,15 @@ impl IMSVidVideoRenderer { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Capture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Capture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FramesPerSecond(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FramesPerSecond)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DecimateInput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DecimateInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDecimateInput(&self, pdeci: i16) -> ::windows::core::Result<()> { @@ -60044,38 +60044,38 @@ impl IMSVidVideoRenderer2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -60084,13 +60084,13 @@ impl IMSVidVideoRenderer2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CustomCompositorClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60102,14 +60102,14 @@ impl IMSVidVideoRenderer2 { (::windows::core::Interface::vtable(self).base__.SetCustomCompositorClass)(::windows::core::Interface::as_raw(self), compositorclsid.into().abi()).ok() } pub unsafe fn _CustomCompositorClass(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_CustomCompositorClass(&self, compositorclsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Set_CustomCompositorClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(compositorclsid)).ok() } pub unsafe fn _CustomCompositor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._CustomCompositor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Set_CustomCompositor<'a, P0>(&self, compositor: P0) -> ::windows::core::Result<()> @@ -60121,11 +60121,11 @@ impl IMSVidVideoRenderer2 { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MixerBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MixerBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _MixerBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._MixerBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60144,7 +60144,7 @@ impl IMSVidVideoRenderer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MixerBitmapPositionRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MixerBitmapPositionRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -60156,7 +60156,7 @@ impl IMSVidVideoRenderer2 { (::windows::core::Interface::vtable(self).base__.SetMixerBitmapPositionRect)(::windows::core::Interface::as_raw(self), rdest.into().abi()).ok() } pub unsafe fn MixerBitmapOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MixerBitmapOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMixerBitmapOpacity(&self, opacity: i32) -> ::windows::core::Result<()> { @@ -60172,14 +60172,14 @@ impl IMSVidVideoRenderer2 { (::windows::core::Interface::vtable(self).base__.SetupMixerBitmap)(::windows::core::Interface::as_raw(self), mixerpicturedisp.into().abi(), opacity, rdest.into().abi()).ok() } pub unsafe fn SourceSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SourceSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceSize(&self, newsize: SourceSizeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSourceSize)(::windows::core::Interface::as_raw(self), newsize).ok() } pub unsafe fn OverScan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OverScan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverScan(&self, lpercent: i32) -> ::windows::core::Result<()> { @@ -60188,25 +60188,25 @@ impl IMSVidVideoRenderer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AvailableSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AvailableSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MaxVidRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxVidRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MinVidRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinVidRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClippedSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClippedSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -60218,7 +60218,7 @@ impl IMSVidVideoRenderer2 { (::windows::core::Interface::vtable(self).base__.SetClippedSourceRect)(::windows::core::Interface::as_raw(self), prect.into().abi()).ok() } pub unsafe fn UsingOverlay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UsingOverlay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUsingOverlay(&self, useoverlayval: i16) -> ::windows::core::Result<()> { @@ -60227,30 +60227,30 @@ impl IMSVidVideoRenderer2 { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Capture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Capture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FramesPerSecond(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FramesPerSecond)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DecimateInput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DecimateInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDecimateInput(&self, pdeci: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDecimateInput)(::windows::core::Interface::as_raw(self), pdeci).ok() } pub unsafe fn Allocator(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Allocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn _Allocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._Allocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Allocator_ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Allocator_ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllocator<'a, P0>(&self, allocpresent: P0, id: i32) -> ::windows::core::Result<()> @@ -60269,7 +60269,7 @@ impl IMSVidVideoRenderer2 { (::windows::core::Interface::vtable(self).SetSuppressEffects)(::windows::core::Interface::as_raw(self), bsuppress).ok() } pub unsafe fn SuppressEffects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SuppressEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -60408,13 +60408,13 @@ pub struct IMSVidVideoRendererDevices(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoRendererDevices { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60423,7 +60423,7 @@ impl IMSVidVideoRendererDevices { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -60780,38 +60780,38 @@ impl IMSVidWebDVD { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -60820,13 +60820,13 @@ impl IMSVidWebDVD { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60835,7 +60835,7 @@ impl IMSVidWebDVD { (::windows::core::Interface::vtable(self).base__.base__.View)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v)).ok() } pub unsafe fn EnableResetOnStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnableResetOnStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableResetOnStop(&self, newval: i16) -> ::windows::core::Result<()> { @@ -60851,7 +60851,7 @@ impl IMSVidWebDVD { (::windows::core::Interface::vtable(self).base__.Stop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_CanStep(&self, fbackwards: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_CanStep)(::windows::core::Interface::as_raw(self), fbackwards, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Step(&self, lstep: i32) -> ::windows::core::Result<()> { @@ -60861,25 +60861,25 @@ impl IMSVidWebDVD { (::windows::core::Interface::vtable(self).base__.SetRate)(::windows::core::Interface::as_raw(self), plrate).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPosition(&self, lposition: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCurrentPosition)(::windows::core::Interface::as_raw(self), lposition).ok() } pub unsafe fn CurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPositionMode(&self, lpositionmode: PositionModeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPositionMode)(::windows::core::Interface::as_raw(self), lpositionmode).ok() } pub unsafe fn PositionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PositionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDVDEvent(&self, levent: i32, lparam1: isize, lparam2: isize) -> ::windows::core::Result<()> { @@ -60937,7 +60937,7 @@ impl IMSVidWebDVD { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_AudioLanguage(&self, lstream: i32, fformat: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AudioLanguage)(::windows::core::Interface::as_raw(self), lstream, fformat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowMenu(&self, menuid: DVDMenuIDConstants) -> ::windows::core::Result<()> { @@ -60950,11 +60950,11 @@ impl IMSVidWebDVD { (::windows::core::Interface::vtable(self).ReturnFromSubmenu)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ButtonsAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ButtonsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentButton(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentButton)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectAndActivateButton(&self, lbutton: i32) -> ::windows::core::Result<()> { @@ -60982,63 +60982,63 @@ impl IMSVidWebDVD { (::windows::core::Interface::vtable(self).SelectAtPosition)(::windows::core::Interface::as_raw(self), xpos, ypos).ok() } pub unsafe fn get_ButtonAtPosition(&self, xpos: i32, ypos: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ButtonAtPosition)(::windows::core::Interface::as_raw(self), xpos, ypos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_NumberOfChapters(&self, ltitle: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_NumberOfChapters)(::windows::core::Interface::as_raw(self), ltitle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TotalTitleTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalTitleTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TitlesAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TitlesAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VolumesAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumesAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentVolume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDiscSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDiscSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentChapter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentChapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentTitle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentTitle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DVDTimeCode2bstr(&self, timecode: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DVDTimeCode2bstr)(::windows::core::Interface::as_raw(self), timecode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DVDDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DVDDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61050,15 +61050,15 @@ impl IMSVidWebDVD { (::windows::core::Interface::vtable(self).SetDVDDirectory)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn IsSubpictureStreamEnabled(&self, lstream: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSubpictureStreamEnabled)(::windows::core::Interface::as_raw(self), lstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsAudioStreamEnabled(&self, lstream: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAudioStreamEnabled)(::windows::core::Interface::as_raw(self), lstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSubpictureStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentSubpictureStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentSubpictureStream(&self, newval: i32) -> ::windows::core::Result<()> { @@ -61067,37 +61067,37 @@ impl IMSVidWebDVD { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_SubpictureLanguage(&self, lstream: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SubpictureLanguage)(::windows::core::Interface::as_raw(self), lstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentAudioStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAudioStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentAudioStream(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentAudioStream)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn AudioStreamsAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioStreamsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AnglesAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AnglesAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentAngle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAngle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentAngle(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentAngle)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn SubpictureStreamsAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubpictureStreamsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SubpictureOn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubpictureOn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSubpictureOn(&self, newval: i16) -> ::windows::core::Result<()> { @@ -61106,7 +61106,7 @@ impl IMSVidWebDVD { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DVDUniqueID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DVDUniqueID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61140,55 +61140,55 @@ impl IMSVidWebDVD { (::windows::core::Interface::vtable(self).SelectParentalLevel)(::windows::core::Interface::as_raw(self), lparentallevel, strusername.into().abi(), strpassword.into().abi()).ok() } pub unsafe fn get_TitleParentalLevels(&self, ltitle: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_TitleParentalLevels)(::windows::core::Interface::as_raw(self), ltitle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayerParentalCountry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayerParentalCountry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayerParentalLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlayerParentalLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Eject(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Eject)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn UOPValid(&self, luop: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UOPValid)(::windows::core::Interface::as_raw(self), luop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_SPRM(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SPRM)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_GPRM(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_GPRM)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_GPRM(&self, lindex: i32, svalue: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_GPRM)(::windows::core::Interface::as_raw(self), lindex, svalue).ok() } pub unsafe fn get_DVDTextStringType(&self, llangindex: i32, lstringindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_DVDTextStringType)(::windows::core::Interface::as_raw(self), llangindex, lstringindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_DVDTextString(&self, llangindex: i32, lstringindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_DVDTextString)(::windows::core::Interface::as_raw(self), llangindex, lstringindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_DVDTextNumberOfStrings(&self, llangindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_DVDTextNumberOfStrings)(::windows::core::Interface::as_raw(self), llangindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DVDTextNumberOfLanguages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DVDTextNumberOfLanguages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_DVDTextLanguageLCID(&self, llangindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_DVDTextLanguageLCID)(::windows::core::Interface::as_raw(self), llangindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegionChange(&self) -> ::windows::core::Result<()> { @@ -61197,7 +61197,7 @@ impl IMSVidWebDVD { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DVDAdm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DVDAdm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteBookmark(&self) -> ::windows::core::Result<()> { @@ -61216,51 +61216,51 @@ impl IMSVidWebDVD { (::windows::core::Interface::vtable(self).SelectDefaultSubpictureLanguage)(::windows::core::Interface::as_raw(self), lang, ext).ok() } pub unsafe fn PreferredSubpictureStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredSubpictureStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultMenuLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultMenuLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultMenuLanguage(&self, lang: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultMenuLanguage)(::windows::core::Interface::as_raw(self), lang).ok() } pub unsafe fn DefaultSubpictureLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultSubpictureLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultAudioLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultAudioLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultSubpictureLanguageExt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultSubpictureLanguageExt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultAudioLanguageExt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultAudioLanguageExt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_LanguageFromLCID(&self, lcid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_LanguageFromLCID)(::windows::core::Interface::as_raw(self), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn KaraokeAudioPresentationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KaraokeAudioPresentationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKaraokeAudioPresentationMode(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKaraokeAudioPresentationMode)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn get_KaraokeChannelContent(&self, lstream: i32, lchan: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_KaraokeChannelContent)(::windows::core::Interface::as_raw(self), lstream, lchan, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_KaraokeChannelAssignment(&self, lstream: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_KaraokeChannelAssignment)(::windows::core::Interface::as_raw(self), lstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RestorePreferredSettings(&self) -> ::windows::core::Result<()> { @@ -61269,13 +61269,13 @@ impl IMSVidWebDVD { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ButtonRect(&self, lbutton: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ButtonRect)(::windows::core::Interface::as_raw(self), lbutton, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DVDScreenInMouseCoordinates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DVDScreenInMouseCoordinates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -61572,38 +61572,38 @@ impl IMSVidWebDVD2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -61612,13 +61612,13 @@ impl IMSVidWebDVD2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn IsViewable(&self, v: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsViewable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61627,7 +61627,7 @@ impl IMSVidWebDVD2 { (::windows::core::Interface::vtable(self).base__.base__.base__.View)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(v)).ok() } pub unsafe fn EnableResetOnStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnableResetOnStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableResetOnStop(&self, newval: i16) -> ::windows::core::Result<()> { @@ -61643,7 +61643,7 @@ impl IMSVidWebDVD2 { (::windows::core::Interface::vtable(self).base__.base__.Stop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_CanStep(&self, fbackwards: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_CanStep)(::windows::core::Interface::as_raw(self), fbackwards, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Step(&self, lstep: i32) -> ::windows::core::Result<()> { @@ -61653,25 +61653,25 @@ impl IMSVidWebDVD2 { (::windows::core::Interface::vtable(self).base__.base__.SetRate)(::windows::core::Interface::as_raw(self), plrate).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPosition(&self, lposition: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCurrentPosition)(::windows::core::Interface::as_raw(self), lposition).ok() } pub unsafe fn CurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPositionMode(&self, lpositionmode: PositionModeList) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPositionMode)(::windows::core::Interface::as_raw(self), lpositionmode).ok() } pub unsafe fn PositionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PositionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDVDEvent(&self, levent: i32, lparam1: isize, lparam2: isize) -> ::windows::core::Result<()> { @@ -61729,7 +61729,7 @@ impl IMSVidWebDVD2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_AudioLanguage(&self, lstream: i32, fformat: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_AudioLanguage)(::windows::core::Interface::as_raw(self), lstream, fformat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowMenu(&self, menuid: DVDMenuIDConstants) -> ::windows::core::Result<()> { @@ -61742,11 +61742,11 @@ impl IMSVidWebDVD2 { (::windows::core::Interface::vtable(self).base__.ReturnFromSubmenu)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ButtonsAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ButtonsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentButton(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentButton)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectAndActivateButton(&self, lbutton: i32) -> ::windows::core::Result<()> { @@ -61774,63 +61774,63 @@ impl IMSVidWebDVD2 { (::windows::core::Interface::vtable(self).base__.SelectAtPosition)(::windows::core::Interface::as_raw(self), xpos, ypos).ok() } pub unsafe fn get_ButtonAtPosition(&self, xpos: i32, ypos: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_ButtonAtPosition)(::windows::core::Interface::as_raw(self), xpos, ypos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_NumberOfChapters(&self, ltitle: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_NumberOfChapters)(::windows::core::Interface::as_raw(self), ltitle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TotalTitleTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TotalTitleTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TitlesAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TitlesAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VolumesAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VolumesAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentVolume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDiscSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentDiscSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentChapter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentChapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentTitle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentTitle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DVDTimeCode2bstr(&self, timecode: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DVDTimeCode2bstr)(::windows::core::Interface::as_raw(self), timecode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DVDDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DVDDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61842,15 +61842,15 @@ impl IMSVidWebDVD2 { (::windows::core::Interface::vtable(self).base__.SetDVDDirectory)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn IsSubpictureStreamEnabled(&self, lstream: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSubpictureStreamEnabled)(::windows::core::Interface::as_raw(self), lstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsAudioStreamEnabled(&self, lstream: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsAudioStreamEnabled)(::windows::core::Interface::as_raw(self), lstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSubpictureStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentSubpictureStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentSubpictureStream(&self, newval: i32) -> ::windows::core::Result<()> { @@ -61859,37 +61859,37 @@ impl IMSVidWebDVD2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_SubpictureLanguage(&self, lstream: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_SubpictureLanguage)(::windows::core::Interface::as_raw(self), lstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentAudioStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentAudioStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentAudioStream(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCurrentAudioStream)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn AudioStreamsAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AudioStreamsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AnglesAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AnglesAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentAngle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentAngle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentAngle(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCurrentAngle)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn SubpictureStreamsAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SubpictureStreamsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SubpictureOn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SubpictureOn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSubpictureOn(&self, newval: i16) -> ::windows::core::Result<()> { @@ -61898,7 +61898,7 @@ impl IMSVidWebDVD2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DVDUniqueID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DVDUniqueID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61932,55 +61932,55 @@ impl IMSVidWebDVD2 { (::windows::core::Interface::vtable(self).base__.SelectParentalLevel)(::windows::core::Interface::as_raw(self), lparentallevel, strusername.into().abi(), strpassword.into().abi()).ok() } pub unsafe fn get_TitleParentalLevels(&self, ltitle: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_TitleParentalLevels)(::windows::core::Interface::as_raw(self), ltitle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayerParentalCountry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PlayerParentalCountry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PlayerParentalLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PlayerParentalLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Eject(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Eject)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn UOPValid(&self, luop: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UOPValid)(::windows::core::Interface::as_raw(self), luop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_SPRM(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_SPRM)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_GPRM(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_GPRM)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_GPRM(&self, lindex: i32, svalue: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.put_GPRM)(::windows::core::Interface::as_raw(self), lindex, svalue).ok() } pub unsafe fn get_DVDTextStringType(&self, llangindex: i32, lstringindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_DVDTextStringType)(::windows::core::Interface::as_raw(self), llangindex, lstringindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_DVDTextString(&self, llangindex: i32, lstringindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_DVDTextString)(::windows::core::Interface::as_raw(self), llangindex, lstringindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_DVDTextNumberOfStrings(&self, llangindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_DVDTextNumberOfStrings)(::windows::core::Interface::as_raw(self), llangindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DVDTextNumberOfLanguages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DVDTextNumberOfLanguages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_DVDTextLanguageLCID(&self, llangindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_DVDTextLanguageLCID)(::windows::core::Interface::as_raw(self), llangindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegionChange(&self) -> ::windows::core::Result<()> { @@ -61989,7 +61989,7 @@ impl IMSVidWebDVD2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DVDAdm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DVDAdm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteBookmark(&self) -> ::windows::core::Result<()> { @@ -62008,51 +62008,51 @@ impl IMSVidWebDVD2 { (::windows::core::Interface::vtable(self).base__.SelectDefaultSubpictureLanguage)(::windows::core::Interface::as_raw(self), lang, ext).ok() } pub unsafe fn PreferredSubpictureStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PreferredSubpictureStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultMenuLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultMenuLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultMenuLanguage(&self, lang: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDefaultMenuLanguage)(::windows::core::Interface::as_raw(self), lang).ok() } pub unsafe fn DefaultSubpictureLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultSubpictureLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultAudioLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultAudioLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultSubpictureLanguageExt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultSubpictureLanguageExt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultAudioLanguageExt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultAudioLanguageExt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_LanguageFromLCID(&self, lcid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_LanguageFromLCID)(::windows::core::Interface::as_raw(self), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn KaraokeAudioPresentationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KaraokeAudioPresentationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKaraokeAudioPresentationMode(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetKaraokeAudioPresentationMode)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn get_KaraokeChannelContent(&self, lstream: i32, lchan: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_KaraokeChannelContent)(::windows::core::Interface::as_raw(self), lstream, lchan, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_KaraokeChannelAssignment(&self, lstream: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_KaraokeChannelAssignment)(::windows::core::Interface::as_raw(self), lstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RestorePreferredSettings(&self) -> ::windows::core::Result<()> { @@ -62061,13 +62061,13 @@ impl IMSVidWebDVD2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ButtonRect(&self, lbutton: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_ButtonRect)(::windows::core::Interface::as_raw(self), lbutton, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DVDScreenInMouseCoordinates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DVDScreenInMouseCoordinates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -62267,40 +62267,40 @@ impl IMSVidWebDVDAdm { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConfirmPassword)(::windows::core::Interface::as_raw(self), strusername.into().abi(), strpassword.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParentalLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentalLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParentalCountry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentalCountry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultAudioLCID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultAudioLCID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultAudioLCID(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultAudioLCID)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn DefaultSubpictureLCID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultSubpictureLCID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultSubpictureLCID(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultSubpictureLCID)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn DefaultMenuLCID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultMenuLCID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultMenuLCID(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultMenuLCID)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn BookmarkOnStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BookmarkOnStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBookmarkOnStop(&self, newval: i16) -> ::windows::core::Result<()> { @@ -62628,38 +62628,38 @@ impl IMSVidXDS { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPower(&self, power: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPower)(::windows::core::Interface::as_raw(self), power).ok() } pub unsafe fn Power(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Power)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _Category(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn _ClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._ClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -62668,11 +62668,11 @@ impl IMSVidXDS { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMSVidDevice>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqualDevice)(::windows::core::Interface::as_raw(self), device.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChannelChangeInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChannelChangeInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -62967,7 +62967,7 @@ impl IMediaControl { (::windows::core::Interface::vtable(self).Stop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetState(&self, mstimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), mstimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -62984,19 +62984,19 @@ impl IMediaControl { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSourceFilter)(::windows::core::Interface::as_raw(self), strfilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilterCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FilterCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RegFilterCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegFilterCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StopWhenReady(&self) -> ::windows::core::Result<()> { @@ -63098,14 +63098,14 @@ pub struct IMediaEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaEvent { pub unsafe fn GetEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEvent(&self, leventcode: *mut i32, lparam1: *mut isize, lparam2: *mut isize, mstimeout: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(leventcode), ::core::mem::transmute(lparam1), ::core::mem::transmute(lparam2), mstimeout).ok() } pub unsafe fn WaitForCompletion(&self, mstimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitForCompletion)(::windows::core::Interface::as_raw(self), mstimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CancelDefaultHandling(&self, levcode: i32) -> ::windows::core::Result<()> { @@ -63198,14 +63198,14 @@ pub struct IMediaEventEx(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaEventEx { pub unsafe fn GetEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEvent(&self, leventcode: *mut i32, lparam1: *mut isize, lparam2: *mut isize, mstimeout: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(leventcode), ::core::mem::transmute(lparam1), ::core::mem::transmute(lparam2), mstimeout).ok() } pub unsafe fn WaitForCompletion(&self, mstimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WaitForCompletion)(::windows::core::Interface::as_raw(self), mstimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CancelDefaultHandling(&self, levcode: i32) -> ::windows::core::Result<()> { @@ -63224,7 +63224,7 @@ impl IMediaEventEx { (::windows::core::Interface::vtable(self).SetNotifyFlags)(::windows::core::Interface::as_raw(self), lnonotifyflags).ok() } pub unsafe fn GetNotifyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63374,7 +63374,7 @@ impl IMediaFilter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Stop(&self) -> ::windows::core::Result<()> { @@ -63387,7 +63387,7 @@ impl IMediaFilter { (::windows::core::Interface::vtable(self).Run)(::windows::core::Interface::as_raw(self), tstart).ok() } pub unsafe fn GetState(&self, dwmillisecstimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), dwmillisecstimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncSource<'a, P0>(&self, pclock: P0) -> ::windows::core::Result<()> @@ -63397,7 +63397,7 @@ impl IMediaFilter { (::windows::core::Interface::vtable(self).SetSyncSource)(::windows::core::Interface::as_raw(self), pclock.into().abi()).ok() } pub unsafe fn GetSyncSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63479,23 +63479,23 @@ pub struct IMediaFilter_Vtbl { pub struct IMediaParamInfo(::windows::core::IUnknown); impl IMediaParamInfo { pub unsafe fn GetParamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParamInfo(&self, dwparamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParamInfo)(::windows::core::Interface::as_raw(self), dwparamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParamText(&self, dwparamindex: u32) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParamText)(::windows::core::Interface::as_raw(self), dwparamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn GetNumTimeFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumTimeFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedTimeFormat(&self, dwformatindex: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedTimeFormat)(::windows::core::Interface::as_raw(self), dwformatindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetCurrentTimeFormat(&self, pguidtimeformat: *mut ::windows::core::GUID, ptimedata: *mut u32) -> ::windows::core::Result<()> { @@ -63553,7 +63553,7 @@ pub struct IMediaParamInfo_Vtbl { pub struct IMediaParams(::windows::core::IUnknown); impl IMediaParams { pub unsafe fn GetParam(&self, dwparamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParam)(::windows::core::Interface::as_raw(self), dwparamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParam(&self, dwparamindex: u32, value: f32) -> ::windows::core::Result<()> { @@ -63621,25 +63621,25 @@ pub struct IMediaPosition(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaPosition { pub unsafe fn Duration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Duration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPosition(&self, lltime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentPosition)(::windows::core::Interface::as_raw(self), lltime).ok() } pub unsafe fn CurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StopTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StopTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStopTime(&self, lltime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStopTime)(::windows::core::Interface::as_raw(self), lltime).ok() } pub unsafe fn PrerollTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrerollTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrerollTime(&self, lltime: f64) -> ::windows::core::Result<()> { @@ -63649,15 +63649,15 @@ impl IMediaPosition { (::windows::core::Interface::vtable(self).SetRate)(::windows::core::Interface::as_raw(self), drate).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanSeekForward(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanSeekForward)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanSeekBackward(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanSeekBackward)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63844,7 +63844,7 @@ pub struct IMediaPropertyBag_Vtbl { pub struct IMediaSample(::windows::core::IUnknown); impl IMediaSample { pub unsafe fn GetPointer(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetSize(&self) -> i32 { @@ -63887,7 +63887,7 @@ impl IMediaSample { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn GetMediaType(&self) -> ::windows::core::Result<*mut super::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::MediaFoundation::AM_MEDIA_TYPE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::MediaFoundation::AM_MEDIA_TYPE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -63989,7 +63989,7 @@ pub struct IMediaSample_Vtbl { pub struct IMediaSample2(::windows::core::IUnknown); impl IMediaSample2 { pub unsafe fn GetPointer(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetSize(&self) -> i32 { @@ -64032,7 +64032,7 @@ impl IMediaSample2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn GetMediaType(&self) -> ::windows::core::Result<*mut super::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::MediaFoundation::AM_MEDIA_TYPE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::MediaFoundation::AM_MEDIA_TYPE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -64058,7 +64058,7 @@ impl IMediaSample2 { (::windows::core::Interface::vtable(self).base__.SetMediaTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptimestart), ::core::mem::transmute(ptimeend)).ok() } pub unsafe fn GetProperties(&self, cbproperties: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), cbproperties, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProperties(&self, cbproperties: u32, pbproperties: *const u8) -> ::windows::core::Result<()> { @@ -64127,7 +64127,7 @@ pub struct IMediaSample2_Vtbl { pub struct IMediaSample2Config(::windows::core::IUnknown); impl IMediaSample2Config { pub unsafe fn GetSurface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -64177,7 +64177,7 @@ pub struct IMediaSample2Config_Vtbl { pub struct IMediaSeeking(::windows::core::IUnknown); impl IMediaSeeking { pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCapabilities(&self, pcapabilities: *mut u32) -> ::windows::core::Result<()> { @@ -64187,11 +64187,11 @@ impl IMediaSeeking { (::windows::core::Interface::vtable(self).IsFormatSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformat)).ok() } pub unsafe fn QueryPreferredFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryPreferredFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetTimeFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsUsingTimeFormat(&self, pformat: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -64201,15 +64201,15 @@ impl IMediaSeeking { (::windows::core::Interface::vtable(self).SetTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStopPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStopPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertTimeFormat(&self, ptarget: *mut i64, ptargetformat: *const ::windows::core::GUID, source: i64, psourceformat: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -64228,11 +64228,11 @@ impl IMediaSeeking { (::windows::core::Interface::vtable(self).SetRate)(::windows::core::Interface::as_raw(self), drate).ok() } pub unsafe fn GetRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -64298,7 +64298,7 @@ pub struct IMediaSeeking_Vtbl { pub struct IMediaStream(::windows::core::IUnknown); impl IMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMultiMediaStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInformation(&self, ppurposeid: *mut ::windows::core::GUID, ptype: *mut STREAM_TYPE) -> ::windows::core::Result<()> { @@ -64311,14 +64311,14 @@ impl IMediaStream { (::windows::core::Interface::vtable(self).SetSameFormat)(::windows::core::Interface::as_raw(self), pstreamthathasdesiredformat.into().abi(), dwflags).ok() } pub unsafe fn AllocateSample(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocateSample)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSharedSample<'a, P0>(&self, pexistingsample: P0, dwflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IStreamSample>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSharedSample)(::windows::core::Interface::as_raw(self), pexistingsample.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendEndOfStream(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -64380,7 +64380,7 @@ impl IMediaStreamFilter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Stop(&self) -> ::windows::core::Result<()> { @@ -64393,7 +64393,7 @@ impl IMediaStreamFilter { (::windows::core::Interface::vtable(self).base__.base__.Run)(::windows::core::Interface::as_raw(self), tstart).ok() } pub unsafe fn GetState(&self, dwmillisecstimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetState)(::windows::core::Interface::as_raw(self), dwmillisecstimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncSource<'a, P0>(&self, pclock: P0) -> ::windows::core::Result<()> @@ -64403,22 +64403,22 @@ impl IMediaStreamFilter { (::windows::core::Interface::vtable(self).base__.base__.SetSyncSource)(::windows::core::Interface::as_raw(self), pclock.into().abi()).ok() } pub unsafe fn GetSyncSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSyncSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumPins(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumPins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindPin<'a, P0>(&self, id: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindPin)(::windows::core::Interface::as_raw(self), id.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryFilterInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryFilterInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JoinFilterGraph<'a, P0, P1>(&self, pgraph: P0, pname: P1) -> ::windows::core::Result<()> @@ -64429,7 +64429,7 @@ impl IMediaStreamFilter { (::windows::core::Interface::vtable(self).base__.JoinFilterGraph)(::windows::core::Interface::as_raw(self), pgraph.into().abi(), pname.into()).ok() } pub unsafe fn QueryVendorInfo(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryVendorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn AddMediaStream<'a, P0>(&self, pammediastream: P0) -> ::windows::core::Result<()> @@ -64439,11 +64439,11 @@ impl IMediaStreamFilter { (::windows::core::Interface::vtable(self).AddMediaStream)(::windows::core::Interface::as_raw(self), pammediastream.into().abi()).ok() } pub unsafe fn GetMediaStream(&self, idpurpose: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(idpurpose), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumMediaStreams(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumMediaStreams)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -64455,11 +64455,11 @@ impl IMediaStreamFilter { (::windows::core::Interface::vtable(self).SupportSeeking)(::windows::core::Interface::as_raw(self), brenderer.into()).ok() } pub unsafe fn ReferenceTimeToStreamTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReferenceTimeToStreamTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentStreamTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentStreamTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WaitUntil(&self, waitstreamtime: i64) -> ::windows::core::Result<()> { @@ -64604,13 +64604,13 @@ impl IMediaTypeInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Subtype(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subtype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -64694,11 +64694,11 @@ pub struct IMediaTypeInfo_Vtbl { pub struct IMemAllocator(::windows::core::IUnknown); impl IMemAllocator { pub unsafe fn SetProperties(&self, prequest: *const ALLOCATOR_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prequest), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Commit(&self) -> ::windows::core::Result<()> { @@ -64768,11 +64768,11 @@ pub struct IMemAllocator_Vtbl { pub struct IMemAllocatorCallbackTemp(::windows::core::IUnknown); impl IMemAllocatorCallbackTemp { pub unsafe fn SetProperties(&self, prequest: *const ALLOCATOR_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prequest), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Commit(&self) -> ::windows::core::Result<()> { @@ -64797,7 +64797,7 @@ impl IMemAllocatorCallbackTemp { (::windows::core::Interface::vtable(self).SetNotify)(::windows::core::Interface::as_raw(self), pnotify.into().abi()).ok() } pub unsafe fn GetFreeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFreeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -64912,7 +64912,7 @@ pub struct IMemAllocatorNotifyCallbackTemp_Vtbl { pub struct IMemInputPin(::windows::core::IUnknown); impl IMemInputPin { pub unsafe fn GetAllocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -64925,7 +64925,7 @@ impl IMemInputPin { (::windows::core::Interface::vtable(self).NotifyAllocator)(::windows::core::Interface::as_raw(self), pallocator.into().abi(), breadonly.into()).ok() } pub unsafe fn GetAllocatorRequirements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocatorRequirements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Receive<'a, P0>(&self, psample: P0) -> ::windows::core::Result<()> @@ -64935,7 +64935,7 @@ impl IMemInputPin { (::windows::core::Interface::vtable(self).Receive)(::windows::core::Interface::as_raw(self), psample.into().abi()).ok() } pub unsafe fn ReceiveMultiple(&self, psamples: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveMultiple)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(psamples)), psamples.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReceiveCanBlock(&self) -> ::windows::core::Result<()> { @@ -65062,7 +65062,7 @@ impl IMixerOCX { (::windows::core::Interface::vtable(self).GetVideoSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwvideowidth), ::core::mem::transmute(pdwvideoheight)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result<*mut u32> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u32>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u32>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -65438,13 +65438,13 @@ impl IMpeg2Data { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSection(&self, pid: u16, tid: u8, pfilter: *const MPEG2_FILTER, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSection)(::windows::core::Interface::as_raw(self), pid, tid, ::core::mem::transmute(pfilter), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTable(&self, pid: u16, tid: u8, pfilter: *const MPEG2_FILTER, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTable)(::windows::core::Interface::as_raw(self), pid, tid, ::core::mem::transmute(pfilter), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -65453,7 +65453,7 @@ impl IMpeg2Data { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamOfSections)(::windows::core::Interface::as_raw(self), pid, tid, ::core::mem::transmute(pfilter), hdatareadyevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65721,35 +65721,35 @@ pub struct IMpeg2TableFilter_Vtbl { pub struct IMpegAudioDecoder(::windows::core::IUnknown); impl IMpegAudioDecoder { pub unsafe fn FrequencyDivider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FrequencyDivider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFrequencyDivider(&self, divider: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFrequencyDivider)(::windows::core::Interface::as_raw(self), divider).ok() } pub unsafe fn DecoderAccuracy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DecoderAccuracy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDecoderAccuracy(&self, accuracy: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDecoderAccuracy)(::windows::core::Interface::as_raw(self), accuracy).ok() } pub unsafe fn Stereo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Stereo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStereo(&self, stereo: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStereo)(::windows::core::Interface::as_raw(self), stereo).ok() } pub unsafe fn DecoderWordSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DecoderWordSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDecoderWordSize(&self, wordsize: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDecoderWordSize)(::windows::core::Interface::as_raw(self), wordsize).ok() } pub unsafe fn IntegerDecode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IntegerDecode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIntegerDecode(&self, intdecode: u32) -> ::windows::core::Result<()> { @@ -65764,7 +65764,7 @@ impl IMpegAudioDecoder { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn AudioFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65832,26 +65832,26 @@ impl IMultiMediaStream { (::windows::core::Interface::vtable(self).GetInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwflags), ::core::mem::transmute(pstreamtype)).ok() } pub unsafe fn GetMediaStream(&self, idpurpose: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(idpurpose), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumMediaStreams(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumMediaStreams)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, newstate: STREAM_STATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetState)(::windows::core::Interface::as_raw(self), newstate).ok() } pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Seek(&self, seektime: i64) -> ::windows::core::Result<()> { @@ -65860,7 +65860,7 @@ impl IMultiMediaStream { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEndOfStreamEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEndOfStreamEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65931,11 +65931,11 @@ impl IOverlay { (::windows::core::Interface::vtable(self).SetPalette)(::windows::core::Interface::as_raw(self), ppalette.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppalette))).ok() } pub unsafe fn GetDefaultColorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultColorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColorKey(&self, pcolorkey: *mut COLORKEY) -> ::windows::core::Result<()> { @@ -65944,7 +65944,7 @@ impl IOverlay { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -66210,27 +66210,27 @@ impl IPAT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetTransportStreamId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportStreamId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordProgramNumber(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordProgramNumber)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordProgramMapPid(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordProgramMapPid)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindRecordProgramMapPid(&self, wprogramnumber: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindRecordProgramMapPid)(::windows::core::Interface::as_raw(self), wprogramnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66242,7 +66242,7 @@ impl IPAT { (::windows::core::Interface::vtable(self).RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66319,11 +66319,11 @@ pub struct IPAT_Vtbl { pub struct IPBDAAttributesDescriptor(::windows::core::IUnknown); impl IPBDAAttributesDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributePayload(&self, ppbattributebuffer: *mut *mut u8, pdwattributelength: *mut u32) -> ::windows::core::Result<()> { @@ -66378,11 +66378,11 @@ pub struct IPBDAAttributesDescriptor_Vtbl { pub struct IPBDAEntitlementDescriptor(::windows::core::IUnknown); impl IPBDAEntitlementDescriptor { pub unsafe fn GetTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetToken(&self, ppbtokenbuffer: *mut *mut u8, pdwtokenlength: *mut u32) -> ::windows::core::Result<()> { @@ -66443,11 +66443,11 @@ impl IPBDASiParser { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() } pub unsafe fn GetEIT(&self, dwsize: u32, pbuffer: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEIT)(::windows::core::Interface::as_raw(self), dwsize, ::core::mem::transmute(pbuffer), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServices(&self, dwsize: u32, pbuffer: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServices)(::windows::core::Interface::as_raw(self), dwsize, ::core::mem::transmute(pbuffer), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -66502,39 +66502,39 @@ impl IPBDA_EIT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), size, ::core::mem::transmute(pbuffer)).ok() } pub unsafe fn GetTableId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServiceIdx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceIdx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordEventId(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordEventId)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordStartTime(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordStartTime)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDuration(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDuration)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -66600,11 +66600,11 @@ impl IPBDA_Services { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), size, ::core::mem::transmute(pbuffer)).ok() } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordByIndex(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -66663,46 +66663,46 @@ impl IPMT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetProgramNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgramNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPcrPid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPcrPid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetTableDescriptorByTag)(::windows::core::Interface::as_raw(self), btag, ::core::mem::transmute(pdwcookie), ::core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordStreamType(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordStreamType)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordElementaryPid(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordElementaryPid)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCountOfDescriptors)(::windows::core::Interface::as_raw(self), dwrecordindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwdescindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwrecordindex, dwdescindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -66723,7 +66723,7 @@ impl IPMT { (::windows::core::Interface::vtable(self).RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66808,7 +66808,7 @@ pub struct IPMT_Vtbl { pub struct IPSITables(::windows::core::IUnknown); impl IPSITables { pub unsafe fn GetTable(&self, dwtsid: u32, dwtid_pid: u32, dwhashedver: u32, dwpara4: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTable)(::windows::core::Interface::as_raw(self), dwtsid, dwtid_pid, dwhashedver, dwpara4, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -66925,7 +66925,7 @@ impl IPersistMediaPropertyBag { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn InitNew(&self) -> ::windows::core::Result<()> { @@ -67036,7 +67036,7 @@ impl IPersistTuneXml { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn InitNew(&self) -> ::windows::core::Result<()> { @@ -67053,7 +67053,7 @@ impl IPersistTuneXml { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Save(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67143,7 +67143,7 @@ impl IPersistTuneXmlUtility { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Deserialize)(::windows::core::Interface::as_raw(self), varvalue.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -67201,7 +67201,7 @@ impl IPersistTuneXmlUtility2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Deserialize)(::windows::core::Interface::as_raw(self), varvalue.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -67210,7 +67210,7 @@ impl IPersistTuneXmlUtility2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Serialize)(::windows::core::Interface::as_raw(self), pitunerequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67297,27 +67297,27 @@ impl IPin { (::windows::core::Interface::vtable(self).Disconnect)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ConnectedTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectedTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn ConnectionMediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectionMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryPinInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryPinInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -67326,7 +67326,7 @@ impl IPin { (::windows::core::Interface::vtable(self).QueryAccept)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmt)).ok() } pub unsafe fn EnumMediaTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumMediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryInternalConnections(&self, appin: *mut ::core::option::Option, npin: *mut u32) -> ::windows::core::Result<()> { @@ -67553,47 +67553,47 @@ pub struct IPinInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPinInfo { pub unsafe fn Pin(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ConnectedTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectedTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ConnectionMediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectionMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilterInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FilterInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PinID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PinID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MediaTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Connect<'a, P0>(&self, ppin: P0) -> ::windows::core::Result<()> @@ -67730,27 +67730,27 @@ pub struct IPinInfo_Vtbl { pub struct IQualProp(::windows::core::IUnknown); impl IQualProp { pub unsafe fn FramesDroppedInRenderer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FramesDroppedInRenderer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FramesDrawn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FramesDrawn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AvgFrameRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvgFrameRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Jitter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Jitter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AvgSyncOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvgSyncOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DevSyncOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DevSyncOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67936,13 +67936,13 @@ impl IRegFilterInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68191,14 +68191,14 @@ impl IResourceManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Register)(::windows::core::Interface::as_raw(self), pname.into(), cresource, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterGroup<'a, P0>(&self, pname: P0, paltokens: &[i32]) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterGroup)(::windows::core::Interface::as_raw(self), pname.into(), paltokens.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(paltokens)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestResource<'a, P0, P1>(&self, idresource: i32, pfocusobject: P0, pconsumer: P1) -> ::windows::core::Result<()> @@ -68301,7 +68301,7 @@ impl ISBE2Crossbar { (::windows::core::Interface::vtable(self).EnableDefaultMode)(::windows::core::Interface::as_raw(self), defaultflags).ok() } pub unsafe fn GetInitialProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInitialProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputProfile<'a, P0>(&self, pprofile: P0, pcoutputpins: *mut u32, ppoutputpins: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -68311,7 +68311,7 @@ impl ISBE2Crossbar { (::windows::core::Interface::vtable(self).SetOutputProfile)(::windows::core::Interface::as_raw(self), pprofile.into().abi(), ::core::mem::transmute(pcoutputpins), ::core::mem::transmute(ppoutputpins)).ok() } pub unsafe fn EnumStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68373,7 +68373,7 @@ impl ISBE2EnumStream { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68606,13 +68606,13 @@ pub struct ISBE2GlobalEvent2_Vtbl { pub struct ISBE2MediaTypeProfile(::windows::core::IUnknown); impl ISBE2MediaTypeProfile { pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_MediaFoundation"))] pub unsafe fn GetStream(&self, index: u32) -> ::windows::core::Result<*mut super::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::MediaFoundation::AM_MEDIA_TYPE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::MediaFoundation::AM_MEDIA_TYPE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -68734,7 +68734,7 @@ impl ISBE2StreamMap { (::windows::core::Interface::vtable(self).UnmapStream)(::windows::core::Interface::as_raw(self), stream).ok() } pub unsafe fn EnumMappedStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumMappedStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68793,39 +68793,39 @@ impl ISCTE_EAS { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSequencyNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSequencyNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEASEventID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEASEventID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginatorCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginatorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEASEventCodeLen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEASEventCodeLen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEASEventCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEASEventCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRawNatureOfActivationTextLen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRawNatureOfActivationTextLen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRawNatureOfActivationText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRawNatureOfActivationText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -68834,39 +68834,39 @@ impl ISCTE_EAS { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNatureOfActivationText)(::windows::core::Interface::as_raw(self), bstris0639code.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTimeRemaining(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimeRemaining)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAlertPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlertPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDetailsOOBSourceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDetailsOOBSourceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDetailsMajor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDetailsMajor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDetailsMinor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDetailsMinor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDetailsAudioOOBSourceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDetailsAudioOOBSourceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -68875,37 +68875,37 @@ impl ISCTE_EAS { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlertText)(::windows::core::Interface::as_raw(self), bstris0639code.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRawAlertTextLen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRawAlertTextLen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRawAlertText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRawAlertText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocationCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocationCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocationCodes(&self, bindex: u8, pbstate: *mut u8, pbcountysubdivision: *mut u8, pwcounty: *mut u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLocationCodes)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(pbstate), ::core::mem::transmute(pbcountysubdivision), ::core::mem::transmute(pwcounty)).ok() } pub unsafe fn GetExceptionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExceptionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExceptionService(&self, bindex: u8, pbibref: *mut u8, pwfirst: *mut u16, pwsecond: *mut u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetExceptionService)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(pbibref), ::core::mem::transmute(pwfirst), ::core::mem::transmute(pwsecond)).ok() } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -69061,7 +69061,7 @@ impl ISIInbandEPG { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSIEPGScanRunning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSIEPGScanRunning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -69170,7 +69170,7 @@ impl IScanningTuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -69182,13 +69182,13 @@ impl IScanningTuner { (::windows::core::Interface::vtable(self).base__.SetTuningSpace)(::windows::core::Interface::as_raw(self), tuningspace.into().abi()).ok() } pub unsafe fn EnumTuningSpaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumTuningSpaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -69210,7 +69210,7 @@ impl IScanningTuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -69222,7 +69222,7 @@ impl IScanningTuner { (::windows::core::Interface::vtable(self).base__.SetPreferredComponentTypes)(::windows::core::Interface::as_raw(self), componenttypes.into().abi()).ok() } pub unsafe fn SignalStrength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignalStrength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TriggerSignalEvents(&self, interval: i32) -> ::windows::core::Result<()> { @@ -69311,7 +69311,7 @@ impl IScanningTunerEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -69323,13 +69323,13 @@ impl IScanningTunerEx { (::windows::core::Interface::vtable(self).base__.base__.SetTuningSpace)(::windows::core::Interface::as_raw(self), tuningspace.into().abi()).ok() } pub unsafe fn EnumTuningSpaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumTuningSpaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -69351,7 +69351,7 @@ impl IScanningTunerEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -69363,7 +69363,7 @@ impl IScanningTunerEx { (::windows::core::Interface::vtable(self).base__.base__.SetPreferredComponentTypes)(::windows::core::Interface::as_raw(self), componenttypes.into().abi()).ok() } pub unsafe fn SignalStrength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SignalStrength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TriggerSignalEvents(&self, interval: i32) -> ::windows::core::Result<()> { @@ -69393,7 +69393,7 @@ impl IScanningTunerEx { (::windows::core::Interface::vtable(self).PerformExhaustiveScan)(::windows::core::Interface::as_raw(self), dwlowerfreq, dwhigherfreq, bfinetune, hevent).ok() } pub unsafe fn TerminateCurrentScan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TerminateCurrentScan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResumeCurrentScan(&self, hevent: usize) -> ::windows::core::Result<()> { @@ -69513,7 +69513,7 @@ impl ISectionList { (::windows::core::Interface::vtable(self).CancelPendingRequest)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetNumberOfSections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfSections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSectionData(&self, sectionnumber: u16, pdwrawpacketlength: *mut u32, ppsection: *mut *mut SECTION) -> ::windows::core::Result<()> { @@ -69639,11 +69639,11 @@ pub struct ISeekingPassThru_Vtbl { pub struct ISelector(::windows::core::IUnknown); impl ISelector { pub unsafe fn NumSources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumSources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SourceNodeId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceNodeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceNodeId(&self, dwpinid: u32) -> ::windows::core::Result<()> { @@ -69698,19 +69698,19 @@ pub struct ISelector_Vtbl { pub struct IServiceLocationDescriptor(::windows::core::IUnknown); impl IServiceLocationDescriptor { pub unsafe fn GetPCR_PID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPCR_PID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOfElements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfElements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetElementStreamType(&self, bindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElementStreamType)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetElementPID(&self, bindex: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElementPID)(::windows::core::Interface::as_raw(self), bindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetElementLanguageCode(&self, bindex: u8, langcode: &mut [u8; 3]) -> ::windows::core::Result<()> { @@ -69769,7 +69769,7 @@ impl ISpecifyParticularPages { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetPages(&self, guidwhatpages: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidwhatpages), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -69828,7 +69828,7 @@ impl IStreamBufferConfigure { (::windows::core::Interface::vtable(self).SetDirectory)(::windows::core::Interface::as_raw(self), pszdirectoryname.into()).ok() } pub unsafe fn GetDirectory(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetBackingFileCount(&self, dwmin: u32, dwmax: u32) -> ::windows::core::Result<()> { @@ -69841,7 +69841,7 @@ impl IStreamBufferConfigure { (::windows::core::Interface::vtable(self).SetBackingFileDuration)(::windows::core::Interface::as_raw(self), dwseconds).ok() } pub unsafe fn GetBackingFileDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackingFileDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -69902,7 +69902,7 @@ impl IStreamBufferConfigure2 { (::windows::core::Interface::vtable(self).base__.SetDirectory)(::windows::core::Interface::as_raw(self), pszdirectoryname.into()).ok() } pub unsafe fn GetDirectory(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetBackingFileCount(&self, dwmin: u32, dwmax: u32) -> ::windows::core::Result<()> { @@ -69915,14 +69915,14 @@ impl IStreamBufferConfigure2 { (::windows::core::Interface::vtable(self).base__.SetBackingFileDuration)(::windows::core::Interface::as_raw(self), dwseconds).ok() } pub unsafe fn GetBackingFileDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBackingFileDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMultiplexedPacketSize(&self, cbbytesperpacket: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMultiplexedPacketSize)(::windows::core::Interface::as_raw(self), cbbytesperpacket).ok() } pub unsafe fn GetMultiplexedPacketSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMultiplexedPacketSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFFTransitionRates(&self, dwmaxfullframerate: u32, dwmaxnonskippingrate: u32) -> ::windows::core::Result<()> { @@ -70002,7 +70002,7 @@ impl IStreamBufferConfigure3 { (::windows::core::Interface::vtable(self).base__.base__.SetDirectory)(::windows::core::Interface::as_raw(self), pszdirectoryname.into()).ok() } pub unsafe fn GetDirectory(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetBackingFileCount(&self, dwmin: u32, dwmax: u32) -> ::windows::core::Result<()> { @@ -70015,14 +70015,14 @@ impl IStreamBufferConfigure3 { (::windows::core::Interface::vtable(self).base__.base__.SetBackingFileDuration)(::windows::core::Interface::as_raw(self), dwseconds).ok() } pub unsafe fn GetBackingFileDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBackingFileDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMultiplexedPacketSize(&self, cbbytesperpacket: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMultiplexedPacketSize)(::windows::core::Interface::as_raw(self), cbbytesperpacket).ok() } pub unsafe fn GetMultiplexedPacketSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMultiplexedPacketSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFFTransitionRates(&self, dwmaxfullframerate: u32, dwmaxnonskippingrate: u32) -> ::windows::core::Result<()> { @@ -70042,7 +70042,7 @@ impl IStreamBufferConfigure3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStartRecConfig(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStartRecConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNamespace<'a, P0>(&self, psznamespace: P0) -> ::windows::core::Result<()> @@ -70052,7 +70052,7 @@ impl IStreamBufferConfigure3 { (::windows::core::Interface::vtable(self).SetNamespace)(::windows::core::Interface::as_raw(self), psznamespace.into()).ok() } pub unsafe fn GetNamespace(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -70141,7 +70141,7 @@ pub struct IStreamBufferConfigure3_Vtbl { pub struct IStreamBufferDataCounters(::windows::core::IUnknown); impl IStreamBufferDataCounters { pub unsafe fn GetData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetData(&self) -> ::windows::core::Result<()> { @@ -70261,7 +70261,7 @@ pub struct IStreamBufferInitialize_Vtbl { pub struct IStreamBufferMediaSeeking(::windows::core::IUnknown); impl IStreamBufferMediaSeeking { pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCapabilities(&self, pcapabilities: *mut u32) -> ::windows::core::Result<()> { @@ -70271,11 +70271,11 @@ impl IStreamBufferMediaSeeking { (::windows::core::Interface::vtable(self).base__.IsFormatSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformat)).ok() } pub unsafe fn QueryPreferredFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryPreferredFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetTimeFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsUsingTimeFormat(&self, pformat: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -70285,15 +70285,15 @@ impl IStreamBufferMediaSeeking { (::windows::core::Interface::vtable(self).base__.SetTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStopPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStopPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertTimeFormat(&self, ptarget: *mut i64, ptargetformat: *const ::windows::core::GUID, source: i64, psourceformat: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -70312,11 +70312,11 @@ impl IStreamBufferMediaSeeking { (::windows::core::Interface::vtable(self).base__.SetRate)(::windows::core::Interface::as_raw(self), drate).ok() } pub unsafe fn GetRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPreroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -70380,7 +70380,7 @@ pub struct IStreamBufferMediaSeeking_Vtbl { pub struct IStreamBufferMediaSeeking2(::windows::core::IUnknown); impl IStreamBufferMediaSeeking2 { pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCapabilities(&self, pcapabilities: *mut u32) -> ::windows::core::Result<()> { @@ -70390,11 +70390,11 @@ impl IStreamBufferMediaSeeking2 { (::windows::core::Interface::vtable(self).base__.base__.IsFormatSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformat)).ok() } pub unsafe fn QueryPreferredFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryPreferredFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetTimeFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsUsingTimeFormat(&self, pformat: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -70404,15 +70404,15 @@ impl IStreamBufferMediaSeeking2 { (::windows::core::Interface::vtable(self).base__.base__.SetTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformat)).ok() } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStopPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStopPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertTimeFormat(&self, ptarget: *mut i64, ptargetformat: *const ::windows::core::GUID, source: i64, psourceformat: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -70431,11 +70431,11 @@ impl IStreamBufferMediaSeeking2 { (::windows::core::Interface::vtable(self).base__.base__.SetRate)(::windows::core::Interface::as_raw(self), drate).ok() } pub unsafe fn GetRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPreroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRateEx(&self, drate: f64, dwframespersec: u32) -> ::windows::core::Result<()> { @@ -70537,7 +70537,7 @@ impl IStreamBufferRecComp { (::windows::core::Interface::vtable(self).AppendEx)(::windows::core::Interface::as_raw(self), pszsbrecording.into(), rtstart, rtstop).ok() } pub unsafe fn GetCurrentLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -70666,7 +70666,7 @@ impl IStreamBufferRecordingAttribute { (::windows::core::Interface::vtable(self).SetAttribute)(::windows::core::Interface::as_raw(self), ulreserved, pszattributename.into(), streambufferattributetype, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbattribute)), pbattribute.len() as _).ok() } pub unsafe fn GetAttributeCount(&self, ulreserved: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeCount)(::windows::core::Interface::as_raw(self), ulreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributeByName<'a, P0>(&self, pszattributename: P0, pulreserved: *const u32, pstreambufferattributetype: *mut STREAMBUFFER_ATTR_DATATYPE, pbattribute: *mut u8, pcblength: *mut u16) -> ::windows::core::Result<()> @@ -70679,7 +70679,7 @@ impl IStreamBufferRecordingAttribute { (::windows::core::Interface::vtable(self).GetAttributeByIndex)(::windows::core::Interface::as_raw(self), windex, ::core::mem::transmute(pulreserved), ::core::mem::transmute(pszattributename), ::core::mem::transmute(pcchnamelength), ::core::mem::transmute(pstreambufferattributetype), ::core::mem::transmute(pbattribute), ::core::mem::transmute(pcblength)).ok() } pub unsafe fn EnumAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -70742,7 +70742,7 @@ impl IStreamBufferSink { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRecorder)(::windows::core::Interface::as_raw(self), pszfilename.into(), dwrecordtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn IsProfileLocked(&self) -> ::windows::core::Result<()> { @@ -70806,7 +70806,7 @@ impl IStreamBufferSink2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRecorder)(::windows::core::Interface::as_raw(self), pszfilename.into(), dwrecordtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn IsProfileLocked(&self) -> ::windows::core::Result<()> { @@ -70886,7 +70886,7 @@ impl IStreamBufferSink3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRecorder)(::windows::core::Interface::as_raw(self), pszfilename.into(), dwrecordtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn IsProfileLocked(&self) -> ::windows::core::Result<()> { @@ -71168,15 +71168,15 @@ impl ITSDT { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psectionlist.into().abi(), pmpegdata.into().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCountOfTableDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTableDescriptorByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -71191,7 +71191,7 @@ impl ITSDT { (::windows::core::Interface::vtable(self).RegisterForNextTable)(::windows::core::Interface::as_raw(self), hnexttableavailable.into()).ok() } pub unsafe fn GetNextTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71270,25 +71270,25 @@ impl ITuneRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Components(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Components)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Locator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Locator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71421,7 +71421,7 @@ impl ITuneRequestInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextProgram)(::windows::core::Interface::as_raw(self), currentrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71430,7 +71430,7 @@ impl ITuneRequestInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousProgram)(::windows::core::Interface::as_raw(self), currentrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71439,7 +71439,7 @@ impl ITuneRequestInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextLocator)(::windows::core::Interface::as_raw(self), currentrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71448,7 +71448,7 @@ impl ITuneRequestInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousLocator)(::windows::core::Interface::as_raw(self), currentrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -71554,7 +71554,7 @@ impl ITuneRequestInfoEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNextProgram)(::windows::core::Interface::as_raw(self), currentrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71563,7 +71563,7 @@ impl ITuneRequestInfoEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPreviousProgram)(::windows::core::Interface::as_raw(self), currentrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71572,7 +71572,7 @@ impl ITuneRequestInfoEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNextLocator)(::windows::core::Interface::as_raw(self), currentrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71581,7 +71581,7 @@ impl ITuneRequestInfoEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPreviousLocator)(::windows::core::Interface::as_raw(self), currentrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71590,7 +71590,7 @@ impl ITuneRequestInfoEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuneRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateComponentListEx)(::windows::core::Interface::as_raw(self), currentrequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -71660,7 +71660,7 @@ impl ITuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TuningSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71672,13 +71672,13 @@ impl ITuner { (::windows::core::Interface::vtable(self).SetTuningSpace)(::windows::core::Interface::as_raw(self), tuningspace.into().abi()).ok() } pub unsafe fn EnumTuningSpaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumTuningSpaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71700,7 +71700,7 @@ impl ITuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71712,7 +71712,7 @@ impl ITuner { (::windows::core::Interface::vtable(self).SetPreferredComponentTypes)(::windows::core::Interface::as_raw(self), componenttypes.into().abi()).ok() } pub unsafe fn SignalStrength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignalStrength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TriggerSignalEvents(&self, interval: i32) -> ::windows::core::Result<()> { @@ -71852,7 +71852,7 @@ pub struct ITunerCap_Vtbl { pub struct ITunerCapEx(::windows::core::IUnknown); impl ITunerCapEx { pub unsafe fn Has608_708Caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Has608_708Caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -71906,7 +71906,7 @@ impl ITuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UniqueName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71920,7 +71920,7 @@ impl ITuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71934,13 +71934,13 @@ impl ITuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71952,7 +71952,7 @@ impl ITuningSpace { (::windows::core::Interface::vtable(self).SetNetworkType)(::windows::core::Interface::as_raw(self), networktypeguid.into().abi()).ok() } pub unsafe fn _NetworkType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NetworkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -71961,25 +71961,25 @@ impl ITuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTuneRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCategoryGUIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDeviceMonikers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultPreferredComponentTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -71993,7 +71993,7 @@ impl ITuningSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FrequencyMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FrequencyMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72007,7 +72007,7 @@ impl ITuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultLocator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -72021,7 +72021,7 @@ impl ITuningSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -72169,13 +72169,13 @@ pub struct ITuningSpaceContainer(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITuningSpaceContainer { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -72184,7 +72184,7 @@ impl ITuningSpaceContainer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -72202,13 +72202,13 @@ impl ITuningSpaceContainer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TuningSpacesForCLSID)(::windows::core::Interface::as_raw(self), spaceclsid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn _TuningSpacesForCLSID2(&self, spaceclsid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._TuningSpacesForCLSID2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(spaceclsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -72217,7 +72217,7 @@ impl ITuningSpaceContainer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TuningSpacesForName)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -72226,7 +72226,7 @@ impl ITuningSpaceContainer { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuningSpace>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindID)(::windows::core::Interface::as_raw(self), tuningspace.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -72235,11 +72235,11 @@ impl ITuningSpaceContainer { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITuningSpace>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), tuningspace.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumTuningSpaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumTuningSpaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -72251,7 +72251,7 @@ impl ITuningSpaceContainer { (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), index.into().abi()).ok() } pub unsafe fn MaxCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxCount(&self, maxcount: i32) -> ::windows::core::Result<()> { @@ -72372,13 +72372,13 @@ pub struct ITuningSpaces(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITuningSpaces { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -72387,11 +72387,11 @@ impl ITuningSpaces { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumTuningSpaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumTuningSpaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -72530,7 +72530,7 @@ pub struct IVMRAspectRatioControl_Vtbl { pub struct IVMRAspectRatioControl9(::windows::core::IUnknown); impl IVMRAspectRatioControl9 { pub unsafe fn GetAspectRatioMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAspectRatioMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAspectRatioMode(&self, dwarmode: u32) -> ::windows::core::Result<()> { @@ -72670,25 +72670,25 @@ impl IVMRDeinterlaceControl9 { (::windows::core::Interface::vtable(self).GetNumberOfDeinterlaceModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpvideodescription), ::core::mem::transmute(lpdwnumdeinterlacemodes), ::core::mem::transmute(lpdeinterlacemodes)).ok() } pub unsafe fn GetDeinterlaceModeCaps(&self, lpdeinterlacemode: *const ::windows::core::GUID, lpvideodescription: *const VMR9VideoDesc) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeinterlaceModeCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpdeinterlacemode), ::core::mem::transmute(lpvideodescription), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeinterlaceMode(&self, dwstreamid: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeinterlaceMode)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetDeinterlaceMode(&self, dwstreamid: u32, lpdeinterlacemode: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDeinterlaceMode)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(lpdeinterlacemode)).ok() } pub unsafe fn GetDeinterlacePrefs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeinterlacePrefs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDeinterlacePrefs(&self, dwdeinterlaceprefs: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDeinterlacePrefs)(::windows::core::Interface::as_raw(self), dwdeinterlaceprefs).ok() } pub unsafe fn GetActualDeinterlaceMode(&self, dwstreamid: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActualDeinterlaceMode)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -72829,21 +72829,21 @@ impl IVMRFilterConfig9 { (::windows::core::Interface::vtable(self).SetNumberOfStreams)(::windows::core::Interface::as_raw(self), dwmaxstreams).ok() } pub unsafe fn GetNumberOfStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRenderingPrefs(&self, dwrenderflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRenderingPrefs)(::windows::core::Interface::as_raw(self), dwrenderflags).ok() } pub unsafe fn GetRenderingPrefs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenderingPrefs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRenderingMode(&self, mode: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRenderingMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn GetRenderingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenderingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73259,7 +73259,7 @@ impl IVMRImagePresenterConfig9 { (::windows::core::Interface::vtable(self).SetRenderingPrefs)(::windows::core::Interface::as_raw(self), dwrenderflags).ok() } pub unsafe fn GetRenderingPrefs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenderingPrefs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73482,7 +73482,7 @@ impl IVMRMixerBitmap9 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetAlphaBitmapParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlphaBitmapParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73631,21 +73631,21 @@ impl IVMRMixerControl9 { (::windows::core::Interface::vtable(self).SetAlpha)(::windows::core::Interface::as_raw(self), dwstreamid, alpha).ok() } pub unsafe fn GetAlpha(&self, dwstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlpha)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetZOrder(&self, dwstreamid: u32, dwz: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetZOrder)(::windows::core::Interface::as_raw(self), dwstreamid, dwz).ok() } pub unsafe fn GetZOrder(&self, dwstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetZOrder)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputRect(&self, dwstreamid: u32, prect: *const VMR9NormalizedRect) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOutputRect)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(prect)).ok() } pub unsafe fn GetOutputRect(&self, dwstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputRect)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackgroundClr(&self, clrbkg: u32) -> ::windows::core::Result<()> { @@ -73658,7 +73658,7 @@ impl IVMRMixerControl9 { (::windows::core::Interface::vtable(self).SetMixingPrefs)(::windows::core::Interface::as_raw(self), dwmixerprefs).ok() } pub unsafe fn GetMixingPrefs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMixingPrefs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProcAmpControl(&self, dwstreamid: u32, lpclrcontrol: *const VMR9ProcAmpControl) -> ::windows::core::Result<()> { @@ -73802,14 +73802,14 @@ impl IVMRMonitorConfig9 { (::windows::core::Interface::vtable(self).SetMonitor)(::windows::core::Interface::as_raw(self), udev).ok() } pub unsafe fn GetMonitor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMonitor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultMonitor(&self, udev: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultMonitor)(::windows::core::Interface::as_raw(self), udev).ok() } pub unsafe fn GetDefaultMonitor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultMonitor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -73882,7 +73882,7 @@ impl IVMRSurface { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetSurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73941,7 +73941,7 @@ impl IVMRSurface9 { (::windows::core::Interface::vtable(self).IsSurfaceLocked)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn LockSurface(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LockSurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn UnlockSurface(&self) -> ::windows::core::Result<()> { @@ -73950,7 +73950,7 @@ impl IVMRSurface9 { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetSurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74093,7 +74093,7 @@ impl IVMRSurfaceAllocator9 { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetSurface(&self, dwuserid: usize, surfaceindex: u32, surfaceflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurface)(::windows::core::Interface::as_raw(self), dwuserid, surfaceindex, surfaceflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AdviseNotify<'a, P0>(&self, lpivmrsurfallocnotify: P0) -> ::windows::core::Result<()> @@ -74168,7 +74168,7 @@ impl IVMRSurfaceAllocatorEx9 { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetSurface(&self, dwuserid: usize, surfaceindex: u32, surfaceflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSurface)(::windows::core::Interface::as_raw(self), dwuserid, surfaceindex, surfaceflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AdviseNotify<'a, P0>(&self, lpivmrsurfallocnotify: P0) -> ::windows::core::Result<()> @@ -74522,7 +74522,7 @@ impl IVMRVideoStreamControl9 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStreamActiveState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamActiveState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74730,7 +74730,7 @@ impl IVMRWindowlessControl9 { (::windows::core::Interface::vtable(self).GetVideoPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpsrcrect), ::core::mem::transmute(lpdstrect)).ok() } pub unsafe fn GetAspectRatioMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAspectRatioMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAspectRatioMode(&self, aspectratiomode: u32) -> ::windows::core::Result<()> { @@ -74757,14 +74757,14 @@ impl IVMRWindowlessControl9 { (::windows::core::Interface::vtable(self).DisplayModeChanged)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCurrentImage(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn SetBorderColor(&self, clr: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBorderColor)(::windows::core::Interface::as_raw(self), clr).ok() } pub unsafe fn GetBorderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBorderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74872,7 +74872,7 @@ impl IVPBaseConfig { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetOverlaySurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOverlaySurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDirectDrawKernelHandle(&self, dwddkernelhandle: usize) -> ::windows::core::Result<()> { @@ -75044,7 +75044,7 @@ impl IVPConfig { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetOverlaySurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOverlaySurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDirectDrawKernelHandle(&self, dwddkernelhandle: usize) -> ::windows::core::Result<()> { @@ -75391,7 +75391,7 @@ impl IVPVBIConfig { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetOverlaySurface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOverlaySurface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDirectDrawKernelHandle(&self, dwddkernelhandle: usize) -> ::windows::core::Result<()> { @@ -75548,13 +75548,13 @@ impl IVideoEncoder { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetDefaultValue(&self, api: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(api), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetValue(&self, api: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(api), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -75899,102 +75899,102 @@ impl IVideoWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWindowStyle(&self, windowstyle: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWindowStyle)(::windows::core::Interface::as_raw(self), windowstyle).ok() } pub unsafe fn WindowStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWindowStyleEx(&self, windowstyleex: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWindowStyleEx)(::windows::core::Interface::as_raw(self), windowstyleex).ok() } pub unsafe fn WindowStyleEx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowStyleEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoShow(&self, autoshow: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoShow)(::windows::core::Interface::as_raw(self), autoshow).ok() } pub unsafe fn AutoShow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoShow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWindowState(&self, windowstate: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWindowState)(::windows::core::Interface::as_raw(self), windowstate).ok() } pub unsafe fn WindowState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackgroundPalette(&self, backgroundpalette: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBackgroundPalette)(::windows::core::Interface::as_raw(self), backgroundpalette).ok() } pub unsafe fn BackgroundPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackgroundPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVisible(&self, visible: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVisible)(::windows::core::Interface::as_raw(self), visible).ok() } pub unsafe fn Visible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Visible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLeft(&self, left: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLeft)(::windows::core::Interface::as_raw(self), left).ok() } pub unsafe fn Left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, width: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWidth)(::windows::core::Interface::as_raw(self), width).ok() } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTop(&self, top: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTop)(::windows::core::Interface::as_raw(self), top).ok() } pub unsafe fn Top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHeight(&self, height: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHeight)(::windows::core::Interface::as_raw(self), height).ok() } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOwner(&self, owner: isize) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOwner)(::windows::core::Interface::as_raw(self), owner).ok() } pub unsafe fn Owner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Owner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMessageDrain(&self, drain: isize) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMessageDrain)(::windows::core::Interface::as_raw(self), drain).ok() } pub unsafe fn MessageDrain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MessageDrain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BorderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BorderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBorderColor(&self, color: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBorderColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn FullScreenMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FullScreenMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFullScreenMode(&self, fullscreenmode: i32) -> ::windows::core::Result<()> { @@ -76025,7 +76025,7 @@ impl IVideoWindow { (::windows::core::Interface::vtable(self).HideCursor)(::windows::core::Interface::as_raw(self), hidecursor).ok() } pub unsafe fn IsCursorHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCursorHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -76288,14 +76288,14 @@ pub struct IWMCodecVideoAccelerator_Vtbl { pub struct IXDSCodec(::windows::core::IUnknown); impl IXDSCodec { pub unsafe fn XDSToRatObjOK(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XDSToRatObjOK)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn SetCCSubstreamService(&self, substreammask: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCCSubstreamService)(::windows::core::Interface::as_raw(self), substreammask).ok() } pub unsafe fn CCSubstreamService(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CCSubstreamService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContentAdvisoryRating(&self, prat: *mut i32, ppktseqid: *mut i32, pcallseqid: *mut i32, ptimestart: *mut i64, ptimeend: *mut i64) -> ::windows::core::Result<()> { @@ -76307,7 +76307,7 @@ impl IXDSCodec { (::windows::core::Interface::vtable(self).GetXDSPacket)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pxdsclasspkt), ::core::mem::transmute(pxdstypepkt), ::core::mem::transmute(pbstrxdspkt), ::core::mem::transmute(ppktseqid), ::core::mem::transmute(pcallseqid), ::core::mem::transmute(ptimestart), ::core::mem::transmute(ptimeend)).ok() } pub unsafe fn GetCurrLicenseExpDate(&self, prottype: *const ProtType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrLicenseExpDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prottype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastErrorCode(&self) -> ::windows::core::Result<()> { @@ -76369,7 +76369,7 @@ pub struct IXDSCodec_Vtbl { pub struct IXDSCodecConfig(::windows::core::IUnknown); impl IXDSCodecConfig { pub unsafe fn GetSecureChannelObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecureChannelObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetPauseBufferTime(&self, dwpausebuffertime: u32) -> ::windows::core::Result<()> { 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 b2698e06cb..cabd436247 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs @@ -15,7 +15,7 @@ pub unsafe fn DMOEnum(guidcategory: *const ::windows::core::GUID, dwflags: u32, extern "system" { fn DMOEnum(guidcategory: *const ::windows::core::GUID, dwflags: u32, cintypes: u32, pintypes: *const DMO_PARTIAL_MEDIATYPE, couttypes: u32, pouttypes: *const DMO_PARTIAL_MEDIATYPE, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DMOEnum(::core::mem::transmute(guidcategory), dwflags, cintypes, ::core::mem::transmute(pintypes), couttypes, ::core::mem::transmute(pouttypes), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] @@ -247,7 +247,7 @@ impl IDMOQualityControl { (::windows::core::Interface::vtable(self).SetStatus)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -299,18 +299,18 @@ pub struct IDMOQualityControl_Vtbl { pub struct IDMOVideoOutputOptimizations(::windows::core::IUnknown); impl IDMOVideoOutputOptimizations { pub unsafe fn QueryOperationModePreferences(&self, uloutputstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryOperationModePreferences)(::windows::core::Interface::as_raw(self), uloutputstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOperationMode(&self, uloutputstreamindex: u32, dwenabledfeatures: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOperationMode)(::windows::core::Interface::as_raw(self), uloutputstreamindex, dwenabledfeatures).ok() } pub unsafe fn GetCurrentOperationMode(&self, uloutputstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentOperationMode)(::windows::core::Interface::as_raw(self), uloutputstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSampleRequirements(&self, uloutputstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSampleRequirements)(::windows::core::Interface::as_raw(self), uloutputstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -372,7 +372,7 @@ impl IEnumDMO { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -428,7 +428,7 @@ impl IMediaBuffer { (::windows::core::Interface::vtable(self).SetLength)(::windows::core::Interface::as_raw(self), cblength).ok() } pub unsafe fn GetMaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBufferAndLength(&self, ppbuffer: *mut *mut u8, pcblength: *mut u32) -> ::windows::core::Result<()> { @@ -486,23 +486,23 @@ impl IMediaObject { (::windows::core::Interface::vtable(self).GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcinputstreams), ::core::mem::transmute(pcoutputstreams)).ok() } pub unsafe fn GetInputStreamInfo(&self, dwinputstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputStreamInfo)(::windows::core::Interface::as_raw(self), dwinputstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputStreamInfo(&self, dwoutputstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputStreamInfo)(::windows::core::Interface::as_raw(self), dwoutputstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInputType(&self, dwinputstreamindex: u32, dwtypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputType)(::windows::core::Interface::as_raw(self), dwinputstreamindex, dwtypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOutputType(&self, dwoutputstreamindex: u32, dwtypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputType)(::windows::core::Interface::as_raw(self), dwoutputstreamindex, dwtypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -518,13 +518,13 @@ impl IMediaObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInputCurrentType(&self, dwinputstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCurrentType)(::windows::core::Interface::as_raw(self), dwinputstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOutputCurrentType(&self, dwoutputstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCurrentType)(::windows::core::Interface::as_raw(self), dwoutputstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputSizeInfo(&self, dwinputstreamindex: u32, pcbsize: *mut u32, pcbmaxlookahead: *mut u32, pcbalignment: *mut u32) -> ::windows::core::Result<()> { @@ -534,7 +534,7 @@ impl IMediaObject { (::windows::core::Interface::vtable(self).GetOutputSizeInfo)(::windows::core::Interface::as_raw(self), dwoutputstreamindex, ::core::mem::transmute(pcbsize), ::core::mem::transmute(pcbalignment)).ok() } pub unsafe fn GetInputMaxLatency(&self, dwinputstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputMaxLatency)(::windows::core::Interface::as_raw(self), dwinputstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputMaxLatency(&self, dwinputstreamindex: u32, rtmaxlatency: i64) -> ::windows::core::Result<()> { @@ -553,7 +553,7 @@ impl IMediaObject { (::windows::core::Interface::vtable(self).FreeStreamingResources)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetInputStatus(&self, dwinputstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputStatus)(::windows::core::Interface::as_raw(self), dwinputstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProcessInput<'a, P0>(&self, dwinputstreamindex: u32, pbuffer: P0, dwflags: u32, rttimestamp: i64, rttimelength: i64) -> ::windows::core::Result<()> @@ -656,11 +656,11 @@ impl IMediaObjectInPlace { (::windows::core::Interface::vtable(self).Process)(::windows::core::Interface::as_raw(self), ulsize, ::core::mem::transmute(pdata), reftimestart, dwflags).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 4f111d280c..91fc8ebe8c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -915,7 +915,7 @@ impl IKsFormatSupport { (::windows::core::Interface::vtable(self).IsFormatSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pksformat), cbformat, ::core::mem::transmute(pbsupported)).ok() } pub unsafe fn GetDevicePreferredFormat(&self) -> ::windows::core::Result<*mut KSDATAFORMAT> { - let mut result__ = ::core::mem::MaybeUninit::<*mut KSDATAFORMAT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevicePreferredFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut KSDATAFORMAT>(result__) } } @@ -969,7 +969,7 @@ pub struct IKsFormatSupport_Vtbl { pub struct IKsJackContainerId(::windows::core::IUnknown); impl IKsJackContainerId { pub unsafe fn GetJackContainerId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJackContainerId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -1019,13 +1019,13 @@ pub struct IKsJackContainerId_Vtbl { pub struct IKsJackDescription(::windows::core::IUnknown); impl IKsJackDescription { pub unsafe fn GetJackCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJackCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetJackDescription(&self, njack: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJackDescription)(::windows::core::Interface::as_raw(self), njack, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1079,11 +1079,11 @@ pub struct IKsJackDescription_Vtbl { pub struct IKsJackDescription2(::windows::core::IUnknown); impl IKsJackDescription2 { pub unsafe fn GetJackCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJackCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetJackDescription2(&self, njack: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJackDescription2)(::windows::core::Interface::as_raw(self), njack, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1136,7 +1136,7 @@ impl IKsJackSinkInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetJackSinkInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJackSinkInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1197,7 +1197,7 @@ impl IKsPropertySet { (::windows::core::Interface::vtable(self).Get)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propset), id, ::core::mem::transmute(instancedata), instancelength, ::core::mem::transmute(propertydata), datalength, ::core::mem::transmute(bytesreturned)).ok() } pub unsafe fn QuerySupported(&self, propset: *const ::windows::core::GUID, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuerySupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propset), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18878,7 +18878,7 @@ where extern "system" { fn KsCreateAllocator2(connectionhandle: super::super::Foundation::HANDLE, allocatorframing: *const KSALLOCATOR_FRAMING, allocatorhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); KsCreateAllocator2(connectionhandle.into(), ::core::mem::transmute(allocatorframing), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] @@ -18905,7 +18905,7 @@ where extern "system" { fn KsCreateClock2(connectionhandle: super::super::Foundation::HANDLE, clockcreate: *const KSCLOCK_CREATE, clockhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); KsCreateClock2(connectionhandle.into(), ::core::mem::transmute(clockcreate), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] @@ -18932,7 +18932,7 @@ where extern "system" { fn KsCreatePin2(filterhandle: super::super::Foundation::HANDLE, connect: *const KSPIN_CONNECT, desiredaccess: u32, connectionhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); KsCreatePin2(filterhandle.into(), ::core::mem::transmute(connect), desiredaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] @@ -18959,7 +18959,7 @@ where extern "system" { fn KsCreateTopologyNode2(parenthandle: super::super::Foundation::HANDLE, nodecreate: *const KSNODE_CREATE, desiredaccess: u32, nodehandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); KsCreateTopologyNode2(parenthandle.into(), ::core::mem::transmute(nodecreate), desiredaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] 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 f3d4941b5f..fa0014bdf4 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs @@ -7,11 +7,11 @@ impl IWindowsMediaLibrarySharingDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Authorization(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Authorization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthorization(&self, authorization: WindowsMediaLibrarySharingDeviceAuthorizationStatus) -> ::windows::core::Result<()> { @@ -20,7 +20,7 @@ impl IWindowsMediaLibrarySharingDevice { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -110,11 +110,11 @@ impl IWindowsMediaLibrarySharingDeviceProperties { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -123,7 +123,7 @@ impl IWindowsMediaLibrarySharingDeviceProperties { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -212,13 +212,13 @@ impl IWindowsMediaLibrarySharingDeviceProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -306,11 +306,11 @@ impl IWindowsMediaLibrarySharingDevices { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -319,7 +319,7 @@ impl IWindowsMediaLibrarySharingDevices { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), deviceid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -414,7 +414,7 @@ impl IWindowsMediaLibrarySharingServices { (::windows::core::Interface::vtable(self).showShareMediaCPL)(::windows::core::Interface::as_raw(self), device.into().abi()).ok() } pub unsafe fn userHomeMediaSharingState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).userHomeMediaSharingState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetuserHomeMediaSharingState(&self, sharingenabled: i16) -> ::windows::core::Result<()> { @@ -423,7 +423,7 @@ impl IWindowsMediaLibrarySharingServices { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn userHomeMediaSharingLibraryName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).userHomeMediaSharingLibraryName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -435,21 +435,21 @@ impl IWindowsMediaLibrarySharingServices { (::windows::core::Interface::vtable(self).SetuserHomeMediaSharingLibraryName)(::windows::core::Interface::as_raw(self), libraryname.into().abi()).ok() } pub unsafe fn computerHomeMediaSharingAllowedState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).computerHomeMediaSharingAllowedState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcomputerHomeMediaSharingAllowedState(&self, sharingallowed: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetcomputerHomeMediaSharingAllowedState)(::windows::core::Interface::as_raw(self), sharingallowed).ok() } pub unsafe fn userInternetMediaSharingState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).userInternetMediaSharingState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetuserInternetMediaSharingState(&self, sharingenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetuserInternetMediaSharingState)(::windows::core::Interface::as_raw(self), sharingenabled).ok() } pub unsafe fn computerInternetMediaSharingAllowedState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).computerInternetMediaSharingAllowedState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcomputerInternetMediaSharingAllowedState(&self, sharingallowed: i16) -> ::windows::core::Result<()> { @@ -458,7 +458,7 @@ impl IWindowsMediaLibrarySharingServices { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn internetMediaSharingSecurityGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).internetMediaSharingSecurityGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -470,7 +470,7 @@ impl IWindowsMediaLibrarySharingServices { (::windows::core::Interface::vtable(self).SetinternetMediaSharingSecurityGroup)(::windows::core::Interface::as_raw(self), securitygroup.into().abi()).ok() } pub unsafe fn allowSharingToAllDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).allowSharingToAllDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetallowSharingToAllDevices(&self, sharingenabled: i16) -> ::windows::core::Result<()> { @@ -496,11 +496,11 @@ impl IWindowsMediaLibrarySharingServices { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getAllDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAllDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn customSettingsApplied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).customSettingsApplied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 cb86f63bcd..81a3443f70 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -924,7 +924,7 @@ pub unsafe fn CreateNamedPropertyStore() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateNamedPropertyStore(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -935,7 +935,7 @@ pub unsafe fn CreatePropertyStore() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreatePropertyStore(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -11708,7 +11708,7 @@ where extern "system" { fn DXVAHD_CreateDevice(pd3ddevice: *mut ::core::ffi::c_void, pcontentdesc: *const DXVAHD_CONTENT_DESC, usage: DXVAHD_DEVICE_USAGE, pplugin: *mut ::core::ffi::c_void, ppdevice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DXVAHD_CreateDevice(pd3ddevice.into().abi(), ::core::mem::transmute(pcontentdesc), usage, ::core::mem::transmute(pplugin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -14638,7 +14638,7 @@ pub const GUID_PlayToService: ::windows::core::GUID = ::windows::core::GUID::fro pub struct IAdvancedMediaCapture(::windows::core::IUnknown); impl IAdvancedMediaCapture { pub unsafe fn GetAdvancedMediaCaptureSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdvancedMediaCaptureSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14740,7 +14740,7 @@ pub struct IAdvancedMediaCaptureInitializationSettings_Vtbl { pub struct IAdvancedMediaCaptureSettings(::windows::core::IUnknown); impl IAdvancedMediaCaptureSettings { pub unsafe fn GetDirectxDeviceManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDirectxDeviceManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14845,7 +14845,7 @@ impl IClusterDetector { where P0: ::std::convert::Into<::windows::core::InParam<'a, IToc>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Detect)(::windows::core::Interface::as_raw(self), dwmaxnumclusters, fminclusterduration, fmaxclusterduration, psrctoc.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14914,13 +14914,13 @@ impl ICodecAPI { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetDefaultValue(&self, api: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(api), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetValue(&self, api: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(api), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20178,7 +20178,7 @@ impl IDXVAHD_Device { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetVideoProcessorDeviceCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorDeviceCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -20200,11 +20200,11 @@ impl IDXVAHD_Device { (::windows::core::Interface::vtable(self).GetVideoProcessorCustomRates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvpguid), prates.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(prates))).ok() } pub unsafe fn GetVideoProcessorFilterRange(&self, filter: DXVAHD_FILTER) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorFilterRange)(::windows::core::Interface::as_raw(self), filter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVideoProcessor(&self, pvpguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVideoProcessor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvpguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20657,7 +20657,7 @@ impl IDirect3DDeviceManager9 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OpenDeviceHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenDeviceHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20830,7 +20830,7 @@ pub struct IDirectXVideoAccelerationService_Vtbl { pub struct IDirectXVideoDecoder(::windows::core::IUnknown); impl IDirectXVideoDecoder { pub unsafe fn GetVideoDecoderService(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoDecoderService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -20942,7 +20942,7 @@ impl IDirectXVideoDecoderService { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn CreateVideoDecoder(&self, guid: *const ::windows::core::GUID, pvideodesc: *const DXVA2_VideoDesc, pconfig: *const DXVA2_ConfigPictureDecode, ppdecoderrendertargets: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVideoDecoder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), ::core::mem::transmute(pvideodesc), ::core::mem::transmute(pconfig), ::core::mem::transmute(::windows::core::as_ptr_or_null(ppdecoderrendertargets)), ppdecoderrendertargets.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21019,7 +21019,7 @@ pub struct IDirectXVideoDecoderService_Vtbl { pub struct IDirectXVideoMemoryConfiguration(::windows::core::IUnknown); impl IDirectXVideoMemoryConfiguration { pub unsafe fn GetAvailableSurfaceTypeByIndex(&self, dwtypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailableSurfaceTypeByIndex)(::windows::core::Interface::as_raw(self), dwtypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSurfaceType(&self, dwtype: DXVA2_SurfaceType) -> ::windows::core::Result<()> { @@ -21073,7 +21073,7 @@ pub struct IDirectXVideoMemoryConfiguration_Vtbl { pub struct IDirectXVideoProcessor(::windows::core::IUnknown); impl IDirectXVideoProcessor { pub unsafe fn GetVideoProcessorService(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -21084,15 +21084,15 @@ impl IDirectXVideoProcessor { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetVideoProcessorCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcAmpRange(&self, procampcap: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcAmpRange)(::windows::core::Interface::as_raw(self), procampcap, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilterPropertyRange(&self, filtersetting: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilterPropertyRange)(::windows::core::Interface::as_raw(self), filtersetting, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -21189,25 +21189,25 @@ impl IDirectXVideoProcessorService { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetVideoProcessorCaps(&self, videoprocdeviceguid: *const ::windows::core::GUID, pvideodesc: *const DXVA2_VideoDesc, rendertargetformat: super::super::Graphics::Direct3D9::D3DFORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(videoprocdeviceguid), ::core::mem::transmute(pvideodesc), rendertargetformat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetProcAmpRange(&self, videoprocdeviceguid: *const ::windows::core::GUID, pvideodesc: *const DXVA2_VideoDesc, rendertargetformat: super::super::Graphics::Direct3D9::D3DFORMAT, procampcap: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcAmpRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(videoprocdeviceguid), ::core::mem::transmute(pvideodesc), rendertargetformat, procampcap, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetFilterPropertyRange(&self, videoprocdeviceguid: *const ::windows::core::GUID, pvideodesc: *const DXVA2_VideoDesc, rendertargetformat: super::super::Graphics::Direct3D9::D3DFORMAT, filtersetting: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilterPropertyRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(videoprocdeviceguid), ::core::mem::transmute(pvideodesc), rendertargetformat, filtersetting, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn CreateVideoProcessor(&self, videoprocdeviceguid: *const ::windows::core::GUID, pvideodesc: *const DXVA2_VideoDesc, rendertargetformat: super::super::Graphics::Direct3D9::D3DFORMAT, maxnumsubstreams: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVideoProcessor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(videoprocdeviceguid), ::core::mem::transmute(pvideodesc), rendertargetformat, maxnumsubstreams, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21303,7 +21303,7 @@ impl IEVRFilterConfig { (::windows::core::Interface::vtable(self).SetNumberOfStreams)(::windows::core::Interface::as_raw(self), dwmaxstreams).ok() } pub unsafe fn GetNumberOfStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21357,14 +21357,14 @@ impl IEVRFilterConfigEx { (::windows::core::Interface::vtable(self).base__.SetNumberOfStreams)(::windows::core::Interface::as_raw(self), dwmaxstreams).ok() } pub unsafe fn GetNumberOfStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNumberOfStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConfigPrefs(&self, dwconfigflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetConfigPrefs)(::windows::core::Interface::as_raw(self), dwconfigflags).ok() } pub unsafe fn GetConfigPrefs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConfigPrefs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21432,13 +21432,13 @@ impl IEVRTrustedVideoPlugin { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsInTrustedVideoMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInTrustedVideoMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanConstrict(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanConstrict)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConstriction(&self, dwkpix: u32) -> ::windows::core::Result<()> { @@ -21521,7 +21521,7 @@ impl IEVRVideoStreamControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStreamActiveState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamActiveState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21745,11 +21745,11 @@ impl IMF2DBuffer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsContiguousFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsContiguousFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContiguousLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContiguousLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContiguousCopyTo(&self, pbdestbuffer: *mut u8, cbdestbuffer: u32) -> ::windows::core::Result<()> { @@ -21825,11 +21825,11 @@ impl IMF2DBuffer2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsContiguousFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsContiguousFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContiguousLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContiguousLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContiguousCopyTo(&self, pbdestbuffer: *mut u8, cbdestbuffer: u32) -> ::windows::core::Result<()> { @@ -21913,7 +21913,7 @@ impl IMFASFContentInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaBuffer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHeaderSize)(::windows::core::Interface::as_raw(self), pistartofcontent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ParseHeader<'a, P0>(&self, piheaderbuffer: P0, cboffsetwithinheader: u64) -> ::windows::core::Result<()> @@ -21926,11 +21926,11 @@ impl IMFASFContentInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaBuffer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateHeader)(::windows::core::Interface::as_raw(self), piheader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProfile<'a, P0>(&self, piprofile: P0) -> ::windows::core::Result<()> @@ -21940,13 +21940,13 @@ impl IMFASFContentInfo { (::windows::core::Interface::vtable(self).SetProfile)(::windows::core::Interface::as_raw(self), piprofile.into().abi()).ok() } pub unsafe fn GeneratePresentationDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GeneratePresentationDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetEncodingConfigurationPropertyStore(&self, wstreamnumber: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEncodingConfigurationPropertyStore)(::windows::core::Interface::as_raw(self), wstreamnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22008,7 +22008,7 @@ impl IMFASFIndexer { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize<'a, P0>(&self, picontentinfo: P0) -> ::windows::core::Result<()> @@ -22021,14 +22021,14 @@ impl IMFASFIndexer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFASFContentInfo>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndexPosition)(::windows::core::Interface::as_raw(self), picontentinfo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndexByteStreams(&self, ppibytestreams: *const ::core::option::Option, cbytestreams: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIndexByteStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppibytestreams), cbytestreams).ok() } pub unsafe fn GetIndexByteStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndexByteStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22062,7 +22062,7 @@ impl IMFASFIndexer { (::windows::core::Interface::vtable(self).CommitIndex)(::windows::core::Interface::as_raw(self), picontentinfo.into().abi()).ok() } pub unsafe fn GetIndexWriteSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndexWriteSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCompletedIndex<'a, P0>(&self, piindexbuffer: P0, cboffsetwithinindex: u64) -> ::windows::core::Result<()> @@ -22148,7 +22148,7 @@ impl IMFASFMultiplexer { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProcessSample<'a, P0>(&self, wstreamnumber: u16, pisample: P0, hnstimestampadjust: i64) -> ::windows::core::Result<()> @@ -22170,7 +22170,7 @@ impl IMFASFMultiplexer { (::windows::core::Interface::vtable(self).End)(::windows::core::Interface::as_raw(self), picontentinfo.into().abi()).ok() } pub unsafe fn GetStatistics(&self, wstreamnumber: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatistics)(::windows::core::Interface::as_raw(self), wstreamnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncTolerance(&self, mssynctolerance: u32) -> ::windows::core::Result<()> { @@ -22231,14 +22231,14 @@ pub struct IMFASFMultiplexer_Vtbl { pub struct IMFASFMutualExclusion(::windows::core::IUnknown); impl IMFASFMutualExclusion { pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetType(&self, guidtype: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype)).ok() } pub unsafe fn GetRecordCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamsForRecord(&self, dwrecordnumber: u32, pwstreamnumarray: *mut u16, pcstreams: *mut u32) -> ::windows::core::Result<()> { @@ -22254,11 +22254,11 @@ impl IMFASFMutualExclusion { (::windows::core::Interface::vtable(self).RemoveRecord)(::windows::core::Interface::as_raw(self), dwrecordnumber).ok() } pub unsafe fn AddRecord(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddRecord)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22321,13 +22321,13 @@ impl IMFASFProfile { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22336,27 +22336,27 @@ impl IMFASFProfile { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -22366,7 +22366,7 @@ impl IMFASFProfile { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -22427,7 +22427,7 @@ impl IMFASFProfile { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -22442,14 +22442,14 @@ impl IMFASFProfile { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self, dwstreamindex: u32, pwstreamnumber: *mut u16, ppistream: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(pwstreamnumber), ::core::mem::transmute(ppistream)).ok() } pub unsafe fn GetStreamByNumber(&self, wstreamnumber: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamByNumber)(::windows::core::Interface::as_raw(self), wstreamnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStream<'a, P0>(&self, pistream: P0) -> ::windows::core::Result<()> @@ -22465,15 +22465,15 @@ impl IMFASFProfile { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStream)(::windows::core::Interface::as_raw(self), pimediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMutualExclusionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMutualExclusionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMutualExclusion(&self, dwmutexindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMutualExclusion)(::windows::core::Interface::as_raw(self), dwmutexindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddMutualExclusion<'a, P0>(&self, pimutex: P0) -> ::windows::core::Result<()> @@ -22486,11 +22486,11 @@ impl IMFASFProfile { (::windows::core::Interface::vtable(self).RemoveMutualExclusion)(::windows::core::Interface::as_raw(self), dwmutexindex).ok() } pub unsafe fn CreateMutualExclusion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMutualExclusion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamPrioritization(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamPrioritization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddStreamPrioritization<'a, P0>(&self, pistreamprioritization: P0) -> ::windows::core::Result<()> @@ -22503,11 +22503,11 @@ impl IMFASFProfile { (::windows::core::Interface::vtable(self).RemoveStreamPrioritization)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn CreateStreamPrioritization(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStreamPrioritization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22596,7 +22596,7 @@ impl IMFASFSplitter { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectStreams(&self, pwstreamnumbers: *const u16, wnumstreams: u16) -> ::windows::core::Result<()> { @@ -22618,7 +22618,7 @@ impl IMFASFSplitter { (::windows::core::Interface::vtable(self).Flush)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLastSendTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastSendTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22681,13 +22681,13 @@ impl IMFASFStreamConfig { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22696,27 +22696,27 @@ impl IMFASFStreamConfig { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -22726,7 +22726,7 @@ impl IMFASFStreamConfig { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -22787,7 +22787,7 @@ impl IMFASFStreamConfig { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -22802,7 +22802,7 @@ impl IMFASFStreamConfig { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetStreamType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStreamNumber(&self) -> u16 { @@ -22812,7 +22812,7 @@ impl IMFASFStreamConfig { (::windows::core::Interface::vtable(self).SetStreamNumber)(::windows::core::Interface::as_raw(self), wstreamnum).ok() } pub unsafe fn GetMediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMediaType<'a, P0>(&self, pimediatype: P0) -> ::windows::core::Result<()> @@ -22822,7 +22822,7 @@ impl IMFASFStreamConfig { (::windows::core::Interface::vtable(self).SetMediaType)(::windows::core::Interface::as_raw(self), pimediatype.into().abi()).ok() } pub unsafe fn GetPayloadExtensionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPayloadExtensionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPayloadExtension(&self, wpayloadextensionnumber: u16, pguidextensionsystemid: *mut ::windows::core::GUID, pcbextensiondatasize: *mut u16, pbextensionsysteminfo: *mut u8, pcbextensionsysteminfo: *mut u32) -> ::windows::core::Result<()> { @@ -22835,7 +22835,7 @@ impl IMFASFStreamConfig { (::windows::core::Interface::vtable(self).RemoveAllPayloadExtensions)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22909,7 +22909,7 @@ pub struct IMFASFStreamConfig_Vtbl { pub struct IMFASFStreamPrioritization(::windows::core::IUnknown); impl IMFASFStreamPrioritization { pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self, dwstreamindex: u32, pwstreamnumber: *mut u16, pwstreamflags: *mut u16) -> ::windows::core::Result<()> { @@ -22922,7 +22922,7 @@ impl IMFASFStreamPrioritization { (::windows::core::Interface::vtable(self).RemoveStream)(::windows::core::Interface::as_raw(self), dwstreamindex).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22976,52 +22976,52 @@ pub struct IMFASFStreamPrioritization_Vtbl { pub struct IMFASFStreamSelector(::windows::core::IUnknown); impl IMFASFStreamSelector { pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputStreamCount(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputStreamCount)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputStreamNumbers(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputStreamNumbers)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputFromStream(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputFromStream)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputOverride(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputOverride)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputOverride(&self, dwoutputnum: u32, selection: ASF_SELECTION_STATUS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOutputOverride)(::windows::core::Interface::as_raw(self), dwoutputnum, selection).ok() } pub unsafe fn GetOutputMutexCount(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMutexCount)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputMutex(&self, dwoutputnum: u32, dwmutexnum: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMutex)(::windows::core::Interface::as_raw(self), dwoutputnum, dwmutexnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetOutputMutexSelection(&self, dwoutputnum: u32, dwmutexnum: u32, wselectedrecord: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOutputMutexSelection)(::windows::core::Interface::as_raw(self), dwoutputnum, dwmutexnum, wselectedrecord).ok() } pub unsafe fn GetBandwidthStepCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBandwidthStepCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBandwidthStep(&self, dwstepnum: u32, pdwbitrate: *mut u32, rgwstreamnumbers: *mut u16, rgselections: *mut ASF_SELECTION_STATUS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetBandwidthStep)(::windows::core::Interface::as_raw(self), dwstepnum, ::core::mem::transmute(pdwbitrate), ::core::mem::transmute(rgwstreamnumbers), ::core::mem::transmute(rgselections)).ok() } pub unsafe fn BitrateToStepNumber(&self, dwbitrate: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BitrateToStepNumber)(::windows::core::Interface::as_raw(self), dwbitrate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamSelectorFlags(&self, dwstreamselectorflags: u32) -> ::windows::core::Result<()> { @@ -23092,13 +23092,13 @@ impl IMFActivate { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23107,27 +23107,27 @@ impl IMFActivate { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -23137,7 +23137,7 @@ impl IMFActivate { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -23198,7 +23198,7 @@ impl IMFActivate { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -23422,7 +23422,7 @@ pub struct IMFAsyncCallbackLogging_Vtbl { pub struct IMFAsyncResult(::windows::core::IUnknown); impl IMFAsyncResult { pub unsafe fn GetState(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result<()> { @@ -23432,7 +23432,7 @@ impl IMFAsyncResult { (::windows::core::Interface::vtable(self).SetStatus)(::windows::core::Interface::as_raw(self), hrstatus).ok() } pub unsafe fn GetObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetStateNoAddRef(&self) -> ::core::option::Option<::windows::core::IUnknown> { @@ -23494,13 +23494,13 @@ impl IMFAttributes { (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23509,27 +23509,27 @@ impl IMFAttributes { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -23539,7 +23539,7 @@ impl IMFAttributes { (::windows::core::Interface::vtable(self).GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -23600,7 +23600,7 @@ impl IMFAttributes { (::windows::core::Interface::vtable(self).UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -23710,13 +23710,13 @@ impl IMFAudioMediaType { (::windows::core::Interface::vtable(self).base__.base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23725,27 +23725,27 @@ impl IMFAudioMediaType { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -23755,7 +23755,7 @@ impl IMFAudioMediaType { (::windows::core::Interface::vtable(self).base__.base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -23816,7 +23816,7 @@ impl IMFAudioMediaType { (::windows::core::Interface::vtable(self).base__.base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -23831,20 +23831,20 @@ impl IMFAudioMediaType { (::windows::core::Interface::vtable(self).base__.base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetMajorType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCompressedFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsCompressedFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsEqual<'a, P0>(&self, pimediatype: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqual)(::windows::core::Interface::as_raw(self), pimediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRepresentation(&self, guidrepresentation: ::windows::core::GUID, ppvrepresentation: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -23941,7 +23941,7 @@ impl IMFAudioPolicy { (::windows::core::Interface::vtable(self).SetGroupingParam)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidclass)).ok() } pub unsafe fn GetGroupingParam(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroupingParam)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetDisplayName<'a, P0>(&self, pszname: P0) -> ::windows::core::Result<()> @@ -23951,7 +23951,7 @@ impl IMFAudioPolicy { (::windows::core::Interface::vtable(self).SetDisplayName)(::windows::core::Interface::as_raw(self), pszname.into()).ok() } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetIconPath<'a, P0>(&self, pszpath: P0) -> ::windows::core::Result<()> @@ -23961,7 +23961,7 @@ impl IMFAudioPolicy { (::windows::core::Interface::vtable(self).SetIconPath)(::windows::core::Interface::as_raw(self), pszpath.into()).ok() } pub unsafe fn GetIconPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIconPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -24016,14 +24016,14 @@ pub struct IMFAudioPolicy_Vtbl { pub struct IMFAudioStreamVolume(::windows::core::IUnknown); impl IMFAudioStreamVolume { pub unsafe fn GetChannelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannelVolume(&self, dwindex: u32, flevel: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetChannelVolume)(::windows::core::Interface::as_raw(self), dwindex, flevel).ok() } pub unsafe fn GetChannelVolume(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChannelVolume)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllVolumes(&self, pfvolumes: &[f32]) -> ::windows::core::Result<()> { @@ -24136,18 +24136,18 @@ pub struct IMFBufferListNotify_Vtbl { pub struct IMFByteStream(::windows::core::IUnknown); impl IMFByteStream { pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLength(&self, qwlength: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLength)(::windows::core::Interface::as_raw(self), qwlength).ok() } pub unsafe fn GetCurrentPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPosition(&self, qwposition: u64) -> ::windows::core::Result<()> { @@ -24156,7 +24156,7 @@ impl IMFByteStream { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEndOfStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEndOfStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Read(&self, pb: &mut [u8], pcbread: *mut u32) -> ::windows::core::Result<()> { @@ -24173,11 +24173,11 @@ impl IMFByteStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndRead)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Write(&self, pb: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Write)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pb)), pb.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginWrite<'a, P0, P1>(&self, pb: *const u8, cb: u32, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -24191,11 +24191,11 @@ impl IMFByteStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndWrite)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Seek(&self, seekorigin: MFBYTESTREAM_SEEK_ORIGIN, llseekoffset: i64, dwseekflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Seek)(::windows::core::Interface::as_raw(self), seekorigin, llseekoffset, dwseekflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Flush(&self) -> ::windows::core::Result<()> { @@ -24393,7 +24393,7 @@ impl IMFByteStreamCacheControl2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsBackgroundTransferActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsBackgroundTransferActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24487,7 +24487,7 @@ impl IMFByteStreamHandler { (::windows::core::Interface::vtable(self).CancelObjectCreation)(::windows::core::Interface::as_raw(self), piunknowncancelcookie.into().abi()).ok() } pub unsafe fn GetMaxNumberOfBytesRequiredForResolution(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxNumberOfBytesRequiredForResolution)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24600,7 +24600,7 @@ impl IMFByteStreamTimeSeek { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsTimeSeekSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTimeSeekSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TimeSeek(&self, qwtimeposition: u64) -> ::windows::core::Result<()> { @@ -24718,7 +24718,7 @@ pub struct IMFCameraOcclusionStateMonitor_Vtbl { pub struct IMFCameraOcclusionStateReport(::windows::core::IUnknown); impl IMFCameraOcclusionStateReport { pub unsafe fn GetOcclusionState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOcclusionState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24903,11 +24903,11 @@ impl IMFCaptureEngine { (::windows::core::Interface::vtable(self).TakePhoto)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSink(&self, mfcaptureenginesinktype: MF_CAPTURE_ENGINE_SINK_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSink)(::windows::core::Interface::as_raw(self), mfcaptureenginesinktype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25206,7 +25206,7 @@ impl IMFCapturePhotoConfirmation { (::windows::core::Interface::vtable(self).SetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(subtype)).ok() } pub unsafe fn GetPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -25258,11 +25258,11 @@ pub struct IMFCapturePhotoConfirmation_Vtbl { pub struct IMFCapturePhotoSink(::windows::core::IUnknown); impl IMFCapturePhotoSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutputMediaType)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self, dwsinkstreamindex: u32, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetService)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn AddStream<'a, P0, P1>(&self, dwsourcestreamindex: u32, pmediatype: P0, pattributes: P1) -> ::windows::core::Result @@ -25270,7 +25270,7 @@ impl IMFCapturePhotoSink { P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddStream)(::windows::core::Interface::as_raw(self), dwsourcestreamindex, pmediatype.into().abi(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Prepare(&self) -> ::windows::core::Result<()> { @@ -25361,11 +25361,11 @@ pub struct IMFCapturePhotoSink_Vtbl { pub struct IMFCapturePreviewSink(::windows::core::IUnknown); impl IMFCapturePreviewSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutputMediaType)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self, dwsinkstreamindex: u32, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetService)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn AddStream<'a, P0, P1>(&self, dwsourcestreamindex: u32, pmediatype: P0, pattributes: P1) -> ::windows::core::Result @@ -25373,7 +25373,7 @@ impl IMFCapturePreviewSink { P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddStream)(::windows::core::Interface::as_raw(self), dwsourcestreamindex, pmediatype.into().abi(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Prepare(&self) -> ::windows::core::Result<()> { @@ -25410,7 +25410,7 @@ impl IMFCapturePreviewSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMirrorState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMirrorState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25422,7 +25422,7 @@ impl IMFCapturePreviewSink { (::windows::core::Interface::vtable(self).SetMirrorState)(::windows::core::Interface::as_raw(self), fmirrorstate.into()).ok() } pub unsafe fn GetRotation(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRotation)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRotation(&self, dwstreamindex: u32, dwrotationvalue: u32) -> ::windows::core::Result<()> { @@ -25516,11 +25516,11 @@ pub struct IMFCapturePreviewSink_Vtbl { pub struct IMFCaptureRecordSink(::windows::core::IUnknown); impl IMFCaptureRecordSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutputMediaType)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self, dwsinkstreamindex: u32, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetService)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn AddStream<'a, P0, P1>(&self, dwsourcestreamindex: u32, pmediatype: P0, pattributes: P1) -> ::windows::core::Result @@ -25528,7 +25528,7 @@ impl IMFCaptureRecordSink { P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddStream)(::windows::core::Interface::as_raw(self), dwsourcestreamindex, pmediatype.into().abi(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Prepare(&self) -> ::windows::core::Result<()> { @@ -25562,7 +25562,7 @@ impl IMFCaptureRecordSink { (::windows::core::Interface::vtable(self).SetCustomSink)(::windows::core::Interface::as_raw(self), pmediasink.into().abi()).ok() } pub unsafe fn GetRotation(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRotation)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRotation(&self, dwstreamindex: u32, dwrotationvalue: u32) -> ::windows::core::Result<()> { @@ -25635,11 +25635,11 @@ pub struct IMFCaptureRecordSink_Vtbl { pub struct IMFCaptureSink(::windows::core::IUnknown); impl IMFCaptureSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMediaType)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self, dwsinkstreamindex: u32, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetService)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn AddStream<'a, P0, P1>(&self, dwsourcestreamindex: u32, pmediatype: P0, pattributes: P1) -> ::windows::core::Result @@ -25647,7 +25647,7 @@ impl IMFCaptureSink { P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddStream)(::windows::core::Interface::as_raw(self), dwsourcestreamindex, pmediatype.into().abi(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Prepare(&self) -> ::windows::core::Result<()> { @@ -25707,11 +25707,11 @@ pub struct IMFCaptureSink_Vtbl { pub struct IMFCaptureSink2(::windows::core::IUnknown); impl IMFCaptureSink2 { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutputMediaType)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self, dwsinkstreamindex: u32, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetService)(::windows::core::Interface::as_raw(self), dwsinkstreamindex, ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn AddStream<'a, P0, P1>(&self, dwsourcestreamindex: u32, pmediatype: P0, pattributes: P1) -> ::windows::core::Result @@ -25719,7 +25719,7 @@ impl IMFCaptureSink2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddStream)(::windows::core::Interface::as_raw(self), dwsourcestreamindex, pmediatype.into().abi(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Prepare(&self) -> ::windows::core::Result<()> { @@ -25797,15 +25797,15 @@ pub struct IMFCaptureSink2_Vtbl { pub struct IMFCaptureSource(::windows::core::IUnknown); impl IMFCaptureSource { pub unsafe fn GetCaptureDeviceSource(&self, mfcaptureenginedevicetype: MF_CAPTURE_ENGINE_DEVICE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaptureDeviceSource)(::windows::core::Interface::as_raw(self), mfcaptureenginedevicetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCaptureDeviceActivate(&self, mfcaptureenginedevicetype: MF_CAPTURE_ENGINE_DEVICE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaptureDeviceActivate)(::windows::core::Interface::as_raw(self), mfcaptureenginedevicetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService(&self, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn AddEffect<'a, P0>(&self, dwsourcestreamindex: u32, punknown: P0) -> ::windows::core::Result<()> @@ -25824,7 +25824,7 @@ impl IMFCaptureSource { (::windows::core::Interface::vtable(self).RemoveAllEffects)(::windows::core::Interface::as_raw(self), dwsourcestreamindex).ok() } pub unsafe fn GetAvailableDeviceMediaType(&self, dwsourcestreamindex: u32, dwmediatypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailableDeviceMediaType)(::windows::core::Interface::as_raw(self), dwsourcestreamindex, dwmediatypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentDeviceMediaType<'a, P0>(&self, dwsourcestreamindex: u32, pmediatype: P0) -> ::windows::core::Result<()> @@ -25834,21 +25834,21 @@ impl IMFCaptureSource { (::windows::core::Interface::vtable(self).SetCurrentDeviceMediaType)(::windows::core::Interface::as_raw(self), dwsourcestreamindex, pmediatype.into().abi()).ok() } pub unsafe fn GetCurrentDeviceMediaType(&self, dwsourcestreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentDeviceMediaType)(::windows::core::Interface::as_raw(self), dwsourcestreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceStreamCategory(&self, dwsourcestreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceStreamCategory)(::windows::core::Interface::as_raw(self), dwsourcestreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMirrorState(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMirrorState)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25860,7 +25860,7 @@ impl IMFCaptureSource { (::windows::core::Interface::vtable(self).SetMirrorState)(::windows::core::Interface::as_raw(self), dwstreamindex, fmirrorstate.into()).ok() } pub unsafe fn GetStreamIndexFromFriendlyName(&self, uifriendlyname: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamIndexFromFriendlyName)(::windows::core::Interface::as_raw(self), uifriendlyname, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25982,22 +25982,22 @@ pub struct IMFCdmSuspendNotify_Vtbl { pub struct IMFClock(::windows::core::IUnknown); impl IMFClock { pub unsafe fn GetClockCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClockCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCorrelatedTime(&self, dwreserved: u32, pllclocktime: *mut i64, phnssystemtime: *mut i64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCorrelatedTime)(::windows::core::Interface::as_raw(self), dwreserved, ::core::mem::transmute(pllclocktime), ::core::mem::transmute(phnssystemtime)).ok() } pub unsafe fn GetContinuityKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContinuityKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self, dwreserved: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26057,7 +26057,7 @@ impl IMFClockConsumer { (::windows::core::Interface::vtable(self).SetPresentationClock)(::windows::core::Interface::as_raw(self), ppresentationclock.into().abi()).ok() } pub unsafe fn GetPresentationClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPresentationClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26173,11 +26173,11 @@ pub struct IMFClockStateSink_Vtbl { pub struct IMFCollection(::windows::core::IUnknown); impl IMFCollection { pub unsafe fn GetElementCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElementCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetElement(&self, dwelementindex: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), dwelementindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn AddElement<'a, P0>(&self, punkelement: P0) -> ::windows::core::Result<()> @@ -26187,7 +26187,7 @@ impl IMFCollection { (::windows::core::Interface::vtable(self).AddElement)(::windows::core::Interface::as_raw(self), punkelement.into().abi()).ok() } pub unsafe fn RemoveElement(&self, dwelementindex: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoveElement)(::windows::core::Interface::as_raw(self), dwelementindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn InsertElementAt<'a, P0>(&self, dwindex: u32, punknown: P0) -> ::windows::core::Result<()> @@ -26258,7 +26258,7 @@ impl IMFContentDecryptionModule { (::windows::core::Interface::vtable(self).SetContentEnabler)(::windows::core::Interface::as_raw(self), contentenabler.into().abi(), result.into().abi()).ok() } pub unsafe fn GetSuspendNotify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSuspendNotify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPMPHostApp<'a, P0>(&self, pmphostapp: P0) -> ::windows::core::Result<()> @@ -26271,14 +26271,14 @@ impl IMFContentDecryptionModule { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFContentDecryptionModuleSessionCallbacks>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSession)(::windows::core::Interface::as_raw(self), sessiontype, callbacks.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetServerCertificate(&self, certificate: &[u8]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetServerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(certificate)), certificate.len() as _).ok() } pub unsafe fn CreateTrustedInput(&self, contentinitdata: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTrustedInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(contentinitdata)), contentinitdata.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProtectionSystemIds(&self, systemids: *mut *mut ::windows::core::GUID, count: *mut u32) -> ::windows::core::Result<()> { @@ -26342,17 +26342,17 @@ impl IMFContentDecryptionModuleAccess { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::UI::Shell::PropertiesSystem::IPropertyStore>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateContentDecryptionModule)(::windows::core::Interface::as_raw(self), contentdecryptionmoduleproperties.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetConfiguration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConfiguration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKeySystem(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeySystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -26424,7 +26424,7 @@ impl IMFContentDecryptionModuleFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateContentDecryptionModuleAccess)(::windows::core::Interface::as_raw(self), keysystem.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(configurations)), configurations.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26481,11 +26481,11 @@ pub struct IMFContentDecryptionModuleFactory_Vtbl { pub struct IMFContentDecryptionModuleSession(::windows::core::IUnknown); impl IMFContentDecryptionModuleSession { pub unsafe fn GetSessionId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSessionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetExpiration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpiration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKeyStatuses(&self, keystatuses: *mut *mut MFMediaKeyStatus, numkeystatuses: *mut u32) -> ::windows::core::Result<()> { @@ -26497,7 +26497,7 @@ impl IMFContentDecryptionModuleSession { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Load)(::windows::core::Interface::as_raw(self), sessionid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GenerateRequest<'a, P0>(&self, initdatatype: P0, initdata: &[u8]) -> ::windows::core::Result<()> @@ -26628,7 +26628,7 @@ pub struct IMFContentDecryptionModuleSessionCallbacks_Vtbl { pub struct IMFContentDecryptorContext(::windows::core::IUnknown); impl IMFContentDecryptorContext { pub unsafe fn InitializeHardwareKey(&self, inputprivatedata: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitializeHardwareKey)(::windows::core::Interface::as_raw(self), inputprivatedata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(inputprivatedata)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26678,7 +26678,7 @@ pub struct IMFContentDecryptorContext_Vtbl { pub struct IMFContentEnabler(::windows::core::IUnknown); impl IMFContentEnabler { pub unsafe fn GetEnableType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnableType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetEnableURL(&self, ppwszurl: *mut ::windows::core::PWSTR, pcchurl: *mut u32, ptruststatus: *mut MF_URL_TRUST_STATUS) -> ::windows::core::Result<()> { @@ -26690,7 +26690,7 @@ impl IMFContentEnabler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsAutomaticSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAutomaticSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutomaticEnable(&self) -> ::windows::core::Result<()> { @@ -27146,7 +27146,7 @@ impl IMFDXGIBuffer { (::windows::core::Interface::vtable(self).GetResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(ppvobject)).ok() } pub unsafe fn GetSubresourceIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubresourceIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUnknown(&self, guid: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -27235,7 +27235,7 @@ impl IMFDXGIDeviceManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OpenDeviceHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenDeviceHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetDevice<'a, P0>(&self, punkdevice: P0, resettoken: u32) -> ::windows::core::Result<()> @@ -27332,7 +27332,7 @@ pub struct IMFDXGIDeviceManager_Vtbl { pub struct IMFDXGIDeviceManagerSource(::windows::core::IUnknown); impl IMFDXGIDeviceManagerSource { pub unsafe fn GetManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27445,27 +27445,27 @@ impl IMFDeviceTransform { (::windows::core::Interface::vtable(self).InitializeTransform)(::windows::core::Interface::as_raw(self), pattributes.into().abi()).ok() } pub unsafe fn GetInputAvailableType(&self, dwinputstreamid: u32, dwtypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputAvailableType)(::windows::core::Interface::as_raw(self), dwinputstreamid, dwtypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputCurrentType(&self, dwinputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCurrentType)(::windows::core::Interface::as_raw(self), dwinputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputStreamAttributes(&self, dwinputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputStreamAttributes)(::windows::core::Interface::as_raw(self), dwinputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputAvailableType(&self, dwoutputstreamid: u32, dwtypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputAvailableType)(::windows::core::Interface::as_raw(self), dwoutputstreamid, dwtypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputCurrentType(&self, dwoutputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCurrentType)(::windows::core::Interface::as_raw(self), dwoutputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputStreamAttributes(&self, dwoutputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputStreamAttributes)(::windows::core::Interface::as_raw(self), dwoutputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamCount(&self, pcinputstreams: *mut u32, pcoutputstreams: *mut u32) -> ::windows::core::Result<()> { @@ -27499,7 +27499,7 @@ impl IMFDeviceTransform { (::windows::core::Interface::vtable(self).SetInputStreamState)(::windows::core::Interface::as_raw(self), dwstreamid, pmediatype.into().abi(), value, dwflags).ok() } pub unsafe fn GetInputStreamState(&self, dwstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputStreamState)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputStreamState<'a, P0>(&self, dwstreamid: u32, pmediatype: P0, value: DeviceStreamState, dwflags: u32) -> ::windows::core::Result<()> @@ -27509,7 +27509,7 @@ impl IMFDeviceTransform { (::windows::core::Interface::vtable(self).SetOutputStreamState)(::windows::core::Interface::as_raw(self), dwstreamid, pmediatype.into().abi(), value, dwflags).ok() } pub unsafe fn GetOutputStreamState(&self, dwstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputStreamState)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputStreamPreferredState(&self, dwstreamid: u32, value: *mut DeviceStreamState, ppmediatype: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -27708,7 +27708,7 @@ pub struct IMFExtendedCameraControl_Vtbl { pub struct IMFExtendedCameraController(::windows::core::IUnknown); impl IMFExtendedCameraController { pub unsafe fn GetExtendedCameraControl(&self, dwstreamindex: u32, ulpropertyid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtendedCameraControl)(::windows::core::Interface::as_raw(self), dwstreamindex, ulpropertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27758,14 +27758,14 @@ pub struct IMFExtendedCameraController_Vtbl { pub struct IMFExtendedCameraIntrinsicModel(::windows::core::IUnknown); impl IMFExtendedCameraIntrinsicModel { pub unsafe fn GetModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModel(&self, pintrinsicmodel: *const MFExtendedCameraIntrinsic_IntrinsicModel) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pintrinsicmodel)).ok() } pub unsafe fn GetDistortionModelType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDistortionModelType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27820,18 +27820,18 @@ impl IMFExtendedCameraIntrinsics { (::windows::core::Interface::vtable(self).InitializeFromBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbbuffer), dwbuffersize).ok() } pub unsafe fn GetBufferSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBufferSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SerializeToBuffer(&self, pbbuffer: *mut u8, pdwbuffersize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SerializeToBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbbuffer), ::core::mem::transmute(pdwbuffersize)).ok() } pub unsafe fn GetIntrinsicModelCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIntrinsicModelCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIntrinsicModelByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIntrinsicModelByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddIntrinsicModel<'a, P0>(&self, pintrinsicmodel: P0) -> ::windows::core::Result<()> @@ -27892,7 +27892,7 @@ pub struct IMFExtendedCameraIntrinsics_Vtbl { pub struct IMFExtendedCameraIntrinsicsDistortionModel6KT(::windows::core::IUnknown); impl IMFExtendedCameraIntrinsicsDistortionModel6KT { pub unsafe fn GetDistortionModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDistortionModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDistortionModel(&self, pdistortionmodel: *const MFCameraIntrinsic_DistortionModel6KT) -> ::windows::core::Result<()> { @@ -27946,7 +27946,7 @@ pub struct IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl { pub struct IMFExtendedCameraIntrinsicsDistortionModelArcTan(::windows::core::IUnknown); impl IMFExtendedCameraIntrinsicsDistortionModelArcTan { pub unsafe fn GetDistortionModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDistortionModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDistortionModel(&self, pdistortionmodel: *const MFCameraIntrinsic_DistortionModelArcTan) -> ::windows::core::Result<()> { @@ -28006,7 +28006,7 @@ impl IMFExtendedDRMTypeSupport { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTypeSupportedEx)(::windows::core::Interface::as_raw(self), r#type.into().abi(), keysystem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28111,29 +28111,29 @@ pub struct IMFFieldOfUseMFTUnlock_Vtbl { pub struct IMFFinalizableMediaSink(::windows::core::IUnknown); impl IMFFinalizableMediaSink { pub unsafe fn GetCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddStreamSink<'a, P0>(&self, dwstreamsinkidentifier: u32, pmediatype: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddStreamSink)(::windows::core::Interface::as_raw(self), dwstreamsinkidentifier, pmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveStreamSink(&self, dwstreamsinkidentifier: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.RemoveStreamSink)(::windows::core::Interface::as_raw(self), dwstreamsinkidentifier).ok() } pub unsafe fn GetStreamSinkCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamSinkCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamSinkByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamSinkByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamSinkById(&self, dwstreamsinkidentifier: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamSinkById)(::windows::core::Interface::as_raw(self), dwstreamsinkidentifier, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPresentationClock<'a, P0>(&self, ppresentationclock: P0) -> ::windows::core::Result<()> @@ -28143,7 +28143,7 @@ impl IMFFinalizableMediaSink { (::windows::core::Interface::vtable(self).base__.SetPresentationClock)(::windows::core::Interface::as_raw(self), ppresentationclock.into().abi()).ok() } pub unsafe fn GetPresentationClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPresentationClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shutdown(&self) -> ::windows::core::Result<()> { @@ -28384,38 +28384,38 @@ impl IMFHttpDownloadRequest { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHeader)(::windows::core::Interface::as_raw(self), szheadername.into(), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetURL(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasNullSourceOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasNullSourceOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTimeSeekResult(&self, pqwstarttime: *mut u64, pqwstoptime: *mut u64, pqwduration: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetTimeSeekResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pqwstarttime), ::core::mem::transmute(pqwstoptime), ::core::mem::transmute(pqwduration)).ok() } pub unsafe fn GetHttpStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHttpStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAtEndOfPayload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAtEndOfPayload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTotalLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTotalLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRangeEndOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRangeEndOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -28504,7 +28504,7 @@ impl IMFHttpDownloadSession { P3: ::std::convert::Into<::windows::core::PCWSTR>, P4: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRequest)(::windows::core::Interface::as_raw(self), szobjectname.into(), fbypassproxycache.into(), fsecure.into(), szverb.into(), szreferrer.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -28565,7 +28565,7 @@ impl IMFHttpDownloadSessionProvider { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateHttpDownloadSession)(::windows::core::Interface::as_raw(self), wszscheme.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28623,7 +28623,7 @@ impl IMFImageSharingEngine { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shutdown(&self) -> ::windows::core::Result<()> { @@ -28686,7 +28686,7 @@ impl IMFImageSharingEngineClassFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstanceFromUDN)(::windows::core::Interface::as_raw(self), puniquedevicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28742,11 +28742,11 @@ impl IMFInputTrustAuthority { (::windows::core::Interface::vtable(self).GetDecrypter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(ppv)).ok() } pub unsafe fn RequestAccess(&self, action: MFPOLICYMANAGER_ACTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestAccess)(::windows::core::Interface::as_raw(self), action, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPolicy(&self, action: MFPOLICYMANAGER_ACTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicy)(::windows::core::Interface::as_raw(self), action, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BindAccess(&self, pparam: *const MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS) -> ::windows::core::Result<()> { @@ -28865,14 +28865,14 @@ impl IMFMediaBuffer { (::windows::core::Interface::vtable(self).Unlock)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCurrentLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentLength(&self, cbcurrentlength: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentLength)(::windows::core::Interface::as_raw(self), cbcurrentlength).ok() } pub unsafe fn GetMaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28926,7 +28926,7 @@ pub struct IMFMediaBuffer_Vtbl { pub struct IMFMediaEngine(::windows::core::IUnknown); impl IMFMediaEngine { pub unsafe fn GetError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetErrorCode(&self, error: MF_MEDIA_ENGINE_ERR) -> ::windows::core::Result<()> { @@ -28949,7 +28949,7 @@ impl IMFMediaEngine { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCurrentSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNetworkState(&self) -> u16 { @@ -28962,7 +28962,7 @@ impl IMFMediaEngine { (::windows::core::Interface::vtable(self).SetPreload)(::windows::core::Interface::as_raw(self), preload).ok() } pub unsafe fn GetBuffered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBuffered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Load(&self) -> ::windows::core::Result<()> { @@ -28974,7 +28974,7 @@ impl IMFMediaEngine { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanPlayType)(::windows::core::Interface::as_raw(self), r#type.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReadyState(&self) -> u16 { @@ -29015,11 +29015,11 @@ impl IMFMediaEngine { (::windows::core::Interface::vtable(self).SetPlaybackRate)(::windows::core::Interface::as_raw(self), rate).ok() } pub unsafe fn GetPlayed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPlayed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSeekable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSeekable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29106,7 +29106,7 @@ impl IMFMediaEngine { (::windows::core::Interface::vtable(self).TransferVideoFrame)(::windows::core::Interface::as_raw(self), pdstsurf.into().abi(), ::core::mem::transmute(psrc), ::core::mem::transmute(pdst), ::core::mem::transmute(pborderclr)).ok() } pub unsafe fn OnVideoStreamTick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnVideoStreamTick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29248,7 +29248,7 @@ impl IMFMediaEngineAudioEndpointId { (::windows::core::Interface::vtable(self).SetAudioEndpointId)(::windows::core::Interface::as_raw(self), pszendpointid.into()).ok() } pub unsafe fn GetAudioEndpointId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioEndpointId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -29302,15 +29302,15 @@ impl IMFMediaEngineClassFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), dwflags, pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTimeRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTimeRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29369,7 +29369,7 @@ impl IMFMediaEngineClassFactory2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMediaKeys2)(::windows::core::Interface::as_raw(self), keysystem.into().abi(), defaultcdmstorepath.into().abi(), inprivatecdmstorepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29427,7 +29427,7 @@ impl IMFMediaEngineClassFactory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMediaKeySystemAccess)(::windows::core::Interface::as_raw(self), keysystem.into().abi(), ::core::mem::transmute(::windows::core::as_ptr_or_null(ppsupportedconfigurationsarray)), ppsupportedconfigurationsarray.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29535,22 +29535,22 @@ impl IMFMediaEngineClassFactoryEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateInstance)(::windows::core::Interface::as_raw(self), dwflags, pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTimeRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTimeRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMediaSourceExtension<'a, P0>(&self, dwflags: u32, pattr: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMediaSourceExtension)(::windows::core::Interface::as_raw(self), dwflags, pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29560,7 +29560,7 @@ impl IMFMediaEngineClassFactoryEx { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMediaKeys)(::windows::core::Interface::as_raw(self), keysystem.into().abi(), cdmstorepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29570,7 +29570,7 @@ impl IMFMediaEngineClassFactoryEx { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTypeSupported)(::windows::core::Interface::as_raw(self), r#type.into().abi(), keysystem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29643,7 +29643,7 @@ pub struct IMFMediaEngineClassFactoryEx_Vtbl { pub struct IMFMediaEngineEME(::windows::core::IUnknown); impl IMFMediaEngineEME { pub unsafe fn Keys(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Keys)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMediaKeys<'a, P0>(&self, keys: P0) -> ::windows::core::Result<()> @@ -29761,7 +29761,7 @@ pub struct IMFMediaEngineEMENotify_Vtbl { pub struct IMFMediaEngineEx(::windows::core::IUnknown); impl IMFMediaEngineEx { pub unsafe fn GetError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetErrorCode(&self, error: MF_MEDIA_ENGINE_ERR) -> ::windows::core::Result<()> { @@ -29784,7 +29784,7 @@ impl IMFMediaEngineEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCurrentSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNetworkState(&self) -> u16 { @@ -29797,7 +29797,7 @@ impl IMFMediaEngineEx { (::windows::core::Interface::vtable(self).base__.SetPreload)(::windows::core::Interface::as_raw(self), preload).ok() } pub unsafe fn GetBuffered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBuffered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Load(&self) -> ::windows::core::Result<()> { @@ -29809,7 +29809,7 @@ impl IMFMediaEngineEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanPlayType)(::windows::core::Interface::as_raw(self), r#type.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReadyState(&self) -> u16 { @@ -29850,11 +29850,11 @@ impl IMFMediaEngineEx { (::windows::core::Interface::vtable(self).base__.SetPlaybackRate)(::windows::core::Interface::as_raw(self), rate).ok() } pub unsafe fn GetPlayed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPlayed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSeekable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSeekable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29941,7 +29941,7 @@ impl IMFMediaEngineEx { (::windows::core::Interface::vtable(self).base__.TransferVideoFrame)(::windows::core::Interface::as_raw(self), pdstsurf.into().abi(), ::core::mem::transmute(psrc), ::core::mem::transmute(pdst), ::core::mem::transmute(pborderclr)).ok() } pub unsafe fn OnVideoStreamTick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OnVideoStreamTick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29956,7 +29956,7 @@ impl IMFMediaEngineEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetStatistics(&self, statisticid: MF_MEDIA_ENGINE_STATISTIC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatistics)(::windows::core::Interface::as_raw(self), statisticid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29984,29 +29984,29 @@ impl IMFMediaEngineEx { (::windows::core::Interface::vtable(self).FrameStep)(::windows::core::Interface::as_raw(self), forward.into()).ok() } pub unsafe fn GetResourceCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPresentationAttribute(&self, guidmfattribute: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPresentationAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidmfattribute), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOfStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetStreamAttribute(&self, dwstreamindex: u32, guidmfattribute: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamAttribute)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(guidmfattribute), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStreamSelection(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamSelection)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30023,7 +30023,7 @@ impl IMFMediaEngineEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsProtected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsProtected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30051,7 +30051,7 @@ impl IMFMediaEngineEx { (::windows::core::Interface::vtable(self).SetTimelineMarkerTimer)(::windows::core::Interface::as_raw(self), timetofire).ok() } pub unsafe fn GetTimelineMarkerTimer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimelineMarkerTimer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CancelTimelineMarkerTimer(&self) -> ::windows::core::Result<()> { @@ -30063,14 +30063,14 @@ impl IMFMediaEngineEx { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsStereo3D)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetStereo3DFramePackingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStereo3DFramePackingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStereo3DFramePackingMode(&self, packmode: MF_MEDIA_ENGINE_S3D_PACKING_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStereo3DFramePackingMode)(::windows::core::Interface::as_raw(self), packmode).ok() } pub unsafe fn GetStereo3DRenderMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStereo3DRenderMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStereo3DRenderMode(&self, outputtype: MF3DVideoOutputType) -> ::windows::core::Result<()> { @@ -30087,7 +30087,7 @@ impl IMFMediaEngineEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetVideoSwapchainHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoSwapchainHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30099,14 +30099,14 @@ impl IMFMediaEngineEx { (::windows::core::Interface::vtable(self).EnableHorizontalMirrorMode)(::windows::core::Interface::as_raw(self), fenable.into()).ok() } pub unsafe fn GetAudioStreamCategory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioStreamCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAudioStreamCategory(&self, category: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAudioStreamCategory)(::windows::core::Interface::as_raw(self), category).ok() } pub unsafe fn GetAudioEndpointRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioEndpointRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAudioEndpointRole(&self, role: u32) -> ::windows::core::Result<()> { @@ -30115,7 +30115,7 @@ impl IMFMediaEngineEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRealTimeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRealTimeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30298,7 +30298,7 @@ impl IMFMediaEngineExtension { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanPlayType)(::windows::core::Interface::as_raw(self), audioonly.into(), mimetype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30322,7 +30322,7 @@ impl IMFMediaEngineExtension { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndCreateObject)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -30539,7 +30539,7 @@ impl IMFMediaEngineProtectedContent { (::windows::core::Interface::vtable(self).ShareResources)(::windows::core::Interface::as_raw(self), punkdevicecontext.into().abi()).ok() } pub unsafe fn GetRequiredProtections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequiredProtections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30556,7 +30556,7 @@ impl IMFMediaEngineProtectedContent { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransferVideoFrame)(::windows::core::Interface::as_raw(self), pdstsurf.into().abi(), ::core::mem::transmute(psrc), ::core::mem::transmute(pdst), ::core::mem::transmute(pborderclr), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetContentProtectionManager<'a, P0>(&self, pcpm: P0) -> ::windows::core::Result<()> @@ -30631,19 +30631,19 @@ impl IMFMediaEngineSrcElements { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetURL(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURL)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetType(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMedia(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMedia)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30728,19 +30728,19 @@ impl IMFMediaEngineSrcElementsEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetURL(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetURL)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetType(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMedia(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMedia)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30770,7 +30770,7 @@ impl IMFMediaEngineSrcElementsEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetKeySystem(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeySystem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30844,7 +30844,7 @@ impl IMFMediaEngineSupportsSourceTransfer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ShouldTransferSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShouldTransferSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DetachMediaSource(&self, ppbytestream: *mut ::core::option::Option, ppmediasource: *mut ::core::option::Option, ppmse: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -30967,7 +30967,7 @@ impl IMFMediaEngineWebSupport { ::core::mem::transmute((::windows::core::Interface::vtable(self).ShouldDelayTheLoadEvent)(::windows::core::Interface::as_raw(self))) } pub unsafe fn ConnectWebAudio(&self, dwsamplerate: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectWebAudio)(::windows::core::Interface::as_raw(self), dwsamplerate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectWebAudio(&self) -> ::windows::core::Result<()> { @@ -31091,13 +31091,13 @@ impl IMFMediaEvent { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31106,27 +31106,27 @@ impl IMFMediaEvent { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -31136,7 +31136,7 @@ impl IMFMediaEvent { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -31197,7 +31197,7 @@ impl IMFMediaEvent { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -31212,21 +31212,21 @@ impl IMFMediaEvent { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExtendedType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtendedType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31297,7 +31297,7 @@ pub struct IMFMediaEvent_Vtbl { pub struct IMFMediaEventGenerator(::windows::core::IUnknown); impl IMFMediaEventGenerator { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEvent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetEvent<'a, P0, P1>(&self, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -31311,7 +31311,7 @@ impl IMFMediaEventGenerator { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndGetEvent)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -31372,7 +31372,7 @@ pub struct IMFMediaEventGenerator_Vtbl { pub struct IMFMediaEventQueue(::windows::core::IUnknown); impl IMFMediaEventQueue { pub unsafe fn GetEvent(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEvent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetEvent<'a, P0, P1>(&self, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -31386,7 +31386,7 @@ impl IMFMediaEventQueue { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndGetEvent)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueueEvent<'a, P0>(&self, pevent: P0) -> ::windows::core::Result<()> @@ -31470,13 +31470,13 @@ impl IMFMediaKeySession { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeySystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeySystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SessionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Update(&self, key: *const u8, cb: u32) -> ::windows::core::Result<()> { @@ -31547,13 +31547,13 @@ impl IMFMediaKeySession2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeySystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KeySystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SessionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Update(&self, key: *const u8, cb: u32) -> ::windows::core::Result<()> { @@ -31571,7 +31571,7 @@ impl IMFMediaKeySession2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Load)(::windows::core::Interface::as_raw(self), bstrsessionid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31583,7 +31583,7 @@ impl IMFMediaKeySession2 { (::windows::core::Interface::vtable(self).GenerateRequest)(::windows::core::Interface::as_raw(self), initdatatype.into().abi(), ::core::mem::transmute(pbinitdata), cb).ok() } pub unsafe fn Expiration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Expiration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Remove(&self) -> ::windows::core::Result<()> { @@ -31825,19 +31825,19 @@ impl IMFMediaKeySystemAccess { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::UI::Shell::PropertiesSystem::IPropertyStore>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMediaKeys)(::windows::core::Interface::as_raw(self), pcdmcustomconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn SupportedConfiguration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedConfiguration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeySystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeySystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31904,20 +31904,20 @@ impl IMFMediaKeys { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaKeySessionNotify>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSession)(::windows::core::Interface::as_raw(self), mimetype.into().abi(), ::core::mem::transmute(initdata), cb, ::core::mem::transmute(customdata), cbcustomdata, notify.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeySystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeySystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shutdown(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Shutdown)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSuspendNotify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSuspendNotify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31982,34 +31982,34 @@ impl IMFMediaKeys2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaKeySessionNotify>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSession)(::windows::core::Interface::as_raw(self), mimetype.into().abi(), ::core::mem::transmute(initdata), cb, ::core::mem::transmute(customdata), cbcustomdata, notify.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeySystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KeySystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shutdown(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Shutdown)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSuspendNotify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSuspendNotify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSession2<'a, P0>(&self, esessiontype: MF_MEDIAKEYSESSION_TYPE, pmfmediakeysessionnotify2: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaKeySessionNotify2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSession2)(::windows::core::Interface::as_raw(self), esessiontype, pmfmediakeysessionnotify2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetServerCertificate(&self, pbservercertificate: *const u8, cb: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetServerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbservercertificate), cb).ok() } pub unsafe fn GetDOMException(&self, systemcode: ::windows::core::HRESULT) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDOMException)(::windows::core::Interface::as_raw(self), systemcode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } } @@ -32076,7 +32076,7 @@ pub struct IMFMediaKeys2_Vtbl { pub struct IMFMediaSession(::windows::core::IUnknown); impl IMFMediaSession { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEvent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetEvent<'a, P0, P1>(&self, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -32090,7 +32090,7 @@ impl IMFMediaSession { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndGetEvent)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -32125,15 +32125,15 @@ impl IMFMediaSession { (::windows::core::Interface::vtable(self).Shutdown)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSessionCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSessionCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFullTopology(&self, dwgetfulltopologyflags: u32, topoid: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFullTopology)(::windows::core::Interface::as_raw(self), dwgetfulltopologyflags, topoid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32210,7 +32210,7 @@ pub struct IMFMediaSession_Vtbl { pub struct IMFMediaSharingEngine(::windows::core::IUnknown); impl IMFMediaSharingEngine { pub unsafe fn GetError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetErrorCode(&self, error: MF_MEDIA_ENGINE_ERR) -> ::windows::core::Result<()> { @@ -32233,7 +32233,7 @@ impl IMFMediaSharingEngine { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCurrentSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNetworkState(&self) -> u16 { @@ -32246,7 +32246,7 @@ impl IMFMediaSharingEngine { (::windows::core::Interface::vtable(self).base__.SetPreload)(::windows::core::Interface::as_raw(self), preload).ok() } pub unsafe fn GetBuffered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBuffered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Load(&self) -> ::windows::core::Result<()> { @@ -32258,7 +32258,7 @@ impl IMFMediaSharingEngine { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanPlayType)(::windows::core::Interface::as_raw(self), r#type.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReadyState(&self) -> u16 { @@ -32299,11 +32299,11 @@ impl IMFMediaSharingEngine { (::windows::core::Interface::vtable(self).base__.SetPlaybackRate)(::windows::core::Interface::as_raw(self), rate).ok() } pub unsafe fn GetPlayed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPlayed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSeekable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSeekable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32390,13 +32390,13 @@ impl IMFMediaSharingEngine { (::windows::core::Interface::vtable(self).base__.TransferVideoFrame)(::windows::core::Interface::as_raw(self), pdstsurf.into().abi(), ::core::mem::transmute(psrc), ::core::mem::transmute(pdst), ::core::mem::transmute(pborderclr)).ok() } pub unsafe fn OnVideoStreamTick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OnVideoStreamTick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32467,7 +32467,7 @@ impl IMFMediaSharingEngineClassFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), dwflags, pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32517,29 +32517,29 @@ pub struct IMFMediaSharingEngineClassFactory_Vtbl { pub struct IMFMediaSink(::windows::core::IUnknown); impl IMFMediaSink { pub unsafe fn GetCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddStreamSink<'a, P0>(&self, dwstreamsinkidentifier: u32, pmediatype: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddStreamSink)(::windows::core::Interface::as_raw(self), dwstreamsinkidentifier, pmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveStreamSink(&self, dwstreamsinkidentifier: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).RemoveStreamSink)(::windows::core::Interface::as_raw(self), dwstreamsinkidentifier).ok() } pub unsafe fn GetStreamSinkCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamSinkCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamSinkByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamSinkByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamSinkById(&self, dwstreamsinkidentifier: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamSinkById)(::windows::core::Interface::as_raw(self), dwstreamsinkidentifier, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPresentationClock<'a, P0>(&self, ppresentationclock: P0) -> ::windows::core::Result<()> @@ -32549,7 +32549,7 @@ impl IMFMediaSink { (::windows::core::Interface::vtable(self).SetPresentationClock)(::windows::core::Interface::as_raw(self), ppresentationclock.into().abi()).ok() } pub unsafe fn GetPresentationClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPresentationClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shutdown(&self) -> ::windows::core::Result<()> { @@ -32659,7 +32659,7 @@ pub struct IMFMediaSinkPreroll_Vtbl { pub struct IMFMediaSource(::windows::core::IUnknown); impl IMFMediaSource { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEvent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetEvent<'a, P0, P1>(&self, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -32673,7 +32673,7 @@ impl IMFMediaSource { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndGetEvent)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -32682,11 +32682,11 @@ impl IMFMediaSource { (::windows::core::Interface::vtable(self).base__.QueueEvent)(::windows::core::Interface::as_raw(self), met, ::core::mem::transmute(guidextendedtype), hrstatus, ::core::mem::transmute(pvvalue)).ok() } pub unsafe fn GetCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePresentationDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePresentationDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -32776,7 +32776,7 @@ pub struct IMFMediaSource_Vtbl { pub struct IMFMediaSource2(::windows::core::IUnknown); impl IMFMediaSource2 { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetEvent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetEvent<'a, P0, P1>(&self, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -32790,7 +32790,7 @@ impl IMFMediaSource2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EndGetEvent)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -32799,11 +32799,11 @@ impl IMFMediaSource2 { (::windows::core::Interface::vtable(self).base__.base__.base__.QueueEvent)(::windows::core::Interface::as_raw(self), met, ::core::mem::transmute(guidextendedtype), hrstatus, ::core::mem::transmute(pvvalue)).ok() } pub unsafe fn GetCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePresentationDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreatePresentationDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -32824,11 +32824,11 @@ impl IMFMediaSource2 { (::windows::core::Interface::vtable(self).base__.base__.Shutdown)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSourceAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSourceAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamAttributes(&self, dwstreamidentifier: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamAttributes)(::windows::core::Interface::as_raw(self), dwstreamidentifier, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetD3DManager<'a, P0>(&self, pmanager: P0) -> ::windows::core::Result<()> @@ -32935,7 +32935,7 @@ pub struct IMFMediaSource2_Vtbl { pub struct IMFMediaSourceEx(::windows::core::IUnknown); impl IMFMediaSourceEx { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEvent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetEvent<'a, P0, P1>(&self, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -32949,7 +32949,7 @@ impl IMFMediaSourceEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EndGetEvent)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -32958,11 +32958,11 @@ impl IMFMediaSourceEx { (::windows::core::Interface::vtable(self).base__.base__.QueueEvent)(::windows::core::Interface::as_raw(self), met, ::core::mem::transmute(guidextendedtype), hrstatus, ::core::mem::transmute(pvvalue)).ok() } pub unsafe fn GetCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePresentationDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePresentationDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -32983,11 +32983,11 @@ impl IMFMediaSourceEx { (::windows::core::Interface::vtable(self).base__.Shutdown)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSourceAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamAttributes(&self, dwstreamidentifier: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamAttributes)(::windows::core::Interface::as_raw(self), dwstreamidentifier, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetD3DManager<'a, P0>(&self, pmanager: P0) -> ::windows::core::Result<()> @@ -33096,7 +33096,7 @@ impl IMFMediaSourceExtension { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMFSourceBufferNotify>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSourceBuffer)(::windows::core::Interface::as_raw(self), r#type.into().abi(), pnotify.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveSourceBuffer<'a, P0>(&self, psourcebuffer: P0) -> ::windows::core::Result<()> @@ -33346,7 +33346,7 @@ impl IMFMediaSourceTopologyProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFPresentationDescriptor>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaSourceTopology)(::windows::core::Interface::as_raw(self), ppresentationdescriptor.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33396,7 +33396,7 @@ pub struct IMFMediaSourceTopologyProvider_Vtbl { pub struct IMFMediaStream(::windows::core::IUnknown); impl IMFMediaStream { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEvent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetEvent<'a, P0, P1>(&self, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -33410,7 +33410,7 @@ impl IMFMediaStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndGetEvent)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -33419,11 +33419,11 @@ impl IMFMediaStream { (::windows::core::Interface::vtable(self).base__.QueueEvent)(::windows::core::Interface::as_raw(self), met, ::core::mem::transmute(guidextendedtype), hrstatus, ::core::mem::transmute(pvvalue)).ok() } pub unsafe fn GetMediaSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestSample<'a, P0>(&self, ptoken: P0) -> ::windows::core::Result<()> @@ -33496,7 +33496,7 @@ pub struct IMFMediaStream_Vtbl { pub struct IMFMediaStream2(::windows::core::IUnknown); impl IMFMediaStream2 { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEvent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetEvent<'a, P0, P1>(&self, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -33510,7 +33510,7 @@ impl IMFMediaStream2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EndGetEvent)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -33519,11 +33519,11 @@ impl IMFMediaStream2 { (::windows::core::Interface::vtable(self).base__.base__.QueueEvent)(::windows::core::Interface::as_raw(self), met, ::core::mem::transmute(guidextendedtype), hrstatus, ::core::mem::transmute(pvvalue)).ok() } pub unsafe fn GetMediaSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMediaSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestSample<'a, P0>(&self, ptoken: P0) -> ::windows::core::Result<()> @@ -33536,7 +33536,7 @@ impl IMFMediaStream2 { (::windows::core::Interface::vtable(self).SetStreamState)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetStreamState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33672,11 +33672,11 @@ impl IMFMediaTimeRange { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetStart(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStart)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEnd(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnd)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33750,13 +33750,13 @@ impl IMFMediaType { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33765,27 +33765,27 @@ impl IMFMediaType { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -33795,7 +33795,7 @@ impl IMFMediaType { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -33856,7 +33856,7 @@ impl IMFMediaType { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -33871,20 +33871,20 @@ impl IMFMediaType { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetMajorType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCompressedFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCompressedFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsEqual<'a, P0>(&self, pimediatype: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), pimediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRepresentation(&self, guidrepresentation: ::windows::core::GUID, ppvrepresentation: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -33965,15 +33965,15 @@ impl IMFMediaTypeHandler { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMediaTypeSupported)(::windows::core::Interface::as_raw(self), pmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMediaTypeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaTypeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMediaTypeByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaTypeByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentMediaType<'a, P0>(&self, pmediatype: P0) -> ::windows::core::Result<()> @@ -33983,11 +33983,11 @@ impl IMFMediaTypeHandler { (::windows::core::Interface::vtable(self).SetCurrentMediaType)(::windows::core::Interface::as_raw(self), pmediatype.into().abi()).ok() } pub unsafe fn GetCurrentMediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMajorType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -34048,13 +34048,13 @@ impl IMFMetadata { (::windows::core::Interface::vtable(self).SetLanguage)(::windows::core::Interface::as_raw(self), pwszrfc1766.into()).ok() } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetAllLanguages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllLanguages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -34071,7 +34071,7 @@ impl IMFMetadata { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), pwszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteProperty<'a, P0>(&self, pwszname: P0) -> ::windows::core::Result<()> @@ -34083,7 +34083,7 @@ impl IMFMetadata { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetAllPropertyNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllPropertyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34154,7 +34154,7 @@ impl IMFMetadataProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFPresentationDescriptor>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMFMetadata)(::windows::core::Interface::as_raw(self), ppresentationdescriptor.into().abi(), dwstreamidentifier, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34204,11 +34204,11 @@ pub struct IMFMetadataProvider_Vtbl { pub struct IMFMuxStreamAttributesManager(::windows::core::IUnknown); impl IMFMuxStreamAttributesManager { pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributes(&self, dwmuxstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributes)(::windows::core::Interface::as_raw(self), dwmuxstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34259,15 +34259,15 @@ pub struct IMFMuxStreamAttributesManager_Vtbl { pub struct IMFMuxStreamMediaTypeManager(::windows::core::IUnknown); impl IMFMuxStreamMediaTypeManager { pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMediaType(&self, dwmuxstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaType)(::windows::core::Interface::as_raw(self), dwmuxstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamConfigurationCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamConfigurationCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddStreamConfiguration(&self, ullstreammask: u64) -> ::windows::core::Result<()> { @@ -34277,7 +34277,7 @@ impl IMFMuxStreamMediaTypeManager { (::windows::core::Interface::vtable(self).RemoveStreamConfiguration)(::windows::core::Interface::as_raw(self), ullstreammask).ok() } pub unsafe fn GetStreamConfiguration(&self, ulindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamConfiguration)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34332,11 +34332,11 @@ pub struct IMFMuxStreamMediaTypeManager_Vtbl { pub struct IMFMuxStreamSampleManager(::windows::core::IUnknown); impl IMFMuxStreamSampleManager { pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSample(&self, dwmuxstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSample)(::windows::core::Interface::as_raw(self), dwmuxstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamConfiguration(&self) -> u64 { @@ -34425,7 +34425,7 @@ impl IMFNetCredential { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LoggedOnUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoggedOnUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34579,7 +34579,7 @@ impl IMFNetCredentialManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndGetCredentials)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34646,11 +34646,11 @@ pub struct IMFNetCredentialManager_Vtbl { pub struct IMFNetCrossOriginSupport(::windows::core::IUnknown); impl IMFNetCrossOriginSupport { pub unsafe fn GetCrossOriginPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCrossOriginPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceOrigin(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34659,7 +34659,7 @@ impl IMFNetCrossOriginSupport { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSameOrigin)(::windows::core::Interface::as_raw(self), wszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34733,7 +34733,7 @@ impl IMFNetProxyLocator { (::windows::core::Interface::vtable(self).GetCurrentProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pszstr), ::core::mem::transmute(pcchstr)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34793,7 +34793,7 @@ impl IMFNetProxyLocatorFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateProxyLocator)(::windows::core::Interface::as_raw(self), pszprotocol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34846,7 +34846,7 @@ impl IMFNetResourceFilter { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnRedirect)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnSendingRequest<'a, P0>(&self, pszurl: P0) -> ::windows::core::Result<()> @@ -34903,11 +34903,11 @@ pub struct IMFNetResourceFilter_Vtbl { pub struct IMFNetSchemeHandlerConfig(::windows::core::IUnknown); impl IMFNetSchemeHandlerConfig { pub unsafe fn GetNumberOfSupportedProtocols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfSupportedProtocols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProtocolType(&self, nprotocolindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedProtocolType)(::windows::core::Interface::as_raw(self), nprotocolindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetProtocolRolloverSettings(&self) -> ::windows::core::Result<()> { @@ -35023,13 +35023,13 @@ impl IMFOutputPolicy { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -35038,27 +35038,27 @@ impl IMFOutputPolicy { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -35068,7 +35068,7 @@ impl IMFOutputPolicy { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -35129,7 +35129,7 @@ impl IMFOutputPolicy { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -35144,15 +35144,15 @@ impl IMFOutputPolicy { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GenerateRequiredSchemas(&self, dwattributes: u32, guidoutputsubtype: ::windows::core::GUID, rgguidprotectionschemassupported: *const ::windows::core::GUID, cprotectionschemassupported: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateRequiredSchemas)(::windows::core::Interface::as_raw(self), dwattributes, ::core::mem::transmute(guidoutputsubtype), ::core::mem::transmute(rgguidprotectionschemassupported), cprotectionschemassupported, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginatorID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginatorID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetMinimumGRLVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinimumGRLVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35224,13 +35224,13 @@ impl IMFOutputSchema { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -35239,27 +35239,27 @@ impl IMFOutputSchema { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -35269,7 +35269,7 @@ impl IMFOutputSchema { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -35330,7 +35330,7 @@ impl IMFOutputSchema { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -35345,15 +35345,15 @@ impl IMFOutputSchema { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetSchemaType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSchemaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetConfigurationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConfigurationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginatorID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginatorID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -35420,7 +35420,7 @@ pub struct IMFOutputSchema_Vtbl { pub struct IMFOutputTrustAuthority(::windows::core::IUnknown); impl IMFOutputTrustAuthority { pub unsafe fn GetAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPolicy(&self, pppolicy: &[::core::option::Option], ppbticket: *mut *mut u8, pcbticket: *mut u32) -> ::windows::core::Result<()> { @@ -35774,19 +35774,19 @@ pub struct IMFPMPServer_Vtbl { pub struct IMFPMediaItem(::windows::core::IUnknown); impl IMFPMediaItem { pub unsafe fn GetMediaPlayer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaPlayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetURL(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetUserData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUserData(&self, dwuserdata: usize) -> ::windows::core::Result<()> { @@ -35815,23 +35815,23 @@ impl IMFPMediaItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsProtected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsProtected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetDuration(&self, guidpositiontype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidpositiontype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOfStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStreamSelection(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamSelection)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -35845,17 +35845,17 @@ impl IMFPMediaItem { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetStreamAttribute(&self, dwstreamindex: u32, guidmfattribute: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamAttribute)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(guidmfattribute), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPresentationAttribute(&self, guidmfattribute: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPresentationAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidmfattribute), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamSink<'a, P0>(&self, dwstreamindex: u32, pmediasink: P0) -> ::windows::core::Result<()> @@ -35867,7 +35867,7 @@ impl IMFPMediaItem { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetMetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35987,20 +35987,20 @@ impl IMFPMediaPlayer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPosition(&self, guidpositiontype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidpositiontype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetDuration(&self, guidpositiontype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidpositiontype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRate(&self, flrate: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRate)(::windows::core::Interface::as_raw(self), flrate).ok() } pub unsafe fn GetRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36012,7 +36012,7 @@ impl IMFPMediaPlayer { (::windows::core::Interface::vtable(self).GetSupportedRates)(::windows::core::Interface::as_raw(self), fforwarddirection.into(), ::core::mem::transmute(pflslowestrate), ::core::mem::transmute(pflfastestrate)).ok() } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36022,7 +36022,7 @@ impl IMFPMediaPlayer { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMediaItemFromURL)(::windows::core::Interface::as_raw(self), pwszurl.into(), fsync.into(), dwuserdata, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36032,7 +36032,7 @@ impl IMFPMediaPlayer { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMediaItemFromObject)(::windows::core::Interface::as_raw(self), piunknownobj.into().abi(), fsync.into(), dwuserdata, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMediaItem<'a, P0>(&self, pimfpmediaitem: P0) -> ::windows::core::Result<()> @@ -36045,18 +36045,18 @@ impl IMFPMediaPlayer { (::windows::core::Interface::vtable(self).ClearMediaItem)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetMediaItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVolume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVolume(&self, flvolume: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVolume)(::windows::core::Interface::as_raw(self), flvolume).ok() } pub unsafe fn GetBalance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBalance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBalance(&self, flbalance: f32) -> ::windows::core::Result<()> { @@ -36065,7 +36065,7 @@ impl IMFPMediaPlayer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36090,20 +36090,20 @@ impl IMFPMediaPlayer { (::windows::core::Interface::vtable(self).SetVideoSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnrcsource)).ok() } pub unsafe fn GetVideoSourceRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoSourceRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAspectRatioMode(&self, dwaspectratiomode: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAspectRatioMode)(::windows::core::Interface::as_raw(self), dwaspectratiomode).ok() } pub unsafe fn GetAspectRatioMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAspectRatioMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetVideoWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateVideo(&self) -> ::windows::core::Result<()> { @@ -36113,7 +36113,7 @@ impl IMFPMediaPlayer { (::windows::core::Interface::vtable(self).SetBorderColor)(::windows::core::Interface::as_raw(self), clr).ok() } pub unsafe fn GetBorderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBorderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36312,7 +36312,7 @@ impl IMFPluginControl { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreferredClsid)(::windows::core::Interface::as_raw(self), plugintype, selector.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetPreferredClsidByIndex(&self, plugintype: u32, index: u32, selector: *mut ::windows::core::PWSTR, clsid: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -36328,7 +36328,7 @@ impl IMFPluginControl { (::windows::core::Interface::vtable(self).IsDisabled)(::windows::core::Interface::as_raw(self), plugintype, ::core::mem::transmute(clsid)).ok() } pub unsafe fn GetDisabledByIndex(&self, plugintype: u32, index: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisabledByIndex)(::windows::core::Interface::as_raw(self), plugintype, index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36397,7 +36397,7 @@ impl IMFPluginControl2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPreferredClsid)(::windows::core::Interface::as_raw(self), plugintype, selector.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetPreferredClsidByIndex(&self, plugintype: u32, index: u32, selector: *mut ::windows::core::PWSTR, clsid: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -36413,7 +36413,7 @@ impl IMFPluginControl2 { (::windows::core::Interface::vtable(self).base__.IsDisabled)(::windows::core::Interface::as_raw(self), plugintype, ::core::mem::transmute(clsid)).ok() } pub unsafe fn GetDisabledByIndex(&self, plugintype: u32, index: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisabledByIndex)(::windows::core::Interface::as_raw(self), plugintype, index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36489,22 +36489,22 @@ pub struct IMFPluginControl2_Vtbl { pub struct IMFPresentationClock(::windows::core::IUnknown); impl IMFPresentationClock { pub unsafe fn GetClockCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClockCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCorrelatedTime(&self, dwreserved: u32, pllclocktime: *mut i64, phnssystemtime: *mut i64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetCorrelatedTime)(::windows::core::Interface::as_raw(self), dwreserved, ::core::mem::transmute(pllclocktime), ::core::mem::transmute(phnssystemtime)).ok() } pub unsafe fn GetContinuityKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContinuityKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self, dwreserved: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetState)(::windows::core::Interface::as_raw(self), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTimeSource<'a, P0>(&self, ptimesource: P0) -> ::windows::core::Result<()> @@ -36514,11 +36514,11 @@ impl IMFPresentationClock { (::windows::core::Interface::vtable(self).SetTimeSource)(::windows::core::Interface::as_raw(self), ptimesource.into().abi()).ok() } pub unsafe fn GetTimeSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimeSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddClockStateSink<'a, P0>(&self, pstatesink: P0) -> ::windows::core::Result<()> @@ -36616,13 +36616,13 @@ impl IMFPresentationDescriptor { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36631,27 +36631,27 @@ impl IMFPresentationDescriptor { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -36661,7 +36661,7 @@ impl IMFPresentationDescriptor { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -36722,7 +36722,7 @@ impl IMFPresentationDescriptor { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -36737,7 +36737,7 @@ impl IMFPresentationDescriptor { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetStreamDescriptorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamDescriptorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36752,7 +36752,7 @@ impl IMFPresentationDescriptor { (::windows::core::Interface::vtable(self).DeselectStream)(::windows::core::Interface::as_raw(self), dwdescriptorindex).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36824,26 +36824,26 @@ pub struct IMFPresentationDescriptor_Vtbl { pub struct IMFPresentationTimeSource(::windows::core::IUnknown); impl IMFPresentationTimeSource { pub unsafe fn GetClockCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClockCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCorrelatedTime(&self, dwreserved: u32, pllclocktime: *mut i64, phnssystemtime: *mut i64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetCorrelatedTime)(::windows::core::Interface::as_raw(self), dwreserved, ::core::mem::transmute(pllclocktime), ::core::mem::transmute(phnssystemtime)).ok() } pub unsafe fn GetContinuityKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContinuityKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self, dwreserved: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetState)(::windows::core::Interface::as_raw(self), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUnderlyingClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnderlyingClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36908,7 +36908,7 @@ pub struct IMFPresentationTimeSource_Vtbl { pub struct IMFProtectedEnvironmentAccess(::windows::core::IUnknown); impl IMFProtectedEnvironmentAccess { pub unsafe fn Call(&self, inputlength: u32, input: *const u8, outputlength: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Call)(::windows::core::Interface::as_raw(self), inputlength, ::core::mem::transmute(input), outputlength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadGRL(&self, outputlength: *mut u32, output: *mut *mut u8) -> ::windows::core::Result<()> { @@ -36968,11 +36968,11 @@ impl IMFQualityAdvise { (::windows::core::Interface::vtable(self).SetQualityLevel)(::windows::core::Interface::as_raw(self), equalitylevel).ok() } pub unsafe fn GetDropMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDropMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQualityLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQualityLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DropTime(&self, hnsamounttodrop: i64) -> ::windows::core::Result<()> { @@ -37035,11 +37035,11 @@ impl IMFQualityAdvise2 { (::windows::core::Interface::vtable(self).base__.SetQualityLevel)(::windows::core::Interface::as_raw(self), equalitylevel).ok() } pub unsafe fn GetDropMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDropMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQualityLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetQualityLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DropTime(&self, hnsamounttodrop: i64) -> ::windows::core::Result<()> { @@ -37049,7 +37049,7 @@ impl IMFQualityAdvise2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaEvent>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NotifyQualityEvent)(::windows::core::Interface::as_raw(self), pevent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37114,11 +37114,11 @@ pub struct IMFQualityAdvise2_Vtbl { pub struct IMFQualityAdviseLimits(::windows::core::IUnknown); impl IMFQualityAdviseLimits { pub unsafe fn GetMaximumDropMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumDropMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMinimumQualityLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinimumQualityLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37327,7 +37327,7 @@ impl IMFRateSupport { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSlowestRate)(::windows::core::Interface::as_raw(self), edirection, fthin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37336,7 +37336,7 @@ impl IMFRateSupport { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFastestRate)(::windows::core::Interface::as_raw(self), edirection, fthin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37590,7 +37590,7 @@ pub struct IMFRealTimeClientEx_Vtbl { pub struct IMFRelativePanelReport(::windows::core::IUnknown); impl IMFRelativePanelReport { pub unsafe fn GetRelativePanel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelativePanel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37643,7 +37643,7 @@ impl IMFRelativePanelWatcher { (::windows::core::Interface::vtable(self).base__.Shutdown)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetShutdownStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetShutdownStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetReport<'a, P0, P1>(&self, pcallback: P0, pstate: P1) -> ::windows::core::Result<()> @@ -37657,11 +37657,11 @@ impl IMFRelativePanelWatcher { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndGetReport)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37885,13 +37885,13 @@ pub struct IMFRemoteProxy_Vtbl { pub struct IMFSAMIStyle(::windows::core::IUnknown); impl IMFSAMIStyle { pub unsafe fn GetStyleCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStyleCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetStyles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStyles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelectedStyle<'a, P0>(&self, pwszstyle: P0) -> ::windows::core::Result<()> @@ -37901,7 +37901,7 @@ impl IMFSAMIStyle { (::windows::core::Interface::vtable(self).SetSelectedStyle)(::windows::core::Interface::as_raw(self), pwszstyle.into()).ok() } pub unsafe fn GetSelectedStyle(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectedStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -37990,7 +37990,7 @@ impl IMFSSLCertificateManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnServerCertificate)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(pbdata), cbdata, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38055,13 +38055,13 @@ impl IMFSample { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38070,27 +38070,27 @@ impl IMFSample { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -38100,7 +38100,7 @@ impl IMFSample { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -38161,7 +38161,7 @@ impl IMFSample { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -38176,36 +38176,36 @@ impl IMFSample { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetSampleFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSampleFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleFlags(&self, dwsampleflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSampleFlags)(::windows::core::Interface::as_raw(self), dwsampleflags).ok() } pub unsafe fn GetSampleTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSampleTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleTime(&self, hnssampletime: i64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSampleTime)(::windows::core::Interface::as_raw(self), hnssampletime).ok() } pub unsafe fn GetSampleDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSampleDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleDuration(&self, hnssampleduration: i64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSampleDuration)(::windows::core::Interface::as_raw(self), hnssampleduration).ok() } pub unsafe fn GetBufferCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBufferCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBufferByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBufferByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertToContiguousBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConvertToContiguousBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddBuffer<'a, P0>(&self, pbuffer: P0) -> ::windows::core::Result<()> @@ -38221,7 +38221,7 @@ impl IMFSample { (::windows::core::Interface::vtable(self).RemoveAllBuffers)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetTotalLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTotalLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyToBuffer<'a, P0>(&self, pbuffer: P0) -> ::windows::core::Result<()> @@ -38625,11 +38625,11 @@ pub struct IMFSampleOutputStream_Vtbl { pub struct IMFSampleProtection(::windows::core::IUnknown); impl IMFSampleProtection { pub unsafe fn GetInputProtectionVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputProtectionVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputProtectionVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputProtectionVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProtectionCertificate(&self, dwversion: u32, ppcert: *mut *mut u8, pcbcert: *mut u32) -> ::windows::core::Result<()> { @@ -38709,7 +38709,7 @@ impl IMFSaveJob { (::windows::core::Interface::vtable(self).CancelSave)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38836,7 +38836,7 @@ pub struct IMFSchemeHandler_Vtbl { pub struct IMFSecureBuffer(::windows::core::IUnknown); impl IMFSecureBuffer { pub unsafe fn GetIdentifier(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -38993,18 +38993,18 @@ pub struct IMFSeekInfo_Vtbl { pub struct IMFSensorActivitiesReport(::windows::core::IUnknown); impl IMFSensorActivitiesReport { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActivityReport(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivityReport)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActivityReportByDeviceName<'a, P0>(&self, symbolicname: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivityReportByDeviceName)(::windows::core::Interface::as_raw(self), symbolicname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39167,11 +39167,11 @@ impl IMFSensorActivityReport { (::windows::core::Interface::vtable(self).GetSymbolicLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(symboliclink)), symboliclink.len() as _, ::core::mem::transmute(pcchwritten)).ok() } pub unsafe fn GetProcessCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessActivity(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessActivity)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39224,37 +39224,37 @@ pub struct IMFSensorActivityReport_Vtbl { pub struct IMFSensorDevice(::windows::core::IUnknown); impl IMFSensorDevice { pub unsafe fn GetDeviceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolicLink(&self, symboliclink: &mut [u16], pcchwritten: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSymbolicLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(symboliclink)), symboliclink.len() as _, ::core::mem::transmute(pcchwritten)).ok() } pub unsafe fn GetDeviceAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamAttributesCount(&self, etype: MFSensorStreamType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamAttributesCount)(::windows::core::Interface::as_raw(self), etype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamAttributes(&self, etype: MFSensorStreamType, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamAttributes)(::windows::core::Interface::as_raw(self), etype, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSensorDeviceMode(&self, emode: MFSensorDeviceMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSensorDeviceMode)(::windows::core::Interface::as_raw(self), emode).ok() } pub unsafe fn GetSensorDeviceMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorDeviceMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39315,30 +39315,30 @@ impl IMFSensorGroup { (::windows::core::Interface::vtable(self).GetSymbolicLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(symboliclink)), symboliclink.len() as _, ::core::mem::transmute(pcchwritten)).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSensorGroupAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorGroupAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSensorDeviceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorDeviceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSensorDevice(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSensorDevice)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultSensorDeviceIndex(&self, dwindex: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultSensorDeviceIndex)(::windows::core::Interface::as_raw(self), dwindex).ok() } pub unsafe fn GetDefaultSensorDeviceIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultSensorDeviceIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMediaSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMediaSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39395,23 +39395,23 @@ pub struct IMFSensorGroup_Vtbl { pub struct IMFSensorProcessActivity(::windows::core::IUnknown); impl IMFSensorProcessActivity { pub unsafe fn GetProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStreamingState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamingState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReportTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReportTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39470,7 +39470,7 @@ pub struct IMFSensorProcessActivity_Vtbl { pub struct IMFSensorProfile(::windows::core::IUnknown); impl IMFSensorProfile { pub unsafe fn GetProfileId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProfileId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProfileFilter<'a, P0>(&self, streamid: u32, wzfiltersetstring: P0) -> ::windows::core::Result<()> @@ -39485,7 +39485,7 @@ impl IMFSensorProfile { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMediaTypeSupported)(::windows::core::Interface::as_raw(self), streamid, pmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddBlockedControl<'a, P0>(&self, wzblockedcontrol: P0) -> ::windows::core::Result<()> @@ -39550,7 +39550,7 @@ impl IMFSensorProfileCollection { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetProfileCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetProfile(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProfile)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProfile<'a, P0>(&self, pprofile: P0) -> ::windows::core::Result<()> @@ -39560,7 +39560,7 @@ impl IMFSensorProfileCollection { (::windows::core::Interface::vtable(self).AddProfile)(::windows::core::Interface::as_raw(self), pprofile.into().abi()).ok() } pub unsafe fn FindProfile(&self, profileid: *const SENSORPROFILEID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(profileid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveProfileByIndex(&self, index: u32) { @@ -39626,13 +39626,13 @@ impl IMFSensorStream { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39641,27 +39641,27 @@ impl IMFSensorStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -39671,7 +39671,7 @@ impl IMFSensorStream { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -39732,7 +39732,7 @@ impl IMFSensorStream { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -39747,15 +39747,15 @@ impl IMFSensorStream { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetMediaTypeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaTypeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMediaType(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaType)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloneSensorStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CloneSensorStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39822,7 +39822,7 @@ pub struct IMFSensorStream_Vtbl { pub struct IMFSensorTransformFactory(::windows::core::IUnknown); impl IMFSensorTransformFactory { pub unsafe fn GetFactoryAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFactoryAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitializeFactory<'a, P0, P1>(&self, dwmaxtransformcount: u32, psensordevices: P0, pattributes: P1) -> ::windows::core::Result<()> @@ -39833,7 +39833,7 @@ impl IMFSensorTransformFactory { (::windows::core::Interface::vtable(self).InitializeFactory)(::windows::core::Interface::as_raw(self), dwmaxtransformcount, psensordevices.into().abi(), pattributes.into().abi()).ok() } pub unsafe fn GetTransformCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformInformation(&self, transformindex: u32, pguidtransformid: *mut ::windows::core::GUID, ppattributes: *mut ::core::option::Option, ppstreaminformation: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -39843,7 +39843,7 @@ impl IMFSensorTransformFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidsensortransformid), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39900,7 +39900,7 @@ impl IMFSequencerSource { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFTopology>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppendTopology)(::windows::core::Interface::as_raw(self), ptopology.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteTopology(&self, dwid: u32) -> ::windows::core::Result<()> { @@ -39975,7 +39975,7 @@ impl IMFSharingEngineClassFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), dwflags, pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -40028,7 +40028,7 @@ impl IMFShutdown { (::windows::core::Interface::vtable(self).Shutdown)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetShutdownStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShutdownStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40134,7 +40134,7 @@ impl IMFSimpleAudioVolume { (::windows::core::Interface::vtable(self).SetMasterVolume)(::windows::core::Interface::as_raw(self), flevel).ok() } pub unsafe fn GetMasterVolume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMasterVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -40148,7 +40148,7 @@ impl IMFSimpleAudioVolume { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMute(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40210,7 +40210,7 @@ impl IMFSinkWriter { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddStream)(::windows::core::Interface::as_raw(self), ptargetmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputMediaType<'a, P0, P1>(&self, dwstreamindex: u32, pinputmediatype: P0, pencodingparameters: P1) -> ::windows::core::Result<()> @@ -40248,7 +40248,7 @@ impl IMFSinkWriter { (::windows::core::Interface::vtable(self).GetServiceForStream)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(guidservice), ::core::mem::transmute(riid), ::core::mem::transmute(ppvobject)).ok() } pub unsafe fn GetStatistics(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatistics)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40498,7 +40498,7 @@ impl IMFSinkWriterEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddStream)(::windows::core::Interface::as_raw(self), ptargetmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputMediaType<'a, P0, P1>(&self, dwstreamindex: u32, pinputmediatype: P0, pencodingparameters: P1) -> ::windows::core::Result<()> @@ -40536,7 +40536,7 @@ impl IMFSinkWriterEx { (::windows::core::Interface::vtable(self).base__.GetServiceForStream)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(guidservice), ::core::mem::transmute(riid), ::core::mem::transmute(ppvobject)).ok() } pub unsafe fn GetStatistics(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatistics)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformForStream(&self, dwstreamindex: u32, dwtransformindex: u32, pguidcategory: *mut ::windows::core::GUID, pptransform: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -40609,7 +40609,7 @@ impl IMFSourceBuffer { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetUpdating)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetBuffered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBuffered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTimeStampOffset(&self) -> f64 { @@ -40931,7 +40931,7 @@ impl IMFSourceReader { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStreamSelection(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamSelection)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -40943,11 +40943,11 @@ impl IMFSourceReader { (::windows::core::Interface::vtable(self).SetStreamSelection)(::windows::core::Interface::as_raw(self), dwstreamindex, fselected.into()).ok() } pub unsafe fn GetNativeMediaType(&self, dwstreamindex: u32, dwmediatypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNativeMediaType)(::windows::core::Interface::as_raw(self), dwstreamindex, dwmediatypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentMediaType(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentMediaType)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentMediaType<'a, P0>(&self, dwstreamindex: u32, pdwreserved: *mut u32, pmediatype: P0) -> ::windows::core::Result<()> @@ -40973,7 +40973,7 @@ impl IMFSourceReader { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPresentationAttribute(&self, dwstreamindex: u32, guidattribute: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPresentationAttribute)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(guidattribute), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41192,7 +41192,7 @@ impl IMFSourceReaderEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStreamSelection(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamSelection)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41204,11 +41204,11 @@ impl IMFSourceReaderEx { (::windows::core::Interface::vtable(self).base__.SetStreamSelection)(::windows::core::Interface::as_raw(self), dwstreamindex, fselected.into()).ok() } pub unsafe fn GetNativeMediaType(&self, dwstreamindex: u32, dwmediatypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNativeMediaType)(::windows::core::Interface::as_raw(self), dwstreamindex, dwmediatypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentMediaType(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentMediaType)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentMediaType<'a, P0>(&self, dwstreamindex: u32, pdwreserved: *mut u32, pmediatype: P0) -> ::windows::core::Result<()> @@ -41234,14 +41234,14 @@ impl IMFSourceReaderEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetPresentationAttribute(&self, dwstreamindex: u32, guidattribute: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPresentationAttribute)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(guidattribute), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNativeMediaType<'a, P0>(&self, dwstreamindex: u32, pmediatype: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetNativeMediaType)(::windows::core::Interface::as_raw(self), dwstreamindex, pmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTransformForStream<'a, P0>(&self, dwstreamindex: u32, ptransformoractivate: P0) -> ::windows::core::Result<()> @@ -41451,21 +41451,21 @@ impl IMFSpatialAudioObjectBuffer { (::windows::core::Interface::vtable(self).base__.Unlock)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCurrentLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentLength(&self, cbcurrentlength: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCurrentLength)(::windows::core::Interface::as_raw(self), cbcurrentlength).ok() } pub unsafe fn GetMaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetID(&self, u32id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetID)(::windows::core::Interface::as_raw(self), u32id).ok() } pub unsafe fn GetID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -41476,13 +41476,13 @@ impl IMFSpatialAudioObjectBuffer { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetMetadataItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41565,13 +41565,13 @@ impl IMFSpatialAudioSample { (::windows::core::Interface::vtable(self).base__.base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41580,27 +41580,27 @@ impl IMFSpatialAudioSample { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -41610,7 +41610,7 @@ impl IMFSpatialAudioSample { (::windows::core::Interface::vtable(self).base__.base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -41671,7 +41671,7 @@ impl IMFSpatialAudioSample { (::windows::core::Interface::vtable(self).base__.base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -41686,36 +41686,36 @@ impl IMFSpatialAudioSample { (::windows::core::Interface::vtable(self).base__.base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetSampleFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSampleFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleFlags(&self, dwsampleflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSampleFlags)(::windows::core::Interface::as_raw(self), dwsampleflags).ok() } pub unsafe fn GetSampleTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSampleTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleTime(&self, hnssampletime: i64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSampleTime)(::windows::core::Interface::as_raw(self), hnssampletime).ok() } pub unsafe fn GetSampleDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSampleDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleDuration(&self, hnssampleduration: i64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSampleDuration)(::windows::core::Interface::as_raw(self), hnssampleduration).ok() } pub unsafe fn GetBufferCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBufferCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBufferByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBufferByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertToContiguousBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ConvertToContiguousBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddBuffer<'a, P0>(&self, pbuffer: P0) -> ::windows::core::Result<()> @@ -41731,7 +41731,7 @@ impl IMFSpatialAudioSample { (::windows::core::Interface::vtable(self).base__.RemoveAllBuffers)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetTotalLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTotalLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyToBuffer<'a, P0>(&self, pbuffer: P0) -> ::windows::core::Result<()> @@ -41741,7 +41741,7 @@ impl IMFSpatialAudioSample { (::windows::core::Interface::vtable(self).base__.CopyToBuffer)(::windows::core::Interface::as_raw(self), pbuffer.into().abi()).ok() } pub unsafe fn GetObjectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSpatialAudioObject<'a, P0>(&self, paudioobjbuffer: P0) -> ::windows::core::Result<()> @@ -41751,7 +41751,7 @@ impl IMFSpatialAudioSample { (::windows::core::Interface::vtable(self).AddSpatialAudioObject)(::windows::core::Interface::as_raw(self), paudioobjbuffer.into().abi()).ok() } pub unsafe fn GetSpatialAudioObjectByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpatialAudioObjectByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41838,13 +41838,13 @@ impl IMFStreamDescriptor { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41853,27 +41853,27 @@ impl IMFStreamDescriptor { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -41883,7 +41883,7 @@ impl IMFStreamDescriptor { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -41944,7 +41944,7 @@ impl IMFStreamDescriptor { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -41959,11 +41959,11 @@ impl IMFStreamDescriptor { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetStreamIdentifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMediaTypeHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaTypeHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -42029,7 +42029,7 @@ pub struct IMFStreamDescriptor_Vtbl { pub struct IMFStreamSink(::windows::core::IUnknown); impl IMFStreamSink { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEvent)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginGetEvent<'a, P0, P1>(&self, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -42043,7 +42043,7 @@ impl IMFStreamSink { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndGetEvent)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -42052,15 +42052,15 @@ impl IMFStreamSink { (::windows::core::Interface::vtable(self).base__.QueueEvent)(::windows::core::Interface::as_raw(self), met, ::core::mem::transmute(guidextendedtype), hrstatus, ::core::mem::transmute(pvvalue)).ok() } pub unsafe fn GetMediaSink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaSink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIdentifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMediaTypeHandler(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaTypeHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProcessSample<'a, P0>(&self, psample: P0) -> ::windows::core::Result<()> @@ -42269,7 +42269,7 @@ impl IMFTimecodeTranslate { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndConvertTimecodeToHNS)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginConvertHNSToTimecode<'a, P0, P1>(&self, hnstime: i64, pcallback: P0, punkstate: P1) -> ::windows::core::Result<()> @@ -42285,7 +42285,7 @@ impl IMFTimecodeTranslate { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndConvertHNSToTimecode)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -42366,7 +42366,7 @@ impl IMFTimedText { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddDataSource)(::windows::core::Interface::as_raw(self), bytestream.into().abi(), label.into(), language.into(), kind, isdefault.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42378,7 +42378,7 @@ impl IMFTimedText { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddDataSourceFromUrl)(::windows::core::Interface::as_raw(self), url.into(), label.into(), language.into(), kind, isdefault.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTrack<'a, P0, P1>(&self, label: P0, language: P1, kind: MF_TIMED_TEXT_TRACK_KIND) -> ::windows::core::Result @@ -42386,7 +42386,7 @@ impl IMFTimedText { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddTrack)(::windows::core::Interface::as_raw(self), label.into(), language.into(), kind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveTrack<'a, P0>(&self, track: P0) -> ::windows::core::Result<()> @@ -42396,26 +42396,26 @@ impl IMFTimedText { (::windows::core::Interface::vtable(self).RemoveTrack)(::windows::core::Interface::as_raw(self), track.into().abi()).ok() } pub unsafe fn GetCueTimeOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCueTimeOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCueTimeOffset(&self, offset: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCueTimeOffset)(::windows::core::Interface::as_raw(self), offset).ok() } pub unsafe fn GetTracks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTracks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActiveTracks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveTracks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextTracks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextTracks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMetadataTracks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataTracks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42555,15 +42555,15 @@ pub struct IMFTimedTextBinary_Vtbl { pub struct IMFTimedTextBouten(::windows::core::IUnknown); impl IMFTimedTextBouten { pub unsafe fn GetBoutenType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoutenType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBoutenColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoutenColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBoutenPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoutenPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -42618,7 +42618,7 @@ impl IMFTimedTextCue { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetOriginalId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetCueKind(&self) -> MF_TIMED_TEXT_TRACK_KIND { @@ -42634,22 +42634,22 @@ impl IMFTimedTextCue { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetTrackId)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRegion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLineCount(&self) -> u32 { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetLineCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetLine(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLine)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -42712,29 +42712,29 @@ impl IMFTimedTextCueList { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetCueByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCueByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCueById(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCueById)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCueByOriginalId<'a, P0>(&self, originalid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCueByOriginalId)(::windows::core::Interface::as_raw(self), originalid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTextCue<'a, P0>(&self, start: f64, duration: f64, text: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddTextCue)(::windows::core::Interface::as_raw(self), start, duration, text.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddDataCue(&self, start: f64, duration: f64, data: *const u8, datasize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddDataCue)(::windows::core::Interface::as_raw(self), start, duration, ::core::mem::transmute(data), datasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveCue<'a, P0>(&self, cue: P0) -> ::windows::core::Result<()> @@ -42796,7 +42796,7 @@ pub struct IMFTimedTextCueList_Vtbl { pub struct IMFTimedTextFormattedText(::windows::core::IUnknown); impl IMFTimedTextFormattedText { pub unsafe fn GetText(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSubformattingCount(&self) -> u32 { @@ -42938,7 +42938,7 @@ pub struct IMFTimedTextNotify_Vtbl { pub struct IMFTimedTextRegion(::windows::core::IUnknown); impl IMFTimedTextRegion { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPosition(&self, px: *mut f64, py: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE) -> ::windows::core::Result<()> { @@ -42948,15 +42948,15 @@ impl IMFTimedTextRegion { (::windows::core::Interface::vtable(self).GetExtent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwidth), ::core::mem::transmute(pheight), ::core::mem::transmute(unittype)).ok() } pub unsafe fn GetBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWritingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWritingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLineHeight(&self, plineheight: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE) -> ::windows::core::Result<()> { @@ -42965,7 +42965,7 @@ impl IMFTimedTextRegion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetClipOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPadding(&self, before: *mut f64, start: *mut f64, after: *mut f64, end: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE) -> ::windows::core::Result<()> { @@ -42974,15 +42974,15 @@ impl IMFTimedTextRegion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetZIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetZIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScrollMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScrollMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43049,19 +43049,19 @@ pub struct IMFTimedTextRegion_Vtbl { pub struct IMFTimedTextRuby(::windows::core::IUnknown); impl IMFTimedTextRuby { pub unsafe fn GetRubyText(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRubyText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetRubyPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRubyPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRubyAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRubyAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRubyReserve(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRubyReserve)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43114,7 +43114,7 @@ pub struct IMFTimedTextRuby_Vtbl { pub struct IMFTimedTextStyle(::windows::core::IUnknown); impl IMFTimedTextStyle { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43123,48 +43123,48 @@ impl IMFTimedTextStyle { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsExternal)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetFontFamily(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetFontSize(&self, fontsize: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetFontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fontsize), ::core::mem::transmute(unittype)).ok() } pub unsafe fn GetColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetShowBackgroundAlways(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShowBackgroundAlways)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRightToLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRightToLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextOutline(&self, color: *mut MFARGB, thickness: *mut f64, blurradius: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE) -> ::windows::core::Result<()> { @@ -43241,21 +43241,21 @@ pub struct IMFTimedTextStyle_Vtbl { pub struct IMFTimedTextStyle2(::windows::core::IUnknown); impl IMFTimedTextStyle2 { pub unsafe fn GetRuby(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRuby)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBouten(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBouten)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsTextCombined(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTextCombined)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFontAngleInDegrees(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontAngleInDegrees)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43314,7 +43314,7 @@ impl IMFTimedTextTrack { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetLabel(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLabel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLabel<'a, P0>(&self, label: P0) -> ::windows::core::Result<()> @@ -43324,7 +43324,7 @@ impl IMFTimedTextTrack { (::windows::core::Interface::vtable(self).SetLabel)(::windows::core::Interface::as_raw(self), label.into()).ok() } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetTrackKind(&self) -> MF_TIMED_TEXT_TRACK_KIND { @@ -43336,7 +43336,7 @@ impl IMFTimedTextTrack { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsInBand)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetInBandMetadataTrackDispatchType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInBandMetadataTrackDispatchType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43351,14 +43351,14 @@ impl IMFTimedTextTrack { (::windows::core::Interface::vtable(self).GetExtendedErrorCode)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDataFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetReadyState(&self) -> MF_TIMED_TEXT_TRACK_READY_STATE { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetReadyState)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetCueList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCueList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43429,11 +43429,11 @@ impl IMFTimedTextTrackList { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetTrack(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTrack)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTrackById(&self, trackid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTrackById)(::windows::core::Interface::as_raw(self), trackid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43489,7 +43489,7 @@ impl IMFTimer { P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncCallback>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetTimer)(::windows::core::Interface::as_raw(self), dwflags, llclocktime, pcallback.into().abi(), punkstate.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn CancelTimer<'a, P0>(&self, punkkey: P0) -> ::windows::core::Result<()> @@ -43604,13 +43604,13 @@ impl IMFTopology { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43619,27 +43619,27 @@ impl IMFTopology { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -43649,7 +43649,7 @@ impl IMFTopology { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -43710,7 +43710,7 @@ impl IMFTopology { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -43725,7 +43725,7 @@ impl IMFTopology { (::windows::core::Interface::vtable(self).base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetTopologyID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTopologyID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddNode<'a, P0>(&self, pnode: P0) -> ::windows::core::Result<()> @@ -43741,11 +43741,11 @@ impl IMFTopology { (::windows::core::Interface::vtable(self).RemoveNode)(::windows::core::Interface::as_raw(self), pnode.into().abi()).ok() } pub unsafe fn GetNodeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNodeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNode(&self, windex: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNode)(::windows::core::Interface::as_raw(self), windex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { @@ -43758,15 +43758,15 @@ impl IMFTopology { (::windows::core::Interface::vtable(self).CloneFrom)(::windows::core::Interface::as_raw(self), ptopology.into().abi()).ok() } pub unsafe fn GetNodeByID(&self, qwtoponodeid: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNodeByID)(::windows::core::Interface::as_raw(self), qwtoponodeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceNodeCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceNodeCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputNodeCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputNodeCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43845,13 +43845,13 @@ impl IMFTopologyNode { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43860,27 +43860,27 @@ impl IMFTopologyNode { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -43890,7 +43890,7 @@ impl IMFTopologyNode { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -43951,7 +43951,7 @@ impl IMFTopologyNode { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -43972,26 +43972,26 @@ impl IMFTopologyNode { (::windows::core::Interface::vtable(self).SetObject)(::windows::core::Interface::as_raw(self), pobject.into().abi()).ok() } pub unsafe fn GetObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetNodeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNodeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTopoNodeID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTopoNodeID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTopoNodeID(&self, ulltopoid: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTopoNodeID)(::windows::core::Interface::as_raw(self), ulltopoid).ok() } pub unsafe fn GetInputCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConnectOutput<'a, P0>(&self, dwoutputindex: u32, pdownstreamnode: P0, dwinputindexondownstreamnode: u32) -> ::windows::core::Result<()> @@ -44016,7 +44016,7 @@ impl IMFTopologyNode { (::windows::core::Interface::vtable(self).SetOutputPrefType)(::windows::core::Interface::as_raw(self), dwoutputindex, ptype.into().abi()).ok() } pub unsafe fn GetOutputPrefType(&self, dwoutputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputPrefType)(::windows::core::Interface::as_raw(self), dwoutputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputPrefType<'a, P0>(&self, dwinputindex: u32, ptype: P0) -> ::windows::core::Result<()> @@ -44026,7 +44026,7 @@ impl IMFTopologyNode { (::windows::core::Interface::vtable(self).SetInputPrefType)(::windows::core::Interface::as_raw(self), dwinputindex, ptype.into().abi()).ok() } pub unsafe fn GetInputPrefType(&self, dwinputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputPrefType)(::windows::core::Interface::as_raw(self), dwinputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloneFrom<'a, P0>(&self, pnode: P0) -> ::windows::core::Result<()> @@ -44325,7 +44325,7 @@ impl IMFTranscodeProfile { (::windows::core::Interface::vtable(self).SetAudioAttributes)(::windows::core::Interface::as_raw(self), pattrs.into().abi()).ok() } pub unsafe fn GetAudioAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVideoAttributes<'a, P0>(&self, pattrs: P0) -> ::windows::core::Result<()> @@ -44335,7 +44335,7 @@ impl IMFTranscodeProfile { (::windows::core::Interface::vtable(self).SetVideoAttributes)(::windows::core::Interface::as_raw(self), pattrs.into().abi()).ok() } pub unsafe fn GetVideoAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetContainerAttributes<'a, P0>(&self, pattrs: P0) -> ::windows::core::Result<()> @@ -44345,7 +44345,7 @@ impl IMFTranscodeProfile { (::windows::core::Interface::vtable(self).SetContainerAttributes)(::windows::core::Interface::as_raw(self), pattrs.into().abi()).ok() } pub unsafe fn GetContainerAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainerAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44418,7 +44418,7 @@ impl IMFTranscodeSinkInfoProvider { (::windows::core::Interface::vtable(self).SetProfile)(::windows::core::Interface::as_raw(self), pprofile.into().abi()).ok() } pub unsafe fn GetSinkInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSinkInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44480,23 +44480,23 @@ impl IMFTransform { (::windows::core::Interface::vtable(self).GetStreamIDs)(::windows::core::Interface::as_raw(self), pdwinputids.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pdwinputids)), pdwoutputids.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pdwoutputids))).ok() } pub unsafe fn GetInputStreamInfo(&self, dwinputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputStreamInfo)(::windows::core::Interface::as_raw(self), dwinputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputStreamInfo(&self, dwoutputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputStreamInfo)(::windows::core::Interface::as_raw(self), dwoutputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputStreamAttributes(&self, dwinputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputStreamAttributes)(::windows::core::Interface::as_raw(self), dwinputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputStreamAttributes(&self, dwoutputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputStreamAttributes)(::windows::core::Interface::as_raw(self), dwoutputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteInputStream(&self, dwstreamid: u32) -> ::windows::core::Result<()> { @@ -44506,11 +44506,11 @@ impl IMFTransform { (::windows::core::Interface::vtable(self).AddInputStreams)(::windows::core::Interface::as_raw(self), cstreams, ::core::mem::transmute(adwstreamids)).ok() } pub unsafe fn GetInputAvailableType(&self, dwinputstreamid: u32, dwtypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputAvailableType)(::windows::core::Interface::as_raw(self), dwinputstreamid, dwtypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputAvailableType(&self, dwoutputstreamid: u32, dwtypeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputAvailableType)(::windows::core::Interface::as_raw(self), dwoutputstreamid, dwtypeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputType<'a, P0>(&self, dwinputstreamid: u32, ptype: P0, dwflags: u32) -> ::windows::core::Result<()> @@ -44526,19 +44526,19 @@ impl IMFTransform { (::windows::core::Interface::vtable(self).SetOutputType)(::windows::core::Interface::as_raw(self), dwoutputstreamid, ptype.into().abi(), dwflags).ok() } pub unsafe fn GetInputCurrentType(&self, dwinputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCurrentType)(::windows::core::Interface::as_raw(self), dwinputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputCurrentType(&self, dwoutputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCurrentType)(::windows::core::Interface::as_raw(self), dwoutputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputStatus(&self, dwinputstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputStatus)(::windows::core::Interface::as_raw(self), dwinputstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputBounds(&self, hnslowerbound: i64, hnsupperbound: i64) -> ::windows::core::Result<()> { @@ -44631,7 +44631,7 @@ pub struct IMFTransform_Vtbl { pub struct IMFTrustedInput(::windows::core::IUnknown); impl IMFTrustedInput { pub unsafe fn GetInputTrustAuthority(&self, dwstreamid: u32, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputTrustAuthority)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -44681,17 +44681,17 @@ pub struct IMFTrustedInput_Vtbl { pub struct IMFTrustedOutput(::windows::core::IUnknown); impl IMFTrustedOutput { pub unsafe fn GetOutputTrustAuthorityCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputTrustAuthorityCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputTrustAuthorityByIndex(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputTrustAuthorityByIndex)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsFinal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFinal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44761,7 +44761,7 @@ impl IMFVideoCaptureSampleAllocator { (::windows::core::Interface::vtable(self).base__.InitializeSampleAllocator)(::windows::core::Interface::as_raw(self), crequestedframes, pmediatype.into().abi()).ok() } pub unsafe fn AllocateSample(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllocateSample)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitializeCaptureSampleAllocator<'a, P0, P1>(&self, cbsamplesize: u32, cbcapturemetadatasize: u32, cbalignment: u32, cminimumsamples: u32, pattributes: P0, pmediatype: P1) -> ::windows::core::Result<()> @@ -44833,7 +44833,7 @@ pub struct IMFVideoCaptureSampleAllocator_Vtbl { pub struct IMFVideoDeviceID(::windows::core::IUnknown); impl IMFVideoDeviceID { pub unsafe fn GetDeviceID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -44906,7 +44906,7 @@ impl IMFVideoDisplayControl { (::windows::core::Interface::vtable(self).SetAspectRatioMode)(::windows::core::Interface::as_raw(self), dwaspectratiomode).ok() } pub unsafe fn GetAspectRatioMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAspectRatioMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44920,7 +44920,7 @@ impl IMFVideoDisplayControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetVideoWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RepaintVideo(&self) -> ::windows::core::Result<()> { @@ -44935,14 +44935,14 @@ impl IMFVideoDisplayControl { (::windows::core::Interface::vtable(self).SetBorderColor)(::windows::core::Interface::as_raw(self), clr).ok() } pub unsafe fn GetBorderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBorderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRenderingPrefs(&self, dwrenderflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRenderingPrefs)(::windows::core::Interface::as_raw(self), dwrenderflags).ok() } pub unsafe fn GetRenderingPrefs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenderingPrefs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44956,7 +44956,7 @@ impl IMFVideoDisplayControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFullscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFullscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45053,13 +45053,13 @@ impl IMFVideoMediaType { (::windows::core::Interface::vtable(self).base__.base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45068,27 +45068,27 @@ impl IMFVideoMediaType { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -45098,7 +45098,7 @@ impl IMFVideoMediaType { (::windows::core::Interface::vtable(self).base__.base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -45159,7 +45159,7 @@ impl IMFVideoMediaType { (::windows::core::Interface::vtable(self).base__.base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -45174,20 +45174,20 @@ impl IMFVideoMediaType { (::windows::core::Interface::vtable(self).base__.base__.CopyAllItems)(::windows::core::Interface::as_raw(self), pdest.into().abi()).ok() } pub unsafe fn GetMajorType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMajorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCompressedFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsCompressedFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsEqual<'a, P0>(&self, pimediatype: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFMediaType>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqual)(::windows::core::Interface::as_raw(self), pimediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRepresentation(&self, guidrepresentation: ::windows::core::GUID, ppvrepresentation: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -45300,7 +45300,7 @@ impl IMFVideoMixerBitmap { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAlphaBitmapParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlphaBitmapParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45365,14 +45365,14 @@ impl IMFVideoMixerControl { (::windows::core::Interface::vtable(self).SetStreamZOrder)(::windows::core::Interface::as_raw(self), dwstreamid, dwz).ok() } pub unsafe fn GetStreamZOrder(&self, dwstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamZOrder)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamOutputRect(&self, dwstreamid: u32, pnrcoutput: *const MFVideoNormalizedRect) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStreamOutputRect)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(pnrcoutput)).ok() } pub unsafe fn GetStreamOutputRect(&self, dwstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamOutputRect)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45428,21 +45428,21 @@ impl IMFVideoMixerControl2 { (::windows::core::Interface::vtable(self).base__.SetStreamZOrder)(::windows::core::Interface::as_raw(self), dwstreamid, dwz).ok() } pub unsafe fn GetStreamZOrder(&self, dwstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamZOrder)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamOutputRect(&self, dwstreamid: u32, pnrcoutput: *const MFVideoNormalizedRect) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStreamOutputRect)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(pnrcoutput)).ok() } pub unsafe fn GetStreamOutputRect(&self, dwstreamid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamOutputRect)(::windows::core::Interface::as_raw(self), dwstreamid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMixingPrefs(&self, dwmixflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMixingPrefs)(::windows::core::Interface::as_raw(self), dwmixflags).ok() } pub unsafe fn GetMixingPrefs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMixingPrefs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45575,7 +45575,7 @@ impl IMFVideoPresenter { (::windows::core::Interface::vtable(self).ProcessMessage)(::windows::core::Interface::as_raw(self), emessage, ulparam).ok() } pub unsafe fn GetCurrentMediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45646,40 +45646,40 @@ impl IMFVideoProcessor { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetVideoProcessorCaps(&self, lpvideoprocessormode: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpvideoprocessormode), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVideoProcessorMode(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoProcessorMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetVideoProcessorMode(&self, lpmode: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVideoProcessorMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpmode)).ok() } pub unsafe fn GetProcAmpRange(&self, dwproperty: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcAmpRange)(::windows::core::Interface::as_raw(self), dwproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcAmpValues(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcAmpValues)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProcAmpValues(&self, dwflags: u32, pvalues: *const DXVA2_ProcAmpValues) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProcAmpValues)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(pvalues)).ok() } pub unsafe fn GetFilteringRange(&self, dwproperty: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteringRange)(::windows::core::Interface::as_raw(self), dwproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilteringValue(&self, dwproperty: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteringValue)(::windows::core::Interface::as_raw(self), dwproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFilteringValue(&self, dwproperty: u32, pvalue: *const DXVA2_Fixed32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFilteringValue)(::windows::core::Interface::as_raw(self), dwproperty, ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackgroundColor(&self, clrbkg: u32) -> ::windows::core::Result<()> { @@ -45865,7 +45865,7 @@ impl IMFVideoProcessorControl2 { (::windows::core::Interface::vtable(self).EnableHardwareEffects)(::windows::core::Interface::as_raw(self), fenabled.into()).ok() } pub unsafe fn GetSupportedHardwareEffects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedHardwareEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45970,11 +45970,11 @@ impl IMFVideoProcessorControl3 { (::windows::core::Interface::vtable(self).base__.EnableHardwareEffects)(::windows::core::Interface::as_raw(self), fenabled.into()).ok() } pub unsafe fn GetSupportedHardwareEffects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSupportedHardwareEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNaturalOutputType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNaturalOutputType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46197,7 +46197,7 @@ impl IMFVideoSampleAllocator { (::windows::core::Interface::vtable(self).InitializeSampleAllocator)(::windows::core::Interface::as_raw(self), crequestedframes, pmediatype.into().abi()).ok() } pub unsafe fn AllocateSample(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocateSample)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46256,7 +46256,7 @@ impl IMFVideoSampleAllocatorCallback { (::windows::core::Interface::vtable(self).SetCallback)(::windows::core::Interface::as_raw(self), pnotify.into().abi()).ok() } pub unsafe fn GetFreeSampleCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFreeSampleCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46322,7 +46322,7 @@ impl IMFVideoSampleAllocatorEx { (::windows::core::Interface::vtable(self).base__.InitializeSampleAllocator)(::windows::core::Interface::as_raw(self), crequestedframes, pmediatype.into().abi()).ok() } pub unsafe fn AllocateSample(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllocateSample)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitializeSampleAllocatorEx<'a, P0, P1>(&self, cinitialsamples: u32, cmaximumsamples: u32, pattributes: P0, pmediatype: P1) -> ::windows::core::Result<()> @@ -46518,13 +46518,13 @@ impl IMFVirtualCamera { (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn GetItemType(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn CompareItem(&self, guidkey: *const ::windows::core::GUID, value: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(value), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46533,27 +46533,27 @@ impl IMFVirtualCamera { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), ptheirs.into().abi(), matchtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT32(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUINT64(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUINT64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDouble(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStringLength(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, guidkey: *const ::windows::core::GUID, pwszvalue: &mut [u16], pcchlength: *mut u32) -> ::windows::core::Result<()> { @@ -46563,7 +46563,7 @@ impl IMFVirtualCamera { (::windows::core::Interface::vtable(self).base__.GetAllocatedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(ppwszvalue), ::core::mem::transmute(pcchlength)).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBlobSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlob(&self, guidkey: *const ::windows::core::GUID, pbuf: &mut [u8], pcbblobsize: *mut u32) -> ::windows::core::Result<()> { @@ -46624,7 +46624,7 @@ impl IMFVirtualCamera { (::windows::core::Interface::vtable(self).base__.UnlockStore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -46669,7 +46669,7 @@ impl IMFVirtualCamera { (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetMediaSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendCameraProperty(&self, propertyset: *const ::windows::core::GUID, propertyid: u32, propertyflags: u32, propertypayload: *mut ::core::ffi::c_void, propertypayloadlength: u32, data: *mut ::core::ffi::c_void, datalength: u32, datawritten: *mut u32) -> ::windows::core::Result<()> { @@ -46681,7 +46681,7 @@ impl IMFVirtualCamera { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSyncEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(kseventset), kseventid, kseventflags, eventhandle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46690,7 +46690,7 @@ impl IMFVirtualCamera { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSyncSemaphore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(kseventset), kseventid, kseventflags, semaphorehandle.into(), semaphoreadjustment, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shutdown(&self) -> ::windows::core::Result<()> { @@ -46806,7 +46806,7 @@ impl IMFWorkQueueServices { (::windows::core::Interface::vtable(self).GetTopologyWorkQueueMMCSSClass)(::windows::core::Interface::as_raw(self), dwtopologyworkqueueid, ::core::mem::transmute(pwszclass), ::core::mem::transmute(pcchclass)).ok() } pub unsafe fn GetTopologyWorkQueueMMCSSTaskId(&self, dwtopologyworkqueueid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTopologyWorkQueueMMCSSTaskId)(::windows::core::Interface::as_raw(self), dwtopologyworkqueueid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginRegisterPlatformWorkQueueWithMMCSS<'a, P0, P1, P2>(&self, dwplatformworkqueue: u32, wszclass: P0, dwtaskid: u32, pcallback: P1, pstate: P2) -> ::windows::core::Result<()> @@ -46821,7 +46821,7 @@ impl IMFWorkQueueServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndRegisterPlatformWorkQueueWithMMCSS)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginUnregisterPlatformWorkQueueWithMMCSS<'a, P0, P1>(&self, dwplatformworkqueue: u32, pcallback: P0, pstate: P1) -> ::windows::core::Result<()> @@ -46841,7 +46841,7 @@ impl IMFWorkQueueServices { (::windows::core::Interface::vtable(self).GetPlaftormWorkQueueMMCSSClass)(::windows::core::Interface::as_raw(self), dwplatformworkqueueid, ::core::mem::transmute(pwszclass), ::core::mem::transmute(pcchclass)).ok() } pub unsafe fn GetPlatformWorkQueueMMCSSTaskId(&self, dwplatformworkqueueid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPlatformWorkQueueMMCSSTaskId)(::windows::core::Interface::as_raw(self), dwplatformworkqueueid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46931,7 +46931,7 @@ impl IMFWorkQueueServicesEx { (::windows::core::Interface::vtable(self).base__.GetTopologyWorkQueueMMCSSClass)(::windows::core::Interface::as_raw(self), dwtopologyworkqueueid, ::core::mem::transmute(pwszclass), ::core::mem::transmute(pcchclass)).ok() } pub unsafe fn GetTopologyWorkQueueMMCSSTaskId(&self, dwtopologyworkqueueid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTopologyWorkQueueMMCSSTaskId)(::windows::core::Interface::as_raw(self), dwtopologyworkqueueid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginRegisterPlatformWorkQueueWithMMCSS<'a, P0, P1, P2>(&self, dwplatformworkqueue: u32, wszclass: P0, dwtaskid: u32, pcallback: P1, pstate: P2) -> ::windows::core::Result<()> @@ -46946,7 +46946,7 @@ impl IMFWorkQueueServicesEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMFAsyncResult>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndRegisterPlatformWorkQueueWithMMCSS)(::windows::core::Interface::as_raw(self), presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginUnregisterPlatformWorkQueueWithMMCSS<'a, P0, P1>(&self, dwplatformworkqueue: u32, pcallback: P0, pstate: P1) -> ::windows::core::Result<()> @@ -46966,11 +46966,11 @@ impl IMFWorkQueueServicesEx { (::windows::core::Interface::vtable(self).base__.GetPlaftormWorkQueueMMCSSClass)(::windows::core::Interface::as_raw(self), dwplatformworkqueueid, ::core::mem::transmute(pwszclass), ::core::mem::transmute(pcchclass)).ok() } pub unsafe fn GetPlatformWorkQueueMMCSSTaskId(&self, dwplatformworkqueueid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPlatformWorkQueueMMCSSTaskId)(::windows::core::Interface::as_raw(self), dwplatformworkqueueid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTopologyWorkQueueMMCSSPriority(&self, dwtopologyworkqueueid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTopologyWorkQueueMMCSSPriority)(::windows::core::Interface::as_raw(self), dwtopologyworkqueueid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginRegisterPlatformWorkQueueWithMMCSSEx<'a, P0, P1, P2>(&self, dwplatformworkqueue: u32, wszclass: P0, dwtaskid: u32, lpriority: i32, pcallback: P1, pstate: P2) -> ::windows::core::Result<()> @@ -46982,7 +46982,7 @@ impl IMFWorkQueueServicesEx { (::windows::core::Interface::vtable(self).BeginRegisterPlatformWorkQueueWithMMCSSEx)(::windows::core::Interface::as_raw(self), dwplatformworkqueue, wszclass.into(), dwtaskid, lpriority, pcallback.into().abi(), pstate.into().abi()).ok() } pub unsafe fn GetPlatformWorkQueueMMCSSPriority(&self, dwplatformworkqueueid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPlatformWorkQueueMMCSSPriority)(::windows::core::Interface::as_raw(self), dwplatformworkqueueid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47055,11 +47055,11 @@ impl IOPMVideoOutput { (::windows::core::Interface::vtable(self).FinishInitialization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pparameters)).ok() } pub unsafe fn GetInformation(&self, pparameters: *const OPM_GET_INFO_PARAMETERS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pparameters), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn COPPCompatibleGetInformation(&self, pparameters: *const OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).COPPCompatibleGetInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pparameters), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Configure(&self, pparameters: *const OPM_CONFIGURE_PARAMETERS, uladditionalparameterssize: u32, pbadditionalparameters: *const u8) -> ::windows::core::Result<()> { @@ -47181,7 +47181,7 @@ impl IPlayToControlWithCapabilities { (::windows::core::Interface::vtable(self).base__.Disconnect)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47249,7 +47249,7 @@ impl IPlayToSourceClassFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IPlayToControl>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), dwflags, pcontrol.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IInspectable>(result__) } } @@ -47323,7 +47323,7 @@ impl IToc { (::windows::core::Interface::vtable(self).GetEntryListCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwcount)).ok() } pub unsafe fn GetEntryListByIndex(&self, wentrylistindex: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntryListByIndex)(::windows::core::Interface::as_raw(self), wentrylistindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEntryList<'a, P0>(&self, pentrylist: P0, pwentrylistindex: *mut u16) -> ::windows::core::Result<()> @@ -47401,7 +47401,7 @@ impl ITocCollection { (::windows::core::Interface::vtable(self).GetEntryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwentrycount)).ok() } pub unsafe fn GetEntryByIndex(&self, dwentryindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntryByIndex)(::windows::core::Interface::as_raw(self), dwentryindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEntry<'a, P0>(&self, ptoc: P0, pdwentryindex: *mut u32) -> ::windows::core::Result<()> @@ -47553,7 +47553,7 @@ impl ITocEntryList { (::windows::core::Interface::vtable(self).GetEntryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwentrycount)).ok() } pub unsafe fn GetEntryByIndex(&self, dwentryindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntryByIndex)(::windows::core::Interface::as_raw(self), dwentryindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEntry<'a, P0>(&self, pentry: P0, pdwentryindex: *mut u32) -> ::windows::core::Result<()> @@ -47631,11 +47631,11 @@ impl ITocParser { (::windows::core::Interface::vtable(self).GetTocCount)(::windows::core::Interface::as_raw(self), enumtocpostype, ::core::mem::transmute(pdwtoccount)).ok() } pub unsafe fn GetTocByIndex(&self, enumtocpostype: TOC_POS_TYPE, dwtocindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTocByIndex)(::windows::core::Interface::as_raw(self), enumtocpostype, dwtocindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTocByType(&self, enumtocpostype: TOC_POS_TYPE, guidtoctype: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTocByType)(::windows::core::Interface::as_raw(self), enumtocpostype, ::core::mem::transmute(guidtoctype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddToc<'a, P0>(&self, enumtocpostype: TOC_POS_TYPE, ptoc: P0, pdwtocindex: *mut u32) -> ::windows::core::Result<()> @@ -49095,7 +49095,7 @@ impl ::core::fmt::Debug for MFASF_STREAMSELECTOR_FLAGS { pub struct MFASYNCRESULT(::windows::core::IUnknown); impl MFASYNCRESULT { pub unsafe fn GetState(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result<()> { @@ -49105,7 +49105,7 @@ impl MFASYNCRESULT { (::windows::core::Interface::vtable(self).base__.SetStatus)(::windows::core::Interface::as_raw(self), hrstatus).ok() } pub unsafe fn GetObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetStateNoAddRef(&self) -> ::core::option::Option<::windows::core::IUnknown> { @@ -49267,7 +49267,7 @@ where extern "system" { fn MFAddPeriodicCallback(callback: *mut ::core::ffi::c_void, pcontext: *mut ::core::ffi::c_void, pdwkey: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFAddPeriodicCallback(::core::mem::transmute(callback), pcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -49277,7 +49277,7 @@ pub unsafe fn MFAllocateSerialWorkQueue(dwworkqueue: u32) -> ::windows::core::Re extern "system" { fn MFAllocateSerialWorkQueue(dwworkqueue: u32, pdwworkqueue: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFAllocateSerialWorkQueue(dwworkqueue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -49287,7 +49287,7 @@ pub unsafe fn MFAllocateWorkQueue() -> ::windows::core::Result { extern "system" { fn MFAllocateWorkQueue(pdwworkqueue: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFAllocateWorkQueue(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -49297,7 +49297,7 @@ pub unsafe fn MFAllocateWorkQueueEx(workqueuetype: MFASYNC_WORKQUEUE_TYPE) -> :: extern "system" { fn MFAllocateWorkQueueEx(workqueuetype: MFASYNC_WORKQUEUE_TYPE, pdwworkqueue: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFAllocateWorkQueueEx(workqueuetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -49511,7 +49511,7 @@ where extern "system" { fn MFBeginCreateFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE_OPENMODE, fflags: MF_FILE_FLAGS, pwszfilepath: ::windows::core::PCWSTR, pcallback: *mut ::core::ffi::c_void, pstate: *mut ::core::ffi::c_void, ppcancelcookie: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFBeginCreateFile(accessmode, openmode, fflags, pwszfilepath.into(), pcallback.into().abi(), pstate.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -49844,7 +49844,7 @@ pub unsafe fn MFCalculateImageSize(guidsubtype: *const ::windows::core::GUID, un extern "system" { fn MFCalculateImageSize(guidsubtype: *const ::windows::core::GUID, unwidth: u32, unheight: u32, pcbimagesize: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCalculateImageSize(::core::mem::transmute(guidsubtype), unwidth, unheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -50168,7 +50168,7 @@ where extern "system" { fn MFCombineSamples(psample: *mut ::core::ffi::c_void, psampletoadd: *mut ::core::ffi::c_void, dwmaxmergeddurationinms: u32, pmerged: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCombineSamples(psample.into().abi(), psampletoadd.into().abi(), dwmaxmergeddurationinms, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -50243,7 +50243,7 @@ where extern "system" { fn MFCreate2DMediaBuffer(dwwidth: u32, dwheight: u32, dwfourcc: u32, fbottomup: super::super::Foundation::BOOL, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreate2DMediaBuffer(dwwidth, dwheight, dwfourcc, fbottomup.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50258,7 +50258,7 @@ where extern "system" { fn MFCreate3GPMediaSink(pibytestream: *mut ::core::ffi::c_void, pvideomediatype: *mut ::core::ffi::c_void, paudiomediatype: *mut ::core::ffi::c_void, ppimediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreate3GPMediaSink(pibytestream.into().abi(), pvideomediatype.into().abi(), paudiomediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50272,7 +50272,7 @@ where extern "system" { fn MFCreateAC3MediaSink(ptargetbytestream: *mut ::core::ffi::c_void, paudiomediatype: *mut ::core::ffi::c_void, ppmediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateAC3MediaSink(ptargetbytestream.into().abi(), paudiomediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50286,7 +50286,7 @@ where extern "system" { fn MFCreateADTSMediaSink(ptargetbytestream: *mut ::core::ffi::c_void, paudiomediatype: *mut ::core::ffi::c_void, ppmediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateADTSMediaSink(ptargetbytestream.into().abi(), paudiomediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -50309,7 +50309,7 @@ pub unsafe fn MFCreateASFContentInfo() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFContentInfo(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50319,7 +50319,7 @@ pub unsafe fn MFCreateASFIndexer() -> ::windows::core::Result { extern "system" { fn MFCreateASFIndexer(ppiindexer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFIndexer(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50332,7 +50332,7 @@ where extern "system" { fn MFCreateASFIndexerByteStream(picontentbytestream: *mut ::core::ffi::c_void, cbindexstartoffset: u64, piindexbytestream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFIndexerByteStream(picontentbytestream.into().abi(), cbindexstartoffset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50345,7 +50345,7 @@ where extern "system" { fn MFCreateASFMediaSink(pibytestream: *mut ::core::ffi::c_void, ppimediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFMediaSink(pibytestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50359,7 +50359,7 @@ where extern "system" { fn MFCreateASFMediaSinkActivate(pwszfilename: ::windows::core::PCWSTR, pcontentinfo: *mut ::core::ffi::c_void, ppiactivate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFMediaSinkActivate(pwszfilename.into(), pcontentinfo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50369,7 +50369,7 @@ pub unsafe fn MFCreateASFMultiplexer() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFMultiplexer(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50379,7 +50379,7 @@ pub unsafe fn MFCreateASFProfile() -> ::windows::core::Result { extern "system" { fn MFCreateASFProfile(ppiprofile: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFProfile(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50392,7 +50392,7 @@ where extern "system" { fn MFCreateASFProfileFromPresentationDescriptor(pipd: *mut ::core::ffi::c_void, ppiprofile: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFProfileFromPresentationDescriptor(pipd.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50402,7 +50402,7 @@ pub unsafe fn MFCreateASFSplitter() -> ::windows::core::Result { extern "system" { fn MFCreateASFSplitter(ppisplitter: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFSplitter(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50415,7 +50415,7 @@ where extern "system" { fn MFCreateASFStreamSelector(piasfprofile: *mut ::core::ffi::c_void, ppselector: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFStreamSelector(piasfprofile.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50428,7 +50428,7 @@ where extern "system" { fn MFCreateASFStreamingMediaSink(pibytestream: *mut ::core::ffi::c_void, ppimediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFStreamingMediaSink(pibytestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50442,7 +50442,7 @@ where extern "system" { fn MFCreateASFStreamingMediaSinkActivate(pbytestreamactivate: *mut ::core::ffi::c_void, pcontentinfo: *mut ::core::ffi::c_void, ppiactivate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateASFStreamingMediaSinkActivate(pbytestreamactivate.into().abi(), pcontentinfo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50457,7 +50457,7 @@ where extern "system" { fn MFCreateAVIMediaSink(pibytestream: *mut ::core::ffi::c_void, pvideomediatype: *mut ::core::ffi::c_void, paudiomediatype: *mut ::core::ffi::c_void, ppimediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateAVIMediaSink(pibytestream.into().abi(), pvideomediatype.into().abi(), paudiomediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50470,7 +50470,7 @@ where extern "system" { fn MFCreateAggregateSource(psourcecollection: *mut ::core::ffi::c_void, ppaggsource: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateAggregateSource(psourcecollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50480,7 +50480,7 @@ pub unsafe fn MFCreateAlignedMemoryBuffer(cbmaxlength: u32, cbaligment: u32) -> extern "system" { fn MFCreateAlignedMemoryBuffer(cbmaxlength: u32, cbaligment: u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateAlignedMemoryBuffer(cbmaxlength, cbaligment, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50495,7 +50495,7 @@ where extern "system" { fn MFCreateAsyncResult(punkobject: *mut ::core::ffi::c_void, pcallback: *mut ::core::ffi::c_void, punkstate: *mut ::core::ffi::c_void, ppasyncresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateAsyncResult(punkobject.into().abi(), pcallback.into().abi(), punkstate.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50515,7 +50515,7 @@ pub unsafe fn MFCreateAudioMediaType(paudioformat: *const super::Audio::WAVEFORM extern "system" { fn MFCreateAudioMediaType(paudioformat: *const super::Audio::WAVEFORMATEX, ppiaudiomediatype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateAudioMediaType(::core::mem::transmute(paudioformat), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50528,7 +50528,7 @@ where extern "system" { fn MFCreateAudioRenderer(paudioattributes: *mut ::core::ffi::c_void, ppsink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateAudioRenderer(paudioattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50538,7 +50538,7 @@ pub unsafe fn MFCreateAudioRendererActivate() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateAudioRendererActivate(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50552,7 +50552,7 @@ where extern "system" { fn MFCreateCameraOcclusionStateMonitor(symboliclink: ::windows::core::PCWSTR, callback: *mut ::core::ffi::c_void, occlusionstatemonitor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateCameraOcclusionStateMonitor(symboliclink.into(), callback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50562,7 +50562,7 @@ pub unsafe fn MFCreateCollection() -> ::windows::core::Result { extern "system" { fn MFCreateCollection(ppimfcollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateCollection(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50576,7 +50576,7 @@ where extern "system" { fn MFCreateContentDecryptorContext(guidmediaprotectionsystemid: *const ::windows::core::GUID, pd3dmanager: *mut ::core::ffi::c_void, pcontentprotectiondevice: *mut ::core::ffi::c_void, ppcontentdecryptorcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateContentDecryptorContext(::core::mem::transmute(guidmediaprotectionsystemid), pd3dmanager.into().abi(), pcontentprotectiondevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50586,7 +50586,7 @@ pub unsafe fn MFCreateContentProtectionDevice(protectionsystemid: *const ::windo extern "system" { fn MFCreateContentProtectionDevice(protectionsystemid: *const ::windows::core::GUID, contentprotectiondevice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateContentProtectionDevice(::core::mem::transmute(protectionsystemid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50596,7 +50596,7 @@ pub unsafe fn MFCreateCredentialCache() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateCredentialCache(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] @@ -50633,7 +50633,7 @@ where extern "system" { fn MFCreateDXGISurfaceBuffer(riid: *const ::windows::core::GUID, punksurface: *mut ::core::ffi::c_void, usubresourceindex: u32, fbottomupwhenlinear: super::super::Foundation::BOOL, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateDXGISurfaceBuffer(::core::mem::transmute(riid), punksurface.into().abi(), usubresourceindex, fbottomupwhenlinear.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -50648,7 +50648,7 @@ where extern "system" { fn MFCreateDXSurfaceBuffer(riid: *const ::windows::core::GUID, punksurface: *mut ::core::ffi::c_void, fbottomupwhenlinear: super::super::Foundation::BOOL, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateDXSurfaceBuffer(::core::mem::transmute(riid), punksurface.into().abi(), fbottomupwhenlinear.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50661,7 +50661,7 @@ where extern "system" { fn MFCreateDeviceSource(pattributes: *mut ::core::ffi::c_void, ppsource: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateDeviceSource(pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50674,7 +50674,7 @@ where extern "system" { fn MFCreateDeviceSourceActivate(pattributes: *mut ::core::ffi::c_void, ppactivate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateDeviceSourceActivate(pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] @@ -50690,7 +50690,7 @@ where extern "system" { fn MFCreateEncryptedMediaExtensionsStoreActivate(pmphost: *mut ::core::ffi::c_void, objectstream: *mut ::core::ffi::c_void, classid: ::windows::core::PCWSTR, activate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateEncryptedMediaExtensionsStoreActivate(pmphost.into().abi(), objectstream.into().abi(), classid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50700,7 +50700,7 @@ pub unsafe fn MFCreateEventQueue() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateEventQueue(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50710,7 +50710,7 @@ pub unsafe fn MFCreateExtendedCameraIntrinsicModel(distortionmodeltype: MFCamera extern "system" { fn MFCreateExtendedCameraIntrinsicModel(distortionmodeltype: MFCameraIntrinsic_DistortionModelType, ppextendedcameraintrinsicmodel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateExtendedCameraIntrinsicModel(distortionmodeltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50720,7 +50720,7 @@ pub unsafe fn MFCreateExtendedCameraIntrinsics() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateExtendedCameraIntrinsics(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50735,7 +50735,7 @@ where extern "system" { fn MFCreateFMPEG4MediaSink(pibytestream: *mut ::core::ffi::c_void, pvideomediatype: *mut ::core::ffi::c_void, paudiomediatype: *mut ::core::ffi::c_void, ppimediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateFMPEG4MediaSink(pibytestream.into().abi(), pvideomediatype.into().abi(), paudiomediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50748,7 +50748,7 @@ where extern "system" { fn MFCreateFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE_OPENMODE, fflags: MF_FILE_FLAGS, pwszfileurl: ::windows::core::PCWSTR, ppibytestream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateFile(accessmode, openmode, fflags, pwszfileurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_DxMediaObjects\"`*"] @@ -50763,7 +50763,7 @@ where extern "system" { fn MFCreateLegacyMediaBufferOnMFMediaBuffer(psample: *mut ::core::ffi::c_void, pmfmediabuffer: *mut ::core::ffi::c_void, cboffset: u32, ppmediabuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateLegacyMediaBufferOnMFMediaBuffer(psample.into().abi(), pmfmediabuffer.into().abi(), cboffset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] @@ -50777,7 +50777,7 @@ where extern "system" { fn MFCreateMFByteStreamOnStream(pstream: *mut ::core::ffi::c_void, ppbytestream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMFByteStreamOnStream(pstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50790,7 +50790,7 @@ where extern "system" { fn MFCreateMFByteStreamOnStreamEx(punkstream: *mut ::core::ffi::c_void, ppbytestream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMFByteStreamOnStreamEx(punkstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50803,7 +50803,7 @@ where extern "system" { fn MFCreateMFByteStreamWrapper(pstream: *mut ::core::ffi::c_void, ppstreamwrapper: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMFByteStreamWrapper(pstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -50829,7 +50829,7 @@ where extern "system" { fn MFCreateMP3MediaSink(ptargetbytestream: *mut ::core::ffi::c_void, ppmediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMP3MediaSink(ptargetbytestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50844,7 +50844,7 @@ where extern "system" { fn MFCreateMPEG4MediaSink(pibytestream: *mut ::core::ffi::c_void, pvideomediatype: *mut ::core::ffi::c_void, paudiomediatype: *mut ::core::ffi::c_void, ppimediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMPEG4MediaSink(pibytestream.into().abi(), pvideomediatype.into().abi(), paudiomediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50857,7 +50857,7 @@ where extern "system" { fn MFCreateMediaBufferFromMediaType(pmediatype: *mut ::core::ffi::c_void, llduration: i64, dwminlength: u32, dwminalignment: u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMediaBufferFromMediaType(pmediatype.into().abi(), llduration, dwminlength, dwminalignment, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50870,7 +50870,7 @@ where extern "system" { fn MFCreateMediaBufferWrapper(pbuffer: *mut ::core::ffi::c_void, cboffset: u32, dwlength: u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMediaBufferWrapper(pbuffer.into().abi(), cboffset, dwlength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -50881,7 +50881,7 @@ pub unsafe fn MFCreateMediaEvent(met: u32, guidextendedtype: *const ::windows::c extern "system" { fn MFCreateMediaEvent(met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, ppevent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMediaEvent(met, ::core::mem::transmute(guidextendedtype), hrstatus, ::core::mem::transmute(pvvalue), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50907,7 +50907,7 @@ where extern "system" { fn MFCreateMediaSession(pconfiguration: *mut ::core::ffi::c_void, ppmediasession: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMediaSession(pconfiguration.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50917,7 +50917,7 @@ pub unsafe fn MFCreateMediaType() -> ::windows::core::Result { extern "system" { fn MFCreateMediaType(ppmftype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMediaType(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50930,7 +50930,7 @@ where extern "system" { fn MFCreateMediaTypeFromProperties(punkstream: *mut ::core::ffi::c_void, ppmediatype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMediaTypeFromProperties(punkstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50940,7 +50940,7 @@ pub unsafe fn MFCreateMediaTypeFromRepresentation(guidrepresentation: ::windows: extern "system" { fn MFCreateMediaTypeFromRepresentation(guidrepresentation: ::windows::core::GUID, pvrepresentation: *const ::core::ffi::c_void, ppimediatype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMediaTypeFromRepresentation(::core::mem::transmute(guidrepresentation), ::core::mem::transmute(pvrepresentation), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50950,7 +50950,7 @@ pub unsafe fn MFCreateMemoryBuffer(cbmaxlength: u32) -> ::windows::core::Result< extern "system" { fn MFCreateMemoryBuffer(cbmaxlength: u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMemoryBuffer(cbmaxlength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50964,7 +50964,7 @@ where extern "system" { fn MFCreateMuxSink(guidoutputsubtype: ::windows::core::GUID, poutputattributes: *mut ::core::ffi::c_void, poutputbytestream: *mut ::core::ffi::c_void, ppmuxsink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMuxSink(::core::mem::transmute(guidoutputsubtype), poutputattributes.into().abi(), poutputbytestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50977,7 +50977,7 @@ where extern "system" { fn MFCreateMuxStreamAttributes(pattributestomux: *mut ::core::ffi::c_void, ppmuxattribs: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMuxStreamAttributes(pattributestomux.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -50990,7 +50990,7 @@ where extern "system" { fn MFCreateMuxStreamMediaType(pmediatypestomux: *mut ::core::ffi::c_void, ppmuxmediatype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMuxStreamMediaType(pmediatypestomux.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51003,7 +51003,7 @@ where extern "system" { fn MFCreateMuxStreamSample(psamplestomux: *mut ::core::ffi::c_void, ppmuxsample: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateMuxStreamSample(psamplestomux.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51034,7 +51034,7 @@ pub unsafe fn MFCreatePMPServer(dwcreationflags: u32) -> ::windows::core::Result extern "system" { fn MFCreatePMPServer(dwcreationflags: u32, pppmpserver: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreatePMPServer(dwcreationflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51044,7 +51044,7 @@ pub unsafe fn MFCreatePresentationClock() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreatePresentationClock(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51054,7 +51054,7 @@ pub unsafe fn MFCreatePresentationDescriptor(apstreamdescriptors: &[::core::opti extern "system" { fn MFCreatePresentationDescriptor(cstreamdescriptors: u32, apstreamdescriptors: *const *mut ::core::ffi::c_void, pppresentationdescriptor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreatePresentationDescriptor(apstreamdescriptors.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(apstreamdescriptors)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51067,7 +51067,7 @@ where extern "system" { fn MFCreatePresentationDescriptorFromASFProfile(piprofile: *mut ::core::ffi::c_void, ppipd: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreatePresentationDescriptorFromASFProfile(piprofile.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51089,7 +51089,7 @@ pub unsafe fn MFCreateProtectedEnvironmentAccess() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateProtectedEnvironmentAccess(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -51104,7 +51104,7 @@ where extern "system" { fn MFCreateProxyLocator(pszprotocol: ::windows::core::PCWSTR, pproxyconfig: *mut ::core::ffi::c_void, ppproxylocator: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateProxyLocator(pszprotocol.into(), pproxyconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51118,7 +51118,7 @@ where extern "system" { fn MFCreateRelativePanelWatcher(videodeviceid: ::windows::core::PCWSTR, displaymonitordeviceid: ::windows::core::PCWSTR, pprelativepanelwatcher: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateRelativePanelWatcher(videodeviceid.into(), displaymonitordeviceid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51128,7 +51128,7 @@ pub unsafe fn MFCreateRemoteDesktopPlugin() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateRemoteDesktopPlugin(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51138,7 +51138,7 @@ pub unsafe fn MFCreateSample() -> ::windows::core::Result { extern "system" { fn MFCreateSample(ppimfsample: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSample(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51148,7 +51148,7 @@ pub unsafe fn MFCreateSampleCopierMFT() -> ::windows::core::Result extern "system" { fn MFCreateSampleCopierMFT(ppcopiermft: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSampleCopierMFT(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51162,7 +51162,7 @@ where extern "system" { fn MFCreateSampleGrabberSinkActivate(pimfmediatype: *mut ::core::ffi::c_void, pimfsamplegrabbersinkcallback: *mut ::core::ffi::c_void, ppiactivate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSampleGrabberSinkActivate(pimfmediatype.into().abi(), pimfsamplegrabbersinkcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51175,7 +51175,7 @@ where extern "system" { fn MFCreateSensorActivityMonitor(pcallback: *mut ::core::ffi::c_void, ppactivitymonitor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSensorActivityMonitor(pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51188,7 +51188,7 @@ where extern "system" { fn MFCreateSensorGroup(sensorgroupsymboliclink: ::windows::core::PCWSTR, ppsensorgroup: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSensorGroup(sensorgroupsymboliclink.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51201,7 +51201,7 @@ where extern "system" { fn MFCreateSensorProfile(profiletype: *const ::windows::core::GUID, profileindex: u32, constraints: ::windows::core::PCWSTR, ppprofile: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSensorProfile(::core::mem::transmute(profiletype), profileindex, constraints.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51211,7 +51211,7 @@ pub unsafe fn MFCreateSensorProfileCollection() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSensorProfileCollection(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51225,7 +51225,7 @@ where extern "system" { fn MFCreateSensorStream(streamid: u32, pattributes: *mut ::core::ffi::c_void, pmediatypecollection: *mut ::core::ffi::c_void, ppstream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSensorStream(streamid, pattributes.into().abi(), pmediatypecollection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -51236,7 +51236,7 @@ pub unsafe fn MFCreateSequencerSegmentOffset(dwid: u32, hnsoffset: i64) -> ::win extern "system" { fn MFCreateSequencerSegmentOffset(dwid: u32, hnsoffset: i64, pvarsegmentoffset: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSequencerSegmentOffset(dwid, hnsoffset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51249,7 +51249,7 @@ where extern "system" { fn MFCreateSequencerSource(preserved: *mut ::core::ffi::c_void, ppsequencersource: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSequencerSource(preserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51259,7 +51259,7 @@ pub unsafe fn MFCreateSimpleTypeHandler() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSimpleTypeHandler(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51273,7 +51273,7 @@ where extern "system" { fn MFCreateSinkWriterFromMediaSink(pmediasink: *mut ::core::ffi::c_void, pattributes: *mut ::core::ffi::c_void, ppsinkwriter: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSinkWriterFromMediaSink(pmediasink.into().abi(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51288,7 +51288,7 @@ where extern "system" { fn MFCreateSinkWriterFromURL(pwszoutputurl: ::windows::core::PCWSTR, pbytestream: *mut ::core::ffi::c_void, pattributes: *mut ::core::ffi::c_void, ppsinkwriter: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSinkWriterFromURL(pwszoutputurl.into(), pbytestream.into().abi(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51302,7 +51302,7 @@ where extern "system" { fn MFCreateSourceReaderFromByteStream(pbytestream: *mut ::core::ffi::c_void, pattributes: *mut ::core::ffi::c_void, ppsourcereader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSourceReaderFromByteStream(pbytestream.into().abi(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51316,7 +51316,7 @@ where extern "system" { fn MFCreateSourceReaderFromMediaSource(pmediasource: *mut ::core::ffi::c_void, pattributes: *mut ::core::ffi::c_void, ppsourcereader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSourceReaderFromMediaSource(pmediasource.into().abi(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51330,7 +51330,7 @@ where extern "system" { fn MFCreateSourceReaderFromURL(pwszurl: ::windows::core::PCWSTR, pattributes: *mut ::core::ffi::c_void, ppsourcereader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSourceReaderFromURL(pwszurl.into(), pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51340,7 +51340,7 @@ pub unsafe fn MFCreateSourceResolver() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSourceResolver(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51350,7 +51350,7 @@ pub unsafe fn MFCreateStandardQualityManager() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateStandardQualityManager(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51360,7 +51360,7 @@ pub unsafe fn MFCreateStreamDescriptor(dwstreamidentifier: u32, apmediatypes: &[ extern "system" { fn MFCreateStreamDescriptor(dwstreamidentifier: u32, cmediatypes: u32, apmediatypes: *const *mut ::core::ffi::c_void, ppdescriptor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateStreamDescriptor(dwstreamidentifier, apmediatypes.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(apmediatypes)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] @@ -51374,7 +51374,7 @@ where extern "system" { fn MFCreateStreamOnMFByteStream(pbytestream: *mut ::core::ffi::c_void, ppstream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateStreamOnMFByteStream(pbytestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51396,7 +51396,7 @@ pub unsafe fn MFCreateSystemTimeSource() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateSystemTimeSource(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51406,7 +51406,7 @@ pub unsafe fn MFCreateTempFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE extern "system" { fn MFCreateTempFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE_OPENMODE, fflags: MF_FILE_FLAGS, ppibytestream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTempFile(accessmode, openmode, fflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51416,7 +51416,7 @@ pub unsafe fn MFCreateTopoLoader() -> ::windows::core::Result { extern "system" { fn MFCreateTopoLoader(ppobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTopoLoader(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51426,7 +51426,7 @@ pub unsafe fn MFCreateTopology() -> ::windows::core::Result { extern "system" { fn MFCreateTopology(pptopo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTopology(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51436,7 +51436,7 @@ pub unsafe fn MFCreateTopologyNode(nodetype: MF_TOPOLOGY_TYPE) -> ::windows::cor extern "system" { fn MFCreateTopologyNode(nodetype: MF_TOPOLOGY_TYPE, ppnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTopologyNode(nodetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51446,7 +51446,7 @@ pub unsafe fn MFCreateTrackedSample() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTrackedSample(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51456,7 +51456,7 @@ pub unsafe fn MFCreateTranscodeProfile() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTranscodeProfile(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51466,7 +51466,7 @@ pub unsafe fn MFCreateTranscodeSinkActivate() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTranscodeSinkActivate(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51481,7 +51481,7 @@ where extern "system" { fn MFCreateTranscodeTopology(psrc: *mut ::core::ffi::c_void, pwszoutputfilepath: ::windows::core::PCWSTR, pprofile: *mut ::core::ffi::c_void, pptranscodetopo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTranscodeTopology(psrc.into().abi(), pwszoutputfilepath.into(), pprofile.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51496,7 +51496,7 @@ where extern "system" { fn MFCreateTranscodeTopologyFromByteStream(psrc: *mut ::core::ffi::c_void, poutputstream: *mut ::core::ffi::c_void, pprofile: *mut ::core::ffi::c_void, pptranscodetopo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTranscodeTopologyFromByteStream(psrc.into().abi(), poutputstream.into().abi(), pprofile.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51506,7 +51506,7 @@ pub unsafe fn MFCreateTransformActivate() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateTransformActivate(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -51517,7 +51517,7 @@ pub unsafe fn MFCreateVideoMediaType(pvideoformat: *const MFVIDEOFORMAT) -> ::wi extern "system" { fn MFCreateVideoMediaType(pvideoformat: *const MFVIDEOFORMAT, ppivideomediatype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateVideoMediaType(::core::mem::transmute(pvideoformat), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -51528,7 +51528,7 @@ pub unsafe fn MFCreateVideoMediaTypeFromBitMapInfoHeader(pbmihbitmapinfoheader: extern "system" { fn MFCreateVideoMediaTypeFromBitMapInfoHeader(pbmihbitmapinfoheader: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, dwpixelaspectratiox: u32, dwpixelaspectratioy: u32, interlacemode: MFVideoInterlaceMode, videoflags: u64, qwframespersecondnumerator: u64, qwframesperseconddenominator: u64, dwmaxbitrate: u32, ppivideomediatype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateVideoMediaTypeFromBitMapInfoHeader(::core::mem::transmute(pbmihbitmapinfoheader), dwpixelaspectratiox, dwpixelaspectratioy, interlacemode, videoflags, qwframespersecondnumerator, qwframesperseconddenominator, dwmaxbitrate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -51539,7 +51539,7 @@ pub unsafe fn MFCreateVideoMediaTypeFromBitMapInfoHeaderEx(pbmihbitmapinfoheader extern "system" { fn MFCreateVideoMediaTypeFromBitMapInfoHeaderEx(pbmihbitmapinfoheader: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, cbbitmapinfoheader: u32, dwpixelaspectratiox: u32, dwpixelaspectratioy: u32, interlacemode: MFVideoInterlaceMode, videoflags: u64, dwframespersecondnumerator: u32, dwframesperseconddenominator: u32, dwmaxbitrate: u32, ppivideomediatype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateVideoMediaTypeFromBitMapInfoHeaderEx(::core::mem::transmute(pbmihbitmapinfoheader), cbbitmapinfoheader, dwpixelaspectratiox, dwpixelaspectratioy, interlacemode, videoflags, dwframespersecondnumerator, dwframesperseconddenominator, dwmaxbitrate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51549,7 +51549,7 @@ pub unsafe fn MFCreateVideoMediaTypeFromSubtype(pamsubtype: *const ::windows::co extern "system" { fn MFCreateVideoMediaTypeFromSubtype(pamsubtype: *const ::windows::core::GUID, ppivideomediatype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateVideoMediaTypeFromSubtype(::core::mem::transmute(pamsubtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51609,7 +51609,7 @@ where extern "system" { fn MFCreateVideoRendererActivate(hwndvideo: super::super::Foundation::HWND, ppactivate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateVideoRendererActivate(hwndvideo.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51640,7 +51640,7 @@ where extern "system" { fn MFCreateVideoSampleFromSurface(punksurface: *mut ::core::ffi::c_void, ppsample: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateVideoSampleFromSurface(punksurface.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51654,7 +51654,7 @@ where extern "system" { fn MFCreateVirtualCamera(r#type: MFVirtualCameraType, lifetime: MFVirtualCameraLifetime, access: MFVirtualCameraAccess, friendlyname: ::windows::core::PCWSTR, sourceid: ::windows::core::PCWSTR, categories: *const ::windows::core::GUID, categorycount: u32, virtualcamera: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateVirtualCamera(r#type, lifetime, access, friendlyname.into(), sourceid.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(categories)), categories.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51668,7 +51668,7 @@ where extern "system" { fn MFCreateWAVEMediaSink(ptargetbytestream: *mut ::core::ffi::c_void, paudiomediatype: *mut ::core::ffi::c_void, ppmediasink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateWAVEMediaSink(ptargetbytestream.into().abi(), paudiomediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51681,7 +51681,7 @@ where extern "system" { fn MFCreateWICBitmapBuffer(riid: *const ::windows::core::GUID, punksurface: *mut ::core::ffi::c_void, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateWICBitmapBuffer(::core::mem::transmute(riid), punksurface.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -51696,7 +51696,7 @@ where extern "system" { fn MFCreateWMAEncoderActivate(pmediatype: *mut ::core::ffi::c_void, pencodingconfigurationproperties: *mut ::core::ffi::c_void, ppactivate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateWMAEncoderActivate(pmediatype.into().abi(), pencodingconfigurationproperties.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -51711,7 +51711,7 @@ where extern "system" { fn MFCreateWMVEncoderActivate(pmediatype: *mut ::core::ffi::c_void, pencodingconfigurationproperties: *mut ::core::ffi::c_void, ppactivate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFCreateWMVEncoderActivate(pmediatype.into().abi(), pencodingconfigurationproperties.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_Audio\"`*"] @@ -51775,7 +51775,7 @@ pub unsafe fn MFDeserializePresentationDescriptor(pbdata: &[u8]) -> ::windows::c extern "system" { fn MFDeserializePresentationDescriptor(cbdata: u32, pbdata: *const u8, pppd: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFDeserializePresentationDescriptor(pbdata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbdata)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub const MFENABLETYPE_MF_RebootRequired: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6d4d3d4b_0ece_4652_8b3a_f2d24260d887); @@ -51796,7 +51796,7 @@ where extern "system" { fn MFEndCreateFile(presult: *mut ::core::ffi::c_void, ppfile: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFEndCreateFile(presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51809,7 +51809,7 @@ where extern "system" { fn MFEndRegisterWorkQueueWithMMCSS(presult: *mut ::core::ffi::c_void, pdwtaskid: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFEndRegisterWorkQueueWithMMCSS(presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51912,7 +51912,7 @@ pub unsafe fn MFFrameRateToAverageTimePerFrame(unnumerator: u32, undenominator: extern "system" { fn MFFrameRateToAverageTimePerFrame(unnumerator: u32, undenominator: u32, punaveragetimeperframe: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFFrameRateToAverageTimePerFrame(unnumerator, undenominator, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51970,7 +51970,7 @@ where extern "system" { fn MFGetAttributesAsBlobSize(pattributes: *mut ::core::ffi::c_void, pcbbufsize: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetAttributesAsBlobSize(pattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51980,7 +51980,7 @@ pub unsafe fn MFGetContentProtectionSystemCLSID(guidprotectionsystemid: *const : extern "system" { fn MFGetContentProtectionSystemCLSID(guidprotectionsystemid: *const ::windows::core::GUID, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetContentProtectionSystemCLSID(::core::mem::transmute(guidprotectionsystemid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -51990,7 +51990,7 @@ pub unsafe fn MFGetLocalId(verifier: *const u8, size: u32) -> ::windows::core::R extern "system" { fn MFGetLocalId(verifier: *const u8, size: u32, id: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetLocalId(::core::mem::transmute(verifier), size, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52003,7 +52003,7 @@ where extern "system" { fn MFGetMFTMerit(pmft: *mut ::core::ffi::c_void, cbverifier: u32, verifier: *const u8, merit: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetMFTMerit(pmft.into().abi(), cbverifier, ::core::mem::transmute(verifier), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52013,7 +52013,7 @@ pub unsafe fn MFGetPlaneSize(format: u32, dwwidth: u32, dwheight: u32) -> ::wind extern "system" { fn MFGetPlaneSize(format: u32, dwwidth: u32, dwheight: u32, pdwplanesize: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetPlaneSize(format, dwwidth, dwheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52023,7 +52023,7 @@ pub unsafe fn MFGetPluginControl() -> ::windows::core::Result extern "system" { fn MFGetPluginControl(ppplugincontrol: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetPluginControl(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52045,7 +52045,7 @@ pub unsafe fn MFGetStrideForBitmapInfoHeader(format: u32, dwwidth: u32) -> ::win extern "system" { fn MFGetStrideForBitmapInfoHeader(format: u32, dwwidth: u32, pstride: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetStrideForBitmapInfoHeader(format, dwwidth, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -52056,7 +52056,7 @@ pub unsafe fn MFGetSupportedMimeTypes() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetSupportedMimeTypes(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -52067,7 +52067,7 @@ pub unsafe fn MFGetSupportedSchemes() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetSupportedSchemes(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52077,7 +52077,7 @@ pub unsafe fn MFGetSystemId() -> ::windows::core::Result { extern "system" { fn MFGetSystemId(ppid: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetSystemId(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52096,7 +52096,7 @@ pub unsafe fn MFGetTimerPeriodicity() -> ::windows::core::Result { extern "system" { fn MFGetTimerPeriodicity(periodicity: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetTimerPeriodicity(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -52111,7 +52111,7 @@ where extern "system" { fn MFGetTopoNodeCurrentType(pnode: *mut ::core::ffi::c_void, dwstreamindex: u32, foutput: super::super::Foundation::BOOL, pptype: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetTopoNodeCurrentType(pnode.into().abi(), dwstreamindex, foutput.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -52140,7 +52140,7 @@ pub unsafe fn MFGetWorkQueueMMCSSPriority(dwworkqueueid: u32) -> ::windows::core extern "system" { fn MFGetWorkQueueMMCSSPriority(dwworkqueueid: u32, lpriority: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetWorkQueueMMCSSPriority(dwworkqueueid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52150,7 +52150,7 @@ pub unsafe fn MFGetWorkQueueMMCSSTaskId(dwworkqueueid: u32) -> ::windows::core:: extern "system" { fn MFGetWorkQueueMMCSSTaskId(dwworkqueueid: u32, pdwtaskid: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFGetWorkQueueMMCSSTaskId(dwworkqueueid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52401,7 +52401,7 @@ pub unsafe fn MFIsContentProtectionDeviceSupported(protectionsystemid: *const :: extern "system" { fn MFIsContentProtectionDeviceSupported(protectionsystemid: *const ::windows::core::GUID, issupported: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFIsContentProtectionDeviceSupported(::core::mem::transmute(protectionsystemid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -52422,7 +52422,7 @@ pub unsafe fn MFIsVirtualCameraTypeSupported(r#type: MFVirtualCameraType) -> ::w extern "system" { fn MFIsVirtualCameraTypeSupported(r#type: MFVirtualCameraType, supported: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFIsVirtualCameraTypeSupported(r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -52435,7 +52435,7 @@ where extern "system" { fn MFLoadSignedLibrary(pszname: ::windows::core::PCWSTR, pplib: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFLoadSignedLibrary(pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -53122,7 +53122,7 @@ where extern "system" { fn MFPCreateMediaPlayer(pwszurl: ::windows::core::PCWSTR, fstartplayback: super::super::Foundation::BOOL, creationoptions: MFP_CREATION_OPTIONS, pcallback: *mut ::core::ffi::c_void, hwnd: super::super::Foundation::HWND, ppmediaplayer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFPCreateMediaPlayer(pwszurl.into(), fstartplayback.into(), creationoptions, pcallback.into().abi(), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -53994,7 +53994,7 @@ where extern "system" { fn MFPutWaitingWorkItem(hevent: super::super::Foundation::HANDLE, priority: i32, presult: *mut ::core::ffi::c_void, pkey: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFPutWaitingWorkItem(hevent.into(), priority, presult.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -54541,7 +54541,7 @@ where extern "system" { fn MFScheduleWorkItem(pcallback: *mut ::core::ffi::c_void, pstate: *mut ::core::ffi::c_void, timeout: i64, pkey: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFScheduleWorkItem(pcallback.into().abi(), pstate.into().abi(), timeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -54554,7 +54554,7 @@ where extern "system" { fn MFScheduleWorkItemEx(presult: *mut ::core::ffi::c_void, timeout: i64, pkey: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFScheduleWorkItemEx(presult.into().abi(), timeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -55527,7 +55527,7 @@ where extern "system" { fn MFTranscodeGetAudioOutputAvailableTypes(guidsubtype: *const ::windows::core::GUID, dwmftflags: u32, pcodecconfig: *mut ::core::ffi::c_void, ppavailabletypes: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFTranscodeGetAudioOutputAvailableTypes(::core::mem::transmute(guidsubtype), dwmftflags, pcodecconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -55576,7 +55576,7 @@ where extern "system" { fn MFUnwrapMediaType(pwrap: *mut ::core::ffi::c_void, pporig: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFUnwrapMediaType(pwrap.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -56908,7 +56908,7 @@ where extern "system" { fn MFWrapMediaType(porig: *mut ::core::ffi::c_void, majortype: *const ::windows::core::GUID, subtype: *const ::windows::core::GUID, ppwrap: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MFWrapMediaType(porig.into().abi(), ::core::mem::transmute(majortype), ::core::mem::transmute(subtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -62108,7 +62108,7 @@ pub unsafe fn OPMGetVideoOutputForTarget(padapterluid: *const super::super::Foun extern "system" { fn OPMGetVideoOutputForTarget(padapterluid: *const super::super::Foundation::LUID, vidpntarget: u32, vos: OPM_VIDEO_OUTPUT_SEMANTICS, ppopmvideooutput: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OPMGetVideoOutputForTarget(::core::mem::transmute(padapterluid), vidpntarget, vos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Gdi\"`*"] 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 38760f7a16..82c25e26fe 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs @@ -1370,13 +1370,13 @@ impl IFeed { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Xml)(::windows::core::Interface::as_raw(self), count, sortproperty, sortorder, filterflags, includeflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1390,7 +1390,7 @@ impl IFeed { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1404,13 +1404,13 @@ impl IFeed { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1424,11 +1424,11 @@ impl IFeed { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWriteTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastWriteTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -1444,109 +1444,109 @@ impl IFeed { (::windows::core::Interface::vtable(self).CancelAsyncDownload)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SyncSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SyncSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncSetting(&self, syncsetting: FEEDS_SYNC_SETTING) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSyncSetting)(::windows::core::Interface::as_raw(self), syncsetting).ok() } pub unsafe fn Interval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Interval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterval(&self, minutes: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInterval)(::windows::core::Interface::as_raw(self), minutes).ok() } pub unsafe fn LastDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalEnclosurePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalEnclosurePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Items(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Items)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetItem(&self, itemid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), itemid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Link(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastBuildDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastBuildDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PubDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PubDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Ttl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ttl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Language(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Language)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Copyright(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Copyright)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaxItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxItemCount(&self, count: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxItemCount)(::windows::core::Interface::as_raw(self), count).ok() } pub unsafe fn DownloadEnclosuresAutomatically(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadEnclosuresAutomatically)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDownloadEnclosuresAutomatically(&self, downloadenclosuresautomatically: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDownloadEnclosuresAutomatically)(::windows::core::Interface::as_raw(self), downloadenclosuresautomatically).ok() } pub unsafe fn DownloadStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDownloadError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastDownloadError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1561,11 +1561,11 @@ impl IFeed { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MarkAllItemsRead(&self) -> ::windows::core::Result<()> { @@ -1574,15 +1574,15 @@ impl IFeed { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWatcher)(::windows::core::Interface::as_raw(self), scope, mask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnreadItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UnreadItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1769,13 +1769,13 @@ impl IFeed2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Xml)(::windows::core::Interface::as_raw(self), count, sortproperty, sortorder, filterflags, includeflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1789,7 +1789,7 @@ impl IFeed2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1803,13 +1803,13 @@ impl IFeed2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1823,11 +1823,11 @@ impl IFeed2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWriteTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastWriteTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -1843,109 +1843,109 @@ impl IFeed2 { (::windows::core::Interface::vtable(self).base__.CancelAsyncDownload)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SyncSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SyncSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncSetting(&self, syncsetting: FEEDS_SYNC_SETTING) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSyncSetting)(::windows::core::Interface::as_raw(self), syncsetting).ok() } pub unsafe fn Interval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Interval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterval(&self, minutes: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetInterval)(::windows::core::Interface::as_raw(self), minutes).ok() } pub unsafe fn LastDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalEnclosurePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalEnclosurePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Items(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Items)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetItem(&self, itemid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), itemid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Link(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastBuildDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastBuildDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PubDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PubDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Ttl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Ttl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Language(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Language)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Copyright(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Copyright)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaxItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxItemCount(&self, count: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaxItemCount)(::windows::core::Interface::as_raw(self), count).ok() } pub unsafe fn DownloadEnclosuresAutomatically(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadEnclosuresAutomatically)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDownloadEnclosuresAutomatically(&self, downloadenclosuresautomatically: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDownloadEnclosuresAutomatically)(::windows::core::Interface::as_raw(self), downloadenclosuresautomatically).ok() } pub unsafe fn DownloadStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDownloadError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastDownloadError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1960,11 +1960,11 @@ impl IFeed2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MarkAllItemsRead(&self) -> ::windows::core::Result<()> { @@ -1973,37 +1973,37 @@ impl IFeed2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWatcher)(::windows::core::Interface::as_raw(self), scope, mask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnreadItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UnreadItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetItemByEffectiveId(&self, itemeffectiveid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemByEffectiveId)(::windows::core::Interface::as_raw(self), itemeffectiveid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastItemDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastItemDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Username(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Username)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Password(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Password)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2131,17 +2131,17 @@ impl IFeedEnclosure { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AsyncDownload(&self) -> ::windows::core::Result<()> { @@ -2151,35 +2151,35 @@ impl IFeedEnclosure { (::windows::core::Interface::vtable(self).CancelAsyncDownload)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DownloadStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDownloadError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastDownloadError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadMimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadMimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveFile(&self) -> ::windows::core::Result<()> { @@ -2471,13 +2471,13 @@ impl IFeedFolder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Feeds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Feeds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Subfolders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subfolders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2487,7 +2487,7 @@ impl IFeedFolder { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFeed)(::windows::core::Interface::as_raw(self), feedname.into().abi(), feedurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2496,7 +2496,7 @@ impl IFeedFolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSubfolder)(::windows::core::Interface::as_raw(self), foldername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2505,7 +2505,7 @@ impl IFeedFolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExistsFeed)(::windows::core::Interface::as_raw(self), feedname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2514,7 +2514,7 @@ impl IFeedFolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFeed)(::windows::core::Interface::as_raw(self), feedname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2523,7 +2523,7 @@ impl IFeedFolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExistsSubfolder)(::windows::core::Interface::as_raw(self), foldername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2532,7 +2532,7 @@ impl IFeedFolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubfolder)(::windows::core::Interface::as_raw(self), foldername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -2541,7 +2541,7 @@ impl IFeedFolder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2555,7 +2555,7 @@ impl IFeedFolder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2569,25 +2569,25 @@ impl IFeedFolder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalUnreadItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalUnreadItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWatcher)(::windows::core::Interface::as_raw(self), scope, mask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2991,70 +2991,70 @@ impl IFeedItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Xml)(::windows::core::Interface::as_raw(self), includeflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Link(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Guid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Guid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PubDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PubDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Comments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Comments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Author(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Author)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Enclosure(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enclosure)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsRead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsRead(&self, isread: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIsRead)(::windows::core::Interface::as_raw(self), isread).ok() } pub unsafe fn LocalId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -3063,15 +3063,15 @@ impl IFeedItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3198,70 +3198,70 @@ impl IFeedItem2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Xml)(::windows::core::Interface::as_raw(self), includeflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Link(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Guid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Guid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PubDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PubDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Comments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Comments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Author(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Author)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Enclosure(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Enclosure)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsRead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsRead(&self, isread: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetIsRead)(::windows::core::Interface::as_raw(self), isread).ok() } pub unsafe fn LocalId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -3270,19 +3270,19 @@ impl IFeedItem2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EffectiveId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EffectiveId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3379,19 +3379,19 @@ pub struct IFeedsEnum(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeedsEnum { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3480,7 +3480,7 @@ impl IFeedsManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3489,7 +3489,7 @@ impl IFeedsManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSubscribed)(::windows::core::Interface::as_raw(self), feedurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3498,7 +3498,7 @@ impl IFeedsManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExistsFeed)(::windows::core::Interface::as_raw(self), feedpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3507,7 +3507,7 @@ impl IFeedsManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFeed)(::windows::core::Interface::as_raw(self), feedpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3516,7 +3516,7 @@ impl IFeedsManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFeedByUrl)(::windows::core::Interface::as_raw(self), feedurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3525,7 +3525,7 @@ impl IFeedsManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExistsFolder)(::windows::core::Interface::as_raw(self), folderpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3534,7 +3534,7 @@ impl IFeedsManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolder)(::windows::core::Interface::as_raw(self), folderpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3557,11 +3557,11 @@ impl IFeedsManager { (::windows::core::Interface::vtable(self).BackgroundSync)(::windows::core::Interface::as_raw(self), action).ok() } pub unsafe fn BackgroundSyncStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackgroundSyncStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultInterval(&self, minutes: i32) -> ::windows::core::Result<()> { @@ -3576,11 +3576,11 @@ impl IFeedsManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Normalize)(::windows::core::Interface::as_raw(self), feedxmlin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ItemCountLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemCountLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3781,7 +3781,7 @@ impl IWMPCdrom { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlist(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).playlist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn eject(&self) -> ::windows::core::Result<()> { @@ -3906,7 +3906,7 @@ impl IWMPCdromBurn { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn burnPlaylist(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).burnPlaylist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4020,7 +4020,7 @@ impl IWMPCdromCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4029,7 +4029,7 @@ impl IWMPCdromCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getByDriveSpecifier)(::windows::core::Interface::as_raw(self), bstrdrivespecifier.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4507,33 +4507,33 @@ pub struct IWMPClosedCaption2_Vtbl { pub struct IWMPContentContainer(::windows::core::IUnknown); impl IWMPContentContainer { pub unsafe fn GetID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPrice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetContentPrice(&self, idxcontent: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentPrice)(::windows::core::Interface::as_raw(self), idxcontent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContentID(&self, idxcontent: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentID)(::windows::core::Interface::as_raw(self), idxcontent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4597,15 +4597,15 @@ pub struct IWMPContentContainer_Vtbl { pub struct IWMPContentContainerList(::windows::core::IUnknown); impl IWMPContentContainerList { pub unsafe fn GetTransactionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransactionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainerCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainerCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainer(&self, idxcontainer: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainer)(::windows::core::Interface::as_raw(self), idxcontainer, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4673,7 +4673,7 @@ impl IWMPContentPartner { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemInfo)(::windows::core::Interface::as_raw(self), bstrinfoname.into().abi(), ::core::mem::transmute(pcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4682,7 +4682,7 @@ impl IWMPContentPartner { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentPartnerInfo)(::windows::core::Interface::as_raw(self), bstrinfoname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4720,7 +4720,7 @@ impl IWMPContentPartner { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetStreamingURL(&self, st: WMPStreamingType, pstreamcontext: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamingURL)(::windows::core::Interface::as_raw(self), st, ::core::mem::transmute(pstreamcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Download<'a, P0>(&self, pinfo: P0, cookie: u32) -> ::windows::core::Result<()> @@ -4816,7 +4816,7 @@ impl IWMPContentPartner { P0: ::std::convert::Into<::windows::core::InParam<'a, IWMPContentContainerList>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWMPContentContainerList>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareContainerListPrices)(::windows::core::Interface::as_raw(self), plistbase.into().abi(), plistcompare.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5149,7 +5149,7 @@ impl IWMPControls { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5322,7 +5322,7 @@ impl IWMPControls2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.currentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5486,7 +5486,7 @@ impl IWMPControls3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.currentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5779,19 +5779,19 @@ impl IWMPCore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn controls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).controls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5805,13 +5805,13 @@ impl IWMPCore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mediaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlistCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).playlistCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5830,13 +5830,13 @@ impl IWMPCore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn network(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).network)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentPlaylist(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentPlaylist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5850,13 +5850,13 @@ impl IWMPCore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cdromCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cdromCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn closedCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).closedCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::core::Result<()> { @@ -5865,7 +5865,7 @@ impl IWMPCore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6044,19 +6044,19 @@ impl IWMPCore2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn controls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.controls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.currentMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6070,13 +6070,13 @@ impl IWMPCore2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.mediaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlistCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.playlistCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6095,13 +6095,13 @@ impl IWMPCore2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn network(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.network)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentPlaylist(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.currentPlaylist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6115,13 +6115,13 @@ impl IWMPCore2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cdromCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cdromCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn closedCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.closedCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::core::Result<()> { @@ -6130,7 +6130,7 @@ impl IWMPCore2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6141,7 +6141,7 @@ impl IWMPCore2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn dvd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dvd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6265,19 +6265,19 @@ impl IWMPCore3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn controls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.controls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.currentMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6291,13 +6291,13 @@ impl IWMPCore3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.mediaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlistCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.playlistCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6316,13 +6316,13 @@ impl IWMPCore3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn network(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.network)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentPlaylist(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.currentPlaylist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6336,13 +6336,13 @@ impl IWMPCore3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cdromCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.cdromCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn closedCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.closedCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::core::Result<()> { @@ -6351,7 +6351,7 @@ impl IWMPCore3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6362,7 +6362,7 @@ impl IWMPCore3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn dvd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.dvd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6372,7 +6372,7 @@ impl IWMPCore3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).newPlaylist)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6381,7 +6381,7 @@ impl IWMPCore3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).newMedia)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6622,7 +6622,7 @@ impl IWMPDownloadCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, litem: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), litem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6632,7 +6632,7 @@ impl IWMPDownloadCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).startDownload)(::windows::core::Interface::as_raw(self), bstrsourceurl.into().abi(), bstrtype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn removeItem(&self, litem: i32) -> ::windows::core::Result<()> { @@ -6978,13 +6978,13 @@ impl IWMPDownloadManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getDownloadCollection(&self, lcollectionid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getDownloadCollection)(::windows::core::Interface::as_raw(self), lcollectionid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createDownloadCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createDownloadCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7391,7 +7391,7 @@ impl IWMPError { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, dwindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_item)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn webHelp(&self) -> ::windows::core::Result<()> { @@ -9459,7 +9459,7 @@ impl IWMPLibrary { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mediaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isIdentical<'a, P0>(&self, piwmplibrary: P0, pvbool: *mut i16) -> ::windows::core::Result<()> @@ -9534,7 +9534,7 @@ impl IWMPLibrary2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.mediaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isIdentical<'a, P0>(&self, piwmplibrary: P0, pvbool: *mut i16) -> ::windows::core::Result<()> @@ -9619,7 +9619,7 @@ impl IWMPLibraryServices { (::windows::core::Interface::vtable(self).getCountByType)(::windows::core::Interface::as_raw(self), wmplt, ::core::mem::transmute(plcount)).ok() } pub unsafe fn getLibraryByType(&self, wmplt: WMPLibraryType, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getLibraryByType)(::windows::core::Interface::as_raw(self), wmplt, lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10053,7 +10053,7 @@ impl IWMPMedia2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10252,7 +10252,7 @@ impl IWMPMedia3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10397,13 +10397,13 @@ impl IWMPMediaCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).add)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getAll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10412,7 +10412,7 @@ impl IWMPMediaCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getByName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10421,7 +10421,7 @@ impl IWMPMediaCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getByGenre)(::windows::core::Interface::as_raw(self), bstrgenre.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10430,7 +10430,7 @@ impl IWMPMediaCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getByAuthor)(::windows::core::Interface::as_raw(self), bstrauthor.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10439,7 +10439,7 @@ impl IWMPMediaCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getByAlbum)(::windows::core::Interface::as_raw(self), bstralbum.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10449,7 +10449,7 @@ impl IWMPMediaCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getByAttribute)(::windows::core::Interface::as_raw(self), bstrattribute.into().abi(), bstrvalue.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10467,7 +10467,7 @@ impl IWMPMediaCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttributeStringCollection)(::windows::core::Interface::as_raw(self), bstrattribute.into().abi(), bstrmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10622,13 +10622,13 @@ impl IWMPMediaCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.add)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getAll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getAll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10637,7 +10637,7 @@ impl IWMPMediaCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getByName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10646,7 +10646,7 @@ impl IWMPMediaCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getByGenre)(::windows::core::Interface::as_raw(self), bstrgenre.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10655,7 +10655,7 @@ impl IWMPMediaCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getByAuthor)(::windows::core::Interface::as_raw(self), bstrauthor.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10664,7 +10664,7 @@ impl IWMPMediaCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getByAlbum)(::windows::core::Interface::as_raw(self), bstralbum.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10674,7 +10674,7 @@ impl IWMPMediaCollection2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getByAttribute)(::windows::core::Interface::as_raw(self), bstrattribute.into().abi(), bstrvalue.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10692,7 +10692,7 @@ impl IWMPMediaCollection2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getAttributeStringCollection)(::windows::core::Interface::as_raw(self), bstrattribute.into().abi(), bstrmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10722,7 +10722,7 @@ impl IWMPMediaCollection2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10733,7 +10733,7 @@ impl IWMPMediaCollection2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPlaylistByQuery)(::windows::core::Interface::as_raw(self), pquery.into().abi(), bstrmediatype.into().abi(), bstrsortattribute.into().abi(), fsortascending, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10745,7 +10745,7 @@ impl IWMPMediaCollection2 { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getStringCollectionByQuery)(::windows::core::Interface::as_raw(self), bstrattribute.into().abi(), pquery.into().abi(), bstrmediatype.into().abi(), bstrsortattribute.into().abi(), fsortascending, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10756,7 +10756,7 @@ impl IWMPMediaCollection2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getByAttributeAndMediaType)(::windows::core::Interface::as_raw(self), bstrattribute.into().abi(), bstrvalue.into().abi(), bstrmediatype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11851,19 +11851,19 @@ impl IWMPPlayer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn controls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.controls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.currentMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11877,13 +11877,13 @@ impl IWMPPlayer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.mediaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlistCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.playlistCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11902,13 +11902,13 @@ impl IWMPPlayer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn network(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.network)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentPlaylist(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.currentPlaylist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11922,13 +11922,13 @@ impl IWMPPlayer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cdromCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cdromCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn closedCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.closedCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::core::Result<()> { @@ -11937,7 +11937,7 @@ impl IWMPPlayer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12107,19 +12107,19 @@ impl IWMPPlayer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn controls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.controls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.currentMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12133,13 +12133,13 @@ impl IWMPPlayer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.mediaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlistCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.playlistCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12158,13 +12158,13 @@ impl IWMPPlayer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn network(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.network)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentPlaylist(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.currentPlaylist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12178,13 +12178,13 @@ impl IWMPPlayer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cdromCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.cdromCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn closedCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.closedCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::core::Result<()> { @@ -12193,7 +12193,7 @@ impl IWMPPlayer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12379,19 +12379,19 @@ impl IWMPPlayer3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn controls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.controls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.currentMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12405,13 +12405,13 @@ impl IWMPPlayer3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.mediaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlistCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.playlistCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12430,13 +12430,13 @@ impl IWMPPlayer3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn network(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.network)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentPlaylist(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.currentPlaylist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12450,13 +12450,13 @@ impl IWMPPlayer3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cdromCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.cdromCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn closedCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.closedCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::core::Result<()> { @@ -12465,7 +12465,7 @@ impl IWMPPlayer3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12476,7 +12476,7 @@ impl IWMPPlayer3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn dvd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.dvd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn enabled(&self, pbenabled: *mut i16) -> ::windows::core::Result<()> { @@ -12675,19 +12675,19 @@ impl IWMPPlayer4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn controls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.controls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.currentMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12701,13 +12701,13 @@ impl IWMPPlayer4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.mediaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlistCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.playlistCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12726,13 +12726,13 @@ impl IWMPPlayer4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn network(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.network)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentPlaylist(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.currentPlaylist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12746,13 +12746,13 @@ impl IWMPPlayer4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cdromCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.cdromCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn closedCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.closedCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::core::Result<()> { @@ -12761,7 +12761,7 @@ impl IWMPPlayer4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12772,7 +12772,7 @@ impl IWMPPlayer4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn dvd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.dvd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12782,7 +12782,7 @@ impl IWMPPlayer4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.newPlaylist)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12791,7 +12791,7 @@ impl IWMPPlayer4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.newMedia)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn enabled(&self, pbenabled: *mut i16) -> ::windows::core::Result<()> { @@ -12843,7 +12843,7 @@ impl IWMPPlayer4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn playerApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).playerApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13307,7 +13307,7 @@ impl IWMPPlaylist { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13489,7 +13489,7 @@ impl IWMPPlaylistArray { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13577,13 +13577,13 @@ impl IWMPPlaylistCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).newPlaylist)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getAll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13592,7 +13592,7 @@ impl IWMPPlaylistCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getByName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13625,7 +13625,7 @@ impl IWMPPlaylistCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWMPPlaylist>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).importPlaylist)(::windows::core::Interface::as_raw(self), pitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15731,7 +15731,7 @@ impl IWMPSyncServices { (::windows::core::Interface::vtable(self).deviceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plcount)).ok() } pub unsafe fn getDevice(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getDevice)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15997,11 +15997,11 @@ impl IXFeed { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Xml(&self, uiitemcount: u32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Xml)(::windows::core::Interface::as_raw(self), uiitemcount, sortproperty, sortorder, filterflags, includeflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Rename<'a, P0>(&self, pszname: P0) -> ::windows::core::Result<()> @@ -16011,7 +16011,7 @@ impl IXFeed { (::windows::core::Interface::vtable(self).Rename)(::windows::core::Interface::as_raw(self), pszname.into()).ok() } pub unsafe fn Url(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetUrl<'a, P0>(&self, pszurl: P0) -> ::windows::core::Result<()> @@ -16021,11 +16021,11 @@ impl IXFeed { (::windows::core::Interface::vtable(self).SetUrl)(::windows::core::Interface::as_raw(self), pszurl.into()).ok() } pub unsafe fn LocalId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Path(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Move<'a, P0>(&self, pszpath: P0) -> ::windows::core::Result<()> @@ -16044,7 +16044,7 @@ impl IXFeed { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastWriteTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastWriteTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -16060,14 +16060,14 @@ impl IXFeed { (::windows::core::Interface::vtable(self).CancelAsyncDownload)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SyncSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SyncSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncSetting(&self, fss: FEEDS_SYNC_SETTING) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSyncSetting)(::windows::core::Interface::as_raw(self), fss).ok() } pub unsafe fn Interval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Interval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterval(&self, uiinterval: u32) -> ::windows::core::Result<()> { @@ -16076,15 +16076,15 @@ impl IXFeed { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LocalEnclosurePath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalEnclosurePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Items(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Items)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItem(&self, uiid: u32) -> ::windows::core::Result @@ -16098,7 +16098,7 @@ impl IXFeed { (::windows::core::Interface::vtable(self).MarkAllItemsRead)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn MaxItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxItemCount(&self, uimaxitemcount: u32) -> ::windows::core::Result<()> { @@ -16107,7 +16107,7 @@ impl IXFeed { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadEnclosuresAutomatically(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadEnclosuresAutomatically)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16119,11 +16119,11 @@ impl IXFeed { (::windows::core::Interface::vtable(self).SetDownloadEnclosuresAutomatically)(::windows::core::Interface::as_raw(self), bdownloadenclosuresautomatically.into()).ok() } pub unsafe fn DownloadStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDownloadError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastDownloadError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -16136,53 +16136,53 @@ impl IXFeed { (::windows::core::Interface::vtable(self).Merge)(::windows::core::Interface::as_raw(self), pstream.into().abi(), pszurl.into()).ok() } pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Title(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Description(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Link(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Image(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastBuildDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastBuildDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PubDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PubDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Ttl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ttl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Language(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Language)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Copyright(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Copyright)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::core::Result @@ -16193,11 +16193,11 @@ impl IXFeed { (::windows::core::Interface::vtable(self).GetWatcher)(::windows::core::Interface::as_raw(self), scope, mask, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn UnreadItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UnreadItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16319,11 +16319,11 @@ impl IXFeed2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Xml(&self, uiitemcount: u32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Xml)(::windows::core::Interface::as_raw(self), uiitemcount, sortproperty, sortorder, filterflags, includeflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Rename<'a, P0>(&self, pszname: P0) -> ::windows::core::Result<()> @@ -16333,7 +16333,7 @@ impl IXFeed2 { (::windows::core::Interface::vtable(self).base__.Rename)(::windows::core::Interface::as_raw(self), pszname.into()).ok() } pub unsafe fn Url(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetUrl<'a, P0>(&self, pszurl: P0) -> ::windows::core::Result<()> @@ -16343,11 +16343,11 @@ impl IXFeed2 { (::windows::core::Interface::vtable(self).base__.SetUrl)(::windows::core::Interface::as_raw(self), pszurl.into()).ok() } pub unsafe fn LocalId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Path(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Move<'a, P0>(&self, pszpath: P0) -> ::windows::core::Result<()> @@ -16366,7 +16366,7 @@ impl IXFeed2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastWriteTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastWriteTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -16382,14 +16382,14 @@ impl IXFeed2 { (::windows::core::Interface::vtable(self).base__.CancelAsyncDownload)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SyncSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SyncSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncSetting(&self, fss: FEEDS_SYNC_SETTING) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSyncSetting)(::windows::core::Interface::as_raw(self), fss).ok() } pub unsafe fn Interval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Interval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterval(&self, uiinterval: u32) -> ::windows::core::Result<()> { @@ -16398,15 +16398,15 @@ impl IXFeed2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LocalEnclosurePath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalEnclosurePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Items(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Items)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItem(&self, uiid: u32) -> ::windows::core::Result @@ -16420,7 +16420,7 @@ impl IXFeed2 { (::windows::core::Interface::vtable(self).base__.MarkAllItemsRead)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn MaxItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxItemCount(&self, uimaxitemcount: u32) -> ::windows::core::Result<()> { @@ -16429,7 +16429,7 @@ impl IXFeed2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadEnclosuresAutomatically(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadEnclosuresAutomatically)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16441,11 +16441,11 @@ impl IXFeed2 { (::windows::core::Interface::vtable(self).base__.SetDownloadEnclosuresAutomatically)(::windows::core::Interface::as_raw(self), bdownloadenclosuresautomatically.into()).ok() } pub unsafe fn DownloadStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDownloadError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastDownloadError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -16458,53 +16458,53 @@ impl IXFeed2 { (::windows::core::Interface::vtable(self).base__.Merge)(::windows::core::Interface::as_raw(self), pstream.into().abi(), pszurl.into()).ok() } pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Title(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Description(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Link(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Image(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastBuildDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastBuildDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PubDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PubDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Ttl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Ttl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Language(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Language)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Copyright(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Copyright)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::core::Result @@ -16515,11 +16515,11 @@ impl IXFeed2 { (::windows::core::Interface::vtable(self).base__.GetWatcher)(::windows::core::Interface::as_raw(self), scope, mask, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn UnreadItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UnreadItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemByEffectiveId(&self, uieffectiveid: u32) -> ::windows::core::Result @@ -16532,15 +16532,15 @@ impl IXFeed2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastItemDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastItemDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Username(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Username)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Password(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Password)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetCredentials<'a, P0, P1>(&self, pszusername: P0, pszpassword: P1) -> ::windows::core::Result<()> @@ -16623,15 +16623,15 @@ pub struct IXFeed2_Vtbl { pub struct IXFeedEnclosure(::windows::core::IUnknown); impl IXFeedEnclosure { pub unsafe fn Url(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AsyncDownload(&self) -> ::windows::core::Result<()> { @@ -16641,15 +16641,15 @@ impl IXFeedEnclosure { (::windows::core::Interface::vtable(self).CancelAsyncDownload)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DownloadStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDownloadError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastDownloadError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LocalPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Parent(&self) -> ::windows::core::Result @@ -16660,11 +16660,11 @@ impl IXFeedEnclosure { (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn DownloadMimeType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadMimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn RemoveFile(&self) -> ::windows::core::Result<()> { @@ -16838,11 +16838,11 @@ pub struct IXFeedEvents_Vtbl { pub struct IXFeedFolder(::windows::core::IUnknown); impl IXFeedFolder { pub unsafe fn Feeds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Feeds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Subfolders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subfolders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFeed<'a, P0, P1, T>(&self, pszname: P0, pszurl: P1) -> ::windows::core::Result @@ -16898,7 +16898,7 @@ impl IXFeedFolder { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Rename<'a, P0>(&self, pszname: P0) -> ::windows::core::Result<()> @@ -16908,7 +16908,7 @@ impl IXFeedFolder { (::windows::core::Interface::vtable(self).Rename)(::windows::core::Interface::as_raw(self), pszname.into()).ok() } pub unsafe fn Path(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Move<'a, P0>(&self, pszpath: P0) -> ::windows::core::Result<()> @@ -16927,7 +16927,7 @@ impl IXFeedFolder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::core::Result @@ -16938,11 +16938,11 @@ impl IXFeedFolder { (::windows::core::Interface::vtable(self).GetWatcher)(::windows::core::Interface::as_raw(self), scope, mask, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn TotalUnreadItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalUnreadItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17180,37 +17180,37 @@ impl IXFeedItem { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Xml(&self, fxif: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Xml)(::windows::core::Interface::as_raw(self), fxif, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Title(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Link(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Guid(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Guid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Description(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PubDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PubDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Comments(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Comments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Author(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Author)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Enclosure(&self) -> ::windows::core::Result @@ -17223,7 +17223,7 @@ impl IXFeedItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17235,7 +17235,7 @@ impl IXFeedItem { (::windows::core::Interface::vtable(self).SetIsRead)(::windows::core::Interface::as_raw(self), bisread.into()).ok() } pub unsafe fn LocalId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Parent(&self) -> ::windows::core::Result @@ -17249,19 +17249,19 @@ impl IXFeedItem { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17347,37 +17347,37 @@ impl IXFeedItem2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Xml(&self, fxif: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Xml)(::windows::core::Interface::as_raw(self), fxif, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Title(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Link(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Guid(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Guid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Description(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PubDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PubDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Comments(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Comments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Author(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Author)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Enclosure(&self) -> ::windows::core::Result @@ -17390,7 +17390,7 @@ impl IXFeedItem2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17402,7 +17402,7 @@ impl IXFeedItem2 { (::windows::core::Interface::vtable(self).base__.SetIsRead)(::windows::core::Interface::as_raw(self), bisread.into()).ok() } pub unsafe fn LocalId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Parent(&self) -> ::windows::core::Result @@ -17416,23 +17416,23 @@ impl IXFeedItem2 { (::windows::core::Interface::vtable(self).base__.Delete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EffectiveId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EffectiveId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17497,7 +17497,7 @@ pub struct IXFeedItem2_Vtbl { pub struct IXFeedsEnum(::windows::core::IUnknown); impl IXFeedsEnum { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Item(&self, uiindex: u32) -> ::windows::core::Result @@ -17567,7 +17567,7 @@ impl IXFeedsManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSubscribed)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17576,7 +17576,7 @@ impl IXFeedsManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExistsFeed)(::windows::core::Interface::as_raw(self), pszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFeed<'a, P0, T>(&self, pszpath: P0) -> ::windows::core::Result @@ -17601,7 +17601,7 @@ impl IXFeedsManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExistsFolder)(::windows::core::Interface::as_raw(self), pszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFolder<'a, P0, T>(&self, pszpath: P0) -> ::windows::core::Result @@ -17628,11 +17628,11 @@ impl IXFeedsManager { (::windows::core::Interface::vtable(self).BackgroundSync)(::windows::core::Interface::as_raw(self), fbsa).ok() } pub unsafe fn BackgroundSyncStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackgroundSyncStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultInterval(&self, uiinterval: u32) -> ::windows::core::Result<()> { @@ -17647,11 +17647,11 @@ impl IXFeedsManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Normalize)(::windows::core::Interface::as_raw(self), pstreamin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ItemCountLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemCountLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 ae5757ae84..3f9212f3c8 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs @@ -625,7 +625,7 @@ pub unsafe fn AVIGetFromClipboard() -> ::windows::core::Result { extern "system" { fn AVIGetFromClipboard(lppf: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AVIGetFromClipboard(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -664,7 +664,7 @@ where extern "system" { fn AVIMakeStreamFromClipboard(cfformat: u32, hglobal: super::super::Foundation::HANDLE, ppstream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AVIMakeStreamFromClipboard(cfformat, hglobal.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -2703,7 +2703,7 @@ where extern "system" { fn EditStreamClone(pavi: *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); EditStreamClone(pavi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -3158,7 +3158,7 @@ impl IAVIEditStream { (::windows::core::Interface::vtable(self).Paste)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plpos), ::core::mem::transmute(pllength), pstream.into().abi(), lstart, lend).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3302,7 +3302,7 @@ impl IAVIPersistFile { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3338,7 +3338,7 @@ impl IAVIPersistFile { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCurFile(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Reserved1(&self) -> ::windows::core::Result<()> { 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 0ccd6c4ffc..48a1dd7ee0 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs @@ -131,7 +131,7 @@ impl IPhotoAcquire { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePhotoSource)(::windows::core::Interface::as_raw(self), pszdevice.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -149,7 +149,7 @@ impl IPhotoAcquire { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumResults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumResults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -280,19 +280,19 @@ impl IPhotoAcquireItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetItemName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetThumbnail(&self, sizethumbnail: super::super::Foundation::SIZE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThumbnail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(sizethumbnail), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -303,24 +303,24 @@ impl IPhotoAcquireItem { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanDelete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanDelete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSubItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubItemAt(&self, nitemindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubItemAt)(::windows::core::Interface::as_raw(self), nitemindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -407,7 +407,7 @@ impl IPhotoAcquireOptionsDialog { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), hwndparent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Destroy(&self) -> ::windows::core::Result<()> { @@ -567,7 +567,7 @@ impl IPhotoAcquireProgressCB { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Cancelled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cancelled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartEnumeration<'a, P0>(&self, pphotoacquiresource: P0) -> ::windows::core::Result<()> @@ -650,14 +650,14 @@ impl IPhotoAcquireProgressCB { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDeleteAfterAcquire(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeleteAfterAcquire)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ErrorAdvise<'a, P0>(&self, hr: ::windows::core::HRESULT, pszerrormessage: P0, nmessagetype: ERROR_ADVISE_MESSAGE_TYPE) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ErrorAdvise)(::windows::core::Interface::as_raw(self), hr, pszerrormessage.into(), nmessagetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -782,35 +782,35 @@ impl IPhotoAcquireSettings { (::windows::core::Interface::vtable(self).SetAcquisitionTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pftacquisitiontime)).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOutputFilenameTemplate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputFilenameTemplate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSequencePaddingWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSequencePaddingWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSequenceZeroPadding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSequenceZeroPadding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGroupTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroupTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAcquisitionTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAcquisitionTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -892,7 +892,7 @@ impl IPhotoAcquireSource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -910,21 +910,21 @@ impl IPhotoAcquireSource { (::windows::core::Interface::vtable(self).InitializeItemList)(::windows::core::Interface::as_raw(self), fforceenumeration.into(), pphotoacquireprogresscb.into().abi(), ::core::mem::transmute(pnitemcount)).ok() } pub unsafe fn GetItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemAt(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemAt)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPhotoAcquireSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPhotoAcquireSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDeviceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BindToObject(&self, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -1063,7 +1063,7 @@ impl IPhotoProgressDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Destroy(&self) -> ::windows::core::Result<()> { @@ -1106,7 +1106,7 @@ impl IPhotoProgressDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCheckboxChecked(&self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCheckboxChecked)(::windows::core::Interface::as_raw(self), ncheckboxid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCaption<'a, P0>(&self, psztitle: P0) -> ::windows::core::Result<()> @@ -1156,7 +1156,7 @@ impl IPhotoProgressDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCancelled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCancelled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1260,49 +1260,49 @@ impl IUserInputString { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSubmitButtonText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubmitButtonText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPrompt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrompt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStringType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTooltipText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTooltipText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMruCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMruCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMruEntryAt(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMruEntryAt)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] 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 78dfac9e4a..be9243467e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -1850,11 +1850,11 @@ impl IEnumSpObjectTokens { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Item(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self, pcount: *mut u32) -> ::windows::core::Result<()> { @@ -1926,7 +1926,7 @@ impl ISpAudio { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1970,13 +1970,13 @@ impl ISpAudio { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetFormat(&self, pguidformatid: *const ::windows::core::GUID) -> ::windows::core::Result<*mut super::Audio::WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Audio::WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidformatid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Audio::WAVEFORMATEX>(result__) } pub unsafe fn SetState(&self, newstate: SPAUDIOSTATE, ullreserved: u64) -> ::windows::core::Result<()> { @@ -2263,7 +2263,7 @@ impl ISpDataKey { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringValue)(::windows::core::Interface::as_raw(self), pszvaluename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDWORD<'a, P0>(&self, pszvaluename: P0, dwvalue: u32) -> ::windows::core::Result<()> @@ -2282,14 +2282,14 @@ impl ISpDataKey { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenKey)(::windows::core::Interface::as_raw(self), pszsubkeyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateKey)(::windows::core::Interface::as_raw(self), pszsubkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result<()> @@ -2305,11 +2305,11 @@ impl ISpDataKey { (::windows::core::Interface::vtable(self).DeleteValue)(::windows::core::Interface::as_raw(self), pszvaluename.into()).ok() } pub unsafe fn EnumKeys(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumKeys)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn EnumValues(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumValues)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -3060,7 +3060,7 @@ impl ISpMMSysAudio { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3104,13 +3104,13 @@ impl ISpMMSysAudio { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetFormat(&self, pguidformatid: *const ::windows::core::GUID) -> ::windows::core::Result<*mut super::Audio::WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Audio::WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidformatid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Audio::WAVEFORMATEX>(result__) } pub unsafe fn SetState(&self, newstate: SPAUDIOSTATE, ullreserved: u64) -> ::windows::core::Result<()> { @@ -3652,7 +3652,7 @@ impl ISpObjectToken { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringValue)(::windows::core::Interface::as_raw(self), pszvaluename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDWORD<'a, P0>(&self, pszvaluename: P0, dwvalue: u32) -> ::windows::core::Result<()> @@ -3671,14 +3671,14 @@ impl ISpObjectToken { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenKey)(::windows::core::Interface::as_raw(self), pszsubkeyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateKey)(::windows::core::Interface::as_raw(self), pszsubkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result<()> @@ -3694,11 +3694,11 @@ impl ISpObjectToken { (::windows::core::Interface::vtable(self).base__.DeleteValue)(::windows::core::Interface::as_raw(self), pszvaluename.into()).ok() } pub unsafe fn EnumKeys(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumKeys)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn EnumValues(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumValues)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3712,11 +3712,11 @@ impl ISpObjectToken { (::windows::core::Interface::vtable(self).SetId)(::windows::core::Interface::as_raw(self), pszcategoryid.into(), psztokenid.into(), fcreateifnotexist.into()).ok() } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetCategory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstance<'a, P0>(&self, punkouter: P0, dwclscontext: u32, riid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> @@ -3730,7 +3730,7 @@ impl ISpObjectToken { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStorageFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsidcaller), pszvaluename.into(), pszfilenamespecifier.into(), nfolder, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3881,7 +3881,7 @@ impl ISpObjectTokenCategory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringValue)(::windows::core::Interface::as_raw(self), pszvaluename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDWORD<'a, P0>(&self, pszvaluename: P0, dwvalue: u32) -> ::windows::core::Result<()> @@ -3900,14 +3900,14 @@ impl ISpObjectTokenCategory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenKey)(::windows::core::Interface::as_raw(self), pszsubkeyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateKey)(::windows::core::Interface::as_raw(self), pszsubkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result<()> @@ -3923,11 +3923,11 @@ impl ISpObjectTokenCategory { (::windows::core::Interface::vtable(self).base__.DeleteValue)(::windows::core::Interface::as_raw(self), pszvaluename.into()).ok() } pub unsafe fn EnumKeys(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumKeys)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn EnumValues(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumValues)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3940,11 +3940,11 @@ impl ISpObjectTokenCategory { (::windows::core::Interface::vtable(self).SetId)(::windows::core::Interface::as_raw(self), pszcategoryid.into(), fcreateifnotexist.into()).ok() } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDataKey(&self, spdkl: SPDATAKEYLOCATION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataKey)(::windows::core::Interface::as_raw(self), spdkl, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumTokens<'a, P0, P1>(&self, pzsreqattribs: P0, pszoptattribs: P1) -> ::windows::core::Result @@ -3952,7 +3952,7 @@ impl ISpObjectTokenCategory { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumTokens)(::windows::core::Interface::as_raw(self), pzsreqattribs.into(), pszoptattribs.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultTokenId<'a, P0>(&self, psztokenid: P0) -> ::windows::core::Result<()> @@ -3962,7 +3962,7 @@ impl ISpObjectTokenCategory { (::windows::core::Interface::vtable(self).SetDefaultTokenId)(::windows::core::Interface::as_raw(self), psztokenid.into()).ok() } pub unsafe fn GetDefaultTokenId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultTokenId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4057,7 +4057,7 @@ impl ISpObjectTokenInit { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStringValue)(::windows::core::Interface::as_raw(self), pszvaluename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDWORD<'a, P0>(&self, pszvaluename: P0, dwvalue: u32) -> ::windows::core::Result<()> @@ -4076,14 +4076,14 @@ impl ISpObjectTokenInit { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenKey)(::windows::core::Interface::as_raw(self), pszsubkeyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateKey)(::windows::core::Interface::as_raw(self), pszsubkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result<()> @@ -4099,11 +4099,11 @@ impl ISpObjectTokenInit { (::windows::core::Interface::vtable(self).base__.base__.DeleteValue)(::windows::core::Interface::as_raw(self), pszvaluename.into()).ok() } pub unsafe fn EnumKeys(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumKeys)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn EnumValues(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumValues)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4117,11 +4117,11 @@ impl ISpObjectTokenInit { (::windows::core::Interface::vtable(self).base__.SetId)(::windows::core::Interface::as_raw(self), pszcategoryid.into(), psztokenid.into(), fcreateifnotexist.into()).ok() } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetCategory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstance<'a, P0>(&self, punkouter: P0, dwclscontext: u32, riid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> @@ -4135,7 +4135,7 @@ impl ISpObjectTokenInit { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStorageFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsidcaller), pszvaluename.into(), pszfilenamespecifier.into(), nfolder, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4269,7 +4269,7 @@ impl ISpObjectWithToken { (::windows::core::Interface::vtable(self).SetObjectToken)(::windows::core::Interface::as_raw(self), ptoken.into().abi()).ok() } pub unsafe fn GetObjectToken(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectToken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4326,14 +4326,14 @@ impl ISpPhoneConverter { (::windows::core::Interface::vtable(self).base__.SetObjectToken)(::windows::core::Interface::as_raw(self), ptoken.into().abi()).ok() } pub unsafe fn GetObjectToken(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetObjectToken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhoneToId<'a, P0>(&self, pszphone: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhoneToId)(::windows::core::Interface::as_raw(self), pszphone.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IdToPhone(&self, pid: *const u16, pszphone: ::windows::core::PWSTR) -> ::windows::core::Result<()> { @@ -4402,7 +4402,7 @@ pub struct ISpPhoneConverter_Vtbl { pub struct ISpPhoneticAlphabetConverter(::windows::core::IUnknown); impl ISpPhoneticAlphabetConverter { pub unsafe fn GetLangId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLangId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLangId(&self, langid: u16) -> ::windows::core::Result<()> { @@ -4420,7 +4420,7 @@ impl ISpPhoneticAlphabetConverter { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxConvertLength)(::windows::core::Interface::as_raw(self), csrclength, bsapi2ups.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4479,7 +4479,7 @@ impl ISpPhoneticAlphabetSelection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsAlphabetUPS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAlphabetUPS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4546,11 +4546,11 @@ impl ISpPhrase { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPhrase(&self) -> ::windows::core::Result<*mut SPPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPPHRASE>(result__) } pub unsafe fn GetSerializedPhrase(&self) -> ::windows::core::Result<*mut SPSERIALIZEDPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPSERIALIZEDPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSerializedPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPSERIALIZEDPHRASE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4622,11 +4622,11 @@ impl ISpPhrase2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPhrase(&self) -> ::windows::core::Result<*mut SPPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPPHRASE>(result__) } pub unsafe fn GetSerializedPhrase(&self) -> ::windows::core::Result<*mut SPSERIALIZEDPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPSERIALIZEDPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSerializedPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPSERIALIZEDPHRASE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4649,7 +4649,7 @@ impl ISpPhrase2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAudio(&self, ulstartelement: u32, celements: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudio)(::windows::core::Interface::as_raw(self), ulstartelement, celements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4721,11 +4721,11 @@ impl ISpPhraseAlt { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPhrase(&self) -> ::windows::core::Result<*mut SPPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPPHRASE>(result__) } pub unsafe fn GetSerializedPhrase(&self) -> ::windows::core::Result<*mut SPSERIALIZEDPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPSERIALIZEDPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSerializedPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPSERIALIZEDPHRASE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4830,7 +4830,7 @@ impl ISpProperties { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyString)(::windows::core::Interface::as_raw(self), pname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4940,11 +4940,11 @@ impl ISpRecoContext { (::windows::core::Interface::vtable(self).base__.GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinfo)).ok() } pub unsafe fn GetRecognizer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecognizer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGrammar(&self, ullgrammarid: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGrammar)(::windows::core::Interface::as_raw(self), ullgrammarid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self, pstatus: *mut SPRECOCONTEXTSTATUS) -> ::windows::core::Result<()> { @@ -4967,7 +4967,7 @@ impl ISpRecoContext { (::windows::core::Interface::vtable(self).GetAudioOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(poptions), ::core::mem::transmute(paudioformatid), ::core::mem::transmute(ppcomemwfex)).ok() } pub unsafe fn DeserializeResult(&self, pserializedresult: *const SPSERIALIZEDRESULT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeserializeResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pserializedresult), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5000,7 +5000,7 @@ impl ISpRecoContext { (::windows::core::Interface::vtable(self).SetVoice)(::windows::core::Interface::as_raw(self), pvoice.into().abi(), fallowformatchanges.into()).ok() } pub unsafe fn GetVoice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVoice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVoicePurgeEvent(&self, ulleventinterest: u64) -> ::windows::core::Result<()> { @@ -5227,7 +5227,7 @@ impl ISpRecoGrammar { (::windows::core::Interface::vtable(self).GetGrammarId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pullgrammarid)).ok() } pub unsafe fn GetRecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadCmdFromFile<'a, P0>(&self, pszfilename: P0, options: SPLOADOPTIONS) -> ::windows::core::Result<()> @@ -5303,7 +5303,7 @@ impl ISpRecoGrammar { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveCmd)(::windows::core::Interface::as_raw(self), pstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetGrammarState(&self, pegrammarstate: *mut SPGRAMMARSTATE) -> ::windows::core::Result<()> { @@ -5504,11 +5504,11 @@ impl ISpRecoResult { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPhrase(&self) -> ::windows::core::Result<*mut SPPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPPHRASE>(result__) } pub unsafe fn GetSerializedPhrase(&self) -> ::windows::core::Result<*mut SPSERIALIZEDPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPSERIALIZEDPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSerializedPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPSERIALIZEDPHRASE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5533,7 +5533,7 @@ impl ISpRecoResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAudio(&self, ulstartelement: u32, celements: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudio)(::windows::core::Interface::as_raw(self), ulstartelement, celements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpeakAudio(&self, ulstartelement: u32, celements: u32, dwflags: u32, pulstreamnumber: *mut u32) -> ::windows::core::Result<()> { @@ -5548,7 +5548,7 @@ impl ISpRecoResult { (::windows::core::Interface::vtable(self).ScaleAudio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(paudioformatid), ::core::mem::transmute(pwaveformatex)).ok() } pub unsafe fn GetRecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5630,11 +5630,11 @@ impl ISpRecoResult2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPhrase(&self) -> ::windows::core::Result<*mut SPPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPPHRASE>(result__) } pub unsafe fn GetSerializedPhrase(&self) -> ::windows::core::Result<*mut SPSERIALIZEDPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPSERIALIZEDPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSerializedPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPSERIALIZEDPHRASE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5659,7 +5659,7 @@ impl ISpRecoResult2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAudio(&self, ulstartelement: u32, celements: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAudio)(::windows::core::Interface::as_raw(self), ulstartelement, celements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpeakAudio(&self, ulstartelement: u32, celements: u32, dwflags: u32, pulstreamnumber: *mut u32) -> ::windows::core::Result<()> { @@ -5674,14 +5674,14 @@ impl ISpRecoResult2 { (::windows::core::Interface::vtable(self).base__.ScaleAudio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(paudioformatid), ::core::mem::transmute(pwaveformatex)).ok() } pub unsafe fn GetRecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CommitAlternate<'a, P0>(&self, pphrasealt: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ISpPhraseAlt>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitAlternate)(::windows::core::Interface::as_raw(self), pphrasealt.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CommitText<'a, P0>(&self, ulstartelement: u32, celements: u32, pszcorrecteddata: P0, ecommitflags: u32) -> ::windows::core::Result<()> @@ -5803,7 +5803,7 @@ impl ISpRecognizer { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyString)(::windows::core::Interface::as_raw(self), pname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetRecognizer<'a, P0>(&self, precognizer: P0) -> ::windows::core::Result<()> @@ -5813,7 +5813,7 @@ impl ISpRecognizer { (::windows::core::Interface::vtable(self).SetRecognizer)(::windows::core::Interface::as_raw(self), precognizer.into().abi()).ok() } pub unsafe fn GetRecognizer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecognizer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5826,21 +5826,21 @@ impl ISpRecognizer { (::windows::core::Interface::vtable(self).SetInput)(::windows::core::Interface::as_raw(self), punkinput.into().abi(), fallowformatchanges.into()).ok() } pub unsafe fn GetInputObjectToken(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputObjectToken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInputStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecoProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecoProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRecoProfile<'a, P0>(&self, ptoken: P0) -> ::windows::core::Result<()> @@ -6073,7 +6073,7 @@ impl ISpRegDataKey { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringValue)(::windows::core::Interface::as_raw(self), pszvaluename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDWORD<'a, P0>(&self, pszvaluename: P0, dwvalue: u32) -> ::windows::core::Result<()> @@ -6092,14 +6092,14 @@ impl ISpRegDataKey { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenKey)(::windows::core::Interface::as_raw(self), pszsubkeyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateKey)(::windows::core::Interface::as_raw(self), pszsubkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteKey<'a, P0>(&self, pszsubkey: P0) -> ::windows::core::Result<()> @@ -6115,11 +6115,11 @@ impl ISpRegDataKey { (::windows::core::Interface::vtable(self).base__.DeleteValue)(::windows::core::Interface::as_raw(self), pszvaluename.into()).ok() } pub unsafe fn EnumKeys(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumKeys)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn EnumValues(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumValues)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -6364,7 +6364,7 @@ impl ISpShortcut { (::windows::core::Interface::vtable(self).GetShortcuts)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(pshortcutpairlist)).ok() } pub unsafe fn GetGeneration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGeneration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWordsFromGenerationChange(&self, pdwgeneration: *mut u32, pwordlist: *mut SPWORDLIST) -> ::windows::core::Result<()> { @@ -6447,7 +6447,7 @@ impl ISpStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6491,13 +6491,13 @@ impl ISpStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetFormat(&self, pguidformatid: *const ::windows::core::GUID) -> ::windows::core::Result<*mut super::Audio::WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Audio::WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidformatid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Audio::WAVEFORMATEX>(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`*"] @@ -6511,7 +6511,7 @@ impl ISpStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBaseStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBaseStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -6661,7 +6661,7 @@ impl ISpStreamFormat { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6705,13 +6705,13 @@ impl ISpStreamFormat { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetFormat(&self, pguidformatid: *const ::windows::core::GUID) -> ::windows::core::Result<*mut super::Audio::WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Audio::WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidformatid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Audio::WAVEFORMATEX>(result__) } } @@ -6823,7 +6823,7 @@ impl ISpStreamFormatConverter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6867,13 +6867,13 @@ impl ISpStreamFormatConverter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetFormat(&self, pguidformatid: *const ::windows::core::GUID) -> ::windows::core::Result<*mut super::Audio::WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Audio::WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidformatid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Audio::WAVEFORMATEX>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6889,7 +6889,7 @@ impl ISpStreamFormatConverter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBaseStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBaseStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -6901,11 +6901,11 @@ impl ISpStreamFormatConverter { (::windows::core::Interface::vtable(self).ResetSeekPosition)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ScaleConvertedToBaseOffset(&self, ulloffsetconvertedstream: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScaleConvertedToBaseOffset)(::windows::core::Interface::as_raw(self), ulloffsetconvertedstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScaleBaseToConvertedOffset(&self, ulloffsetbasestream: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScaleBaseToConvertedOffset)(::windows::core::Interface::as_raw(self), ulloffsetbasestream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7032,7 +7032,7 @@ pub struct ISpStreamFormatConverter_Vtbl { pub struct ISpTranscript(::windows::core::IUnknown); impl ISpTranscript { pub unsafe fn GetTranscript(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTranscript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn AppendTranscript<'a, P0>(&self, psztranscript: P0) -> ::windows::core::Result<()> @@ -7155,13 +7155,13 @@ impl ISpVoice { (::windows::core::Interface::vtable(self).SetOutput)(::windows::core::Interface::as_raw(self), punkoutput.into().abi(), fallowformatchanges.into()).ok() } pub unsafe fn GetOutputObjectToken(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputObjectToken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetOutputStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -7177,14 +7177,14 @@ impl ISpVoice { (::windows::core::Interface::vtable(self).SetVoice)(::windows::core::Interface::as_raw(self), ptoken.into().abi()).ok() } pub unsafe fn GetVoice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVoice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Speak<'a, P0>(&self, pwcs: P0, dwflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Speak)(::windows::core::Interface::as_raw(self), pwcs.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7193,7 +7193,7 @@ impl ISpVoice { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpeakStream)(::windows::core::Interface::as_raw(self), pstream.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self, pstatus: *mut SPVOICESTATUS, ppszlastbookmark: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { @@ -7382,11 +7382,11 @@ impl ISpXMLRecoResult { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPhrase(&self) -> ::windows::core::Result<*mut SPPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPPHRASE>(result__) } pub unsafe fn GetSerializedPhrase(&self) -> ::windows::core::Result<*mut SPSERIALIZEDPHRASE> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SPSERIALIZEDPHRASE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSerializedPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SPSERIALIZEDPHRASE>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7411,7 +7411,7 @@ impl ISpXMLRecoResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAudio(&self, ulstartelement: u32, celements: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAudio)(::windows::core::Interface::as_raw(self), ulstartelement, celements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpeakAudio(&self, ulstartelement: u32, celements: u32, dwflags: u32, pulstreamnumber: *mut u32) -> ::windows::core::Result<()> { @@ -7426,7 +7426,7 @@ impl ISpXMLRecoResult { (::windows::core::Interface::vtable(self).base__.ScaleAudio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(paudioformatid), ::core::mem::transmute(pwaveformatex)).ok() } pub unsafe fn GetRecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetXMLResult(&self, ppszcomemxmlresult: *mut ::windows::core::PWSTR, options: SPXMLRESULTOPTIONS) -> ::windows::core::Result<()> { @@ -7517,7 +7517,7 @@ impl ISpeechAudio { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Format(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Format)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7539,7 +7539,7 @@ impl ISpeechAudio { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Write)(::windows::core::Interface::as_raw(self), buffer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7548,43 +7548,43 @@ impl ISpeechAudio { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), position.into().abi(), origin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BufferInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BufferInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVolume(&self, volume: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVolume)(::windows::core::Interface::as_raw(self), volume).ok() } pub unsafe fn BufferNotifySize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BufferNotifySize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferNotifySize(&self, buffernotifysize: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBufferNotifySize)(::windows::core::Interface::as_raw(self), buffernotifysize).ok() } pub unsafe fn EventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, state: SpeechAudioState) -> ::windows::core::Result<()> { @@ -7701,21 +7701,21 @@ pub struct ISpeechAudioBufferInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechAudioBufferInfo { pub unsafe fn MinNotification(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinNotification)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinNotification(&self, minnotification: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinNotification)(::windows::core::Interface::as_raw(self), minnotification).ok() } pub unsafe fn BufferSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BufferSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferSize(&self, buffersize: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBufferSize)(::windows::core::Interface::as_raw(self), buffersize).ok() } pub unsafe fn EventBias(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventBias)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventBias(&self, eventbias: i32) -> ::windows::core::Result<()> { @@ -7802,7 +7802,7 @@ pub struct ISpeechAudioFormat(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechAudioFormat { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, audioformat: SpeechAudioFormatType) -> ::windows::core::Result<()> { @@ -7811,7 +7811,7 @@ impl ISpeechAudioFormat { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Guid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Guid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7825,7 +7825,7 @@ impl ISpeechAudioFormat { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWaveFormatEx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWaveFormatEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7929,27 +7929,27 @@ pub struct ISpeechAudioStatus(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechAudioStatus { pub unsafe fn FreeBufferSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FreeBufferSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NonBlockingIO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NonBlockingIO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CurrentSeekPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentSeekPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CurrentDevicePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDevicePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8040,7 +8040,7 @@ impl ISpeechBaseStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Format(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Format)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8062,7 +8062,7 @@ impl ISpeechBaseStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Write)(::windows::core::Interface::as_raw(self), buffer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8071,7 +8071,7 @@ impl ISpeechBaseStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Seek)(::windows::core::Interface::as_raw(self), position.into().abi(), origin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8171,7 +8171,7 @@ impl ISpeechCustomStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Format(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Format)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8193,7 +8193,7 @@ impl ISpeechCustomStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Write)(::windows::core::Interface::as_raw(self), buffer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8202,11 +8202,11 @@ impl ISpeechCustomStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), position.into().abi(), origin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BaseStream(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BaseStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn putref_BaseStream<'a, P0>(&self, punkstream: P0) -> ::windows::core::Result<()> @@ -8324,7 +8324,7 @@ impl ISpeechDataKey { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBinaryValue)(::windows::core::Interface::as_raw(self), valuename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8342,7 +8342,7 @@ impl ISpeechDataKey { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringValue)(::windows::core::Interface::as_raw(self), valuename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8359,7 +8359,7 @@ impl ISpeechDataKey { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLongValue)(::windows::core::Interface::as_raw(self), valuename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8368,7 +8368,7 @@ impl ISpeechDataKey { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenKey)(::windows::core::Interface::as_raw(self), subkeyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8377,7 +8377,7 @@ impl ISpeechDataKey { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateKey)(::windows::core::Interface::as_raw(self), subkeyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8399,13 +8399,13 @@ impl ISpeechDataKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnumKeys(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumKeys)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnumValues(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumValues)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8533,7 +8533,7 @@ impl ISpeechFileStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Format(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Format)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8555,7 +8555,7 @@ impl ISpeechFileStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Write)(::windows::core::Interface::as_raw(self), buffer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8564,7 +8564,7 @@ impl ISpeechFileStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), position.into().abi(), origin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8676,23 +8676,23 @@ pub struct ISpeechGrammarRule(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRule { pub unsafe fn Attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InitialState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { @@ -8710,7 +8710,7 @@ impl ISpeechGrammarRule { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AddState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8809,13 +8809,13 @@ impl ISpeechGrammarRuleState { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Transitions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Transitions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8943,47 +8943,47 @@ pub struct ISpeechGrammarRuleStateTransition(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRuleStateTransition { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Weight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Weight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PropertyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PropertyValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NextState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NextState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9087,17 +9087,17 @@ pub struct ISpeechGrammarRuleStateTransitions(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRuleStateTransitions { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -9181,7 +9181,7 @@ pub struct ISpeechGrammarRules(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRules { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9190,21 +9190,21 @@ impl ISpeechGrammarRules { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindRule)(::windows::core::Interface::as_raw(self), rulenameorid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Dynamic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Dynamic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9213,7 +9213,7 @@ impl ISpeechGrammarRules { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), rulename.into().abi(), attributes, ruleid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Commit(&self) -> ::windows::core::Result<()> { @@ -9319,7 +9319,7 @@ pub struct ISpeechLexicon(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexicon { pub unsafe fn GenerationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9367,7 +9367,7 @@ impl ISpeechLexicon { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPronunciations)(::windows::core::Interface::as_raw(self), bstrword.into().abi(), langid, typeflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9479,27 +9479,27 @@ pub struct ISpeechLexiconPronunciation(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconPronunciation { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LangId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LangId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PartOfSpeech(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PartOfSpeech)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PhoneIds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhoneIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Symbolic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Symbolic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9588,17 +9588,17 @@ pub struct ISpeechLexiconPronunciations(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconPronunciations { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -9682,23 +9682,23 @@ pub struct ISpeechLexiconWord(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconWord { pub unsafe fn LangId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LangId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Word(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Word)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Pronunciations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pronunciations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9786,17 +9786,17 @@ pub struct ISpeechLexiconWords(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconWords { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -9882,7 +9882,7 @@ impl ISpeechMMSysAudio { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Format(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Format)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9904,7 +9904,7 @@ impl ISpeechMMSysAudio { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Write)(::windows::core::Interface::as_raw(self), buffer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9913,64 +9913,64 @@ impl ISpeechMMSysAudio { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Seek)(::windows::core::Interface::as_raw(self), position.into().abi(), origin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BufferInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BufferInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVolume(&self, volume: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetVolume)(::windows::core::Interface::as_raw(self), volume).ok() } pub unsafe fn BufferNotifySize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BufferNotifySize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferNotifySize(&self, buffernotifysize: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBufferNotifySize)(::windows::core::Interface::as_raw(self), buffernotifysize).ok() } pub unsafe fn EventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, state: SpeechAudioState) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetState)(::windows::core::Interface::as_raw(self), state).ok() } pub unsafe fn DeviceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDeviceId(&self, deviceid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDeviceId)(::windows::core::Interface::as_raw(self), deviceid).ok() } pub unsafe fn LineId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LineId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLineId(&self, lineid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLineId)(::windows::core::Interface::as_raw(self), lineid).ok() } pub unsafe fn MMHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MMHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10091,7 +10091,7 @@ impl ISpeechMemoryStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Format(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Format)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10113,7 +10113,7 @@ impl ISpeechMemoryStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Write)(::windows::core::Interface::as_raw(self), buffer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10122,7 +10122,7 @@ impl ISpeechMemoryStream { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), position.into().abi(), origin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10136,7 +10136,7 @@ impl ISpeechMemoryStream { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10242,25 +10242,25 @@ impl ISpeechObjectToken { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Category(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Category)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self, locale: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), locale, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10278,14 +10278,14 @@ impl ISpeechObjectToken { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttribute)(::windows::core::Interface::as_raw(self), attributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstance<'a, P0>(&self, punkouter: P0, clscontext: SpeechTokenContext) -> ::windows::core::Result<::windows::core::IUnknown> where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), clscontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10304,7 +10304,7 @@ impl ISpeechObjectToken { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStorageFileName)(::windows::core::Interface::as_raw(self), objectstorageclsid.into().abi(), keyname.into().abi(), filename.into().abi(), folder, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10323,7 +10323,7 @@ impl ISpeechObjectToken { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUISupported)(::windows::core::Interface::as_raw(self), typeofui.into().abi(), ::core::mem::transmute(extradata), object.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10342,7 +10342,7 @@ impl ISpeechObjectToken { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MatchesAttributes)(::windows::core::Interface::as_raw(self), attributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10471,7 +10471,7 @@ impl ISpeechObjectTokenCategory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10485,7 +10485,7 @@ impl ISpeechObjectTokenCategory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Default(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Default)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10499,7 +10499,7 @@ impl ISpeechObjectTokenCategory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDataKey(&self, location: SpeechDataKeyLocation) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataKey)(::windows::core::Interface::as_raw(self), location, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10509,7 +10509,7 @@ impl ISpeechObjectTokenCategory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateTokens)(::windows::core::Interface::as_raw(self), requiredattributes.into().abi(), optionalattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10611,17 +10611,17 @@ pub struct ISpeechObjectTokens(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechObjectTokens { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -10705,7 +10705,7 @@ pub struct ISpeechPhoneConverter(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhoneConverter { pub unsafe fn LanguageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LanguageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLanguageId(&self, languageid: i32) -> ::windows::core::Result<()> { @@ -10717,7 +10717,7 @@ impl ISpeechPhoneConverter { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhoneToId)(::windows::core::Interface::as_raw(self), phonemes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10726,7 +10726,7 @@ impl ISpeechPhoneConverter { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IdToPhone)(::windows::core::Interface::as_raw(self), idarray.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10816,21 +10816,21 @@ impl ISpeechPhraseAlternate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecoResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartElementInResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartElementInResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfElementsInResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfElementsInResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PhraseInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhraseInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Commit(&self) -> ::windows::core::Result<()> { @@ -10922,17 +10922,17 @@ pub struct ISpeechPhraseAlternates(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseAlternates { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -11016,61 +11016,61 @@ pub struct ISpeechPhraseElement(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseElement { pub unsafe fn AudioTimeOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioTimeOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioSizeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioSizeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioStreamOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioStreamOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioSizeBytes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioSizeBytes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RetainedStreamOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetainedStreamOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RetainedSizeBytes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetainedSizeBytes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LexicalForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LexicalForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Pronunciation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pronunciation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisplayAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequiredConfidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequiredConfidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActualConfidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActualConfidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EngineConfidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EngineConfidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11170,17 +11170,17 @@ pub struct ISpeechPhraseElements(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseElements { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -11264,89 +11264,89 @@ pub struct ISpeechPhraseInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseInfo { pub unsafe fn LanguageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LanguageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GrammarId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GrammarId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn StartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AudioStreamPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioStreamPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioSizeBytes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioSizeBytes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RetainedSizeBytes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetainedSizeBytes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioSizeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioSizeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Elements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Elements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Replacements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Replacements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EngineId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EngineId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn EnginePrivateData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnginePrivateData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SaveToMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveToMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self, startelement: i32, elements: i32, usereplacements: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), startelement, elements, usereplacements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayAttributes(&self, startelement: i32, elements: i32, usereplacements: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayAttributes)(::windows::core::Interface::as_raw(self), startelement, elements, usereplacements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11475,7 +11475,7 @@ impl ISpeechPhraseInfoBuilder { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn RestorePhraseFromMemory(&self, phraseinmemory: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RestorePhraseFromMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(phraseinmemory), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11557,17 +11557,17 @@ pub struct ISpeechPhraseProperties(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseProperties { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -11653,45 +11653,45 @@ impl ISpeechPhraseProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirstElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirstElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfElements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfElements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EngineConfidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EngineConfidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Confidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Confidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Children(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Children)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11790,21 +11790,21 @@ pub struct ISpeechPhraseReplacement(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseReplacement { pub unsafe fn DisplayAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirstElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirstElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfElements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfElements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11889,17 +11889,17 @@ pub struct ISpeechPhraseReplacements(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseReplacements { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -11985,39 +11985,39 @@ impl ISpeechPhraseRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirstElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirstElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfElements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfElements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Children(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Children)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Confidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Confidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EngineConfidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EngineConfidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12112,17 +12112,17 @@ pub struct ISpeechPhraseRules(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseRules { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -12208,17 +12208,17 @@ impl ISpeechRecoContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recognizer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recognizer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AudioInputInterferenceStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioInputInterferenceStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestedUIType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestedUIType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12232,49 +12232,49 @@ impl ISpeechRecoContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Voice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Voice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowVoiceFormatMatchingOnNextSet(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowVoiceFormatMatchingOnNextSet)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowVoiceFormatMatchingOnNextSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowVoiceFormatMatchingOnNextSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVoicePurgeEvent(&self, eventinterest: SpeechRecoEvents) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVoicePurgeEvent)(::windows::core::Interface::as_raw(self), eventinterest).ok() } pub unsafe fn VoicePurgeEvent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VoicePurgeEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventInterests(&self, eventinterest: SpeechRecoEvents) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEventInterests)(::windows::core::Interface::as_raw(self), eventinterest).ok() } pub unsafe fn EventInterests(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventInterests)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCmdMaxAlternates(&self, maxalternates: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCmdMaxAlternates)(::windows::core::Interface::as_raw(self), maxalternates).ok() } pub unsafe fn CmdMaxAlternates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CmdMaxAlternates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, state: SpeechRecoContextState) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetState)(::windows::core::Interface::as_raw(self), state).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRetainedAudio(&self, option: SpeechRetainedAudioOptions) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRetainedAudio)(::windows::core::Interface::as_raw(self), option).ok() } pub unsafe fn RetainedAudio(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetainedAudio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12288,7 +12288,7 @@ impl ISpeechRecoContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetainedAudioFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetainedAudioFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -12303,13 +12303,13 @@ impl ISpeechRecoContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGrammar)(::windows::core::Interface::as_raw(self), grammarid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreateResultFromMemory(&self, resultblock: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateResultFromMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(resultblock), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12461,26 +12461,26 @@ impl ISpeechRecoGrammar { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, state: SpeechGrammarState) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetState)(::windows::core::Interface::as_raw(self), state).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, newlanguage: i32) -> ::windows::core::Result<()> { @@ -12578,7 +12578,7 @@ impl ISpeechRecoGrammar { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPronounceable)(::windows::core::Interface::as_raw(self), word.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12716,13 +12716,13 @@ impl ISpeechRecoResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Times(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Times)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12736,35 +12736,35 @@ impl ISpeechRecoResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PhraseInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhraseInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Alternates(&self, requestcount: i32, startelement: i32, elements: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Alternates)(::windows::core::Interface::as_raw(self), requestcount, startelement, elements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Audio(&self, startelement: i32, elements: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Audio)(::windows::core::Interface::as_raw(self), startelement, elements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpeakAudio(&self, startelement: i32, elements: i32, flags: SpeechVoiceSpeakFlags) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpeakAudio)(::windows::core::Interface::as_raw(self), startelement, elements, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SaveToMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveToMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> ::windows::core::Result<()> { @@ -12881,13 +12881,13 @@ impl ISpeechRecoResult2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Times(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Times)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12901,35 +12901,35 @@ impl ISpeechRecoResult2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AudioFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PhraseInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PhraseInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Alternates(&self, requestcount: i32, startelement: i32, elements: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Alternates)(::windows::core::Interface::as_raw(self), requestcount, startelement, elements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Audio(&self, startelement: i32, elements: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Audio)(::windows::core::Interface::as_raw(self), startelement, elements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpeakAudio(&self, startelement: i32, elements: i32, flags: SpeechVoiceSpeakFlags) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SpeakAudio)(::windows::core::Interface::as_raw(self), startelement, elements, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SaveToMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SaveToMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> ::windows::core::Result<()> { @@ -13042,13 +13042,13 @@ impl ISpeechRecoResultDispatch { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Times(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Times)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13062,35 +13062,35 @@ impl ISpeechRecoResultDispatch { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PhraseInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhraseInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Alternates(&self, requestcount: i32, startelement: i32, elements: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Alternates)(::windows::core::Interface::as_raw(self), requestcount, startelement, elements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Audio(&self, startelement: i32, elements: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Audio)(::windows::core::Interface::as_raw(self), startelement, elements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpeakAudio(&self, startelement: i32, elements: i32, flags: SpeechVoiceSpeakFlags) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpeakAudio)(::windows::core::Interface::as_raw(self), startelement, elements, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SaveToMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveToMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> ::windows::core::Result<()> { @@ -13099,7 +13099,7 @@ impl ISpeechRecoResultDispatch { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetXMLResult(&self, options: SPXMLRESULTOPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXMLResult)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13238,23 +13238,23 @@ impl ISpeechRecoResultTimes { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn StreamTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StreamTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TickCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TickCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn OffsetFromStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OffsetFromStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13355,14 +13355,14 @@ impl ISpeechRecognizer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recognizer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recognizer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowAudioInputFormatChangesOnNextSet(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowAudioInputFormatChangesOnNextSet)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowAudioInputFormatChangesOnNextSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowAudioInputFormatChangesOnNextSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13376,7 +13376,7 @@ impl ISpeechRecognizer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioInput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13390,24 +13390,24 @@ impl ISpeechRecognizer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioInputStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioInputStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsShared(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsShared)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, state: SpeechRecognizerState) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetState)(::windows::core::Interface::as_raw(self), state).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13421,7 +13421,7 @@ impl ISpeechRecognizer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13435,13 +13435,13 @@ impl ISpeechRecognizer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateRecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormat(&self, r#type: SpeechFormatType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13450,7 +13450,7 @@ impl ISpeechRecognizer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetPropertyNumber)(::windows::core::Interface::as_raw(self), name.into().abi(), value, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13468,7 +13468,7 @@ impl ISpeechRecognizer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetPropertyString)(::windows::core::Interface::as_raw(self), name.into().abi(), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13485,7 +13485,7 @@ impl ISpeechRecognizer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUISupported)(::windows::core::Interface::as_raw(self), typeofui.into().abi(), ::core::mem::transmute(extradata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13504,7 +13504,7 @@ impl ISpeechRecognizer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecognizers)(::windows::core::Interface::as_raw(self), requiredattributes.into().abi(), optionalattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13514,7 +13514,7 @@ impl ISpeechRecognizer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioInputs)(::windows::core::Interface::as_raw(self), requiredattributes.into().abi(), optionalattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13524,7 +13524,7 @@ impl ISpeechRecognizer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProfiles)(::windows::core::Interface::as_raw(self), requiredattributes.into().abi(), optionalattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13693,33 +13693,33 @@ impl ISpeechRecognizerStatus { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CurrentStreamPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentStreamPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentStreamNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentStreamNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfActiveRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfActiveRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClsidEngine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClsidEngine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SupportedLanguages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedLanguages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13928,28 +13928,28 @@ impl ISpeechTextSelectionInformation { (::windows::core::Interface::vtable(self).SetActiveOffset)(::windows::core::Interface::as_raw(self), activeoffset).ok() } pub unsafe fn ActiveOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActiveOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetActiveLength(&self, activelength: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetActiveLength)(::windows::core::Interface::as_raw(self), activelength).ok() } pub unsafe fn ActiveLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActiveLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelectionOffset(&self, selectionoffset: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSelectionOffset)(::windows::core::Interface::as_raw(self), selectionoffset).ok() } pub unsafe fn SelectionOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectionOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelectionLength(&self, selectionlength: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSelectionLength)(::windows::core::Interface::as_raw(self), selectionlength).ok() } pub unsafe fn SelectionLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectionLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14037,13 +14037,13 @@ impl ISpeechVoice { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Voice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Voice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14057,7 +14057,7 @@ impl ISpeechVoice { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14071,7 +14071,7 @@ impl ISpeechVoice { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioOutputStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioOutputStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14083,14 +14083,14 @@ impl ISpeechVoice { (::windows::core::Interface::vtable(self).putref_AudioOutputStream)(::windows::core::Interface::as_raw(self), audiooutputstream.into().abi()).ok() } pub unsafe fn Rate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRate(&self, rate: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRate)(::windows::core::Interface::as_raw(self), rate).ok() } pub unsafe fn Volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVolume(&self, volume: i32) -> ::windows::core::Result<()> { @@ -14100,11 +14100,11 @@ impl ISpeechVoice { (::windows::core::Interface::vtable(self).SetAllowAudioOutputFormatChangesOnNextSet)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowAudioOutputFormatChangesOnNextSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowAudioOutputFormatChangesOnNextSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EventInterests(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventInterests)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventInterests(&self, eventinterestflags: SpeechVoiceEvents) -> ::windows::core::Result<()> { @@ -14114,21 +14114,21 @@ impl ISpeechVoice { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), priority).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlertBoundary(&self, boundary: SpeechVoiceEvents) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAlertBoundary)(::windows::core::Interface::as_raw(self), boundary).ok() } pub unsafe fn AlertBoundary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlertBoundary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSynchronousSpeakTimeout(&self, mstimeout: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSynchronousSpeakTimeout)(::windows::core::Interface::as_raw(self), mstimeout).ok() } pub unsafe fn SynchronousSpeakTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SynchronousSpeakTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14137,7 +14137,7 @@ impl ISpeechVoice { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Speak)(::windows::core::Interface::as_raw(self), text.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14146,7 +14146,7 @@ impl ISpeechVoice { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISpeechBaseStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpeakStream)(::windows::core::Interface::as_raw(self), stream.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -14161,7 +14161,7 @@ impl ISpeechVoice { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), r#type.into().abi(), numitems, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14171,7 +14171,7 @@ impl ISpeechVoice { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVoices)(::windows::core::Interface::as_raw(self), requiredattributes.into().abi(), optionalattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14181,15 +14181,15 @@ impl ISpeechVoice { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioOutputs)(::windows::core::Interface::as_raw(self), requiredattributes.into().abi(), optionalattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WaitUntilDone(&self, mstimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitUntilDone)(::windows::core::Interface::as_raw(self), mstimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpeakCompleteEvent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpeakCompleteEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14198,7 +14198,7 @@ impl ISpeechVoice { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUISupported)(::windows::core::Interface::as_raw(self), typeofui.into().abi(), ::core::mem::transmute(extradata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14359,53 +14359,53 @@ pub struct ISpeechVoiceStatus(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechVoiceStatus { pub unsafe fn CurrentStreamNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentStreamNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastStreamNumberQueued(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastStreamNumberQueued)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastHResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastHResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunningState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RunningState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InputWordPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InputWordPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InputWordLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InputWordLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InputSentencePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InputSentencePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InputSentenceLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InputSentenceLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastBookmark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastBookmark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastBookmarkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastBookmarkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhonemeId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhonemeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VisemeId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VisemeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14498,42 +14498,42 @@ pub struct ISpeechWaveFormatEx(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechWaveFormatEx { pub unsafe fn FormatTag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFormatTag(&self, formattag: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFormatTag)(::windows::core::Interface::as_raw(self), formattag).ok() } pub unsafe fn Channels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Channels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChannels(&self, channels: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetChannels)(::windows::core::Interface::as_raw(self), channels).ok() } pub unsafe fn SamplesPerSec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SamplesPerSec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSamplesPerSec(&self, samplespersec: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSamplesPerSec)(::windows::core::Interface::as_raw(self), samplespersec).ok() } pub unsafe fn AvgBytesPerSec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvgBytesPerSec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAvgBytesPerSec(&self, avgbytespersec: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAvgBytesPerSec)(::windows::core::Interface::as_raw(self), avgbytespersec).ok() } pub unsafe fn BlockAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBlockAlign(&self, blockalign: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBlockAlign)(::windows::core::Interface::as_raw(self), blockalign).ok() } pub unsafe fn BitsPerSample(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BitsPerSample)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBitsPerSample(&self, bitspersample: i16) -> ::windows::core::Result<()> { @@ -14542,7 +14542,7 @@ impl ISpeechWaveFormatEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ExtraData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtraData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14650,13 +14650,13 @@ impl ISpeechXMLRecoResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecoContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Times(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Times)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14670,35 +14670,35 @@ impl ISpeechXMLRecoResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AudioFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PhraseInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PhraseInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Alternates(&self, requestcount: i32, startelement: i32, elements: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Alternates)(::windows::core::Interface::as_raw(self), requestcount, startelement, elements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Audio(&self, startelement: i32, elements: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Audio)(::windows::core::Interface::as_raw(self), startelement, elements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpeakAudio(&self, startelement: i32, elements: i32, flags: SpeechVoiceSpeakFlags) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SpeakAudio)(::windows::core::Interface::as_raw(self), startelement, elements, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SaveToMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SaveToMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> ::windows::core::Result<()> { @@ -14707,7 +14707,7 @@ impl ISpeechXMLRecoResult { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetXMLResult(&self, options: SPXMLRESULTOPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXMLResult)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] 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 cb227d5d77..f6f108ea4c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs @@ -279,11 +279,11 @@ impl INSNetSourceCreator { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetSourceProperties)(::windows::core::Interface::as_raw(self), pszstreamname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetNetSourceSharedNamespace(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetSourceSharedNamespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -292,11 +292,11 @@ impl INSNetSourceCreator { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetSourceAdminInterface)(::windows::core::Interface::as_raw(self), pszstreamname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumProtocolsSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumProtocolsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProtocolName(&self, dwprotocolnum: u32, pwszprotocolname: ::windows::core::PWSTR, pcchprotocolname: *mut u16) -> ::windows::core::Result<()> { @@ -362,18 +362,18 @@ pub struct INSNetSourceCreator_Vtbl { pub struct INSSBuffer(::windows::core::IUnknown); impl INSSBuffer { pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLength(&self, dwlength: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLength)(::windows::core::Interface::as_raw(self), dwlength).ok() } pub unsafe fn GetMaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBuffer(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetBufferAndLength(&self, ppdwbuffer: *mut *mut u8, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -430,25 +430,25 @@ pub struct INSSBuffer_Vtbl { pub struct INSSBuffer2(::windows::core::IUnknown); impl INSSBuffer2 { pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLength(&self, dwlength: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLength)(::windows::core::Interface::as_raw(self), dwlength).ok() } pub unsafe fn GetMaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBuffer(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetBufferAndLength(&self, ppdwbuffer: *mut *mut u8, pdwlength: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetBufferAndLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdwbuffer), ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetSampleProperties(&self, cbproperties: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSampleProperties)(::windows::core::Interface::as_raw(self), cbproperties, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleProperties(&self, cbproperties: u32, pbproperties: *const u8) -> ::windows::core::Result<()> { @@ -517,25 +517,25 @@ pub struct INSSBuffer2_Vtbl { pub struct INSSBuffer3(::windows::core::IUnknown); impl INSSBuffer3 { pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLength(&self, dwlength: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetLength)(::windows::core::Interface::as_raw(self), dwlength).ok() } pub unsafe fn GetMaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBuffer(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetBufferAndLength(&self, ppdwbuffer: *mut *mut u8, pdwlength: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetBufferAndLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdwbuffer), ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetSampleProperties(&self, cbproperties: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSampleProperties)(::windows::core::Interface::as_raw(self), cbproperties, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleProperties(&self, cbproperties: u32, pbproperties: *const u8) -> ::windows::core::Result<()> { @@ -625,25 +625,25 @@ pub struct INSSBuffer3_Vtbl { pub struct INSSBuffer4(::windows::core::IUnknown); impl INSSBuffer4 { pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLength(&self, dwlength: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetLength)(::windows::core::Interface::as_raw(self), dwlength).ok() } pub unsafe fn GetMaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetMaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBuffer(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetBufferAndLength(&self, ppdwbuffer: *mut *mut u8, pdwlength: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.GetBufferAndLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdwbuffer), ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetSampleProperties(&self, cbproperties: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSampleProperties)(::windows::core::Interface::as_raw(self), cbproperties, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleProperties(&self, cbproperties: u32, pbproperties: *const u8) -> ::windows::core::Result<()> { @@ -656,7 +656,7 @@ impl INSSBuffer4 { (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidbufferproperty), ::core::mem::transmute(pvbufferproperty), ::core::mem::transmute(pdwbufferpropertysize)).ok() } pub unsafe fn GetPropertyCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyByIndex(&self, dwbufferpropertyindex: u32, pguidbufferproperty: *mut ::windows::core::GUID, pvbufferproperty: *mut ::core::ffi::c_void, pdwbufferpropertysize: *mut u32) -> ::windows::core::Result<()> { @@ -755,11 +755,11 @@ pub struct INSSBuffer4_Vtbl { pub struct IWMAddressAccess(::windows::core::IUnknown); impl IWMAddressAccess { pub unsafe fn GetAccessEntryCount(&self, aetype: WM_AETYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccessEntryCount)(::windows::core::Interface::as_raw(self), aetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAccessEntry(&self, aetype: WM_AETYPE, dwentrynum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccessEntry)(::windows::core::Interface::as_raw(self), aetype, dwentrynum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAccessEntry(&self, aetype: WM_AETYPE, paddraccessentry: *const WM_ADDRESS_ACCESSENTRY) -> ::windows::core::Result<()> { @@ -818,11 +818,11 @@ pub struct IWMAddressAccess_Vtbl { pub struct IWMAddressAccess2(::windows::core::IUnknown); impl IWMAddressAccess2 { pub unsafe fn GetAccessEntryCount(&self, aetype: WM_AETYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAccessEntryCount)(::windows::core::Interface::as_raw(self), aetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAccessEntry(&self, aetype: WM_AETYPE, dwentrynum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAccessEntry)(::windows::core::Interface::as_raw(self), aetype, dwentrynum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAccessEntry(&self, aetype: WM_AETYPE, paddraccessentry: *const WM_ADDRESS_ACCESSENTRY) -> ::windows::core::Result<()> { @@ -914,15 +914,15 @@ pub struct IWMAddressAccess2_Vtbl { pub struct IWMAuthorizer(::windows::core::IUnknown); impl IWMAuthorizer { pub unsafe fn GetCertCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCert(&self, dwindex: u32) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCert)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetSharedData(&self, dwcertindex: u32, pbshareddata: *const u8, pbcert: *const u8) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSharedData)(::windows::core::Interface::as_raw(self), dwcertindex, ::core::mem::transmute(pbshareddata), ::core::mem::transmute(pbcert), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } } @@ -974,7 +974,7 @@ pub struct IWMAuthorizer_Vtbl { pub struct IWMBackupRestoreProps(::windows::core::IUnknown); impl IWMBackupRestoreProps { pub unsafe fn GetPropCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropByIndex(&self, windex: u16, pwszname: ::windows::core::PWSTR, pcchnamelen: *mut u16, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> ::windows::core::Result<()> { @@ -1062,7 +1062,7 @@ impl IWMBandwidthSharing { (::windows::core::Interface::vtable(self).base__.RemoveStream)(::windows::core::Interface::as_raw(self), wstreamnum).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetType(&self, guidtype: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -1139,11 +1139,11 @@ pub struct IWMBandwidthSharing_Vtbl { pub struct IWMClientConnections(::windows::core::IUnknown); impl IWMClientConnections { pub unsafe fn GetClientCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClientProperties(&self, dwclientnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientProperties)(::windows::core::Interface::as_raw(self), dwclientnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1194,11 +1194,11 @@ pub struct IWMClientConnections_Vtbl { pub struct IWMClientConnections2(::windows::core::IUnknown); impl IWMClientConnections2 { pub unsafe fn GetClientCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClientCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClientProperties(&self, dwclientnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClientProperties)(::windows::core::Interface::as_raw(self), dwclientnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClientInfo(&self, dwclientnum: u32, pwsznetworkaddress: ::windows::core::PWSTR, pcchnetworkaddress: *mut u32, pwszport: ::windows::core::PWSTR, pcchport: *mut u32, pwszdnsname: ::windows::core::PWSTR, pcchdnsname: *mut u32) -> ::windows::core::Result<()> { @@ -1266,15 +1266,15 @@ pub struct IWMClientConnections2_Vtbl { pub struct IWMCodecInfo(::windows::core::IUnknown); impl IWMCodecInfo { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodecInfoCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecFormatCount(&self, guidtype: *const ::windows::core::GUID, dwcodecindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodecFormatCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype), dwcodecindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecFormat(&self, guidtype: *const ::windows::core::GUID, dwcodecindex: u32, dwformatindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodecFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype), dwcodecindex, dwformatindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1326,15 +1326,15 @@ pub struct IWMCodecInfo_Vtbl { pub struct IWMCodecInfo2(::windows::core::IUnknown); impl IWMCodecInfo2 { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCodecInfoCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecFormatCount(&self, guidtype: *const ::windows::core::GUID, dwcodecindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCodecFormatCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype), dwcodecindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecFormat(&self, guidtype: *const ::windows::core::GUID, dwcodecindex: u32, dwformatindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCodecFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype), dwcodecindex, dwformatindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecName(&self, guidtype: *const ::windows::core::GUID, dwcodecindex: u32, wszname: ::windows::core::PWSTR, pcchname: *mut u32) -> ::windows::core::Result<()> { @@ -1406,15 +1406,15 @@ pub struct IWMCodecInfo2_Vtbl { pub struct IWMCodecInfo3(::windows::core::IUnknown); impl IWMCodecInfo3 { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCodecInfoCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecFormatCount(&self, guidtype: *const ::windows::core::GUID, dwcodecindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCodecFormatCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype), dwcodecindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecFormat(&self, guidtype: *const ::windows::core::GUID, dwcodecindex: u32, dwformatindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCodecFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidtype), dwcodecindex, dwformatindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecName(&self, guidtype: *const ::windows::core::GUID, dwcodecindex: u32, wszname: ::windows::core::PWSTR, pcchname: *mut u32) -> ::windows::core::Result<()> { @@ -2013,7 +2013,7 @@ pub struct IWMDRMReader3_Vtbl { pub struct IWMDRMTranscryptionManager(::windows::core::IUnknown); impl IWMDRMTranscryptionManager { pub unsafe fn CreateTranscryptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTranscryptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2167,11 +2167,11 @@ impl IWMDRMTranscryptor2 { (::windows::core::Interface::vtable(self).ZeroAdjustTimestamps)(::windows::core::Interface::as_raw(self), fenable.into()).ok() } pub unsafe fn GetSeekStartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSeekStartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2498,26 +2498,26 @@ pub struct IWMDRMWriter3_Vtbl { pub struct IWMDeviceRegistration(::windows::core::IUnknown); impl IWMDeviceRegistration { pub unsafe fn RegisterDevice(&self, dwregistertype: u32, pbcertificate: &[u8], serialnumber: DRM_VAL16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterDevice)(::windows::core::Interface::as_raw(self), dwregistertype, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbcertificate)), pbcertificate.len() as _, ::core::mem::transmute(serialnumber), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterDevice(&self, dwregistertype: u32, pbcertificate: &[u8], serialnumber: DRM_VAL16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).UnregisterDevice)(::windows::core::Interface::as_raw(self), dwregistertype, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbcertificate)), pbcertificate.len() as _, ::core::mem::transmute(serialnumber)).ok() } pub unsafe fn GetRegistrationStats(&self, dwregistertype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegistrationStats)(::windows::core::Interface::as_raw(self), dwregistertype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstRegisteredDevice(&self, dwregistertype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFirstRegisteredDevice)(::windows::core::Interface::as_raw(self), dwregistertype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextRegisteredDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextRegisteredDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRegisteredDeviceByID(&self, dwregistertype: u32, pbcertificate: &[u8], serialnumber: DRM_VAL16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegisteredDeviceByID)(::windows::core::Interface::as_raw(self), dwregistertype, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbcertificate)), pbcertificate.len() as _, ::core::mem::transmute(serialnumber), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2572,7 +2572,7 @@ pub struct IWMDeviceRegistration_Vtbl { pub struct IWMGetSecureChannel(::windows::core::IUnknown); impl IWMGetSecureChannel { pub unsafe fn GetPeerSecureChannelInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPeerSecureChannelInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2622,7 +2622,7 @@ pub struct IWMGetSecureChannel_Vtbl { pub struct IWMHeaderInfo(::windows::core::IUnknown); impl IWMHeaderInfo { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeCount)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributeByIndex(&self, windex: u16, pwstreamnum: *mut u16, pwszname: ::windows::core::PWSTR, pcchnamelen: *mut u16, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> ::windows::core::Result<()> { @@ -2641,7 +2641,7 @@ impl IWMHeaderInfo { (::windows::core::Interface::vtable(self).SetAttribute)(::windows::core::Interface::as_raw(self), wstreamnum, pszname.into(), r#type, ::core::mem::transmute(::windows::core::as_ptr_or_null(pvalue)), pvalue.len() as _).ok() } pub unsafe fn GetMarkerCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMarkerCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMarker(&self, windex: u16, pwszmarkername: ::windows::core::PWSTR, pcchmarkernamelen: *mut u16, pcnsmarkertime: *mut u64) -> ::windows::core::Result<()> { @@ -2657,7 +2657,7 @@ impl IWMHeaderInfo { (::windows::core::Interface::vtable(self).RemoveMarker)(::windows::core::Interface::as_raw(self), windex).ok() } pub unsafe fn GetScriptCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScriptCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScript(&self, windex: u16, pwsztype: ::windows::core::PWSTR, pcchtypelen: *mut u16, pwszcommand: ::windows::core::PWSTR, pcchcommandlen: *mut u16, pcnsscripttime: *mut u64) -> ::windows::core::Result<()> { @@ -2731,7 +2731,7 @@ pub struct IWMHeaderInfo_Vtbl { pub struct IWMHeaderInfo2(::windows::core::IUnknown); impl IWMHeaderInfo2 { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAttributeCount)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributeByIndex(&self, windex: u16, pwstreamnum: *mut u16, pwszname: ::windows::core::PWSTR, pcchnamelen: *mut u16, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> ::windows::core::Result<()> { @@ -2750,7 +2750,7 @@ impl IWMHeaderInfo2 { (::windows::core::Interface::vtable(self).base__.SetAttribute)(::windows::core::Interface::as_raw(self), wstreamnum, pszname.into(), r#type, ::core::mem::transmute(::windows::core::as_ptr_or_null(pvalue)), pvalue.len() as _).ok() } pub unsafe fn GetMarkerCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMarkerCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMarker(&self, windex: u16, pwszmarkername: ::windows::core::PWSTR, pcchmarkernamelen: *mut u16, pcnsmarkertime: *mut u64) -> ::windows::core::Result<()> { @@ -2766,7 +2766,7 @@ impl IWMHeaderInfo2 { (::windows::core::Interface::vtable(self).base__.RemoveMarker)(::windows::core::Interface::as_raw(self), windex).ok() } pub unsafe fn GetScriptCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetScriptCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScript(&self, windex: u16, pwsztype: ::windows::core::PWSTR, pcchtypelen: *mut u16, pwszcommand: ::windows::core::PWSTR, pcchcommandlen: *mut u16, pcnsscripttime: *mut u64) -> ::windows::core::Result<()> { @@ -2783,7 +2783,7 @@ impl IWMHeaderInfo2 { (::windows::core::Interface::vtable(self).base__.RemoveScript)(::windows::core::Interface::as_raw(self), windex).ok() } pub unsafe fn GetCodecInfoCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodecInfoCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecInfo(&self, windex: u32, pcchname: *mut u16, pwszname: ::windows::core::PWSTR, pcchdescription: *mut u16, pwszdescription: ::windows::core::PWSTR, pcodectype: *mut WMT_CODEC_INFO_TYPE, pcbcodecinfo: *mut u16, pbcodecinfo: *mut u8) -> ::windows::core::Result<()> { @@ -2852,7 +2852,7 @@ pub struct IWMHeaderInfo2_Vtbl { pub struct IWMHeaderInfo3(::windows::core::IUnknown); impl IWMHeaderInfo3 { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAttributeCount)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributeByIndex(&self, windex: u16, pwstreamnum: *mut u16, pwszname: ::windows::core::PWSTR, pcchnamelen: *mut u16, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> ::windows::core::Result<()> { @@ -2871,7 +2871,7 @@ impl IWMHeaderInfo3 { (::windows::core::Interface::vtable(self).base__.base__.SetAttribute)(::windows::core::Interface::as_raw(self), wstreamnum, pszname.into(), r#type, ::core::mem::transmute(::windows::core::as_ptr_or_null(pvalue)), pvalue.len() as _).ok() } pub unsafe fn GetMarkerCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMarkerCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMarker(&self, windex: u16, pwszmarkername: ::windows::core::PWSTR, pcchmarkernamelen: *mut u16, pcnsmarkertime: *mut u64) -> ::windows::core::Result<()> { @@ -2887,7 +2887,7 @@ impl IWMHeaderInfo3 { (::windows::core::Interface::vtable(self).base__.base__.RemoveMarker)(::windows::core::Interface::as_raw(self), windex).ok() } pub unsafe fn GetScriptCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetScriptCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScript(&self, windex: u16, pwsztype: ::windows::core::PWSTR, pcchtypelen: *mut u16, pwszcommand: ::windows::core::PWSTR, pcchcommandlen: *mut u16, pcnsscripttime: *mut u64) -> ::windows::core::Result<()> { @@ -2904,14 +2904,14 @@ impl IWMHeaderInfo3 { (::windows::core::Interface::vtable(self).base__.base__.RemoveScript)(::windows::core::Interface::as_raw(self), windex).ok() } pub unsafe fn GetCodecInfoCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCodecInfoCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodecInfo(&self, windex: u32, pcchname: *mut u16, pwszname: ::windows::core::PWSTR, pcchdescription: *mut u16, pwszdescription: ::windows::core::PWSTR, pcodectype: *mut WMT_CODEC_INFO_TYPE, pcbcodecinfo: *mut u16, pbcodecinfo: *mut u8) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetCodecInfo)(::windows::core::Interface::as_raw(self), windex, ::core::mem::transmute(pcchname), ::core::mem::transmute(pwszname), ::core::mem::transmute(pcchdescription), ::core::mem::transmute(pwszdescription), ::core::mem::transmute(pcodectype), ::core::mem::transmute(pcbcodecinfo), ::core::mem::transmute(pbcodecinfo)).ok() } pub unsafe fn GetAttributeCountEx(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeCountEx)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributeIndices<'a, P0>(&self, wstreamnum: u16, pwszname: P0, pwlangindex: *const u16, pwindices: *mut u16, pwcount: *mut u16) -> ::windows::core::Result<()> @@ -3077,7 +3077,7 @@ pub struct IWMIStreamProps_Vtbl { pub struct IWMImageInfo(::windows::core::IUnknown); impl IWMImageInfo { pub unsafe fn GetImageCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImage(&self, windex: u32, pcchmimetype: *mut u16, pwszmimetype: ::windows::core::PWSTR, pcchdescription: *mut u16, pwszdescription: ::windows::core::PWSTR, pimagetype: *mut u16, pcbimagedata: *mut u32, pbimagedata: *mut u8) -> ::windows::core::Result<()> { @@ -3262,7 +3262,7 @@ pub struct IWMIndexer2_Vtbl { pub struct IWMInputMediaProps(::windows::core::IUnknown); impl IWMInputMediaProps { pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3344,7 +3344,7 @@ pub struct IWMInputMediaProps_Vtbl { pub struct IWMLanguageList(::windows::core::IUnknown); impl IWMLanguageList { pub unsafe fn GetLanguageCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguageCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguageDetails(&self, windex: u16, pwszlanguagestring: ::windows::core::PWSTR, pcchlanguagestringlength: *mut u16) -> ::windows::core::Result<()> { @@ -3354,7 +3354,7 @@ impl IWMLanguageList { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddLanguageByRFC1766String)(::windows::core::Interface::as_raw(self), pwszlanguagestring.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3571,7 +3571,7 @@ pub struct IWMLicenseRevocationAgent_Vtbl { pub struct IWMMediaProps(::windows::core::IUnknown); impl IWMMediaProps { pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3787,7 +3787,7 @@ impl IWMMutualExclusion { (::windows::core::Interface::vtable(self).base__.RemoveStream)(::windows::core::Interface::as_raw(self), wstreamnum).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetType(&self, guidtype: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -3865,7 +3865,7 @@ impl IWMMutualExclusion2 { (::windows::core::Interface::vtable(self).base__.base__.RemoveStream)(::windows::core::Interface::as_raw(self), wstreamnum).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetType(&self, guidtype: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -3881,7 +3881,7 @@ impl IWMMutualExclusion2 { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), pwszname.into()).ok() } pub unsafe fn GetRecordCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddRecord(&self) -> ::windows::core::Result<()> { @@ -3994,7 +3994,7 @@ pub struct IWMMutualExclusion2_Vtbl { pub struct IWMOutputMediaProps(::windows::core::IUnknown); impl IWMOutputMediaProps { pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4076,7 +4076,7 @@ pub struct IWMOutputMediaProps_Vtbl { pub struct IWMPacketSize(::windows::core::IUnknown); impl IWMPacketSize { pub unsafe fn GetMaxPacketSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxPacketSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxPacketSize(&self, dwmaxpacketsize: u32) -> ::windows::core::Result<()> { @@ -4130,14 +4130,14 @@ pub struct IWMPacketSize_Vtbl { pub struct IWMPacketSize2(::windows::core::IUnknown); impl IWMPacketSize2 { pub unsafe fn GetMaxPacketSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxPacketSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxPacketSize(&self, dwmaxpacketsize: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaxPacketSize)(::windows::core::Interface::as_raw(self), dwmaxpacketsize).ok() } pub unsafe fn GetMinPacketSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinPacketSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinPacketSize(&self, dwminpacketsize: u32) -> ::windows::core::Result<()> { @@ -4255,7 +4255,7 @@ pub struct IWMPlayerHook_Vtbl { pub struct IWMPlayerTimestampHook(::windows::core::IUnknown); impl IWMPlayerTimestampHook { pub unsafe fn MapTimestamp(&self, rtin: i64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapTimestamp)(::windows::core::Interface::as_raw(self), rtin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4305,7 +4305,7 @@ pub struct IWMPlayerTimestampHook_Vtbl { pub struct IWMProfile(::windows::core::IUnknown); impl IWMProfile { pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetName(&self, pwszname: ::windows::core::PWSTR, pcchname: *mut u32) -> ::windows::core::Result<()> { @@ -4327,15 +4327,15 @@ impl IWMProfile { (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), pwszdescription.into()).ok() } pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamByNumber(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamByNumber)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveStream<'a, P0>(&self, pconfig: P0) -> ::windows::core::Result<()> @@ -4360,15 +4360,15 @@ impl IWMProfile { (::windows::core::Interface::vtable(self).ReconfigStream)(::windows::core::Interface::as_raw(self), pconfig.into().abi()).ok() } pub unsafe fn CreateNewStream(&self, guidstreamtype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNewStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidstreamtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMutualExclusionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMutualExclusionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMutualExclusion(&self, dwmeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMutualExclusion)(::windows::core::Interface::as_raw(self), dwmeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveMutualExclusion<'a, P0>(&self, pme: P0) -> ::windows::core::Result<()> @@ -4384,7 +4384,7 @@ impl IWMProfile { (::windows::core::Interface::vtable(self).AddMutualExclusion)(::windows::core::Interface::as_raw(self), pme.into().abi()).ok() } pub unsafe fn CreateNewMutualExclusion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNewMutualExclusion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4451,7 +4451,7 @@ pub struct IWMProfile_Vtbl { pub struct IWMProfile2(::windows::core::IUnknown); impl IWMProfile2 { pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetName(&self, pwszname: ::windows::core::PWSTR, pcchname: *mut u32) -> ::windows::core::Result<()> { @@ -4473,15 +4473,15 @@ impl IWMProfile2 { (::windows::core::Interface::vtable(self).base__.SetDescription)(::windows::core::Interface::as_raw(self), pwszdescription.into()).ok() } pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStream)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamByNumber(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamByNumber)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveStream<'a, P0>(&self, pconfig: P0) -> ::windows::core::Result<()> @@ -4506,15 +4506,15 @@ impl IWMProfile2 { (::windows::core::Interface::vtable(self).base__.ReconfigStream)(::windows::core::Interface::as_raw(self), pconfig.into().abi()).ok() } pub unsafe fn CreateNewStream(&self, guidstreamtype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateNewStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidstreamtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMutualExclusionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMutualExclusionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMutualExclusion(&self, dwmeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMutualExclusion)(::windows::core::Interface::as_raw(self), dwmeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveMutualExclusion<'a, P0>(&self, pme: P0) -> ::windows::core::Result<()> @@ -4530,11 +4530,11 @@ impl IWMProfile2 { (::windows::core::Interface::vtable(self).base__.AddMutualExclusion)(::windows::core::Interface::as_raw(self), pme.into().abi()).ok() } pub unsafe fn CreateNewMutualExclusion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateNewMutualExclusion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProfileID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProfileID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -4599,7 +4599,7 @@ pub struct IWMProfile2_Vtbl { pub struct IWMProfile3(::windows::core::IUnknown); impl IWMProfile3 { pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetName(&self, pwszname: ::windows::core::PWSTR, pcchname: *mut u32) -> ::windows::core::Result<()> { @@ -4621,15 +4621,15 @@ impl IWMProfile3 { (::windows::core::Interface::vtable(self).base__.base__.SetDescription)(::windows::core::Interface::as_raw(self), pwszdescription.into()).ok() } pub unsafe fn GetStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStream(&self, dwstreamindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStream)(::windows::core::Interface::as_raw(self), dwstreamindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamByNumber(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStreamByNumber)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveStream<'a, P0>(&self, pconfig: P0) -> ::windows::core::Result<()> @@ -4654,15 +4654,15 @@ impl IWMProfile3 { (::windows::core::Interface::vtable(self).base__.base__.ReconfigStream)(::windows::core::Interface::as_raw(self), pconfig.into().abi()).ok() } pub unsafe fn CreateNewStream(&self, guidstreamtype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateNewStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidstreamtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMutualExclusionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMutualExclusionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMutualExclusion(&self, dwmeindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMutualExclusion)(::windows::core::Interface::as_raw(self), dwmeindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveMutualExclusion<'a, P0>(&self, pme: P0) -> ::windows::core::Result<()> @@ -4678,26 +4678,26 @@ impl IWMProfile3 { (::windows::core::Interface::vtable(self).base__.base__.AddMutualExclusion)(::windows::core::Interface::as_raw(self), pme.into().abi()).ok() } pub unsafe fn CreateNewMutualExclusion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateNewMutualExclusion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProfileID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProfileID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStorageFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStorageFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStorageFormat(&self, nstorageformat: WMT_STORAGE_FORMAT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStorageFormat)(::windows::core::Interface::as_raw(self), nstorageformat).ok() } pub unsafe fn GetBandwidthSharingCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBandwidthSharingCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBandwidthSharing(&self, dwbsindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBandwidthSharing)(::windows::core::Interface::as_raw(self), dwbsindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBandwidthSharing<'a, P0>(&self, pbs: P0) -> ::windows::core::Result<()> @@ -4713,11 +4713,11 @@ impl IWMProfile3 { (::windows::core::Interface::vtable(self).AddBandwidthSharing)(::windows::core::Interface::as_raw(self), pbs.into().abi()).ok() } pub unsafe fn CreateNewBandwidthSharing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNewBandwidthSharing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamPrioritization(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamPrioritization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamPrioritization<'a, P0>(&self, psp: P0) -> ::windows::core::Result<()> @@ -4730,11 +4730,11 @@ impl IWMProfile3 { (::windows::core::Interface::vtable(self).RemoveStreamPrioritization)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn CreateNewStreamPrioritization(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNewStreamPrioritization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExpectedPacketCount(&self, msduration: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpectedPacketCount)(::windows::core::Interface::as_raw(self), msduration, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4825,18 +4825,18 @@ pub struct IWMProfile3_Vtbl { pub struct IWMProfileManager(::windows::core::IUnknown); impl IWMProfileManager { pub unsafe fn CreateEmptyProfile(&self, dwversion: WMT_VERSION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEmptyProfile)(::windows::core::Interface::as_raw(self), dwversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadProfileByID(&self, guidprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadProfileByID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadProfileByData<'a, P0>(&self, pwszprofile: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadProfileByData)(::windows::core::Interface::as_raw(self), pwszprofile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveProfile<'a, P0, P1>(&self, piwmprofile: P0, pwszprofile: P1, pdwlength: *mut u32) -> ::windows::core::Result<()> @@ -4847,11 +4847,11 @@ impl IWMProfileManager { (::windows::core::Interface::vtable(self).SaveProfile)(::windows::core::Interface::as_raw(self), piwmprofile.into().abi(), pwszprofile.into(), ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetSystemProfileCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemProfileCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadSystemProfile(&self, dwprofileindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadSystemProfile)(::windows::core::Interface::as_raw(self), dwprofileindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4906,18 +4906,18 @@ pub struct IWMProfileManager_Vtbl { pub struct IWMProfileManager2(::windows::core::IUnknown); impl IWMProfileManager2 { pub unsafe fn CreateEmptyProfile(&self, dwversion: WMT_VERSION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEmptyProfile)(::windows::core::Interface::as_raw(self), dwversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadProfileByID(&self, guidprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LoadProfileByID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadProfileByData<'a, P0>(&self, pwszprofile: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LoadProfileByData)(::windows::core::Interface::as_raw(self), pwszprofile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveProfile<'a, P0, P1>(&self, piwmprofile: P0, pwszprofile: P1, pdwlength: *mut u32) -> ::windows::core::Result<()> @@ -4928,11 +4928,11 @@ impl IWMProfileManager2 { (::windows::core::Interface::vtable(self).base__.SaveProfile)(::windows::core::Interface::as_raw(self), piwmprofile.into().abi(), pwszprofile.into(), ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetSystemProfileCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSystemProfileCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadSystemProfile(&self, dwprofileindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LoadSystemProfile)(::windows::core::Interface::as_raw(self), dwprofileindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemProfileVersion(&self, pdwversion: *mut WMT_VERSION) -> ::windows::core::Result<()> { @@ -5197,11 +5197,11 @@ impl IWMReader { (::windows::core::Interface::vtable(self).Close)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetOutputCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputProps(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputProps)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputProps<'a, P0>(&self, dwoutputnum: u32, poutput: P0) -> ::windows::core::Result<()> @@ -5211,11 +5211,11 @@ impl IWMReader { (::windows::core::Interface::vtable(self).SetOutputProps)(::windows::core::Interface::as_raw(self), dwoutputnum, poutput.into().abi()).ok() } pub unsafe fn GetOutputFormatCount(&self, dwoutputnumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputFormatCount)(::windows::core::Interface::as_raw(self), dwoutputnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputFormat(&self, dwoutputnumber: u32, dwformatnumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputFormat)(::windows::core::Interface::as_raw(self), dwoutputnumber, dwformatnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Start(&self, cnsstart: u64, cnsduration: u64, frate: f32, pvcontext: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -5355,7 +5355,7 @@ impl IWMReaderAdvanced { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserProvidedClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserProvidedClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeliverTime(&self, cnstime: u64) -> ::windows::core::Result<()> { @@ -5372,14 +5372,14 @@ impl IWMReaderAdvanced { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetManualStreamSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetManualStreamSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamsSelected(&self, cstreamcount: u16, pwstreamnumbers: *const u16, pselections: *const WMT_STREAM_SELECTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStreamsSelected)(::windows::core::Interface::as_raw(self), cstreamcount, ::core::mem::transmute(pwstreamnumbers), ::core::mem::transmute(pselections)).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamSelected)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5393,7 +5393,7 @@ impl IWMReaderAdvanced { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveSelectionCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReceiveSelectionCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5407,7 +5407,7 @@ impl IWMReaderAdvanced { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveStreamSamples(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReceiveStreamSamples)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5421,7 +5421,7 @@ impl IWMReaderAdvanced { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForOutput(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocateForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5435,7 +5435,7 @@ impl IWMReaderAdvanced { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForStream(&self, dwsreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocateForStream)(::windows::core::Interface::as_raw(self), dwsreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatistics(&self, pstatistics: *mut WM_READER_STATISTICS) -> ::windows::core::Result<()> { @@ -5447,11 +5447,11 @@ impl IWMReaderAdvanced { (::windows::core::Interface::vtable(self).SetClientInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pclientinfo)).ok() } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxOutputSampleSize)(::windows::core::Interface::as_raw(self), dwoutput, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxStreamSampleSize)(::windows::core::Interface::as_raw(self), wstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyLateDelivery(&self, cnslateness: u64) -> ::windows::core::Result<()> { @@ -5572,7 +5572,7 @@ impl IWMReaderAdvanced2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserProvidedClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUserProvidedClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeliverTime(&self, cnstime: u64) -> ::windows::core::Result<()> { @@ -5589,14 +5589,14 @@ impl IWMReaderAdvanced2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetManualStreamSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetManualStreamSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamsSelected(&self, cstreamcount: u16, pwstreamnumbers: *const u16, pselections: *const WMT_STREAM_SELECTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStreamsSelected)(::windows::core::Interface::as_raw(self), cstreamcount, ::core::mem::transmute(pwstreamnumbers), ::core::mem::transmute(pselections)).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamSelected)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5610,7 +5610,7 @@ impl IWMReaderAdvanced2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveSelectionCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetReceiveSelectionCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5624,7 +5624,7 @@ impl IWMReaderAdvanced2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveStreamSamples(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetReceiveStreamSamples)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5638,7 +5638,7 @@ impl IWMReaderAdvanced2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForOutput(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAllocateForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5652,7 +5652,7 @@ impl IWMReaderAdvanced2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForStream(&self, dwsreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAllocateForStream)(::windows::core::Interface::as_raw(self), dwsreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatistics(&self, pstatistics: *mut WM_READER_STATISTICS) -> ::windows::core::Result<()> { @@ -5664,11 +5664,11 @@ impl IWMReaderAdvanced2 { (::windows::core::Interface::vtable(self).base__.SetClientInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pclientinfo)).ok() } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxOutputSampleSize)(::windows::core::Interface::as_raw(self), dwoutput, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxStreamSampleSize)(::windows::core::Interface::as_raw(self), wstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyLateDelivery(&self, cnslateness: u64) -> ::windows::core::Result<()> { @@ -5678,7 +5678,7 @@ impl IWMReaderAdvanced2 { (::windows::core::Interface::vtable(self).SetPlayMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn GetPlayMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPlayMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBufferProgress(&self, pdwpercent: *mut u32, pcnsbuffering: *mut u64) -> ::windows::core::Result<()> { @@ -5688,7 +5688,7 @@ impl IWMReaderAdvanced2 { (::windows::core::Interface::vtable(self).GetDownloadProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpercent), ::core::mem::transmute(pqwbytesdownloaded), ::core::mem::transmute(pcnsdownload)).ok() } pub unsafe fn GetSaveAsProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSaveAsProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveFileAs<'a, P0>(&self, pwszfilename: P0) -> ::windows::core::Result<()> @@ -5729,7 +5729,7 @@ impl IWMReaderAdvanced2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLogClientID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogClientID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StopBuffering(&self) -> ::windows::core::Result<()> { @@ -5839,7 +5839,7 @@ impl IWMReaderAdvanced3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserProvidedClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUserProvidedClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeliverTime(&self, cnstime: u64) -> ::windows::core::Result<()> { @@ -5856,14 +5856,14 @@ impl IWMReaderAdvanced3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetManualStreamSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetManualStreamSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamsSelected(&self, cstreamcount: u16, pwstreamnumbers: *const u16, pselections: *const WMT_STREAM_SELECTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetStreamsSelected)(::windows::core::Interface::as_raw(self), cstreamcount, ::core::mem::transmute(pwstreamnumbers), ::core::mem::transmute(pselections)).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStreamSelected)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5877,7 +5877,7 @@ impl IWMReaderAdvanced3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveSelectionCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetReceiveSelectionCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5891,7 +5891,7 @@ impl IWMReaderAdvanced3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveStreamSamples(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetReceiveStreamSamples)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5905,7 +5905,7 @@ impl IWMReaderAdvanced3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForOutput(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAllocateForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5919,7 +5919,7 @@ impl IWMReaderAdvanced3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForStream(&self, dwsreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAllocateForStream)(::windows::core::Interface::as_raw(self), dwsreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatistics(&self, pstatistics: *mut WM_READER_STATISTICS) -> ::windows::core::Result<()> { @@ -5931,11 +5931,11 @@ impl IWMReaderAdvanced3 { (::windows::core::Interface::vtable(self).base__.base__.SetClientInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pclientinfo)).ok() } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMaxOutputSampleSize)(::windows::core::Interface::as_raw(self), dwoutput, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMaxStreamSampleSize)(::windows::core::Interface::as_raw(self), wstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyLateDelivery(&self, cnslateness: u64) -> ::windows::core::Result<()> { @@ -5945,7 +5945,7 @@ impl IWMReaderAdvanced3 { (::windows::core::Interface::vtable(self).base__.SetPlayMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn GetPlayMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPlayMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBufferProgress(&self, pdwpercent: *mut u32, pcnsbuffering: *mut u64) -> ::windows::core::Result<()> { @@ -5955,7 +5955,7 @@ impl IWMReaderAdvanced3 { (::windows::core::Interface::vtable(self).base__.GetDownloadProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpercent), ::core::mem::transmute(pqwbytesdownloaded), ::core::mem::transmute(pcnsdownload)).ok() } pub unsafe fn GetSaveAsProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSaveAsProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveFileAs<'a, P0>(&self, pwszfilename: P0) -> ::windows::core::Result<()> @@ -5996,7 +5996,7 @@ impl IWMReaderAdvanced3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLogClientID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLogClientID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StopBuffering(&self) -> ::windows::core::Result<()> { @@ -6105,7 +6105,7 @@ impl IWMReaderAdvanced4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserProvidedClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetUserProvidedClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeliverTime(&self, cnstime: u64) -> ::windows::core::Result<()> { @@ -6122,14 +6122,14 @@ impl IWMReaderAdvanced4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetManualStreamSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetManualStreamSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamsSelected(&self, cstreamcount: u16, pwstreamnumbers: *const u16, pselections: *const WMT_STREAM_SELECTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetStreamsSelected)(::windows::core::Interface::as_raw(self), cstreamcount, ::core::mem::transmute(pwstreamnumbers), ::core::mem::transmute(pselections)).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetStreamSelected)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6143,7 +6143,7 @@ impl IWMReaderAdvanced4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveSelectionCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetReceiveSelectionCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6157,7 +6157,7 @@ impl IWMReaderAdvanced4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveStreamSamples(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetReceiveStreamSamples)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6171,7 +6171,7 @@ impl IWMReaderAdvanced4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForOutput(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetAllocateForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6185,7 +6185,7 @@ impl IWMReaderAdvanced4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForStream(&self, dwsreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetAllocateForStream)(::windows::core::Interface::as_raw(self), dwsreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatistics(&self, pstatistics: *mut WM_READER_STATISTICS) -> ::windows::core::Result<()> { @@ -6197,11 +6197,11 @@ impl IWMReaderAdvanced4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetClientInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pclientinfo)).ok() } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetMaxOutputSampleSize)(::windows::core::Interface::as_raw(self), dwoutput, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetMaxStreamSampleSize)(::windows::core::Interface::as_raw(self), wstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyLateDelivery(&self, cnslateness: u64) -> ::windows::core::Result<()> { @@ -6211,7 +6211,7 @@ impl IWMReaderAdvanced4 { (::windows::core::Interface::vtable(self).base__.base__.SetPlayMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn GetPlayMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPlayMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBufferProgress(&self, pdwpercent: *mut u32, pcnsbuffering: *mut u64) -> ::windows::core::Result<()> { @@ -6221,7 +6221,7 @@ impl IWMReaderAdvanced4 { (::windows::core::Interface::vtable(self).base__.base__.GetDownloadProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpercent), ::core::mem::transmute(pqwbytesdownloaded), ::core::mem::transmute(pcnsdownload)).ok() } pub unsafe fn GetSaveAsProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSaveAsProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveFileAs<'a, P0>(&self, pwszfilename: P0) -> ::windows::core::Result<()> @@ -6262,7 +6262,7 @@ impl IWMReaderAdvanced4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLogClientID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLogClientID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StopBuffering(&self) -> ::windows::core::Result<()> { @@ -6284,20 +6284,20 @@ impl IWMReaderAdvanced4 { (::windows::core::Interface::vtable(self).base__.StartAtPosition)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(pvoffsetstart), ::core::mem::transmute(pvduration), dwoffsetformat, frate, ::core::mem::transmute(pvcontext)).ok() } pub unsafe fn GetLanguageCount(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguageCount)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguage(&self, dwoutputnum: u32, wlanguage: u16, pwszlanguagestring: ::windows::core::PWSTR, pcchlanguagestringlength: *mut u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetLanguage)(::windows::core::Interface::as_raw(self), dwoutputnum, wlanguage, ::core::mem::transmute(pwszlanguagestring), ::core::mem::transmute(pcchlanguagestringlength)).ok() } pub unsafe fn GetMaxSpeedFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxSpeedFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsUsingFastCache(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUsingFastCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddLogParam<'a, P0, P1, P2>(&self, wsznamespace: P0, wszname: P1, wszvalue: P2) -> ::windows::core::Result<()> @@ -6314,7 +6314,7 @@ impl IWMReaderAdvanced4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanSaveFileAs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanSaveFileAs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CancelSaveFileAs(&self) -> ::windows::core::Result<()> { @@ -6439,7 +6439,7 @@ impl IWMReaderAdvanced5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserProvidedClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetUserProvidedClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeliverTime(&self, cnstime: u64) -> ::windows::core::Result<()> { @@ -6456,14 +6456,14 @@ impl IWMReaderAdvanced5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetManualStreamSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetManualStreamSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamsSelected(&self, cstreamcount: u16, pwstreamnumbers: *const u16, pselections: *const WMT_STREAM_SELECTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetStreamsSelected)(::windows::core::Interface::as_raw(self), cstreamcount, ::core::mem::transmute(pwstreamnumbers), ::core::mem::transmute(pselections)).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetStreamSelected)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6477,7 +6477,7 @@ impl IWMReaderAdvanced5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveSelectionCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetReceiveSelectionCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6491,7 +6491,7 @@ impl IWMReaderAdvanced5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveStreamSamples(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetReceiveStreamSamples)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6505,7 +6505,7 @@ impl IWMReaderAdvanced5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForOutput(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetAllocateForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6519,7 +6519,7 @@ impl IWMReaderAdvanced5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForStream(&self, dwsreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetAllocateForStream)(::windows::core::Interface::as_raw(self), dwsreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatistics(&self, pstatistics: *mut WM_READER_STATISTICS) -> ::windows::core::Result<()> { @@ -6531,11 +6531,11 @@ impl IWMReaderAdvanced5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetClientInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pclientinfo)).ok() } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetMaxOutputSampleSize)(::windows::core::Interface::as_raw(self), dwoutput, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetMaxStreamSampleSize)(::windows::core::Interface::as_raw(self), wstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyLateDelivery(&self, cnslateness: u64) -> ::windows::core::Result<()> { @@ -6545,7 +6545,7 @@ impl IWMReaderAdvanced5 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPlayMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn GetPlayMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPlayMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBufferProgress(&self, pdwpercent: *mut u32, pcnsbuffering: *mut u64) -> ::windows::core::Result<()> { @@ -6555,7 +6555,7 @@ impl IWMReaderAdvanced5 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetDownloadProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpercent), ::core::mem::transmute(pqwbytesdownloaded), ::core::mem::transmute(pcnsdownload)).ok() } pub unsafe fn GetSaveAsProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetSaveAsProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveFileAs<'a, P0>(&self, pwszfilename: P0) -> ::windows::core::Result<()> @@ -6596,7 +6596,7 @@ impl IWMReaderAdvanced5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLogClientID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetLogClientID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StopBuffering(&self) -> ::windows::core::Result<()> { @@ -6618,20 +6618,20 @@ impl IWMReaderAdvanced5 { (::windows::core::Interface::vtable(self).base__.base__.StartAtPosition)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(pvoffsetstart), ::core::mem::transmute(pvduration), dwoffsetformat, frate, ::core::mem::transmute(pvcontext)).ok() } pub unsafe fn GetLanguageCount(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguageCount)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguage(&self, dwoutputnum: u32, wlanguage: u16, pwszlanguagestring: ::windows::core::PWSTR, pcchlanguagestringlength: *mut u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetLanguage)(::windows::core::Interface::as_raw(self), dwoutputnum, wlanguage, ::core::mem::transmute(pwszlanguagestring), ::core::mem::transmute(pcchlanguagestringlength)).ok() } pub unsafe fn GetMaxSpeedFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxSpeedFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsUsingFastCache(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsUsingFastCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddLogParam<'a, P0, P1, P2>(&self, wsznamespace: P0, wszname: P1, wszvalue: P2) -> ::windows::core::Result<()> @@ -6648,7 +6648,7 @@ impl IWMReaderAdvanced5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanSaveFileAs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanSaveFileAs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CancelSaveFileAs(&self) -> ::windows::core::Result<()> { @@ -6780,7 +6780,7 @@ impl IWMReaderAdvanced6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserProvidedClock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetUserProvidedClock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeliverTime(&self, cnstime: u64) -> ::windows::core::Result<()> { @@ -6797,14 +6797,14 @@ impl IWMReaderAdvanced6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetManualStreamSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetManualStreamSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamsSelected(&self, cstreamcount: u16, pwstreamnumbers: *const u16, pselections: *const WMT_STREAM_SELECTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetStreamsSelected)(::windows::core::Interface::as_raw(self), cstreamcount, ::core::mem::transmute(pwstreamnumbers), ::core::mem::transmute(pselections)).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetStreamSelected)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6818,7 +6818,7 @@ impl IWMReaderAdvanced6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveSelectionCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetReceiveSelectionCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6832,7 +6832,7 @@ impl IWMReaderAdvanced6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceiveStreamSamples(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetReceiveStreamSamples)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6846,7 +6846,7 @@ impl IWMReaderAdvanced6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForOutput(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetAllocateForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6860,7 +6860,7 @@ impl IWMReaderAdvanced6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForStream(&self, dwsreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetAllocateForStream)(::windows::core::Interface::as_raw(self), dwsreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatistics(&self, pstatistics: *mut WM_READER_STATISTICS) -> ::windows::core::Result<()> { @@ -6872,11 +6872,11 @@ impl IWMReaderAdvanced6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetClientInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pclientinfo)).ok() } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetMaxOutputSampleSize)(::windows::core::Interface::as_raw(self), dwoutput, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetMaxStreamSampleSize)(::windows::core::Interface::as_raw(self), wstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyLateDelivery(&self, cnslateness: u64) -> ::windows::core::Result<()> { @@ -6886,7 +6886,7 @@ impl IWMReaderAdvanced6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPlayMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn GetPlayMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetPlayMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBufferProgress(&self, pdwpercent: *mut u32, pcnsbuffering: *mut u64) -> ::windows::core::Result<()> { @@ -6896,7 +6896,7 @@ impl IWMReaderAdvanced6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDownloadProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwpercent), ::core::mem::transmute(pqwbytesdownloaded), ::core::mem::transmute(pcnsdownload)).ok() } pub unsafe fn GetSaveAsProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetSaveAsProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveFileAs<'a, P0>(&self, pwszfilename: P0) -> ::windows::core::Result<()> @@ -6937,7 +6937,7 @@ impl IWMReaderAdvanced6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLogClientID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetLogClientID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StopBuffering(&self) -> ::windows::core::Result<()> { @@ -6959,20 +6959,20 @@ impl IWMReaderAdvanced6 { (::windows::core::Interface::vtable(self).base__.base__.base__.StartAtPosition)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(pvoffsetstart), ::core::mem::transmute(pvduration), dwoffsetformat, frate, ::core::mem::transmute(pvcontext)).ok() } pub unsafe fn GetLanguageCount(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLanguageCount)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguage(&self, dwoutputnum: u32, wlanguage: u16, pwszlanguagestring: ::windows::core::PWSTR, pcchlanguagestringlength: *mut u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetLanguage)(::windows::core::Interface::as_raw(self), dwoutputnum, wlanguage, ::core::mem::transmute(pwszlanguagestring), ::core::mem::transmute(pcchlanguagestringlength)).ok() } pub unsafe fn GetMaxSpeedFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMaxSpeedFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsUsingFastCache(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsUsingFastCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddLogParam<'a, P0, P1, P2>(&self, wsznamespace: P0, wszname: P1, wszvalue: P2) -> ::windows::core::Result<()> @@ -6989,7 +6989,7 @@ impl IWMReaderAdvanced6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanSaveFileAs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CanSaveFileAs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CancelSaveFileAs(&self) -> ::windows::core::Result<()> { @@ -7329,7 +7329,7 @@ pub struct IWMReaderCallbackAdvanced_Vtbl { pub struct IWMReaderNetworkConfig(::windows::core::IUnknown); impl IWMReaderNetworkConfig { pub unsafe fn GetBufferingTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBufferingTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferingTime(&self, cnsbufferingtime: u64) -> ::windows::core::Result<()> { @@ -7345,7 +7345,7 @@ impl IWMReaderNetworkConfig { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProxySettings)(::windows::core::Interface::as_raw(self), pwszprotocol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProxySettings<'a, P0>(&self, pwszprotocol: P0, proxysetting: WMT_PROXY_SETTINGS) -> ::windows::core::Result<()> @@ -7371,7 +7371,7 @@ impl IWMReaderNetworkConfig { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProxyPort)(::windows::core::Interface::as_raw(self), pwszprotocol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProxyPort<'a, P0>(&self, pwszprotocol: P0, dwport: u32) -> ::windows::core::Result<()> @@ -7399,7 +7399,7 @@ impl IWMReaderNetworkConfig { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProxyBypassForLocal)(::windows::core::Interface::as_raw(self), pwszprotocol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7414,7 +7414,7 @@ impl IWMReaderNetworkConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetForceRerunAutoProxyDetection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetForceRerunAutoProxyDetection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7428,7 +7428,7 @@ impl IWMReaderNetworkConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableMulticast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnableMulticast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7442,7 +7442,7 @@ impl IWMReaderNetworkConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableHTTP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnableHTTP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7456,7 +7456,7 @@ impl IWMReaderNetworkConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableUDP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnableUDP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7470,7 +7470,7 @@ impl IWMReaderNetworkConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableTCP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnableTCP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7485,14 +7485,14 @@ impl IWMReaderNetworkConfig { (::windows::core::Interface::vtable(self).ResetProtocolRollover)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetConnectionBandwidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectionBandwidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectionBandwidth(&self, dwconnectionbandwidth: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetConnectionBandwidth)(::windows::core::Interface::as_raw(self), dwconnectionbandwidth).ok() } pub unsafe fn GetNumProtocolsSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumProtocolsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProtocolName(&self, dwprotocolnum: u32, pwszprotocolname: ::windows::core::PWSTR, pcchprotocolname: *mut u32) -> ::windows::core::Result<()> { @@ -7508,7 +7508,7 @@ impl IWMReaderNetworkConfig { (::windows::core::Interface::vtable(self).GetLoggingUrl)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(pwszurl), ::core::mem::transmute(pcchurl)).ok() } pub unsafe fn GetLoggingUrlCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLoggingUrlCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetLoggingUrlList(&self) -> ::windows::core::Result<()> { @@ -7629,7 +7629,7 @@ pub struct IWMReaderNetworkConfig_Vtbl { pub struct IWMReaderNetworkConfig2(::windows::core::IUnknown); impl IWMReaderNetworkConfig2 { pub unsafe fn GetBufferingTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBufferingTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferingTime(&self, cnsbufferingtime: u64) -> ::windows::core::Result<()> { @@ -7645,7 +7645,7 @@ impl IWMReaderNetworkConfig2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProxySettings)(::windows::core::Interface::as_raw(self), pwszprotocol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProxySettings<'a, P0>(&self, pwszprotocol: P0, proxysetting: WMT_PROXY_SETTINGS) -> ::windows::core::Result<()> @@ -7671,7 +7671,7 @@ impl IWMReaderNetworkConfig2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProxyPort)(::windows::core::Interface::as_raw(self), pwszprotocol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProxyPort<'a, P0>(&self, pwszprotocol: P0, dwport: u32) -> ::windows::core::Result<()> @@ -7699,7 +7699,7 @@ impl IWMReaderNetworkConfig2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProxyBypassForLocal)(::windows::core::Interface::as_raw(self), pwszprotocol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7714,7 +7714,7 @@ impl IWMReaderNetworkConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetForceRerunAutoProxyDetection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetForceRerunAutoProxyDetection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7728,7 +7728,7 @@ impl IWMReaderNetworkConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableMulticast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnableMulticast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7742,7 +7742,7 @@ impl IWMReaderNetworkConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableHTTP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnableHTTP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7756,7 +7756,7 @@ impl IWMReaderNetworkConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableUDP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnableUDP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7770,7 +7770,7 @@ impl IWMReaderNetworkConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableTCP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnableTCP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7785,14 +7785,14 @@ impl IWMReaderNetworkConfig2 { (::windows::core::Interface::vtable(self).base__.ResetProtocolRollover)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetConnectionBandwidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetConnectionBandwidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectionBandwidth(&self, dwconnectionbandwidth: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetConnectionBandwidth)(::windows::core::Interface::as_raw(self), dwconnectionbandwidth).ok() } pub unsafe fn GetNumProtocolsSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNumProtocolsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProtocolName(&self, dwprotocolnum: u32, pwszprotocolname: ::windows::core::PWSTR, pcchprotocolname: *mut u32) -> ::windows::core::Result<()> { @@ -7808,7 +7808,7 @@ impl IWMReaderNetworkConfig2 { (::windows::core::Interface::vtable(self).base__.GetLoggingUrl)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(pwszurl), ::core::mem::transmute(pcchurl)).ok() } pub unsafe fn GetLoggingUrlCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLoggingUrlCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetLoggingUrlList(&self) -> ::windows::core::Result<()> { @@ -7817,7 +7817,7 @@ impl IWMReaderNetworkConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableContentCaching(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnableContentCaching)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7831,7 +7831,7 @@ impl IWMReaderNetworkConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableFastCache(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnableFastCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7843,14 +7843,14 @@ impl IWMReaderNetworkConfig2 { (::windows::core::Interface::vtable(self).SetEnableFastCache)(::windows::core::Interface::as_raw(self), fenablefastcache.into()).ok() } pub unsafe fn GetAcceleratedStreamingDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAcceleratedStreamingDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAcceleratedStreamingDuration(&self, cnsaccelduration: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAcceleratedStreamingDuration)(::windows::core::Interface::as_raw(self), cnsaccelduration).ok() } pub unsafe fn GetAutoReconnectLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutoReconnectLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoReconnectLimit(&self, dwautoreconnectlimit: u32) -> ::windows::core::Result<()> { @@ -7859,7 +7859,7 @@ impl IWMReaderNetworkConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableResends(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnableResends)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7873,7 +7873,7 @@ impl IWMReaderNetworkConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnableThinning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnableThinning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7885,7 +7885,7 @@ impl IWMReaderNetworkConfig2 { (::windows::core::Interface::vtable(self).SetEnableThinning)(::windows::core::Interface::as_raw(self), fenablethinning.into()).ok() } pub unsafe fn GetMaxNetPacketSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxNetPacketSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7992,7 +7992,7 @@ impl IWMReaderPlaylistBurn { (::windows::core::Interface::vtable(self).InitPlaylistBurn)(::windows::core::Interface::as_raw(self), cfiles, ::core::mem::transmute(ppwszfilenames), pcallback.into().abi(), ::core::mem::transmute(pvcontext)).ok() } pub unsafe fn GetInitResults(&self, cfiles: u32) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInitResults)(::windows::core::Interface::as_raw(self), cfiles, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -8054,7 +8054,7 @@ impl IWMReaderStreamClock { (::windows::core::Interface::vtable(self).GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcnsnow)).ok() } pub unsafe fn SetTimer(&self, cnswhen: u64, pvparam: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetTimer)(::windows::core::Interface::as_raw(self), cnswhen, ::core::mem::transmute(pvparam), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn KillTimer(&self, dwtimerid: u32) -> ::windows::core::Result<()> { @@ -8109,7 +8109,7 @@ pub struct IWMReaderStreamClock_Vtbl { pub struct IWMReaderTimecode(::windows::core::IUnknown); impl IWMReaderTimecode { pub unsafe fn GetTimecodeRangeCount(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimecodeRangeCount)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTimecodeRangeBounds(&self, wstreamnum: u16, wrangenum: u16, pstarttimecode: *mut u32, pendtimecode: *mut u32) -> ::windows::core::Result<()> { @@ -8274,19 +8274,19 @@ pub struct IWMRegisterCallback_Vtbl { pub struct IWMRegisteredDevice(::windows::core::IUnknown); impl IWMRegisteredDevice { pub unsafe fn GetDeviceSerialNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceSerialNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAttributeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8300,7 +8300,7 @@ impl IWMRegisteredDevice { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeByName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8323,25 +8323,25 @@ impl IWMRegisteredDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsValid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsValid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsApproved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsApproved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsWmdrmCompliant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWmdrmCompliant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOpened(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOpened)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Open(&self) -> ::windows::core::Result<()> { @@ -8434,11 +8434,11 @@ pub struct IWMRegisteredDevice_Vtbl { pub struct IWMSBufferAllocator(::windows::core::IUnknown); impl IWMSBufferAllocator { pub unsafe fn AllocateBuffer(&self, dwmaxbuffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocateBuffer)(::windows::core::Interface::as_raw(self), dwmaxbuffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllocatePageSizeBuffer(&self, dwmaxbuffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocatePageSizeBuffer)(::windows::core::Interface::as_raw(self), dwmaxbuffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8500,7 +8500,7 @@ impl IWMSInternalAdminNetSource { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), psharednamespace.into().abi(), pnamespacenode.into().abi(), pnetsourcecreator.into().abi(), fembeddedinserver.into()).ok() } pub unsafe fn GetNetSourceCreator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetSourceCreator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8532,7 +8532,7 @@ impl IWMSInternalAdminNetSource { (::windows::core::Interface::vtable(self).DeleteCredentials)(::windows::core::Interface::as_raw(self), bstrrealm.into().abi()).ok() } pub unsafe fn GetCredentialFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCredentialFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCredentialFlags(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -8556,7 +8556,7 @@ impl IWMSInternalAdminNetSource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsUsingIE(&self, dwproxycontext: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUsingIE)(::windows::core::Interface::as_raw(self), dwproxycontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8783,7 +8783,7 @@ impl IWMSInternalAdminNetSource3 { (::windows::core::Interface::vtable(self).base__.FindProxyForURLEx)(::windows::core::Interface::as_raw(self), bstrprotocol.into().abi(), bstrhost.into().abi(), bstrurl.into().abi(), ::core::mem::transmute(pfproxyenabled), ::core::mem::transmute(pbstrproxyserver), ::core::mem::transmute(pdwproxyport), ::core::mem::transmute(pdwproxycontext)).ok() } pub unsafe fn GetNetSourceCreator2(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetSourceCreator2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8805,7 +8805,7 @@ impl IWMSInternalAdminNetSource3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsUsingIE2(&self, qwproxycontext: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUsingIE2)(::windows::core::Interface::as_raw(self), qwproxycontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8914,15 +8914,15 @@ pub struct IWMSInternalAdminNetSource3_Vtbl { pub struct IWMSecureChannel(::windows::core::IUnknown); impl IWMSecureChannel { pub unsafe fn GetCertCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCertCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCert(&self, dwindex: u32) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCert)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn GetSharedData(&self, dwcertindex: u32, pbshareddata: *const u8, pbcert: *const u8) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSharedData)(::windows::core::Interface::as_raw(self), dwcertindex, ::core::mem::transmute(pbshareddata), ::core::mem::transmute(pbcert), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn WMSC_AddCertificate<'a, P0>(&self, pcert: P0) -> ::windows::core::Result<()> @@ -8943,7 +8943,7 @@ impl IWMSecureChannel { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WMSC_IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WMSC_IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WMSC_Disconnect(&self) -> ::windows::core::Result<()> { @@ -9091,11 +9091,11 @@ pub struct IWMStatusCallback_Vtbl { pub struct IWMStreamConfig(::windows::core::IUnknown); impl IWMStreamConfig { pub unsafe fn GetStreamType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStreamNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamNumber(&self, wstreamnum: u16) -> ::windows::core::Result<()> { @@ -9120,14 +9120,14 @@ impl IWMStreamConfig { (::windows::core::Interface::vtable(self).SetConnectionName)(::windows::core::Interface::as_raw(self), pwszinputname.into()).ok() } pub unsafe fn GetBitrate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitrate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBitrate(&self, pdwbitrate: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBitrate)(::windows::core::Interface::as_raw(self), pdwbitrate).ok() } pub unsafe fn GetBufferWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBufferWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferWindow(&self, msbufferwindow: u32) -> ::windows::core::Result<()> { @@ -9190,11 +9190,11 @@ pub struct IWMStreamConfig_Vtbl { pub struct IWMStreamConfig2(::windows::core::IUnknown); impl IWMStreamConfig2 { pub unsafe fn GetStreamType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStreamNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamNumber(&self, wstreamnum: u16) -> ::windows::core::Result<()> { @@ -9219,21 +9219,21 @@ impl IWMStreamConfig2 { (::windows::core::Interface::vtable(self).base__.SetConnectionName)(::windows::core::Interface::as_raw(self), pwszinputname.into()).ok() } pub unsafe fn GetBitrate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBitrate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBitrate(&self, pdwbitrate: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBitrate)(::windows::core::Interface::as_raw(self), pdwbitrate).ok() } pub unsafe fn GetBufferWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBufferWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferWindow(&self, msbufferwindow: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBufferWindow)(::windows::core::Interface::as_raw(self), msbufferwindow).ok() } pub unsafe fn GetTransportType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransportType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransportType(&self, ntransporttype: WMT_TRANSPORT_TYPE) -> ::windows::core::Result<()> { @@ -9243,7 +9243,7 @@ impl IWMStreamConfig2 { (::windows::core::Interface::vtable(self).AddDataUnitExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidextensionsystemid), cbextensiondatasize, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbextensionsysteminfo)), pbextensionsysteminfo.len() as _).ok() } pub unsafe fn GetDataUnitExtensionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataUnitExtensionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataUnitExtension(&self, wdataunitextensionnumber: u16, pguidextensionsystemid: *mut ::windows::core::GUID, pcbextensiondatasize: *mut u16, pbextensionsysteminfo: *mut u8, pcbextensionsysteminfo: *mut u32) -> ::windows::core::Result<()> { @@ -9319,11 +9319,11 @@ pub struct IWMStreamConfig2_Vtbl { pub struct IWMStreamConfig3(::windows::core::IUnknown); impl IWMStreamConfig3 { pub unsafe fn GetStreamType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStreamType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetStreamNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStreamNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamNumber(&self, wstreamnum: u16) -> ::windows::core::Result<()> { @@ -9348,21 +9348,21 @@ impl IWMStreamConfig3 { (::windows::core::Interface::vtable(self).base__.base__.SetConnectionName)(::windows::core::Interface::as_raw(self), pwszinputname.into()).ok() } pub unsafe fn GetBitrate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBitrate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBitrate(&self, pdwbitrate: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetBitrate)(::windows::core::Interface::as_raw(self), pdwbitrate).ok() } pub unsafe fn GetBufferWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBufferWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferWindow(&self, msbufferwindow: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetBufferWindow)(::windows::core::Interface::as_raw(self), msbufferwindow).ok() } pub unsafe fn GetTransportType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransportType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransportType(&self, ntransporttype: WMT_TRANSPORT_TYPE) -> ::windows::core::Result<()> { @@ -9372,7 +9372,7 @@ impl IWMStreamConfig3 { (::windows::core::Interface::vtable(self).base__.AddDataUnitExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidextensionsystemid), cbextensiondatasize, ::core::mem::transmute(::windows::core::as_ptr_or_null(pbextensionsysteminfo)), pbextensionsysteminfo.len() as _).ok() } pub unsafe fn GetDataUnitExtensionCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDataUnitExtensionCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataUnitExtension(&self, wdataunitextensionnumber: u16, pguidextensionsystemid: *mut ::windows::core::GUID, pcbextensiondatasize: *mut u16, pbextensionsysteminfo: *mut u8, pcbextensionsysteminfo: *mut u32) -> ::windows::core::Result<()> { @@ -9609,7 +9609,7 @@ impl IWMSyncReader { (::windows::core::Interface::vtable(self).SetStreamsSelected)(::windows::core::Interface::as_raw(self), cstreamcount, ::core::mem::transmute(pwstreamnumbers), ::core::mem::transmute(pselections)).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamSelected)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9623,7 +9623,7 @@ impl IWMSyncReader { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReadStreamSamples(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReadStreamSamples)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputSetting<'a, P0>(&self, dwoutputnum: u32, pszname: P0, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> ::windows::core::Result<()> @@ -9639,11 +9639,11 @@ impl IWMSyncReader { (::windows::core::Interface::vtable(self).SetOutputSetting)(::windows::core::Interface::as_raw(self), dwoutputnum, pszname.into(), r#type, ::core::mem::transmute(::windows::core::as_ptr_or_null(pvalue)), pvalue.len() as _).ok() } pub unsafe fn GetOutputCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputProps(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputProps)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputProps<'a, P0>(&self, dwoutputnum: u32, poutput: P0) -> ::windows::core::Result<()> @@ -9653,27 +9653,27 @@ impl IWMSyncReader { (::windows::core::Interface::vtable(self).SetOutputProps)(::windows::core::Interface::as_raw(self), dwoutputnum, poutput.into().abi()).ok() } pub unsafe fn GetOutputFormatCount(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputFormatCount)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputFormat(&self, dwoutputnum: u32, dwformatnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputFormat)(::windows::core::Interface::as_raw(self), dwoutputnum, dwformatnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputNumberForStream(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputNumberForStream)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamNumberForOutput(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreamNumberForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxOutputSampleSize)(::windows::core::Interface::as_raw(self), dwoutput, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxStreamSampleSize)(::windows::core::Interface::as_raw(self), wstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9781,7 +9781,7 @@ impl IWMSyncReader2 { (::windows::core::Interface::vtable(self).base__.SetStreamsSelected)(::windows::core::Interface::as_raw(self), cstreamcount, ::core::mem::transmute(pwstreamnumbers), ::core::mem::transmute(pselections)).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamSelected)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9795,7 +9795,7 @@ impl IWMSyncReader2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReadStreamSamples(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetReadStreamSamples)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputSetting<'a, P0>(&self, dwoutputnum: u32, pszname: P0, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> ::windows::core::Result<()> @@ -9811,11 +9811,11 @@ impl IWMSyncReader2 { (::windows::core::Interface::vtable(self).base__.SetOutputSetting)(::windows::core::Interface::as_raw(self), dwoutputnum, pszname.into(), r#type, ::core::mem::transmute(::windows::core::as_ptr_or_null(pvalue)), pvalue.len() as _).ok() } pub unsafe fn GetOutputCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutputCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputProps(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutputProps)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputProps<'a, P0>(&self, dwoutputnum: u32, poutput: P0) -> ::windows::core::Result<()> @@ -9825,27 +9825,27 @@ impl IWMSyncReader2 { (::windows::core::Interface::vtable(self).base__.SetOutputProps)(::windows::core::Interface::as_raw(self), dwoutputnum, poutput.into().abi()).ok() } pub unsafe fn GetOutputFormatCount(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutputFormatCount)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputFormat(&self, dwoutputnum: u32, dwformatnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutputFormat)(::windows::core::Interface::as_raw(self), dwoutputnum, dwformatnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputNumberForStream(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutputNumberForStream)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStreamNumberForOutput(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStreamNumberForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxOutputSampleSize)(::windows::core::Interface::as_raw(self), dwoutput, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxStreamSampleSize)(::windows::core::Interface::as_raw(self), wstream, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9860,7 +9860,7 @@ impl IWMSyncReader2 { (::windows::core::Interface::vtable(self).SetRangeByTimecode)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(pstart), ::core::mem::transmute(pend)).ok() } pub unsafe fn SetRangeByFrameEx(&self, wstreamnum: u16, qwframenumber: u64, cframestoread: i64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetRangeByFrameEx)(::windows::core::Interface::as_raw(self), wstreamnum, qwframenumber, cframestoread, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllocateForOutput<'a, P0>(&self, dwoutputnum: u32, pallocator: P0) -> ::windows::core::Result<()> @@ -9870,7 +9870,7 @@ impl IWMSyncReader2 { (::windows::core::Interface::vtable(self).SetAllocateForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, pallocator.into().abi()).ok() } pub unsafe fn GetAllocateForOutput(&self, dwoutputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocateForOutput)(::windows::core::Interface::as_raw(self), dwoutputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllocateForStream<'a, P0>(&self, wstreamnum: u16, pallocator: P0) -> ::windows::core::Result<()> @@ -9880,7 +9880,7 @@ impl IWMSyncReader2 { (::windows::core::Interface::vtable(self).SetAllocateForStream)(::windows::core::Interface::as_raw(self), wstreamnum, pallocator.into().abi()).ok() } pub unsafe fn GetAllocateForStream(&self, dwsreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocateForStream)(::windows::core::Interface::as_raw(self), dwsreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9950,7 +9950,7 @@ pub struct IWMSyncReader2_Vtbl { pub struct IWMVideoMediaProps(::windows::core::IUnknown); impl IWMVideoMediaProps { pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9964,14 +9964,14 @@ impl IWMVideoMediaProps { (::windows::core::Interface::vtable(self).base__.SetMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptype)).ok() } pub unsafe fn GetMaxKeyFrameSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxKeyFrameSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxKeyFrameSpacing(&self, lltime: i64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxKeyFrameSpacing)(::windows::core::Interface::as_raw(self), lltime).ok() } pub unsafe fn GetQuality(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQuality)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuality(&self, dwquality: u32) -> ::windows::core::Result<()> { @@ -10042,11 +10042,11 @@ pub struct IWMVideoMediaProps_Vtbl { pub struct IWMWatermarkInfo(::windows::core::IUnknown); impl IWMWatermarkInfo { pub unsafe fn GetWatermarkEntryCount(&self, wmettype: WMT_WATERMARK_ENTRY_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWatermarkEntryCount)(::windows::core::Interface::as_raw(self), wmettype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWatermarkEntry(&self, wmettype: WMT_WATERMARK_ENTRY_TYPE, dwentrynum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWatermarkEntry)(::windows::core::Interface::as_raw(self), wmettype, dwentrynum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10112,11 +10112,11 @@ impl IWMWriter { (::windows::core::Interface::vtable(self).SetOutputFilename)(::windows::core::Interface::as_raw(self), pwszfilename.into()).ok() } pub unsafe fn GetInputCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputProps(&self, dwinputnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputProps)(::windows::core::Interface::as_raw(self), dwinputnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputProps<'a, P0>(&self, dwinputnum: u32, pinput: P0) -> ::windows::core::Result<()> @@ -10126,11 +10126,11 @@ impl IWMWriter { (::windows::core::Interface::vtable(self).SetInputProps)(::windows::core::Interface::as_raw(self), dwinputnum, pinput.into().abi()).ok() } pub unsafe fn GetInputFormatCount(&self, dwinputnumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputFormatCount)(::windows::core::Interface::as_raw(self), dwinputnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputFormat(&self, dwinputnumber: u32, dwformatnumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputFormat)(::windows::core::Interface::as_raw(self), dwinputnumber, dwformatnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginWriting(&self) -> ::windows::core::Result<()> { @@ -10140,7 +10140,7 @@ impl IWMWriter { (::windows::core::Interface::vtable(self).EndWriting)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn AllocateSample(&self, dwsamplesize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocateSample)(::windows::core::Interface::as_raw(self), dwsamplesize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteSample<'a, P0>(&self, dwinputnum: u32, cnssampletime: u64, dwflags: u32, psample: P0) -> ::windows::core::Result<()> @@ -10211,11 +10211,11 @@ pub struct IWMWriter_Vtbl { pub struct IWMWriterAdvanced(::windows::core::IUnknown); impl IWMWriterAdvanced { pub unsafe fn GetSinkCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSinkCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSink(&self, dwsinknum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSink)(::windows::core::Interface::as_raw(self), dwsinknum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSink<'a, P0>(&self, psink: P0) -> ::windows::core::Result<()> @@ -10247,22 +10247,22 @@ impl IWMWriterAdvanced { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWriterTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWriterTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatistics(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatistics)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncTolerance(&self, mswindow: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSyncTolerance)(::windows::core::Interface::as_raw(self), mswindow).ok() } pub unsafe fn GetSyncTolerance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncTolerance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10328,11 +10328,11 @@ pub struct IWMWriterAdvanced_Vtbl { pub struct IWMWriterAdvanced2(::windows::core::IUnknown); impl IWMWriterAdvanced2 { pub unsafe fn GetSinkCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSinkCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSink(&self, dwsinknum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSink)(::windows::core::Interface::as_raw(self), dwsinknum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSink<'a, P0>(&self, psink: P0) -> ::windows::core::Result<()> @@ -10364,22 +10364,22 @@ impl IWMWriterAdvanced2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWriterTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWriterTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatistics(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatistics)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncTolerance(&self, mswindow: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSyncTolerance)(::windows::core::Interface::as_raw(self), mswindow).ok() } pub unsafe fn GetSyncTolerance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSyncTolerance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputSetting<'a, P0>(&self, dwinputnum: u32, pszname: P0, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> ::windows::core::Result<()> @@ -10457,11 +10457,11 @@ pub struct IWMWriterAdvanced2_Vtbl { pub struct IWMWriterAdvanced3(::windows::core::IUnknown); impl IWMWriterAdvanced3 { pub unsafe fn GetSinkCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSinkCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSink(&self, dwsinknum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSink)(::windows::core::Interface::as_raw(self), dwsinknum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSink<'a, P0>(&self, psink: P0) -> ::windows::core::Result<()> @@ -10493,22 +10493,22 @@ impl IWMWriterAdvanced3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWriterTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWriterTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatistics(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStatistics)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncTolerance(&self, mswindow: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetSyncTolerance)(::windows::core::Interface::as_raw(self), mswindow).ok() } pub unsafe fn GetSyncTolerance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSyncTolerance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputSetting<'a, P0>(&self, dwinputnum: u32, pszname: P0, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> ::windows::core::Result<()> @@ -10524,7 +10524,7 @@ impl IWMWriterAdvanced3 { (::windows::core::Interface::vtable(self).base__.SetInputSetting)(::windows::core::Interface::as_raw(self), dwinputnum, pszname.into(), r#type, ::core::mem::transmute(::windows::core::as_ptr_or_null(pvalue)), pvalue.len() as _).ok() } pub unsafe fn GetStatisticsEx(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatisticsEx)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNonBlocking(&self) -> ::windows::core::Result<()> { @@ -10616,11 +10616,11 @@ impl IWMWriterFileSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllocateDataUnit(&self, cbdataunit: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllocateDataUnit)(::windows::core::Interface::as_raw(self), cbdataunit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDataUnit<'a, P0>(&self, pdataunit: P0) -> ::windows::core::Result<()> @@ -10708,11 +10708,11 @@ impl IWMWriterFileSink2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllocateDataUnit(&self, cbdataunit: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AllocateDataUnit)(::windows::core::Interface::as_raw(self), cbdataunit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDataUnit<'a, P0>(&self, pdataunit: P0) -> ::windows::core::Result<()> @@ -10739,15 +10739,15 @@ impl IWMWriterFileSink2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsStopped(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsStopped)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -10756,7 +10756,7 @@ impl IWMWriterFileSink2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsClosed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsClosed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10856,11 +10856,11 @@ impl IWMWriterFileSink3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllocateDataUnit(&self, cbdataunit: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AllocateDataUnit)(::windows::core::Interface::as_raw(self), cbdataunit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDataUnit<'a, P0>(&self, pdataunit: P0) -> ::windows::core::Result<()> @@ -10887,15 +10887,15 @@ impl IWMWriterFileSink3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsStopped(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsStopped)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -10904,7 +10904,7 @@ impl IWMWriterFileSink3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsClosed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsClosed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10918,7 +10918,7 @@ impl IWMWriterFileSink3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAutoIndexing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutoIndexing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10930,7 +10930,7 @@ impl IWMWriterFileSink3 { (::windows::core::Interface::vtable(self).SetControlStream)(::windows::core::Interface::as_raw(self), wstreamnumber, fshouldcontrolstartandstop.into()).ok() } pub unsafe fn GetMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDataUnitEx(&self, pfilesinkdataunit: *const WMT_FILESINK_DATA_UNIT) -> ::windows::core::Result<()> { @@ -10948,7 +10948,7 @@ impl IWMWriterFileSink3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUnbufferedIO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnbufferedIO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompleteOperations(&self) -> ::windows::core::Result<()> { @@ -11076,11 +11076,11 @@ impl IWMWriterNetworkSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllocateDataUnit(&self, cbdataunit: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllocateDataUnit)(::windows::core::Interface::as_raw(self), cbdataunit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDataUnit<'a, P0>(&self, pdataunit: P0) -> ::windows::core::Result<()> @@ -11096,14 +11096,14 @@ impl IWMWriterNetworkSink { (::windows::core::Interface::vtable(self).SetMaximumClients)(::windows::core::Interface::as_raw(self), dwmaxclients).ok() } pub unsafe fn GetMaximumClients(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumClients)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNetworkProtocol(&self, protocol: WMT_NET_PROTOCOL) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNetworkProtocol)(::windows::core::Interface::as_raw(self), protocol).ok() } pub unsafe fn GetNetworkProtocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkProtocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHostURL(&self, pwszurl: ::windows::core::PWSTR, pcchurl: *mut u32) -> ::windows::core::Result<()> { @@ -11203,11 +11203,11 @@ impl IWMWriterPostView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReceivePostViewSamples(&self, wstreamnum: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReceivePostViewSamples)(::windows::core::Interface::as_raw(self), wstreamnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPostViewProps(&self, wstreamnumber: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPostViewProps)(::windows::core::Interface::as_raw(self), wstreamnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPostViewProps<'a, P0>(&self, wstreamnumber: u16, poutput: P0) -> ::windows::core::Result<()> @@ -11217,11 +11217,11 @@ impl IWMWriterPostView { (::windows::core::Interface::vtable(self).SetPostViewProps)(::windows::core::Interface::as_raw(self), wstreamnumber, poutput.into().abi()).ok() } pub unsafe fn GetPostViewFormatCount(&self, wstreamnumber: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPostViewFormatCount)(::windows::core::Interface::as_raw(self), wstreamnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPostViewFormat(&self, wstreamnumber: u16, dwformatnumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPostViewFormat)(::windows::core::Interface::as_raw(self), wstreamnumber, dwformatnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11235,7 +11235,7 @@ impl IWMWriterPostView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAllocateForPostView(&self, wstreamnumber: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllocateForPostView)(::windows::core::Interface::as_raw(self), wstreamnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11379,7 +11379,7 @@ pub struct IWMWriterPostViewCallback_Vtbl { pub struct IWMWriterPreprocess(::windows::core::IUnknown); impl IWMWriterPreprocess { pub unsafe fn GetMaxPreprocessingPasses(&self, dwinputnum: u32, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxPreprocessingPasses)(::windows::core::Interface::as_raw(self), dwinputnum, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNumPreprocessingPasses(&self, dwinputnum: u32, dwflags: u32, dwnumpasses: u32) -> ::windows::core::Result<()> { @@ -11456,11 +11456,11 @@ impl IWMWriterPushSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllocateDataUnit(&self, cbdataunit: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllocateDataUnit)(::windows::core::Interface::as_raw(self), cbdataunit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDataUnit<'a, P0>(&self, pdataunit: P0) -> ::windows::core::Result<()> @@ -11563,11 +11563,11 @@ impl IWMWriterSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllocateDataUnit(&self, cbdataunit: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocateDataUnit)(::windows::core::Interface::as_raw(self), cbdataunit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDataUnit<'a, P0>(&self, pdataunit: P0) -> ::windows::core::Result<()> @@ -11694,7 +11694,7 @@ where extern "system" { fn WMCreateBackupRestorer(pcallback: *mut ::core::ffi::c_void, ppbackup: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateBackupRestorer(pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -11704,7 +11704,7 @@ pub unsafe fn WMCreateEditor() -> ::windows::core::Result { extern "system" { fn WMCreateEditor(ppeditor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateEditor(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -11714,7 +11714,7 @@ pub unsafe fn WMCreateIndexer() -> ::windows::core::Result { extern "system" { fn WMCreateIndexer(ppindexer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateIndexer(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -11724,7 +11724,7 @@ pub unsafe fn WMCreateProfileManager() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateProfileManager(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -11737,7 +11737,7 @@ where extern "system" { fn WMCreateReader(punkcert: *mut ::core::ffi::c_void, dwrights: u32, ppreader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateReader(punkcert.into().abi(), dwrights, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -11750,7 +11750,7 @@ where extern "system" { fn WMCreateSyncReader(punkcert: *mut ::core::ffi::c_void, dwrights: u32, ppsyncreader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateSyncReader(punkcert.into().abi(), dwrights, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -11763,7 +11763,7 @@ where extern "system" { fn WMCreateWriter(punkcert: *mut ::core::ffi::c_void, ppwriter: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateWriter(punkcert.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -11773,7 +11773,7 @@ pub unsafe fn WMCreateWriterFileSink() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateWriterFileSink(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -11783,7 +11783,7 @@ pub unsafe fn WMCreateWriterNetworkSink() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateWriterNetworkSink(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -11793,7 +11793,7 @@ pub unsafe fn WMCreateWriterPushSink() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WMCreateWriterPushSink(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] diff --git a/crates/libs/windows/src/Windows/Win32/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/mod.rs index 2c1864b640..fddb8fbceb 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/mod.rs @@ -61,7 +61,7 @@ unsafe impl ::windows::core::Abi for HTASK { pub struct IReferenceClock(::windows::core::IUnknown); impl IReferenceClock { pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70,7 +70,7 @@ impl IReferenceClock { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdviseTime)(::windows::core::Interface::as_raw(self), basetime, streamtime, hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -79,7 +79,7 @@ impl IReferenceClock { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdvisePeriodic)(::windows::core::Interface::as_raw(self), starttime, periodtime, hsemaphore.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwadvisecookie: usize) -> ::windows::core::Result<()> { @@ -141,7 +141,7 @@ pub struct IReferenceClock_Vtbl { pub struct IReferenceClock2(::windows::core::IUnknown); impl IReferenceClock2 { pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -150,7 +150,7 @@ impl IReferenceClock2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AdviseTime)(::windows::core::Interface::as_raw(self), basetime, streamtime, hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -159,7 +159,7 @@ impl IReferenceClock2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AdvisePeriodic)(::windows::core::Interface::as_raw(self), starttime, periodtime, hsemaphore.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwadvisecookie: usize) -> ::windows::core::Result<()> { @@ -229,7 +229,7 @@ impl IReferenceClockTimerControl { (::windows::core::Interface::vtable(self).SetDefaultTimerResolution)(::windows::core::Interface::as_raw(self), timerresolution).ok() } pub unsafe fn GetDefaultTimerResolution(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultTimerResolution)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 8992279a57..afca5d167f 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs @@ -78,24 +78,24 @@ impl IMbnConnection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ConnectionID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectionID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InterfaceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InterfaceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Connect<'a, P0>(&self, connectionmode: MBN_CONNECTION_MODE, strprofile: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Connect)(::windows::core::Interface::as_raw(self), connectionmode, strprofile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disconnect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Disconnect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -104,11 +104,11 @@ impl IMbnConnection { (::windows::core::Interface::vtable(self).GetConnectionState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(connectionstate), ::core::mem::transmute(profilename)).ok() } pub unsafe fn GetVoiceCallState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVoiceCallState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActivationNetworkError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivationNetworkError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -175,7 +175,7 @@ impl IMbnConnectionContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProvisionedContexts(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProvisionedContexts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -185,7 +185,7 @@ impl IMbnConnectionContext { P0: ::std::convert::Into<::windows::core::InParam<'a, MBN_CONTEXT>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetProvisionedContext)(::windows::core::Interface::as_raw(self), provisionedcontexts.into().abi(), providerid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -377,13 +377,13 @@ impl IMbnConnectionManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnection)(::windows::core::Interface::as_raw(self), connectionid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetConnections(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -498,7 +498,7 @@ impl IMbnConnectionProfile { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProfileXmlData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProfileXmlData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateProfile<'a, P0>(&self, strprofile: P0) -> ::windows::core::Result<()> @@ -619,7 +619,7 @@ impl IMbnConnectionProfileManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMbnInterface>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectionProfiles)(::windows::core::Interface::as_raw(self), mbninterface.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetConnectionProfile<'a, P0, P1>(&self, mbninterface: P0, profilename: P1) -> ::windows::core::Result @@ -627,7 +627,7 @@ impl IMbnConnectionProfileManager { P0: ::std::convert::Into<::windows::core::InParam<'a, IMbnInterface>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectionProfile)(::windows::core::Interface::as_raw(self), mbninterface.into().abi(), profilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateConnectionProfile<'a, P0>(&self, xmlprofile: P0) -> ::windows::core::Result<()> @@ -747,65 +747,65 @@ pub struct IMbnConnectionProfileManagerEvents_Vtbl { pub struct IMbnDeviceService(::windows::core::IUnknown); impl IMbnDeviceService { pub unsafe fn QuerySupportedCommands(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuerySupportedCommands)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenCommandSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenCommandSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloseCommandSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CloseCommandSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetCommand(&self, commandid: u32, deviceservicedata: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetCommand)(::windows::core::Interface::as_raw(self), commandid, ::core::mem::transmute(deviceservicedata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryCommand(&self, commandid: u32, deviceservicedata: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryCommand)(::windows::core::Interface::as_raw(self), commandid, ::core::mem::transmute(deviceservicedata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenDataSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenDataSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloseDataSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CloseDataSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn WriteData(&self, deviceservicedata: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(deviceservicedata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InterfaceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InterfaceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceServiceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCommandSessionOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCommandSessionOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDataSessionOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDataSessionOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -946,7 +946,7 @@ impl IMbnDeviceServicesContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumerateDeviceServices(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateDeviceServices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -955,15 +955,15 @@ impl IMbnDeviceServicesContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceService)(::windows::core::Interface::as_raw(self), deviceserviceid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaxCommandSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxCommandSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaxDataSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxDataSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1179,7 +1179,7 @@ impl IMbnDeviceServicesManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceServicesContext)(::windows::core::Interface::as_raw(self), networkinterfaceid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1234,43 +1234,43 @@ impl IMbnInterface { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InterfaceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InterfaceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInterfaceCapability(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterfaceCapability)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubscriberInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubscriberInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReadyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReadyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InEmergencyMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InEmergencyMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHomeProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHomeProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPreferredProviders(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreferredProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetPreferredProviders(&self, preferredproviders: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetPreferredProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(preferredproviders), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1279,11 +1279,11 @@ impl IMbnInterface { (::windows::core::Interface::vtable(self).GetVisibleProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(age), ::core::mem::transmute(visibleproviders)).ok() } pub unsafe fn ScanNetwork(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScanNetwork)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1465,13 +1465,13 @@ impl IMbnInterfaceManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterface)(::windows::core::Interface::as_raw(self), interfaceid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInterfaces(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -1586,13 +1586,13 @@ impl IMbnMultiCarrier { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetHomeProvider(&self, homeprovider: *const MBN_PROVIDER2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetHomeProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(homeprovider), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPreferredProviders(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreferredProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1603,15 +1603,15 @@ impl IMbnMultiCarrier { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSupportedCellularClasses(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedCellularClasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetCurrentCellularClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentCellularClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScanNetwork(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScanNetwork)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1758,44 +1758,44 @@ pub struct IMbnMultiCarrierEvents_Vtbl { pub struct IMbnPin(::windows::core::IUnknown); impl IMbnPin { pub unsafe fn PinType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PinType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PinFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PinFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PinLengthMin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PinLengthMin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PinLengthMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PinLengthMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PinMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PinMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enable<'a, P0>(&self, pin: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enable)(::windows::core::Interface::as_raw(self), pin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disable<'a, P0>(&self, pin: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Disable)(::windows::core::Interface::as_raw(self), pin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enter<'a, P0>(&self, pin: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enter)(::windows::core::Interface::as_raw(self), pin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Change<'a, P0, P1>(&self, pin: P0, newpin: P1) -> ::windows::core::Result @@ -1803,7 +1803,7 @@ impl IMbnPin { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Change)(::windows::core::Interface::as_raw(self), pin.into(), newpin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unblock<'a, P0, P1>(&self, puk: P0, newpin: P1) -> ::windows::core::Result @@ -1811,11 +1811,11 @@ impl IMbnPin { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Unblock)(::windows::core::Interface::as_raw(self), puk.into(), newpin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPinManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPinManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1957,15 +1957,15 @@ impl IMbnPinManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPinList(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPinList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetPin(&self, pintype: MBN_PIN_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPin)(::windows::core::Interface::as_raw(self), pintype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPinState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPinState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2079,15 +2079,15 @@ pub struct IMbnPinManagerEvents_Vtbl { pub struct IMbnRadio(::windows::core::IUnknown); impl IMbnRadio { pub unsafe fn SoftwareRadioState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SoftwareRadioState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HardwareRadioState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HardwareRadioState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSoftwareRadioState(&self, radiostate: MBN_RADIO) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetSoftwareRadioState)(::windows::core::Interface::as_raw(self), radiostate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2198,52 +2198,52 @@ pub struct IMbnRadioEvents_Vtbl { pub struct IMbnRegistration(::windows::core::IUnknown); impl IMbnRegistration { pub unsafe fn GetRegisterState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegisterState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRegisterMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegisterMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProviderID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRoamingText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRoamingText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAvailableDataClasses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailableDataClasses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentDataClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentDataClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRegistrationNetworkError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegistrationNetworkError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPacketAttachNetworkError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPacketAttachNetworkError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRegisterMode<'a, P0>(&self, registermode: MBN_REGISTER_MODE, providerid: P0, dataclass: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetRegisterMode)(::windows::core::Interface::as_raw(self), registermode, providerid.into(), dataclass, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2386,7 +2386,7 @@ impl IMbnServiceActivation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Activate(&self, vendorspecificdata: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Activate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(vendorspecificdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2496,11 +2496,11 @@ pub struct IMbnServiceActivationEvents_Vtbl { pub struct IMbnSignal(::windows::core::IUnknown); impl IMbnSignal { pub unsafe fn GetSignalStrength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignalStrength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSignalError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignalError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2603,21 +2603,21 @@ pub struct IMbnSignalEvents_Vtbl { pub struct IMbnSms(::windows::core::IUnknown); impl IMbnSms { pub unsafe fn GetSmsConfiguration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSmsConfiguration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmsConfiguration<'a, P0>(&self, smsconfiguration: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMbnSmsConfiguration>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetSmsConfiguration)(::windows::core::Interface::as_raw(self), smsconfiguration.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmsSendPdu<'a, P0>(&self, pdudata: P0, size: u8) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmsSendPdu)(::windows::core::Interface::as_raw(self), pdudata.into(), size, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2626,25 +2626,25 @@ impl IMbnSms { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmsSendCdma)(::windows::core::Interface::as_raw(self), address.into(), encoding, language, sizeincharacters, ::core::mem::transmute(message), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SmsSendCdmaPdu(&self, message: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmsSendCdmaPdu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(message), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmsRead(&self, smsfilter: *const MBN_SMS_FILTER, smsformat: MBN_SMS_FORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmsRead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(smsfilter), smsformat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmsDelete(&self, smsfilter: *const MBN_SMS_FILTER) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmsDelete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(smsfilter), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSmsStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSmsStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2709,7 +2709,7 @@ impl IMbnSmsConfiguration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceCenterAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceCenterAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetServiceCenterAddress<'a, P0>(&self, scaddress: P0) -> ::windows::core::Result<()> @@ -2719,15 +2719,15 @@ impl IMbnSmsConfiguration { (::windows::core::Interface::vtable(self).SetServiceCenterAddress)(::windows::core::Interface::as_raw(self), scaddress.into()).ok() } pub unsafe fn MaxMessageIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxMessageIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CdmaShortMsgSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CdmaShortMsgSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmsFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmsFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmsFormat(&self, smsformat: MBN_SMS_FORMAT) -> ::windows::core::Result<()> { @@ -2892,23 +2892,23 @@ pub struct IMbnSmsEvents_Vtbl { pub struct IMbnSmsReadMsgPdu(::windows::core::IUnknown); impl IMbnSmsReadMsgPdu { pub unsafe fn Index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PduData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PduData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Message(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -2967,41 +2967,41 @@ pub struct IMbnSmsReadMsgPdu_Vtbl { pub struct IMbnSmsReadMsgTextCdma(::windows::core::IUnknown); impl IMbnSmsReadMsgTextCdma { pub unsafe fn Index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Timestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Timestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EncodingID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncodingID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LanguageID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LanguageID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SizeInCharacters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeInCharacters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Message(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -3069,19 +3069,19 @@ impl IMbnSubscriberInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubscriberID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubscriberID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SimIccID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SimIccID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TelephoneNumbers(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TelephoneNumbers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -3213,7 +3213,7 @@ impl IMbnVendorSpecificOperation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetVendorSpecific(&self, vendorspecificdata: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetVendorSpecific)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(vendorspecificdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 232eab5272..aea276e0ca 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -3092,7 +3092,7 @@ impl IEnumNetCfgBindingInterface { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3154,7 +3154,7 @@ impl IEnumNetCfgBindingPath { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3216,7 +3216,7 @@ impl IEnumNetCfgComponent { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3285,14 +3285,14 @@ impl INetCfg { (::windows::core::Interface::vtable(self).Cancel)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumComponents(&self, pguidclass: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumComponents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidclass), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindComponent<'a, P0>(&self, pszwinfid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindComponent)(::windows::core::Interface::as_raw(self), pszwinfid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryNetCfgClass(&self, pguidclass: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -3351,15 +3351,15 @@ pub struct INetCfg_Vtbl { pub struct INetCfgBindingInterface(::windows::core::IUnknown); impl INetCfgBindingInterface { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetUpperComponent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpperComponent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLowerComponent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLowerComponent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3434,19 +3434,19 @@ impl INetCfgBindingPath { (::windows::core::Interface::vtable(self).Enable)(::windows::core::Interface::as_raw(self), fenable.into()).ok() } pub unsafe fn GetPathToken(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPathToken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumBindingInterfaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumBindingInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3509,11 +3509,11 @@ impl INetCfgClass { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindComponent)(::windows::core::Interface::as_raw(self), pszwinfid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumComponents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumComponents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3569,7 +3569,7 @@ impl INetCfgClassSetup { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectAndInstall)(::windows::core::Interface::as_raw(self), hwndparent.into(), ::core::mem::transmute(pobotoken), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3580,7 +3580,7 @@ impl INetCfgClassSetup { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Install)(::windows::core::Interface::as_raw(self), pszwinfid.into(), ::core::mem::transmute(pobotoken), dwsetupflags, dwupgradefrombuildno, pszwanswerfile.into(), pszwanswersections.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3654,7 +3654,7 @@ impl INetCfgClassSetup2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SelectAndInstall)(::windows::core::Interface::as_raw(self), hwndparent.into(), ::core::mem::transmute(pobotoken), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3665,7 +3665,7 @@ impl INetCfgClassSetup2 { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Install)(::windows::core::Interface::as_raw(self), pszwinfid.into(), ::core::mem::transmute(pobotoken), dwsetupflags, dwupgradefrombuildno, pszwanswerfile.into(), pszwanswersections.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3744,7 +3744,7 @@ pub struct INetCfgClassSetup2_Vtbl { pub struct INetCfgComponent(::windows::core::IUnknown); impl INetCfgComponent { pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDisplayName<'a, P0>(&self, pszwdisplayname: P0) -> ::windows::core::Result<()> @@ -3754,41 +3754,41 @@ impl INetCfgComponent { (::windows::core::Interface::vtable(self).SetDisplayName)(::windows::core::Interface::as_raw(self), pszwdisplayname.into()).ok() } pub unsafe fn GetHelpText(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetCharacteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCharacteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInstanceGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstanceGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetPnpDevNodeId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPnpDevNodeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetClassGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClassGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetBindName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBindName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDeviceStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub unsafe fn OpenParamKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenParamKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3894,7 +3894,7 @@ impl INetCfgComponentBindings { (::windows::core::Interface::vtable(self).IsBindableTo)(::windows::core::Interface::as_raw(self), pnccitem.into().abi()).ok() } pub unsafe fn EnumBindingPaths(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumBindingPaths)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveBefore<'a, P0, P1>(&self, pncbitemsrc: P0, pncbitemdest: P1) -> ::windows::core::Result<()> @@ -4098,7 +4098,7 @@ pub struct INetCfgComponentNotifyBinding_Vtbl { pub struct INetCfgComponentNotifyGlobal(::windows::core::IUnknown); impl INetCfgComponentNotifyGlobal { pub unsafe fn GetSupportedNotifications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedNotifications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SysQueryBindingPath<'a, P0>(&self, dwchangeflag: u32, pipath: P0) -> ::windows::core::Result<()> @@ -4455,14 +4455,14 @@ impl INetCfgLock { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AcquireWriteLock)(::windows::core::Interface::as_raw(self), cmstimeout, pszwclientdescription.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn ReleaseWriteLock(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReleaseWriteLock)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsWriteLocked(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWriteLocked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4652,7 +4652,7 @@ pub struct INetCfgSysPrep_Vtbl { pub struct INetLanConnectionUiInfo(::windows::core::IUnknown); impl INetLanConnectionUiInfo { pub unsafe fn GetDeviceGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -4704,7 +4704,7 @@ impl INetRasConnectionIpUiInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUiInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUiInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4774,7 +4774,7 @@ impl IProvisioningDomain { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Query)(::windows::core::Interface::as_raw(self), pszwdomain.into(), pszwlanguage.into(), pszwxpathquery.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4834,7 +4834,7 @@ impl IProvisioningProfileWireless { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateProfile)(::windows::core::Interface::as_raw(self), bstrxmlwirelessconfigprofile.into().abi(), bstrxmlconnectionconfigprofile.into().abi(), ::core::mem::transmute(padapterinstanceguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8541,7 +8541,7 @@ where extern "system" { fn NetGetAadJoinInformation(pcsztenantid: ::windows::core::PCWSTR, ppjoininfo: *mut *mut DSREG_JOIN_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut DSREG_JOIN_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); NetGetAadJoinInformation(pcsztenantid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut DSREG_JOIN_INFO>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] 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 49edf556c8..fa6ebe4a8c 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -414,7 +414,7 @@ impl INetDiagHelper { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), rgattributes.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgattributes))).ok() } pub unsafe fn GetDiagnosticsInfo(&self) -> ::windows::core::Result<*mut DiagnosticsInfo> { - let mut result__ = ::core::mem::MaybeUninit::<*mut DiagnosticsInfo>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDiagnosticsInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut DiagnosticsInfo>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -466,7 +466,7 @@ impl INetDiagHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLifeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLifeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -477,7 +477,7 @@ impl INetDiagHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCacheTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCacheTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -989,7 +989,7 @@ pub unsafe fn NdfGetTraceFile(handle: *const ::core::ffi::c_void) -> ::windows:: extern "system" { fn NdfGetTraceFile(handle: *const ::core::ffi::c_void, tracefilelocation: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); NdfGetTraceFile(::core::mem::transmute(handle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] 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 fa621da76b..2b60412641 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs @@ -1186,13 +1186,13 @@ pub struct ISdo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISdo { pub unsafe fn GetPropertyInfo(&self, id: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyInfo)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetProperty(&self, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1210,7 +1210,7 @@ impl ISdo { (::windows::core::Interface::vtable(self).Restore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -1301,7 +1301,7 @@ pub struct ISdoCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISdoCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1332,17 +1332,17 @@ impl ISdoCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsNameUnique)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Item(&self, name: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(name), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -1447,7 +1447,7 @@ impl ISdoDictionaryOld { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetAttributeInfo(&self, id: ATTRIBUTEID, pinfoids: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeInfo)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(pinfoids), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1458,7 +1458,7 @@ impl ISdoDictionaryOld { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAttribute(&self, id: ATTRIBUTEID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAttribute)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1467,7 +1467,7 @@ impl ISdoDictionaryOld { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeID)(::windows::core::Interface::as_raw(self), bstrattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1573,7 +1573,7 @@ impl ISdoMachine { (::windows::core::Interface::vtable(self).Attach)(::windows::core::Interface::as_raw(self), bstrcomputername.into().abi()).ok() } pub unsafe fn GetDictionarySDO(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDictionarySDO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1582,7 +1582,7 @@ impl ISdoMachine { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceSDO)(::windows::core::Interface::as_raw(self), edatastore, bstrservicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1591,29 +1591,29 @@ impl ISdoMachine { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserSDO)(::windows::core::Interface::as_raw(self), edatastore, bstrusername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetOSType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOSType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDomainType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDomainType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDirectoryAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDirectoryAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAttachedComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttachedComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSDOSchema(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSDOSchema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -1720,7 +1720,7 @@ impl ISdoMachine2 { (::windows::core::Interface::vtable(self).base__.Attach)(::windows::core::Interface::as_raw(self), bstrcomputername.into().abi()).ok() } pub unsafe fn GetDictionarySDO(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDictionarySDO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1729,7 +1729,7 @@ impl ISdoMachine2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetServiceSDO)(::windows::core::Interface::as_raw(self), edatastore, bstrservicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1738,29 +1738,29 @@ impl ISdoMachine2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUserSDO)(::windows::core::Interface::as_raw(self), edatastore, bstrusername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetOSType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOSType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDomainType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDomainType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDirectoryAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsDirectoryAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAttachedComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAttachedComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSDOSchema(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSDOSchema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1769,7 +1769,7 @@ impl ISdoMachine2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTemplatesSDO)(::windows::core::Interface::as_raw(self), bstrservicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn EnableTemplates(&self) -> ::windows::core::Result<()> { @@ -1908,7 +1908,7 @@ impl ISdoServiceControl { (::windows::core::Interface::vtable(self).StopService)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetServiceStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetService(&self) -> ::windows::core::Result<()> { @@ -1993,13 +1993,13 @@ pub struct ITemplateSdo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITemplateSdo { pub unsafe fn GetPropertyInfo(&self, id: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyInfo)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetProperty(&self, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2017,7 +2017,7 @@ impl ITemplateSdo { (::windows::core::Interface::vtable(self).base__.Restore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs index 1f423f6ba5..bfb20a7d59 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs @@ -951,7 +951,7 @@ pub unsafe fn DrtCreateDerivedKey(plocalcert: *const super::super::Security::Cry extern "system" { fn DrtCreateDerivedKey(plocalcert: *const super::super::Security::Cryptography::CERT_CONTEXT, pkey: *mut DRT_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtCreateDerivedKey(::core::mem::transmute(plocalcert), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -962,7 +962,7 @@ pub unsafe fn DrtCreateDerivedKeySecurityProvider(prootcert: *const super::super extern "system" { fn DrtCreateDerivedKeySecurityProvider(prootcert: *const super::super::Security::Cryptography::CERT_CONTEXT, plocalcert: *const super::super::Security::Cryptography::CERT_CONTEXT, ppsecurityprovider: *mut *mut DRT_SECURITY_PROVIDER) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut DRT_SECURITY_PROVIDER>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtCreateDerivedKeySecurityProvider(::core::mem::transmute(prootcert), ::core::mem::transmute(plocalcert), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut DRT_SECURITY_PROVIDER>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -975,7 +975,7 @@ where extern "system" { fn DrtCreateDnsBootstrapResolver(port: u16, pwszaddress: ::windows::core::PCWSTR, ppmodule: *mut *mut DRT_BOOTSTRAP_PROVIDER) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut DRT_BOOTSTRAP_PROVIDER>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtCreateDnsBootstrapResolver(port, pwszaddress.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut DRT_BOOTSTRAP_PROVIDER>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -994,7 +994,7 @@ pub unsafe fn DrtCreateNullSecurityProvider() -> ::windows::core::Result<*mut DR extern "system" { fn DrtCreateNullSecurityProvider(ppsecurityprovider: *mut *mut DRT_SECURITY_PROVIDER) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut DRT_SECURITY_PROVIDER>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtCreateNullSecurityProvider(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut DRT_SECURITY_PROVIDER>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -1011,7 +1011,7 @@ where extern "system" { fn DrtCreatePnrpBootstrapResolver(fpublish: super::super::Foundation::BOOL, pwzpeername: ::windows::core::PCWSTR, pwzcloudname: ::windows::core::PCWSTR, pwzpublishingidentity: ::windows::core::PCWSTR, ppresolver: *mut *mut DRT_BOOTSTRAP_PROVIDER) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut DRT_BOOTSTRAP_PROVIDER>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtCreatePnrpBootstrapResolver(fpublish.into(), pwzpeername.into(), pwzcloudname.into(), pwzpublishingidentity.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut DRT_BOOTSTRAP_PROVIDER>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1076,7 +1076,7 @@ pub unsafe fn DrtGetEventData(hdrt: *const ::core::ffi::c_void, uleventdatalen: extern "system" { fn DrtGetEventData(hdrt: *const ::core::ffi::c_void, uleventdatalen: u32, peventdata: *mut DRT_EVENT_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtGetEventData(::core::mem::transmute(hdrt), uleventdatalen, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1086,7 +1086,7 @@ pub unsafe fn DrtGetEventDataSize(hdrt: *const ::core::ffi::c_void) -> ::windows extern "system" { fn DrtGetEventDataSize(hdrt: *const ::core::ffi::c_void, puleventdatalen: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtGetEventDataSize(::core::mem::transmute(hdrt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1105,7 +1105,7 @@ pub unsafe fn DrtGetInstanceNameSize(hdrt: *const ::core::ffi::c_void) -> ::wind extern "system" { fn DrtGetInstanceNameSize(hdrt: *const ::core::ffi::c_void, pulcbinstancenamesize: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtGetInstanceNameSize(::core::mem::transmute(hdrt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1116,7 +1116,7 @@ pub unsafe fn DrtGetSearchPath(hsearchcontext: *const ::core::ffi::c_void, ulsea extern "system" { fn DrtGetSearchPath(hsearchcontext: *const ::core::ffi::c_void, ulsearchpathsize: u32, psearchpath: *mut DRT_ADDRESS_LIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtGetSearchPath(::core::mem::transmute(hsearchcontext), ulsearchpathsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1126,7 +1126,7 @@ pub unsafe fn DrtGetSearchPathSize(hsearchcontext: *const ::core::ffi::c_void) - extern "system" { fn DrtGetSearchPathSize(hsearchcontext: *const ::core::ffi::c_void, pulsearchpathsize: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtGetSearchPathSize(::core::mem::transmute(hsearchcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1136,7 +1136,7 @@ pub unsafe fn DrtGetSearchResult(hsearchcontext: *const ::core::ffi::c_void, uls extern "system" { fn DrtGetSearchResult(hsearchcontext: *const ::core::ffi::c_void, ulsearchresultsize: u32, psearchresult: *mut DRT_SEARCH_RESULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtGetSearchResult(::core::mem::transmute(hsearchcontext), ulsearchresultsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1146,7 +1146,7 @@ pub unsafe fn DrtGetSearchResultSize(hsearchcontext: *const ::core::ffi::c_void) extern "system" { fn DrtGetSearchResultSize(hsearchcontext: *const ::core::ffi::c_void, pulsearchresultsize: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrtGetSearchResultSize(::core::mem::transmute(hsearchcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -4448,7 +4448,7 @@ where extern "system" { fn PeerCollabAddContact(pwzcontactdata: ::windows::core::PCWSTR, ppcontact: *mut *mut PEER_CONTACT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_CONTACT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabAddContact(pwzcontactdata.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_CONTACT>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -4462,7 +4462,7 @@ where extern "system" { fn PeerCollabAsyncInviteContact(pccontact: *const PEER_CONTACT, pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION, hevent: super::super::Foundation::HANDLE, phinvitation: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabAsyncInviteContact(::core::mem::transmute(pccontact), ::core::mem::transmute(pcendpoint), ::core::mem::transmute(pcinvitation), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -4476,7 +4476,7 @@ where extern "system" { fn PeerCollabAsyncInviteEndpoint(pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION, hevent: super::super::Foundation::HANDLE, phinvitation: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabAsyncInviteEndpoint(::core::mem::transmute(pcendpoint), ::core::mem::transmute(pcinvitation), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -4603,7 +4603,7 @@ where extern "system" { fn PeerCollabExportContact(pwzpeername: ::windows::core::PCWSTR, ppwzcontactdata: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabExportContact(pwzpeername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -4614,7 +4614,7 @@ pub unsafe fn PeerCollabGetAppLaunchInfo() -> ::windows::core::Result<*mut PEER_ extern "system" { fn PeerCollabGetAppLaunchInfo(pplaunchinfo: *mut *mut PEER_APP_LAUNCH_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_APP_LAUNCH_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabGetAppLaunchInfo(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_APP_LAUNCH_INFO>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -4624,7 +4624,7 @@ pub unsafe fn PeerCollabGetApplicationRegistrationInfo(papplicationid: *const :: extern "system" { fn PeerCollabGetApplicationRegistrationInfo(papplicationid: *const ::windows::core::GUID, registrationtype: PEER_APPLICATION_REGISTRATION_TYPE, ppapplication: *mut *mut PEER_APPLICATION_REGISTRATION_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_APPLICATION_REGISTRATION_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabGetApplicationRegistrationInfo(::core::mem::transmute(papplicationid), registrationtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_APPLICATION_REGISTRATION_INFO>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -4638,7 +4638,7 @@ where extern "system" { fn PeerCollabGetContact(pwzpeername: ::windows::core::PCWSTR, ppcontact: *mut *mut PEER_CONTACT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_CONTACT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabGetContact(pwzpeername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_CONTACT>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -4648,7 +4648,7 @@ pub unsafe fn PeerCollabGetEndpointName() -> ::windows::core::Result<::windows:: extern "system" { fn PeerCollabGetEndpointName(ppwzendpointname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabGetEndpointName(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -4659,7 +4659,7 @@ pub unsafe fn PeerCollabGetEventData(hpeerevent: *const ::core::ffi::c_void) -> extern "system" { fn PeerCollabGetEventData(hpeerevent: *const ::core::ffi::c_void, ppeventdata: *mut *mut PEER_COLLAB_EVENT_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_COLLAB_EVENT_DATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabGetEventData(::core::mem::transmute(hpeerevent), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_COLLAB_EVENT_DATA>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -4673,7 +4673,7 @@ where extern "system" { fn PeerCollabGetInvitationResponse(hinvitation: super::super::Foundation::HANDLE, ppinvitationresponse: *mut *mut PEER_INVITATION_RESPONSE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_INVITATION_RESPONSE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabGetInvitationResponse(hinvitation.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_INVITATION_RESPONSE>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] @@ -4684,7 +4684,7 @@ pub unsafe fn PeerCollabGetPresenceInfo(pcendpoint: *const PEER_ENDPOINT) -> ::w extern "system" { fn PeerCollabGetPresenceInfo(pcendpoint: *const PEER_ENDPOINT, pppresenceinfo: *mut *mut PEER_PRESENCE_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_PRESENCE_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabGetPresenceInfo(::core::mem::transmute(pcendpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_PRESENCE_INFO>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -4694,7 +4694,7 @@ pub unsafe fn PeerCollabGetSigninOptions() -> ::windows::core::Result { extern "system" { fn PeerCollabGetSigninOptions(pdwsigninoptions: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabGetSigninOptions(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -4705,7 +4705,7 @@ pub unsafe fn PeerCollabInviteContact(pccontact: *const PEER_CONTACT, pcendpoint extern "system" { fn PeerCollabInviteContact(pccontact: *const PEER_CONTACT, pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION, ppresponse: *mut *mut PEER_INVITATION_RESPONSE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_INVITATION_RESPONSE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabInviteContact(::core::mem::transmute(pccontact), ::core::mem::transmute(pcendpoint), ::core::mem::transmute(pcinvitation), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_INVITATION_RESPONSE>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] @@ -4716,7 +4716,7 @@ pub unsafe fn PeerCollabInviteEndpoint(pcendpoint: *const PEER_ENDPOINT, pcinvit extern "system" { fn PeerCollabInviteEndpoint(pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION, ppresponse: *mut *mut PEER_INVITATION_RESPONSE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_INVITATION_RESPONSE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabInviteEndpoint(::core::mem::transmute(pcendpoint), ::core::mem::transmute(pcinvitation), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_INVITATION_RESPONSE>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -4730,7 +4730,7 @@ where extern "system" { fn PeerCollabParseContact(pwzcontactdata: ::windows::core::PCWSTR, ppcontact: *mut *mut PEER_CONTACT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_CONTACT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabParseContact(pwzcontactdata.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_CONTACT>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] @@ -4741,7 +4741,7 @@ pub unsafe fn PeerCollabQueryContactData(pcendpoint: *const PEER_ENDPOINT) -> :: extern "system" { fn PeerCollabQueryContactData(pcendpoint: *const PEER_ENDPOINT, ppwzcontactdata: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCollabQueryContactData(::core::mem::transmute(pcendpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] @@ -4905,7 +4905,7 @@ where extern "system" { fn PeerCreatePeerName(pwzidentity: ::windows::core::PCWSTR, pwzclassifier: ::windows::core::PCWSTR, ppwzpeername: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerCreatePeerName(pwzidentity.into(), pwzclassifier.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -5248,7 +5248,7 @@ pub unsafe fn PeerGetItemCount(hpeerenum: *const ::core::ffi::c_void) -> ::windo extern "system" { fn PeerGetItemCount(hpeerenum: *const ::core::ffi::c_void, pcount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGetItemCount(::core::mem::transmute(hpeerenum), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5268,7 +5268,7 @@ pub unsafe fn PeerGraphAddRecord(hgraph: *const ::core::ffi::c_void, precord: *c extern "system" { fn PeerGraphAddRecord(hgraph: *const ::core::ffi::c_void, precord: *const PEER_RECORD, precordid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphAddRecord(::core::mem::transmute(hgraph), ::core::mem::transmute(precord), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5300,7 +5300,7 @@ where extern "system" { fn PeerGraphConnect(hgraph: *const ::core::ffi::c_void, pwzpeerid: ::windows::core::PCWSTR, paddress: *const PEER_ADDRESS, pullconnectionid: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphConnect(::core::mem::transmute(hgraph), pwzpeerid.into(), ::core::mem::transmute(paddress), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -5413,7 +5413,7 @@ pub unsafe fn PeerGraphGetEventData(hpeerevent: *const ::core::ffi::c_void) -> : extern "system" { fn PeerGraphGetEventData(hpeerevent: *const ::core::ffi::c_void, ppeventdata: *mut *mut PEER_GRAPH_EVENT_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_GRAPH_EVENT_DATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphGetEventData(::core::mem::transmute(hpeerevent), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_GRAPH_EVENT_DATA>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5423,7 +5423,7 @@ pub unsafe fn PeerGraphGetItemCount(hpeerenum: *const ::core::ffi::c_void) -> :: extern "system" { fn PeerGraphGetItemCount(hpeerenum: *const ::core::ffi::c_void, pcount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphGetItemCount(::core::mem::transmute(hpeerenum), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5443,7 +5443,7 @@ pub unsafe fn PeerGraphGetNodeInfo(hgraph: *const ::core::ffi::c_void, ullnodeid extern "system" { fn PeerGraphGetNodeInfo(hgraph: *const ::core::ffi::c_void, ullnodeid: u64, ppnodeinfo: *mut *mut PEER_NODE_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_NODE_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphGetNodeInfo(::core::mem::transmute(hgraph), ullnodeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_NODE_INFO>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5453,7 +5453,7 @@ pub unsafe fn PeerGraphGetProperties(hgraph: *const ::core::ffi::c_void) -> ::wi extern "system" { fn PeerGraphGetProperties(hgraph: *const ::core::ffi::c_void, ppgraphproperties: *mut *mut PEER_GRAPH_PROPERTIES) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_GRAPH_PROPERTIES>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphGetProperties(::core::mem::transmute(hgraph), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_GRAPH_PROPERTIES>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -5464,7 +5464,7 @@ pub unsafe fn PeerGraphGetRecord(hgraph: *const ::core::ffi::c_void, precordid: extern "system" { fn PeerGraphGetRecord(hgraph: *const ::core::ffi::c_void, precordid: *const ::windows::core::GUID, pprecord: *mut *mut PEER_RECORD) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_RECORD>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphGetRecord(::core::mem::transmute(hgraph), ::core::mem::transmute(precordid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_RECORD>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5474,7 +5474,7 @@ pub unsafe fn PeerGraphGetStatus(hgraph: *const ::core::ffi::c_void) -> ::window extern "system" { fn PeerGraphGetStatus(hgraph: *const ::core::ffi::c_void, pdwstatus: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphGetStatus(::core::mem::transmute(hgraph), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5524,7 +5524,7 @@ where extern "system" { fn PeerGraphOpenDirectConnection(hgraph: *const ::core::ffi::c_void, pwzpeerid: ::windows::core::PCWSTR, paddress: *const PEER_ADDRESS, pullconnectionid: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphOpenDirectConnection(::core::mem::transmute(hgraph), pwzpeerid.into(), ::core::mem::transmute(paddress), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -5535,7 +5535,7 @@ pub unsafe fn PeerGraphPeerTimeToUniversalTime(hgraph: *const ::core::ffi::c_voi extern "system" { fn PeerGraphPeerTimeToUniversalTime(hgraph: *const ::core::ffi::c_void, pftpeertime: *const super::super::Foundation::FILETIME, pftuniversaltime: *mut super::super::Foundation::FILETIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphPeerTimeToUniversalTime(::core::mem::transmute(hgraph), ::core::mem::transmute(pftpeertime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -5622,7 +5622,7 @@ pub unsafe fn PeerGraphStartup(wversionrequested: u16) -> ::windows::core::Resul extern "system" { fn PeerGraphStartup(wversionrequested: u16, pversiondata: *mut PEER_VERSION_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphStartup(wversionrequested, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -5633,7 +5633,7 @@ pub unsafe fn PeerGraphUniversalTimeToPeerTime(hgraph: *const ::core::ffi::c_voi extern "system" { fn PeerGraphUniversalTimeToPeerTime(hgraph: *const ::core::ffi::c_void, pftuniversaltime: *const super::super::Foundation::FILETIME, pftpeertime: *mut super::super::Foundation::FILETIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGraphUniversalTimeToPeerTime(::core::mem::transmute(hgraph), ::core::mem::transmute(pftuniversaltime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5672,7 +5672,7 @@ pub unsafe fn PeerGroupAddRecord(hgroup: *const ::core::ffi::c_void, precord: *c extern "system" { fn PeerGroupAddRecord(hgroup: *const ::core::ffi::c_void, precord: *const PEER_RECORD, precordid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupAddRecord(::core::mem::transmute(hgroup), ::core::mem::transmute(precord), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5732,7 +5732,7 @@ where extern "system" { fn PeerGroupCreateInvitation(hgroup: *const ::core::ffi::c_void, pwzidentityinfo: ::windows::core::PCWSTR, pftexpiration: *const super::super::Foundation::FILETIME, croles: u32, proles: *const ::windows::core::GUID, ppwzinvitation: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupCreateInvitation(::core::mem::transmute(hgroup), pwzidentityinfo.into(), ::core::mem::transmute(pftexpiration), proles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(proles)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5742,7 +5742,7 @@ pub unsafe fn PeerGroupCreatePasswordInvitation(hgroup: *const ::core::ffi::c_vo extern "system" { fn PeerGroupCreatePasswordInvitation(hgroup: *const ::core::ffi::c_void, ppwzinvitation: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupCreatePasswordInvitation(::core::mem::transmute(hgroup), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5807,7 +5807,7 @@ where extern "system" { fn PeerGroupExportConfig(hgroup: *const ::core::ffi::c_void, pwzpassword: ::windows::core::PCWSTR, ppwzxml: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupExportConfig(::core::mem::transmute(hgroup), pwzpassword.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5829,7 +5829,7 @@ pub unsafe fn PeerGroupGetEventData(hpeerevent: *const ::core::ffi::c_void) -> : extern "system" { fn PeerGroupGetEventData(hpeerevent: *const ::core::ffi::c_void, ppeventdata: *mut *mut PEER_GROUP_EVENT_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_GROUP_EVENT_DATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupGetEventData(::core::mem::transmute(hpeerevent), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_GROUP_EVENT_DATA>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5839,7 +5839,7 @@ pub unsafe fn PeerGroupGetProperties(hgroup: *const ::core::ffi::c_void) -> ::wi extern "system" { fn PeerGroupGetProperties(hgroup: *const ::core::ffi::c_void, ppproperties: *mut *mut PEER_GROUP_PROPERTIES) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_GROUP_PROPERTIES>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupGetProperties(::core::mem::transmute(hgroup), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_GROUP_PROPERTIES>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -5850,7 +5850,7 @@ pub unsafe fn PeerGroupGetRecord(hgroup: *const ::core::ffi::c_void, precordid: extern "system" { fn PeerGroupGetRecord(hgroup: *const ::core::ffi::c_void, precordid: *const ::windows::core::GUID, pprecord: *mut *mut PEER_RECORD) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_RECORD>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupGetRecord(::core::mem::transmute(hgroup), ::core::mem::transmute(precordid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_RECORD>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5860,7 +5860,7 @@ pub unsafe fn PeerGroupGetStatus(hgroup: *const ::core::ffi::c_void) -> ::window extern "system" { fn PeerGroupGetStatus(hgroup: *const ::core::ffi::c_void, pdwstatus: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupGetStatus(::core::mem::transmute(hgroup), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -5901,7 +5901,7 @@ where extern "system" { fn PeerGroupIssueCredentials(hgroup: *const ::core::ffi::c_void, pwzsubjectidentity: ::windows::core::PCWSTR, pcredentialinfo: *const PEER_CREDENTIAL_INFO, dwflags: u32, ppwzinvitation: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupIssueCredentials(::core::mem::transmute(hgroup), pwzsubjectidentity.into(), ::core::mem::transmute(pcredentialinfo), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5943,7 +5943,7 @@ where extern "system" { fn PeerGroupOpenDirectConnection(hgroup: *const ::core::ffi::c_void, pwzidentity: ::windows::core::PCWSTR, paddress: *const PEER_ADDRESS, pullconnectionid: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupOpenDirectConnection(::core::mem::transmute(hgroup), pwzidentity.into(), ::core::mem::transmute(paddress), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -5957,7 +5957,7 @@ where extern "system" { fn PeerGroupParseInvitation(pwzinvitation: ::windows::core::PCWSTR, ppinvitationinfo: *mut *mut PEER_INVITATION_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_INVITATION_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupParseInvitation(pwzinvitation.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_INVITATION_INFO>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -5983,7 +5983,7 @@ pub unsafe fn PeerGroupPeerTimeToUniversalTime(hgroup: *const ::core::ffi::c_voi extern "system" { fn PeerGroupPeerTimeToUniversalTime(hgroup: *const ::core::ffi::c_void, pftpeertime: *const super::super::Foundation::FILETIME, pftuniversaltime: *mut super::super::Foundation::FILETIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupPeerTimeToUniversalTime(::core::mem::transmute(hgroup), ::core::mem::transmute(pftpeertime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -6054,7 +6054,7 @@ pub unsafe fn PeerGroupStartup(wversionrequested: u16) -> ::windows::core::Resul extern "system" { fn PeerGroupStartup(wversionrequested: u16, pversiondata: *mut PEER_VERSION_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupStartup(wversionrequested, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -6065,7 +6065,7 @@ pub unsafe fn PeerGroupUniversalTimeToPeerTime(hgroup: *const ::core::ffi::c_voi extern "system" { fn PeerGroupUniversalTimeToPeerTime(hgroup: *const ::core::ffi::c_void, pftuniversaltime: *const super::super::Foundation::FILETIME, pftpeertime: *mut super::super::Foundation::FILETIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerGroupUniversalTimeToPeerTime(::core::mem::transmute(hgroup), ::core::mem::transmute(pftuniversaltime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6097,7 +6097,7 @@ where extern "system" { fn PeerHostNameToPeerName(pwzhostname: ::windows::core::PCWSTR, ppwzpeername: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerHostNameToPeerName(pwzhostname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6111,7 +6111,7 @@ where extern "system" { fn PeerIdentityCreate(pwzclassifier: ::windows::core::PCWSTR, pwzfriendlyname: ::windows::core::PCWSTR, hcryptprov: usize, ppwzidentity: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerIdentityCreate(pwzclassifier.into(), pwzfriendlyname.into(), hcryptprov, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6137,7 +6137,7 @@ where extern "system" { fn PeerIdentityExport(pwzidentity: ::windows::core::PCWSTR, pwzpassword: ::windows::core::PCWSTR, ppwzexportxml: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerIdentityExport(pwzidentity.into(), pwzpassword.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6150,7 +6150,7 @@ where extern "system" { fn PeerIdentityGetCryptKey(pwzidentity: ::windows::core::PCWSTR, phcryptprov: *mut usize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerIdentityGetCryptKey(pwzidentity.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6160,7 +6160,7 @@ pub unsafe fn PeerIdentityGetDefault() -> ::windows::core::Result<::windows::cor extern "system" { fn PeerIdentityGetDefault(ppwzpeername: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerIdentityGetDefault(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6173,7 +6173,7 @@ where extern "system" { fn PeerIdentityGetFriendlyName(pwzidentity: ::windows::core::PCWSTR, ppwzfriendlyname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerIdentityGetFriendlyName(pwzidentity.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6186,7 +6186,7 @@ where extern "system" { fn PeerIdentityGetXML(pwzidentity: ::windows::core::PCWSTR, ppwzidentityxml: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerIdentityGetXML(pwzidentity.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6200,7 +6200,7 @@ where extern "system" { fn PeerIdentityImport(pwzimportxml: ::windows::core::PCWSTR, pwzpassword: ::windows::core::PCWSTR, ppwzidentity: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerIdentityImport(pwzimportxml.into(), pwzpassword.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6226,7 +6226,7 @@ where extern "system" { fn PeerNameToPeerHostName(pwzpeername: ::windows::core::PCWSTR, ppwzhostname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerNameToPeerHostName(pwzpeername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -6255,7 +6255,7 @@ pub unsafe fn PeerPnrpGetEndpoint(hresolve: *const ::core::ffi::c_void) -> ::win extern "system" { fn PeerPnrpGetEndpoint(hresolve: *const ::core::ffi::c_void, ppendpoint: *mut *mut PEER_PNRP_ENDPOINT_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PEER_PNRP_ENDPOINT_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PeerPnrpGetEndpoint(::core::mem::transmute(hresolve), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PEER_PNRP_ENDPOINT_INFO>(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] 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 13d9acbed8..08d3b84835 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -11666,7 +11666,7 @@ impl IDot11AdHocInterface { (::windows::core::Interface::vtable(self).GetDeviceSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psignature)).ok() } pub unsafe fn GetFriendlyName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn IsDot11d(&self, pf11d: *mut u8) -> ::windows::core::Result<()> { @@ -11679,15 +11679,15 @@ impl IDot11AdHocInterface { (::windows::core::Interface::vtable(self).IsRadioOn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfisradioon)).ok() } pub unsafe fn GetActiveNetwork(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveNetwork)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIEnumSecuritySettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIEnumSecuritySettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIEnumDot11AdHocNetworks(&self, pfilterguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIEnumDot11AdHocNetworks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfilterguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self, pstate: *mut DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> ::windows::core::Result<()> { @@ -11803,7 +11803,7 @@ impl IDot11AdHocManager { P2: ::std::convert::Into<::windows::core::InParam<'a, IDot11AdHocInterface>>, P3: ::std::convert::Into<::windows::core::InParam<'a, IDot11AdHocSecuritySettings>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNetwork)(::windows::core::Interface::as_raw(self), name.into(), password.into(), geographicalid, pinterface.into().abi(), psecurity.into().abi(), ::core::mem::transmute(pcontextguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11817,15 +11817,15 @@ impl IDot11AdHocManager { (::windows::core::Interface::vtable(self).CommitCreatedNetwork)(::windows::core::Interface::as_raw(self), piadhoc.into().abi(), fsaveprofile.into(), fmakesavedprofileuserspecific.into()).ok() } pub unsafe fn GetIEnumDot11AdHocNetworks(&self, pcontextguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIEnumDot11AdHocNetworks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcontextguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIEnumDot11AdHocInterfaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIEnumDot11AdHocInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNetwork(&self, networksignature: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetwork)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(networksignature), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11952,14 +11952,14 @@ impl IDot11AdHocNetwork { (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(estatus)).ok() } pub unsafe fn GetSSID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn HasProfile(&self, pf11d: *mut u8) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).HasProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pf11d)).ok() } pub unsafe fn GetProfileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProfileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn DeleteProfile(&self) -> ::windows::core::Result<()> { @@ -11969,7 +11969,7 @@ impl IDot11AdHocNetwork { (::windows::core::Interface::vtable(self).GetSignalQuality)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pustrengthvalue), ::core::mem::transmute(pustrengthmax)).ok() } pub unsafe fn GetSecuritySetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecuritySetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContextGuid(&self, pcontextguid: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -11979,7 +11979,7 @@ impl IDot11AdHocNetwork { (::windows::core::Interface::vtable(self).GetSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psignature)).ok() } pub unsafe fn GetInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12171,7 +12171,7 @@ impl IEnumDot11AdHocInterfaces { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12233,7 +12233,7 @@ impl IEnumDot11AdHocNetworks { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12295,7 +12295,7 @@ impl IEnumDot11AdHocSecuritySettings { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 14f20fcc27..f053463bf9 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs @@ -68,7 +68,7 @@ impl IWCNDevice { (::windows::core::Interface::vtable(self).GetAttribute)(::windows::core::Interface::as_raw(self), attributetype, dwmaxbuffersize, ::core::mem::transmute(pbbuffer), ::core::mem::transmute(pdwbufferused)).ok() } pub unsafe fn GetIntegerAttribute(&self, attributetype: WCN_ATTRIBUTE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIntegerAttribute)(::windows::core::Interface::as_raw(self), attributetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStringAttribute(&self, attributetype: WCN_ATTRIBUTE_TYPE, wszstring: &mut [u16]) -> ::windows::core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs index ad635bf1d4..f1c2a1d7a2 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs @@ -20,7 +20,7 @@ where extern "system" { fn GetInterfaceContextTableForHostName(hostname: ::windows::core::PCWSTR, proxyname: ::windows::core::PCWSTR, flags: u32, connectionprofilefilterrawdata: *const u8, connectionprofilefilterrawdatasize: u32, interfacecontexttable: *mut *mut NET_INTERFACE_CONTEXT_TABLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut NET_INTERFACE_CONTEXT_TABLE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetInterfaceContextTableForHostName(hostname.into(), proxyname.into(), flags, ::core::mem::transmute(connectionprofilefilterrawdata), connectionprofilefilterrawdatasize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut NET_INTERFACE_CONTEXT_TABLE>(result__) } #[repr(C)] @@ -110,7 +110,7 @@ where extern "system" { fn OnDemandGetRoutingHint(destinationhostname: ::windows::core::PCWSTR, interfaceindex: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OnDemandGetRoutingHint(destinationhostname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] @@ -121,7 +121,7 @@ pub unsafe fn OnDemandRegisterNotification(callback: ONDEMAND_NOTIFICATION_CALLB extern "system" { fn OnDemandRegisterNotification(callback: *mut ::core::ffi::c_void, callbackcontext: *const ::core::ffi::c_void, registrationhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OnDemandRegisterNotification(::core::mem::transmute(callback), ::core::mem::transmute(callbackcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] 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 7f75960fcc..926b10bbd8 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -34,51 +34,51 @@ impl IDynamicPortMapping { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExternalIPAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExternalIPAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteHost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteHost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExternalPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExternalPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InternalPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InternalPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InternalClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InternalClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LeaseDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LeaseDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RenewLease(&self, lleasedurationdesired: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RenewLease)(::windows::core::Interface::as_raw(self), lleasedurationdesired, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -213,7 +213,7 @@ pub struct IDynamicPortMappingCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDynamicPortMappingCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -223,11 +223,11 @@ impl IDynamicPortMappingCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), bstrremotehost.into().abi(), lexternalport, bstrprotocol.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -248,7 +248,7 @@ impl IDynamicPortMappingCollection { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), bstrremotehost.into().abi(), lexternalport, bstrprotocol.into().abi(), linternalport, bstrinternalclient.into().abi(), benabled, bstrdescription.into().abi(), lleaseduration, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -347,7 +347,7 @@ impl IEnumNetConnection { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -411,7 +411,7 @@ impl IEnumNetSharingEveryConnection { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -478,7 +478,7 @@ impl IEnumNetSharingPortMapping { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -545,7 +545,7 @@ impl IEnumNetSharingPrivateConnection { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -612,7 +612,7 @@ impl IEnumNetSharingPublicConnection { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1122,15 +1122,15 @@ impl INetConnection { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Duplicate)(::windows::core::Interface::as_raw(self), pszwduplicatename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result<*mut NETCON_PROPERTIES> { - let mut result__ = ::core::mem::MaybeUninit::<*mut NETCON_PROPERTIES>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut NETCON_PROPERTIES>(result__) } pub unsafe fn GetUiObjectClassId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUiObjectClassId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Rename<'a, P0>(&self, pszwnewname: P0) -> ::windows::core::Result<()> @@ -1268,7 +1268,7 @@ pub struct INetConnectionConnectUi_Vtbl { pub struct INetConnectionManager(::windows::core::IUnknown); impl INetConnectionManager { pub unsafe fn EnumConnections(&self, flags: NETCONMGR_ENUM_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumConnections)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1322,31 +1322,31 @@ impl INetConnectionProps { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Guid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Guid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Characteristics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Characteristics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1441,7 +1441,7 @@ impl INetFwAuthorizedApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1455,7 +1455,7 @@ impl INetFwAuthorizedApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProcessImageFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProcessImageFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1467,14 +1467,14 @@ impl INetFwAuthorizedApplication { (::windows::core::Interface::vtable(self).SetProcessImageFileName)(::windows::core::Interface::as_raw(self), imagefilename.into().abi()).ok() } pub unsafe fn IpVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IpVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIpVersion(&self, ipversion: NET_FW_IP_VERSION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIpVersion)(::windows::core::Interface::as_raw(self), ipversion).ok() } pub unsafe fn Scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScope(&self, scope: NET_FW_SCOPE) -> ::windows::core::Result<()> { @@ -1483,7 +1483,7 @@ impl INetFwAuthorizedApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1495,7 +1495,7 @@ impl INetFwAuthorizedApplication { (::windows::core::Interface::vtable(self).SetRemoteAddresses)(::windows::core::Interface::as_raw(self), remoteaddrs.into().abi()).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -1606,7 +1606,7 @@ pub struct INetFwAuthorizedApplications(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwAuthorizedApplications { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1631,11 +1631,11 @@ impl INetFwAuthorizedApplications { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), imagefilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -1727,70 +1727,70 @@ pub struct INetFwIcmpSettings(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwIcmpSettings { pub unsafe fn AllowOutboundDestinationUnreachable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowOutboundDestinationUnreachable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowOutboundDestinationUnreachable(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowOutboundDestinationUnreachable)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowRedirect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowRedirect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowRedirect(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowRedirect)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowInboundEchoRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowInboundEchoRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowInboundEchoRequest(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowInboundEchoRequest)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowOutboundTimeExceeded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowOutboundTimeExceeded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowOutboundTimeExceeded(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowOutboundTimeExceeded)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowOutboundParameterProblem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowOutboundParameterProblem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowOutboundParameterProblem(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowOutboundParameterProblem)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowOutboundSourceQuench(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowOutboundSourceQuench)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowOutboundSourceQuench(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowOutboundSourceQuench)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowInboundRouterRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowInboundRouterRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowInboundRouterRequest(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowInboundRouterRequest)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowInboundTimestampRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowInboundTimestampRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowInboundTimestampRequest(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowInboundTimestampRequest)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowInboundMaskRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowInboundMaskRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowInboundMaskRequest(&self, allow: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowInboundMaskRequest)(::windows::core::Interface::as_raw(self), allow).ok() } pub unsafe fn AllowOutboundPacketTooBig(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowOutboundPacketTooBig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowOutboundPacketTooBig(&self, allow: i16) -> ::windows::core::Result<()> { @@ -1893,11 +1893,11 @@ impl INetFwMgr { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LocalPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProfileType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentProfileType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RestoreDefaults(&self) -> ::windows::core::Result<()> { @@ -2011,7 +2011,7 @@ impl INetFwOpenPort { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2023,28 +2023,28 @@ impl INetFwOpenPort { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn IpVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IpVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIpVersion(&self, ipversion: NET_FW_IP_VERSION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIpVersion)(::windows::core::Interface::as_raw(self), ipversion).ok() } pub unsafe fn Protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProtocol(&self, ipprotocol: NET_FW_IP_PROTOCOL) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProtocol)(::windows::core::Interface::as_raw(self), ipprotocol).ok() } pub unsafe fn Port(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Port)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPort(&self, portnumber: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPort)(::windows::core::Interface::as_raw(self), portnumber).ok() } pub unsafe fn Scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScope(&self, scope: NET_FW_SCOPE) -> ::windows::core::Result<()> { @@ -2053,7 +2053,7 @@ impl INetFwOpenPort { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2065,14 +2065,14 @@ impl INetFwOpenPort { (::windows::core::Interface::vtable(self).SetRemoteAddresses)(::windows::core::Interface::as_raw(self), remoteaddrs.into().abi()).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn BuiltIn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BuiltIn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2177,7 +2177,7 @@ pub struct INetFwOpenPorts(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwOpenPorts { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2194,11 +2194,11 @@ impl INetFwOpenPorts { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, portnumber: i32, ipprotocol: NET_FW_IP_PROTOCOL) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), portnumber, ipprotocol, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -2289,13 +2289,13 @@ impl INetFwPolicy { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProfileByType(&self, profiletype: NET_FW_PROFILE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProfileByType)(::windows::core::Interface::as_raw(self), profiletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2381,11 +2381,11 @@ pub struct INetFwPolicy2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwPolicy2 { pub unsafe fn CurrentProfileTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentProfileTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_FirewallEnabled(&self, profiletype: NET_FW_PROFILE_TYPE2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_FirewallEnabled)(::windows::core::Interface::as_raw(self), profiletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_FirewallEnabled(&self, profiletype: NET_FW_PROFILE_TYPE2, enabled: i16) -> ::windows::core::Result<()> { @@ -2394,7 +2394,7 @@ impl INetFwPolicy2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_ExcludedInterfaces(&self, profiletype: NET_FW_PROFILE_TYPE2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ExcludedInterfaces)(::windows::core::Interface::as_raw(self), profiletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2406,21 +2406,21 @@ impl INetFwPolicy2 { (::windows::core::Interface::vtable(self).put_ExcludedInterfaces)(::windows::core::Interface::as_raw(self), profiletype, interfaces.into().abi()).ok() } pub unsafe fn get_BlockAllInboundTraffic(&self, profiletype: NET_FW_PROFILE_TYPE2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_BlockAllInboundTraffic)(::windows::core::Interface::as_raw(self), profiletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_BlockAllInboundTraffic(&self, profiletype: NET_FW_PROFILE_TYPE2, block: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_BlockAllInboundTraffic)(::windows::core::Interface::as_raw(self), profiletype, block).ok() } pub unsafe fn get_NotificationsDisabled(&self, profiletype: NET_FW_PROFILE_TYPE2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_NotificationsDisabled)(::windows::core::Interface::as_raw(self), profiletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_NotificationsDisabled(&self, profiletype: NET_FW_PROFILE_TYPE2, disabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_NotificationsDisabled)(::windows::core::Interface::as_raw(self), profiletype, disabled).ok() } pub unsafe fn get_UnicastResponsesToMulticastBroadcastDisabled(&self, profiletype: NET_FW_PROFILE_TYPE2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_UnicastResponsesToMulticastBroadcastDisabled)(::windows::core::Interface::as_raw(self), profiletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_UnicastResponsesToMulticastBroadcastDisabled(&self, profiletype: NET_FW_PROFILE_TYPE2, disabled: i16) -> ::windows::core::Result<()> { @@ -2429,13 +2429,13 @@ impl INetFwPolicy2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ServiceRestriction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceRestriction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2452,21 +2452,21 @@ impl INetFwPolicy2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRuleGroupEnabled)(::windows::core::Interface::as_raw(self), profiletypesbitmask, group.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RestoreLocalFirewallDefaults(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).RestoreLocalFirewallDefaults)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_DefaultInboundAction(&self, profiletype: NET_FW_PROFILE_TYPE2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_DefaultInboundAction)(::windows::core::Interface::as_raw(self), profiletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_DefaultInboundAction(&self, profiletype: NET_FW_PROFILE_TYPE2, action: NET_FW_ACTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_DefaultInboundAction)(::windows::core::Interface::as_raw(self), profiletype, action).ok() } pub unsafe fn get_DefaultOutboundAction(&self, profiletype: NET_FW_PROFILE_TYPE2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_DefaultOutboundAction)(::windows::core::Interface::as_raw(self), profiletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_DefaultOutboundAction(&self, profiletype: NET_FW_PROFILE_TYPE2, action: NET_FW_ACTION) -> ::windows::core::Result<()> { @@ -2478,11 +2478,11 @@ impl INetFwPolicy2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_IsRuleGroupCurrentlyEnabled)(::windows::core::Interface::as_raw(self), group.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LocalPolicyModifyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalPolicyModifyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2605,7 +2605,7 @@ impl INetFwProduct { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn RuleCategories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RuleCategories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2619,7 +2619,7 @@ impl INetFwProduct { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2633,7 +2633,7 @@ impl INetFwProduct { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PathToSignedProductExe(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathToSignedProductExe)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2731,7 +2731,7 @@ pub struct INetFwProducts(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwProducts { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2740,17 +2740,17 @@ impl INetFwProducts { where P0: ::std::convert::Into<::windows::core::InParam<'a, INetFwProduct>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Register)(::windows::core::Interface::as_raw(self), product.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -2838,32 +2838,32 @@ pub struct INetFwProfile(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwProfile { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirewallEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirewallEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFirewallEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFirewallEnabled)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn ExceptionsNotAllowed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExceptionsNotAllowed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExceptionsNotAllowed(&self, notallowed: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExceptionsNotAllowed)(::windows::core::Interface::as_raw(self), notallowed).ok() } pub unsafe fn NotificationsDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NotificationsDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotificationsDisabled(&self, disabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNotificationsDisabled)(::windows::core::Interface::as_raw(self), disabled).ok() } pub unsafe fn UnicastResponsesToMulticastBroadcastDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UnicastResponsesToMulticastBroadcastDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUnicastResponsesToMulticastBroadcastDisabled(&self, disabled: i16) -> ::windows::core::Result<()> { @@ -2872,31 +2872,31 @@ impl INetFwProfile { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RemoteAdminSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteAdminSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IcmpSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IcmpSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GloballyOpenPorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GloballyOpenPorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Services(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Services)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AuthorizedApplications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthorizedApplications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3003,14 +3003,14 @@ pub struct INetFwRemoteAdminSettings(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwRemoteAdminSettings { pub unsafe fn IpVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IpVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIpVersion(&self, ipversion: NET_FW_IP_VERSION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIpVersion)(::windows::core::Interface::as_raw(self), ipversion).ok() } pub unsafe fn Scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScope(&self, scope: NET_FW_SCOPE) -> ::windows::core::Result<()> { @@ -3019,7 +3019,7 @@ impl INetFwRemoteAdminSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3031,7 +3031,7 @@ impl INetFwRemoteAdminSettings { (::windows::core::Interface::vtable(self).SetRemoteAddresses)(::windows::core::Interface::as_raw(self), remoteaddrs.into().abi()).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -3128,7 +3128,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3142,7 +3142,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3156,7 +3156,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3170,7 +3170,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3182,7 +3182,7 @@ impl INetFwRule { (::windows::core::Interface::vtable(self).SetServiceName)(::windows::core::Interface::as_raw(self), servicename.into().abi()).ok() } pub unsafe fn Protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProtocol(&self, protocol: i32) -> ::windows::core::Result<()> { @@ -3191,7 +3191,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalPorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalPorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3205,7 +3205,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemotePorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemotePorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3219,7 +3219,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3233,7 +3233,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3247,7 +3247,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IcmpTypesAndCodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IcmpTypesAndCodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3259,7 +3259,7 @@ impl INetFwRule { (::windows::core::Interface::vtable(self).SetIcmpTypesAndCodes)(::windows::core::Interface::as_raw(self), icmptypesandcodes.into().abi()).ok() } pub unsafe fn Direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDirection(&self, dir: NET_FW_RULE_DIRECTION) -> ::windows::core::Result<()> { @@ -3268,7 +3268,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Interfaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Interfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3282,7 +3282,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InterfaceTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InterfaceTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3294,7 +3294,7 @@ impl INetFwRule { (::windows::core::Interface::vtable(self).SetInterfaceTypes)(::windows::core::Interface::as_raw(self), interfacetypes.into().abi()).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -3303,7 +3303,7 @@ impl INetFwRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Grouping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Grouping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3315,21 +3315,21 @@ impl INetFwRule { (::windows::core::Interface::vtable(self).SetGrouping)(::windows::core::Interface::as_raw(self), context.into().abi()).ok() } pub unsafe fn Profiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProfiles(&self, profiletypesbitmask: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProfiles)(::windows::core::Interface::as_raw(self), profiletypesbitmask).ok() } pub unsafe fn EdgeTraversal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EdgeTraversal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEdgeTraversal(&self, enabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEdgeTraversal)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn Action(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Action)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAction(&self, action: NET_FW_ACTION) -> ::windows::core::Result<()> { @@ -3520,7 +3520,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3534,7 +3534,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3548,7 +3548,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3562,7 +3562,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3574,7 +3574,7 @@ impl INetFwRule2 { (::windows::core::Interface::vtable(self).base__.SetServiceName)(::windows::core::Interface::as_raw(self), servicename.into().abi()).ok() } pub unsafe fn Protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProtocol(&self, protocol: i32) -> ::windows::core::Result<()> { @@ -3583,7 +3583,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalPorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalPorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3597,7 +3597,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemotePorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RemotePorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3611,7 +3611,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3625,7 +3625,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RemoteAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3639,7 +3639,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IcmpTypesAndCodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IcmpTypesAndCodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3651,7 +3651,7 @@ impl INetFwRule2 { (::windows::core::Interface::vtable(self).base__.SetIcmpTypesAndCodes)(::windows::core::Interface::as_raw(self), icmptypesandcodes.into().abi()).ok() } pub unsafe fn Direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDirection(&self, dir: NET_FW_RULE_DIRECTION) -> ::windows::core::Result<()> { @@ -3660,7 +3660,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Interfaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Interfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3674,7 +3674,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InterfaceTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InterfaceTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3686,7 +3686,7 @@ impl INetFwRule2 { (::windows::core::Interface::vtable(self).base__.SetInterfaceTypes)(::windows::core::Interface::as_raw(self), interfacetypes.into().abi()).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -3695,7 +3695,7 @@ impl INetFwRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Grouping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Grouping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3707,28 +3707,28 @@ impl INetFwRule2 { (::windows::core::Interface::vtable(self).base__.SetGrouping)(::windows::core::Interface::as_raw(self), context.into().abi()).ok() } pub unsafe fn Profiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Profiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProfiles(&self, profiletypesbitmask: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetProfiles)(::windows::core::Interface::as_raw(self), profiletypesbitmask).ok() } pub unsafe fn EdgeTraversal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EdgeTraversal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEdgeTraversal(&self, enabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetEdgeTraversal)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn Action(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Action)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAction(&self, action: NET_FW_ACTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetAction)(::windows::core::Interface::as_raw(self), action).ok() } pub unsafe fn EdgeTraversalOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EdgeTraversalOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEdgeTraversalOptions(&self, loptions: i32) -> ::windows::core::Result<()> { @@ -3831,7 +3831,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3845,7 +3845,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3859,7 +3859,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ApplicationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3873,7 +3873,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ServiceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3885,7 +3885,7 @@ impl INetFwRule3 { (::windows::core::Interface::vtable(self).base__.base__.SetServiceName)(::windows::core::Interface::as_raw(self), servicename.into().abi()).ok() } pub unsafe fn Protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProtocol(&self, protocol: i32) -> ::windows::core::Result<()> { @@ -3894,7 +3894,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalPorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LocalPorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3908,7 +3908,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemotePorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RemotePorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3922,7 +3922,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LocalAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3936,7 +3936,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RemoteAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3950,7 +3950,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IcmpTypesAndCodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IcmpTypesAndCodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3962,7 +3962,7 @@ impl INetFwRule3 { (::windows::core::Interface::vtable(self).base__.base__.SetIcmpTypesAndCodes)(::windows::core::Interface::as_raw(self), icmptypesandcodes.into().abi()).ok() } pub unsafe fn Direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDirection(&self, dir: NET_FW_RULE_DIRECTION) -> ::windows::core::Result<()> { @@ -3971,7 +3971,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Interfaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Interfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3985,7 +3985,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InterfaceTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InterfaceTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3997,7 +3997,7 @@ impl INetFwRule3 { (::windows::core::Interface::vtable(self).base__.base__.SetInterfaceTypes)(::windows::core::Interface::as_raw(self), interfacetypes.into().abi()).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -4006,7 +4006,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Grouping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Grouping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4018,28 +4018,28 @@ impl INetFwRule3 { (::windows::core::Interface::vtable(self).base__.base__.SetGrouping)(::windows::core::Interface::as_raw(self), context.into().abi()).ok() } pub unsafe fn Profiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Profiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProfiles(&self, profiletypesbitmask: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetProfiles)(::windows::core::Interface::as_raw(self), profiletypesbitmask).ok() } pub unsafe fn EdgeTraversal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EdgeTraversal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEdgeTraversal(&self, enabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetEdgeTraversal)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn Action(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Action)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAction(&self, action: NET_FW_ACTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetAction)(::windows::core::Interface::as_raw(self), action).ok() } pub unsafe fn EdgeTraversalOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EdgeTraversalOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEdgeTraversalOptions(&self, loptions: i32) -> ::windows::core::Result<()> { @@ -4048,7 +4048,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalAppPackageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalAppPackageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4062,7 +4062,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalUserOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalUserOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4076,7 +4076,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalUserAuthorizedList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalUserAuthorizedList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4090,7 +4090,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteUserAuthorizedList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteUserAuthorizedList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4104,7 +4104,7 @@ impl INetFwRule3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteMachineAuthorizedList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteMachineAuthorizedList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4116,7 +4116,7 @@ impl INetFwRule3 { (::windows::core::Interface::vtable(self).SetRemoteMachineAuthorizedList)(::windows::core::Interface::as_raw(self), wszuserauthlist.into().abi()).ok() } pub unsafe fn SecureFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SecureFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSecureFlags(&self, loptions: i32) -> ::windows::core::Result<()> { @@ -4275,7 +4275,7 @@ pub struct INetFwRules(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwRules { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4300,11 +4300,11 @@ impl INetFwRules { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -4398,26 +4398,26 @@ impl INetFwService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Customized(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Customized)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IpVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IpVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIpVersion(&self, ipversion: NET_FW_IP_VERSION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIpVersion)(::windows::core::Interface::as_raw(self), ipversion).ok() } pub unsafe fn Scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScope(&self, scope: NET_FW_SCOPE) -> ::windows::core::Result<()> { @@ -4426,7 +4426,7 @@ impl INetFwService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4438,7 +4438,7 @@ impl INetFwService { (::windows::core::Interface::vtable(self).SetRemoteAddresses)(::windows::core::Interface::as_raw(self), remoteaddrs.into().abi()).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -4447,7 +4447,7 @@ impl INetFwService { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GloballyOpenPorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GloballyOpenPorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4564,13 +4564,13 @@ impl INetFwServiceRestriction { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceRestricted)(::windows::core::Interface::as_raw(self), servicename.into().abi(), appname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4660,17 +4660,17 @@ pub struct INetFwServices(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwServices { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, svctype: NET_FW_SERVICE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), svctype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -4754,11 +4754,11 @@ pub struct INetSharingConfiguration(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingConfiguration { pub unsafe fn SharingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SharingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SharingConnectionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SharingConnectionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisableSharing(&self) -> ::windows::core::Result<()> { @@ -4768,7 +4768,7 @@ impl INetSharingConfiguration { (::windows::core::Interface::vtable(self).EnableSharing)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn InternetFirewallEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InternetFirewallEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisableInternetFirewall(&self) -> ::windows::core::Result<()> { @@ -4780,7 +4780,7 @@ impl INetSharingConfiguration { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_EnumPortMappings(&self, flags: SHARINGCONNECTION_ENUM_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EnumPortMappings)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4790,7 +4790,7 @@ impl INetSharingConfiguration { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddPortMapping)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ucipprotocol, usexternalport, usinternalport, dwoptions, bstrtargetnameoripaddress.into().abi(), etargettype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4895,11 +4895,11 @@ pub struct INetSharingEveryConnectionCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingEveryConnectionCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4979,19 +4979,19 @@ pub struct INetSharingManager(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingManager { pub unsafe fn SharingInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SharingInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_EnumPublicConnections(&self, flags: SHARINGCONNECTION_ENUM_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EnumPublicConnections)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_EnumPrivateConnections(&self, flags: SHARINGCONNECTION_ENUM_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EnumPrivateConnections)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5000,13 +5000,13 @@ impl INetSharingManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, INetConnection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_INetSharingConfigurationForINetConnection)(::windows::core::Interface::as_raw(self), pnetconnection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumEveryConnection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumEveryConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5015,7 +5015,7 @@ impl INetSharingManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, INetConnection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_NetConnectionProps)(::windows::core::Interface::as_raw(self), pnetconnection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5122,7 +5122,7 @@ impl INetSharingPortMapping { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -5210,11 +5210,11 @@ pub struct INetSharingPortMappingCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingPortMappingCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5296,39 +5296,39 @@ impl INetSharingPortMappingProps { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IPProtocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IPProtocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExternalPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExternalPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InternalPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InternalPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Options(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Options)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetIPAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetIPAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5423,11 +5423,11 @@ pub struct INetSharingPrivateConnectionCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingPrivateConnectionCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5507,11 +5507,11 @@ pub struct INetSharingPublicConnectionCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingPublicConnectionCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5593,37 +5593,37 @@ impl IStaticPortMapping { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExternalIPAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExternalIPAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExternalPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExternalPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InternalPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InternalPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InternalClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InternalClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5752,7 +5752,7 @@ pub struct IStaticPortMappingCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IStaticPortMappingCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5761,11 +5761,11 @@ impl IStaticPortMappingCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lexternalport, bstrprotocol.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5784,7 +5784,7 @@ impl IStaticPortMappingCollection { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), lexternalport, bstrprotocol.into().abi(), linternalport, bstrinternalclient.into().abi(), benabled, bstrdescription.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5878,19 +5878,19 @@ impl IUPnPNAT { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn StaticPortMappingCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StaticPortMappingCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DynamicPortMappingCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DynamicPortMappingCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NATEventManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NATEventManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 d874bb1ad3..6b2cafcdb0 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -2218,7 +2218,7 @@ where extern "system" { fn ADsBuildEnumerator(padscontainer: *mut ::core::ffi::c_void, ppenumvariant: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ADsBuildEnumerator(padscontainer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8912,37 +8912,37 @@ impl IADs { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -8957,7 +8957,7 @@ impl IADs { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8975,7 +8975,7 @@ impl IADs { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9118,59 +9118,59 @@ impl IADsADSystemInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ComputerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SiteName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SiteName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainShortName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DomainShortName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainDNSName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DomainDNSName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ForestDNSName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ForestDNSName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PDCRoleOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PDCRoleOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SchemaRoleOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SchemaRoleOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsNativeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsNativeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAnyDCName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAnyDCName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9179,7 +9179,7 @@ impl IADsADSystemInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDCSiteName)(::windows::core::Interface::as_raw(self), szserver.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RefreshSchemaCache(&self) -> ::windows::core::Result<()> { @@ -9188,7 +9188,7 @@ impl IADsADSystemInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetTrees(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTrees)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9312,28 +9312,28 @@ pub struct IADsAccessControlEntry(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsAccessControlEntry { pub unsafe fn AccessMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AccessMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAccessMask(&self, lnaccessmask: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAccessMask)(::windows::core::Interface::as_raw(self), lnaccessmask).ok() } pub unsafe fn AceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAceType(&self, lnacetype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAceType)(::windows::core::Interface::as_raw(self), lnacetype).ok() } pub unsafe fn AceFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AceFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAceFlags(&self, lnaceflags: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAceFlags)(::windows::core::Interface::as_raw(self), lnaceflags).ok() } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, lnflags: i32) -> ::windows::core::Result<()> { @@ -9342,7 +9342,7 @@ impl IADsAccessControlEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ObjectType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9356,7 +9356,7 @@ impl IADsAccessControlEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InheritedObjectType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InheritedObjectType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9370,7 +9370,7 @@ impl IADsAccessControlEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Trustee(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Trustee)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9488,14 +9488,14 @@ pub struct IADsAccessControlList(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsAccessControlList { pub unsafe fn AclRevision(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AclRevision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAclRevision(&self, lnaclrevision: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAclRevision)(::windows::core::Interface::as_raw(self), lnaclrevision).ok() } pub unsafe fn AceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAceCount(&self, lnacecount: i32) -> ::windows::core::Result<()> { @@ -9520,11 +9520,11 @@ impl IADsAccessControlList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CopyAccessList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopyAccessList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -9621,7 +9621,7 @@ impl IADsAcl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProtectedAttrName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProtectedAttrName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9635,7 +9635,7 @@ impl IADsAcl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubjectName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubjectName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9647,7 +9647,7 @@ impl IADsAcl { (::windows::core::Interface::vtable(self).SetSubjectName)(::windows::core::Interface::as_raw(self), bstrsubjectname.into().abi()).ok() } pub unsafe fn Privileges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Privileges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivileges(&self, lnprivileges: i32) -> ::windows::core::Result<()> { @@ -9656,7 +9656,7 @@ impl IADsAcl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CopyAcl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopyAcl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9876,7 +9876,7 @@ pub struct IADsBackLink(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsBackLink { pub unsafe fn RemoteID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRemoteID(&self, lnremoteid: i32) -> ::windows::core::Result<()> { @@ -9885,7 +9885,7 @@ impl IADsBackLink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ObjectName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9983,7 +9983,7 @@ impl IADsCaseIgnoreList { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CaseIgnoreList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CaseIgnoreList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10079,37 +10079,37 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -10124,7 +10124,7 @@ impl IADsClass { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10142,7 +10142,7 @@ impl IADsClass { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10165,13 +10165,13 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PrimaryInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrimaryInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10185,7 +10185,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10197,14 +10197,14 @@ impl IADsClass { (::windows::core::Interface::vtable(self).SetOID)(::windows::core::Interface::as_raw(self), bstroid.into().abi()).ok() } pub unsafe fn Abstract(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Abstract)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAbstract(&self, fabstract: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAbstract)(::windows::core::Interface::as_raw(self), fabstract).ok() } pub unsafe fn Auxiliary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Auxiliary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuxiliary(&self, fauxiliary: i16) -> ::windows::core::Result<()> { @@ -10213,7 +10213,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MandatoryProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MandatoryProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10227,7 +10227,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn OptionalProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OptionalProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10241,7 +10241,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn NamingProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NamingProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10255,7 +10255,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DerivedFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DerivedFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10269,7 +10269,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AuxDerivedFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuxDerivedFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10283,7 +10283,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PossibleSuperiors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PossibleSuperiors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10297,7 +10297,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Containment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Containment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10309,7 +10309,7 @@ impl IADsClass { (::windows::core::Interface::vtable(self).SetContainment)(::windows::core::Interface::as_raw(self), vcontainment.into().abi()).ok() } pub unsafe fn Container(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Container)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetContainer(&self, fcontainer: i16) -> ::windows::core::Result<()> { @@ -10318,7 +10318,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HelpFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HelpFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10330,7 +10330,7 @@ impl IADsClass { (::windows::core::Interface::vtable(self).SetHelpFileName)(::windows::core::Interface::as_raw(self), bstrhelpfilename.into().abi()).ok() } pub unsafe fn HelpFileContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HelpFileContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHelpFileContext(&self, lnhelpfilecontext: i32) -> ::windows::core::Result<()> { @@ -10339,7 +10339,7 @@ impl IADsClass { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Qualifiers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10531,7 +10531,7 @@ pub struct IADsCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10557,7 +10557,7 @@ impl IADsCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10650,37 +10650,37 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -10695,7 +10695,7 @@ impl IADsComputer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10713,7 +10713,7 @@ impl IADsComputer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10736,19 +10736,19 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ComputerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Site(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Site)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10762,7 +10762,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10776,7 +10776,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PrimaryUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrimaryUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10790,7 +10790,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Owner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Owner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10804,7 +10804,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Division(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Division)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10818,7 +10818,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Department(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Department)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10832,7 +10832,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Role(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Role)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10846,7 +10846,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OperatingSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OperatingSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10860,7 +10860,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OperatingSystemVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OperatingSystemVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10874,7 +10874,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Model(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Model)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10888,7 +10888,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Processor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Processor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10902,7 +10902,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProcessorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProcessorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10916,7 +10916,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MemorySize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MemorySize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10930,7 +10930,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StorageCapacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StorageCapacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10944,7 +10944,7 @@ impl IADsComputer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn NetAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11178,37 +11178,37 @@ impl IADsComputerOperations { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -11223,7 +11223,7 @@ impl IADsComputerOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11241,7 +11241,7 @@ impl IADsComputerOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11264,7 +11264,7 @@ impl IADsComputerOperations { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shutdown(&self, breboot: i16) -> ::windows::core::Result<()> { @@ -11368,17 +11368,17 @@ pub struct IADsContainer(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsContainer { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11392,7 +11392,7 @@ impl IADsContainer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Hints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Hints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11410,7 +11410,7 @@ impl IADsContainer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), classname.into().abi(), relativename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11420,7 +11420,7 @@ impl IADsContainer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), classname.into().abi(), relativename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11439,7 +11439,7 @@ impl IADsContainer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopyHere)(::windows::core::Interface::as_raw(self), sourcename.into().abi(), newname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11449,7 +11449,7 @@ impl IADsContainer { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveHere)(::windows::core::Interface::as_raw(self), sourcename.into().abi(), newname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11567,7 +11567,7 @@ impl IADsDNWithBinary { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn BinaryValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BinaryValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11581,7 +11581,7 @@ impl IADsDNWithBinary { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DNString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DNString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11685,7 +11685,7 @@ impl IADsDNWithString { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StringValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StringValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11699,7 +11699,7 @@ impl IADsDNWithString { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DNString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DNString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11881,37 +11881,37 @@ impl IADsDomain { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -11926,7 +11926,7 @@ impl IADsDomain { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11944,7 +11944,7 @@ impl IADsDomain { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11965,60 +11965,60 @@ impl IADsDomain { (::windows::core::Interface::vtable(self).base__.GetInfoEx)(::windows::core::Interface::as_raw(self), vproperties.into().abi(), lnreserved).ok() } pub unsafe fn IsWorkgroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWorkgroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinPasswordLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinPasswordLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinPasswordLength(&self, lnminpasswordlength: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinPasswordLength)(::windows::core::Interface::as_raw(self), lnminpasswordlength).ok() } pub unsafe fn MinPasswordAge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinPasswordAge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinPasswordAge(&self, lnminpasswordage: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinPasswordAge)(::windows::core::Interface::as_raw(self), lnminpasswordage).ok() } pub unsafe fn MaxPasswordAge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxPasswordAge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxPasswordAge(&self, lnmaxpasswordage: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxPasswordAge)(::windows::core::Interface::as_raw(self), lnmaxpasswordage).ok() } pub unsafe fn MaxBadPasswordsAllowed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxBadPasswordsAllowed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxBadPasswordsAllowed(&self, lnmaxbadpasswordsallowed: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxBadPasswordsAllowed)(::windows::core::Interface::as_raw(self), lnmaxbadpasswordsallowed).ok() } pub unsafe fn PasswordHistoryLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PasswordHistoryLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPasswordHistoryLength(&self, lnpasswordhistorylength: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPasswordHistoryLength)(::windows::core::Interface::as_raw(self), lnpasswordhistorylength).ok() } pub unsafe fn PasswordAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PasswordAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPasswordAttributes(&self, lnpasswordattributes: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPasswordAttributes)(::windows::core::Interface::as_raw(self), lnpasswordattributes).ok() } pub unsafe fn AutoUnlockInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoUnlockInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoUnlockInterval(&self, lnautounlockinterval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoUnlockInterval)(::windows::core::Interface::as_raw(self), lnautounlockinterval).ok() } pub unsafe fn LockoutObservationInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LockoutObservationInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLockoutObservationInterval(&self, lnlockoutobservationinterval: i32) -> ::windows::core::Result<()> { @@ -12134,7 +12134,7 @@ pub struct IADsEmail(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsEmail { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, lntype: i32) -> ::windows::core::Result<()> { @@ -12143,7 +12143,7 @@ impl IADsEmail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12247,7 +12247,7 @@ impl IADsExtension { (::windows::core::Interface::vtable(self).Operate)(::windows::core::Interface::as_raw(self), dwcode, vardata1.into().abi(), vardata2.into().abi(), vardata3.into().abi()).ok() } pub unsafe fn PrivateGetIDsOfNames(&self, riid: *const ::windows::core::GUID, rgsznames: *const *const u16, cnames: u32, lcid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateGetIDsOfNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(rgsznames), cnames, lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12314,7 +12314,7 @@ impl IADsFaxNumber { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TelephoneNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TelephoneNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12328,7 +12328,7 @@ impl IADsFaxNumber { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Parameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12432,37 +12432,37 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -12477,7 +12477,7 @@ impl IADsFileService { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12495,7 +12495,7 @@ impl IADsFileService { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12518,7 +12518,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HostComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HostComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12532,7 +12532,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12546,7 +12546,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12558,14 +12558,14 @@ impl IADsFileService { (::windows::core::Interface::vtable(self).base__.SetVersion)(::windows::core::Interface::as_raw(self), bstrversion.into().abi()).ok() } pub unsafe fn ServiceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetServiceType(&self, lnservicetype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetServiceType)(::windows::core::Interface::as_raw(self), lnservicetype).ok() } pub unsafe fn StartType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StartType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartType(&self, lnstarttype: i32) -> ::windows::core::Result<()> { @@ -12574,7 +12574,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12588,7 +12588,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StartupParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StartupParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12600,7 +12600,7 @@ impl IADsFileService { (::windows::core::Interface::vtable(self).base__.SetStartupParameters)(::windows::core::Interface::as_raw(self), bstrstartupparameters.into().abi()).ok() } pub unsafe fn ErrorControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ErrorControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetErrorControl(&self, lnerrorcontrol: i32) -> ::windows::core::Result<()> { @@ -12609,7 +12609,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LoadOrderGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LoadOrderGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12623,7 +12623,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceAccountName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceAccountName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12637,7 +12637,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceAccountPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceAccountPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12651,7 +12651,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Dependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Dependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12665,7 +12665,7 @@ impl IADsFileService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12677,7 +12677,7 @@ impl IADsFileService { (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), bstrdescription.into().abi()).ok() } pub unsafe fn MaxUserCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxUserCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxUserCount(&self, lnmaxusercount: i32) -> ::windows::core::Result<()> { @@ -12806,37 +12806,37 @@ impl IADsFileServiceOperations { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -12851,7 +12851,7 @@ impl IADsFileServiceOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12869,7 +12869,7 @@ impl IADsFileServiceOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12890,7 +12890,7 @@ impl IADsFileServiceOperations { (::windows::core::Interface::vtable(self).base__.base__.GetInfoEx)(::windows::core::Interface::as_raw(self), vproperties.into().abi(), lnreserved).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Start(&self) -> ::windows::core::Result<()> { @@ -12916,13 +12916,13 @@ impl IADsFileServiceOperations { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sessions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Sessions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Resources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Resources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13046,37 +13046,37 @@ impl IADsFileShare { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -13091,7 +13091,7 @@ impl IADsFileShare { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13109,7 +13109,7 @@ impl IADsFileShare { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13130,13 +13130,13 @@ impl IADsFileShare { (::windows::core::Interface::vtable(self).base__.GetInfoEx)(::windows::core::Interface::as_raw(self), vproperties.into().abi(), lnreserved).ok() } pub unsafe fn CurrentUserCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentUserCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13150,7 +13150,7 @@ impl IADsFileShare { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HostComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HostComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13164,7 +13164,7 @@ impl IADsFileShare { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13176,7 +13176,7 @@ impl IADsFileShare { (::windows::core::Interface::vtable(self).SetPath)(::windows::core::Interface::as_raw(self), bstrpath.into().abi()).ok() } pub unsafe fn MaxUserCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxUserCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxUserCount(&self, lnmaxusercount: i32) -> ::windows::core::Result<()> { @@ -13304,37 +13304,37 @@ impl IADsGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -13349,7 +13349,7 @@ impl IADsGroup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13367,7 +13367,7 @@ impl IADsGroup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13390,7 +13390,7 @@ impl IADsGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13404,7 +13404,7 @@ impl IADsGroup { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Members(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Members)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13413,7 +13413,7 @@ impl IADsGroup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMember)(::windows::core::Interface::as_raw(self), bstrmember.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13551,7 +13551,7 @@ impl IADsHold { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ObjectName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13563,7 +13563,7 @@ impl IADsHold { (::windows::core::Interface::vtable(self).SetObjectName)(::windows::core::Interface::as_raw(self), bstrobjectname.into().abi()).ok() } pub unsafe fn Amount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Amount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAmount(&self, lnamount: i32) -> ::windows::core::Result<()> { @@ -13654,14 +13654,14 @@ pub struct IADsLargeInteger(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsLargeInteger { pub unsafe fn HighPart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HighPart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHighPart(&self, lnhighpart: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHighPart)(::windows::core::Interface::as_raw(self), lnhighpart).ok() } pub unsafe fn LowPart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LowPart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLowPart(&self, lnlowpart: i32) -> ::windows::core::Result<()> { @@ -13748,37 +13748,37 @@ impl IADsLocality { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -13793,7 +13793,7 @@ impl IADsLocality { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13811,7 +13811,7 @@ impl IADsLocality { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13834,7 +13834,7 @@ impl IADsLocality { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13848,7 +13848,7 @@ impl IADsLocality { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalityName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalityName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13862,7 +13862,7 @@ impl IADsLocality { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PostalAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PostalAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13876,7 +13876,7 @@ impl IADsLocality { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SeeAlso(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SeeAlso)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14012,17 +14012,17 @@ pub struct IADsMembers(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsMembers { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14150,7 +14150,7 @@ impl IADsNameTranslate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Get(&self, lnformattype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Get)(::windows::core::Interface::as_raw(self), lnformattype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14164,7 +14164,7 @@ impl IADsNameTranslate { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetEx(&self, lnformattype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEx)(::windows::core::Interface::as_raw(self), lnformattype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14269,37 +14269,37 @@ impl IADsNamespaces { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -14314,7 +14314,7 @@ impl IADsNamespaces { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14332,7 +14332,7 @@ impl IADsNamespaces { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14355,7 +14355,7 @@ impl IADsNamespaces { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14467,7 +14467,7 @@ pub struct IADsNetAddress(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsNetAddress { pub unsafe fn AddressType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddressType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAddressType(&self, lnaddresstype: i32) -> ::windows::core::Result<()> { @@ -14476,7 +14476,7 @@ impl IADsNetAddress { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14574,37 +14574,37 @@ impl IADsO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -14619,7 +14619,7 @@ impl IADsO { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14637,7 +14637,7 @@ impl IADsO { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14660,7 +14660,7 @@ impl IADsO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14674,7 +14674,7 @@ impl IADsO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalityName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalityName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14688,7 +14688,7 @@ impl IADsO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PostalAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PostalAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14702,7 +14702,7 @@ impl IADsO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TelephoneNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TelephoneNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14716,7 +14716,7 @@ impl IADsO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FaxNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FaxNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14730,7 +14730,7 @@ impl IADsO { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SeeAlso(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SeeAlso)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14884,37 +14884,37 @@ impl IADsOU { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -14929,7 +14929,7 @@ impl IADsOU { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14947,7 +14947,7 @@ impl IADsOU { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14970,7 +14970,7 @@ impl IADsOU { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14984,7 +14984,7 @@ impl IADsOU { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalityName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalityName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14998,7 +14998,7 @@ impl IADsOU { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PostalAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PostalAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15012,7 +15012,7 @@ impl IADsOU { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TelephoneNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TelephoneNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15026,7 +15026,7 @@ impl IADsOU { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FaxNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FaxNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15040,7 +15040,7 @@ impl IADsOU { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SeeAlso(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SeeAlso)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15054,7 +15054,7 @@ impl IADsOU { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BusinessCategory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BusinessCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15216,7 +15216,7 @@ impl IADsObjectOptions { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetOption(&self, lnoption: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOption)(::windows::core::Interface::as_raw(self), lnoption, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15312,7 +15312,7 @@ impl IADsOctetList { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn OctetList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OctetList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15413,7 +15413,7 @@ impl IADsOpenDSObject { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenDSObject)(::windows::core::Interface::as_raw(self), lpszdnname.into().abi(), lpszusername.into().abi(), lpszpassword.into().abi(), lnreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15495,7 +15495,7 @@ pub struct IADsPath(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPath { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, lntype: i32) -> ::windows::core::Result<()> { @@ -15504,7 +15504,7 @@ impl IADsPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15518,7 +15518,7 @@ impl IADsPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15635,17 +15635,17 @@ impl IADsPathname { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Retrieve(&self, lnformattype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Retrieve)(::windows::core::Interface::as_raw(self), lnformattype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumElements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumElements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetElement(&self, lnelementindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), lnelementindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15662,7 +15662,7 @@ impl IADsPathname { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CopyPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopyPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15671,11 +15671,11 @@ impl IADsPathname { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEscapedElement)(::windows::core::Interface::as_raw(self), lnreserved, bstrinstr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EscapedMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EscapedMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEscapedMode(&self, lnescapedmode: i32) -> ::windows::core::Result<()> { @@ -15787,7 +15787,7 @@ impl IADsPostalAddress { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PostalAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PostalAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15883,37 +15883,37 @@ impl IADsPrintJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -15928,7 +15928,7 @@ impl IADsPrintJob { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15946,7 +15946,7 @@ impl IADsPrintJob { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15969,37 +15969,37 @@ impl IADsPrintJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HostPrintQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HostPrintQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn User(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).User)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TimeSubmitted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TimeSubmitted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16011,21 +16011,21 @@ impl IADsPrintJob { (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), bstrdescription.into().abi()).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, lnpriority: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), lnpriority).ok() } pub unsafe fn StartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartTime(&self, dastarttime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartTime)(::windows::core::Interface::as_raw(self), dastarttime).ok() } pub unsafe fn UntilTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UntilTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUntilTime(&self, dauntiltime: f64) -> ::windows::core::Result<()> { @@ -16034,7 +16034,7 @@ impl IADsPrintJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Notify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Notify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16048,7 +16048,7 @@ impl IADsPrintJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NotifyPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NotifyPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16199,37 +16199,37 @@ impl IADsPrintJobOperations { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -16244,7 +16244,7 @@ impl IADsPrintJobOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16262,7 +16262,7 @@ impl IADsPrintJobOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16283,19 +16283,19 @@ impl IADsPrintJobOperations { (::windows::core::Interface::vtable(self).base__.GetInfoEx)(::windows::core::Interface::as_raw(self), vproperties.into().abi(), lnreserved).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TimeElapsed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TimeElapsed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PagesPrinted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PagesPrinted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPosition(&self, lnposition: i32) -> ::windows::core::Result<()> { @@ -16409,37 +16409,37 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -16454,7 +16454,7 @@ impl IADsPrintQueue { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16472,7 +16472,7 @@ impl IADsPrintQueue { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16495,7 +16495,7 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PrinterPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrinterPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16509,7 +16509,7 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Model(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Model)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16523,7 +16523,7 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Datatype(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Datatype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16537,7 +16537,7 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PrintProcessor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrintProcessor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16551,7 +16551,7 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16565,7 +16565,7 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16577,28 +16577,28 @@ impl IADsPrintQueue { (::windows::core::Interface::vtable(self).SetLocation)(::windows::core::Interface::as_raw(self), bstrlocation.into().abi()).ok() } pub unsafe fn StartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartTime(&self, dastarttime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartTime)(::windows::core::Interface::as_raw(self), dastarttime).ok() } pub unsafe fn UntilTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UntilTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUntilTime(&self, dauntiltime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUntilTime)(::windows::core::Interface::as_raw(self), dauntiltime).ok() } pub unsafe fn DefaultJobPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultJobPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultJobPriority(&self, lndefaultjobpriority: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultJobPriority)(::windows::core::Interface::as_raw(self), lndefaultjobpriority).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, lnpriority: i32) -> ::windows::core::Result<()> { @@ -16607,7 +16607,7 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BannerPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BannerPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16621,7 +16621,7 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PrintDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrintDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16635,7 +16635,7 @@ impl IADsPrintQueue { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn NetAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16821,37 +16821,37 @@ impl IADsPrintQueueOperations { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -16866,7 +16866,7 @@ impl IADsPrintQueueOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16884,7 +16884,7 @@ impl IADsPrintQueueOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16905,13 +16905,13 @@ impl IADsPrintQueueOperations { (::windows::core::Interface::vtable(self).base__.GetInfoEx)(::windows::core::Interface::as_raw(self), vproperties.into().abi(), lnreserved).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrintJobs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrintJobs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -17026,37 +17026,37 @@ impl IADsProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -17071,7 +17071,7 @@ impl IADsProperty { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17089,7 +17089,7 @@ impl IADsProperty { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17112,7 +17112,7 @@ impl IADsProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17126,7 +17126,7 @@ impl IADsProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Syntax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Syntax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17138,21 +17138,21 @@ impl IADsProperty { (::windows::core::Interface::vtable(self).SetSyntax)(::windows::core::Interface::as_raw(self), bstrsyntax.into().abi()).ok() } pub unsafe fn MaxRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxRange(&self, lnmaxrange: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxRange)(::windows::core::Interface::as_raw(self), lnmaxrange).ok() } pub unsafe fn MinRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinRange(&self, lnminrange: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinRange)(::windows::core::Interface::as_raw(self), lnminrange).ok() } pub unsafe fn MultiValued(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MultiValued)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMultiValued(&self, fmultivalued: i16) -> ::windows::core::Result<()> { @@ -17161,7 +17161,7 @@ impl IADsProperty { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Qualifiers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17288,7 +17288,7 @@ impl IADsPropertyEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17300,14 +17300,14 @@ impl IADsPropertyEntry { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), bstrname.into().abi()).ok() } pub unsafe fn ADsType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ADsType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetADsType(&self, lnadstype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetADsType)(::windows::core::Interface::as_raw(self), lnadstype).ok() } pub unsafe fn ControlCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ControlCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetControlCode(&self, lncontrolcode: i32) -> ::windows::core::Result<()> { @@ -17316,7 +17316,7 @@ impl IADsPropertyEntry { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Values(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Values)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17423,7 +17423,7 @@ pub struct IADsPropertyList(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPropertyList { pub unsafe fn PropertyCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17443,7 +17443,7 @@ impl IADsPropertyList { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17452,7 +17452,7 @@ impl IADsPropertyList { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), lnadstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17576,7 +17576,7 @@ impl IADsPropertyValue { (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ADsType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ADsType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetADsType(&self, lnadstype: i32) -> ::windows::core::Result<()> { @@ -17585,7 +17585,7 @@ impl IADsPropertyValue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DNString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DNString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17599,7 +17599,7 @@ impl IADsPropertyValue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CaseExactString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CaseExactString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17613,7 +17613,7 @@ impl IADsPropertyValue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CaseIgnoreString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CaseIgnoreString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17627,7 +17627,7 @@ impl IADsPropertyValue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PrintableString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrintableString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17641,7 +17641,7 @@ impl IADsPropertyValue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NumericString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumericString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17653,14 +17653,14 @@ impl IADsPropertyValue { (::windows::core::Interface::vtable(self).SetNumericString)(::windows::core::Interface::as_raw(self), bstrnumericstring.into().abi()).ok() } pub unsafe fn Boolean(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Boolean)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBoolean(&self, lnboolean: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBoolean)(::windows::core::Interface::as_raw(self), lnboolean).ok() } pub unsafe fn Integer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Integer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInteger(&self, lninteger: i32) -> ::windows::core::Result<()> { @@ -17669,7 +17669,7 @@ impl IADsPropertyValue { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn OctetString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OctetString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17683,7 +17683,7 @@ impl IADsPropertyValue { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SecurityDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -17697,7 +17697,7 @@ impl IADsPropertyValue { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LargeInteger(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LargeInteger)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -17709,7 +17709,7 @@ impl IADsPropertyValue { (::windows::core::Interface::vtable(self).SetLargeInteger)(::windows::core::Interface::as_raw(self), plargeinteger.into().abi()).ok() } pub unsafe fn UTCTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UTCTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUTCTime(&self, dautctime: f64) -> ::windows::core::Result<()> { @@ -17960,7 +17960,7 @@ impl IADsReplicaPointer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17972,21 +17972,21 @@ impl IADsReplicaPointer { (::windows::core::Interface::vtable(self).SetServerName)(::windows::core::Interface::as_raw(self), bstrservername.into().abi()).ok() } pub unsafe fn ReplicaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReplicaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReplicaType(&self, lnreplicatype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetReplicaType)(::windows::core::Interface::as_raw(self), lnreplicatype).ok() } pub unsafe fn ReplicaNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReplicaNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReplicaNumber(&self, lnreplicanumber: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetReplicaNumber)(::windows::core::Interface::as_raw(self), lnreplicanumber).ok() } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCount(&self, lncount: i32) -> ::windows::core::Result<()> { @@ -17995,7 +17995,7 @@ impl IADsReplicaPointer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReplicaAddressHints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReplicaAddressHints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18105,37 +18105,37 @@ impl IADsResource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -18150,7 +18150,7 @@ impl IADsResource { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18168,7 +18168,7 @@ impl IADsResource { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18191,23 +18191,23 @@ impl IADsResource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn User(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).User)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LockCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LockCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18316,14 +18316,14 @@ pub struct IADsSecurityDescriptor(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsSecurityDescriptor { pub unsafe fn Revision(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Revision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRevision(&self, lnrevision: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRevision)(::windows::core::Interface::as_raw(self), lnrevision).ok() } pub unsafe fn Control(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Control)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetControl(&self, lncontrol: i32) -> ::windows::core::Result<()> { @@ -18332,7 +18332,7 @@ impl IADsSecurityDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Owner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Owner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18344,7 +18344,7 @@ impl IADsSecurityDescriptor { (::windows::core::Interface::vtable(self).SetOwner)(::windows::core::Interface::as_raw(self), bstrowner.into().abi()).ok() } pub unsafe fn OwnerDefaulted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OwnerDefaulted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOwnerDefaulted(&self, fownerdefaulted: i16) -> ::windows::core::Result<()> { @@ -18353,7 +18353,7 @@ impl IADsSecurityDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Group(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Group)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18365,7 +18365,7 @@ impl IADsSecurityDescriptor { (::windows::core::Interface::vtable(self).SetGroup)(::windows::core::Interface::as_raw(self), bstrgroup.into().abi()).ok() } pub unsafe fn GroupDefaulted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GroupDefaulted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGroupDefaulted(&self, fgroupdefaulted: i16) -> ::windows::core::Result<()> { @@ -18374,7 +18374,7 @@ impl IADsSecurityDescriptor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DiscretionaryAcl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiscretionaryAcl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -18386,7 +18386,7 @@ impl IADsSecurityDescriptor { (::windows::core::Interface::vtable(self).SetDiscretionaryAcl)(::windows::core::Interface::as_raw(self), pdiscretionaryacl.into().abi()).ok() } pub unsafe fn DaclDefaulted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DaclDefaulted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDaclDefaulted(&self, fdacldefaulted: i16) -> ::windows::core::Result<()> { @@ -18395,7 +18395,7 @@ impl IADsSecurityDescriptor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SystemAcl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SystemAcl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -18407,7 +18407,7 @@ impl IADsSecurityDescriptor { (::windows::core::Interface::vtable(self).SetSystemAcl)(::windows::core::Interface::as_raw(self), psystemacl.into().abi()).ok() } pub unsafe fn SaclDefaulted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaclDefaulted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSaclDefaulted(&self, fsacldefaulted: i16) -> ::windows::core::Result<()> { @@ -18416,7 +18416,7 @@ impl IADsSecurityDescriptor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CopySecurityDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopySecurityDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18547,7 +18547,7 @@ impl IADsSecurityUtility { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityDescriptor)(::windows::core::Interface::as_raw(self), varpath.into().abi(), lpathformat, lformat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18565,11 +18565,11 @@ impl IADsSecurityUtility { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConvertSecurityDescriptor)(::windows::core::Interface::as_raw(self), varsd.into().abi(), ldataformat, loutformat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SecurityMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SecurityMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSecurityMask(&self, lnsecuritymask: i32) -> ::windows::core::Result<()> { @@ -18666,37 +18666,37 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -18711,7 +18711,7 @@ impl IADsService { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18729,7 +18729,7 @@ impl IADsService { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18752,7 +18752,7 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HostComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HostComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18766,7 +18766,7 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18780,7 +18780,7 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18792,14 +18792,14 @@ impl IADsService { (::windows::core::Interface::vtable(self).SetVersion)(::windows::core::Interface::as_raw(self), bstrversion.into().abi()).ok() } pub unsafe fn ServiceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetServiceType(&self, lnservicetype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetServiceType)(::windows::core::Interface::as_raw(self), lnservicetype).ok() } pub unsafe fn StartType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartType(&self, lnstarttype: i32) -> ::windows::core::Result<()> { @@ -18808,7 +18808,7 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18822,7 +18822,7 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StartupParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartupParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18834,7 +18834,7 @@ impl IADsService { (::windows::core::Interface::vtable(self).SetStartupParameters)(::windows::core::Interface::as_raw(self), bstrstartupparameters.into().abi()).ok() } pub unsafe fn ErrorControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ErrorControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetErrorControl(&self, lnerrorcontrol: i32) -> ::windows::core::Result<()> { @@ -18843,7 +18843,7 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LoadOrderGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadOrderGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18857,7 +18857,7 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceAccountName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceAccountName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18871,7 +18871,7 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceAccountPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceAccountPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18885,7 +18885,7 @@ impl IADsService { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Dependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Dependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -19069,37 +19069,37 @@ impl IADsServiceOperations { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -19114,7 +19114,7 @@ impl IADsServiceOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -19132,7 +19132,7 @@ impl IADsServiceOperations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -19153,7 +19153,7 @@ impl IADsServiceOperations { (::windows::core::Interface::vtable(self).base__.GetInfoEx)(::windows::core::Interface::as_raw(self), vproperties.into().abi(), lnreserved).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Start(&self) -> ::windows::core::Result<()> { @@ -19280,37 +19280,37 @@ impl IADsSession { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -19325,7 +19325,7 @@ impl IADsSession { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -19343,7 +19343,7 @@ impl IADsSession { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -19366,33 +19366,33 @@ impl IADsSession { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn User(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).User)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Computer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Computer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ComputerPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputerPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConnectTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IdleTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IdleTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19508,37 +19508,37 @@ impl IADsSyntax { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -19553,7 +19553,7 @@ impl IADsSyntax { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -19571,7 +19571,7 @@ impl IADsSyntax { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -19592,7 +19592,7 @@ impl IADsSyntax { (::windows::core::Interface::vtable(self).base__.GetInfoEx)(::windows::core::Interface::as_raw(self), vproperties.into().abi(), lnreserved).ok() } pub unsafe fn OleAutoDataType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OleAutoDataType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOleAutoDataType(&self, lnoleautodatatype: i32) -> ::windows::core::Result<()> { @@ -19693,14 +19693,14 @@ pub struct IADsTimestamp(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsTimestamp { pub unsafe fn WholeSeconds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WholeSeconds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWholeSeconds(&self, lnwholeseconds: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWholeSeconds)(::windows::core::Interface::as_raw(self), lnwholeseconds).ok() } pub unsafe fn EventID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventID(&self, lneventid: i32) -> ::windows::core::Result<()> { @@ -19787,7 +19787,7 @@ impl IADsTypedName { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ObjectName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19799,14 +19799,14 @@ impl IADsTypedName { (::windows::core::Interface::vtable(self).SetObjectName)(::windows::core::Interface::as_raw(self), bstrobjectname.into().abi()).ok() } pub unsafe fn Level(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Level)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLevel(&self, lnlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLevel)(::windows::core::Interface::as_raw(self), lnlevel).ok() } pub unsafe fn Interval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Interval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterval(&self, lninterval: i32) -> ::windows::core::Result<()> { @@ -19901,37 +19901,37 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GUID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Schema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Schema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfo(&self) -> ::windows::core::Result<()> { @@ -19946,7 +19946,7 @@ impl IADsUser { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -19964,7 +19964,7 @@ impl IADsUser { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEx)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -19987,33 +19987,33 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BadLoginAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BadLoginAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BadLoginCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BadLoginCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastLogin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastLogin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastLogoff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastLogoff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastFailedLogin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastFailedLogin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PasswordLastChanged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PasswordLastChanged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20027,7 +20027,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Division(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Division)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20041,7 +20041,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Department(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Department)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20055,7 +20055,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EmployeeID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EmployeeID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20069,7 +20069,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FullName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FullName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20083,7 +20083,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FirstName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirstName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20097,7 +20097,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20111,7 +20111,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OtherName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OtherName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20125,7 +20125,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20139,7 +20139,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NameSuffix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NameSuffix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20153,7 +20153,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20167,7 +20167,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Manager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Manager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20181,7 +20181,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn TelephoneHome(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TelephoneHome)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20195,7 +20195,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn TelephoneMobile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TelephoneMobile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20209,7 +20209,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn TelephoneNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TelephoneNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20223,7 +20223,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn TelephonePager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TelephonePager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20237,7 +20237,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn FaxNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FaxNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20251,7 +20251,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn OfficeLocations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OfficeLocations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20265,7 +20265,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PostalAddresses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PostalAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20279,7 +20279,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PostalCodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PostalCodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20293,7 +20293,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SeeAlso(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SeeAlso)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20305,35 +20305,35 @@ impl IADsUser { (::windows::core::Interface::vtable(self).SetSeeAlso)(::windows::core::Interface::as_raw(self), vseealso.into().abi()).ok() } pub unsafe fn AccountDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AccountDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAccountDisabled(&self, faccountdisabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAccountDisabled)(::windows::core::Interface::as_raw(self), faccountdisabled).ok() } pub unsafe fn AccountExpirationDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AccountExpirationDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAccountExpirationDate(&self, daaccountexpirationdate: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAccountExpirationDate)(::windows::core::Interface::as_raw(self), daaccountexpirationdate).ok() } pub unsafe fn GraceLoginsAllowed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GraceLoginsAllowed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGraceLoginsAllowed(&self, lngraceloginsallowed: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGraceLoginsAllowed)(::windows::core::Interface::as_raw(self), lngraceloginsallowed).ok() } pub unsafe fn GraceLoginsRemaining(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GraceLoginsRemaining)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGraceLoginsRemaining(&self, lngraceloginsremaining: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGraceLoginsRemaining)(::windows::core::Interface::as_raw(self), lngraceloginsremaining).ok() } pub unsafe fn IsAccountLocked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAccountLocked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsAccountLocked(&self, fisaccountlocked: i16) -> ::windows::core::Result<()> { @@ -20342,7 +20342,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LoginHours(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoginHours)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20356,7 +20356,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LoginWorkstations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoginWorkstations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20368,42 +20368,42 @@ impl IADsUser { (::windows::core::Interface::vtable(self).SetLoginWorkstations)(::windows::core::Interface::as_raw(self), vloginworkstations.into().abi()).ok() } pub unsafe fn MaxLogins(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxLogins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxLogins(&self, lnmaxlogins: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxLogins)(::windows::core::Interface::as_raw(self), lnmaxlogins).ok() } pub unsafe fn MaxStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxStorage(&self, lnmaxstorage: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxStorage)(::windows::core::Interface::as_raw(self), lnmaxstorage).ok() } pub unsafe fn PasswordExpirationDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PasswordExpirationDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPasswordExpirationDate(&self, dapasswordexpirationdate: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPasswordExpirationDate)(::windows::core::Interface::as_raw(self), dapasswordexpirationdate).ok() } pub unsafe fn PasswordMinimumLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PasswordMinimumLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPasswordMinimumLength(&self, lnpasswordminimumlength: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPasswordMinimumLength)(::windows::core::Interface::as_raw(self), lnpasswordminimumlength).ok() } pub unsafe fn PasswordRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PasswordRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPasswordRequired(&self, fpasswordrequired: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPasswordRequired)(::windows::core::Interface::as_raw(self), fpasswordrequired).ok() } pub unsafe fn RequireUniquePassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequireUniquePassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRequireUniquePassword(&self, frequireuniquepassword: i16) -> ::windows::core::Result<()> { @@ -20412,7 +20412,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EmailAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EmailAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20426,7 +20426,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HomeDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HomeDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20440,7 +20440,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20454,7 +20454,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20468,7 +20468,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LoginScript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoginScript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20482,7 +20482,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Picture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Picture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20496,7 +20496,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HomePage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HomePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20510,7 +20510,7 @@ impl IADsUser { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Groups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Groups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20908,25 +20908,25 @@ impl IADsWinNTSystemInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ComputerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DomainName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21075,7 +21075,7 @@ pub struct ICommonQuery_Vtbl { pub struct IDirectoryObject(::windows::core::IUnknown); impl IDirectoryObject { pub unsafe fn GetObjectInformation(&self) -> ::windows::core::Result<*mut ADS_OBJECT_INFO> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ADS_OBJECT_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut ADS_OBJECT_INFO>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21086,7 +21086,7 @@ impl IDirectoryObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetObjectAttributes(&self, pattributeentries: *const ADS_ATTR_INFO, dwnumattributes: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetObjectAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pattributeentries), dwnumattributes, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -21095,7 +21095,7 @@ impl IDirectoryObject { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDSObject)(::windows::core::Interface::as_raw(self), pszrdnname.into(), ::core::mem::transmute(pattributeentries), dwnumattributes, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteDSObject<'a, P0>(&self, pszrdnname: P0) -> ::windows::core::Result<()> @@ -21297,7 +21297,7 @@ impl IDirectorySearch { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecuteSearch)(::windows::core::Interface::as_raw(self), pszsearchfilter.into(), ::core::mem::transmute(pattributenames), dwnumberattributes, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AbandonSearch(&self, phsearchresult: isize) -> ::windows::core::Result<()> { @@ -21321,7 +21321,7 @@ impl IDirectorySearch { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumn)(::windows::core::Interface::as_raw(self), hsearchresult, szcolumnname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21412,7 +21412,7 @@ impl IDsAdminCreateObj { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateModal)(::windows::core::Interface::as_raw(self), hwndparent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22016,7 +22016,7 @@ impl IDsObjectPicker { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InvokeDialog)(::windows::core::Interface::as_raw(self), hwndparent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22078,7 +22078,7 @@ impl IDsObjectPickerCredentials { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InvokeDialog)(::windows::core::Interface::as_raw(self), hwndparent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCredentials<'a, P0, P1>(&self, szusername: P0, szpassword: P1) -> ::windows::core::Result<()> @@ -22154,7 +22154,7 @@ impl IPersistQuery { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn WriteString<'a, P0, P1, P2>(&self, psection: P0, pvaluename: P1, pvalue: P2) -> ::windows::core::Result<()> @@ -22286,17 +22286,17 @@ impl IPrivateDispatch { (::windows::core::Interface::vtable(self).ADSIInitializeDispatchManager)(::windows::core::Interface::as_raw(self), dwextensionid).ok() } pub unsafe fn ADSIGetTypeInfoCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ADSIGetTypeInfoCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ADSIGetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ADSIGetTypeInfo)(::windows::core::Interface::as_raw(self), itinfo, lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ADSIGetIDsOfNames(&self, riid: *const ::windows::core::GUID, rgsznames: *const *const u16, cnames: u32, lcid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ADSIGetIDsOfNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(rgsznames), cnames, lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] 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 fbb5268b56..077d4cddd4 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs @@ -1301,11 +1301,11 @@ impl IBITSExtensionSetup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCleanupTaskName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCleanupTaskName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCleanupTask(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCleanupTask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -1395,7 +1395,7 @@ impl IBITSExtensionSetupFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1810,19 +1810,19 @@ impl IBackgroundCopyError { (::windows::core::Interface::vtable(self).GetError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcontext), ::core::mem::transmute(pcode)).ok() } pub unsafe fn GetFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorDescription(&self, languageid: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorDescription)(::windows::core::Interface::as_raw(self), languageid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetErrorContextDescription(&self, languageid: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorContextDescription)(::windows::core::Interface::as_raw(self), languageid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetProtocol(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -1876,17 +1876,17 @@ pub struct IBackgroundCopyError_Vtbl { pub struct IBackgroundCopyFile(::windows::core::IUnknown); impl IBackgroundCopyFile { pub unsafe fn GetRemoteName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRemoteName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLocalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1941,17 +1941,17 @@ pub struct IBackgroundCopyFile_Vtbl { pub struct IBackgroundCopyFile2(::windows::core::IUnknown); impl IBackgroundCopyFile2 { pub unsafe fn GetRemoteName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRemoteName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLocalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLocalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileRanges(&self, rangecount: *mut u32, ranges: *mut *mut BG_FILE_RANGE) -> ::windows::core::Result<()> { @@ -2026,17 +2026,17 @@ pub struct IBackgroundCopyFile2_Vtbl { pub struct IBackgroundCopyFile3(::windows::core::IUnknown); impl IBackgroundCopyFile3 { pub unsafe fn GetRemoteName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRemoteName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLocalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLocalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileRanges(&self, rangecount: *mut u32, ranges: *mut *mut BG_FILE_RANGE) -> ::windows::core::Result<()> { @@ -2049,7 +2049,7 @@ impl IBackgroundCopyFile3 { (::windows::core::Interface::vtable(self).base__.SetRemoteName)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetTemporaryName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTemporaryName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2063,13 +2063,13 @@ impl IBackgroundCopyFile3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValidationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValidationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDownloadedFromPeer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDownloadedFromPeer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2161,17 +2161,17 @@ pub struct IBackgroundCopyFile3_Vtbl { pub struct IBackgroundCopyFile4(::windows::core::IUnknown); impl IBackgroundCopyFile4 { pub unsafe fn GetRemoteName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetRemoteName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLocalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetLocalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileRanges(&self, rangecount: *mut u32, ranges: *mut *mut BG_FILE_RANGE) -> ::windows::core::Result<()> { @@ -2184,7 +2184,7 @@ impl IBackgroundCopyFile4 { (::windows::core::Interface::vtable(self).base__.base__.SetRemoteName)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetTemporaryName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTemporaryName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2198,13 +2198,13 @@ impl IBackgroundCopyFile4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValidationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValidationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDownloadedFromPeer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsDownloadedFromPeer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPeerDownloadStats(&self, pfromorigin: *mut u64, pfrompeers: *mut u64) -> ::windows::core::Result<()> { @@ -2302,17 +2302,17 @@ pub struct IBackgroundCopyFile4_Vtbl { pub struct IBackgroundCopyFile5(::windows::core::IUnknown); impl IBackgroundCopyFile5 { pub unsafe fn GetRemoteName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetRemoteName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLocalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetLocalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileRanges(&self, rangecount: *mut u32, ranges: *mut *mut BG_FILE_RANGE) -> ::windows::core::Result<()> { @@ -2325,7 +2325,7 @@ impl IBackgroundCopyFile5 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetRemoteName)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetTemporaryName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTemporaryName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2339,13 +2339,13 @@ impl IBackgroundCopyFile5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValidationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetValidationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDownloadedFromPeer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsDownloadedFromPeer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPeerDownloadStats(&self, pfromorigin: *mut u64, pfrompeers: *mut u64) -> ::windows::core::Result<()> { @@ -2355,7 +2355,7 @@ impl IBackgroundCopyFile5 { (::windows::core::Interface::vtable(self).SetProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(propertyvalue)).ok() } pub unsafe fn GetProperty(&self, propertyid: BITS_FILE_PROPERTY_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2466,17 +2466,17 @@ pub struct IBackgroundCopyFile5_Vtbl { pub struct IBackgroundCopyFile6(::windows::core::IUnknown); impl IBackgroundCopyFile6 { pub unsafe fn GetRemoteName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetRemoteName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLocalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetLocalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileRanges(&self, rangecount: *mut u32, ranges: *mut *mut BG_FILE_RANGE) -> ::windows::core::Result<()> { @@ -2489,7 +2489,7 @@ impl IBackgroundCopyFile6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetRemoteName)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetTemporaryName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetTemporaryName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2503,13 +2503,13 @@ impl IBackgroundCopyFile6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValidationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetValidationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDownloadedFromPeer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsDownloadedFromPeer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPeerDownloadStats(&self, pfromorigin: *mut u64, pfrompeers: *mut u64) -> ::windows::core::Result<()> { @@ -2519,7 +2519,7 @@ impl IBackgroundCopyFile6 { (::windows::core::Interface::vtable(self).base__.SetProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(propertyvalue)).ok() } pub unsafe fn GetProperty(&self, propertyid: BITS_FILE_PROPERTY_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateDownloadPosition(&self, offset: u64) -> ::windows::core::Result<()> { @@ -2657,7 +2657,7 @@ impl IBackgroundCopyGroup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetProp(&self, propid: GROUPPROP) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProp)(::windows::core::Interface::as_raw(self), propid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2666,14 +2666,14 @@ impl IBackgroundCopyGroup { (::windows::core::Interface::vtable(self).SetProp)(::windows::core::Interface::as_raw(self), propid, ::core::mem::transmute(pvarval)).ok() } pub unsafe fn GetProgress(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgress)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self, pdwstatus: *mut u32, pdwjobindex: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwstatus), ::core::mem::transmute(pdwjobindex)).ok() } pub unsafe fn GetJob(&self, jobid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(jobid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SuspendGroup(&self) -> ::windows::core::Result<()> { @@ -2686,26 +2686,26 @@ impl IBackgroundCopyGroup { (::windows::core::Interface::vtable(self).CancelGroup)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GroupID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GroupID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn CreateJob(&self, guidjobid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateJob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidjobid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumJobs(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumJobs)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SwitchToForeground(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SwitchToForeground)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn QueryNewJobInterface(&self, iid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryNewJobInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(iid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetNotificationPointer<'a, P0>(&self, iid: *const ::windows::core::GUID, punk: P0) -> ::windows::core::Result<()> @@ -2791,7 +2791,7 @@ impl IBackgroundCopyJob { (::windows::core::Interface::vtable(self).AddFile)(::windows::core::Interface::as_raw(self), remoteurl.into(), localname.into()).ok() } pub unsafe fn EnumFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Suspend(&self) -> ::windows::core::Result<()> { @@ -2807,33 +2807,33 @@ impl IBackgroundCopyJob { (::windows::core::Interface::vtable(self).Complete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDisplayName<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -2843,7 +2843,7 @@ impl IBackgroundCopyJob { (::windows::core::Interface::vtable(self).SetDisplayName)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDescription<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -2853,21 +2853,21 @@ impl IBackgroundCopyJob { (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetPriority(&self, val: BG_JOB_PRIORITY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyFlags(&self, val: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNotifyFlags)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetNotifyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyInterface<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -2877,25 +2877,25 @@ impl IBackgroundCopyJob { (::windows::core::Interface::vtable(self).SetNotifyInterface)(::windows::core::Interface::as_raw(self), val.into().abi()).ok() } pub unsafe fn GetNotifyInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetMinimumRetryDelay(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetMinimumRetryDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNoProgressTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNoProgressTimeout)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetNoProgressTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNoProgressTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProxySettings<'a, P0, P1>(&self, proxyusage: BG_JOB_PROXY_USAGE, proxylist: P0, proxybypasslist: P1) -> ::windows::core::Result<()> @@ -2995,7 +2995,7 @@ impl IBackgroundCopyJob1 { (::windows::core::Interface::vtable(self).CancelJob)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetProgress(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgress)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self, pdwstatus: *mut u32, pdwwin32result: *mut u32, pdwtransportresult: *mut u32, pdwnumofretries: *mut u32) -> ::windows::core::Result<()> { @@ -3009,18 +3009,18 @@ impl IBackgroundCopyJob1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFile(&self, cfileindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFile)(::windows::core::Interface::as_raw(self), cfileindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SwitchToForeground(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SwitchToForeground)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn JobID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JobID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -3093,7 +3093,7 @@ impl IBackgroundCopyJob2 { (::windows::core::Interface::vtable(self).base__.AddFile)(::windows::core::Interface::as_raw(self), remoteurl.into(), localname.into()).ok() } pub unsafe fn EnumFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Suspend(&self) -> ::windows::core::Result<()> { @@ -3109,33 +3109,33 @@ impl IBackgroundCopyJob2 { (::windows::core::Interface::vtable(self).base__.Complete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTimes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDisplayName<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3145,7 +3145,7 @@ impl IBackgroundCopyJob2 { (::windows::core::Interface::vtable(self).base__.SetDisplayName)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDescription<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3155,21 +3155,21 @@ impl IBackgroundCopyJob2 { (::windows::core::Interface::vtable(self).base__.SetDescription)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetPriority(&self, val: BG_JOB_PRIORITY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPriority)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyFlags(&self, val: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetNotifyFlags)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetNotifyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNotifyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyInterface<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3179,25 +3179,25 @@ impl IBackgroundCopyJob2 { (::windows::core::Interface::vtable(self).base__.SetNotifyInterface)(::windows::core::Interface::as_raw(self), val.into().abi()).ok() } pub unsafe fn GetNotifyInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNotifyInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetMinimumRetryDelay(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetMinimumRetryDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNoProgressTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetNoProgressTimeout)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetNoProgressTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNoProgressTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetErrorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProxySettings<'a, P0, P1>(&self, proxyusage: BG_JOB_PROXY_USAGE, proxylist: P0, proxybypasslist: P1) -> ::windows::core::Result<()> @@ -3236,7 +3236,7 @@ impl IBackgroundCopyJob2 { (::windows::core::Interface::vtable(self).SetReplyFileName)(::windows::core::Interface::as_raw(self), replyfilename.into()).ok() } pub unsafe fn GetReplyFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReplyFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetCredentials(&self, credentials: *const BG_AUTH_CREDENTIALS) -> ::windows::core::Result<()> { @@ -3324,7 +3324,7 @@ impl IBackgroundCopyJob3 { (::windows::core::Interface::vtable(self).base__.base__.AddFile)(::windows::core::Interface::as_raw(self), remoteurl.into(), localname.into()).ok() } pub unsafe fn EnumFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Suspend(&self) -> ::windows::core::Result<()> { @@ -3340,33 +3340,33 @@ impl IBackgroundCopyJob3 { (::windows::core::Interface::vtable(self).base__.base__.Complete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTimes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDisplayName<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3376,7 +3376,7 @@ impl IBackgroundCopyJob3 { (::windows::core::Interface::vtable(self).base__.base__.SetDisplayName)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDescription<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3386,21 +3386,21 @@ impl IBackgroundCopyJob3 { (::windows::core::Interface::vtable(self).base__.base__.SetDescription)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetPriority(&self, val: BG_JOB_PRIORITY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPriority)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyFlags(&self, val: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetNotifyFlags)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetNotifyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNotifyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyInterface<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3410,25 +3410,25 @@ impl IBackgroundCopyJob3 { (::windows::core::Interface::vtable(self).base__.base__.SetNotifyInterface)(::windows::core::Interface::as_raw(self), val.into().abi()).ok() } pub unsafe fn GetNotifyInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNotifyInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetMinimumRetryDelay(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetMinimumRetryDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNoProgressTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetNoProgressTimeout)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetNoProgressTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNoProgressTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetErrorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProxySettings<'a, P0, P1>(&self, proxyusage: BG_JOB_PROXY_USAGE, proxylist: P0, proxybypasslist: P1) -> ::windows::core::Result<()> @@ -3467,7 +3467,7 @@ impl IBackgroundCopyJob3 { (::windows::core::Interface::vtable(self).base__.SetReplyFileName)(::windows::core::Interface::as_raw(self), replyfilename.into()).ok() } pub unsafe fn GetReplyFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetReplyFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetCredentials(&self, credentials: *const BG_AUTH_CREDENTIALS) -> ::windows::core::Result<()> { @@ -3494,7 +3494,7 @@ impl IBackgroundCopyJob3 { (::windows::core::Interface::vtable(self).SetFileACLFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetFileACLFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileACLFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3587,7 +3587,7 @@ impl IBackgroundCopyJob4 { (::windows::core::Interface::vtable(self).base__.base__.base__.AddFile)(::windows::core::Interface::as_raw(self), remoteurl.into(), localname.into()).ok() } pub unsafe fn EnumFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnumFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Suspend(&self) -> ::windows::core::Result<()> { @@ -3603,33 +3603,33 @@ impl IBackgroundCopyJob4 { (::windows::core::Interface::vtable(self).base__.base__.base__.Complete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetTimes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDisplayName<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3639,7 +3639,7 @@ impl IBackgroundCopyJob4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetDisplayName)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDescription<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3649,21 +3649,21 @@ impl IBackgroundCopyJob4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetDescription)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetPriority(&self, val: BG_JOB_PRIORITY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPriority)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyFlags(&self, val: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetNotifyFlags)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetNotifyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetNotifyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyInterface<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3673,25 +3673,25 @@ impl IBackgroundCopyJob4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetNotifyInterface)(::windows::core::Interface::as_raw(self), val.into().abi()).ok() } pub unsafe fn GetNotifyInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetNotifyInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetMinimumRetryDelay(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetMinimumRetryDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNoProgressTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetNoProgressTimeout)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetNoProgressTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetNoProgressTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetErrorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProxySettings<'a, P0, P1>(&self, proxyusage: BG_JOB_PROXY_USAGE, proxylist: P0, proxybypasslist: P1) -> ::windows::core::Result<()> @@ -3730,7 +3730,7 @@ impl IBackgroundCopyJob4 { (::windows::core::Interface::vtable(self).base__.base__.SetReplyFileName)(::windows::core::Interface::as_raw(self), replyfilename.into()).ok() } pub unsafe fn GetReplyFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetReplyFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetCredentials(&self, credentials: *const BG_AUTH_CREDENTIALS) -> ::windows::core::Result<()> { @@ -3757,31 +3757,31 @@ impl IBackgroundCopyJob4 { (::windows::core::Interface::vtable(self).base__.SetFileACLFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetFileACLFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileACLFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPeerCachingFlags(&self, flags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPeerCachingFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetPeerCachingFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPeerCachingFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOwnerIntegrityLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwnerIntegrityLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOwnerElevationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwnerElevationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumDownloadTime(&self, timeout: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaximumDownloadTime)(::windows::core::Interface::as_raw(self), timeout).ok() } pub unsafe fn GetMaximumDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3894,7 +3894,7 @@ impl IBackgroundCopyJob5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.AddFile)(::windows::core::Interface::as_raw(self), remoteurl.into(), localname.into()).ok() } pub unsafe fn EnumFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EnumFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Suspend(&self) -> ::windows::core::Result<()> { @@ -3910,33 +3910,33 @@ impl IBackgroundCopyJob5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Complete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTimes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetTimes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDisplayName<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3946,7 +3946,7 @@ impl IBackgroundCopyJob5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetDisplayName)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDescription<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3956,21 +3956,21 @@ impl IBackgroundCopyJob5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetDescription)(::windows::core::Interface::as_raw(self), val.into()).ok() } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetPriority(&self, val: BG_JOB_PRIORITY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPriority)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyFlags(&self, val: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetNotifyFlags)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn GetNotifyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetNotifyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyInterface<'a, P0>(&self, val: P0) -> ::windows::core::Result<()> @@ -3980,25 +3980,25 @@ impl IBackgroundCopyJob5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetNotifyInterface)(::windows::core::Interface::as_raw(self), val.into().abi()).ok() } pub unsafe fn GetNotifyInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetNotifyInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetMinimumRetryDelay(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetMinimumRetryDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetMinimumRetryDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNoProgressTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetNoProgressTimeout)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetNoProgressTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetNoProgressTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetErrorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProxySettings<'a, P0, P1>(&self, proxyusage: BG_JOB_PROXY_USAGE, proxylist: P0, proxybypasslist: P1) -> ::windows::core::Result<()> @@ -4037,7 +4037,7 @@ impl IBackgroundCopyJob5 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetReplyFileName)(::windows::core::Interface::as_raw(self), replyfilename.into()).ok() } pub unsafe fn GetReplyFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetReplyFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetCredentials(&self, credentials: *const BG_AUTH_CREDENTIALS) -> ::windows::core::Result<()> { @@ -4064,31 +4064,31 @@ impl IBackgroundCopyJob5 { (::windows::core::Interface::vtable(self).base__.base__.SetFileACLFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetFileACLFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFileACLFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPeerCachingFlags(&self, flags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPeerCachingFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetPeerCachingFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPeerCachingFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOwnerIntegrityLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOwnerIntegrityLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOwnerElevationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOwnerElevationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumDownloadTime(&self, timeout: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaximumDownloadTime)(::windows::core::Interface::as_raw(self), timeout).ok() } pub unsafe fn GetMaximumDownloadTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaximumDownloadTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4099,7 +4099,7 @@ impl IBackgroundCopyJob5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProperty(&self, propertyid: BITS_JOB_PROPERTY_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4241,14 +4241,14 @@ impl IBackgroundCopyJobHttpOptions { (::windows::core::Interface::vtable(self).SetCustomHeaders)(::windows::core::Interface::as_raw(self), requestheaders.into()).ok() } pub unsafe fn GetCustomHeaders(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetSecurityFlags(&self, flags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSecurityFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetSecurityFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4330,14 +4330,14 @@ impl IBackgroundCopyJobHttpOptions2 { (::windows::core::Interface::vtable(self).base__.SetCustomHeaders)(::windows::core::Interface::as_raw(self), requestheaders.into()).ok() } pub unsafe fn GetCustomHeaders(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCustomHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetSecurityFlags(&self, flags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSecurityFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetSecurityFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSecurityFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHttpMethod<'a, P0>(&self, method: P0) -> ::windows::core::Result<()> @@ -4347,7 +4347,7 @@ impl IBackgroundCopyJobHttpOptions2 { (::windows::core::Interface::vtable(self).SetHttpMethod)(::windows::core::Interface::as_raw(self), method.into()).ok() } pub unsafe fn GetHttpMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHttpMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4438,14 +4438,14 @@ impl IBackgroundCopyJobHttpOptions3 { (::windows::core::Interface::vtable(self).base__.base__.SetCustomHeaders)(::windows::core::Interface::as_raw(self), requestheaders.into()).ok() } pub unsafe fn GetCustomHeaders(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCustomHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetSecurityFlags(&self, flags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetSecurityFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetSecurityFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSecurityFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHttpMethod<'a, P0>(&self, method: P0) -> ::windows::core::Result<()> @@ -4455,7 +4455,7 @@ impl IBackgroundCopyJobHttpOptions3 { (::windows::core::Interface::vtable(self).base__.SetHttpMethod)(::windows::core::Interface::as_raw(self), method.into()).ok() } pub unsafe fn GetHttpMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHttpMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetServerCertificateValidationInterface<'a, P0>(&self, certvalidationcallback: P0) -> ::windows::core::Result<()> @@ -4551,15 +4551,15 @@ impl IBackgroundCopyManager { (::windows::core::Interface::vtable(self).CreateJob)(::windows::core::Interface::as_raw(self), displayname.into(), r#type, ::core::mem::transmute(pjobid), ::core::mem::transmute(ppjob)).ok() } pub unsafe fn GetJob(&self, jobid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(jobid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumJobs(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumJobs)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorDescription(&self, hresult: ::windows::core::HRESULT, languageid: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorDescription)(::windows::core::Interface::as_raw(self), hresult, languageid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4612,15 +4612,15 @@ pub struct IBackgroundCopyManager_Vtbl { pub struct IBackgroundCopyQMgr(::windows::core::IUnknown); impl IBackgroundCopyQMgr { pub unsafe fn CreateGroup(&self, guidgroupid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidgroupid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGroup(&self, groupid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(groupid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumGroups(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumGroups)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4725,19 +4725,19 @@ pub struct IBackgroundCopyServerCertificateValidationCallback_Vtbl { pub struct IBitsPeer(::windows::core::IUnknown); impl IBitsPeer { pub unsafe fn GetPeerName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPeerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsAuthenticated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAuthenticated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4795,32 +4795,32 @@ pub struct IBitsPeer_Vtbl { pub struct IBitsPeerCacheAdministration(::windows::core::IUnknown); impl IBitsPeerCacheAdministration { pub unsafe fn GetMaximumCacheSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumCacheSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumCacheSize(&self, bytes: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaximumCacheSize)(::windows::core::Interface::as_raw(self), bytes).ok() } pub unsafe fn GetMaximumContentAge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumContentAge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumContentAge(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaximumContentAge)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn GetConfigurationFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConfigurationFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConfigurationFlags(&self, flags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetConfigurationFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn EnumRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecord(&self, id: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecord)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClearRecords(&self) -> ::windows::core::Result<()> { @@ -4836,7 +4836,7 @@ impl IBitsPeerCacheAdministration { (::windows::core::Interface::vtable(self).DeleteUrl)(::windows::core::Interface::as_raw(self), url.into()).ok() } pub unsafe fn EnumPeers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumPeers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClearPeers(&self) -> ::windows::core::Result<()> { @@ -4905,27 +4905,27 @@ pub struct IBitsPeerCacheAdministration_Vtbl { pub struct IBitsPeerCacheRecord(::windows::core::IUnknown); impl IBitsPeerCacheRecord { pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetOriginUrl(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFileModificationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileModificationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastAccessTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastAccessTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFileValidated(&self) -> ::windows::core::Result<()> { @@ -4996,7 +4996,7 @@ impl IBitsTokenOptions { (::windows::core::Interface::vtable(self).SetHelperTokenFlags)(::windows::core::Interface::as_raw(self), usageflags).ok() } pub unsafe fn GetHelperTokenFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelperTokenFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHelperToken(&self) -> ::windows::core::Result<()> { @@ -5006,7 +5006,7 @@ impl IBitsTokenOptions { (::windows::core::Interface::vtable(self).ClearHelperToken)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetHelperTokenSid(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelperTokenSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -5069,11 +5069,11 @@ impl IEnumBackgroundCopyFiles { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5136,11 +5136,11 @@ impl IEnumBackgroundCopyGroups { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5203,11 +5203,11 @@ impl IEnumBackgroundCopyJobs { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5270,11 +5270,11 @@ impl IEnumBackgroundCopyJobs1 { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5337,11 +5337,11 @@ impl IEnumBitsPeerCacheRecords { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5404,11 +5404,11 @@ impl IEnumBitsPeers { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 a8c0489b4b..3f71339125 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -11209,7 +11209,7 @@ impl ISClusApplication { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DomainNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DomainNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11218,7 +11218,7 @@ impl ISClusApplication { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ClusterNames)(::windows::core::Interface::as_raw(self), bstrdomainname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11227,7 +11227,7 @@ impl ISClusApplication { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenCluster)(::windows::core::Interface::as_raw(self), bstrclustername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11317,11 +11317,11 @@ pub struct ISClusCryptoKeys(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusCryptoKeys { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -11333,7 +11333,7 @@ impl ISClusCryptoKeys { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11442,23 +11442,23 @@ pub struct ISClusDisk(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusDisk { pub unsafe fn Signature(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Signature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ScsiAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScsiAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DiskNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiskNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Partitions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Partitions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11546,11 +11546,11 @@ pub struct ISClusDisks(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusDisks { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11559,7 +11559,7 @@ impl ISClusDisks { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11645,45 +11645,45 @@ impl ISClusNetInterface { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cluster)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11787,11 +11787,11 @@ pub struct ISClusNetInterfaces(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNetInterfaces { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -11803,7 +11803,7 @@ impl ISClusNetInterfaces { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11890,35 +11890,35 @@ impl ISClusNetwork { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11932,23 +11932,23 @@ impl ISClusNetwork { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NetInterfaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cluster)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12064,11 +12064,11 @@ pub struct ISClusNetworkNetInterfaces(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNetworkNetInterfaces { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -12080,7 +12080,7 @@ impl ISClusNetworkNetInterfaces { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12165,11 +12165,11 @@ pub struct ISClusNetworks(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNetworks { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -12181,7 +12181,7 @@ impl ISClusNetworks { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12268,45 +12268,45 @@ impl ISClusNode { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NodeID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NodeID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -12321,19 +12321,19 @@ impl ISClusNode { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResourceGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResourceGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cluster)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NetInterfaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12452,11 +12452,11 @@ pub struct ISClusNodeNetInterfaces(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNodeNetInterfaces { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -12468,7 +12468,7 @@ impl ISClusNodeNetInterfaces { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12553,11 +12553,11 @@ pub struct ISClusNodes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNodes { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -12569,7 +12569,7 @@ impl ISClusNodes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12654,37 +12654,37 @@ pub struct ISClusPartition(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPartition { pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeLabel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeLabel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SerialNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SerialNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaximumComponentLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaximumComponentLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FileSystemFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileSystemFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12778,59 +12778,59 @@ pub struct ISClusPartitionEx(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPartitionEx { pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeviceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeLabel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VolumeLabel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SerialNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SerialNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaximumComponentLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaximumComponentLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FileSystemFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileSystemFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FreeSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PartitionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PartitionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12934,11 +12934,11 @@ pub struct ISClusPartitions(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPartitions { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12947,7 +12947,7 @@ impl ISClusPartitions { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13031,11 +13031,11 @@ pub struct ISClusProperties(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusProperties { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -13047,7 +13047,7 @@ impl ISClusProperties { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13057,7 +13057,7 @@ impl ISClusProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), varvalue.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13071,31 +13071,31 @@ impl ISClusProperties { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SaveChanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveChanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Private(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Private)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Common(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Common)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13210,27 +13210,27 @@ impl ISClusProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ValueCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValueCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Values(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Values)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13242,14 +13242,14 @@ impl ISClusProperty { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), varvalue.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, r#type: CLUSTER_PROPERTY_TYPE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetType)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn Format(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Format)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFormat(&self, format: CLUSTER_PROPERTY_FORMAT) -> ::windows::core::Result<()> { @@ -13258,25 +13258,25 @@ impl ISClusProperty { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Private(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Private)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Common(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Common)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UseDefaultValue(&self) -> ::windows::core::Result<()> { @@ -13398,7 +13398,7 @@ impl ISClusPropertyValue { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13410,31 +13410,31 @@ impl ISClusPropertyValue { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), varvalue.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, r#type: CLUSTER_PROPERTY_TYPE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetType)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn Format(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Format)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFormat(&self, format: CLUSTER_PROPERTY_FORMAT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFormat)(::windows::core::Interface::as_raw(self), format).ok() } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13530,11 +13530,11 @@ pub struct ISClusPropertyValueData(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValueData { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13543,7 +13543,7 @@ impl ISClusPropertyValueData { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13552,7 +13552,7 @@ impl ISClusPropertyValueData { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), varvalue.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13652,11 +13652,11 @@ pub struct ISClusPropertyValues(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValues { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13665,7 +13665,7 @@ impl ISClusPropertyValues { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13675,7 +13675,7 @@ impl ISClusPropertyValues { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), varvalue.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13775,7 +13775,7 @@ pub struct ISClusRefObject(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusRefObject { pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13854,11 +13854,11 @@ pub struct ISClusRegistryKeys(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusRegistryKeys { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -13870,7 +13870,7 @@ impl ISClusRegistryKeys { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13979,11 +13979,11 @@ pub struct ISClusResDependencies(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResDependencies { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -13995,7 +13995,7 @@ impl ISClusResDependencies { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14005,7 +14005,7 @@ impl ISClusResDependencies { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), bstrresourcename.into().abi(), bstrresourcetype.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14130,11 +14130,11 @@ pub struct ISClusResDependents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResDependents { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -14146,7 +14146,7 @@ impl ISClusResDependents { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14156,7 +14156,7 @@ impl ISClusResDependents { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), bstrresourcename.into().abi(), bstrresourcetype.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14283,35 +14283,35 @@ impl ISClusResGroup { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14323,25 +14323,25 @@ impl ISClusResGroup { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi()).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OwnerNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OwnerNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Resources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Resources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PreferredOwnerNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredOwnerNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -14354,7 +14354,7 @@ impl ISClusResGroup { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Online)(::windows::core::Interface::as_raw(self), vartimeout.into().abi(), varnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14364,7 +14364,7 @@ impl ISClusResGroup { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Move)(::windows::core::Interface::as_raw(self), vartimeout.into().abi(), varnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14373,13 +14373,13 @@ impl ISClusResGroup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Offline)(::windows::core::Interface::as_raw(self), vartimeout.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cluster)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14512,11 +14512,11 @@ pub struct ISClusResGroupPreferredOwnerNodes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResGroupPreferredOwnerNodes { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -14528,7 +14528,7 @@ impl ISClusResGroupPreferredOwnerNodes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14550,7 +14550,7 @@ impl ISClusResGroupPreferredOwnerNodes { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveChanges(&self) -> ::windows::core::Result<()> { @@ -14663,11 +14663,11 @@ pub struct ISClusResGroupResources(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResGroupResources { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -14679,7 +14679,7 @@ impl ISClusResGroupResources { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14689,7 +14689,7 @@ impl ISClusResGroupResources { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), bstrresourcename.into().abi(), bstrresourcetype.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14790,11 +14790,11 @@ pub struct ISClusResGroups(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResGroups { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -14806,7 +14806,7 @@ impl ISClusResGroups { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14815,7 +14815,7 @@ impl ISClusResGroups { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), bstrresourcegroupname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14916,11 +14916,11 @@ pub struct ISClusResPossibleOwnerNodes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResPossibleOwnerNodes { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -14932,7 +14932,7 @@ impl ISClusResPossibleOwnerNodes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14954,7 +14954,7 @@ impl ISClusResPossibleOwnerNodes { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15053,31 +15053,31 @@ impl ISClusResType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -15086,25 +15086,25 @@ impl ISClusResType { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cluster)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Resources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Resources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PossibleOwnerNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PossibleOwnerNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AvailableDisks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AvailableDisks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15219,11 +15219,11 @@ pub struct ISClusResTypePossibleOwnerNodes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResTypePossibleOwnerNodes { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -15235,7 +15235,7 @@ impl ISClusResTypePossibleOwnerNodes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15320,11 +15320,11 @@ pub struct ISClusResTypeResources(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResTypeResources { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -15336,7 +15336,7 @@ impl ISClusResTypeResources { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -15346,7 +15346,7 @@ impl ISClusResTypeResources { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), bstrresourcename.into().abi(), bstrgroupname.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15447,11 +15447,11 @@ pub struct ISClusResTypes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResTypes { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -15463,7 +15463,7 @@ impl ISClusResTypes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -15474,7 +15474,7 @@ impl ISClusResTypes { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), bstrresourcetypename.into().abi(), bstrdisplayname.into().abi(), bstrresourcetypedll.into().abi(), dwlooksalivepollinterval, dwisalivepollinterval, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15577,35 +15577,35 @@ impl ISClusResource { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15617,11 +15617,11 @@ impl ISClusResource { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), bstrresourcename.into().abi()).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CoreFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoreFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15641,13 +15641,13 @@ impl ISClusResource { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Online(&self, ntimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Online)(::windows::core::Interface::as_raw(self), ntimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Offline(&self, ntimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Offline)(::windows::core::Interface::as_raw(self), ntimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15680,83 +15680,83 @@ impl ISClusResource { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISClusResource>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanResourceBeDependent)(::windows::core::Interface::as_raw(self), presource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PossibleOwnerNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PossibleOwnerNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Dependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Dependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Dependents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Dependents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Group(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Group)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OwnerNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OwnerNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cluster)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClassInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Disk(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Disk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RegistryKeys(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegistryKeys)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptoKeys(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CryptoKeys)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TypeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TypeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaintenanceMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaintenanceMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15952,11 +15952,11 @@ pub struct ISClusResources(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResources { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -15968,7 +15968,7 @@ impl ISClusResources { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -15979,7 +15979,7 @@ impl ISClusResources { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateItem)(::windows::core::Interface::as_raw(self), bstrresourcename.into().abi(), bstrresourcetype.into().abi(), bstrgroupname.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -16082,25 +16082,25 @@ impl ISClusScsiAddress { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PortNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PortNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PathId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn TargetId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Lun(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Lun)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16196,49 +16196,49 @@ impl ISClusVersion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BuildNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VendorId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VendorId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSDVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSDVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClusterHighestVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClusterHighestVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClusterLowestVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClusterLowestVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MixedVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MixedVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16340,29 +16340,29 @@ impl ISCluster { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateROProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16376,7 +16376,7 @@ impl ISCluster { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16390,7 +16390,7 @@ impl ISCluster { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -16404,11 +16404,11 @@ impl ISCluster { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QuorumResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuorumResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QuorumLogSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuorumLogSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuorumLogSize(&self, nlogsize: i32) -> ::windows::core::Result<()> { @@ -16417,7 +16417,7 @@ impl ISCluster { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QuorumPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuorumPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16431,37 +16431,37 @@ impl ISCluster { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Nodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Nodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResourceGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResourceGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Resources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Resources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResourceTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResourceTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Networks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Networks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NetInterfaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16614,11 +16614,11 @@ pub struct ISClusterNames(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusterNames { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -16630,13 +16630,13 @@ impl ISClusterNames { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DomainName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16725,11 +16725,11 @@ pub struct ISDomainNames(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISDomainNames { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -16741,7 +16741,7 @@ impl ISDomainNames { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), varindex.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 b4799f137d..198bf0e5b9 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs @@ -7,7 +7,7 @@ impl IEnumNetworkConnections { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24,7 +24,7 @@ impl IEnumNetworkConnections { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -118,7 +118,7 @@ impl IEnumNetworks { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -135,7 +135,7 @@ impl IEnumNetworks { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -229,7 +229,7 @@ impl INetwork { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -243,7 +243,7 @@ impl INetwork { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -255,36 +255,36 @@ impl INetwork { (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), szdescription.into().abi()).ok() } pub unsafe fn GetNetworkId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetDomainType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDomainType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetworkConnections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkConnections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTimeCreatedAndConnected(&self, pdwlowdatetimecreated: *mut u32, pdwhighdatetimecreated: *mut u32, pdwlowdatetimeconnected: *mut u32, pdwhighdatetimeconnected: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetTimeCreatedAndConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwlowdatetimecreated), ::core::mem::transmute(pdwhighdatetimecreated), ::core::mem::transmute(pdwlowdatetimeconnected), ::core::mem::transmute(pdwhighdatetimeconnected)).ok() } pub unsafe fn IsConnectedToInternet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnectedToInternet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnectivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCategory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCategory(&self, newcategory: NLM_NETWORK_CATEGORY) -> ::windows::core::Result<()> { @@ -395,31 +395,31 @@ impl INetworkConnection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetwork(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetwork)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsConnectedToInternet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnectedToInternet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnectivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnectionId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetAdapterId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdapterId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetDomainType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDomainType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -505,13 +505,13 @@ pub struct INetworkConnection_Vtbl { pub struct INetworkConnectionCost(::windows::core::IUnknown); impl INetworkConnectionCost { pub unsafe fn GetCost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDataPlanStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataPlanStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -851,37 +851,37 @@ impl INetworkListManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetworks(&self, flags: NLM_ENUM_NETWORK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworks)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetwork(&self, gdnetworkid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetwork)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(gdnetworkid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetworkConnections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkConnections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetworkConnection(&self, gdnetworkconnectionid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(gdnetworkconnectionid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsConnectedToInternet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnectedToInternet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnectivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSimulatedProfileInfo(&self, psimulatedinfo: *const NLM_SIMULATED_PROFILE_INFO) -> ::windows::core::Result<()> { 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 9413b0d9e4..2d220cd767 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs @@ -62,7 +62,7 @@ impl ::core::fmt::Debug for GeneratorParametersType { pub struct IFindSimilarResults(::windows::core::IUnknown); impl IFindSimilarResults { pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextFileId(&self, numtraitsmatched: *mut u32, similarityfileid: *mut SimilarityFileId) -> ::windows::core::Result<()> { @@ -173,7 +173,7 @@ pub struct IRdcComparator_Vtbl { pub struct IRdcFileReader(::windows::core::IUnknown); impl IRdcFileReader { pub unsafe fn GetFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -182,7 +182,7 @@ impl IRdcFileReader { (::windows::core::Interface::vtable(self).Read)(::windows::core::Interface::as_raw(self), offsetfilestart, bytestoread, ::core::mem::transmute(bytesactuallyread), ::core::mem::transmute(buffer), ::core::mem::transmute(eof)).ok() } pub unsafe fn GetFilePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -237,7 +237,7 @@ pub struct IRdcFileReader_Vtbl { pub struct IRdcFileWriter(::windows::core::IUnknown); impl IRdcFileWriter { pub unsafe fn GetFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -246,11 +246,11 @@ impl IRdcFileWriter { (::windows::core::Interface::vtable(self).base__.Read)(::windows::core::Interface::as_raw(self), offsetfilestart, bytestoread, ::core::mem::transmute(bytesactuallyread), ::core::mem::transmute(buffer), ::core::mem::transmute(eof)).ok() } pub unsafe fn GetFilePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFilePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Write(&self, offsetfilestart: u64, bytestowrite: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Write)(::windows::core::Interface::as_raw(self), offsetfilestart, bytestowrite, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Truncate(&self) -> ::windows::core::Result<()> { @@ -323,7 +323,7 @@ pub struct IRdcFileWriter_Vtbl { pub struct IRdcGenerator(::windows::core::IUnknown); impl IRdcGenerator { pub unsafe fn GetGeneratorParameters(&self, level: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGeneratorParameters)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -385,14 +385,14 @@ pub struct IRdcGenerator_Vtbl { pub struct IRdcGeneratorFilterMaxParameters(::windows::core::IUnknown); impl IRdcGeneratorFilterMaxParameters { pub unsafe fn GetHorizonSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHorizonSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHorizonSize(&self, horizonsize: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHorizonSize)(::windows::core::Interface::as_raw(self), horizonsize).ok() } pub unsafe fn GetHashWindowSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHashWindowSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHashWindowSize(&self, hashwindowsize: u32) -> ::windows::core::Result<()> { @@ -448,14 +448,14 @@ pub struct IRdcGeneratorFilterMaxParameters_Vtbl { pub struct IRdcGeneratorParameters(::windows::core::IUnknown); impl IRdcGeneratorParameters { pub unsafe fn GetGeneratorParametersType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGeneratorParametersType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParametersVersion(&self, currentversion: *mut u32, minimumcompatibleappversion: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetParametersVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(currentversion), ::core::mem::transmute(minimumcompatibleappversion)).ok() } pub unsafe fn GetSerializeSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSerializeSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Serialize(&self, size: u32, parametersblob: *mut u8, byteswritten: *mut u32) -> ::windows::core::Result<()> { @@ -511,33 +511,33 @@ pub struct IRdcGeneratorParameters_Vtbl { pub struct IRdcLibrary(::windows::core::IUnknown); impl IRdcLibrary { pub unsafe fn ComputeDefaultRecursionDepth(&self, filesize: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputeDefaultRecursionDepth)(::windows::core::Interface::as_raw(self), filesize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeneratorParameters(&self, parameterstype: GeneratorParametersType, level: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGeneratorParameters)(::windows::core::Interface::as_raw(self), parameterstype, level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenGeneratorParameters(&self, size: u32, parametersblob: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenGeneratorParameters)(::windows::core::Interface::as_raw(self), size, ::core::mem::transmute(parametersblob), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGenerator(&self, igeneratorparametersarray: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGenerator)(::windows::core::Interface::as_raw(self), igeneratorparametersarray.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(igeneratorparametersarray)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateComparator<'a, P0>(&self, iseedsignaturesfile: P0, comparatorbuffersize: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IRdcFileReader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateComparator)(::windows::core::Interface::as_raw(self), iseedsignaturesfile.into().abi(), comparatorbuffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSignatureReader<'a, P0>(&self, ifilereader: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IRdcFileReader>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSignatureReader)(::windows::core::Interface::as_raw(self), ifilereader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRDCVersion(&self, currentversion: *mut u32, minimumcompatibleappversion: *mut u32) -> ::windows::core::Result<()> { @@ -596,7 +596,7 @@ pub struct IRdcLibrary_Vtbl { pub struct IRdcSignatureReader(::windows::core::IUnknown); impl IRdcSignatureReader { pub unsafe fn ReadHeader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadHeader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -658,7 +658,7 @@ impl IRdcSimilarityGenerator { (::windows::core::Interface::vtable(self).EnableSimilarity)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Results(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Results)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -715,7 +715,7 @@ impl ISimilarity { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTable)(::windows::core::Interface::as_raw(self), path.into(), truncate.into(), ::core::mem::transmute(securitydescriptor), recordsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -726,7 +726,7 @@ impl ISimilarity { P1: ::std::convert::Into<::windows::core::InParam<'a, IRdcFileWriter>>, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTableIndirect)(::windows::core::Interface::as_raw(self), mapping.into().abi(), fileidfile.into().abi(), truncate.into(), recordsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -741,7 +741,7 @@ impl ISimilarity { (::windows::core::Interface::vtable(self).Append)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(similarityfileid), ::core::mem::transmute(similaritydata)).ok() } pub unsafe fn FindSimilarFileId(&self, similaritydata: *const SimilarityData, numberofmatchesrequired: u16, resultssize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindSimilarFileId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(similaritydata), numberofmatchesrequired, resultssize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyAndSwap<'a, P0, P1>(&self, newsimilaritytables: P0, reportprogress: P1) -> ::windows::core::Result<()> @@ -752,7 +752,7 @@ impl ISimilarity { (::windows::core::Interface::vtable(self).CopyAndSwap)(::windows::core::Interface::as_raw(self), newsimilaritytables.into().abi(), reportprogress.into().abi()).ok() } pub unsafe fn GetRecordCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -823,7 +823,7 @@ impl ISimilarityFileIdTable { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTable)(::windows::core::Interface::as_raw(self), path.into(), truncate.into(), ::core::mem::transmute(securitydescriptor), recordsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -833,7 +833,7 @@ impl ISimilarityFileIdTable { P0: ::std::convert::Into<::windows::core::InParam<'a, IRdcFileWriter>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTableIndirect)(::windows::core::Interface::as_raw(self), fileidfile.into().abi(), truncate.into(), recordsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -845,18 +845,18 @@ impl ISimilarityFileIdTable { (::windows::core::Interface::vtable(self).CloseTable)(::windows::core::Interface::as_raw(self), isvalid.into()).ok() } pub unsafe fn Append(&self, similarityfileid: *const SimilarityFileId) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Append)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(similarityfileid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Lookup(&self, similarityfileindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Lookup)(::windows::core::Interface::as_raw(self), similarityfileindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Invalidate(&self, similarityfileindex: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Invalidate)(::windows::core::Interface::as_raw(self), similarityfileindex).ok() } pub unsafe fn GetRecordCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1035,7 +1035,7 @@ impl ISimilarityTraitsMappedView { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Get)(::windows::core::Interface::as_raw(self), index, dirty.into(), numelements, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetView(&self, mappedpagebegin: *mut *mut u8, mappedpageend: *mut *mut u8) { @@ -1100,22 +1100,22 @@ impl ISimilarityTraitsMapping { (::windows::core::Interface::vtable(self).SetFileSize)(::windows::core::Interface::as_raw(self), filesize).ok() } pub unsafe fn GetFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenMapping(&self, accessmode: RdcMappingAccessMode, begin: u64, end: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenMapping)(::windows::core::Interface::as_raw(self), accessmode, begin, end, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResizeMapping(&self, accessmode: RdcMappingAccessMode, begin: u64, end: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResizeMapping)(::windows::core::Interface::as_raw(self), accessmode, begin, end, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageSize(&self, pagesize: *mut u32) { (::windows::core::Interface::vtable(self).GetPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pagesize)) } pub unsafe fn CreateView(&self, minimummappedpages: u32, accessmode: RdcMappingAccessMode) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateView)(::windows::core::Interface::as_raw(self), minimummappedpages, accessmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1177,7 +1177,7 @@ impl ISimilarityTraitsTable { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTable)(::windows::core::Interface::as_raw(self), path.into(), truncate.into(), ::core::mem::transmute(securitydescriptor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1187,7 +1187,7 @@ impl ISimilarityTraitsTable { P0: ::std::convert::Into<::windows::core::InParam<'a, ISimilarityTraitsMapping>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTableIndirect)(::windows::core::Interface::as_raw(self), mapping.into().abi(), truncate.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1205,11 +1205,11 @@ impl ISimilarityTraitsTable { (::windows::core::Interface::vtable(self).FindSimilarFileIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(similaritydata), numberofmatchesrequired, ::core::mem::transmute(findsimilarfileindexresults), resultssize, ::core::mem::transmute(resultsused)).ok() } pub unsafe fn BeginDump(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginDump)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs index 65692e6120..323b4d4568 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs @@ -425,7 +425,7 @@ pub unsafe fn WebSocketCreateClientHandle(pproperties: &[WEB_SOCKET_PROPERTY]) - extern "system" { fn WebSocketCreateClientHandle(pproperties: *const WEB_SOCKET_PROPERTY, ulpropertycount: u32, phwebsocket: *mut WEB_SOCKET_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WebSocketCreateClientHandle(::core::mem::transmute(::windows::core::as_ptr_or_null(pproperties)), pproperties.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] @@ -435,7 +435,7 @@ pub unsafe fn WebSocketCreateServerHandle(pproperties: &[WEB_SOCKET_PROPERTY]) - extern "system" { fn WebSocketCreateServerHandle(pproperties: *const WEB_SOCKET_PROPERTY, ulpropertycount: u32, phwebsocket: *mut WEB_SOCKET_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WebSocketCreateServerHandle(::core::mem::transmute(::windows::core::as_ptr_or_null(pproperties)), pproperties.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] 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 7328801572..fdf8ce1d87 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -4241,7 +4241,7 @@ impl IDialBranding { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmap(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitmap)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4322,11 +4322,11 @@ impl IDialEngine { (::windows::core::Interface::vtable(self).HangUp)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetConnectedState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectedState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnectHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 33d57eb2e6..9c1c2de4f9 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -12,7 +12,7 @@ impl IContentPrefetcherTaskTrigger { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRegisteredForContentPrefetch)(::windows::core::Interface::as_raw(self), packagefullname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14106,7 +14106,7 @@ where extern "system" { fn WebAuthNAuthenticatorGetAssertion(hwnd: super::super::Foundation::HWND, pwszrpid: ::windows::core::PCWSTR, pwebauthnclientdata: *const WEBAUTHN_CLIENT_DATA, pwebauthngetassertionoptions: *const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS, ppwebauthnassertion: *mut *mut WEBAUTHN_ASSERTION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut WEBAUTHN_ASSERTION>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WebAuthNAuthenticatorGetAssertion(hwnd.into(), pwszrpid.into(), ::core::mem::transmute(pwebauthnclientdata), ::core::mem::transmute(pwebauthngetassertionoptions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WEBAUTHN_ASSERTION>(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] @@ -14120,7 +14120,7 @@ where extern "system" { fn WebAuthNAuthenticatorMakeCredential(hwnd: super::super::Foundation::HWND, prpinformation: *const WEBAUTHN_RP_ENTITY_INFORMATION, puserinformation: *const WEBAUTHN_USER_ENTITY_INFORMATION, ppubkeycredparams: *const WEBAUTHN_COSE_CREDENTIAL_PARAMETERS, pwebauthnclientdata: *const WEBAUTHN_CLIENT_DATA, pwebauthnmakecredentialoptions: *const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS, ppwebauthncredentialattestation: *mut *mut WEBAUTHN_CREDENTIAL_ATTESTATION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut WEBAUTHN_CREDENTIAL_ATTESTATION>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WebAuthNAuthenticatorMakeCredential(hwnd.into(), ::core::mem::transmute(prpinformation), ::core::mem::transmute(puserinformation), ::core::mem::transmute(ppubkeycredparams), ::core::mem::transmute(pwebauthnclientdata), ::core::mem::transmute(pwebauthnmakecredentialoptions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WEBAUTHN_CREDENTIAL_ATTESTATION>(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] @@ -14167,7 +14167,7 @@ pub unsafe fn WebAuthNGetCancellationId() -> ::windows::core::Result<::windows:: extern "system" { fn WebAuthNGetCancellationId(pcancellationid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WebAuthNGetCancellationId(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] @@ -14196,7 +14196,7 @@ pub unsafe fn WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable() -> ::windo extern "system" { fn WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable(pbisuserverifyingplatformauthenticatoravailable: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] @@ -14425,7 +14425,7 @@ pub unsafe fn WsCreateError(properties: &[WS_ERROR_PROPERTY]) -> ::windows::core extern "system" { fn WsCreateError(properties: *const WS_ERROR_PROPERTY, propertycount: u32, error: *mut *mut WS_ERROR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut WS_ERROR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WsCreateError(::core::mem::transmute(::windows::core::as_ptr_or_null(properties)), properties.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut WS_ERROR>(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] @@ -14436,7 +14436,7 @@ pub unsafe fn WsCreateFaultFromError(error: *const WS_ERROR, faulterrorcode: ::w extern "system" { fn WsCreateFaultFromError(error: *const WS_ERROR, faulterrorcode: ::windows::core::HRESULT, faultdisclosure: WS_FAULT_DISCLOSURE, heap: *const WS_HEAP, fault: *mut WS_FAULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WsCreateFaultFromError(::core::mem::transmute(error), faulterrorcode, faultdisclosure, ::core::mem::transmute(heap), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] @@ -14807,7 +14807,7 @@ pub unsafe fn WsGetErrorString(error: *const WS_ERROR, index: u32) -> ::windows: extern "system" { fn WsGetErrorString(error: *const WS_ERROR, index: u32, string: *mut WS_STRING) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WsGetErrorString(::core::mem::transmute(error), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] 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 aac6c9a2c1..f5862c454a 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 @@ -42,7 +42,7 @@ impl AsyncIAssociatedIdentityProvider { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Finish_AssociateIdentity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_AssociateIdentity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -150,7 +150,7 @@ impl AsyncIConnectedIdentityProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Finish_IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -170,7 +170,7 @@ impl AsyncIConnectedIdentityProvider { (::windows::core::Interface::vtable(self).Begin_GetAccountState)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Finish_GetAccountState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_GetAccountState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -372,7 +372,7 @@ impl AsyncIIdentityProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Finish_GetIdentityEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_GetIdentityEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -386,7 +386,7 @@ impl AsyncIIdentityProvider { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Finish_Create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_Create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -420,7 +420,7 @@ impl AsyncIIdentityProvider { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Finish_FindByUniqueID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_FindByUniqueID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Begin_GetProviderPropertyStore(&self) -> ::windows::core::Result<()> { @@ -429,7 +429,7 @@ impl AsyncIIdentityProvider { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Finish_GetProviderPropertyStore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_GetProviderPropertyStore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Begin_Advise<'a, P0>(&self, pidentityadvise: P0, dwidentityupdateevents: u32) -> ::windows::core::Result<()> @@ -439,7 +439,7 @@ impl AsyncIIdentityProvider { (::windows::core::Interface::vtable(self).Begin_Advise)(::windows::core::Interface::as_raw(self), pidentityadvise.into().abi(), dwidentityupdateevents).ok() } pub unsafe fn Finish_Advise(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_Advise)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Begin_UnAdvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -537,7 +537,7 @@ impl AsyncIIdentityStore { (::windows::core::Interface::vtable(self).Begin_GetCount)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Finish_GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Begin_GetAt(&self, dwprovider: u32, pprovguid: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -572,7 +572,7 @@ impl AsyncIIdentityStore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Finish_EnumerateIdentities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_EnumerateIdentities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Begin_Reset(&self) -> ::windows::core::Result<()> { @@ -720,7 +720,7 @@ impl IAssociatedIdentityProvider { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssociateIdentity)(::windows::core::Interface::as_raw(self), hwndparent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -807,7 +807,7 @@ impl IConnectedIdentityProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -819,7 +819,7 @@ impl IConnectedIdentityProvider { (::windows::core::Interface::vtable(self).GetUrl)(::windows::core::Interface::as_raw(self), identifier, context.into().abi(), ::core::mem::transmute(postdata), ::core::mem::transmute(url)).ok() } pub unsafe fn GetAccountState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccountState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1063,7 +1063,7 @@ impl IIdentityProvider { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetIdentityEnum(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIdentityEnum)(::windows::core::Interface::as_raw(self), eidentitytype, ::core::mem::transmute(pfilterkey), ::core::mem::transmute(pfilterpropvarvalue), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1096,20 +1096,20 @@ impl IIdentityProvider { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindByUniqueID)(::windows::core::Interface::as_raw(self), lpszuniqueid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProviderPropertyStore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderPropertyStore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Advise<'a, P0>(&self, pidentityadvise: P0, dwidentityupdateevents: IdentityUpdateEvent) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IIdentityAdvise>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), pidentityadvise.into().abi(), dwidentityupdateevents, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnAdvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -1187,7 +1187,7 @@ pub struct IIdentityProvider_Vtbl { pub struct IIdentityStore(::windows::core::IUnknown); impl IIdentityStore { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, dwprovider: u32, pprovguid: *mut ::windows::core::GUID, ppidentityprovider: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> { @@ -1208,7 +1208,7 @@ impl IIdentityStore { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn EnumerateIdentities(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const super::super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateIdentities)(::windows::core::Interface::as_raw(self), eidentitytype, ::core::mem::transmute(pfilterkey), ::core::mem::transmute(pfilterpropvarvalue), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { 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 e414a92cc9..c1f7a0c30d 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 @@ -299,7 +299,7 @@ where extern "system" { fn AddCredentialsA(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows::core::PCSTR, pszpackage: ::windows::core::PCSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: *mut ::core::ffi::c_void, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AddCredentialsA(::core::mem::transmute(hcredentials), pszprincipal.into(), pszpackage.into(), fcredentialuse, ::core::mem::transmute(pauthdata), ::core::mem::transmute(pgetkeyfn), ::core::mem::transmute(pvgetkeyargument), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] @@ -314,7 +314,7 @@ where extern "system" { fn AddCredentialsW(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows::core::PCWSTR, pszpackage: ::windows::core::PCWSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: *mut ::core::ffi::c_void, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AddCredentialsW(::core::mem::transmute(hcredentials), pszprincipal.into(), pszpackage.into(), fcredentialuse, ::core::mem::transmute(pauthdata), ::core::mem::transmute(pgetkeyfn), ::core::mem::transmute(pvgetkeyargument), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1059,7 +1059,7 @@ pub unsafe fn DecryptMessage(phcontext: *const super::super::Credentials::SecHan extern "system" { fn DecryptMessage(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DecryptMessage(::core::mem::transmute(phcontext), ::core::mem::transmute(pmessage), messageseqno, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] @@ -1573,7 +1573,7 @@ where extern "system" { fn ImportSecurityContextA(pszpackage: ::windows::core::PCSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ImportSecurityContextA(pszpackage.into(), ::core::mem::transmute(ppackedcontext), ::core::mem::transmute(token), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] @@ -1587,7 +1587,7 @@ where extern "system" { fn ImportSecurityContextW(pszpackage: ::windows::core::PCWSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ImportSecurityContextW(pszpackage.into(), ::core::mem::transmute(ppackedcontext), ::core::mem::transmute(token), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] @@ -10278,7 +10278,7 @@ where extern "system" { fn QuerySecurityPackageInfoA(pszpackagename: ::windows::core::PCSTR, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut SecPkgInfoA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); QuerySecurityPackageInfoA(pszpackagename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SecPkgInfoA>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -10291,7 +10291,7 @@ where extern "system" { fn QuerySecurityPackageInfoW(pszpackagename: ::windows::core::PCWSTR, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut SecPkgInfoW>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); QuerySecurityPackageInfoW(pszpackagename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SecPkgInfoW>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -14981,7 +14981,7 @@ pub unsafe fn SLGenerateOfflineInstallationId(hslc: *const ::core::ffi::c_void, extern "system" { fn SLGenerateOfflineInstallationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows::core::GUID, ppwszinstallationid: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLGenerateOfflineInstallationId(::core::mem::transmute(hslc), ::core::mem::transmute(pproductskuid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -14991,7 +14991,7 @@ pub unsafe fn SLGenerateOfflineInstallationIdEx(hslc: *const ::core::ffi::c_void extern "system" { fn SLGenerateOfflineInstallationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows::core::GUID, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, ppwszinstallationid: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLGenerateOfflineInstallationIdEx(::core::mem::transmute(hslc), ::core::mem::transmute(pproductskuid), ::core::mem::transmute(pactivationinfo), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -15043,7 +15043,7 @@ pub unsafe fn SLGetLicenseFileId(hslc: *const ::core::ffi::c_void, cblicenseblob extern "system" { fn SLGetLicenseFileId(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLGetLicenseFileId(::core::mem::transmute(hslc), cblicenseblob, ::core::mem::transmute(pblicenseblob), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -15081,7 +15081,7 @@ where extern "system" { fn SLGetPKeyId(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows::core::PCWSTR, pwszpkeystring: ::windows::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLGetPKeyId(::core::mem::transmute(hslc), pwszpkeyalgorithm.into(), pwszpkeystring.into(), cbpkeyspecificdata, ::core::mem::transmute(pbpkeyspecificdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -15118,7 +15118,7 @@ where extern "system" { fn SLGetPolicyInformationDWORD(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows::core::PCWSTR, pdwvalue: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLGetPolicyInformationDWORD(::core::mem::transmute(hslc), pwszvaluename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -15143,7 +15143,7 @@ where extern "system" { fn SLGetReferralInformation(hslc: *const ::core::ffi::c_void, ereferraltype: SLREFERRALTYPE, pskuorappid: *const ::windows::core::GUID, pwszvaluename: ::windows::core::PCWSTR, ppwszvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLGetReferralInformation(::core::mem::transmute(hslc), ereferraltype, ::core::mem::transmute(pskuorappid), pwszvaluename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -15167,7 +15167,7 @@ where extern "system" { fn SLGetServerStatus(pwszserverurl: ::windows::core::PCWSTR, pwszacquisitiontype: ::windows::core::PCWSTR, pwszproxyserver: ::windows::core::PCWSTR, wproxyport: u16, phrstatus: *mut ::windows::core::HRESULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLGetServerStatus(pwszserverurl.into(), pwszacquisitiontype.into(), pwszproxyserver.into(), wproxyport, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -15204,7 +15204,7 @@ where extern "system" { fn SLGetWindowsInformationDWORD(pwszvaluename: ::windows::core::PCWSTR, pdwvalue: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLGetWindowsInformationDWORD(pwszvaluename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -15255,7 +15255,7 @@ pub unsafe fn SLInstallLicense(hslc: *const ::core::ffi::c_void, cblicenseblob: extern "system" { fn SLInstallLicense(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLInstallLicense(::core::mem::transmute(hslc), cblicenseblob, ::core::mem::transmute(pblicenseblob), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -15269,7 +15269,7 @@ where extern "system" { fn SLInstallProofOfPurchase(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows::core::PCWSTR, pwszpkeystring: ::windows::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SLInstallProofOfPurchase(::core::mem::transmute(hslc), pwszpkeyalgorithm.into(), pwszpkeystring.into(), cbpkeyspecificdata, ::core::mem::transmute(pbpkeyspecificdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -16843,7 +16843,7 @@ where extern "system" { fn SaslGetProfilePackageA(profilename: ::windows::core::PCSTR, packageinfo: *mut *mut SecPkgInfoA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut SecPkgInfoA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SaslGetProfilePackageA(profilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SecPkgInfoA>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -16856,7 +16856,7 @@ where extern "system" { fn SaslGetProfilePackageW(profilename: ::windows::core::PCWSTR, packageinfo: *mut *mut SecPkgInfoW) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut SecPkgInfoW>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SaslGetProfilePackageW(profilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SecPkgInfoW>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -16866,7 +16866,7 @@ pub unsafe fn SaslIdentifyPackageA(pinput: *const SecBufferDesc) -> ::windows::c extern "system" { fn SaslIdentifyPackageA(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut SecPkgInfoA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SaslIdentifyPackageA(::core::mem::transmute(pinput), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SecPkgInfoA>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -16876,7 +16876,7 @@ pub unsafe fn SaslIdentifyPackageW(pinput: *const SecBufferDesc) -> ::windows::c extern "system" { fn SaslIdentifyPackageW(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoW) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut SecPkgInfoW>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SaslIdentifyPackageW(::core::mem::transmute(pinput), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SecPkgInfoW>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] @@ -20146,7 +20146,7 @@ where extern "system" { fn SspiGetTargetHostName(psztargetname: ::windows::core::PCWSTR, pszhostname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SspiGetTargetHostName(psztargetname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -21206,7 +21206,7 @@ pub unsafe fn TokenBindingGenerateID(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, extern "system" { fn TokenBindingGenerateID(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, publickey: *const ::core::ffi::c_void, publickeysize: u32, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut TOKENBINDING_RESULT_DATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); TokenBindingGenerateID(keytype, ::core::mem::transmute(publickey), publickeysize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TOKENBINDING_RESULT_DATA>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -21219,7 +21219,7 @@ where extern "system" { fn TokenBindingGenerateIDForUri(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturi: ::windows::core::PCWSTR, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut TOKENBINDING_RESULT_DATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); TokenBindingGenerateIDForUri(keytype, targeturi.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TOKENBINDING_RESULT_DATA>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -21247,7 +21247,7 @@ pub unsafe fn TokenBindingGetKeyTypesClient() -> ::windows::core::Result<*mut TO extern "system" { fn TokenBindingGetKeyTypesClient(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut TOKENBINDING_KEY_TYPES>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); TokenBindingGetKeyTypesClient(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TOKENBINDING_KEY_TYPES>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -21257,7 +21257,7 @@ pub unsafe fn TokenBindingGetKeyTypesServer() -> ::windows::core::Result<*mut TO extern "system" { fn TokenBindingGetKeyTypesServer(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut TOKENBINDING_KEY_TYPES>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); TokenBindingGetKeyTypesServer(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TOKENBINDING_KEY_TYPES>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -21267,7 +21267,7 @@ pub unsafe fn TokenBindingVerifyMessage(tokenbindingmessage: *const ::core::ffi: extern "system" { fn TokenBindingVerifyMessage(tokenbindingmessage: *const ::core::ffi::c_void, tokenbindingmessagesize: u32, keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32, resultlist: *mut *mut TOKENBINDING_RESULT_LIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut TOKENBINDING_RESULT_LIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); TokenBindingVerifyMessage(::core::mem::transmute(tokenbindingmessage), tokenbindingmessagesize, keytype, ::core::mem::transmute(tlsekm), tlsekmsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TOKENBINDING_RESULT_LIST>(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -21465,7 +21465,7 @@ pub unsafe fn VerifySignature(phcontext: *const super::super::Credentials::SecHa extern "system" { fn VerifySignature(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VerifySignature(::core::mem::transmute(phcontext), ::core::mem::transmute(pmessage), messageseqno, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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 c81538e2ab..6589509a0f 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 @@ -425,7 +425,7 @@ pub struct ISecurityInformation2_Vtbl { pub struct ISecurityInformation3(::windows::core::IUnknown); impl ISecurityInformation3 { pub unsafe fn GetFullResourceName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFullResourceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] 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 6aa4e3fc25..17c87207a4 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -3387,7 +3387,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3401,7 +3401,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3415,7 +3415,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3429,7 +3429,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AuthzInterfaceClsid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthzInterfaceClsid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3443,7 +3443,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3457,7 +3457,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GenerateAudits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateAudits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3471,7 +3471,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplyStoreSacl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplyStoreSacl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3485,7 +3485,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3494,7 +3494,7 @@ impl IAzApplication { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3509,13 +3509,13 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministrators(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyAdministrators)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyReaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3557,7 +3557,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Scopes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scopes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3567,7 +3567,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenScope)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3577,7 +3577,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateScope)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3592,7 +3592,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Operations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Operations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3602,7 +3602,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenOperation)(::windows::core::Interface::as_raw(self), bstroperationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3612,7 +3612,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateOperation)(::windows::core::Interface::as_raw(self), bstroperationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3627,7 +3627,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3637,7 +3637,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3647,7 +3647,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3662,7 +3662,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3672,7 +3672,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3682,7 +3682,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3697,7 +3697,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Roles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Roles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3707,7 +3707,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3717,7 +3717,7 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3735,7 +3735,7 @@ impl IAzApplication { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitializeClientContextFromToken)(::windows::core::Interface::as_raw(self), ulltokenhandle, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3772,13 +3772,13 @@ impl IAzApplication { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitializeClientContextFromName)(::windows::core::Interface::as_raw(self), clientname.into().abi(), domainname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DelegatedPolicyUsers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3806,19 +3806,19 @@ impl IAzApplication { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitializeClientContextFromStringSid)(::windows::core::Interface::as_raw(self), sidstring.into().abi(), loptions, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministratorsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyAdministratorsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReadersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyReadersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3860,7 +3860,7 @@ impl IAzApplication { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DelegatedPolicyUsersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4202,7 +4202,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4216,7 +4216,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4230,7 +4230,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4244,7 +4244,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AuthzInterfaceClsid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AuthzInterfaceClsid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4258,7 +4258,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4272,7 +4272,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GenerateAudits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GenerateAudits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4286,7 +4286,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplyStoreSacl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplyStoreSacl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4300,7 +4300,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4309,7 +4309,7 @@ impl IAzApplication2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4324,13 +4324,13 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministrators(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyAdministrators)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyReaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4372,7 +4372,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Scopes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Scopes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4382,7 +4382,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenScope)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4392,7 +4392,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateScope)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4407,7 +4407,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Operations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Operations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4417,7 +4417,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenOperation)(::windows::core::Interface::as_raw(self), bstroperationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4427,7 +4427,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOperation)(::windows::core::Interface::as_raw(self), bstroperationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4442,7 +4442,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4452,7 +4452,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4462,7 +4462,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4477,7 +4477,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4487,7 +4487,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4497,7 +4497,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4512,7 +4512,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Roles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Roles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4522,7 +4522,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4532,7 +4532,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4550,7 +4550,7 @@ impl IAzApplication2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InitializeClientContextFromToken)(::windows::core::Interface::as_raw(self), ulltokenhandle, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4587,13 +4587,13 @@ impl IAzApplication2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InitializeClientContextFromName)(::windows::core::Interface::as_raw(self), clientname.into().abi(), domainname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DelegatedPolicyUsers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4621,19 +4621,19 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InitializeClientContextFromStringSid)(::windows::core::Interface::as_raw(self), sidstring.into().abi(), loptions, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministratorsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyAdministratorsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReadersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyReadersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4675,7 +4675,7 @@ impl IAzApplication2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DelegatedPolicyUsersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4702,7 +4702,7 @@ impl IAzApplication2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitializeClientContextFromToken2)(::windows::core::Interface::as_raw(self), ultokenhandlelowpart, ultokenhandlehighpart, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4712,7 +4712,7 @@ impl IAzApplication2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitializeClientContext2)(::windows::core::Interface::as_raw(self), identifyingstring.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4818,7 +4818,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4832,7 +4832,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4846,7 +4846,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4860,7 +4860,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AuthzInterfaceClsid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AuthzInterfaceClsid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4874,7 +4874,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4888,7 +4888,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GenerateAudits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GenerateAudits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4902,7 +4902,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplyStoreSacl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ApplyStoreSacl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4916,7 +4916,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4925,7 +4925,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4940,13 +4940,13 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministrators(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PolicyAdministrators)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PolicyReaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4988,7 +4988,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Scopes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Scopes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4998,7 +4998,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenScope)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5008,7 +5008,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateScope)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5023,7 +5023,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Operations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Operations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5033,7 +5033,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenOperation)(::windows::core::Interface::as_raw(self), bstroperationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5043,7 +5043,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateOperation)(::windows::core::Interface::as_raw(self), bstroperationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5058,7 +5058,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5068,7 +5068,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5078,7 +5078,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5093,7 +5093,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ApplicationGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5103,7 +5103,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5113,7 +5113,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5128,7 +5128,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Roles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Roles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5138,7 +5138,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5148,7 +5148,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5166,7 +5166,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InitializeClientContextFromToken)(::windows::core::Interface::as_raw(self), ulltokenhandle, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5203,13 +5203,13 @@ impl IAzApplication3 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InitializeClientContextFromName)(::windows::core::Interface::as_raw(self), clientname.into().abi(), domainname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DelegatedPolicyUsers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5237,19 +5237,19 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InitializeClientContextFromStringSid)(::windows::core::Interface::as_raw(self), sidstring.into().abi(), loptions, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministratorsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PolicyAdministratorsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReadersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PolicyReadersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5291,7 +5291,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DelegatedPolicyUsersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5318,7 +5318,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InitializeClientContextFromToken2)(::windows::core::Interface::as_raw(self), ultokenhandlelowpart, ultokenhandlehighpart, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5328,7 +5328,7 @@ impl IAzApplication3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InitializeClientContext2)(::windows::core::Interface::as_raw(self), identifyingstring.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5337,7 +5337,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScopeExists)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5346,7 +5346,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenScope2)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5355,7 +5355,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateScope2)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5369,7 +5369,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleDefinitions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleDefinitions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5378,7 +5378,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRoleDefinition)(::windows::core::Interface::as_raw(self), bstrroledefinitionname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5387,7 +5387,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenRoleDefinition)(::windows::core::Interface::as_raw(self), bstrroledefinitionname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5401,7 +5401,7 @@ impl IAzApplication3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleAssignments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleAssignments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5410,7 +5410,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRoleAssignment)(::windows::core::Interface::as_raw(self), bstrroleassignmentname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5419,7 +5419,7 @@ impl IAzApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenRoleAssignment)(::windows::core::Interface::as_raw(self), bstrroleassignmentname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5431,7 +5431,7 @@ impl IAzApplication3 { (::windows::core::Interface::vtable(self).DeleteRoleAssignment)(::windows::core::Interface::as_raw(self), bstrroleassignmentname.into().abi()).ok() } pub unsafe fn BizRulesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizRulesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBizRulesEnabled(&self, benabled: i16) -> ::windows::core::Result<()> { @@ -5600,7 +5600,7 @@ impl IAzApplicationGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5612,7 +5612,7 @@ impl IAzApplicationGroup { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), bstrname.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, lprop: i32) -> ::windows::core::Result<()> { @@ -5621,7 +5621,7 @@ impl IAzApplicationGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LdapQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LdapQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5635,31 +5635,31 @@ impl IAzApplicationGroup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AppMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AppNonMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppNonMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Members(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Members)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn NonMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NonMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5745,7 +5745,7 @@ impl IAzApplicationGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5754,7 +5754,7 @@ impl IAzApplicationGroup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5831,13 +5831,13 @@ impl IAzApplicationGroup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MembersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MembersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn NonMembersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NonMembersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6039,7 +6039,7 @@ impl IAzApplicationGroup2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6051,7 +6051,7 @@ impl IAzApplicationGroup2 { (::windows::core::Interface::vtable(self).base__.SetName)(::windows::core::Interface::as_raw(self), bstrname.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, lprop: i32) -> ::windows::core::Result<()> { @@ -6060,7 +6060,7 @@ impl IAzApplicationGroup2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LdapQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LdapQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6074,31 +6074,31 @@ impl IAzApplicationGroup2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AppMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AppMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AppNonMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AppNonMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Members(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Members)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn NonMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NonMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6184,7 +6184,7 @@ impl IAzApplicationGroup2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6193,7 +6193,7 @@ impl IAzApplicationGroup2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6270,19 +6270,19 @@ impl IAzApplicationGroup2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MembersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MembersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn NonMembersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NonMembersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6296,7 +6296,7 @@ impl IAzApplicationGroup2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRuleLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizRuleLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6310,7 +6310,7 @@ impl IAzApplicationGroup2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRuleImportedPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizRuleImportedPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6327,7 +6327,7 @@ impl IAzApplicationGroup2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleAssignments)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), brecursive, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6453,15 +6453,15 @@ impl IAzApplicationGroups { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -6547,15 +6547,15 @@ impl IAzApplications { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -6641,7 +6641,7 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6655,7 +6655,7 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6667,21 +6667,21 @@ impl IAzAuthorizationStore { (::windows::core::Interface::vtable(self).SetApplicationData)(::windows::core::Interface::as_raw(self), bstrapplicationdata.into().abi()).ok() } pub unsafe fn DomainTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DomainTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDomainTimeout(&self, lprop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDomainTimeout)(::windows::core::Interface::as_raw(self), lprop).ok() } pub unsafe fn ScriptEngineTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScriptEngineTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScriptEngineTimeout(&self, lprop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetScriptEngineTimeout)(::windows::core::Interface::as_raw(self), lprop).ok() } pub unsafe fn MaxScriptEngines(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxScriptEngines)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxScriptEngines(&self, lprop: i32) -> ::windows::core::Result<()> { @@ -6690,7 +6690,7 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GenerateAudits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateAudits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6704,7 +6704,7 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6713,7 +6713,7 @@ impl IAzAuthorizationStore { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6746,13 +6746,13 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministrators(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyAdministrators)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyReaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6819,7 +6819,7 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Applications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Applications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6829,7 +6829,7 @@ impl IAzAuthorizationStore { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenApplication)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6839,7 +6839,7 @@ impl IAzAuthorizationStore { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateApplication)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6854,7 +6854,7 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6864,7 +6864,7 @@ impl IAzAuthorizationStore { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6874,7 +6874,7 @@ impl IAzAuthorizationStore { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6897,7 +6897,7 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DelegatedPolicyUsers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6921,13 +6921,13 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetMachine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetMachine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplyStoreSacl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplyStoreSacl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6941,13 +6941,13 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministratorsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyAdministratorsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReadersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyReadersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6989,7 +6989,7 @@ impl IAzAuthorizationStore { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DelegatedPolicyUsersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7281,7 +7281,7 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7295,7 +7295,7 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7307,21 +7307,21 @@ impl IAzAuthorizationStore2 { (::windows::core::Interface::vtable(self).base__.SetApplicationData)(::windows::core::Interface::as_raw(self), bstrapplicationdata.into().abi()).ok() } pub unsafe fn DomainTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DomainTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDomainTimeout(&self, lprop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDomainTimeout)(::windows::core::Interface::as_raw(self), lprop).ok() } pub unsafe fn ScriptEngineTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ScriptEngineTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScriptEngineTimeout(&self, lprop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetScriptEngineTimeout)(::windows::core::Interface::as_raw(self), lprop).ok() } pub unsafe fn MaxScriptEngines(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxScriptEngines)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxScriptEngines(&self, lprop: i32) -> ::windows::core::Result<()> { @@ -7330,7 +7330,7 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GenerateAudits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GenerateAudits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7344,7 +7344,7 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7353,7 +7353,7 @@ impl IAzAuthorizationStore2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7386,13 +7386,13 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministrators(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyAdministrators)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyReaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7459,7 +7459,7 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Applications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Applications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7469,7 +7469,7 @@ impl IAzAuthorizationStore2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenApplication)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7479,7 +7479,7 @@ impl IAzAuthorizationStore2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateApplication)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7494,7 +7494,7 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7504,7 +7504,7 @@ impl IAzAuthorizationStore2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7514,7 +7514,7 @@ impl IAzAuthorizationStore2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7537,7 +7537,7 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DelegatedPolicyUsers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7561,13 +7561,13 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetMachine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TargetMachine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplyStoreSacl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplyStoreSacl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7581,13 +7581,13 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministratorsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyAdministratorsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReadersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyReadersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7629,7 +7629,7 @@ impl IAzAuthorizationStore2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DelegatedPolicyUsersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7665,7 +7665,7 @@ impl IAzAuthorizationStore2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenApplication2)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7675,7 +7675,7 @@ impl IAzAuthorizationStore2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateApplication2)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7781,7 +7781,7 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7795,7 +7795,7 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7807,21 +7807,21 @@ impl IAzAuthorizationStore3 { (::windows::core::Interface::vtable(self).base__.base__.SetApplicationData)(::windows::core::Interface::as_raw(self), bstrapplicationdata.into().abi()).ok() } pub unsafe fn DomainTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DomainTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDomainTimeout(&self, lprop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetDomainTimeout)(::windows::core::Interface::as_raw(self), lprop).ok() } pub unsafe fn ScriptEngineTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ScriptEngineTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScriptEngineTimeout(&self, lprop: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetScriptEngineTimeout)(::windows::core::Interface::as_raw(self), lprop).ok() } pub unsafe fn MaxScriptEngines(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MaxScriptEngines)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxScriptEngines(&self, lprop: i32) -> ::windows::core::Result<()> { @@ -7830,7 +7830,7 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GenerateAudits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GenerateAudits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7844,7 +7844,7 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7853,7 +7853,7 @@ impl IAzAuthorizationStore3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7886,13 +7886,13 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministrators(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PolicyAdministrators)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PolicyReaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7959,7 +7959,7 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Applications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Applications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7969,7 +7969,7 @@ impl IAzAuthorizationStore3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenApplication)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7979,7 +7979,7 @@ impl IAzAuthorizationStore3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateApplication)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7994,7 +7994,7 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ApplicationGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8004,7 +8004,7 @@ impl IAzAuthorizationStore3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8014,7 +8014,7 @@ impl IAzAuthorizationStore3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8037,7 +8037,7 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DelegatedPolicyUsers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8061,13 +8061,13 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetMachine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TargetMachine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplyStoreSacl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ApplyStoreSacl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8081,13 +8081,13 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministratorsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PolicyAdministratorsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReadersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PolicyReadersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8129,7 +8129,7 @@ impl IAzAuthorizationStore3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DelegatedPolicyUsersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DelegatedPolicyUsersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8165,7 +8165,7 @@ impl IAzAuthorizationStore3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenApplication2)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8175,22 +8175,22 @@ impl IAzAuthorizationStore3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateApplication2)(::windows::core::Interface::as_raw(self), bstrapplicationname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUpdateNeeded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUpdateNeeded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BizruleGroupSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizruleGroupSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpgradeStoresFunctionalLevel(&self, lfunctionallevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).UpgradeStoresFunctionalLevel)(::windows::core::Interface::as_raw(self), lfunctionallevel).ok() } pub unsafe fn IsFunctionalLevelUpgradeSupported(&self, lfunctionallevel: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFunctionalLevelUpgradeSupported)(::windows::core::Interface::as_raw(self), lfunctionallevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSchemaVersion(&self, plmajorversion: *mut i32, plminorversion: *mut i32) -> ::windows::core::Result<()> { @@ -8330,7 +8330,7 @@ impl IAzBizRuleContext { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BusinessRuleString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BusinessRuleString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8339,7 +8339,7 @@ impl IAzBizRuleContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameter)(::windows::core::Interface::as_raw(self), bstrparametername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8471,7 +8471,7 @@ impl IAzBizRuleInterfaces { (::windows::core::Interface::vtable(self).RemoveAll)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8590,7 +8590,7 @@ impl IAzBizRuleParameters { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameterValue)(::windows::core::Interface::as_raw(self), bstrparametername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8605,7 +8605,7 @@ impl IAzBizRuleParameters { (::windows::core::Interface::vtable(self).RemoveAll)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8713,55 +8713,55 @@ impl IAzClientContext { P6: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P7: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AccessCheck)(::windows::core::Interface::as_raw(self), bstrobjectname.into().abi(), varscopenames.into().abi(), varoperations.into().abi(), varparameternames.into().abi(), varparametervalues.into().abi(), varinterfacenames.into().abi(), varinterfaceflags.into().abi(), varinterfaces.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBusinessRuleString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBusinessRuleString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserDn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserDn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserSamCompat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserSamCompat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserDisplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserCanonical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserCanonical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserUpn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserUpn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserDnsSamCompat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserDnsSamCompat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8770,7 +8770,7 @@ impl IAzClientContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8779,13 +8779,13 @@ impl IAzClientContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRoles)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RoleForAccessCheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleForAccessCheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8935,55 +8935,55 @@ impl IAzClientContext2 { P6: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P7: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AccessCheck)(::windows::core::Interface::as_raw(self), bstrobjectname.into().abi(), varscopenames.into().abi(), varoperations.into().abi(), varparameternames.into().abi(), varparametervalues.into().abi(), varinterfacenames.into().abi(), varinterfaceflags.into().abi(), varinterfaces.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBusinessRuleString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBusinessRuleString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserDn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserDn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserSamCompat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserSamCompat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserDisplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserCanonical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserCanonical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserUpn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserUpn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserDnsSamCompat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserDnsSamCompat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8992,7 +8992,7 @@ impl IAzClientContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9001,13 +9001,13 @@ impl IAzClientContext2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRoles)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RoleForAccessCheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RoleForAccessCheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9059,7 +9059,7 @@ impl IAzClientContext2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LDAPQueryDN(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LDAPQueryDN)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9191,55 +9191,55 @@ impl IAzClientContext3 { P6: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P7: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AccessCheck)(::windows::core::Interface::as_raw(self), bstrobjectname.into().abi(), varscopenames.into().abi(), varoperations.into().abi(), varparameternames.into().abi(), varparametervalues.into().abi(), varinterfacenames.into().abi(), varinterfaceflags.into().abi(), varinterfaces.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBusinessRuleString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBusinessRuleString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserDn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserDn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserSamCompat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserSamCompat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserDisplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserCanonical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserCanonical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserUpn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserUpn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserDnsSamCompat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserDnsSamCompat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9248,7 +9248,7 @@ impl IAzClientContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9257,13 +9257,13 @@ impl IAzClientContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRoles)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RoleForAccessCheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RoleForAccessCheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9315,7 +9315,7 @@ impl IAzClientContext3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LDAPQueryDN(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LDAPQueryDN)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9325,7 +9325,7 @@ impl IAzClientContext3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AccessCheck2)(::windows::core::Interface::as_raw(self), bstrobjectname.into().abi(), bstrscopename.into().abi(), loperation, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9335,7 +9335,7 @@ impl IAzClientContext3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInRoleAssignment)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), bstrrolename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9344,7 +9344,7 @@ impl IAzClientContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOperations)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9353,19 +9353,19 @@ impl IAzClientContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTasks)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BizRuleParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizRuleParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BizRuleInterfaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizRuleInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9374,13 +9374,13 @@ impl IAzClientContext3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroups)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), uloptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Sids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Sids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9635,7 +9635,7 @@ impl IAzObjectPicker { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9723,7 +9723,7 @@ impl IAzOperation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9737,7 +9737,7 @@ impl IAzOperation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9751,7 +9751,7 @@ impl IAzOperation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9763,7 +9763,7 @@ impl IAzOperation { (::windows::core::Interface::vtable(self).SetApplicationData)(::windows::core::Interface::as_raw(self), bstrapplicationdata.into().abi()).ok() } pub unsafe fn OperationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OperationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOperationID(&self, lprop: i32) -> ::windows::core::Result<()> { @@ -9772,7 +9772,7 @@ impl IAzOperation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9781,7 +9781,7 @@ impl IAzOperation { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9920,7 +9920,7 @@ impl IAzOperation2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9934,7 +9934,7 @@ impl IAzOperation2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9948,7 +9948,7 @@ impl IAzOperation2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9960,7 +9960,7 @@ impl IAzOperation2 { (::windows::core::Interface::vtable(self).base__.SetApplicationData)(::windows::core::Interface::as_raw(self), bstrapplicationdata.into().abi()).ok() } pub unsafe fn OperationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OperationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOperationID(&self, lprop: i32) -> ::windows::core::Result<()> { @@ -9969,7 +9969,7 @@ impl IAzOperation2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9978,7 +9978,7 @@ impl IAzOperation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10004,7 +10004,7 @@ impl IAzOperation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleAssignments)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), brecursive, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10106,15 +10106,15 @@ impl IAzOperations { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -10200,13 +10200,13 @@ impl IAzPrincipalLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameResolver(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NameResolver)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectPicker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectPicker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10294,7 +10294,7 @@ impl IAzRole { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10308,7 +10308,7 @@ impl IAzRole { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10322,7 +10322,7 @@ impl IAzRole { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10408,7 +10408,7 @@ impl IAzRole { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10417,7 +10417,7 @@ impl IAzRole { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10432,25 +10432,25 @@ impl IAzRole { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AppMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Members(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Members)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Operations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Operations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10500,7 +10500,7 @@ impl IAzRole { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MembersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MembersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10688,7 +10688,7 @@ impl IAzRoleAssignment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10702,7 +10702,7 @@ impl IAzRoleAssignment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10716,7 +10716,7 @@ impl IAzRoleAssignment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10802,7 +10802,7 @@ impl IAzRoleAssignment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10811,7 +10811,7 @@ impl IAzRoleAssignment { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10826,25 +10826,25 @@ impl IAzRoleAssignment { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AppMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AppMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Members(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Members)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Operations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Operations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10894,7 +10894,7 @@ impl IAzRoleAssignment { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MembersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MembersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10916,13 +10916,13 @@ impl IAzRoleAssignment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleDefinitions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleDefinitions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11036,15 +11036,15 @@ impl IAzRoleAssignments { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -11130,7 +11130,7 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11144,7 +11144,7 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11158,7 +11158,7 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11172,7 +11172,7 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BizRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11186,7 +11186,7 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRuleLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BizRuleLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11200,7 +11200,7 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRuleImportedPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BizRuleImportedPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11214,7 +11214,7 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRoleDefinition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRoleDefinition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11228,13 +11228,13 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Operations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Operations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11276,7 +11276,7 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11285,7 +11285,7 @@ impl IAzRoleDefinition { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11329,7 +11329,7 @@ impl IAzRoleDefinition { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleAssignments)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), brecursive, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11351,7 +11351,7 @@ impl IAzRoleDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleDefinitions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleDefinitions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11465,15 +11465,15 @@ impl IAzRoleDefinitions { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -11559,15 +11559,15 @@ impl IAzRoles { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -11653,7 +11653,7 @@ impl IAzScope { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11667,7 +11667,7 @@ impl IAzScope { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11681,7 +11681,7 @@ impl IAzScope { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11695,7 +11695,7 @@ impl IAzScope { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11704,7 +11704,7 @@ impl IAzScope { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11737,13 +11737,13 @@ impl IAzScope { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministrators(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyAdministrators)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyReaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11785,7 +11785,7 @@ impl IAzScope { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11795,7 +11795,7 @@ impl IAzScope { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11805,7 +11805,7 @@ impl IAzScope { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11820,7 +11820,7 @@ impl IAzScope { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Roles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Roles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11830,7 +11830,7 @@ impl IAzScope { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11840,7 +11840,7 @@ impl IAzScope { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11855,7 +11855,7 @@ impl IAzScope { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11865,7 +11865,7 @@ impl IAzScope { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11875,7 +11875,7 @@ impl IAzScope { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11898,25 +11898,25 @@ impl IAzScope { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanBeDelegated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanBeDelegated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizrulesWritable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizrulesWritable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministratorsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyAdministratorsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReadersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyReadersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12184,7 +12184,7 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12198,7 +12198,7 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12212,7 +12212,7 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12226,7 +12226,7 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12235,7 +12235,7 @@ impl IAzScope2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12268,13 +12268,13 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministrators(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyAdministrators)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyReaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12316,7 +12316,7 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12326,7 +12326,7 @@ impl IAzScope2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12336,7 +12336,7 @@ impl IAzScope2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateApplicationGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12351,7 +12351,7 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Roles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Roles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12361,7 +12361,7 @@ impl IAzScope2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12371,7 +12371,7 @@ impl IAzScope2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRole)(::windows::core::Interface::as_raw(self), bstrrolename.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12386,7 +12386,7 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12396,7 +12396,7 @@ impl IAzScope2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12406,7 +12406,7 @@ impl IAzScope2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTask)(::windows::core::Interface::as_raw(self), bstrtaskname.into().abi(), varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12429,25 +12429,25 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanBeDelegated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanBeDelegated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizrulesWritable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BizrulesWritable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyAdministratorsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyAdministratorsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolicyReadersName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyReadersName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12489,7 +12489,7 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleDefinitions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleDefinitions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12498,7 +12498,7 @@ impl IAzScope2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRoleDefinition)(::windows::core::Interface::as_raw(self), bstrroledefinitionname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12507,7 +12507,7 @@ impl IAzScope2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenRoleDefinition)(::windows::core::Interface::as_raw(self), bstrroledefinitionname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12521,7 +12521,7 @@ impl IAzScope2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleAssignments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleAssignments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12530,7 +12530,7 @@ impl IAzScope2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRoleAssignment)(::windows::core::Interface::as_raw(self), bstrroleassignmentname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -12539,7 +12539,7 @@ impl IAzScope2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenRoleAssignment)(::windows::core::Interface::as_raw(self), bstrroleassignmentname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12677,15 +12677,15 @@ impl IAzScopes { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -12771,7 +12771,7 @@ impl IAzTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12785,7 +12785,7 @@ impl IAzTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12799,7 +12799,7 @@ impl IAzTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12813,7 +12813,7 @@ impl IAzTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12827,7 +12827,7 @@ impl IAzTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRuleLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizRuleLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12841,7 +12841,7 @@ impl IAzTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRuleImportedPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BizRuleImportedPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12855,7 +12855,7 @@ impl IAzTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRoleDefinition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRoleDefinition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12869,13 +12869,13 @@ impl IAzTask { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Operations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Operations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12917,7 +12917,7 @@ impl IAzTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12926,7 +12926,7 @@ impl IAzTask { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13145,7 +13145,7 @@ impl IAzTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13159,7 +13159,7 @@ impl IAzTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13173,7 +13173,7 @@ impl IAzTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ApplicationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13187,7 +13187,7 @@ impl IAzTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BizRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13201,7 +13201,7 @@ impl IAzTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRuleLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BizRuleLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13215,7 +13215,7 @@ impl IAzTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BizRuleImportedPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BizRuleImportedPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13229,7 +13229,7 @@ impl IAzTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRoleDefinition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRoleDefinition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13243,13 +13243,13 @@ impl IAzTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Operations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Operations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Tasks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Tasks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13291,7 +13291,7 @@ impl IAzTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Writable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Writable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13300,7 +13300,7 @@ impl IAzTask2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), lpropid, varreserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13344,7 +13344,7 @@ impl IAzTask2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RoleAssignments)(::windows::core::Interface::as_raw(self), bstrscopename.into().abi(), brecursive, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13446,15 +13446,15 @@ impl IAzTasks { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs index 992ebf9dfd..27878b6633 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs @@ -1748,7 +1748,7 @@ pub unsafe fn KeyCredentialManagerGetInformation() -> ::windows::core::Result<*m extern "system" { fn KeyCredentialManagerGetInformation(keycredentialmanagerinfo: *mut *mut KeyCredentialManagerInfo) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut KeyCredentialManagerInfo>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); KeyCredentialManagerGetInformation(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut KeyCredentialManagerInfo>(result__) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] 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 5cf74b8915..03465399c9 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 @@ -3529,25 +3529,25 @@ impl IAlternativeName { (::windows::core::Interface::vtable(self).InitializeFromOtherName)(::windows::core::Interface::as_raw(self), pobjectid.into().abi(), encoding, strrawdata.into().abi(), tobewrapped).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StrValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StrValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3652,15 +3652,15 @@ impl IAlternativeNames { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3769,13 +3769,13 @@ impl IBinaryConverter { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StringToString)(::windows::core::Interface::as_raw(self), strencodedin.into().abi(), encodingin, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn VariantByteArrayToString(&self, pvarbytearray: *const super::super::super::System::Com::VARIANT, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VariantByteArrayToString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarbytearray), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3784,7 +3784,7 @@ impl IBinaryConverter { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StringToVariantByteArray)(::windows::core::Interface::as_raw(self), strencoded.into().abi(), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3879,13 +3879,13 @@ impl IBinaryConverter2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StringToString)(::windows::core::Interface::as_raw(self), strencodedin.into().abi(), encodingin, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn VariantByteArrayToString(&self, pvarbytearray: *const super::super::super::System::Com::VARIANT, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VariantByteArrayToString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarbytearray), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3894,19 +3894,19 @@ impl IBinaryConverter2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StringToVariantByteArray)(::windows::core::Interface::as_raw(self), strencoded.into().abi(), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn StringArrayToVariantArray(&self, pvarstringarray: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StringArrayToVariantArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarstringarray), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn VariantArrayToStringArray(&self, pvarvariantarray: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VariantArrayToStringArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarvariantarray), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4034,7 +4034,7 @@ impl ICEnroll { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createPKCS10)(::windows::core::Interface::as_raw(self), dnname.into().abi(), usage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4051,19 +4051,19 @@ impl ICEnroll { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getCertFromPKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).enumProviders)(::windows::core::Interface::as_raw(self), dwindex, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn enumContainers(&self, dwindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).enumContainers)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4077,7 +4077,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MyStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MyStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4091,7 +4091,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MyStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MyStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4103,7 +4103,7 @@ impl ICEnroll { (::windows::core::Interface::vtable(self).SetMyStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn MyStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MyStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4112,7 +4112,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4126,7 +4126,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4138,7 +4138,7 @@ impl ICEnroll { (::windows::core::Interface::vtable(self).SetCAStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn CAStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4147,7 +4147,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RootStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4161,7 +4161,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RootStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4173,7 +4173,7 @@ impl ICEnroll { (::windows::core::Interface::vtable(self).SetRootStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn RootStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4182,7 +4182,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4196,7 +4196,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4208,7 +4208,7 @@ impl ICEnroll { (::windows::core::Interface::vtable(self).SetRequestStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn RequestStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4217,7 +4217,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContainerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContainerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4231,7 +4231,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4243,21 +4243,21 @@ impl ICEnroll { (::windows::core::Interface::vtable(self).SetProviderName)(::windows::core::Interface::as_raw(self), bstrprovider.into().abi()).ok() } pub unsafe fn ProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() } pub unsafe fn KeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() } pub unsafe fn ProviderFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4266,7 +4266,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UseExistingKeySet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseExistingKeySet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4278,7 +4278,7 @@ impl ICEnroll { (::windows::core::Interface::vtable(self).SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into()).ok() } pub unsafe fn GenKeyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenKeyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4287,7 +4287,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeleteRequestCert(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeleteRequestCert)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4301,7 +4301,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WriteCertToCSP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteCertToCSP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4315,7 +4315,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SPCFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SPCFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4329,7 +4329,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PVKFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PVKFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4343,7 +4343,7 @@ impl ICEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4629,7 +4629,7 @@ impl ICEnroll2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.createPKCS10)(::windows::core::Interface::as_raw(self), dnname.into().abi(), usage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4646,19 +4646,19 @@ impl ICEnroll2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getCertFromPKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.enumProviders)(::windows::core::Interface::as_raw(self), dwindex, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn enumContainers(&self, dwindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.enumContainers)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4672,7 +4672,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MyStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MyStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4686,7 +4686,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MyStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MyStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4698,7 +4698,7 @@ impl ICEnroll2 { (::windows::core::Interface::vtable(self).base__.SetMyStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn MyStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MyStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4707,7 +4707,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CAStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4721,7 +4721,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CAStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4733,7 +4733,7 @@ impl ICEnroll2 { (::windows::core::Interface::vtable(self).base__.SetCAStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn CAStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CAStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4742,7 +4742,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RootStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RootStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4756,7 +4756,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RootStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RootStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4768,7 +4768,7 @@ impl ICEnroll2 { (::windows::core::Interface::vtable(self).base__.SetRootStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn RootStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RootStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4777,7 +4777,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RequestStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4791,7 +4791,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RequestStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4803,7 +4803,7 @@ impl ICEnroll2 { (::windows::core::Interface::vtable(self).base__.SetRequestStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn RequestStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RequestStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4812,7 +4812,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContainerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ContainerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4826,7 +4826,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4838,21 +4838,21 @@ impl ICEnroll2 { (::windows::core::Interface::vtable(self).base__.SetProviderName)(::windows::core::Interface::as_raw(self), bstrprovider.into().abi()).ok() } pub unsafe fn ProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() } pub unsafe fn KeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() } pub unsafe fn ProviderFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProviderFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4861,7 +4861,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UseExistingKeySet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UseExistingKeySet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4873,7 +4873,7 @@ impl ICEnroll2 { (::windows::core::Interface::vtable(self).base__.SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into()).ok() } pub unsafe fn GenKeyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GenKeyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -4882,7 +4882,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeleteRequestCert(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeleteRequestCert)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4896,7 +4896,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WriteCertToCSP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WriteCertToCSP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4910,7 +4910,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SPCFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SPCFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4924,7 +4924,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PVKFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PVKFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4938,7 +4938,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4969,7 +4969,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WriteCertToUserDS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteCertToUserDS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4983,7 +4983,7 @@ impl ICEnroll2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnableT61DNEncoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableT61DNEncoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5135,7 +5135,7 @@ impl ICEnroll3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.createPKCS10)(::windows::core::Interface::as_raw(self), dnname.into().abi(), usage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5152,19 +5152,19 @@ impl ICEnroll3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.getCertFromPKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.enumProviders)(::windows::core::Interface::as_raw(self), dwindex, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn enumContainers(&self, dwindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.enumContainers)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5178,7 +5178,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MyStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MyStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5192,7 +5192,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MyStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MyStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5204,7 +5204,7 @@ impl ICEnroll3 { (::windows::core::Interface::vtable(self).base__.base__.SetMyStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn MyStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MyStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5213,7 +5213,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CAStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5227,7 +5227,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CAStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5239,7 +5239,7 @@ impl ICEnroll3 { (::windows::core::Interface::vtable(self).base__.base__.SetCAStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn CAStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CAStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5248,7 +5248,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RootStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RootStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5262,7 +5262,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RootStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RootStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5274,7 +5274,7 @@ impl ICEnroll3 { (::windows::core::Interface::vtable(self).base__.base__.SetRootStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn RootStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RootStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5283,7 +5283,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RequestStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5297,7 +5297,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RequestStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5309,7 +5309,7 @@ impl ICEnroll3 { (::windows::core::Interface::vtable(self).base__.base__.SetRequestStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn RequestStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RequestStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5318,7 +5318,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContainerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ContainerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5332,7 +5332,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5344,21 +5344,21 @@ impl ICEnroll3 { (::windows::core::Interface::vtable(self).base__.base__.SetProviderName)(::windows::core::Interface::as_raw(self), bstrprovider.into().abi()).ok() } pub unsafe fn ProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() } pub unsafe fn KeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.KeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() } pub unsafe fn ProviderFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProviderFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5367,7 +5367,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UseExistingKeySet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UseExistingKeySet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5379,7 +5379,7 @@ impl ICEnroll3 { (::windows::core::Interface::vtable(self).base__.base__.SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into()).ok() } pub unsafe fn GenKeyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GenKeyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5388,7 +5388,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeleteRequestCert(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DeleteRequestCert)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5402,7 +5402,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WriteCertToCSP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.WriteCertToCSP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5416,7 +5416,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SPCFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SPCFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5430,7 +5430,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PVKFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PVKFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5444,7 +5444,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5475,7 +5475,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WriteCertToUserDS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WriteCertToUserDS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5489,7 +5489,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnableT61DNEncoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnableT61DNEncoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5512,7 +5512,7 @@ impl ICEnroll3 { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSupportedKeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedKeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5522,17 +5522,17 @@ impl ICEnroll3 { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyLen)(::windows::core::Interface::as_raw(self), fmin.into(), fexchange.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumAlgs(&self, dwindex: i32, algclass: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumAlgs)(::windows::core::Interface::as_raw(self), dwindex, algclass, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAlgName(&self, algid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlgName)(::windows::core::Interface::as_raw(self), algid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5546,14 +5546,14 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReuseHardwareKeyIfUnableToGenNew(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHashAlgID(&self, hashalgid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHashAlgID)(::windows::core::Interface::as_raw(self), hashalgid).ok() } pub unsafe fn HashAlgID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5567,7 +5567,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LimitExchangeKeyToEncipherment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5581,7 +5581,7 @@ impl ICEnroll3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnableSMIMECapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5760,7 +5760,7 @@ impl ICEnroll4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.createPKCS10)(::windows::core::Interface::as_raw(self), dnname.into().abi(), usage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5777,19 +5777,19 @@ impl ICEnroll4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.getCertFromPKCS7)(::windows::core::Interface::as_raw(self), wszpkcs7.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.enumProviders)(::windows::core::Interface::as_raw(self), dwindex, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn enumContainers(&self, dwindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.enumContainers)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5803,7 +5803,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MyStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MyStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5817,7 +5817,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MyStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MyStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5829,7 +5829,7 @@ impl ICEnroll4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetMyStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn MyStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MyStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5838,7 +5838,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CAStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5852,7 +5852,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CAStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5864,7 +5864,7 @@ impl ICEnroll4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetCAStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn CAStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CAStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5873,7 +5873,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RootStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RootStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5887,7 +5887,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RootStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RootStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5899,7 +5899,7 @@ impl ICEnroll4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetRootStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn RootStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RootStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5908,7 +5908,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestStoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RequestStoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5922,7 +5922,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestStoreType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RequestStoreType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5934,7 +5934,7 @@ impl ICEnroll4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetRequestStoreType)(::windows::core::Interface::as_raw(self), bstrtype.into().abi()).ok() } pub unsafe fn RequestStoreFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RequestStoreFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5943,7 +5943,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContainerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ContainerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5957,7 +5957,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5969,21 +5969,21 @@ impl ICEnroll4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetProviderName)(::windows::core::Interface::as_raw(self), bstrprovider.into().abi()).ok() } pub unsafe fn ProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderType(&self, dwtype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetProviderType)(::windows::core::Interface::as_raw(self), dwtype).ok() } pub unsafe fn KeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.KeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeySpec(&self, dw: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetKeySpec)(::windows::core::Interface::as_raw(self), dw).ok() } pub unsafe fn ProviderFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ProviderFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -5992,7 +5992,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UseExistingKeySet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UseExistingKeySet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6004,7 +6004,7 @@ impl ICEnroll4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetUseExistingKeySet)(::windows::core::Interface::as_raw(self), fuseexistingkeys.into()).ok() } pub unsafe fn GenKeyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GenKeyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> ::windows::core::Result<()> { @@ -6013,7 +6013,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DeleteRequestCert(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DeleteRequestCert)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6027,7 +6027,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WriteCertToCSP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.WriteCertToCSP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6041,7 +6041,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SPCFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SPCFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6055,7 +6055,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PVKFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.PVKFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6069,7 +6069,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6100,7 +6100,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WriteCertToUserDS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.WriteCertToUserDS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6114,7 +6114,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnableT61DNEncoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnableT61DNEncoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6137,7 +6137,7 @@ impl ICEnroll4 { (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSupportedKeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSupportedKeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6147,17 +6147,17 @@ impl ICEnroll4 { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetKeyLen)(::windows::core::Interface::as_raw(self), fmin.into(), fexchange.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumAlgs(&self, dwindex: i32, algclass: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumAlgs)(::windows::core::Interface::as_raw(self), dwindex, algclass, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAlgName(&self, algid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAlgName)(::windows::core::Interface::as_raw(self), algid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6171,14 +6171,14 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReuseHardwareKeyIfUnableToGenNew(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReuseHardwareKeyIfUnableToGenNew)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHashAlgID(&self, hashalgid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetHashAlgID)(::windows::core::Interface::as_raw(self), hashalgid).ok() } pub unsafe fn HashAlgID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HashAlgID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6192,7 +6192,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LimitExchangeKeyToEncipherment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LimitExchangeKeyToEncipherment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6206,7 +6206,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnableSMIMECapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnableSMIMECapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6220,7 +6220,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PrivateKeyArchiveCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateKeyArchiveCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6234,7 +6234,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ThumbPrint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ThumbPrint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6243,7 +6243,7 @@ impl ICEnroll4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).binaryToString)(::windows::core::Interface::as_raw(self), flags, strbinary.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6252,7 +6252,7 @@ impl ICEnroll4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).stringToBinary)(::windows::core::Interface::as_raw(self), flags, strencoded.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6295,7 +6295,7 @@ impl ICEnroll4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createRequest)(::windows::core::Interface::as_raw(self), flags, strdnname.into().abi(), usage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6330,7 +6330,7 @@ impl ICEnroll4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getCertFromResponse)(::windows::core::Interface::as_raw(self), strresponse.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6339,7 +6339,7 @@ impl ICEnroll4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getCertFromFileResponse)(::windows::core::Interface::as_raw(self), strresponsefilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6348,7 +6348,7 @@ impl ICEnroll4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createPFX)(::windows::core::Interface::as_raw(self), strpassword.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6373,7 +6373,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn enumPendingRequest(&self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).enumPendingRequest)(::windows::core::Interface::as_raw(self), lindex, ldesiredproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6385,7 +6385,7 @@ impl ICEnroll4 { (::windows::core::Interface::vtable(self).removePendingRequest)(::windows::core::Interface::as_raw(self), strthumbprint.into().abi()).ok() } pub unsafe fn GetKeyLenEx(&self, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyLenEx)(::windows::core::Interface::as_raw(self), lsizespec, lkeyspec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6394,7 +6394,7 @@ impl ICEnroll4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstallPKCS7Ex)(::windows::core::Interface::as_raw(self), pkcs7.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6412,7 +6412,7 @@ impl ICEnroll4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getProviderType)(::windows::core::Interface::as_raw(self), strprovname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6427,7 +6427,7 @@ impl ICEnroll4 { (::windows::core::Interface::vtable(self).SetClientId)(::windows::core::Interface::as_raw(self), lclientid).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6452,7 +6452,7 @@ impl ICEnroll4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IncludeSubjectKeyID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncludeSubjectKeyID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6708,11 +6708,11 @@ impl ICertAdmin { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsValidCertificate)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), strserialnumber.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRevocationReason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRevocationReason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6756,7 +6756,7 @@ impl ICertAdmin { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResubmitRequest)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), requestid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6773,7 +6773,7 @@ impl ICertAdmin { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCRL)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6783,7 +6783,7 @@ impl ICertAdmin { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportCertificate)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), strcertificate.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6904,11 +6904,11 @@ impl ICertAdmin2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsValidCertificate)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), strserialnumber.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRevocationReason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRevocationReason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6952,7 +6952,7 @@ impl ICertAdmin2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ResubmitRequest)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), requestid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6969,7 +6969,7 @@ impl ICertAdmin2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCRL)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6979,7 +6979,7 @@ impl ICertAdmin2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ImportCertificate)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), strcertificate.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6996,7 +6996,7 @@ impl ICertAdmin2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAProperty)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), propid, propindex, proptype, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7013,7 +7013,7 @@ impl ICertAdmin2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAPropertyFlags)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), propid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7022,7 +7022,7 @@ impl ICertAdmin2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAPropertyDisplayName)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), propid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7031,7 +7031,7 @@ impl ICertAdmin2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetArchivedKey)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), requestid, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7042,7 +7042,7 @@ impl ICertAdmin2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConfigEntry)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), strnodepath.into().abi(), strentryname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7071,7 +7071,7 @@ impl ICertAdmin2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMyRoles)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7080,7 +7080,7 @@ impl ICertAdmin2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeleteRow)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), flags, date, table, rowid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7220,11 +7220,11 @@ pub struct ICertConfig(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertConfig { pub unsafe fn Reset(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7233,13 +7233,13 @@ impl ICertConfig { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetField)(::windows::core::Interface::as_raw(self), strfieldname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetConfig(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConfig)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7327,11 +7327,11 @@ pub struct ICertConfig2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertConfig2 { pub unsafe fn Reset(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7340,13 +7340,13 @@ impl ICertConfig2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetField)(::windows::core::Interface::as_raw(self), strfieldname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetConfig(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetConfig)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7462,17 +7462,17 @@ impl ICertEncodeAltName { (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetNameCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNameCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNameChoice(&self, nameindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNameChoice)(::windows::core::Interface::as_raw(self), nameindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, nameindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), nameindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, namecount: i32) -> ::windows::core::Result<()> { @@ -7489,7 +7489,7 @@ impl ICertEncodeAltName { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7594,17 +7594,17 @@ impl ICertEncodeAltName2 { (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetNameCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNameCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNameChoice(&self, nameindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNameChoice)(::windows::core::Interface::as_raw(self), nameindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, nameindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), nameindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, namecount: i32) -> ::windows::core::Result<()> { @@ -7621,7 +7621,7 @@ impl ICertEncodeAltName2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7635,13 +7635,13 @@ impl ICertEncodeAltName2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNameBlob(&self, nameindex: i32, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNameBlob)(::windows::core::Interface::as_raw(self), nameindex, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7769,13 +7769,13 @@ impl ICertEncodeBitString { (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetBitCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBitString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7784,7 +7784,7 @@ impl ICertEncodeBitString { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), bitcount, strbitstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7883,13 +7883,13 @@ impl ICertEncodeBitString2 { (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetBitCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBitCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBitString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBitString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7898,7 +7898,7 @@ impl ICertEncodeBitString2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), bitcount, strbitstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7915,13 +7915,13 @@ impl ICertEncodeBitString2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), bitcount, strbitstring.into().abi(), encodingin, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBitStringBlob(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitStringBlob)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8037,21 +8037,21 @@ impl ICertEncodeCRLDistInfo { (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetDistPointCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDistPointCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNameCount(&self, distpointindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNameCount)(::windows::core::Interface::as_raw(self), distpointindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNameChoice(&self, distpointindex: i32, nameindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNameChoice)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, distpointindex: i32, nameindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, distpointcount: i32) -> ::windows::core::Result<()> { @@ -8071,7 +8071,7 @@ impl ICertEncodeCRLDistInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8178,21 +8178,21 @@ impl ICertEncodeCRLDistInfo2 { (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetDistPointCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDistPointCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNameCount(&self, distpointindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNameCount)(::windows::core::Interface::as_raw(self), distpointindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNameChoice(&self, distpointindex: i32, nameindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNameChoice)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, distpointindex: i32, nameindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), distpointindex, nameindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, distpointcount: i32) -> ::windows::core::Result<()> { @@ -8212,7 +8212,7 @@ impl ICertEncodeCRLDistInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8226,7 +8226,7 @@ impl ICertEncodeCRLDistInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8338,11 +8338,11 @@ impl ICertEncodeDateArray { (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, count: i32) -> ::windows::core::Result<()> { @@ -8354,7 +8354,7 @@ impl ICertEncodeDateArray { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8452,11 +8452,11 @@ impl ICertEncodeDateArray2 { (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, count: i32) -> ::windows::core::Result<()> { @@ -8468,7 +8468,7 @@ impl ICertEncodeDateArray2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8482,7 +8482,7 @@ impl ICertEncodeDateArray2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8594,11 +8594,11 @@ impl ICertEncodeLongArray { (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, count: i32) -> ::windows::core::Result<()> { @@ -8610,7 +8610,7 @@ impl ICertEncodeLongArray { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8708,11 +8708,11 @@ impl ICertEncodeLongArray2 { (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, count: i32) -> ::windows::core::Result<()> { @@ -8724,7 +8724,7 @@ impl ICertEncodeLongArray2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8738,7 +8738,7 @@ impl ICertEncodeLongArray2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8850,17 +8850,17 @@ impl ICertEncodeStringArray { (::windows::core::Interface::vtable(self).Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetStringType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, count: i32, stringtype: super::CERT_RDN_ATTR_VALUE_TYPE) -> ::windows::core::Result<()> { @@ -8877,7 +8877,7 @@ impl ICertEncodeStringArray { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8982,17 +8982,17 @@ impl ICertEncodeStringArray2 { (::windows::core::Interface::vtable(self).base__.Decode)(::windows::core::Interface::as_raw(self), strbinary.into().abi()).ok() } pub unsafe fn GetStringType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValue(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, count: i32, stringtype: super::CERT_RDN_ATTR_VALUE_TYPE) -> ::windows::core::Result<()> { @@ -9009,7 +9009,7 @@ impl ICertEncodeStringArray2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Encode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Encode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9023,7 +9023,7 @@ impl ICertEncodeStringArray2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncodeBlob)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9132,7 +9132,7 @@ impl ICertExit { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Notify(&self, exitevent: i32, context: i32) -> ::windows::core::Result<()> { @@ -9141,7 +9141,7 @@ impl ICertExit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9233,7 +9233,7 @@ impl ICertExit2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Notify(&self, exitevent: i32, context: i32) -> ::windows::core::Result<()> { @@ -9242,13 +9242,13 @@ impl ICertExit2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetManageModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetManageModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9350,7 +9350,7 @@ impl ICertGetConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetConfig(&self, flags: CERT_GET_CONFIG_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConfig)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9439,7 +9439,7 @@ impl ICertManageModule { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), strstoragelocation.into().abi(), strpropertyname.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9561,13 +9561,13 @@ impl ICertPolicy { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VerifyRequest)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), context, bnewrequest, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShutDown(&self) -> ::windows::core::Result<()> { @@ -9674,13 +9674,13 @@ impl ICertPolicy2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VerifyRequest)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), context, bnewrequest, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShutDown(&self) -> ::windows::core::Result<()> { @@ -9689,7 +9689,7 @@ impl ICertPolicy2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetManageModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetManageModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9791,15 +9791,15 @@ impl ICertProperties { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9931,7 +9931,7 @@ impl ICertProperty { (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -9940,7 +9940,7 @@ impl ICertProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10072,7 +10072,7 @@ impl ICertPropertyArchived { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -10081,7 +10081,7 @@ impl ICertPropertyArchived { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10104,7 +10104,7 @@ impl ICertPropertyArchived { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), archivedvalue).ok() } pub unsafe fn Archived(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Archived)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10218,7 +10218,7 @@ impl ICertPropertyArchivedKeyHash { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -10227,7 +10227,7 @@ impl ICertPropertyArchivedKeyHash { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10257,7 +10257,7 @@ impl ICertPropertyArchivedKeyHash { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_ArchivedKeyHash(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ArchivedKeyHash)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10377,7 +10377,7 @@ impl ICertPropertyAutoEnroll { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -10386,7 +10386,7 @@ impl ICertPropertyAutoEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10416,7 +10416,7 @@ impl ICertPropertyAutoEnroll { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TemplateName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TemplateName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10536,7 +10536,7 @@ impl ICertPropertyBackedUp { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -10545,7 +10545,7 @@ impl ICertPropertyBackedUp { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10571,11 +10571,11 @@ impl ICertPropertyBackedUp { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), backedupvalue, date).ok() } pub unsafe fn BackedUpValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackedUpValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BackedUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackedUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10691,7 +10691,7 @@ impl ICertPropertyDescription { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -10700,7 +10700,7 @@ impl ICertPropertyDescription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10730,7 +10730,7 @@ impl ICertPropertyDescription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10850,7 +10850,7 @@ impl ICertPropertyEnrollment { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -10859,7 +10859,7 @@ impl ICertPropertyEnrollment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10889,25 +10889,25 @@ impl ICertPropertyEnrollment { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), requestid, strcadnsname.into().abi(), strcaname.into().abi(), strfriendlyname.into().abi()).ok() } pub unsafe fn RequestId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CADnsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CADnsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11036,7 +11036,7 @@ impl ICertPropertyEnrollmentPolicyServer { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -11045,7 +11045,7 @@ impl ICertPropertyEnrollmentPolicyServer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11078,41 +11078,41 @@ impl ICertPropertyEnrollmentPolicyServer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPolicyServerUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicyServerUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPolicyServerId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicyServerId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnrollmentServerUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnrollmentServerUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRequestIdString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestIdString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUrlFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUrlFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthentication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAuthentication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEnrollmentServerAuthentication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnrollmentServerAuthentication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11248,7 +11248,7 @@ impl ICertPropertyFriendlyName { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -11257,7 +11257,7 @@ impl ICertPropertyFriendlyName { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11287,7 +11287,7 @@ impl ICertPropertyFriendlyName { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11407,7 +11407,7 @@ impl ICertPropertyKeyProvInfo { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -11416,7 +11416,7 @@ impl ICertPropertyKeyProvInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11446,7 +11446,7 @@ impl ICertPropertyKeyProvInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11566,7 +11566,7 @@ impl ICertPropertyRenewal { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -11575,7 +11575,7 @@ impl ICertPropertyRenewal { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11613,7 +11613,7 @@ impl ICertPropertyRenewal { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Renewal(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Renewal)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11737,7 +11737,7 @@ impl ICertPropertyRequestOriginator { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -11746,7 +11746,7 @@ impl ICertPropertyRequestOriginator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11779,7 +11779,7 @@ impl ICertPropertyRequestOriginator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestOriginator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestOriginator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11900,7 +11900,7 @@ impl ICertPropertySHA1Hash { (::windows::core::Interface::vtable(self).base__.InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> ::windows::core::Result<()> { @@ -11909,7 +11909,7 @@ impl ICertPropertySHA1Hash { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11939,7 +11939,7 @@ impl ICertPropertySHA1Hash { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_SHA1Hash(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SHA1Hash)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12050,7 +12050,7 @@ impl ICertRequest { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Submit)(::windows::core::Interface::as_raw(self), flags, strrequest.into().abi(), strattributes.into().abi(), strconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12059,21 +12059,21 @@ impl ICertRequest { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetrievePending)(::windows::core::Interface::as_raw(self), requestid, strconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRequestId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDispositionMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDispositionMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12082,13 +12082,13 @@ impl ICertRequest { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCACertificate)(::windows::core::Interface::as_raw(self), fexchangecertificate, strconfig.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCertificate(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificate)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12195,7 +12195,7 @@ impl ICertRequest2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Submit)(::windows::core::Interface::as_raw(self), flags, strrequest.into().abi(), strattributes.into().abi(), strconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12204,21 +12204,21 @@ impl ICertRequest2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RetrievePending)(::windows::core::Interface::as_raw(self), requestid, strconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLastStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRequestId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRequestId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDispositionMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDispositionMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12227,13 +12227,13 @@ impl ICertRequest2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCACertificate)(::windows::core::Interface::as_raw(self), fexchangecertificate, strconfig.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCertificate(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCertificate)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12243,13 +12243,13 @@ impl ICertRequest2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIssuedCertificate)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), requestid, strserialnumber.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetErrorMessageText(&self, hrmessage: i32, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorMessageText)(::windows::core::Interface::as_raw(self), hrmessage, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12258,7 +12258,7 @@ impl ICertRequest2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAProperty)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), propid, propindex, proptype, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12267,7 +12267,7 @@ impl ICertRequest2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAPropertyFlags)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), propid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12276,13 +12276,13 @@ impl ICertRequest2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAPropertyDisplayName)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), propid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetFullResponseProperty(&self, propid: FULL_RESPONSE_PROPERTY_ID, propindex: i32, proptype: CERT_PROPERTY_TYPE, flags: CERT_REQUEST_OUT_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFullResponseProperty)(::windows::core::Interface::as_raw(self), propid, propindex, proptype, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12409,7 +12409,7 @@ impl ICertRequest3 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Submit)(::windows::core::Interface::as_raw(self), flags, strrequest.into().abi(), strattributes.into().abi(), strconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12418,21 +12418,21 @@ impl ICertRequest3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RetrievePending)(::windows::core::Interface::as_raw(self), requestid, strconfig.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLastStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRequestId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRequestId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDispositionMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDispositionMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12441,13 +12441,13 @@ impl ICertRequest3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCACertificate)(::windows::core::Interface::as_raw(self), fexchangecertificate, strconfig.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCertificate(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCertificate)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12457,13 +12457,13 @@ impl ICertRequest3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIssuedCertificate)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), requestid, strserialnumber.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetErrorMessageText(&self, hrmessage: i32, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetErrorMessageText)(::windows::core::Interface::as_raw(self), hrmessage, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12472,7 +12472,7 @@ impl ICertRequest3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCAProperty)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), propid, propindex, proptype, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12481,7 +12481,7 @@ impl ICertRequest3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCAPropertyFlags)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), propid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12490,13 +12490,13 @@ impl ICertRequest3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCAPropertyDisplayName)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), propid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetFullResponseProperty(&self, propid: FULL_RESPONSE_PROPERTY_ID, propindex: i32, proptype: CERT_PROPERTY_TYPE, flags: CERT_REQUEST_OUT_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFullResponseProperty)(::windows::core::Interface::as_raw(self), propid, propindex, proptype, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12511,7 +12511,7 @@ impl ICertRequest3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRequestIdString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestIdString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12522,11 +12522,11 @@ impl ICertRequest3 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIssuedCertificate2)(::windows::core::Interface::as_raw(self), strconfig.into().abi(), strrequestid.into().abi(), strserialnumber.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRefreshPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRefreshPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12661,7 +12661,7 @@ impl ICertRequestD { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCACert)(::windows::core::Interface::as_raw(self), fchain, pwszauthority.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Ping<'a, P0>(&self, pwszauthority: P0) -> ::windows::core::Result<()> @@ -12729,7 +12729,7 @@ impl ICertRequestD2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCACert)(::windows::core::Interface::as_raw(self), fchain, pwszauthority.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Ping<'a, P0>(&self, pwszauthority: P0) -> ::windows::core::Result<()> @@ -12750,7 +12750,7 @@ impl ICertRequestD2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAProperty)(::windows::core::Interface::as_raw(self), pwszauthority.into(), propid, propindex, proptype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCAPropertyInfo<'a, P0>(&self, pwszauthority: P0, pcproperty: *mut i32, pctbpropinfo: *mut CERTTRANSBLOB) -> ::windows::core::Result<()> @@ -12840,7 +12840,7 @@ impl ICertServerExit { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestProperty)(::windows::core::Interface::as_raw(self), strpropertyname.into().abi(), propertytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12849,7 +12849,7 @@ impl ICertServerExit { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12858,7 +12858,7 @@ impl ICertServerExit { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateProperty)(::windows::core::Interface::as_raw(self), strpropertyname.into().abi(), propertytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12867,11 +12867,11 @@ impl ICertServerExit { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateExtension)(::windows::core::Interface::as_raw(self), strextensionname.into().abi(), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCertificateExtensionFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateExtensionFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateExtensionsSetup(&self, flags: i32) -> ::windows::core::Result<()> { @@ -12880,7 +12880,7 @@ impl ICertServerExit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnumerateExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateExtensionsClose(&self) -> ::windows::core::Result<()> { @@ -12892,7 +12892,7 @@ impl ICertServerExit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnumerateAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateAttributesClose(&self) -> ::windows::core::Result<()> { @@ -13011,7 +13011,7 @@ impl ICertServerPolicy { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestProperty)(::windows::core::Interface::as_raw(self), strpropertyname.into().abi(), propertytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13020,7 +13020,7 @@ impl ICertServerPolicy { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13029,7 +13029,7 @@ impl ICertServerPolicy { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateProperty)(::windows::core::Interface::as_raw(self), strpropertyname.into().abi(), propertytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13046,11 +13046,11 @@ impl ICertServerPolicy { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateExtension)(::windows::core::Interface::as_raw(self), strextensionname.into().abi(), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCertificateExtensionFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateExtensionFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13067,7 +13067,7 @@ impl ICertServerPolicy { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnumerateExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateExtensionsClose(&self) -> ::windows::core::Result<()> { @@ -13079,7 +13079,7 @@ impl ICertServerPolicy { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnumerateAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateAttributesClose(&self) -> ::windows::core::Result<()> { @@ -13208,7 +13208,7 @@ impl ICertView { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCertViewColumn(&self, fresultcolumn: CVRC_COLUMN) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCertViewColumn)(::windows::core::Interface::as_raw(self), fresultcolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColumnCount(&self, fresultcolumn: CVRC_COLUMN, pccolumn: *mut i32) -> ::windows::core::Result<()> { @@ -13236,7 +13236,7 @@ impl ICertView { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OpenView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13347,7 +13347,7 @@ impl ICertView2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCertViewColumn(&self, fresultcolumn: CVRC_COLUMN) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumCertViewColumn)(::windows::core::Interface::as_raw(self), fresultcolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColumnCount(&self, fresultcolumn: CVRC_COLUMN, pccolumn: *mut i32) -> ::windows::core::Result<()> { @@ -13375,7 +13375,7 @@ impl ICertView2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OpenView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTable(&self, table: CVRC_TABLE) -> ::windows::core::Result<()> { @@ -13485,13 +13485,13 @@ impl ICertificateAttestationChallenge { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DecryptChallenge(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DecryptChallenge)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13591,13 +13591,13 @@ impl ICertificateAttestationChallenge2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DecryptChallenge(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DecryptChallenge)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RequestID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13719,15 +13719,15 @@ impl ICertificatePolicies { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13841,13 +13841,13 @@ impl ICertificatePolicy { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyQualifiers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyQualifiers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13939,15 +13939,15 @@ impl ICertificationAuthorities { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13973,7 +13973,7 @@ impl ICertificationAuthorities { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), strname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14070,7 +14070,7 @@ impl ICertificationAuthority { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Property(&self, property: EnrollmentCAProperty) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14170,13 +14170,13 @@ impl ICryptAttribute { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Values(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Values)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14272,15 +14272,15 @@ impl ICryptAttributes { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14303,7 +14303,7 @@ impl ICryptAttributes { where P0: ::std::convert::Into<::windows::core::InParam<'a, IObjectId>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_IndexByObjectId)(::windows::core::Interface::as_raw(self), pobjectid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14411,47 +14411,47 @@ impl ICspAlgorithm { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAlgorithmOid(&self, length: i32, algflags: AlgorithmFlags) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlgorithmOid)(::windows::core::Interface::as_raw(self), length, algflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IncrementLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncrementLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LongName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LongName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Valid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Valid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Operations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Operations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14550,15 +14550,15 @@ impl ICspAlgorithms { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14581,7 +14581,7 @@ impl ICspAlgorithms { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), strname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14590,7 +14590,7 @@ impl ICspAlgorithms { where P0: ::std::convert::Into<::windows::core::InParam<'a, IObjectId>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_IndexByObjectId)(::windows::core::Interface::as_raw(self), pobjectid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14706,63 +14706,63 @@ impl ICspInformation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspAlgorithms(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CspAlgorithms)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HasHardwareRandomNumberGenerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasHardwareRandomNumberGenerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHardwareDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsHardwareDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsRemovable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRemovable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSoftwareDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSoftwareDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Valid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Valid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaxKeyContainerNameLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxKeyContainerNameLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn KeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSmartCard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDefaultSecurityDescriptor(&self, machinecontext: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultSecurityDescriptor)(::windows::core::Interface::as_raw(self), machinecontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LegacyCsp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LegacyCsp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14771,7 +14771,7 @@ impl ICspInformation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IObjectId>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCspStatusFromOperations)(::windows::core::Interface::as_raw(self), palgorithm.into().abi(), operations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14886,15 +14886,15 @@ impl ICspInformations { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14920,7 +14920,7 @@ impl ICspInformations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), strname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14929,7 +14929,7 @@ impl ICspInformations { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCspStatusFromProviderName)(::windows::core::Interface::as_raw(self), strprovidername.into().abi(), legacykeyspec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14938,7 +14938,7 @@ impl ICspInformations { where P0: ::std::convert::Into<::windows::core::InParam<'a, ICspInformation>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCspStatusesFromOperations)(::windows::core::Interface::as_raw(self), operations, pcspinformation.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14947,7 +14947,7 @@ impl ICspInformations { where P0: ::std::convert::Into<::windows::core::InParam<'a, ICspInformation>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEncryptionCspAlgorithms)(::windows::core::Interface::as_raw(self), pcspinformation.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14956,7 +14956,7 @@ impl ICspInformations { where P0: ::std::convert::Into<::windows::core::InParam<'a, ICspInformation>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHashAlgorithms)(::windows::core::Interface::as_raw(self), pcspinformation.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15076,7 +15076,7 @@ impl ICspStatus { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pcsp.into().abi(), palgorithm.into().abi()).ok() } pub unsafe fn Ordinal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ordinal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOrdinal(&self, value: i32) -> ::windows::core::Result<()> { @@ -15085,25 +15085,25 @@ impl ICspStatus { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CspAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CspInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnrollmentStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnrollmentStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15205,15 +15205,15 @@ impl ICspStatuses { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15237,13 +15237,13 @@ impl ICspStatuses { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), strcspname.into().abi(), stralgorithmname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByOrdinal(&self, ordinal: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByOrdinal)(::windows::core::Interface::as_raw(self), ordinal, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -15253,7 +15253,7 @@ impl ICspStatuses { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByOperations)(::windows::core::Interface::as_raw(self), strcspname.into().abi(), stralgorithmname.into().abi(), operations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15262,7 +15262,7 @@ impl ICspStatuses { where P0: ::std::convert::Into<::windows::core::InParam<'a, ICspStatus>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByProvider)(::windows::core::Interface::as_raw(self), pcspstatus.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17066,7 +17066,7 @@ impl IEnumCERTVIEWATTRIBUTE { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17194,7 +17194,7 @@ impl IEnumCERTVIEWCOLUMN { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17318,7 +17318,7 @@ impl IEnumCERTVIEWEXTENSION { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17417,19 +17417,19 @@ impl IEnumCERTVIEWROW { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCertViewColumn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCertViewColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCertViewAttribute(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCertViewAttribute)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCertViewExtension(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCertViewExtension)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Skip(&self, celt: i32) -> ::windows::core::Result<()> { @@ -17441,7 +17441,7 @@ impl IEnumCERTVIEWROW { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxIndex(&self, pindex: *mut i32) -> ::windows::core::Result<()> { @@ -17578,7 +17578,7 @@ impl INDESPolicy { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateChallenge)(::windows::core::Interface::as_raw(self), pwsztemplate.into(), pwszparams.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17655,13 +17655,13 @@ impl IOCSPAdmin { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OCSPServiceProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OCSPServiceProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OCSPCAConfigurationCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OCSPCAConfigurationCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17686,7 +17686,7 @@ impl IOCSPAdmin { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMyRoles)(::windows::core::Interface::as_raw(self), bstrservername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17712,7 +17712,7 @@ impl IOCSPAdmin { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurity)(::windows::core::Interface::as_raw(self), bstrservername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17721,7 +17721,7 @@ impl IOCSPAdmin { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSigningCertificates)(::windows::core::Interface::as_raw(self), bstrservername.into().abi(), ::core::mem::transmute(pcacertvar), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17731,7 +17731,7 @@ impl IOCSPAdmin { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHashAlgorithms)(::windows::core::Interface::as_raw(self), bstrservername.into().abi(), bstrcaid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17851,19 +17851,19 @@ impl IOCSPCAConfiguration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Identifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Identifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CACertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CACertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17875,7 +17875,7 @@ impl IOCSPCAConfiguration { (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn SigningFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SigningFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSigningFlags(&self, newval: u32) -> ::windows::core::Result<()> { @@ -17884,7 +17884,7 @@ impl IOCSPCAConfiguration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SigningCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SigningCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17896,30 +17896,30 @@ impl IOCSPCAConfiguration { (::windows::core::Interface::vtable(self).SetSigningCertificate)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn ReminderDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReminderDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReminderDuration(&self, newval: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetReminderDuration)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ErrorCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ErrorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CSPName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSPName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn KeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderCLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17933,7 +17933,7 @@ impl IOCSPCAConfiguration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ProviderProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17945,13 +17945,13 @@ impl IOCSPCAConfiguration { (::windows::core::Interface::vtable(self).SetProviderProperties)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LocalRevocationInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalRevocationInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -17965,7 +17965,7 @@ impl IOCSPCAConfiguration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SigningCertificateTemplate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SigningCertificateTemplate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17979,7 +17979,7 @@ impl IOCSPCAConfiguration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAConfig(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18140,17 +18140,17 @@ pub struct IOCSPCAConfigurationCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOCSPCAConfigurationCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18159,7 +18159,7 @@ impl IOCSPCAConfigurationCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), bstridentifier.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18169,7 +18169,7 @@ impl IOCSPCAConfigurationCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCAConfiguration)(::windows::core::Interface::as_raw(self), bstridentifier.into().abi(), varcacert.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18275,13 +18275,13 @@ impl IOCSPProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18293,7 +18293,7 @@ impl IOCSPProperty { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn Modified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Modified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18384,17 +18384,17 @@ pub struct IOCSPPropertyCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOCSPPropertyCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18403,7 +18403,7 @@ impl IOCSPPropertyCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), bstrpropname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -18412,7 +18412,7 @@ impl IOCSPPropertyCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateProperty)(::windows::core::Interface::as_raw(self), bstrpropname.into().abi(), ::core::mem::transmute(pvarpropvalue), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18431,7 +18431,7 @@ impl IOCSPPropertyCollection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetAllProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18554,13 +18554,13 @@ impl IObjectId { (::windows::core::Interface::vtable(self).InitializeFromAlgorithmName)(::windows::core::Interface::as_raw(self), groupid, keyflags, algflags, stralgorithmname.into().abi()).ok() } pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18574,13 +18574,13 @@ impl IObjectId { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAlgorithmName(&self, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlgorithmName)(::windows::core::Interface::as_raw(self), groupid, keyflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18686,15 +18686,15 @@ impl IObjectIds { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -18820,23 +18820,23 @@ impl IPolicyQualifier { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Qualifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Qualifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18933,15 +18933,15 @@ impl IPolicyQualifiers { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -19071,24 +19071,24 @@ impl ISignerCertificate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Certificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -19097,7 +19097,7 @@ impl ISignerCertificate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19119,7 +19119,7 @@ impl ISignerCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19231,15 +19231,15 @@ impl ISignerCertificates { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -19262,7 +19262,7 @@ impl ISignerCertificates { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISignerCertificate>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Find)(::windows::core::Interface::as_raw(self), psignercert.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19358,15 +19358,15 @@ impl ISmimeCapabilities { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -19496,11 +19496,11 @@ impl ISmimeCapability { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BitCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BitCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19605,13 +19605,13 @@ impl IX500DistinguishedName { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_EncodedName(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EncodedName)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19716,13 +19716,13 @@ impl IX509Attribute { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19823,13 +19823,13 @@ impl IX509AttributeArchiveKey { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19853,17 +19853,17 @@ impl IX509AttributeArchiveKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_EncryptedKeyBlob(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EncryptedKeyBlob)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptionStrength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19987,13 +19987,13 @@ impl IX509AttributeArchiveKeyHash { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20015,7 +20015,7 @@ impl IX509AttributeArchiveKeyHash { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_EncryptedKeyHashBlob(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EncryptedKeyHashBlob)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20134,13 +20134,13 @@ impl IX509AttributeClientId { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20162,25 +20162,25 @@ impl IX509AttributeClientId { (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MachineDnsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MachineDnsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserSamName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserSamName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProcessName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProcessName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20308,13 +20308,13 @@ impl IX509AttributeCspProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20335,19 +20335,19 @@ impl IX509AttributeCspProvider { (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn KeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Signature)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20471,13 +20471,13 @@ impl IX509AttributeExtensions { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -20499,7 +20499,7 @@ impl IX509AttributeExtensions { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20618,13 +20618,13 @@ impl IX509AttributeOSVersion { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20646,7 +20646,7 @@ impl IX509AttributeOSVersion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OSVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OSVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20765,13 +20765,13 @@ impl IX509AttributeRenewalCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20793,7 +20793,7 @@ impl IX509AttributeRenewalCertificate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20903,15 +20903,15 @@ impl IX509Attributes { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21026,26 +21026,26 @@ impl IX509CertificateRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -21054,7 +21054,7 @@ impl IX509CertificateRequest { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21066,7 +21066,7 @@ impl IX509CertificateRequest { (::windows::core::Interface::vtable(self).SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -21075,7 +21075,7 @@ impl IX509CertificateRequest { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21087,7 +21087,7 @@ impl IX509CertificateRequest { (::windows::core::Interface::vtable(self).put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -21096,7 +21096,7 @@ impl IX509CertificateRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21110,7 +21110,7 @@ impl IX509CertificateRequest { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21122,7 +21122,7 @@ impl IX509CertificateRequest { (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -21131,7 +21131,7 @@ impl IX509CertificateRequest { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21275,26 +21275,26 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -21303,7 +21303,7 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21315,7 +21315,7 @@ impl IX509CertificateRequestCertificate { (::windows::core::Interface::vtable(self).base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -21324,7 +21324,7 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21336,7 +21336,7 @@ impl IX509CertificateRequestCertificate { (::windows::core::Interface::vtable(self).base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -21345,7 +21345,7 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21359,7 +21359,7 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21371,7 +21371,7 @@ impl IX509CertificateRequestCertificate { (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -21380,7 +21380,7 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21429,45 +21429,45 @@ impl IX509CertificateRequestCertificate { (::windows::core::Interface::vtable(self).base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() } pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSmartCard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PublicKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PublicKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReuseKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReuseKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21481,11 +21481,11 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatuses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CspStatuses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmimeCapabilities(&self, value: i16) -> ::windows::core::Result<()> { @@ -21494,13 +21494,13 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21514,43 +21514,43 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CryptAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SuppressOids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21564,7 +21564,7 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Issuer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Issuer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21576,14 +21576,14 @@ impl IX509CertificateRequestCertificate { (::windows::core::Interface::vtable(self).SetIssuer)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn NotBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NotBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotBefore(&self, value: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNotBefore)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn NotAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NotAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotAfter(&self, value: f64) -> ::windows::core::Result<()> { @@ -21592,7 +21592,7 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_SerialNumber(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SerialNumber)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21606,7 +21606,7 @@ impl IX509CertificateRequestCertificate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21771,26 +21771,26 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -21799,7 +21799,7 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21811,7 +21811,7 @@ impl IX509CertificateRequestCertificate2 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -21820,7 +21820,7 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21832,7 +21832,7 @@ impl IX509CertificateRequestCertificate2 { (::windows::core::Interface::vtable(self).base__.base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -21841,7 +21841,7 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21855,7 +21855,7 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21867,7 +21867,7 @@ impl IX509CertificateRequestCertificate2 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -21876,7 +21876,7 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21925,45 +21925,45 @@ impl IX509CertificateRequestCertificate2 { (::windows::core::Interface::vtable(self).base__.base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() } pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsSmartCard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PublicKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PublicKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReuseKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ReuseKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21977,11 +21977,11 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatuses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CspStatuses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmimeCapabilities(&self, value: i16) -> ::windows::core::Result<()> { @@ -21990,13 +21990,13 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22010,43 +22010,43 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CryptAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SuppressOids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22060,7 +22060,7 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Issuer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Issuer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22072,14 +22072,14 @@ impl IX509CertificateRequestCertificate2 { (::windows::core::Interface::vtable(self).base__.SetIssuer)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn NotBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NotBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotBefore(&self, value: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetNotBefore)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn NotAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NotAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotAfter(&self, value: f64) -> ::windows::core::Result<()> { @@ -22088,7 +22088,7 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_SerialNumber(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_SerialNumber)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22102,7 +22102,7 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22135,13 +22135,13 @@ impl IX509CertificateRequestCertificate2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22300,26 +22300,26 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -22328,7 +22328,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22340,7 +22340,7 @@ impl IX509CertificateRequestCmc { (::windows::core::Interface::vtable(self).base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -22349,7 +22349,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22361,7 +22361,7 @@ impl IX509CertificateRequestCmc { (::windows::core::Interface::vtable(self).base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -22370,7 +22370,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22384,7 +22384,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22396,7 +22396,7 @@ impl IX509CertificateRequestCmc { (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -22405,7 +22405,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22443,7 +22443,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequesterName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RequesterName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22457,7 +22457,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22480,45 +22480,45 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TemplateObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CryptAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NameValuePairs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SuppressOids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransactionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransactionId(&self, value: i32) -> ::windows::core::Result<()> { @@ -22527,7 +22527,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_SenderNonce(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SenderNonce)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22541,11 +22541,11 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ArchivePrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArchivePrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetArchivePrivateKey(&self, value: i16) -> ::windows::core::Result<()> { @@ -22554,7 +22554,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_KeyArchivalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_KeyArchivalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22568,7 +22568,7 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22580,7 +22580,7 @@ impl IX509CertificateRequestCmc { (::windows::core::Interface::vtable(self).SetEncryptionAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptionStrength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEncryptionStrength(&self, value: i32) -> ::windows::core::Result<()> { @@ -22589,13 +22589,13 @@ impl IX509CertificateRequestCmc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_EncryptedKeyHash(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EncryptedKeyHash)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignerCertificates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22791,26 +22791,26 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -22819,7 +22819,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22831,7 +22831,7 @@ impl IX509CertificateRequestCmc2 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -22840,7 +22840,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22852,7 +22852,7 @@ impl IX509CertificateRequestCmc2 { (::windows::core::Interface::vtable(self).base__.base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -22861,7 +22861,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22875,7 +22875,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22887,7 +22887,7 @@ impl IX509CertificateRequestCmc2 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -22896,7 +22896,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22934,7 +22934,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequesterName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RequesterName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22948,7 +22948,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SignerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22971,45 +22971,45 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CryptAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NameValuePairs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SuppressOids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransactionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransactionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransactionId(&self, value: i32) -> ::windows::core::Result<()> { @@ -23018,7 +23018,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_SenderNonce(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_SenderNonce)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23032,11 +23032,11 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ArchivePrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ArchivePrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetArchivePrivateKey(&self, value: i16) -> ::windows::core::Result<()> { @@ -23045,7 +23045,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_KeyArchivalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_KeyArchivalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23059,7 +23059,7 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23071,7 +23071,7 @@ impl IX509CertificateRequestCmc2 { (::windows::core::Interface::vtable(self).base__.SetEncryptionAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EncryptionStrength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEncryptionStrength(&self, value: i32) -> ::windows::core::Result<()> { @@ -23080,13 +23080,13 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_EncryptedKeyHash(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_EncryptedKeyHash)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignerCertificates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23111,13 +23111,13 @@ impl IX509CertificateRequestCmc2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckSignature(&self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> ::windows::core::Result<()> { @@ -23292,26 +23292,26 @@ impl IX509CertificateRequestPkcs10 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -23320,7 +23320,7 @@ impl IX509CertificateRequestPkcs10 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23332,7 +23332,7 @@ impl IX509CertificateRequestPkcs10 { (::windows::core::Interface::vtable(self).base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -23341,7 +23341,7 @@ impl IX509CertificateRequestPkcs10 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23353,7 +23353,7 @@ impl IX509CertificateRequestPkcs10 { (::windows::core::Interface::vtable(self).base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -23362,7 +23362,7 @@ impl IX509CertificateRequestPkcs10 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23376,7 +23376,7 @@ impl IX509CertificateRequestPkcs10 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23388,7 +23388,7 @@ impl IX509CertificateRequestPkcs10 { (::windows::core::Interface::vtable(self).base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -23397,7 +23397,7 @@ impl IX509CertificateRequestPkcs10 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23446,45 +23446,45 @@ impl IX509CertificateRequestPkcs10 { (::windows::core::Interface::vtable(self).CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() } pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSmartCard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TemplateObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PublicKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PublicKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReuseKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReuseKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23498,11 +23498,11 @@ impl IX509CertificateRequestPkcs10 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatuses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CspStatuses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmimeCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmimeCapabilities(&self, value: i16) -> ::windows::core::Result<()> { @@ -23511,13 +23511,13 @@ impl IX509CertificateRequestPkcs10 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23531,43 +23531,43 @@ impl IX509CertificateRequestPkcs10 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CryptAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SuppressOids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Signature)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23768,26 +23768,26 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -23796,7 +23796,7 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23808,7 +23808,7 @@ impl IX509CertificateRequestPkcs10V2 { (::windows::core::Interface::vtable(self).base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -23817,7 +23817,7 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23829,7 +23829,7 @@ impl IX509CertificateRequestPkcs10V2 { (::windows::core::Interface::vtable(self).base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -23838,7 +23838,7 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23852,7 +23852,7 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23864,7 +23864,7 @@ impl IX509CertificateRequestPkcs10V2 { (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -23873,7 +23873,7 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23922,45 +23922,45 @@ impl IX509CertificateRequestPkcs10V2 { (::windows::core::Interface::vtable(self).base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() } pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSmartCard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PublicKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PublicKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReuseKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReuseKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23974,11 +23974,11 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatuses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CspStatuses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmimeCapabilities(&self, value: i16) -> ::windows::core::Result<()> { @@ -23987,13 +23987,13 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24007,43 +24007,43 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CryptAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SuppressOids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24078,13 +24078,13 @@ impl IX509CertificateRequestPkcs10V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24229,26 +24229,26 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -24257,7 +24257,7 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24269,7 +24269,7 @@ impl IX509CertificateRequestPkcs10V3 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -24278,7 +24278,7 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24290,7 +24290,7 @@ impl IX509CertificateRequestPkcs10V3 { (::windows::core::Interface::vtable(self).base__.base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -24299,7 +24299,7 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24313,7 +24313,7 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24325,7 +24325,7 @@ impl IX509CertificateRequestPkcs10V3 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -24334,7 +24334,7 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24383,45 +24383,45 @@ impl IX509CertificateRequestPkcs10V3 { (::windows::core::Interface::vtable(self).base__.base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() } pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsSmartCard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PublicKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PublicKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReuseKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ReuseKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24435,11 +24435,11 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatuses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CspStatuses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmimeCapabilities(&self, value: i16) -> ::windows::core::Result<()> { @@ -24448,13 +24448,13 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24468,43 +24468,43 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CryptAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SuppressOids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24539,17 +24539,17 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PolicyServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Template)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AttestPrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttestPrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttestPrivateKey(&self, value: i16) -> ::windows::core::Result<()> { @@ -24558,7 +24558,7 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_AttestationEncryptionCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AttestationEncryptionCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24572,7 +24572,7 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24584,7 +24584,7 @@ impl IX509CertificateRequestPkcs10V3 { (::windows::core::Interface::vtable(self).SetEncryptionAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptionStrength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEncryptionStrength(&self, value: i32) -> ::windows::core::Result<()> { @@ -24593,7 +24593,7 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ChallengePassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChallengePassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24607,7 +24607,7 @@ impl IX509CertificateRequestPkcs10V3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NameValuePairs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24782,26 +24782,26 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -24810,7 +24810,7 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24822,7 +24822,7 @@ impl IX509CertificateRequestPkcs10V4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -24831,7 +24831,7 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24843,7 +24843,7 @@ impl IX509CertificateRequestPkcs10V4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -24852,7 +24852,7 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24866,7 +24866,7 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24878,7 +24878,7 @@ impl IX509CertificateRequestPkcs10V4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -24887,7 +24887,7 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24936,45 +24936,45 @@ impl IX509CertificateRequestPkcs10V4 { (::windows::core::Interface::vtable(self).base__.base__.base__.CheckSignature)(::windows::core::Interface::as_raw(self), allowedsignaturetypes).ok() } pub unsafe fn IsSmartCard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsSmartCard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.TemplateObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PublicKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.PublicKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.PrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReuseKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ReuseKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_OldCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Subject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Subject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24988,11 +24988,11 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatuses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CspStatuses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SmimeCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmimeCapabilities(&self, value: i16) -> ::windows::core::Result<()> { @@ -25001,13 +25001,13 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeyContainerNamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.KeyContainerNamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25021,43 +25021,43 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CryptAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SuppressOids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.get_Signature)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCspStatuses)(::windows::core::Interface::as_raw(self), keyspec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25092,17 +25092,17 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PolicyServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Template)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AttestPrivateKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AttestPrivateKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttestPrivateKey(&self, value: i16) -> ::windows::core::Result<()> { @@ -25111,7 +25111,7 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_AttestationEncryptionCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_AttestationEncryptionCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25125,7 +25125,7 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EncryptionAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EncryptionAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25137,7 +25137,7 @@ impl IX509CertificateRequestPkcs10V4 { (::windows::core::Interface::vtable(self).base__.SetEncryptionAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn EncryptionStrength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EncryptionStrength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEncryptionStrength(&self, value: i32) -> ::windows::core::Result<()> { @@ -25146,7 +25146,7 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ChallengePassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ChallengePassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25160,18 +25160,18 @@ impl IX509CertificateRequestPkcs10V4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NameValuePairs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClaimType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClaimType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClaimType(&self, value: KeyAttestationClaimType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetClaimType)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn AttestPrivateKeyPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttestPrivateKeyPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttestPrivateKeyPreferred(&self, value: i16) -> ::windows::core::Result<()> { @@ -25339,26 +25339,26 @@ impl IX509CertificateRequestPkcs7 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -25367,7 +25367,7 @@ impl IX509CertificateRequestPkcs7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25379,7 +25379,7 @@ impl IX509CertificateRequestPkcs7 { (::windows::core::Interface::vtable(self).base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -25388,7 +25388,7 @@ impl IX509CertificateRequestPkcs7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25400,7 +25400,7 @@ impl IX509CertificateRequestPkcs7 { (::windows::core::Interface::vtable(self).base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -25409,7 +25409,7 @@ impl IX509CertificateRequestPkcs7 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25423,7 +25423,7 @@ impl IX509CertificateRequestPkcs7 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25435,7 +25435,7 @@ impl IX509CertificateRequestPkcs7 { (::windows::core::Interface::vtable(self).base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -25444,7 +25444,7 @@ impl IX509CertificateRequestPkcs7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25482,7 +25482,7 @@ impl IX509CertificateRequestPkcs7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequesterName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequesterName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25496,7 +25496,7 @@ impl IX509CertificateRequestPkcs7 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25643,26 +25643,26 @@ impl IX509CertificateRequestPkcs7V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetInnerRequest)(::windows::core::Interface::as_raw(self), level, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -25671,7 +25671,7 @@ impl IX509CertificateRequestPkcs7V2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25683,7 +25683,7 @@ impl IX509CertificateRequestPkcs7V2 { (::windows::core::Interface::vtable(self).base__.base__.SetUIContextMessage)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SuppressDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuppressDefaults(&self, value: i16) -> ::windows::core::Result<()> { @@ -25692,7 +25692,7 @@ impl IX509CertificateRequestPkcs7V2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25704,7 +25704,7 @@ impl IX509CertificateRequestPkcs7V2 { (::windows::core::Interface::vtable(self).base__.base__.put_RenewalCertificate)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> ::windows::core::Result<()> { @@ -25713,7 +25713,7 @@ impl IX509CertificateRequestPkcs7V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25727,7 +25727,7 @@ impl IX509CertificateRequestPkcs7V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25739,7 +25739,7 @@ impl IX509CertificateRequestPkcs7V2 { (::windows::core::Interface::vtable(self).base__.base__.SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -25748,7 +25748,7 @@ impl IX509CertificateRequestPkcs7V2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25786,7 +25786,7 @@ impl IX509CertificateRequestPkcs7V2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequesterName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RequesterName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25800,7 +25800,7 @@ impl IX509CertificateRequestPkcs7V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25823,13 +25823,13 @@ impl IX509CertificateRequestPkcs7V2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckCertificateSignature(&self, validatecertificatechain: i16) -> ::windows::core::Result<()> { @@ -25989,7 +25989,7 @@ impl IX509CertificateRevocationList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Issuer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Issuer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26001,14 +26001,14 @@ impl IX509CertificateRevocationList { (::windows::core::Interface::vtable(self).SetIssuer)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn ThisUpdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ThisUpdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetThisUpdate(&self, value: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetThisUpdate)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn NextUpdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NextUpdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNextUpdate(&self, value: f64) -> ::windows::core::Result<()> { @@ -26017,25 +26017,25 @@ impl IX509CertificateRevocationList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509CRLEntries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).X509CRLEntries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26049,7 +26049,7 @@ impl IX509CertificateRevocationList { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_CRLNumber(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_CRLNumber)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26061,24 +26061,24 @@ impl IX509CertificateRevocationList { (::windows::core::Interface::vtable(self).put_CRLNumber)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn CAVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCAVersion(&self, pvalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCAVersion)(::windows::core::Interface::as_raw(self), pvalue).ok() } pub unsafe fn BaseCRL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BaseCRL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26090,7 +26090,7 @@ impl IX509CertificateRevocationList { (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { @@ -26099,25 +26099,25 @@ impl IX509CertificateRevocationList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignatureInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RawDataToBeSigned)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Signature(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Signature)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26279,15 +26279,15 @@ impl IX509CertificateRevocationListEntries { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26310,7 +26310,7 @@ impl IX509CertificateRevocationListEntries { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_IndexBySerialNumber)(::windows::core::Interface::as_raw(self), encoding, serialnumber.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26426,15 +26426,15 @@ impl IX509CertificateRevocationListEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_SerialNumber(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SerialNumber)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RevocationDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RevocationDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RevocationReason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RevocationReason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRevocationReason(&self, value: CRLRevocationReason) -> ::windows::core::Result<()> { @@ -26443,13 +26443,13 @@ impl IX509CertificateRevocationListEntry { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).X509Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CriticalExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26548,7 +26548,7 @@ impl IX509CertificateTemplate { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Property(&self, property: EnrollmentTemplateProperty) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26648,7 +26648,7 @@ impl IX509CertificateTemplateWritable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Property(&self, property: EnrollmentTemplateProperty) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -26662,7 +26662,7 @@ impl IX509CertificateTemplateWritable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26762,15 +26762,15 @@ impl IX509CertificateTemplates { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26793,7 +26793,7 @@ impl IX509CertificateTemplates { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26802,7 +26802,7 @@ impl IX509CertificateTemplates { where P0: ::std::convert::Into<::windows::core::InParam<'a, IObjectId>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByOid)(::windows::core::Interface::as_raw(self), poid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26902,7 +26902,7 @@ impl IX509EndorsementKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26914,11 +26914,11 @@ impl IX509EndorsementKey { (::windows::core::Interface::vtable(self).SetProviderName)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Opened(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Opened)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26940,17 +26940,17 @@ impl IX509EndorsementKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCertificateByIndex(&self, manufactureronly: i16, dwindex: i32, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateByIndex)(::windows::core::Interface::as_raw(self), manufactureronly, dwindex, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCertificateCount(&self, manufactureronly: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateCount)(::windows::core::Interface::as_raw(self), manufactureronly, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExportPublicKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExportPublicKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Open(&self) -> ::windows::core::Result<()> { @@ -27084,7 +27084,7 @@ impl IX509Enrollment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRequest(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRequest)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enroll(&self) -> ::windows::core::Result<()> { @@ -27105,24 +27105,24 @@ impl IX509Enrollment { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePFX)(::windows::core::Interface::as_raw(self), strpassword.into().abi(), exportoptions, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Request(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Request)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -27131,35 +27131,35 @@ impl IX509Enrollment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NameValuePairs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Certificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Response(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Response)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CertificateFriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CertificateFriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27173,7 +27173,7 @@ impl IX509Enrollment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CertificateDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CertificateDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27185,13 +27185,13 @@ impl IX509Enrollment { (::windows::core::Interface::vtable(self).SetCertificateDescription)(::windows::core::Interface::as_raw(self), strvalue.into().abi()).ok() } pub unsafe fn RequestId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAConfigString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAConfigString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27358,7 +27358,7 @@ impl IX509Enrollment2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRequest(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRequest)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enroll(&self) -> ::windows::core::Result<()> { @@ -27379,24 +27379,24 @@ impl IX509Enrollment2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePFX)(::windows::core::Interface::as_raw(self), strpassword.into().abi(), exportoptions, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Request(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Request)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -27405,35 +27405,35 @@ impl IX509Enrollment2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameValuePairs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NameValuePairs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnrollmentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnrollmentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Certificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Response(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Response)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CertificateFriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CertificateFriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27447,7 +27447,7 @@ impl IX509Enrollment2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CertificateDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CertificateDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27459,13 +27459,13 @@ impl IX509Enrollment2 { (::windows::core::Interface::vtable(self).base__.SetCertificateDescription)(::windows::core::Interface::as_raw(self), strvalue.into().abi()).ok() } pub unsafe fn RequestId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RequestId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAConfigString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CAConfigString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -27491,19 +27491,19 @@ impl IX509Enrollment2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolicyServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Template)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestIdString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestIdString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27646,7 +27646,7 @@ impl IX509EnrollmentHelper { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enroll)(::windows::core::Interface::as_raw(self), strenrollmentpolicyserveruri.into().abi(), strtemplatename.into().abi(), encoding, enrollflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> ::windows::core::Result<()> { @@ -27754,7 +27754,7 @@ impl IX509EnrollmentPolicyServer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTemplates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTemplates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -27763,13 +27763,13 @@ impl IX509EnrollmentPolicyServer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IX509CertificateTemplate>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAsForTemplate)(::windows::core::Interface::as_raw(self), ptemplate.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCAs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCAs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Validate(&self) -> ::windows::core::Result<()> { @@ -27778,61 +27778,61 @@ impl IX509EnrollmentPolicyServer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCustomOids(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomOids)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextUpdateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextUpdateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastUpdateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastUpdateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPolicyServerUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicyServerUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPolicyServerId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicyServerId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIsDefaultCEP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsDefaultCEP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUseClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUseClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAllowUnTrustedCA(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllowUnTrustedCA)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCachePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCacheDir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCacheDir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAuthFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27845,7 +27845,7 @@ impl IX509EnrollmentPolicyServer { (::windows::core::Interface::vtable(self).SetCredential)(::windows::core::Interface::as_raw(self), hwndparent, flag, strcredential.into().abi(), strpassword.into().abi()).ok() } pub unsafe fn QueryChanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryChanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -27859,11 +27859,11 @@ impl IX509EnrollmentPolicyServer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Export(&self, exportflags: X509EnrollmentPolicyExportFlags) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Export)(::windows::core::Interface::as_raw(self), exportflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCost(&self, value: u32) -> ::windows::core::Result<()> { @@ -28017,7 +28017,7 @@ impl IX509EnrollmentStatus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -28029,28 +28029,28 @@ impl IX509EnrollmentStatus { (::windows::core::Interface::vtable(self).SetText)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn Selected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Selected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelected(&self, value: EnrollmentSelectionStatus) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSelected)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplay(&self, value: EnrollmentDisplayStatus) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisplay)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStatus(&self, value: EnrollmentEnrollStatus) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStatus)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Error(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn SetError(&self, value: ::windows::core::HRESULT) -> ::windows::core::Result<()> { @@ -28059,7 +28059,7 @@ impl IX509EnrollmentStatus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ErrorText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ErrorText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28166,7 +28166,7 @@ impl IX509EnrollmentWebClassFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateObject)(::windows::core::Interface::as_raw(self), strprogid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -28259,17 +28259,17 @@ impl IX509Extension { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -28375,17 +28375,17 @@ impl IX509ExtensionAlternativeNames { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -28410,7 +28410,7 @@ impl IX509ExtensionAlternativeNames { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AlternativeNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlternativeNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28529,17 +28529,17 @@ impl IX509ExtensionAuthorityKeyIdentifier { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -28564,7 +28564,7 @@ impl IX509ExtensionAuthorityKeyIdentifier { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_AuthorityKeyIdentifier(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AuthorityKeyIdentifier)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28683,17 +28683,17 @@ impl IX509ExtensionBasicConstraints { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -28711,11 +28711,11 @@ impl IX509ExtensionBasicConstraints { (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn IsCA(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCA)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PathLenConstraint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathLenConstraint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28829,17 +28829,17 @@ impl IX509ExtensionCertificatePolicies { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -28864,7 +28864,7 @@ impl IX509ExtensionCertificatePolicies { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Policies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Policies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28983,17 +28983,17 @@ impl IX509ExtensionEnhancedKeyUsage { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -29018,7 +29018,7 @@ impl IX509ExtensionEnhancedKeyUsage { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnhancedKeyUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnhancedKeyUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29137,17 +29137,17 @@ impl IX509ExtensionKeyUsage { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -29165,7 +29165,7 @@ impl IX509ExtensionKeyUsage { (::windows::core::Interface::vtable(self).InitializeDecode)(::windows::core::Interface::as_raw(self), encoding, strencodeddata.into().abi()).ok() } pub unsafe fn KeyUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeyUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29278,17 +29278,17 @@ impl IX509ExtensionMSApplicationPolicies { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -29313,7 +29313,7 @@ impl IX509ExtensionMSApplicationPolicies { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Policies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Policies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29432,17 +29432,17 @@ impl IX509ExtensionSmimeCapabilities { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -29467,7 +29467,7 @@ impl IX509ExtensionSmimeCapabilities { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SmimeCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmimeCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29586,17 +29586,17 @@ impl IX509ExtensionSubjectKeyIdentifier { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -29621,7 +29621,7 @@ impl IX509ExtensionSubjectKeyIdentifier { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_SubjectKeyIdentifier(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SubjectKeyIdentifier)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29740,17 +29740,17 @@ impl IX509ExtensionTemplate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -29775,15 +29775,15 @@ impl IX509ExtensionTemplate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateOid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TemplateOid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29904,17 +29904,17 @@ impl IX509ExtensionTemplateName { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_RawData(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RawData)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Critical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Critical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCritical(&self, value: i16) -> ::windows::core::Result<()> { @@ -29939,7 +29939,7 @@ impl IX509ExtensionTemplateName { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TemplateName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TemplateName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30049,15 +30049,15 @@ impl IX509Extensions { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -30080,7 +30080,7 @@ impl IX509Extensions { where P0: ::std::convert::Into<::windows::core::InParam<'a, IObjectId>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_IndexByObjectId)(::windows::core::Interface::as_raw(self), pobjectid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -30191,7 +30191,7 @@ impl IX509MachineEnrollmentFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateObject)(::windows::core::Interface::as_raw(self), strprogid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30284,13 +30284,13 @@ impl IX509NameValuePair { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30382,15 +30382,15 @@ impl IX509NameValuePairs { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -30496,15 +30496,15 @@ impl IX509PolicyServerListManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ItemByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -30617,7 +30617,7 @@ impl IX509PolicyServerUrl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30629,28 +30629,28 @@ impl IX509PolicyServerUrl { (::windows::core::Interface::vtable(self).SetUrl)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn Default(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Default)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefault(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefault)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, flags: PolicyServerUrlFlags) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn AuthFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthFlags(&self, flags: X509EnrollmentAuthFlags) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn Cost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCost(&self, value: u32) -> ::windows::core::Result<()> { @@ -30659,7 +30659,7 @@ impl IX509PolicyServerUrl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringProperty(&self, propertyid: PolicyServerUrlPropertyID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30807,19 +30807,19 @@ impl IX509PrivateKey { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Export)(::windows::core::Interface::as_raw(self), strexporttype.into().abi(), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExportPublicKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExportPublicKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContainerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContainerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30833,7 +30833,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContainerNamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContainerNamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30847,7 +30847,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReaderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReaderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30861,7 +30861,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -30875,7 +30875,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CspStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -30889,7 +30889,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30901,14 +30901,14 @@ impl IX509PrivateKey { (::windows::core::Interface::vtable(self).SetProviderName)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderType(&self, value: X509ProviderType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProviderType)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn LegacyCsp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LegacyCsp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLegacyCsp(&self, value: i16) -> ::windows::core::Result<()> { @@ -30917,7 +30917,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Algorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Algorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -30929,42 +30929,42 @@ impl IX509PrivateKey { (::windows::core::Interface::vtable(self).SetAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn KeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeySpec(&self, value: X509KeySpec) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKeySpec)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLength(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLength)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ExportPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExportPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExportPolicy(&self, value: X509PrivateKeyExportFlags) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExportPolicy)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn KeyUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeyUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeyUsage(&self, value: X509PrivateKeyUsageFlags) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKeyUsage)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn KeyProtection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeyProtection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeyProtection(&self, value: X509PrivateKeyProtection) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKeyProtection)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn MachineContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MachineContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMachineContext(&self, value: i16) -> ::windows::core::Result<()> { @@ -30973,7 +30973,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SecurityDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SecurityDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30987,7 +30987,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Certificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31001,33 +31001,33 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueContainerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UniqueContainerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Opened(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Opened)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Existing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Existing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExisting(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExisting)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -31036,7 +31036,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31058,7 +31058,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31072,7 +31072,7 @@ impl IX509PrivateKey { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31332,19 +31332,19 @@ impl IX509PrivateKey2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Export)(::windows::core::Interface::as_raw(self), strexporttype.into().abi(), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExportPublicKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExportPublicKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContainerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ContainerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31358,7 +31358,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContainerNamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ContainerNamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31372,7 +31372,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReaderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReaderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31386,7 +31386,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CspInformations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -31400,7 +31400,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CspStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -31414,7 +31414,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31426,14 +31426,14 @@ impl IX509PrivateKey2 { (::windows::core::Interface::vtable(self).base__.SetProviderName)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderType(&self, value: X509ProviderType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetProviderType)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn LegacyCsp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LegacyCsp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLegacyCsp(&self, value: i16) -> ::windows::core::Result<()> { @@ -31442,7 +31442,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Algorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Algorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -31454,42 +31454,42 @@ impl IX509PrivateKey2 { (::windows::core::Interface::vtable(self).base__.SetAlgorithm)(::windows::core::Interface::as_raw(self), pvalue.into().abi()).ok() } pub unsafe fn KeySpec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KeySpec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeySpec(&self, value: X509KeySpec) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetKeySpec)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLength(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLength)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ExportPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExportPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExportPolicy(&self, value: X509PrivateKeyExportFlags) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetExportPolicy)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn KeyUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KeyUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeyUsage(&self, value: X509PrivateKeyUsageFlags) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetKeyUsage)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn KeyProtection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KeyProtection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeyProtection(&self, value: X509PrivateKeyProtection) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetKeyProtection)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn MachineContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MachineContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMachineContext(&self, value: i16) -> ::windows::core::Result<()> { @@ -31498,7 +31498,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SecurityDescriptor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SecurityDescriptor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31512,7 +31512,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Certificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31526,33 +31526,33 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueContainerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UniqueContainerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Opened(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Opened)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Existing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Existing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExisting(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetExisting)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSilent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> ::windows::core::Result<()> { @@ -31561,7 +31561,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UIContextMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UIContextMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31583,7 +31583,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31597,7 +31597,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31609,7 +31609,7 @@ impl IX509PrivateKey2 { (::windows::core::Interface::vtable(self).base__.SetDescription)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn HardwareKeyUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HardwareKeyUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHardwareKeyUsage(&self, value: X509HardwareKeyUsageFlags) -> ::windows::core::Result<()> { @@ -31618,7 +31618,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AlternateStorageLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlternateStorageLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31632,7 +31632,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AlgorithmName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlgorithmName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31646,7 +31646,7 @@ impl IX509PrivateKey2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_AlgorithmParameters(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AlgorithmParameters)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31658,7 +31658,7 @@ impl IX509PrivateKey2 { (::windows::core::Interface::vtable(self).put_AlgorithmParameters)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn ParametersExportType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParametersExportType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParametersExportType(&self, value: X509KeyParametersExportType) -> ::windows::core::Result<()> { @@ -31805,29 +31805,29 @@ impl IX509PublicKey { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Algorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Algorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_EncodedKey(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EncodedKey)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_EncodedParameters(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EncodedParameters)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ComputeKeyIdentifier(&self, algorithm: KeyIdentifierHashAlgorithm, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputeKeyIdentifier)(::windows::core::Interface::as_raw(self), algorithm, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31945,13 +31945,13 @@ impl IX509SCEPEnrollment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRequestMessage(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRequestMessage)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRetrievePendingMessage(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRetrievePendingMessage)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31961,7 +31961,7 @@ impl IX509SCEPEnrollment { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRetrieveCertificateMessage)(::windows::core::Interface::as_raw(self), context, strissuer.into().abi(), issuerencoding, strserialnumber.into().abi(), serialnumberencoding, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31970,7 +31970,7 @@ impl IX509SCEPEnrollment { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProcessResponseMessage)(::windows::core::Interface::as_raw(self), strresponse.into().abi(), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31982,13 +31982,13 @@ impl IX509SCEPEnrollment { (::windows::core::Interface::vtable(self).SetServerCapabilities)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn FailInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FailInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32002,7 +32002,7 @@ impl IX509SCEPEnrollment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OldCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OldCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32016,7 +32016,7 @@ impl IX509SCEPEnrollment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_TransactionId(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_TransactionId)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32030,13 +32030,13 @@ impl IX509SCEPEnrollment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Request(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Request)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CertificateFriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CertificateFriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32050,17 +32050,17 @@ impl IX509SCEPEnrollment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Certificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { @@ -32232,13 +32232,13 @@ impl IX509SCEPEnrollment2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRequestMessage(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRequestMessage)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateRetrievePendingMessage(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRetrievePendingMessage)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32248,7 +32248,7 @@ impl IX509SCEPEnrollment2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRetrieveCertificateMessage)(::windows::core::Interface::as_raw(self), context, strissuer.into().abi(), issuerencoding, strserialnumber.into().abi(), serialnumberencoding, encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32257,7 +32257,7 @@ impl IX509SCEPEnrollment2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProcessResponseMessage)(::windows::core::Interface::as_raw(self), strresponse.into().abi(), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32269,13 +32269,13 @@ impl IX509SCEPEnrollment2 { (::windows::core::Interface::vtable(self).base__.SetServerCapabilities)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn FailInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FailInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignerCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32289,7 +32289,7 @@ impl IX509SCEPEnrollment2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OldCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OldCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32303,7 +32303,7 @@ impl IX509SCEPEnrollment2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_TransactionId(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_TransactionId)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32317,13 +32317,13 @@ impl IX509SCEPEnrollment2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Request(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Request)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CertificateFriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CertificateFriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32337,17 +32337,17 @@ impl IX509SCEPEnrollment2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Certificate)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, value: i16) -> ::windows::core::Result<()> { @@ -32359,7 +32359,7 @@ impl IX509SCEPEnrollment2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateChallengeAnswerMessage(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateChallengeAnswerMessage)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32368,23 +32368,23 @@ impl IX509SCEPEnrollment2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProcessResponseMessage2)(::windows::core::Interface::as_raw(self), flags, strresponse.into().abi(), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ResultMessageText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultMessageText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DelayRetry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DelayRetry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ActivityId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivityId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32530,23 +32530,23 @@ impl IX509SCEPEnrollmentHelper { (::windows::core::Interface::vtable(self).InitializeForPending)(::windows::core::Interface::as_raw(self), strserverurl.into().abi(), strrequestheaders.into().abi(), context, strtransactionid.into().abi()).ok() } pub unsafe fn Enroll(&self, processflags: X509SCEPProcessMessageFlags) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enroll)(::windows::core::Interface::as_raw(self), processflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FetchPending(&self, processflags: X509SCEPProcessMessageFlags) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FetchPending)(::windows::core::Interface::as_raw(self), processflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509SCEPEnrollment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).X509SCEPEnrollment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ResultMessageText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultMessageText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32644,7 +32644,7 @@ impl IX509SignatureInformation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32658,7 +32658,7 @@ impl IX509SignatureInformation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PublicKeyAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PublicKeyAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -32672,7 +32672,7 @@ impl IX509SignatureInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Parameters(&self, encoding: EncodingType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Parameters)(::windows::core::Interface::as_raw(self), encoding, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32684,18 +32684,18 @@ impl IX509SignatureInformation { (::windows::core::Interface::vtable(self).put_Parameters)(::windows::core::Interface::as_raw(self), encoding, value.into().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAlternateSignatureAlgorithm)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn AlternateSignatureAlgorithmSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlternateSignatureAlgorithmSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NullSigned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NullSigned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNullSigned(&self, value: i16) -> ::windows::core::Result<()> { @@ -32704,7 +32704,7 @@ impl IX509SignatureInformation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSignatureAlgorithm(&self, pkcs7signature: i16, signaturekey: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureAlgorithm)(::windows::core::Interface::as_raw(self), pkcs7signature, signaturekey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultValues(&self) -> ::windows::core::Result<()> { 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 0794bcf0c2..4f509f580b 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -21607,7 +21607,7 @@ pub unsafe fn CryptXmlAddObject(hsignatureorobject: *const ::core::ffi::c_void, extern "system" { fn CryptXmlAddObject(hsignatureorobject: *const ::core::ffi::c_void, dwflags: u32, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, ppobject: *mut *mut CRYPT_XML_OBJECT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut CRYPT_XML_OBJECT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CryptXmlAddObject(::core::mem::transmute(hsignatureorobject), dwflags, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgproperty)), rgproperty.len() as _, ::core::mem::transmute(pencoded), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CRYPT_XML_OBJECT>(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -21699,7 +21699,7 @@ pub unsafe fn CryptXmlGetAlgorithmInfo(pxmlalgorithm: *const CRYPT_XML_ALGORITHM extern "system" { fn CryptXmlGetAlgorithmInfo(pxmlalgorithm: *const CRYPT_XML_ALGORITHM, dwflags: CRYPT_XML_FLAGS, ppalginfo: *mut *mut CRYPT_XML_ALGORITHM_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut CRYPT_XML_ALGORITHM_INFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CryptXmlGetAlgorithmInfo(::core::mem::transmute(pxmlalgorithm), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CRYPT_XML_ALGORITHM_INFO>(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -21709,7 +21709,7 @@ pub unsafe fn CryptXmlGetDocContext(hcryptxml: *const ::core::ffi::c_void) -> :: extern "system" { fn CryptXmlGetDocContext(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_DOC_CTXT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut CRYPT_XML_DOC_CTXT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CryptXmlGetDocContext(::core::mem::transmute(hcryptxml), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CRYPT_XML_DOC_CTXT>(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -21719,7 +21719,7 @@ pub unsafe fn CryptXmlGetReference(hcryptxml: *const ::core::ffi::c_void) -> ::w extern "system" { fn CryptXmlGetReference(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_REFERENCE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut CRYPT_XML_REFERENCE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CryptXmlGetReference(::core::mem::transmute(hcryptxml), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CRYPT_XML_REFERENCE>(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -21729,7 +21729,7 @@ pub unsafe fn CryptXmlGetSignature(hcryptxml: *const ::core::ffi::c_void) -> ::w extern "system" { fn CryptXmlGetSignature(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_SIGNATURE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut CRYPT_XML_SIGNATURE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CryptXmlGetSignature(::core::mem::transmute(hcryptxml), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CRYPT_XML_SIGNATURE>(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -21739,7 +21739,7 @@ pub unsafe fn CryptXmlGetStatus(hcryptxml: *const ::core::ffi::c_void) -> ::wind extern "system" { fn CryptXmlGetStatus(hcryptxml: *const ::core::ffi::c_void, pstatus: *mut CRYPT_XML_STATUS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CryptXmlGetStatus(::core::mem::transmute(hcryptxml), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -21749,7 +21749,7 @@ pub unsafe fn CryptXmlGetTransforms() -> ::windows::core::Result<*mut CRYPT_XML_ extern "system" { fn CryptXmlGetTransforms(ppconfig: *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CryptXmlGetTransforms(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG>(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -21759,7 +21759,7 @@ pub unsafe fn CryptXmlImportPublicKey(dwflags: CRYPT_XML_FLAGS, pkeyvalue: *cons extern "system" { fn CryptXmlImportPublicKey(dwflags: CRYPT_XML_FLAGS, pkeyvalue: *const CRYPT_XML_KEY_VALUE, phkey: *mut BCRYPT_KEY_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CryptXmlImportPublicKey(dwflags, ::core::mem::transmute(pkeyvalue), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -22259,7 +22259,7 @@ pub unsafe fn GetCryptoTransform(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO extern "system" { fn GetCryptoTransform(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, mode: u32, padding: PaddingMode, feedbacksize: u32, direction: Direction, cbiv: u32, piv: *const u8, pphtransform: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut INFORMATIONCARD_CRYPTO_HANDLE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetCryptoTransform(::core::mem::transmute(hsymmetriccrypto), mode, padding, feedbacksize, direction, cbiv, ::core::mem::transmute(piv), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut INFORMATIONCARD_CRYPTO_HANDLE>(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -22269,7 +22269,7 @@ pub unsafe fn GetKeyedHash(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDL extern "system" { fn GetKeyedHash(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, pphhash: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut INFORMATIONCARD_CRYPTO_HANDLE>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetKeyedHash(::core::mem::transmute(hsymmetriccrypto), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut INFORMATIONCARD_CRYPTO_HANDLE>(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -22680,13 +22680,13 @@ pub struct ICertSrvSetup(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertSrvSetup { pub unsafe fn CAErrorId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAErrorId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CAErrorString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAErrorString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitializeDefaults(&self, bserver: i16, bclient: i16) -> ::windows::core::Result<()> { @@ -22695,7 +22695,7 @@ impl ICertSrvSetup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCASetupProperty(&self, propertyid: CASetupProperty) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCASetupProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -22704,19 +22704,19 @@ impl ICertSrvSetup { (::windows::core::Interface::vtable(self).SetCASetupProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(ppropertyvalue)).ok() } pub unsafe fn IsPropertyEditable(&self, propertyid: CASetupProperty) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPropertyEditable)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetSupportedCATypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedCATypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetProviderNameList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderNameList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -22725,7 +22725,7 @@ impl ICertSrvSetup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyLengthList)(::windows::core::Interface::as_raw(self), bstrprovidername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -22734,7 +22734,7 @@ impl ICertSrvSetup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHashAlgorithmList)(::windows::core::Interface::as_raw(self), bstrprovidername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -22743,13 +22743,13 @@ impl ICertSrvSetup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrivateKeyContainerList)(::windows::core::Interface::as_raw(self), bstrprovidername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExistingCACertificates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExistingCACertificates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -22759,7 +22759,7 @@ impl ICertSrvSetup { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CAImportPFX)(::windows::core::Interface::as_raw(self), bstrfilename.into().abi(), bstrpasswd.into().abi(), boverwriteexistingkey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22944,7 +22944,7 @@ impl ICertSrvSetupKeyInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22956,14 +22956,14 @@ impl ICertSrvSetupKeyInformation { (::windows::core::Interface::vtable(self).SetProviderName)(::windows::core::Interface::as_raw(self), bstrval.into().abi()).ok() } pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLength(&self, lval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLength)(::windows::core::Interface::as_raw(self), lval).ok() } pub unsafe fn Existing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Existing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExisting(&self, bval: i16) -> ::windows::core::Result<()> { @@ -22972,7 +22972,7 @@ impl ICertSrvSetupKeyInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContainerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContainerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22986,7 +22986,7 @@ impl ICertSrvSetupKeyInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23000,7 +23000,7 @@ impl ICertSrvSetupKeyInformation { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ExistingCACertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExistingCACertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -23122,17 +23122,17 @@ pub struct ICertSrvSetupKeyInformationCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertSrvSetupKeyInformationCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -23230,7 +23230,7 @@ impl ICertificateEnrollmentPolicyServerSetup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ErrorString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ErrorString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitializeInstallDefaults(&self) -> ::windows::core::Result<()> { @@ -23239,7 +23239,7 @@ impl ICertificateEnrollmentPolicyServerSetup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetProperty(&self, propertyid: CEPSetupProperty) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -23350,7 +23350,7 @@ impl ICertificateEnrollmentServerSetup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ErrorString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ErrorString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitializeInstallDefaults(&self) -> ::windows::core::Result<()> { @@ -23359,7 +23359,7 @@ impl ICertificateEnrollmentServerSetup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetProperty(&self, propertyid: CESSetupProperty) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -23487,13 +23487,13 @@ pub struct IMSCEPSetup(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSCEPSetup { pub unsafe fn MSCEPErrorId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MSCEPErrorId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MSCEPErrorString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MSCEPErrorString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitializeDefaults(&self) -> ::windows::core::Result<()> { @@ -23502,7 +23502,7 @@ impl IMSCEPSetup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetMSCEPSetupProperty(&self, propertyid: MSCEPSetupProperty) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMSCEPSetupProperty)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -23520,13 +23520,13 @@ impl IMSCEPSetup { (::windows::core::Interface::vtable(self).SetAccountInformation)(::windows::core::Interface::as_raw(self), bstrusername.into().abi(), bstrpassword.into().abi()).ok() } pub unsafe fn IsMSCEPStoreEmpty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMSCEPStoreEmpty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetProviderNameList(&self, bexchange: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderNameList)(::windows::core::Interface::as_raw(self), bexchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -23535,7 +23535,7 @@ impl IMSCEPSetup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyLengthList)(::windows::core::Interface::as_raw(self), bexchange, bstrprovidername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Install(&self) -> ::windows::core::Result<()> { @@ -25875,7 +25875,7 @@ where extern "system" { fn NCryptCreateProtectionDescriptor(pwszdescriptorstring: ::windows::core::PCWSTR, dwflags: u32, phdescriptor: *mut super::NCRYPT_DESCRIPTOR_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); NCryptCreateProtectionDescriptor(pwszdescriptorstring.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -26288,7 +26288,7 @@ where extern "system" { fn NCryptStreamOpenToProtect(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: u32, hwnd: super::super::Foundation::HWND, pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); NCryptStreamOpenToProtect(hdescriptor.into(), dwflags, hwnd.into(), ::core::mem::transmute(pstreaminfo), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -26302,7 +26302,7 @@ where extern "system" { fn NCryptStreamOpenToUnprotect(pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO, dwflags: u32, hwnd: super::super::Foundation::HWND, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); NCryptStreamOpenToUnprotect(::core::mem::transmute(pstreaminfo), dwflags, hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -26316,7 +26316,7 @@ where extern "system" { fn NCryptStreamOpenToUnprotectEx(pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO_EX, dwflags: u32, hwnd: super::super::Foundation::HWND, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); NCryptStreamOpenToUnprotectEx(::core::mem::transmute(pstreaminfo), dwflags, hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -28190,7 +28190,7 @@ where extern "system" { fn VerifyHash(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash: u32, phash: *const u8, hashalgoid: ::windows::core::PCWSTR, cbsig: u32, psig: *const u8, pfverified: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VerifyHash(::core::mem::transmute(hcrypto), cbhash, ::core::mem::transmute(phash), hashalgoid.into(), cbsig, ::core::mem::transmute(psig), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs index 5c27034f47..653cbdf60f 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs @@ -526,7 +526,7 @@ pub unsafe fn DdqCreateSession(accesslevel: DdqAccessLevel) -> ::windows::core:: extern "system" { fn DdqCreateSession(accesslevel: DdqAccessLevel, hsession: *mut super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqCreateSession(accesslevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -610,7 +610,7 @@ pub unsafe fn DdqGetDiagnosticDataAccessLevelAllowed() -> ::windows::core::Resul extern "system" { fn DdqGetDiagnosticDataAccessLevelAllowed(accesslevel: *mut DdqAccessLevel) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticDataAccessLevelAllowed(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] @@ -624,7 +624,7 @@ where extern "system" { fn DdqGetDiagnosticRecordAtIndex(hrecord: super::HDIAGNOSTIC_RECORD, index: u32, record: *mut DIAGNOSTIC_DATA_RECORD) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordAtIndex(hrecord.into(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -649,7 +649,7 @@ where extern "system" { fn DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, index: u32, categorydescription: *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription.into(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -662,7 +662,7 @@ where extern "system" { fn DdqGetDiagnosticRecordCategoryCount(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, categorydescriptioncount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordCategoryCount(hcategorydescription.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -675,7 +675,7 @@ where extern "system" { fn DdqGetDiagnosticRecordCount(hrecord: super::HDIAGNOSTIC_RECORD, recordcount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordCount(hrecord.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -688,7 +688,7 @@ where extern "system" { fn DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, index: u32, tagdescription: *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription.into(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -701,7 +701,7 @@ where extern "system" { fn DdqGetDiagnosticRecordLocaleTagCount(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, tagdescriptioncount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordLocaleTagCount(htagdescription.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -715,7 +715,7 @@ where extern "system" { fn DdqGetDiagnosticRecordLocaleTags(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, locale: ::windows::core::PCWSTR, htagdescription: *mut super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordLocaleTags(hsession.into(), locale.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] @@ -729,7 +729,7 @@ where extern "system" { fn DdqGetDiagnosticRecordPage(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria: *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, offset: u32, pagerecordcount: u32, baserowid: i64, hrecord: *mut super::HDIAGNOSTIC_RECORD) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordPage(hsession.into(), ::core::mem::transmute(searchcriteria), offset, pagerecordcount, baserowid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -742,7 +742,7 @@ where extern "system" { fn DdqGetDiagnosticRecordPayload(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, rowid: i64, payload: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordPayload(hsession.into(), rowid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -755,7 +755,7 @@ where extern "system" { fn DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, index: u32, producerdescription: *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription.into(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -769,7 +769,7 @@ where extern "system" { fn DdqGetDiagnosticRecordProducerCategories(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producername: ::windows::core::PCWSTR, hcategorydescription: *mut super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordProducerCategories(hsession.into(), producername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -782,7 +782,7 @@ where extern "system" { fn DdqGetDiagnosticRecordProducerCount(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, producerdescriptioncount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordProducerCount(hproducerdescription.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -795,7 +795,7 @@ where extern "system" { fn DdqGetDiagnosticRecordProducers(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, hproducerdescription: *mut super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordProducers(hsession.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] @@ -821,7 +821,7 @@ where extern "system" { fn DdqGetDiagnosticRecordSummary(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows::core::PWSTR, producernamecount: u32, generalstats: *mut DIAGNOSTIC_DATA_GENERAL_STATS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticRecordSummary(hsession.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(producernames)), producernames.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -846,7 +846,7 @@ where extern "system" { fn DdqGetDiagnosticReport(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, hreport: *mut super::HDIAGNOSTIC_REPORT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticReport(hsession.into(), reportstoretype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] @@ -860,7 +860,7 @@ where extern "system" { fn DdqGetDiagnosticReportAtIndex(hreport: super::HDIAGNOSTIC_REPORT, index: u32, report: *mut DIAGNOSTIC_REPORT_DATA) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticReportAtIndex(hreport.into(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -873,7 +873,7 @@ where extern "system" { fn DdqGetDiagnosticReportCount(hreport: super::HDIAGNOSTIC_REPORT, reportcount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticReportCount(hreport.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -886,7 +886,7 @@ where extern "system" { fn DdqGetDiagnosticReportStoreReportCount(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, reportcount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetDiagnosticReportStoreReportCount(hsession.into(), reportstoretype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -899,7 +899,7 @@ where extern "system" { fn DdqGetSessionAccessLevel(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, accesslevel: *mut DdqAccessLevel) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetSessionAccessLevel(hsession.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -912,7 +912,7 @@ where extern "system" { fn DdqGetTranscriptConfiguration(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, currentconfig: *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqGetTranscriptConfiguration(hsession.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] @@ -928,7 +928,7 @@ where extern "system" { fn DdqIsDiagnosticRecordSampledIn(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, providergroup: *const ::windows::core::GUID, providerid: *const ::windows::core::GUID, providername: ::windows::core::PCWSTR, eventid: *const u32, eventname: ::windows::core::PCWSTR, eventversion: *const u32, eventkeywords: *const u64, issampledin: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DdqIsDiagnosticRecordSampledIn(hsession.into(), ::core::mem::transmute(providergroup), ::core::mem::transmute(providerid), providername.into(), ::core::mem::transmute(eventid), eventname.into(), ::core::mem::transmute(eventversion), ::core::mem::transmute(eventkeywords), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] 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 50eced5695..cb189bba62 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -614,7 +614,7 @@ where extern "system" { fn SrpCreateThreadNetworkContext(enterpriseid: ::windows::core::PCWSTR, threadnetworkcontext: *mut HTHREAD_NETWORK_CONTEXT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SrpCreateThreadNetworkContext(enterpriseid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] @@ -634,7 +634,7 @@ pub unsafe fn SrpDoesPolicyAllowAppExecution(packageid: *const super::super::Sto extern "system" { fn SrpDoesPolicyAllowAppExecution(packageid: *const super::super::Storage::Packaging::Appx::PACKAGE_ID, isallowed: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SrpDoesPolicyAllowAppExecution(::core::mem::transmute(packageid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] @@ -673,7 +673,7 @@ where extern "system" { fn SrpGetEnterprisePolicy(tokenhandle: super::super::Foundation::HANDLE, policyflags: *mut ENTERPRISE_DATA_POLICIES) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SrpGetEnterprisePolicy(tokenhandle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] 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 4a08ae410d..8174cc5e75 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -2652,7 +2652,7 @@ impl IAccountingProviderConfig { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pszmachinename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Uninitialize(&self, uconnectionparam: usize) -> ::windows::core::Result<()> { @@ -2729,7 +2729,7 @@ impl IAuthenticationProviderConfig { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pszmachinename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Uninitialize(&self, uconnectionparam: usize) -> ::windows::core::Result<()> { @@ -2806,7 +2806,7 @@ impl IEAPProviderConfig { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), pszmachinename.into(), dweaptypeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Uninitialize(&self, dweaptypeid: u32, uconnectionparam: usize) -> ::windows::core::Result<()> { @@ -2899,7 +2899,7 @@ impl IEAPProviderConfig2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), pszmachinename.into(), dweaptypeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Uninitialize(&self, dweaptypeid: u32, uconnectionparam: usize) -> ::windows::core::Result<()> { @@ -3009,7 +3009,7 @@ impl IEAPProviderConfig3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Initialize)(::windows::core::Interface::as_raw(self), pszmachinename.into(), dweaptypeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Uninitialize(&self, dweaptypeid: u32, uconnectionparam: usize) -> ::windows::core::Result<()> { 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 10d53e074c..c5ec65011f 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs @@ -11,7 +11,7 @@ where extern "system" { fn CreateAppContainerProfile(pszappcontainername: ::windows::core::PCWSTR, pszdisplayname: ::windows::core::PCWSTR, pszdescription: ::windows::core::PCWSTR, pcapabilities: *const super::SID_AND_ATTRIBUTES, dwcapabilitycount: u32, ppsidappcontainersid: *mut super::super::Foundation::PSID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateAppContainerProfile(pszappcontainername.into(), pszdisplayname.into(), pszdescription.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(pcapabilities)), pcapabilities.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] @@ -37,7 +37,7 @@ where extern "system" { fn DeriveAppContainerSidFromAppContainerName(pszappcontainername: ::windows::core::PCWSTR, ppsidappcontainersid: *mut super::super::Foundation::PSID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DeriveAppContainerSidFromAppContainerName(pszappcontainername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] @@ -52,7 +52,7 @@ where extern "system" { fn DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid: super::super::Foundation::PSID, pszrestrictedappcontainername: ::windows::core::PCWSTR, ppsidrestrictedappcontainersid: *mut super::super::Foundation::PSID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid.into(), pszrestrictedappcontainername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] @@ -65,7 +65,7 @@ where extern "system" { fn GetAppContainerFolderPath(pszappcontainersid: ::windows::core::PCWSTR, ppszpath: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetAppContainerFolderPath(pszappcontainersid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] @@ -90,7 +90,7 @@ pub unsafe fn GetAppContainerRegistryLocation(desiredaccess: u32) -> ::windows:: extern "system" { fn GetAppContainerRegistryLocation(desiredaccess: u32, phappcontainerkey: *mut super::super::System::Registry::HKEY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetAppContainerRegistryLocation(desiredaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] @@ -159,7 +159,7 @@ pub unsafe fn IsProcessInIsolatedContainer() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IsProcessInIsolatedContainer(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] @@ -170,7 +170,7 @@ pub unsafe fn IsProcessInIsolatedWindowsEnvironment() -> ::windows::core::Result extern "system" { fn IsProcessInIsolatedWindowsEnvironment(isprocessinisolatedwindowsenvironment: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IsProcessInIsolatedWindowsEnvironment(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] @@ -181,7 +181,7 @@ pub unsafe fn IsProcessInWDAGContainer(reserved: *const ::core::ffi::c_void) -> extern "system" { fn IsProcessInWDAGContainer(reserved: *const ::core::ffi::c_void, isprocessinwdagcontainer: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IsProcessInWDAGContainer(::core::mem::transmute(reserved), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub const IsolatedAppLauncher: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbc812430_e75e_4fd1_9641_1f9f1e2d9a1f); diff --git a/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs index 86ff650813..a704c14e07 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs @@ -41,7 +41,7 @@ where extern "system" { fn RegisterLicenseKeyWithExpiration(licensekey: ::windows::core::PCWSTR, validityindays: u32, status: *mut LicenseProtectionStatus) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RegisterLicenseKeyWithExpiration(licensekey.into(), validityindays, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`, `\"Win32_Foundation\"`*"] 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 20b66752df..67419efdcd 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs @@ -36,7 +36,7 @@ impl ITpmVirtualSmartCardManager { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITpmVirtualSmartCardManagerStatusCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestroyVirtualSmartCard)(::windows::core::Interface::as_raw(self), pszinstanceid.into(), pstatuscallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -126,7 +126,7 @@ impl ITpmVirtualSmartCardManager2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITpmVirtualSmartCardManagerStatusCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DestroyVirtualSmartCard)(::windows::core::Interface::as_raw(self), pszinstanceid.into(), pstatuscallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -256,7 +256,7 @@ impl ITpmVirtualSmartCardManager3 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITpmVirtualSmartCardManagerStatusCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DestroyVirtualSmartCard)(::windows::core::Interface::as_raw(self), pszinstanceid.into(), pstatuscallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -296,7 +296,7 @@ impl ITpmVirtualSmartCardManager3 { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<'a, ITpmVirtualSmartCardManagerStatusCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVirtualSmartCardWithAttestation)( ::windows::core::Interface::as_raw(self), pszfriendlyname.into(), diff --git a/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs index 134a2dd1f7..471dfabf97 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs @@ -4334,7 +4334,7 @@ where extern "system" { fn CfConnectSyncRoot(syncrootpath: ::windows::core::PCWSTR, callbacktable: *const CF_CALLBACK_REGISTRATION, callbackcontext: *const ::core::ffi::c_void, connectflags: CF_CONNECT_FLAGS, connectionkey: *mut CF_CONNECTION_KEY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CfConnectSyncRoot(syncrootpath.into(), ::core::mem::transmute(callbacktable), ::core::mem::transmute(callbackcontext), connectflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -4409,7 +4409,7 @@ where extern "system" { fn CfGetCorrelationVector(filehandle: super::super::Foundation::HANDLE, correlationvector: *mut super::super::System::CorrelationVector::CORRELATION_VECTOR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CfGetCorrelationVector(filehandle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -4474,7 +4474,7 @@ pub unsafe fn CfGetPlatformInfo() -> ::windows::core::Result { extern "system" { fn CfGetPlatformInfo(platformversion: *mut CF_PLATFORM_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CfGetPlatformInfo(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -4513,7 +4513,7 @@ where extern "system" { fn CfGetTransferKey(filehandle: super::super::Foundation::HANDLE, transferkey: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CfGetTransferKey(filehandle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -4553,7 +4553,7 @@ where extern "system" { fn CfOpenFileWithOplock(filepath: ::windows::core::PCWSTR, flags: CF_OPEN_FILE_FLAGS, protectedhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CfOpenFileWithOplock(filepath.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] @@ -4566,7 +4566,7 @@ where extern "system" { fn CfQuerySyncProviderStatus(connectionkey: CF_CONNECTION_KEY, providerstatus: *mut CF_SYNC_PROVIDER_STATUS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CfQuerySyncProviderStatus(connectionkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] 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 ad7ff9456c..fd1dac519e 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs @@ -577,7 +577,7 @@ impl IDedupChunkLibrary { (::windows::core::Interface::vtable(self).SetParameter)(::windows::core::Interface::as_raw(self), dwparamtype, vparamvalue.into().abi()).ok() } pub unsafe fn StartChunking(&self, iiditeratorinterfaceid: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartChunking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(iiditeratorinterfaceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -636,11 +636,11 @@ impl IDedupDataPort { (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstatus), ::core::mem::transmute(pdataheadroommb)).ok() } pub unsafe fn LookupChunks(&self, phashes: &[DedupHash]) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupChunks)(::windows::core::Interface::as_raw(self), phashes.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(phashes)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn InsertChunks(&self, pchunkmetadata: &[DedupChunk], pchunkdata: &[u8]) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InsertChunks)(::windows::core::Interface::as_raw(self), pchunkmetadata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pchunkmetadata)), pchunkdata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pchunkdata)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -649,13 +649,13 @@ impl IDedupDataPort { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InsertChunksWithStream)(::windows::core::Interface::as_raw(self), pchunkmetadata.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pchunkmetadata)), databytecount, pchunkdatastream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CommitStreams(&self, pstreams: &[DedupStream], pentries: &[DedupStreamEntry]) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitStreams)(::windows::core::Interface::as_raw(self), pstreams.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pstreams)), pentries.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pentries)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -664,13 +664,13 @@ impl IDedupDataPort { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitStreamsWithStream)(::windows::core::Interface::as_raw(self), pstreams.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pstreams)), entrycount, pentriesstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStreams(&self, pstreampaths: &[super::super::Foundation::BSTR]) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStreams)(::windows::core::Interface::as_raw(self), pstreampaths.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pstreampaths)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -679,14 +679,14 @@ impl IDedupDataPort { (::windows::core::Interface::vtable(self).GetStreamsResults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(requestid), maxwaitms, streamentryindex, ::core::mem::transmute(pstreamcount), ::core::mem::transmute(ppstreams), ::core::mem::transmute(pentrycount), ::core::mem::transmute(ppentries), ::core::mem::transmute(pstatus), ::core::mem::transmute(ppitemresults)).ok() } pub unsafe fn GetChunks(&self, phashes: &[DedupHash]) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChunks)(::windows::core::Interface::as_raw(self), phashes.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(phashes)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetChunksResults(&self, requestid: ::windows::core::GUID, maxwaitms: u32, chunkindex: u32, pchunkcount: *mut u32, ppchunkmetadata: *mut *mut DedupChunk, pdatabytecount: *mut u32, ppchunkdata: *mut *mut u8, pstatus: *mut DedupDataPortRequestStatus, ppitemresults: *mut *mut ::windows::core::HRESULT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetChunksResults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(requestid), maxwaitms, chunkindex, ::core::mem::transmute(pchunkcount), ::core::mem::transmute(ppchunkmetadata), ::core::mem::transmute(pdatabytecount), ::core::mem::transmute(ppchunkdata), ::core::mem::transmute(pstatus), ::core::mem::transmute(ppitemresults)).ok() } pub unsafe fn GetRequestStatus(&self, requestid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(requestid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRequestResults(&self, requestid: ::windows::core::GUID, maxwaitms: u32, pbatchresult: *mut ::windows::core::HRESULT, pbatchcount: *mut u32, pstatus: *mut DedupDataPortRequestStatus, ppitemresults: *mut *mut ::windows::core::HRESULT) -> ::windows::core::Result<()> { @@ -773,7 +773,7 @@ impl IDedupDataPortManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVolumeStatus)(::windows::core::Interface::as_raw(self), options, path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -782,7 +782,7 @@ impl IDedupDataPortManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVolumeDataPort)(::windows::core::Interface::as_raw(self), options, path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 eb904cfa19..ce468abd5a 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs @@ -489,15 +489,15 @@ impl IEnhancedStorageACT { (::windows::core::Interface::vtable(self).Unauthorize)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetAuthorizationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAuthorizationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingVolume(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchingVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetUniqueIdentity(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUniqueIdentity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSilos(&self, pppienhancedstoragesilos: *mut *mut ::core::option::Option, pcenhancedstoragesilos: *mut u32) -> ::windows::core::Result<()> { @@ -561,28 +561,28 @@ impl IEnhancedStorageACT2 { (::windows::core::Interface::vtable(self).base__.Unauthorize)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetAuthorizationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAuthorizationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingVolume(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMatchingVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetUniqueIdentity(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUniqueIdentity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSilos(&self, pppienhancedstoragesilos: *mut *mut ::core::option::Option, pcenhancedstoragesilos: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetSilos)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppienhancedstoragesilos), ::core::mem::transmute(pcenhancedstoragesilos)).ok() } pub unsafe fn GetDeviceName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDeviceRemovable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDeviceRemovable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -657,28 +657,28 @@ impl IEnhancedStorageACT3 { (::windows::core::Interface::vtable(self).base__.base__.Unauthorize)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetAuthorizationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAuthorizationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchingVolume(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMatchingVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetUniqueIdentity(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUniqueIdentity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSilos(&self, pppienhancedstoragesilos: *mut *mut ::core::option::Option, pcenhancedstoragesilos: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.GetSilos)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppienhancedstoragesilos), ::core::mem::transmute(pcenhancedstoragesilos)).ok() } pub unsafe fn GetDeviceName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDeviceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDeviceRemovable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsDeviceRemovable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnauthorizeEx(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -687,13 +687,13 @@ impl IEnhancedStorageACT3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsQueueFrozen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsQueueFrozen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetShellExtSupport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShellExtSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -781,7 +781,7 @@ pub struct IEnhancedStorageACT3_Vtbl { pub struct IEnhancedStorageSilo(::windows::core::IUnknown); impl IEnhancedStorageSilo { pub unsafe fn GetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActions(&self, pppienhancedstoragesiloactions: *mut *mut ::core::option::Option, pcenhancedstoragesiloactions: *mut u32) -> ::windows::core::Result<()> { @@ -793,11 +793,11 @@ impl IEnhancedStorageSilo { #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[cfg(feature = "Win32_Devices_PortableDevices")] pub unsafe fn GetPortableDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPortableDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDevicePath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDevicePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -854,11 +854,11 @@ pub struct IEnhancedStorageSilo_Vtbl { pub struct IEnhancedStorageSiloAction(::windows::core::IUnknown); impl IEnhancedStorageSiloAction { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Invoke(&self) -> ::windows::core::Result<()> { @@ -919,7 +919,7 @@ impl IEnumEnhancedStorageACT { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchingACT)(::windows::core::Interface::as_raw(self), szvolume.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 01ed953aac..8c42dbac61 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs @@ -379,7 +379,7 @@ where extern "system" { fn FhServiceOpenPipe(startserviceifstopped: super::super::Foundation::BOOL, pipe: *mut super::super::System::WindowsProgramming::FH_SERVICE_PIPE_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); FhServiceOpenPipe(startserviceifstopped.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -469,25 +469,25 @@ impl IFhConfigMgr { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIncludeExcludeRules)(::windows::core::Interface::as_raw(self), include.into(), category, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocalPolicy(&self, localpolicytype: FH_LOCAL_POLICY_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalPolicy)(::windows::core::Interface::as_raw(self), localpolicytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocalPolicy(&self, localpolicytype: FH_LOCAL_POLICY_TYPE, policyvalue: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLocalPolicy)(::windows::core::Interface::as_raw(self), localpolicytype, policyvalue).ok() } pub unsafe fn GetBackupStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackupStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackupStatus(&self, backupstatus: FH_BACKUP_STATUS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBackupStatus)(::windows::core::Interface::as_raw(self), backupstatus).ok() } pub unsafe fn GetDefaultTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -496,7 +496,7 @@ impl IFhConfigMgr { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValidateTarget)(::windows::core::Interface::as_raw(self), targeturl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -607,7 +607,7 @@ impl IFhReassociation { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValidateTarget)(::windows::core::Interface::as_raw(self), targeturl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -702,7 +702,7 @@ impl IFhScopeIterator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -758,11 +758,11 @@ impl IFhTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetStringProperty(&self, propertytype: FH_TARGET_PROPERTY_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringProperty)(::windows::core::Interface::as_raw(self), propertytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumericalProperty(&self, propertytype: FH_TARGET_PROPERTY_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumericalProperty)(::windows::core::Interface::as_raw(self), propertytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 e01ffdf8d4..3a0050e78a 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs @@ -1761,7 +1761,7 @@ impl IFsrmAccessDeniedRemediationClient { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Show)(::windows::core::Interface::as_raw(self), parentwnd, accesspath.into().abi(), errortype, flags, windowtitle.into().abi(), windowmessage.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1843,15 +1843,15 @@ pub struct IFsrmAction(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmAction { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn ActionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunLimitInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RunLimitInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRunLimitInterval(&self, minutes: i32) -> ::windows::core::Result<()> { @@ -1940,15 +1940,15 @@ pub struct IFsrmActionCommand(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionCommand { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn ActionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ActionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunLimitInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RunLimitInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRunLimitInterval(&self, minutes: i32) -> ::windows::core::Result<()> { @@ -1960,7 +1960,7 @@ impl IFsrmActionCommand { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExecutablePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecutablePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1974,7 +1974,7 @@ impl IFsrmActionCommand { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Arguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Arguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1986,7 +1986,7 @@ impl IFsrmActionCommand { (::windows::core::Interface::vtable(self).SetArguments)(::windows::core::Interface::as_raw(self), arguments.into().abi()).ok() } pub unsafe fn Account(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Account)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAccount(&self, account: FsrmAccountType) -> ::windows::core::Result<()> { @@ -1995,7 +1995,7 @@ impl IFsrmActionCommand { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WorkingDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WorkingDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2007,21 +2007,21 @@ impl IFsrmActionCommand { (::windows::core::Interface::vtable(self).SetWorkingDirectory)(::windows::core::Interface::as_raw(self), workingdirectory.into().abi()).ok() } pub unsafe fn MonitorCommand(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MonitorCommand)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMonitorCommand(&self, monitorcommand: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMonitorCommand)(::windows::core::Interface::as_raw(self), monitorcommand).ok() } pub unsafe fn KillTimeOut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KillTimeOut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKillTimeOut(&self, minutes: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKillTimeOut)(::windows::core::Interface::as_raw(self), minutes).ok() } pub unsafe fn LogResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogResult(&self, logresults: i16) -> ::windows::core::Result<()> { @@ -2152,15 +2152,15 @@ pub struct IFsrmActionEmail(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEmail { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn ActionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ActionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunLimitInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RunLimitInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRunLimitInterval(&self, minutes: i32) -> ::windows::core::Result<()> { @@ -2172,7 +2172,7 @@ impl IFsrmActionEmail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2186,7 +2186,7 @@ impl IFsrmActionEmail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailReplyTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailReplyTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2200,7 +2200,7 @@ impl IFsrmActionEmail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2214,7 +2214,7 @@ impl IFsrmActionEmail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailCc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailCc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2228,7 +2228,7 @@ impl IFsrmActionEmail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailBcc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailBcc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2242,7 +2242,7 @@ impl IFsrmActionEmail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailSubject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailSubject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2256,7 +2256,7 @@ impl IFsrmActionEmail { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MessageText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MessageText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2416,15 +2416,15 @@ pub struct IFsrmActionEmail2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEmail2 { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn ActionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ActionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunLimitInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RunLimitInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRunLimitInterval(&self, minutes: i32) -> ::windows::core::Result<()> { @@ -2436,7 +2436,7 @@ impl IFsrmActionEmail2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MailFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2450,7 +2450,7 @@ impl IFsrmActionEmail2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailReplyTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MailReplyTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2464,7 +2464,7 @@ impl IFsrmActionEmail2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MailTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2478,7 +2478,7 @@ impl IFsrmActionEmail2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailCc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MailCc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2492,7 +2492,7 @@ impl IFsrmActionEmail2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailBcc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MailBcc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2506,7 +2506,7 @@ impl IFsrmActionEmail2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailSubject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MailSubject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2520,7 +2520,7 @@ impl IFsrmActionEmail2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MessageText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MessageText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2532,7 +2532,7 @@ impl IFsrmActionEmail2 { (::windows::core::Interface::vtable(self).base__.SetMessageText)(::windows::core::Interface::as_raw(self), messagetext.into().abi()).ok() } pub unsafe fn AttachmentFileListSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttachmentFileListSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttachmentFileListSize(&self, attachmentfilelistsize: i32) -> ::windows::core::Result<()> { @@ -2651,15 +2651,15 @@ pub struct IFsrmActionEventLog(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEventLog { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn ActionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ActionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunLimitInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RunLimitInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRunLimitInterval(&self, minutes: i32) -> ::windows::core::Result<()> { @@ -2669,7 +2669,7 @@ impl IFsrmActionEventLog { (::windows::core::Interface::vtable(self).base__.Delete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EventType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventType(&self, eventtype: FsrmEventType) -> ::windows::core::Result<()> { @@ -2678,7 +2678,7 @@ impl IFsrmActionEventLog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MessageText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MessageText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2792,15 +2792,15 @@ pub struct IFsrmActionReport(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionReport { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn ActionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ActionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunLimitInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RunLimitInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRunLimitInterval(&self, minutes: i32) -> ::windows::core::Result<()> { @@ -2812,7 +2812,7 @@ impl IFsrmActionReport { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReportTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2823,7 +2823,7 @@ impl IFsrmActionReport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2943,13 +2943,13 @@ pub struct IFsrmAutoApplyQuota(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmAutoApplyQuota { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2969,7 +2969,7 @@ impl IFsrmAutoApplyQuota { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn QuotaLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QuotaLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2981,7 +2981,7 @@ impl IFsrmAutoApplyQuota { (::windows::core::Interface::vtable(self).base__.base__.SetQuotaLimit)(::windows::core::Interface::as_raw(self), quotalimit.into().abi()).ok() } pub unsafe fn QuotaFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QuotaFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuotaFlags(&self, quotaflags: i32) -> ::windows::core::Result<()> { @@ -2990,7 +2990,7 @@ impl IFsrmAutoApplyQuota { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Thresholds(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Thresholds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn AddThreshold(&self, threshold: i32) -> ::windows::core::Result<()> { @@ -3005,41 +3005,41 @@ impl IFsrmAutoApplyQuota { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateThresholdAction(&self, threshold: i32, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateThresholdAction)(::windows::core::Interface::as_raw(self), threshold, actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumThresholdActions(&self, threshold: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumThresholdActions)(::windows::core::Interface::as_raw(self), threshold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserSid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourceTemplateName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SourceTemplateName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MatchesSourceTemplate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MatchesSourceTemplate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3053,7 +3053,7 @@ impl IFsrmAutoApplyQuota { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExcludeFolders(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExcludeFolders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3064,7 +3064,7 @@ impl IFsrmAutoApplyQuota { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommitAndUpdateDerived(&self, commitoptions: FsrmCommitOptions, applyoptions: FsrmTemplateApplyOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitAndUpdateDerived)(::windows::core::Interface::as_raw(self), commitoptions, applyoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3210,7 +3210,7 @@ impl IFsrmClassificationManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClassificationReportFormats(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassificationReportFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3219,7 +3219,7 @@ impl IFsrmClassificationManager { (::windows::core::Interface::vtable(self).SetClassificationReportFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(formats)).ok() } pub unsafe fn Logging(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Logging)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogging(&self, logging: i32) -> ::windows::core::Result<()> { @@ -3228,7 +3228,7 @@ impl IFsrmClassificationManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassificationReportMailTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassificationReportMailTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3240,7 +3240,7 @@ impl IFsrmClassificationManager { (::windows::core::Interface::vtable(self).SetClassificationReportMailTo)(::windows::core::Interface::as_raw(self), mailto.into().abi()).ok() } pub unsafe fn ClassificationReportEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassificationReportEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClassificationReportEnabled(&self, reportenabled: i16) -> ::windows::core::Result<()> { @@ -3249,29 +3249,29 @@ impl IFsrmClassificationManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassificationLastReportPathWithoutExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassificationLastReportPathWithoutExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassificationLastError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassificationLastError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClassificationRunningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassificationRunningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumPropertyDefinitions(&self, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumPropertyDefinitions)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreatePropertyDefinition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePropertyDefinition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3280,19 +3280,19 @@ impl IFsrmClassificationManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyDefinition)(::windows::core::Interface::as_raw(self), propertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumRules(&self, ruletype: FsrmRuleType, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRules)(::windows::core::Interface::as_raw(self), ruletype, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateRule(&self, ruletype: FsrmRuleType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRule)(::windows::core::Interface::as_raw(self), ruletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3301,19 +3301,19 @@ impl IFsrmClassificationManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRule)(::windows::core::Interface::as_raw(self), rulename.into().abi(), ruletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumModuleDefinitions(&self, moduletype: FsrmPipelineModuleType, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumModuleDefinitions)(::windows::core::Interface::as_raw(self), moduletype, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateModuleDefinition(&self, moduletype: FsrmPipelineModuleType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateModuleDefinition)(::windows::core::Interface::as_raw(self), moduletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3322,7 +3322,7 @@ impl IFsrmClassificationManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModuleDefinition)(::windows::core::Interface::as_raw(self), modulename.into().abi(), moduletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3334,7 +3334,7 @@ impl IFsrmClassificationManager { (::windows::core::Interface::vtable(self).RunClassification)(::windows::core::Interface::as_raw(self), context, reserved.into().abi()).ok() } pub unsafe fn WaitForClassificationCompletion(&self, waitseconds: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitForClassificationCompletion)(::windows::core::Interface::as_raw(self), waitseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CancelClassification(&self) -> ::windows::core::Result<()> { @@ -3346,7 +3346,7 @@ impl IFsrmClassificationManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFileProperties)(::windows::core::Interface::as_raw(self), filepath.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3356,7 +3356,7 @@ impl IFsrmClassificationManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileProperty)(::windows::core::Interface::as_raw(self), filepath.into().abi(), propertyname.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3542,7 +3542,7 @@ impl IFsrmClassificationManager2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClassificationReportFormats(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClassificationReportFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3551,7 +3551,7 @@ impl IFsrmClassificationManager2 { (::windows::core::Interface::vtable(self).base__.SetClassificationReportFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(formats)).ok() } pub unsafe fn Logging(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Logging)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogging(&self, logging: i32) -> ::windows::core::Result<()> { @@ -3560,7 +3560,7 @@ impl IFsrmClassificationManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassificationReportMailTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClassificationReportMailTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3572,7 +3572,7 @@ impl IFsrmClassificationManager2 { (::windows::core::Interface::vtable(self).base__.SetClassificationReportMailTo)(::windows::core::Interface::as_raw(self), mailto.into().abi()).ok() } pub unsafe fn ClassificationReportEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClassificationReportEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClassificationReportEnabled(&self, reportenabled: i16) -> ::windows::core::Result<()> { @@ -3581,29 +3581,29 @@ impl IFsrmClassificationManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassificationLastReportPathWithoutExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClassificationLastReportPathWithoutExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassificationLastError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClassificationLastError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClassificationRunningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClassificationRunningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumPropertyDefinitions(&self, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumPropertyDefinitions)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreatePropertyDefinition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePropertyDefinition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3612,19 +3612,19 @@ impl IFsrmClassificationManager2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyDefinition)(::windows::core::Interface::as_raw(self), propertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumRules(&self, ruletype: FsrmRuleType, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumRules)(::windows::core::Interface::as_raw(self), ruletype, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateRule(&self, ruletype: FsrmRuleType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRule)(::windows::core::Interface::as_raw(self), ruletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3633,19 +3633,19 @@ impl IFsrmClassificationManager2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRule)(::windows::core::Interface::as_raw(self), rulename.into().abi(), ruletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumModuleDefinitions(&self, moduletype: FsrmPipelineModuleType, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumModuleDefinitions)(::windows::core::Interface::as_raw(self), moduletype, options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateModuleDefinition(&self, moduletype: FsrmPipelineModuleType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateModuleDefinition)(::windows::core::Interface::as_raw(self), moduletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3654,7 +3654,7 @@ impl IFsrmClassificationManager2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetModuleDefinition)(::windows::core::Interface::as_raw(self), modulename.into().abi(), moduletype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3666,7 +3666,7 @@ impl IFsrmClassificationManager2 { (::windows::core::Interface::vtable(self).base__.RunClassification)(::windows::core::Interface::as_raw(self), context, reserved.into().abi()).ok() } pub unsafe fn WaitForClassificationCompletion(&self, waitseconds: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WaitForClassificationCompletion)(::windows::core::Interface::as_raw(self), waitseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CancelClassification(&self) -> ::windows::core::Result<()> { @@ -3678,7 +3678,7 @@ impl IFsrmClassificationManager2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumFileProperties)(::windows::core::Interface::as_raw(self), filepath.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3688,7 +3688,7 @@ impl IFsrmClassificationManager2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileProperty)(::windows::core::Interface::as_raw(self), filepath.into().abi(), propertyname.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3812,13 +3812,13 @@ pub struct IFsrmClassificationRule(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassificationRule { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3838,7 +3838,7 @@ impl IFsrmClassificationRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3850,13 +3850,13 @@ impl IFsrmClassificationRule { (::windows::core::Interface::vtable(self).base__.SetName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn RuleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RuleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModuleDefinitionName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ModuleDefinitionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3870,7 +3870,7 @@ impl IFsrmClassificationRule { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NamespaceRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3879,7 +3879,7 @@ impl IFsrmClassificationRule { (::windows::core::Interface::vtable(self).base__.SetNamespaceRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(namespaceroots)).ok() } pub unsafe fn RuleFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RuleFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRuleFlags(&self, ruleflags: i32) -> ::windows::core::Result<()> { @@ -3888,7 +3888,7 @@ impl IFsrmClassificationRule { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3899,11 +3899,11 @@ impl IFsrmClassificationRule { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExecutionOption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecutionOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExecutionOption(&self, executionoption: FsrmExecutionOption) -> ::windows::core::Result<()> { @@ -3912,7 +3912,7 @@ impl IFsrmClassificationRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PropertyAffected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyAffected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3926,7 +3926,7 @@ impl IFsrmClassificationRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4066,13 +4066,13 @@ pub struct IFsrmClassifierModuleDefinition(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassifierModuleDefinition { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4092,7 +4092,7 @@ impl IFsrmClassifierModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModuleClsid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ModuleClsid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4106,7 +4106,7 @@ impl IFsrmClassifierModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4120,7 +4120,7 @@ impl IFsrmClassifierModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Company(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Company)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4134,7 +4134,7 @@ impl IFsrmClassifierModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4146,25 +4146,25 @@ impl IFsrmClassifierModuleDefinition { (::windows::core::Interface::vtable(self).base__.SetVersion)(::windows::core::Interface::as_raw(self), version.into().abi()).ok() } pub unsafe fn ModuleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ModuleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetEnabled)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn NeedsFileContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NeedsFileContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNeedsFileContent(&self, needsfilecontent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetNeedsFileContent)(::windows::core::Interface::as_raw(self), needsfilecontent).ok() } pub unsafe fn Account(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Account)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAccount(&self, retrievalaccount: FsrmAccountType) -> ::windows::core::Result<()> { @@ -4173,7 +4173,7 @@ impl IFsrmClassifierModuleDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedExtensions(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4184,7 +4184,7 @@ impl IFsrmClassifierModuleDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4195,7 +4195,7 @@ impl IFsrmClassifierModuleDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PropertiesAffected(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertiesAffected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4206,7 +4206,7 @@ impl IFsrmClassifierModuleDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PropertiesUsed(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertiesUsed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4215,7 +4215,7 @@ impl IFsrmClassifierModuleDefinition { (::windows::core::Interface::vtable(self).SetPropertiesUsed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propertiesused)).ok() } pub unsafe fn NeedsExplicitValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NeedsExplicitValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNeedsExplicitValue(&self, needsexplicitvalue: i16) -> ::windows::core::Result<()> { @@ -4355,7 +4355,7 @@ impl IFsrmClassifierModuleImplementation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFsrmPipelineModuleDefinition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OnLoad)(::windows::core::Interface::as_raw(self), moduledefinition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnUnload(&self) -> ::windows::core::Result<()> { @@ -4364,7 +4364,7 @@ impl IFsrmClassifierModuleImplementation { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4518,34 +4518,34 @@ pub struct IFsrmCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Cancel)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn WaitForCompletion(&self, waitseconds: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitForCompletion)(::windows::core::Interface::as_raw(self), waitseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetById(&self, id: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetById)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4636,34 +4636,34 @@ pub struct IFsrmCommittableCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmCommittableCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.Cancel)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn WaitForCompletion(&self, waitseconds: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.WaitForCompletion)(::windows::core::Interface::as_raw(self), waitseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetById(&self, id: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetById)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4683,13 +4683,13 @@ impl IFsrmCommittableCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Commit(&self, options: FsrmCommitOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Commit)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4809,13 +4809,13 @@ impl IFsrmDerivedObjectsResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DerivedObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DerivedObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Results(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Results)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4916,7 +4916,7 @@ impl IFsrmExportImport { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportFileGroups)(::windows::core::Interface::as_raw(self), filepath.into().abi(), ::core::mem::transmute(filegroupnamessafearray), remotehost.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4935,7 +4935,7 @@ impl IFsrmExportImport { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportFileScreenTemplates)(::windows::core::Interface::as_raw(self), filepath.into().abi(), ::core::mem::transmute(templatenamessafearray), remotehost.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4954,7 +4954,7 @@ impl IFsrmExportImport { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportQuotaTemplates)(::windows::core::Interface::as_raw(self), filepath.into().abi(), ::core::mem::transmute(templatenamessafearray), remotehost.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5056,7 +5056,7 @@ pub struct IFsrmFileCondition(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileCondition { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -5139,7 +5139,7 @@ pub struct IFsrmFileConditionProperty(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileConditionProperty { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -5148,7 +5148,7 @@ impl IFsrmFileConditionProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PropertyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5160,21 +5160,21 @@ impl IFsrmFileConditionProperty { (::windows::core::Interface::vtable(self).SetPropertyName)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropertyId(&self, newval: FsrmFileSystemPropertyId) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPropertyId)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn Operator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Operator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOperator(&self, newval: FsrmPropertyConditionType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOperator)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ValueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetValueType(&self, newval: FsrmPropertyValueType) -> ::windows::core::Result<()> { @@ -5183,7 +5183,7 @@ impl IFsrmFileConditionProperty { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5309,13 +5309,13 @@ pub struct IFsrmFileGroup(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileGroup { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5335,7 +5335,7 @@ impl IFsrmFileGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5349,7 +5349,7 @@ impl IFsrmFileGroup { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Members(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Members)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5363,7 +5363,7 @@ impl IFsrmFileGroup { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NonMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NonMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5491,13 +5491,13 @@ pub struct IFsrmFileGroupImported(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileGroupImported { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5517,7 +5517,7 @@ impl IFsrmFileGroupImported { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5531,7 +5531,7 @@ impl IFsrmFileGroupImported { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Members(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Members)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5545,7 +5545,7 @@ impl IFsrmFileGroupImported { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NonMembers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NonMembers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5557,7 +5557,7 @@ impl IFsrmFileGroupImported { (::windows::core::Interface::vtable(self).base__.SetNonMembers)(::windows::core::Interface::as_raw(self), nonmembers.into().abi()).ok() } pub unsafe fn OverwriteOnCommit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OverwriteOnCommit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverwriteOnCommit(&self, overwrite: i16) -> ::windows::core::Result<()> { @@ -5678,7 +5678,7 @@ impl IFsrmFileGroupManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateFileGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFileGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5687,19 +5687,19 @@ impl IFsrmFileGroupManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileGroup)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumFileGroups(&self, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFileGroups)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ExportFileGroups(&self, filegroupnamesarray: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExportFileGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(filegroupnamesarray), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5708,7 +5708,7 @@ impl IFsrmFileGroupManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportFileGroups)(::windows::core::Interface::as_raw(self), serializedfilegroups.into().abi(), ::core::mem::transmute(filegroupnamesarray), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5806,13 +5806,13 @@ pub struct IFsrmFileManagementJob(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileManagementJob { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5832,7 +5832,7 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5846,7 +5846,7 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NamespaceRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5855,14 +5855,14 @@ impl IFsrmFileManagementJob { (::windows::core::Interface::vtable(self).SetNamespaceRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(namespaceroots)).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn OperationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OperationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOperationType(&self, operationtype: FsrmFileManagementType) -> ::windows::core::Result<()> { @@ -5871,7 +5871,7 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExpirationDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpirationDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5885,24 +5885,24 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CustomAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CustomAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Notifications(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Notifications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn Logging(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Logging)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogging(&self, loggingflags: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogging)(::windows::core::Interface::as_raw(self), loggingflags).ok() } pub unsafe fn ReportEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReportEnabled(&self, reportenabled: i16) -> ::windows::core::Result<()> { @@ -5911,7 +5911,7 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Formats(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Formats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5922,7 +5922,7 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5934,21 +5934,21 @@ impl IFsrmFileManagementJob { (::windows::core::Interface::vtable(self).SetMailTo)(::windows::core::Interface::as_raw(self), mailto.into().abi()).ok() } pub unsafe fn DaysSinceFileCreated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DaysSinceFileCreated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDaysSinceFileCreated(&self, dayssincecreation: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDaysSinceFileCreated)(::windows::core::Interface::as_raw(self), dayssincecreation).ok() } pub unsafe fn DaysSinceFileLastAccessed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DaysSinceFileLastAccessed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDaysSinceFileLastAccessed(&self, dayssinceaccess: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDaysSinceFileLastAccessed)(::windows::core::Interface::as_raw(self), dayssinceaccess).ok() } pub unsafe fn DaysSinceFileLastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DaysSinceFileLastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDaysSinceFileLastModified(&self, dayssincemodify: i32) -> ::windows::core::Result<()> { @@ -5957,11 +5957,11 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PropertyConditions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyConditions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FromDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FromDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFromDate(&self, fromdate: f64) -> ::windows::core::Result<()> { @@ -5970,7 +5970,7 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Task(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Task)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5984,7 +5984,7 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5993,29 +5993,29 @@ impl IFsrmFileManagementJob { (::windows::core::Interface::vtable(self).SetParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(parameters)).ok() } pub unsafe fn RunningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RunningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastReportPathWithoutExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastReportPathWithoutExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastRun(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastRun)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileNamePattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileNamePattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6030,7 +6030,7 @@ impl IFsrmFileManagementJob { (::windows::core::Interface::vtable(self).Run)(::windows::core::Interface::as_raw(self), context).ok() } pub unsafe fn WaitForCompletion(&self, waitseconds: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitForCompletion)(::windows::core::Interface::as_raw(self), waitseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -6048,13 +6048,13 @@ impl IFsrmFileManagementJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateNotificationAction(&self, days: i32, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNotificationAction)(::windows::core::Interface::as_raw(self), days, actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumNotificationActions(&self, days: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumNotificationActions)(::windows::core::Interface::as_raw(self), days, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6063,13 +6063,13 @@ impl IFsrmFileManagementJob { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePropertyCondition)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateCustomAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCustomAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6291,25 +6291,25 @@ impl IFsrmFileManagementJobManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActionVariables)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActionVariableDescriptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumFileManagementJobs(&self, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFileManagementJobs)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateFileManagementJob(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFileManagementJob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6318,7 +6318,7 @@ impl IFsrmFileManagementJobManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileManagementJob)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6416,13 +6416,13 @@ pub struct IFsrmFileScreen(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreen { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6442,7 +6442,7 @@ impl IFsrmFileScreen { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BlockedFileGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BlockedFileGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6454,7 +6454,7 @@ impl IFsrmFileScreen { (::windows::core::Interface::vtable(self).base__.SetBlockedFileGroups)(::windows::core::Interface::as_raw(self), blocklist.into().abi()).ok() } pub unsafe fn FileScreenFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileScreenFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileScreenFlags(&self, filescreenflags: i32) -> ::windows::core::Result<()> { @@ -6463,41 +6463,41 @@ impl IFsrmFileScreen { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAction(&self, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateAction)(::windows::core::Interface::as_raw(self), actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumActions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumActions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourceTemplateName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceTemplateName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MatchesSourceTemplate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MatchesSourceTemplate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserSid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6640,13 +6640,13 @@ pub struct IFsrmFileScreenBase(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenBase { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6666,7 +6666,7 @@ impl IFsrmFileScreenBase { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BlockedFileGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockedFileGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6678,7 +6678,7 @@ impl IFsrmFileScreenBase { (::windows::core::Interface::vtable(self).SetBlockedFileGroups)(::windows::core::Interface::as_raw(self), blocklist.into().abi()).ok() } pub unsafe fn FileScreenFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileScreenFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileScreenFlags(&self, filescreenflags: i32) -> ::windows::core::Result<()> { @@ -6687,13 +6687,13 @@ impl IFsrmFileScreenBase { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAction(&self, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAction)(::windows::core::Interface::as_raw(self), actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumActions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumActions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6807,13 +6807,13 @@ pub struct IFsrmFileScreenException(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenException { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6833,13 +6833,13 @@ impl IFsrmFileScreenException { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AllowedFileGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowedFileGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6957,13 +6957,13 @@ impl IFsrmFileScreenManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActionVariables)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActionVariableDescriptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6972,7 +6972,7 @@ impl IFsrmFileScreenManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFileScreen)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6981,7 +6981,7 @@ impl IFsrmFileScreenManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileScreen)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6990,7 +6990,7 @@ impl IFsrmFileScreenManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFileScreens)(::windows::core::Interface::as_raw(self), path.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6999,7 +6999,7 @@ impl IFsrmFileScreenManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFileScreenException)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7008,7 +7008,7 @@ impl IFsrmFileScreenManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileScreenException)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7017,13 +7017,13 @@ impl IFsrmFileScreenManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFileScreenExceptions)(::windows::core::Interface::as_raw(self), path.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateFileScreenCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFileScreenCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7137,13 +7137,13 @@ pub struct IFsrmFileScreenTemplate(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenTemplate { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7163,7 +7163,7 @@ impl IFsrmFileScreenTemplate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BlockedFileGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BlockedFileGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7175,7 +7175,7 @@ impl IFsrmFileScreenTemplate { (::windows::core::Interface::vtable(self).base__.SetBlockedFileGroups)(::windows::core::Interface::as_raw(self), blocklist.into().abi()).ok() } pub unsafe fn FileScreenFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileScreenFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileScreenFlags(&self, filescreenflags: i32) -> ::windows::core::Result<()> { @@ -7184,19 +7184,19 @@ impl IFsrmFileScreenTemplate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAction(&self, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateAction)(::windows::core::Interface::as_raw(self), actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumActions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumActions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7218,7 +7218,7 @@ impl IFsrmFileScreenTemplate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommitAndUpdateDerived(&self, commitoptions: FsrmCommitOptions, applyoptions: FsrmTemplateApplyOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitAndUpdateDerived)(::windows::core::Interface::as_raw(self), commitoptions, applyoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7348,13 +7348,13 @@ pub struct IFsrmFileScreenTemplateImported(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenTemplateImported { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7374,7 +7374,7 @@ impl IFsrmFileScreenTemplateImported { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BlockedFileGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BlockedFileGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7386,7 +7386,7 @@ impl IFsrmFileScreenTemplateImported { (::windows::core::Interface::vtable(self).base__.base__.SetBlockedFileGroups)(::windows::core::Interface::as_raw(self), blocklist.into().abi()).ok() } pub unsafe fn FileScreenFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FileScreenFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileScreenFlags(&self, filescreenflags: i32) -> ::windows::core::Result<()> { @@ -7395,19 +7395,19 @@ impl IFsrmFileScreenTemplateImported { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAction(&self, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateAction)(::windows::core::Interface::as_raw(self), actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumActions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumActions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7429,11 +7429,11 @@ impl IFsrmFileScreenTemplateImported { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommitAndUpdateDerived(&self, commitoptions: FsrmCommitOptions, applyoptions: FsrmTemplateApplyOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CommitAndUpdateDerived)(::windows::core::Interface::as_raw(self), commitoptions, applyoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OverwriteOnCommit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OverwriteOnCommit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverwriteOnCommit(&self, overwrite: i16) -> ::windows::core::Result<()> { @@ -7572,7 +7572,7 @@ impl IFsrmFileScreenTemplateManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTemplate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTemplate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7581,19 +7581,19 @@ impl IFsrmFileScreenTemplateManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTemplate)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumTemplates(&self, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumTemplates)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ExportTemplates(&self, filescreentemplatenamesarray: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExportTemplates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(filescreentemplatenamesarray), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7602,7 +7602,7 @@ impl IFsrmFileScreenTemplateManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportTemplates)(::windows::core::Interface::as_raw(self), serializedfilescreentemplates.into().abi(), ::core::mem::transmute(filescreentemplatenamesarray), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7700,34 +7700,34 @@ pub struct IFsrmMutableCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmMutableCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Cancel)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn WaitForCompletion(&self, waitseconds: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WaitForCompletion)(::windows::core::Interface::as_raw(self), waitseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetById(&self, id: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetById)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7747,7 +7747,7 @@ impl IFsrmMutableCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7853,13 +7853,13 @@ pub struct IFsrmObject(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmObject { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7967,7 +7967,7 @@ impl IFsrmPathMapper { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSharePathsForLocalPath)(::windows::core::Interface::as_raw(self), localpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -8051,23 +8051,23 @@ impl IFsrmPipelineModuleConnector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ModuleImplementation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModuleImplementation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModuleName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModuleName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HostingUserAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HostingUserAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HostingProcessPid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HostingProcessPid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8171,13 +8171,13 @@ pub struct IFsrmPipelineModuleDefinition(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPipelineModuleDefinition { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8197,7 +8197,7 @@ impl IFsrmPipelineModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModuleClsid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModuleClsid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8211,7 +8211,7 @@ impl IFsrmPipelineModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8225,7 +8225,7 @@ impl IFsrmPipelineModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Company(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Company)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8239,7 +8239,7 @@ impl IFsrmPipelineModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8251,25 +8251,25 @@ impl IFsrmPipelineModuleDefinition { (::windows::core::Interface::vtable(self).SetVersion)(::windows::core::Interface::as_raw(self), version.into().abi()).ok() } pub unsafe fn ModuleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModuleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn NeedsFileContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NeedsFileContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNeedsFileContent(&self, needsfilecontent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNeedsFileContent)(::windows::core::Interface::as_raw(self), needsfilecontent).ok() } pub unsafe fn Account(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Account)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAccount(&self, retrievalaccount: FsrmAccountType) -> ::windows::core::Result<()> { @@ -8278,7 +8278,7 @@ impl IFsrmPipelineModuleDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedExtensions(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8289,7 +8289,7 @@ impl IFsrmPipelineModuleDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8450,7 +8450,7 @@ impl IFsrmPipelineModuleImplementation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFsrmPipelineModuleDefinition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnLoad)(::windows::core::Interface::as_raw(self), moduledefinition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnUnload(&self) -> ::windows::core::Result<()> { @@ -8538,23 +8538,23 @@ impl IFsrmProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sources(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Sources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn PropertyFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8647,97 +8647,97 @@ impl IFsrmPropertyBag { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RelativePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RelativePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RelativeNamespaceRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RelativeNamespaceRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VolumeIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn FileId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ParentDirectoryId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentDirectoryId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SizeAllocated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeAllocated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LastAccessTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastAccessTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LastModificationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastModificationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OwnerSid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OwnerSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilePropertyNames(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FilePropertyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Messages(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Messages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn PropertyBagFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyBagFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8746,7 +8746,7 @@ impl IFsrmPropertyBag { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileProperty)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8769,7 +8769,7 @@ impl IFsrmPropertyBag { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetFileStreamInterface(&self, accessmode: FsrmFileStreamingMode, interfacetype: FsrmFileStreamingInterfaceType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileStreamInterface)(::windows::core::Interface::as_raw(self), accessmode, interfacetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8924,97 +8924,97 @@ impl IFsrmPropertyBag2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RelativePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RelativePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RelativeNamespaceRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RelativeNamespaceRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VolumeIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VolumeIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn FileId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ParentDirectoryId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParentDirectoryId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SizeAllocated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SizeAllocated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LastAccessTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastAccessTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LastModificationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastModificationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OwnerSid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OwnerSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilePropertyNames(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FilePropertyNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Messages(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Messages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn PropertyBagFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PropertyBagFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9023,7 +9023,7 @@ impl IFsrmPropertyBag2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileProperty)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9046,19 +9046,19 @@ impl IFsrmPropertyBag2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetFileStreamInterface(&self, accessmode: FsrmFileStreamingMode, interfacetype: FsrmFileStreamingInterfaceType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileStreamInterface)(::windows::core::Interface::as_raw(self), accessmode, interfacetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetFieldValue(&self, field: FsrmPropertyBagField) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldValue)(::windows::core::Interface::as_raw(self), field, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUntrustedInFileProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUntrustedInFileProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9164,7 +9164,7 @@ impl IFsrmPropertyCondition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9176,7 +9176,7 @@ impl IFsrmPropertyCondition { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, r#type: FsrmPropertyConditionType) -> ::windows::core::Result<()> { @@ -9185,7 +9185,7 @@ impl IFsrmPropertyCondition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9293,13 +9293,13 @@ pub struct IFsrmPropertyDefinition(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinition { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9319,7 +9319,7 @@ impl IFsrmPropertyDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9331,7 +9331,7 @@ impl IFsrmPropertyDefinition { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, r#type: FsrmPropertyDefinitionType) -> ::windows::core::Result<()> { @@ -9340,7 +9340,7 @@ impl IFsrmPropertyDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PossibleValues(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PossibleValues)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9351,7 +9351,7 @@ impl IFsrmPropertyDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValueDescriptions(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValueDescriptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9362,7 +9362,7 @@ impl IFsrmPropertyDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9497,13 +9497,13 @@ pub struct IFsrmPropertyDefinition2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinition2 { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9523,7 +9523,7 @@ impl IFsrmPropertyDefinition2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9535,7 +9535,7 @@ impl IFsrmPropertyDefinition2 { (::windows::core::Interface::vtable(self).base__.SetName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, r#type: FsrmPropertyDefinitionType) -> ::windows::core::Result<()> { @@ -9544,7 +9544,7 @@ impl IFsrmPropertyDefinition2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PossibleValues(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PossibleValues)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9555,7 +9555,7 @@ impl IFsrmPropertyDefinition2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValueDescriptions(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ValueDescriptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9566,7 +9566,7 @@ impl IFsrmPropertyDefinition2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9575,13 +9575,13 @@ impl IFsrmPropertyDefinition2 { (::windows::core::Interface::vtable(self).base__.SetParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(parameters)).ok() } pub unsafe fn PropertyDefinitionFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyDefinitionFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9593,13 +9593,13 @@ impl IFsrmPropertyDefinition2 { (::windows::core::Interface::vtable(self).SetDisplayName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn AppliesTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppliesTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValueDefinitions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValueDefinitions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9729,25 +9729,25 @@ impl IFsrmPropertyDefinitionValue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UniqueID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UniqueID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9841,13 +9841,13 @@ pub struct IFsrmQuota(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuota { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9867,7 +9867,7 @@ impl IFsrmQuota { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn QuotaLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QuotaLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9879,7 +9879,7 @@ impl IFsrmQuota { (::windows::core::Interface::vtable(self).base__.base__.SetQuotaLimit)(::windows::core::Interface::as_raw(self), quotalimit.into().abi()).ok() } pub unsafe fn QuotaFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QuotaFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuotaFlags(&self, quotaflags: i32) -> ::windows::core::Result<()> { @@ -9888,7 +9888,7 @@ impl IFsrmQuota { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Thresholds(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Thresholds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn AddThreshold(&self, threshold: i32) -> ::windows::core::Result<()> { @@ -9903,41 +9903,41 @@ impl IFsrmQuota { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateThresholdAction(&self, threshold: i32, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateThresholdAction)(::windows::core::Interface::as_raw(self), threshold, actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumThresholdActions(&self, threshold: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumThresholdActions)(::windows::core::Interface::as_raw(self), threshold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserSid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourceTemplateName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SourceTemplateName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MatchesSourceTemplate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MatchesSourceTemplate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9951,17 +9951,17 @@ impl IFsrmQuota { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn QuotaUsed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuotaUsed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn QuotaPeakUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuotaPeakUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QuotaPeakUsageTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuotaPeakUsageTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetPeakUsage(&self) -> ::windows::core::Result<()> { @@ -10110,13 +10110,13 @@ pub struct IFsrmQuotaBase(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaBase { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10136,7 +10136,7 @@ impl IFsrmQuotaBase { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn QuotaLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuotaLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10148,7 +10148,7 @@ impl IFsrmQuotaBase { (::windows::core::Interface::vtable(self).SetQuotaLimit)(::windows::core::Interface::as_raw(self), quotalimit.into().abi()).ok() } pub unsafe fn QuotaFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuotaFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuotaFlags(&self, quotaflags: i32) -> ::windows::core::Result<()> { @@ -10157,7 +10157,7 @@ impl IFsrmQuotaBase { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Thresholds(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Thresholds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn AddThreshold(&self, threshold: i32) -> ::windows::core::Result<()> { @@ -10172,13 +10172,13 @@ impl IFsrmQuotaBase { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateThresholdAction(&self, threshold: i32, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateThresholdAction)(::windows::core::Interface::as_raw(self), threshold, actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumThresholdActions(&self, threshold: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumThresholdActions)(::windows::core::Interface::as_raw(self), threshold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10301,13 +10301,13 @@ impl IFsrmQuotaManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActionVariables)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActionVariableDescriptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10316,7 +10316,7 @@ impl IFsrmQuotaManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQuota)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10326,7 +10326,7 @@ impl IFsrmQuotaManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAutoApplyQuota)(::windows::core::Interface::as_raw(self), quotatemplatename.into().abi(), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10335,7 +10335,7 @@ impl IFsrmQuotaManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQuota)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10344,7 +10344,7 @@ impl IFsrmQuotaManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutoApplyQuota)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10353,7 +10353,7 @@ impl IFsrmQuotaManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestrictiveQuota)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10362,7 +10362,7 @@ impl IFsrmQuotaManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumQuotas)(::windows::core::Interface::as_raw(self), path.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10371,7 +10371,7 @@ impl IFsrmQuotaManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumAutoApplyQuotas)(::windows::core::Interface::as_raw(self), path.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10380,7 +10380,7 @@ impl IFsrmQuotaManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumEffectiveQuotas)(::windows::core::Interface::as_raw(self), path.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10394,7 +10394,7 @@ impl IFsrmQuotaManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateQuotaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQuotaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10522,13 +10522,13 @@ impl IFsrmQuotaManagerEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ActionVariables)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ActionVariableDescriptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10537,7 +10537,7 @@ impl IFsrmQuotaManagerEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQuota)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10547,7 +10547,7 @@ impl IFsrmQuotaManagerEx { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateAutoApplyQuota)(::windows::core::Interface::as_raw(self), quotatemplatename.into().abi(), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10556,7 +10556,7 @@ impl IFsrmQuotaManagerEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetQuota)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10565,7 +10565,7 @@ impl IFsrmQuotaManagerEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAutoApplyQuota)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10574,7 +10574,7 @@ impl IFsrmQuotaManagerEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRestrictiveQuota)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10583,7 +10583,7 @@ impl IFsrmQuotaManagerEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumQuotas)(::windows::core::Interface::as_raw(self), path.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10592,7 +10592,7 @@ impl IFsrmQuotaManagerEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumAutoApplyQuotas)(::windows::core::Interface::as_raw(self), path.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10601,7 +10601,7 @@ impl IFsrmQuotaManagerEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumEffectiveQuotas)(::windows::core::Interface::as_raw(self), path.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10615,7 +10615,7 @@ impl IFsrmQuotaManagerEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateQuotaCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateQuotaCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10624,7 +10624,7 @@ impl IFsrmQuotaManagerEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAffectedByQuota)(::windows::core::Interface::as_raw(self), path.into().abi(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10724,13 +10724,13 @@ pub struct IFsrmQuotaObject(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaObject { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10750,7 +10750,7 @@ impl IFsrmQuotaObject { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn QuotaLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QuotaLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10762,7 +10762,7 @@ impl IFsrmQuotaObject { (::windows::core::Interface::vtable(self).base__.SetQuotaLimit)(::windows::core::Interface::as_raw(self), quotalimit.into().abi()).ok() } pub unsafe fn QuotaFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QuotaFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuotaFlags(&self, quotaflags: i32) -> ::windows::core::Result<()> { @@ -10771,7 +10771,7 @@ impl IFsrmQuotaObject { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Thresholds(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Thresholds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn AddThreshold(&self, threshold: i32) -> ::windows::core::Result<()> { @@ -10786,41 +10786,41 @@ impl IFsrmQuotaObject { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateThresholdAction(&self, threshold: i32, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateThresholdAction)(::windows::core::Interface::as_raw(self), threshold, actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumThresholdActions(&self, threshold: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumThresholdActions)(::windows::core::Interface::as_raw(self), threshold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserSid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourceTemplateName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceTemplateName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MatchesSourceTemplate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MatchesSourceTemplate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10963,13 +10963,13 @@ pub struct IFsrmQuotaTemplate(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaTemplate { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10989,7 +10989,7 @@ impl IFsrmQuotaTemplate { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn QuotaLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QuotaLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11001,7 +11001,7 @@ impl IFsrmQuotaTemplate { (::windows::core::Interface::vtable(self).base__.SetQuotaLimit)(::windows::core::Interface::as_raw(self), quotalimit.into().abi()).ok() } pub unsafe fn QuotaFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QuotaFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuotaFlags(&self, quotaflags: i32) -> ::windows::core::Result<()> { @@ -11010,7 +11010,7 @@ impl IFsrmQuotaTemplate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Thresholds(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Thresholds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn AddThreshold(&self, threshold: i32) -> ::windows::core::Result<()> { @@ -11025,19 +11025,19 @@ impl IFsrmQuotaTemplate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateThresholdAction(&self, threshold: i32, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateThresholdAction)(::windows::core::Interface::as_raw(self), threshold, actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumThresholdActions(&self, threshold: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumThresholdActions)(::windows::core::Interface::as_raw(self), threshold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11059,7 +11059,7 @@ impl IFsrmQuotaTemplate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommitAndUpdateDerived(&self, commitoptions: FsrmCommitOptions, applyoptions: FsrmTemplateApplyOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitAndUpdateDerived)(::windows::core::Interface::as_raw(self), commitoptions, applyoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11189,13 +11189,13 @@ pub struct IFsrmQuotaTemplateImported(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaTemplateImported { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11215,7 +11215,7 @@ impl IFsrmQuotaTemplateImported { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn QuotaLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QuotaLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11227,7 +11227,7 @@ impl IFsrmQuotaTemplateImported { (::windows::core::Interface::vtable(self).base__.base__.SetQuotaLimit)(::windows::core::Interface::as_raw(self), quotalimit.into().abi()).ok() } pub unsafe fn QuotaFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QuotaFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuotaFlags(&self, quotaflags: i32) -> ::windows::core::Result<()> { @@ -11236,7 +11236,7 @@ impl IFsrmQuotaTemplateImported { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Thresholds(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Thresholds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn AddThreshold(&self, threshold: i32) -> ::windows::core::Result<()> { @@ -11251,19 +11251,19 @@ impl IFsrmQuotaTemplateImported { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateThresholdAction(&self, threshold: i32, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateThresholdAction)(::windows::core::Interface::as_raw(self), threshold, actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumThresholdActions(&self, threshold: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumThresholdActions)(::windows::core::Interface::as_raw(self), threshold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11285,11 +11285,11 @@ impl IFsrmQuotaTemplateImported { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommitAndUpdateDerived(&self, commitoptions: FsrmCommitOptions, applyoptions: FsrmTemplateApplyOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CommitAndUpdateDerived)(::windows::core::Interface::as_raw(self), commitoptions, applyoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OverwriteOnCommit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OverwriteOnCommit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverwriteOnCommit(&self, overwrite: i16) -> ::windows::core::Result<()> { @@ -11428,7 +11428,7 @@ impl IFsrmQuotaTemplateManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTemplate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTemplate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11437,19 +11437,19 @@ impl IFsrmQuotaTemplateManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTemplate)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumTemplates(&self, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumTemplates)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ExportTemplates(&self, quotatemplatenamesarray: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExportTemplates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(quotatemplatenamesarray), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11458,7 +11458,7 @@ impl IFsrmQuotaTemplateManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportTemplates)(::windows::core::Interface::as_raw(self), serializedquotatemplates.into().abi(), ::core::mem::transmute(quotatemplatenamesarray), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11556,13 +11556,13 @@ pub struct IFsrmReport(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmReport { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11576,7 +11576,7 @@ impl IFsrmReport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11590,13 +11590,13 @@ impl IFsrmReport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastGeneratedFileNamePrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastGeneratedFileNamePrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetFilter(&self, filter: FsrmReportFilter) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilter)(::windows::core::Interface::as_raw(self), filter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11715,13 +11715,13 @@ pub struct IFsrmReportJob(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmReportJob { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11741,7 +11741,7 @@ impl IFsrmReportJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Task(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Task)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11755,7 +11755,7 @@ impl IFsrmReportJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NamespaceRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11766,7 +11766,7 @@ impl IFsrmReportJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Formats(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Formats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11777,7 +11777,7 @@ impl IFsrmReportJob { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11789,42 +11789,42 @@ impl IFsrmReportJob { (::windows::core::Interface::vtable(self).SetMailTo)(::windows::core::Interface::as_raw(self), mailto.into().abi()).ok() } pub unsafe fn RunningStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RunningStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastRun(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastRun)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LastGeneratedInDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastGeneratedInDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumReports(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumReports)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateReport(&self, reporttype: FsrmReportType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateReport)(::windows::core::Interface::as_raw(self), reporttype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Run(&self, context: FsrmReportGenerationContext) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Run)(::windows::core::Interface::as_raw(self), context).ok() } pub unsafe fn WaitForCompletion(&self, waitseconds: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitForCompletion)(::windows::core::Interface::as_raw(self), waitseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cancel(&self) -> ::windows::core::Result<()> { @@ -11978,13 +11978,13 @@ impl IFsrmReportManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumReportJobs(&self, options: FsrmEnumOptions) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumReportJobs)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateReportJob(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateReportJob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11993,13 +11993,13 @@ impl IFsrmReportManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReportJob)(::windows::core::Interface::as_raw(self), taskname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOutputDirectory(&self, context: FsrmReportGenerationContext) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputDirectory)(::windows::core::Interface::as_raw(self), context, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12011,13 +12011,13 @@ impl IFsrmReportManager { (::windows::core::Interface::vtable(self).SetOutputDirectory)(::windows::core::Interface::as_raw(self), context, path.into().abi()).ok() } pub unsafe fn IsFilterValidForReportType(&self, reporttype: FsrmReportType, filter: FsrmReportFilter) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFilterValidForReportType)(::windows::core::Interface::as_raw(self), reporttype, filter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetDefaultFilter(&self, reporttype: FsrmReportType, filter: FsrmReportFilter) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultFilter)(::windows::core::Interface::as_raw(self), reporttype, filter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12031,7 +12031,7 @@ impl IFsrmReportManager { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetReportSizeLimit(&self, limit: FsrmReportLimit) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReportSizeLimit)(::windows::core::Interface::as_raw(self), limit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12275,13 +12275,13 @@ pub struct IFsrmRule(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmRule { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12301,7 +12301,7 @@ impl IFsrmRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12313,13 +12313,13 @@ impl IFsrmRule { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn RuleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RuleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModuleDefinitionName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModuleDefinitionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12333,7 +12333,7 @@ impl IFsrmRule { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NamespaceRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12342,7 +12342,7 @@ impl IFsrmRule { (::windows::core::Interface::vtable(self).SetNamespaceRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(namespaceroots)).ok() } pub unsafe fn RuleFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RuleFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRuleFlags(&self, ruleflags: i32) -> ::windows::core::Result<()> { @@ -12351,7 +12351,7 @@ impl IFsrmRule { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12362,7 +12362,7 @@ impl IFsrmRule { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12499,7 +12499,7 @@ impl IFsrmSetting { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SmtpServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmtpServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12513,7 +12513,7 @@ impl IFsrmSetting { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MailFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MailFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12527,7 +12527,7 @@ impl IFsrmSetting { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AdminEmail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminEmail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12539,14 +12539,14 @@ impl IFsrmSetting { (::windows::core::Interface::vtable(self).SetAdminEmail)(::windows::core::Interface::as_raw(self), adminemail.into().abi()).ok() } pub unsafe fn DisableCommandLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisableCommandLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisableCommandLine(&self, disablecommandline: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisableCommandLine)(::windows::core::Interface::as_raw(self), disablecommandline).ok() } pub unsafe fn EnableScreeningAudit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableScreeningAudit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableScreeningAudit(&self, enablescreeningaudit: i16) -> ::windows::core::Result<()> { @@ -12564,7 +12564,7 @@ impl IFsrmSetting { (::windows::core::Interface::vtable(self).SetActionRunLimitInterval)(::windows::core::Interface::as_raw(self), actiontype, delaytimeminutes).ok() } pub unsafe fn GetActionRunLimitInterval(&self, actiontype: FsrmActionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActionRunLimitInterval)(::windows::core::Interface::as_raw(self), actiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12676,13 +12676,13 @@ pub struct IFsrmStorageModuleDefinition(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmStorageModuleDefinition { pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12702,7 +12702,7 @@ impl IFsrmStorageModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModuleClsid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ModuleClsid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12716,7 +12716,7 @@ impl IFsrmStorageModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12730,7 +12730,7 @@ impl IFsrmStorageModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Company(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Company)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12744,7 +12744,7 @@ impl IFsrmStorageModuleDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12756,25 +12756,25 @@ impl IFsrmStorageModuleDefinition { (::windows::core::Interface::vtable(self).base__.SetVersion)(::windows::core::Interface::as_raw(self), version.into().abi()).ok() } pub unsafe fn ModuleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ModuleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetEnabled)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn NeedsFileContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NeedsFileContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNeedsFileContent(&self, needsfilecontent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetNeedsFileContent)(::windows::core::Interface::as_raw(self), needsfilecontent).ok() } pub unsafe fn Account(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Account)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAccount(&self, retrievalaccount: FsrmAccountType) -> ::windows::core::Result<()> { @@ -12783,7 +12783,7 @@ impl IFsrmStorageModuleDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedExtensions(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12794,7 +12794,7 @@ impl IFsrmStorageModuleDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12803,21 +12803,21 @@ impl IFsrmStorageModuleDefinition { (::windows::core::Interface::vtable(self).base__.SetParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(parameters)).ok() } pub unsafe fn Capabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Capabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCapabilities(&self, capabilities: FsrmStorageModuleCaps) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCapabilities)(::windows::core::Interface::as_raw(self), capabilities).ok() } pub unsafe fn StorageType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StorageType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStorageType(&self, storagetype: FsrmStorageModuleType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStorageType)(::windows::core::Interface::as_raw(self), storagetype).ok() } pub unsafe fn UpdatesFileContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdatesFileContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUpdatesFileContent(&self, updatesfilecontent: i16) -> ::windows::core::Result<()> { @@ -12945,7 +12945,7 @@ impl IFsrmStorageModuleImplementation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFsrmPipelineModuleDefinition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OnLoad)(::windows::core::Interface::as_raw(self), moduledefinition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnUnload(&self) -> ::windows::core::Result<()> { 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 a3da02cf25..9d6fdb9127 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -2717,7 +2717,7 @@ pub unsafe fn CreateIoRing(ioringversion: IORING_VERSION, flags: IORING_CREATE_F extern "system" { fn CreateIoRing(ioringversion: IORING_VERSION, flags: IORING_CREATE_FLAGS, submissionqueuesize: u32, completionqueuesize: u32, h: *mut *mut HIORING__) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut HIORING__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateIoRing(ioringversion, ::core::mem::transmute(flags), submissionqueuesize, completionqueuesize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut HIORING__>(result__) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -6960,7 +6960,7 @@ where extern "system" { fn GetDiskSpaceInformationA(rootpath: ::windows::core::PCSTR, diskspaceinfo: *mut DISK_SPACE_INFORMATION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetDiskSpaceInformationA(rootpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -6973,7 +6973,7 @@ where extern "system" { fn GetDiskSpaceInformationW(rootpath: ::windows::core::PCWSTR, diskspaceinfo: *mut DISK_SPACE_INFORMATION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetDiskSpaceInformationW(rootpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -7429,7 +7429,7 @@ pub unsafe fn GetIoRingInfo(ioring: *const HIORING__) -> ::windows::core::Result extern "system" { fn GetIoRingInfo(ioring: *const HIORING__, info: *mut IORING_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetIoRingInfo(::core::mem::transmute(ioring), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -7930,13 +7930,13 @@ impl IDiskQuotaControl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumConnectionPoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumConnectionPoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FindConnectionPoint(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindConnectionPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7990,14 +7990,14 @@ impl IDiskQuotaControl { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddUserSid)(::windows::core::Interface::as_raw(self), pusersid.into(), fnameresolution, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddUserName<'a, P0>(&self, pszlogonname: P0, fnameresolution: DISKQUOTA_USERNAME_RESOLVE) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddUserName)(::windows::core::Interface::as_raw(self), pszlogonname.into(), fnameresolution, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteUser<'a, P0>(&self, puser: P0) -> ::windows::core::Result<()> @@ -8012,14 +8012,14 @@ impl IDiskQuotaControl { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindUserSid)(::windows::core::Interface::as_raw(self), pusersid.into(), fnameresolution, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindUserName<'a, P0>(&self, pszlogonname: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindUserName)(::windows::core::Interface::as_raw(self), pszlogonname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8028,7 +8028,7 @@ impl IDiskQuotaControl { (::windows::core::Interface::vtable(self).CreateEnumUsers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rgpusersids), cpsids, fnameresolution, ::core::mem::transmute(ppenum)).ok() } pub unsafe fn CreateUserBatch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUserBatch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InvalidateSidNameCache(&self) -> ::windows::core::Result<()> { @@ -8412,7 +8412,7 @@ impl IEnumDiskQuotaUsers { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14070,7 +14070,7 @@ pub unsafe fn PopIoRingCompletion(ioring: *const HIORING__) -> ::windows::core:: extern "system" { fn PopIoRingCompletion(ioring: *const HIORING__, cqe: *mut IORING_CQE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PopIoRingCompletion(::core::mem::transmute(ioring), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -14196,7 +14196,7 @@ pub unsafe fn QueryIoRingCapabilities() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); QueryIoRingCapabilities(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -16669,7 +16669,7 @@ pub unsafe fn SubmitIoRing(ioring: *const HIORING__, waitoperations: u32, millis extern "system" { fn SubmitIoRing(ioring: *const HIORING__, waitoperations: u32, milliseconds: u32, submittedentries: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SubmitIoRing(::core::mem::transmute(ioring), waitoperations, milliseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -19242,7 +19242,7 @@ where extern "system" { fn WofGetDriverVersion(fileorvolumehandle: super::super::Foundation::HANDLE, provider: u32, wofversion: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WofGetDriverVersion(fileorvolumehandle.into(), provider, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -19295,7 +19295,7 @@ where extern "system" { fn WofWimAddEntry(volumename: ::windows::core::PCWSTR, wimpath: ::windows::core::PCWSTR, wimtype: u32, wimindex: u32, datasourceid: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WofWimAddEntry(volumename.into(), wimpath.into(), wimtype, wimindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] 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 f6d09bb5dd..d555d198b1 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs @@ -1232,11 +1232,11 @@ pub struct IBlockRange(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBlockRange { pub unsafe fn StartLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1318,7 +1318,7 @@ impl IBlockRangeList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BlockRanges(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -1402,13 +1402,13 @@ impl IBootOptions { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BootImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Manufacturer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Manufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1420,21 +1420,21 @@ impl IBootOptions { (::windows::core::Interface::vtable(self).SetManufacturer)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn PlatformId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlatformId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPlatformId(&self, newval: PlatformId) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPlatformId)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn Emulation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Emulation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEmulation(&self, newval: EmulationType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEmulation)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ImageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1542,7 +1542,7 @@ impl IBurnVerification { (::windows::core::Interface::vtable(self).SetBurnVerificationLevel)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn BurnVerificationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BurnVerificationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1600,7 +1600,7 @@ impl IDiscFormat2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRecorderSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1609,21 +1609,21 @@ impl IDiscFormat2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCurrentMediaSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaPhysicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaHeuristicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedMediaTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedMediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -1720,7 +1720,7 @@ impl IDiscFormat2Data { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRecorderSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1729,21 +1729,21 @@ impl IDiscFormat2Data { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsCurrentMediaSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaPhysicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaHeuristicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedMediaTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedMediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1757,67 +1757,67 @@ impl IDiscFormat2Data { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferUnderrunFreeDisabled(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBufferUnderrunFreeDisabled)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn BufferUnderrunFreeDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BufferUnderrunFreeDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPostgapAlreadyInImage(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPostgapAlreadyInImage)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn PostgapAlreadyInImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PostgapAlreadyInImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentMediaStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentMediaStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteProtectStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteProtectStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalSectorsOnMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalSectorsOnMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeSectorsOnMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FreeSectorsOnMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NextWritableAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NextWritableAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartAddressOfPreviousSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartAddressOfPreviousSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWrittenAddressOfPreviousSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastWrittenAddressOfPreviousSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetForceMediaToBeClosed(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetForceMediaToBeClosed)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ForceMediaToBeClosed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ForceMediaToBeClosed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisableConsumerDvdCompatibilityMode(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisableConsumerDvdCompatibilityMode)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn DisableConsumerDvdCompatibilityMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisableConsumerDvdCompatibilityMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPhysicalMediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPhysicalMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1831,48 +1831,48 @@ impl IDiscFormat2Data { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestedWriteSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestedWriteSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestedRotationTypeIsPureCAV(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestedRotationTypeIsPureCAV)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentWriteSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentWriteSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentRotationTypeIsPureCAV(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentRotationTypeIsPureCAV)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeeds(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedWriteSpeeds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedWriteSpeedDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn SetForceOverwrite(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetForceOverwrite)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ForceOverwrite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ForceOverwrite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MultisessionInterfaces(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MultisessionInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2038,47 +2038,47 @@ pub struct IDiscFormat2DataEventArgs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2DataEventArgs { pub unsafe fn StartLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StartLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SectorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SectorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastReadLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastReadLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWrittenLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastWrittenLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TotalSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UsedSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UsedSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FreeSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ElapsedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElapsedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemainingTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemainingTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2183,7 +2183,7 @@ impl IDiscFormat2Erase { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRecorderSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2192,21 +2192,21 @@ impl IDiscFormat2Erase { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsCurrentMediaSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaPhysicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaHeuristicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedMediaTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedMediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2220,18 +2220,18 @@ impl IDiscFormat2Erase { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFullErase(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFullErase)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn FullErase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FullErase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPhysicalMediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPhysicalMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2245,7 +2245,7 @@ impl IDiscFormat2Erase { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EraseMedia(&self) -> ::windows::core::Result<()> { @@ -2369,7 +2369,7 @@ impl IDiscFormat2RawCD { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRecorderSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2378,21 +2378,21 @@ impl IDiscFormat2RawCD { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsCurrentMediaSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaPhysicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaHeuristicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedMediaTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedMediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn PrepareMedia(&self) -> ::windows::core::Result<()> { @@ -2434,39 +2434,39 @@ impl IDiscFormat2RawCD { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferUnderrunFreeDisabled(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBufferUnderrunFreeDisabled)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn BufferUnderrunFreeDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BufferUnderrunFreeDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartOfNextSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartOfNextSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastPossibleStartOfLeadout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastPossibleStartOfLeadout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPhysicalMediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPhysicalMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedSectorTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedSectorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn SetRequestedSectorType(&self, value: IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRequestedSectorType)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn RequestedSectorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestedSectorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2480,35 +2480,35 @@ impl IDiscFormat2RawCD { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestedWriteSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestedWriteSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestedRotationTypeIsPureCAV(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestedRotationTypeIsPureCAV)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentWriteSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentWriteSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentRotationTypeIsPureCAV(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentRotationTypeIsPureCAV)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeeds(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedWriteSpeeds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedWriteSpeedDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -2655,43 +2655,43 @@ pub struct IDiscFormat2RawCDEventArgs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2RawCDEventArgs { pub unsafe fn StartLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StartLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SectorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SectorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastReadLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastReadLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWrittenLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastWrittenLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TotalSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UsedSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UsedSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FreeSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ElapsedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElapsedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemainingTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemainingTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2795,7 +2795,7 @@ impl IDiscFormat2TrackAtOnce { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRecorderSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2804,21 +2804,21 @@ impl IDiscFormat2TrackAtOnce { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsCurrentMediaSupported)(::windows::core::Interface::as_raw(self), recorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaPhysicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaHeuristicallyBlank)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedMediaTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedMediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn PrepareMedia(&self) -> ::windows::core::Result<()> { @@ -2852,47 +2852,47 @@ impl IDiscFormat2TrackAtOnce { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferUnderrunFreeDisabled(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBufferUnderrunFreeDisabled)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn BufferUnderrunFreeDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BufferUnderrunFreeDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfExistingTracks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfExistingTracks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalSectorsOnMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalSectorsOnMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeSectorsOnMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FreeSectorsOnMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UsedSectorsOnMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UsedSectorsOnMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDoNotFinalizeMedia(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDoNotFinalizeMedia)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn DoNotFinalizeMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoNotFinalizeMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExpectedTableOfContents(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpectedTableOfContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CurrentPhysicalMediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPhysicalMediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2906,35 +2906,35 @@ impl IDiscFormat2TrackAtOnce { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestedWriteSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestedWriteSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestedRotationTypeIsPureCAV(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestedRotationTypeIsPureCAV)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentWriteSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentWriteSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentRotationTypeIsPureCAV(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentRotationTypeIsPureCAV)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeeds(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedWriteSpeeds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedWriteSpeedDescriptors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -3079,47 +3079,47 @@ pub struct IDiscFormat2TrackAtOnceEventArgs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2TrackAtOnceEventArgs { pub unsafe fn StartLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StartLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SectorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SectorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastReadLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastReadLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWrittenLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastWrittenLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TotalSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UsedSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UsedSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FreeSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentTrackNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentTrackNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ElapsedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElapsedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemainingTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemainingTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3220,22 +3220,22 @@ impl IDiscMaster { (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumDiscMasterFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDiscMasterFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActiveDiscMasterFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveDiscMasterFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetActiveDiscMasterFormat(&self, riid: *const ::windows::core::GUID, ppunk: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetActiveDiscMasterFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(ppunk)).ok() } pub unsafe fn EnumDiscRecorders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDiscRecorders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActiveDiscRecorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveDiscRecorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetActiveDiscRecorder<'a, P0>(&self, precorder: P0) -> ::windows::core::Result<()> @@ -3251,7 +3251,7 @@ impl IDiscMaster { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscMasterProgressEvents>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProgressAdvise)(::windows::core::Interface::as_raw(self), pevents.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProgressUnadvise(&self, vcookie: usize) -> ::windows::core::Result<()> { @@ -3325,21 +3325,21 @@ impl IDiscMaster2 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSupportedEnvironment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSupportedEnvironment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3425,7 +3425,7 @@ pub struct IDiscMaster2_Vtbl { pub struct IDiscMasterProgressEvents(::windows::core::IUnknown); impl IDiscMasterProgressEvents { pub unsafe fn QueryCancel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryCancel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyPnPActivity(&self) -> ::windows::core::Result<()> { @@ -3513,7 +3513,7 @@ impl IDiscRecorder { (::windows::core::Interface::vtable(self).GetRecorderGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pbyuniqueid)), pbyuniqueid.len() as _, ::core::mem::transmute(pulreturnsizerequired)).ok() } pub unsafe fn GetRecorderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecorderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3524,19 +3524,19 @@ impl IDiscRecorder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBasePnPID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBasePnPID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetRecorderProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecorderProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3548,7 +3548,7 @@ impl IDiscRecorder { (::windows::core::Interface::vtable(self).SetRecorderProperties)(::windows::core::Interface::as_raw(self), ppropstg.into().abi()).ok() } pub unsafe fn GetRecorderState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecorderState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenExclusive(&self) -> ::windows::core::Result<()> { @@ -3680,81 +3680,81 @@ impl IDiscRecorder2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ActiveDiscRecorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActiveDiscRecorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VendorId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VendorId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductRevision(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductRevision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn VolumePathNames(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumePathNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn DeviceCanLoadMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceCanLoadMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LegacyDeviceNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LegacyDeviceNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedFeaturePages(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedFeaturePages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentFeaturePages(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFeaturePages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedProfiles(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedProfiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentProfiles(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentProfiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedModePages(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedModePages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExclusiveAccessOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExclusiveAccessOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3953,15 +3953,15 @@ impl IDiscRecorder2Ex { (::windows::core::Interface::vtable(self).GetSupportedModePages)(::windows::core::Interface::as_raw(self), requesttype, ::core::mem::transmute(modepagetypes), ::core::mem::transmute(validpages)).ok() } pub unsafe fn GetByteAlignmentMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetByteAlignmentMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaximumNonPageAlignedTransferSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumNonPageAlignedTransferSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaximumPageAlignedTransferSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaximumPageAlignedTransferSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4046,7 +4046,7 @@ impl IEnumDiscMasterFormats { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4108,7 +4108,7 @@ impl IEnumDiscRecorders { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4172,7 +4172,7 @@ impl IEnumFsiItems { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4239,7 +4239,7 @@ impl IEnumProgressItems { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4299,18 +4299,18 @@ impl IFileSystemImage { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionStartBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionStartBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSessionStartBlock(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSessionStartBlock)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn FreeMediaBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FreeMediaBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFreeMediaBlocks(&self, newval: i32) -> ::windows::core::Result<()> { @@ -4325,13 +4325,13 @@ impl IFileSystemImage { (::windows::core::Interface::vtable(self).SetMaxMediaBlocksFromDevice)(::windows::core::Interface::as_raw(self), discrecorder.into().abi()).ok() } pub unsafe fn UsedBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UsedBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4345,13 +4345,13 @@ impl IFileSystemImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ImportedVolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportedVolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImageOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BootImageOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4363,17 +4363,17 @@ impl IFileSystemImage { (::windows::core::Interface::vtable(self).SetBootImageOptions)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn FileCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DirectoryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DirectoryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WorkingDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WorkingDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4385,45 +4385,45 @@ impl IFileSystemImage { (::windows::core::Interface::vtable(self).SetWorkingDirectory)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn ChangePoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChangePoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StrictFileSystemCompliance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StrictFileSystemCompliance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrictFileSystemCompliance(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStrictFileSystemCompliance)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn UseRestrictedCharacterSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseRestrictedCharacterSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseRestrictedCharacterSet(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUseRestrictedCharacterSet)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn FileSystemsToCreate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileSystemsToCreate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileSystemsToCreate(&self, newval: FsiFileSystems) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFileSystemsToCreate)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn FileSystemsSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileSystemsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUDFRevision(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUDFRevision)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn UDFRevision(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UDFRevision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UDFRevisionsSupported(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UDFRevisionsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4441,19 +4441,19 @@ impl IFileSystemImage { (::windows::core::Interface::vtable(self).SetISO9660InterchangeLevel)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ISO9660InterchangeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ISO9660InterchangeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ISO9660InterchangeLevelsSupported(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ISO9660InterchangeLevelsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateResultImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateResultImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4462,13 +4462,13 @@ impl IFileSystemImage { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Exists)(::windows::core::Interface::as_raw(self), fullpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CalculateDiscIdentifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CalculateDiscIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4477,15 +4477,15 @@ impl IFileSystemImage { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IdentifyFileSystemsOnDisc)(::windows::core::Interface::as_raw(self), discrecorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultFileSystemForImport(&self, filesystems: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultFileSystemForImport)(::windows::core::Interface::as_raw(self), filesystems, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ImportFileSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportFileSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ImportSpecificFileSystem(&self, filesystemtouse: FsiFileSystems) -> ::windows::core::Result<()> { @@ -4503,7 +4503,7 @@ impl IFileSystemImage { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDirectoryItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4512,29 +4512,29 @@ impl IFileSystemImage { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFileItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeNameUDF(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeNameUDF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeNameJoliet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeNameJoliet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeNameISO9660(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VolumeNameISO9660)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StageFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StageFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStageFiles(&self, newval: i16) -> ::windows::core::Result<()> { @@ -4543,7 +4543,7 @@ impl IFileSystemImage { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MultisessionInterfaces(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MultisessionInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4747,18 +4747,18 @@ impl IFileSystemImage2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionStartBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionStartBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSessionStartBlock(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSessionStartBlock)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn FreeMediaBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FreeMediaBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFreeMediaBlocks(&self, newval: i32) -> ::windows::core::Result<()> { @@ -4773,13 +4773,13 @@ impl IFileSystemImage2 { (::windows::core::Interface::vtable(self).base__.SetMaxMediaBlocksFromDevice)(::windows::core::Interface::as_raw(self), discrecorder.into().abi()).ok() } pub unsafe fn UsedBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UsedBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4793,13 +4793,13 @@ impl IFileSystemImage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ImportedVolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ImportedVolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImageOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BootImageOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4811,17 +4811,17 @@ impl IFileSystemImage2 { (::windows::core::Interface::vtable(self).base__.SetBootImageOptions)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn FileCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DirectoryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DirectoryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WorkingDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WorkingDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4833,45 +4833,45 @@ impl IFileSystemImage2 { (::windows::core::Interface::vtable(self).base__.SetWorkingDirectory)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn ChangePoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ChangePoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StrictFileSystemCompliance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StrictFileSystemCompliance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrictFileSystemCompliance(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStrictFileSystemCompliance)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn UseRestrictedCharacterSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UseRestrictedCharacterSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseRestrictedCharacterSet(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetUseRestrictedCharacterSet)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn FileSystemsToCreate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileSystemsToCreate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileSystemsToCreate(&self, newval: FsiFileSystems) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetFileSystemsToCreate)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn FileSystemsSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileSystemsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUDFRevision(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetUDFRevision)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn UDFRevision(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UDFRevision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UDFRevisionsSupported(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UDFRevisionsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4889,19 +4889,19 @@ impl IFileSystemImage2 { (::windows::core::Interface::vtable(self).base__.SetISO9660InterchangeLevel)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ISO9660InterchangeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ISO9660InterchangeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ISO9660InterchangeLevelsSupported(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ISO9660InterchangeLevelsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateResultImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateResultImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4910,13 +4910,13 @@ impl IFileSystemImage2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Exists)(::windows::core::Interface::as_raw(self), fullpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CalculateDiscIdentifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CalculateDiscIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4925,15 +4925,15 @@ impl IFileSystemImage2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IdentifyFileSystemsOnDisc)(::windows::core::Interface::as_raw(self), discrecorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultFileSystemForImport(&self, filesystems: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultFileSystemForImport)(::windows::core::Interface::as_raw(self), filesystems, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ImportFileSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ImportFileSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ImportSpecificFileSystem(&self, filesystemtouse: FsiFileSystems) -> ::windows::core::Result<()> { @@ -4951,7 +4951,7 @@ impl IFileSystemImage2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDirectoryItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4960,29 +4960,29 @@ impl IFileSystemImage2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFileItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeNameUDF(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VolumeNameUDF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeNameJoliet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VolumeNameJoliet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeNameISO9660(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VolumeNameISO9660)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StageFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StageFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStageFiles(&self, newval: i16) -> ::windows::core::Result<()> { @@ -4991,7 +4991,7 @@ impl IFileSystemImage2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MultisessionInterfaces(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MultisessionInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5002,7 +5002,7 @@ impl IFileSystemImage2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImageOptionsArray(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BootImageOptionsArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5113,18 +5113,18 @@ impl IFileSystemImage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionStartBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionStartBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSessionStartBlock(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetSessionStartBlock)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn FreeMediaBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FreeMediaBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFreeMediaBlocks(&self, newval: i32) -> ::windows::core::Result<()> { @@ -5139,13 +5139,13 @@ impl IFileSystemImage3 { (::windows::core::Interface::vtable(self).base__.base__.SetMaxMediaBlocksFromDevice)(::windows::core::Interface::as_raw(self), discrecorder.into().abi()).ok() } pub unsafe fn UsedBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UsedBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.VolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5159,13 +5159,13 @@ impl IFileSystemImage3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ImportedVolumeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ImportedVolumeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImageOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BootImageOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5177,17 +5177,17 @@ impl IFileSystemImage3 { (::windows::core::Interface::vtable(self).base__.base__.SetBootImageOptions)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn FileCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FileCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DirectoryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DirectoryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WorkingDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.WorkingDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5199,45 +5199,45 @@ impl IFileSystemImage3 { (::windows::core::Interface::vtable(self).base__.base__.SetWorkingDirectory)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn ChangePoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ChangePoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StrictFileSystemCompliance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.StrictFileSystemCompliance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrictFileSystemCompliance(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetStrictFileSystemCompliance)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn UseRestrictedCharacterSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UseRestrictedCharacterSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseRestrictedCharacterSet(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetUseRestrictedCharacterSet)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn FileSystemsToCreate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FileSystemsToCreate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileSystemsToCreate(&self, newval: FsiFileSystems) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetFileSystemsToCreate)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn FileSystemsSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FileSystemsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUDFRevision(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetUDFRevision)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn UDFRevision(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UDFRevision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UDFRevisionsSupported(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UDFRevisionsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5255,19 +5255,19 @@ impl IFileSystemImage3 { (::windows::core::Interface::vtable(self).base__.base__.SetISO9660InterchangeLevel)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ISO9660InterchangeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ISO9660InterchangeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ISO9660InterchangeLevelsSupported(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ISO9660InterchangeLevelsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateResultImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateResultImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5276,13 +5276,13 @@ impl IFileSystemImage3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Exists)(::windows::core::Interface::as_raw(self), fullpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CalculateDiscIdentifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CalculateDiscIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5291,15 +5291,15 @@ impl IFileSystemImage3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDiscRecorder2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IdentifyFileSystemsOnDisc)(::windows::core::Interface::as_raw(self), discrecorder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultFileSystemForImport(&self, filesystems: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDefaultFileSystemForImport)(::windows::core::Interface::as_raw(self), filesystems, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ImportFileSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ImportFileSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ImportSpecificFileSystem(&self, filesystemtouse: FsiFileSystems) -> ::windows::core::Result<()> { @@ -5317,7 +5317,7 @@ impl IFileSystemImage3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateDirectoryItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5326,29 +5326,29 @@ impl IFileSystemImage3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFileItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeNameUDF(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.VolumeNameUDF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeNameJoliet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.VolumeNameJoliet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VolumeNameISO9660(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.VolumeNameISO9660)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StageFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.StageFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStageFiles(&self, newval: i16) -> ::windows::core::Result<()> { @@ -5357,7 +5357,7 @@ impl IFileSystemImage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MultisessionInterfaces(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MultisessionInterfaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5368,7 +5368,7 @@ impl IFileSystemImage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImageOptionsArray(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BootImageOptionsArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5377,14 +5377,14 @@ impl IFileSystemImage3 { (::windows::core::Interface::vtable(self).base__.SetBootImageOptionsArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(newval)).ok() } pub unsafe fn CreateRedundantUdfMetadataFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRedundantUdfMetadataFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCreateRedundantUdfMetadataFiles(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCreateRedundantUdfMetadataFiles)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ProbeSpecificFileSystem(&self, filesystemtoprobe: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProbeSpecificFileSystem)(::windows::core::Interface::as_raw(self), filesystemtoprobe, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5503,27 +5503,27 @@ impl IFileSystemImageResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ImageStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImageStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ProgressItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProgressItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BlockSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DiscId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiscId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5617,33 +5617,33 @@ impl IFileSystemImageResult2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ImageStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ImageStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ProgressItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProgressItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TotalBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BlockSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BlockSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DiscId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DiscId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ModifiedBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModifiedBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5745,38 +5745,38 @@ impl IFsiDirectoryItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FullPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FullPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCreationTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCreationTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastAccessedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastAccessedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastAccessedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLastAccessedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastModifiedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastModifiedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastModifiedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLastModifiedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, newval: i16) -> ::windows::core::Result<()> { @@ -5785,19 +5785,19 @@ impl IFsiDirectoryItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemName(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileSystemName)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemPath(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileSystemPath)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5806,15 +5806,15 @@ impl IFsiDirectoryItem { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumFsiItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFsiItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5995,38 +5995,38 @@ impl IFsiDirectoryItem2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FullPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FullPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCreationTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCreationTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastAccessedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LastAccessedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastAccessedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetLastAccessedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastModifiedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LastModifiedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastModifiedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetLastModifiedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, newval: i16) -> ::windows::core::Result<()> { @@ -6035,19 +6035,19 @@ impl IFsiDirectoryItem2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemName(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FileSystemName)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemPath(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FileSystemPath)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6056,15 +6056,15 @@ impl IFsiDirectoryItem2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Item)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumFsiItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumFsiItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6241,38 +6241,38 @@ impl IFsiFileItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FullPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FullPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCreationTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetCreationTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastAccessedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastAccessedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastAccessedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLastAccessedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastModifiedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastModifiedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastModifiedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLastModifiedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, newval: i16) -> ::windows::core::Result<()> { @@ -6281,31 +6281,31 @@ impl IFsiFileItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemName(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileSystemName)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemPath(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileSystemPath)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataSize32BitLow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataSize32BitLow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataSize32BitHigh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataSize32BitHigh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6422,38 +6422,38 @@ impl IFsiFileItem2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FullPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FullPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCreationTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetCreationTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastAccessedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LastAccessedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastAccessedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetLastAccessedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastModifiedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LastModifiedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastModifiedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetLastModifiedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, newval: i16) -> ::windows::core::Result<()> { @@ -6462,31 +6462,31 @@ impl IFsiFileItem2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemName(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FileSystemName)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemPath(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FileSystemPath)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataSize32BitLow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataSize32BitLow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataSize32BitHigh(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataSize32BitHigh)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6500,11 +6500,11 @@ impl IFsiFileItem2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FsiNamedStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FsiNamedStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsNamedStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsNamedStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6525,7 +6525,7 @@ impl IFsiFileItem2 { (::windows::core::Interface::vtable(self).RemoveStream)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn IsRealTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRealTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsRealTime(&self, newval: i16) -> ::windows::core::Result<()> { @@ -6659,38 +6659,38 @@ impl IFsiItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FullPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FullPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCreationTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCreationTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastAccessedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastAccessedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastAccessedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLastAccessedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn LastModifiedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastModifiedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastModifiedTime(&self, newval: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLastModifiedTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, newval: i16) -> ::windows::core::Result<()> { @@ -6699,13 +6699,13 @@ impl IFsiItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemName(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileSystemName)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileSystemPath(&self, filesystem: FsiFileSystems) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileSystemPath)(::windows::core::Interface::as_raw(self), filesystem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6809,21 +6809,21 @@ impl IFsiNamedStreams { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumNamedStreams(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumNamedStreams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6913,13 +6913,13 @@ impl IIsoImageManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Stream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Stream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7031,15 +7031,15 @@ pub struct IIsoImageManager_Vtbl { pub struct IJolietDiscMaster(::windows::core::IUnknown); impl IJolietDiscMaster { pub unsafe fn GetTotalDataBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTotalDataBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUsedDataBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUsedDataBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataBlockSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataBlockSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -7053,7 +7053,7 @@ impl IJolietDiscMaster { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetJolietProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJolietProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -8306,20 +8306,20 @@ pub struct IMultisession(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMultisession { pub unsafe fn IsSupportedOnCurrentMediaState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSupportedOnCurrentMediaState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInUse(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInUse)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn InUse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InUse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ImportRecorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImportRecorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8404,32 +8404,32 @@ pub struct IMultisessionRandomWrite(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMultisessionRandomWrite { pub unsafe fn IsSupportedOnCurrentMediaState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSupportedOnCurrentMediaState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInUse(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetInUse)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn InUse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InUse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ImportRecorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ImportRecorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteUnitSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteUnitSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWrittenAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastWrittenAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalSectorsOnMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalSectorsOnMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8528,40 +8528,40 @@ pub struct IMultisessionSequential(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMultisessionSequential { pub unsafe fn IsSupportedOnCurrentMediaState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSupportedOnCurrentMediaState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInUse(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetInUse)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn InUse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InUse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ImportRecorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ImportRecorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFirstDataSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFirstDataSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartAddressOfPreviousSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartAddressOfPreviousSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWrittenAddressOfPreviousSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastWrittenAddressOfPreviousSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NextWritableAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NextWritableAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeSectorsOnMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FreeSectorsOnMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8662,44 +8662,44 @@ pub struct IMultisessionSequential2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMultisessionSequential2 { pub unsafe fn IsSupportedOnCurrentMediaState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsSupportedOnCurrentMediaState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInUse(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetInUse)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn InUse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InUse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ImportRecorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ImportRecorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFirstDataSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsFirstDataSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartAddressOfPreviousSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StartAddressOfPreviousSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWrittenAddressOfPreviousSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastWrittenAddressOfPreviousSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NextWritableAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NextWritableAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeSectorsOnMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FreeSectorsOnMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteUnitSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteUnitSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8816,19 +8816,19 @@ impl IProgressItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirstBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirstBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BlockCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8915,23 +8915,23 @@ impl IProgressItems { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ProgressItemFromBlock(&self, block: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProgressItemFromBlock)(::windows::core::Interface::as_raw(self), block, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8940,11 +8940,11 @@ impl IProgressItems { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProgressItemFromDescription)(::windows::core::Interface::as_raw(self), description.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumProgressItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumProgressItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9042,7 +9042,7 @@ impl IRawCDImageCreator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateResultImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateResultImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9051,7 +9051,7 @@ impl IRawCDImageCreator { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddTrack)(::windows::core::Interface::as_raw(self), datatype, data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9074,25 +9074,25 @@ impl IRawCDImageCreator { (::windows::core::Interface::vtable(self).SetResultingImageType)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ResultingImageType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultingImageType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartOfLeadout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartOfLeadout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartOfLeadoutLimit(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartOfLeadoutLimit)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn StartOfLeadoutLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartOfLeadoutLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisableGaplessAudio(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisableGaplessAudio)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn DisableGaplessAudio(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisableGaplessAudio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9106,34 +9106,34 @@ impl IRawCDImageCreator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MediaCatalogNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaCatalogNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartingTrackNumber(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartingTrackNumber)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn StartingTrackNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartingTrackNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_TrackInfo(&self, trackindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_TrackInfo)(::windows::core::Interface::as_raw(self), trackindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfExistingTracks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfExistingTracks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastUsedUserSectorInImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastUsedUserSectorInImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExpectedTableOfContents(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpectedTableOfContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -9254,25 +9254,25 @@ pub struct IRawCDImageTrackInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRawCDImageTrackInfo { pub unsafe fn StartingLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartingLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SectorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SectorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TrackNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrackNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SectorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SectorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ISRC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ISRC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9284,14 +9284,14 @@ impl IRawCDImageTrackInfo { (::windows::core::Interface::vtable(self).SetISRC)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn DigitalAudioCopySetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DigitalAudioCopySetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDigitalAudioCopySetting(&self, value: IMAPI_CD_TRACK_DIGITAL_COPY_SETTING) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDigitalAudioCopySetting)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn AudioHasPreemphasis(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AudioHasPreemphasis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAudioHasPreemphasis(&self, value: i16) -> ::windows::core::Result<()> { @@ -9300,7 +9300,7 @@ impl IRawCDImageTrackInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TrackIndexes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrackIndexes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn AddTrackIndex(&self, lbaoffset: i32) -> ::windows::core::Result<()> { @@ -9404,23 +9404,23 @@ pub struct IRawCDImageTrackInfo_Vtbl { pub struct IRedbookDiscMaster(::windows::core::IUnknown); impl IRedbookDiscMaster { pub unsafe fn GetTotalAudioTracks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTotalAudioTracks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTotalAudioBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTotalAudioBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUsedAudioBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUsedAudioBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAvailableAudioTrackBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAvailableAudioTrackBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAudioBlockSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioBlockSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAudioTrack(&self, nblocks: i32) -> ::windows::core::Result<()> { @@ -9500,7 +9500,7 @@ impl IStreamConcatenate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9544,7 +9544,7 @@ impl IStreamConcatenate { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9695,7 +9695,7 @@ impl IStreamInterleave { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9739,7 +9739,7 @@ impl IStreamInterleave { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9856,7 +9856,7 @@ impl IStreamPseudoRandomBased { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9900,14 +9900,14 @@ impl IStreamPseudoRandomBased { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSeed(&self, value: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSeed)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Seed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Seed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_ExtendedSeed(&self, values: &[u32]) -> ::windows::core::Result<()> { @@ -10030,39 +10030,39 @@ impl IWriteEngine2 { (::windows::core::Interface::vtable(self).SetRecorder)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn Recorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseStreamingWrite12(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUseStreamingWrite12)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn UseStreamingWrite12(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseStreamingWrite12)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartingSectorsPerSecond(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartingSectorsPerSecond)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn StartingSectorsPerSecond(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartingSectorsPerSecond)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEndingSectorsPerSecond(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEndingSectorsPerSecond)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn EndingSectorsPerSecond(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndingSectorsPerSecond)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBytesPerSector(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBytesPerSector)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn BytesPerSector(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BytesPerSector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteInProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteInProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10156,31 +10156,31 @@ pub struct IWriteEngine2EventArgs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWriteEngine2EventArgs { pub unsafe fn StartLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SectorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SectorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastReadLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastReadLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastWrittenLba(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastWrittenLba)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TotalSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UsedSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UsedSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeSystemBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FreeSystemBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10265,15 +10265,15 @@ pub struct IWriteSpeedDescriptor(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWriteSpeedDescriptor { pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RotationTypeIsPureCAV(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RotationTypeIsPureCAV)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs index 6b8d03fbd7..94d906c9cc 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs @@ -625,7 +625,7 @@ where extern "system" { fn FilterConnectCommunicationPort(lpportname: ::windows::core::PCWSTR, dwoptions: u32, lpcontext: *const ::core::ffi::c_void, wsizeofcontext: u16, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, hport: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); FilterConnectCommunicationPort(lpportname.into(), dwoptions, ::core::mem::transmute(lpcontext), wsizeofcontext, ::core::mem::transmute(lpsecurityattributes), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -638,7 +638,7 @@ where extern "system" { fn FilterCreate(lpfiltername: ::windows::core::PCWSTR, hfilter: *mut HFILTER) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); FilterCreate(lpfiltername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -783,7 +783,7 @@ where extern "system" { fn FilterInstanceCreate(lpfiltername: ::windows::core::PCWSTR, lpvolumename: ::windows::core::PCWSTR, lpinstancename: ::windows::core::PCWSTR, hinstance: *mut HFILTER_INSTANCE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); FilterInstanceCreate(lpfiltername.into(), lpvolumename.into(), lpinstancename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] 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 4340acf419..e1d065647b 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs @@ -12,7 +12,7 @@ impl IEnumOfflineFilesItems { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74,7 +74,7 @@ impl IEnumOfflineFilesSettings { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -198,7 +198,7 @@ impl IOfflineFilesCache { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindItem)(::windows::core::Interface::as_raw(self), pszpath.into(), dwqueryflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindItemEx<'a, P0, P1, P2, P3, P4>(&self, pszpath: P0, pincludefilefilter: P1, pincludedirfilter: P2, pexcludefilefilter: P3, pexcludedirfilter: P4, dwqueryflags: u32) -> ::windows::core::Result @@ -209,7 +209,7 @@ impl IOfflineFilesCache { P3: ::std::convert::Into<::windows::core::InParam<'a, IOfflineFilesItemFilter>>, P4: ::std::convert::Into<::windows::core::InParam<'a, IOfflineFilesItemFilter>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindItemEx)(::windows::core::Interface::as_raw(self), pszpath.into(), pincludefilefilter.into().abi(), pincludedirfilter.into().abi(), pexcludefilefilter.into().abi(), pexcludedirfilter.into().abi(), dwqueryflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -223,7 +223,7 @@ impl IOfflineFilesCache { (::windows::core::Interface::vtable(self).RenameItem)(::windows::core::Interface::as_raw(self), pszpathoriginal.into(), pszpathnew.into(), breplaceifexists.into()).ok() } pub unsafe fn GetLocation(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDiskSpaceInformation(&self, pcbvolumetotal: *mut u64, pcblimit: *mut u64, pcbused: *mut u64, pcbunpinnedlimit: *mut u64, pcbunpinnedused: *mut u64) -> ::windows::core::Result<()> { @@ -243,11 +243,11 @@ impl IOfflineFilesCache { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSettingObject)(::windows::core::Interface::as_raw(self), pszsettingname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumSettingObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumSettingObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -419,7 +419,7 @@ impl IOfflineFilesCache2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindItem)(::windows::core::Interface::as_raw(self), pszpath.into(), dwqueryflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindItemEx<'a, P0, P1, P2, P3, P4>(&self, pszpath: P0, pincludefilefilter: P1, pincludedirfilter: P2, pexcludefilefilter: P3, pexcludedirfilter: P4, dwqueryflags: u32) -> ::windows::core::Result @@ -430,7 +430,7 @@ impl IOfflineFilesCache2 { P3: ::std::convert::Into<::windows::core::InParam<'a, IOfflineFilesItemFilter>>, P4: ::std::convert::Into<::windows::core::InParam<'a, IOfflineFilesItemFilter>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindItemEx)(::windows::core::Interface::as_raw(self), pszpath.into(), pincludefilefilter.into().abi(), pincludedirfilter.into().abi(), pexcludefilefilter.into().abi(), pexcludedirfilter.into().abi(), dwqueryflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -444,7 +444,7 @@ impl IOfflineFilesCache2 { (::windows::core::Interface::vtable(self).base__.RenameItem)(::windows::core::Interface::as_raw(self), pszpathoriginal.into(), pszpathnew.into(), breplaceifexists.into()).ok() } pub unsafe fn GetLocation(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDiskSpaceInformation(&self, pcbvolumetotal: *mut u64, pcblimit: *mut u64, pcbused: *mut u64, pcbunpinnedlimit: *mut u64, pcbunpinnedused: *mut u64) -> ::windows::core::Result<()> { @@ -464,11 +464,11 @@ impl IOfflineFilesCache2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSettingObject)(::windows::core::Interface::as_raw(self), pszsettingname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumSettingObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumSettingObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -561,31 +561,31 @@ impl IOfflineFilesChangeInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDeletedOffline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDeletedOffline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCreatedOffline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCreatedOffline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLocallyModifiedData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLocallyModifiedData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLocallyModifiedAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLocallyModifiedAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLocallyModifiedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLocallyModifiedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -683,7 +683,7 @@ impl IOfflineFilesConnectionInfo { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransitionOffline)(::windows::core::Interface::as_raw(self), hwndparent.into(), dwflags, bforceopenfilesclosed.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -745,15 +745,15 @@ pub struct IOfflineFilesConnectionInfo_Vtbl { pub struct IOfflineFilesDirectoryItem(::windows::core::IUnknown); impl IOfflineFilesDirectoryItem { pub unsafe fn GetItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetParentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self, dwqueryflags: u32) -> ::windows::core::Result<()> { @@ -762,7 +762,7 @@ impl IOfflineFilesDirectoryItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMarkedForDeletion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsMarkedForDeletion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -826,11 +826,11 @@ pub struct IOfflineFilesDirectoryItem_Vtbl { pub struct IOfflineFilesDirtyInfo(::windows::core::IUnknown); impl IOfflineFilesDirtyInfo { pub unsafe fn LocalDirtyByteCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalDirtyByteCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoteDirtyByteCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteDirtyByteCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -883,11 +883,11 @@ impl IOfflineFilesErrorInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRawData(&self) -> ::windows::core::Result<*mut super::super::System::Com::BYTE_BLOB> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::BYTE_BLOB>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRawData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::BYTE_BLOB>(result__) } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -2041,15 +2041,15 @@ pub struct IOfflineFilesEventsFilter_Vtbl { pub struct IOfflineFilesFileItem(::windows::core::IUnknown); impl IOfflineFilesFileItem { pub unsafe fn GetItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetParentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self, dwqueryflags: u32) -> ::windows::core::Result<()> { @@ -2058,19 +2058,19 @@ impl IOfflineFilesFileItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMarkedForDeletion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsMarkedForDeletion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSparse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSparse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEncrypted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEncrypted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2142,7 +2142,7 @@ pub struct IOfflineFilesFileItem_Vtbl { pub struct IOfflineFilesFileSysInfo(::windows::core::IUnknown); impl IOfflineFilesFileSysInfo { pub unsafe fn GetAttributes(&self, copy: OFFLINEFILES_ITEM_COPY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributes)(::windows::core::Interface::as_raw(self), copy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2151,7 +2151,7 @@ impl IOfflineFilesFileSysInfo { (::windows::core::Interface::vtable(self).GetTimes)(::windows::core::Interface::as_raw(self), copy, ::core::mem::transmute(pftcreationtime), ::core::mem::transmute(pftlastwritetime), ::core::mem::transmute(pftchangetime), ::core::mem::transmute(pftlastaccesstime)).ok() } pub unsafe fn GetFileSize(&self, copy: OFFLINEFILES_ITEM_COPY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileSize)(::windows::core::Interface::as_raw(self), copy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2208,7 +2208,7 @@ impl IOfflineFilesGhostInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsGhosted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsGhosted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2261,15 +2261,15 @@ pub struct IOfflineFilesGhostInfo_Vtbl { pub struct IOfflineFilesItem(::windows::core::IUnknown); impl IOfflineFilesItem { pub unsafe fn GetItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetParentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self, dwqueryflags: u32) -> ::windows::core::Result<()> { @@ -2278,7 +2278,7 @@ impl IOfflineFilesItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMarkedForDeletion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMarkedForDeletion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2335,7 +2335,7 @@ pub struct IOfflineFilesItem_Vtbl { pub struct IOfflineFilesItemContainer(::windows::core::IUnknown); impl IOfflineFilesItemContainer { pub unsafe fn EnumItems(&self, dwqueryflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumItems)(::windows::core::Interface::as_raw(self), dwqueryflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumItemsEx<'a, P0, P1, P2, P3>(&self, pincludefilefilter: P0, pincludedirfilter: P1, pexcludefilefilter: P2, pexcludedirfilter: P3, dwenumflags: u32, dwqueryflags: u32) -> ::windows::core::Result @@ -2345,7 +2345,7 @@ impl IOfflineFilesItemContainer { P2: ::std::convert::Into<::windows::core::InParam<'a, IOfflineFilesItemFilter>>, P3: ::std::convert::Into<::windows::core::InParam<'a, IOfflineFilesItemFilter>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumItemsEx)(::windows::core::Interface::as_raw(self), pincludefilefilter.into().abi(), pincludedirfilter.into().abi(), pexcludefilefilter.into().abi(), pexcludedirfilter.into().abi(), dwenumflags, dwqueryflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2460,7 +2460,7 @@ impl IOfflineFilesPinInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPinned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPinned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2551,7 +2551,7 @@ impl IOfflineFilesPinInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPinned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsPinned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2577,7 +2577,7 @@ impl IOfflineFilesPinInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPartlyPinned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPartlyPinned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2647,13 +2647,13 @@ impl IOfflineFilesProgress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Begin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Begin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryAbort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAbort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn End(&self, hrresult: ::windows::core::HRESULT) -> ::windows::core::Result<()> { @@ -2714,15 +2714,15 @@ pub struct IOfflineFilesProgress_Vtbl { pub struct IOfflineFilesServerItem(::windows::core::IUnknown); impl IOfflineFilesServerItem { pub unsafe fn GetItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetParentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self, dwqueryflags: u32) -> ::windows::core::Result<()> { @@ -2731,7 +2731,7 @@ impl IOfflineFilesServerItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMarkedForDeletion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsMarkedForDeletion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2795,11 +2795,11 @@ pub struct IOfflineFilesServerItem_Vtbl { pub struct IOfflineFilesSetting(::windows::core::IUnknown); impl IOfflineFilesSetting { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetValueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2808,7 +2808,7 @@ impl IOfflineFilesSetting { (::windows::core::Interface::vtable(self).GetPreference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarvalue), dwscope).ok() } pub unsafe fn GetPreferenceScope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreferenceScope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2825,7 +2825,7 @@ impl IOfflineFilesSetting { (::windows::core::Interface::vtable(self).GetPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarvalue), dwscope).ok() } pub unsafe fn GetPolicyScope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicyScope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2900,17 +2900,17 @@ pub struct IOfflineFilesSetting_Vtbl { pub struct IOfflineFilesShareInfo(::windows::core::IUnknown); impl IOfflineFilesShareInfo { pub unsafe fn GetShareItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShareItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetShareCachingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShareCachingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsShareDfsJunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsShareDfsJunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2965,15 +2965,15 @@ pub struct IOfflineFilesShareInfo_Vtbl { pub struct IOfflineFilesShareItem(::windows::core::IUnknown); impl IOfflineFilesShareItem { pub unsafe fn GetItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPath(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetParentItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParentItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self, dwqueryflags: u32) -> ::windows::core::Result<()> { @@ -2982,7 +2982,7 @@ impl IOfflineFilesShareItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMarkedForDeletion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsMarkedForDeletion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3048,13 +3048,13 @@ impl IOfflineFilesSimpleProgress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Begin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Begin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryAbort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryAbort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn End(&self, hrresult: ::windows::core::HRESULT) -> ::windows::core::Result<()> { @@ -3064,14 +3064,14 @@ impl IOfflineFilesSimpleProgress { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemBegin)(::windows::core::Interface::as_raw(self), pszfile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ItemResult<'a, P0>(&self, pszfile: P0, hrresult: ::windows::core::HRESULT) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemResult)(::windows::core::Interface::as_raw(self), pszfile.into(), hrresult, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3302,19 +3302,19 @@ impl IOfflineFilesSyncErrorInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRawData(&self) -> ::windows::core::Result<*mut super::super::System::Com::BYTE_BLOB> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::BYTE_BLOB>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRawData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::BYTE_BLOB>(result__) } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSyncOperation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncOperation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemChangeFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemChangeFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3328,15 +3328,15 @@ impl IOfflineFilesSyncErrorInfo { (::windows::core::Interface::vtable(self).InfoAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pblocalinfo), ::core::mem::transmute(pbremoteinfo), ::core::mem::transmute(pboriginalinfo)).ok() } pub unsafe fn GetLocalInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRemoteInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRemoteInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3413,7 +3413,7 @@ pub struct IOfflineFilesSyncErrorInfo_Vtbl { pub struct IOfflineFilesSyncErrorItemInfo(::windows::core::IUnknown); impl IOfflineFilesSyncErrorItemInfo { pub unsafe fn GetFileAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3422,7 +3422,7 @@ impl IOfflineFilesSyncErrorItemInfo { (::windows::core::Interface::vtable(self).GetFileTimes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pftlastwrite), ::core::mem::transmute(pftchange)).ok() } pub unsafe fn GetFileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3479,13 +3479,13 @@ impl IOfflineFilesSyncProgress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Begin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Begin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryAbort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryAbort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn End(&self, hrresult: ::windows::core::HRESULT) -> ::windows::core::Result<()> { @@ -3495,7 +3495,7 @@ impl IOfflineFilesSyncProgress { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SyncItemBegin)(::windows::core::Interface::as_raw(self), pszfile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SyncItemResult<'a, P0, P1>(&self, pszfile: P0, hrresult: ::windows::core::HRESULT, perrorinfo: P1) -> ::windows::core::Result @@ -3503,7 +3503,7 @@ impl IOfflineFilesSyncProgress { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IOfflineFilesSyncErrorInfo>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SyncItemResult)(::windows::core::Interface::as_raw(self), pszfile.into(), hrresult, perrorinfo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3571,7 +3571,7 @@ impl IOfflineFilesTransparentCacheInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsTransparentlyCached(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTransparentlyCached)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 4ae8032961..2a5e0e57b1 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 @@ -709,7 +709,7 @@ pub unsafe fn ActivatePackageVirtualizationContext(context: *const PACKAGE_VIRTU extern "system" { fn ActivatePackageVirtualizationContext(context: *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__, cookie: *mut usize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ActivatePackageVirtualizationContext(::core::mem::transmute(context), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -1095,7 +1095,7 @@ where extern "system" { fn CheckIsMSIXPackage(packagefullname: ::windows::core::PCWSTR, ismsixpackage: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CheckIsMSIXPackage(packagefullname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -1147,7 +1147,7 @@ where extern "system" { fn CreatePackageVirtualizationContext(packagefamilyname: ::windows::core::PCWSTR, context: *mut *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreatePackageVirtualizationContext(packagefamilyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__>(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -1209,7 +1209,7 @@ pub unsafe fn DuplicatePackageVirtualizationContext(sourcecontext: *const PACKAG extern "system" { fn DuplicatePackageVirtualizationContext(sourcecontext: *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__, destcontext: *mut *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DuplicatePackageVirtualizationContext(::core::mem::transmute(sourcecontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__>(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -1361,7 +1361,7 @@ pub unsafe fn GetIdForPackageDependencyContext(packagedependencycontext: *const extern "system" { fn GetIdForPackageDependencyContext(packagedependencycontext: *const PACKAGEDEPENDENCY_CONTEXT__, packagedependencyid: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetIdForPackageDependencyContext(::core::mem::transmute(packagedependencycontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -1531,7 +1531,7 @@ where extern "system" { fn GetResolvedPackageFullNameForPackageDependency(packagedependencyid: ::windows::core::PCWSTR, packagefullname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetResolvedPackageFullNameForPackageDependency(packagedependencyid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -1581,7 +1581,7 @@ impl IAppxBlockMapBlock { (::windows::core::Interface::vtable(self).GetHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(buffersize), ::core::mem::transmute(buffer)).ok() } pub unsafe fn GetCompressedSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompressedSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1632,19 +1632,19 @@ pub struct IAppxBlockMapBlock_Vtbl { pub struct IAppxBlockMapBlocksEnumerator(::windows::core::IUnknown); impl IAppxBlockMapBlocksEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1702,19 +1702,19 @@ pub struct IAppxBlockMapBlocksEnumerator_Vtbl { pub struct IAppxBlockMapFile(::windows::core::IUnknown); impl IAppxBlockMapFile { pub unsafe fn GetBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocalFileHeaderSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalFileHeaderSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetUncompressedSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUncompressedSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1723,7 +1723,7 @@ impl IAppxBlockMapFile { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValidateFileHash)(::windows::core::Interface::as_raw(self), filestream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1780,19 +1780,19 @@ pub struct IAppxBlockMapFile_Vtbl { pub struct IAppxBlockMapFilesEnumerator(::windows::core::IUnknown); impl IAppxBlockMapFilesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1853,23 +1853,23 @@ impl IAppxBlockMapReader { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFile)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHashMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHashMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1933,7 +1933,7 @@ impl IAppxBundleFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBundleWriter)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), bundleversion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1942,7 +1942,7 @@ impl IAppxBundleFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBundleReader)(::windows::core::Interface::as_raw(self), inputstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1951,7 +1951,7 @@ impl IAppxBundleFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBundleManifestReader)(::windows::core::Interface::as_raw(self), inputstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2012,15 +2012,15 @@ pub struct IAppxBundleFactory_Vtbl { pub struct IAppxBundleManifestOptionalBundleInfo(::windows::core::IUnknown); impl IAppxBundleManifestOptionalBundleInfo { pub unsafe fn GetPackageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPackageInfoItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageInfoItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2072,19 +2072,19 @@ pub struct IAppxBundleManifestOptionalBundleInfo_Vtbl { pub struct IAppxBundleManifestOptionalBundleInfoEnumerator(::windows::core::IUnknown); impl IAppxBundleManifestOptionalBundleInfoEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2142,27 +2142,27 @@ pub struct IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { pub struct IAppxBundleManifestPackageInfo(::windows::core::IUnknown); impl IAppxBundleManifestPackageInfo { pub unsafe fn GetPackageType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPackageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2219,19 +2219,19 @@ impl IAppxBundleManifestPackageInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsPackageReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsPackageReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsNonQualifiedResourcePackage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsNonQualifiedResourcePackage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsDefaultApplicablePackage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsDefaultApplicablePackage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2292,7 +2292,7 @@ pub struct IAppxBundleManifestPackageInfo2_Vtbl { pub struct IAppxBundleManifestPackageInfo3(::windows::core::IUnknown); impl IAppxBundleManifestPackageInfo3 { pub unsafe fn GetTargetDeviceFamilies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetDeviceFamilies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2344,7 +2344,7 @@ impl IAppxBundleManifestPackageInfo4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsStub(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsStub)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2397,19 +2397,19 @@ pub struct IAppxBundleManifestPackageInfo4_Vtbl { pub struct IAppxBundleManifestPackageInfoEnumerator(::windows::core::IUnknown); impl IAppxBundleManifestPackageInfoEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2467,17 +2467,17 @@ pub struct IAppxBundleManifestPackageInfoEnumerator_Vtbl { pub struct IAppxBundleManifestReader(::windows::core::IUnknown); impl IAppxBundleManifestReader { pub unsafe fn GetPackageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPackageInfoItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageInfoItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2532,7 +2532,7 @@ pub struct IAppxBundleManifestReader_Vtbl { pub struct IAppxBundleManifestReader2(::windows::core::IUnknown); impl IAppxBundleManifestReader2 { pub unsafe fn GetOptionalBundles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionalBundles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2582,26 +2582,26 @@ pub struct IAppxBundleManifestReader2_Vtbl { pub struct IAppxBundleReader(::windows::core::IUnknown); impl IAppxBundleReader { pub unsafe fn GetFootprintFile(&self, filetype: APPX_BUNDLE_FOOTPRINT_FILE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFootprintFile)(::windows::core::Interface::as_raw(self), filetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBlockMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBlockMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetManifest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetManifest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPayloadPackages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPayloadPackages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPayloadPackage<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPayloadPackage)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2927,11 +2927,11 @@ pub struct IAppxBundleWriter4_Vtbl { pub struct IAppxContentGroup(::windows::core::IUnknown); impl IAppxContentGroup { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2982,19 +2982,19 @@ pub struct IAppxContentGroup_Vtbl { pub struct IAppxContentGroupFilesEnumerator(::windows::core::IUnknown); impl IAppxContentGroupFilesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3052,11 +3052,11 @@ pub struct IAppxContentGroupFilesEnumerator_Vtbl { pub struct IAppxContentGroupMapReader(::windows::core::IUnknown); impl IAppxContentGroupMapReader { pub unsafe fn GetRequiredGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequiredGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAutomaticGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutomaticGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3170,19 +3170,19 @@ pub struct IAppxContentGroupMapWriter_Vtbl { pub struct IAppxContentGroupsEnumerator(::windows::core::IUnknown); impl IAppxContentGroupsEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3573,7 +3573,7 @@ impl IAppxEncryptionFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEncryptedPackageWriter)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), manifeststream.into().abi(), ::core::mem::transmute(settings), ::core::mem::transmute(keyinfo), ::core::mem::transmute(exemptedfiles), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3582,7 +3582,7 @@ impl IAppxEncryptionFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEncryptedPackageReader)(::windows::core::Interface::as_raw(self), inputstream.into().abi(), ::core::mem::transmute(keyinfo), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3609,7 +3609,7 @@ impl IAppxEncryptionFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEncryptedBundleWriter)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), bundleversion, ::core::mem::transmute(settings), ::core::mem::transmute(keyinfo), ::core::mem::transmute(exemptedfiles), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3618,7 +3618,7 @@ impl IAppxEncryptionFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEncryptedBundleReader)(::windows::core::Interface::as_raw(self), inputstream.into().abi(), ::core::mem::transmute(keyinfo), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3706,7 +3706,7 @@ impl IAppxEncryptionFactory2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEncryptedPackageWriter)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), manifeststream.into().abi(), contentgroupmapstream.into().abi(), ::core::mem::transmute(settings), ::core::mem::transmute(keyinfo), ::core::mem::transmute(exemptedfiles), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3775,7 +3775,7 @@ impl IAppxEncryptionFactory3 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEncryptedPackageWriter)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), manifeststream.into().abi(), contentgroupmapstream.into().abi(), ::core::mem::transmute(settings), ::core::mem::transmute(keyinfo), ::core::mem::transmute(exemptedfiles), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3793,7 +3793,7 @@ impl IAppxEncryptionFactory3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEncryptedBundleWriter)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), bundleversion, ::core::mem::transmute(settings), ::core::mem::transmute(keyinfo), ::core::mem::transmute(exemptedfiles), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3921,7 +3921,7 @@ impl IAppxFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageWriter)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), ::core::mem::transmute(settings), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3930,7 +3930,7 @@ impl IAppxFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageReader)(::windows::core::Interface::as_raw(self), inputstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3939,7 +3939,7 @@ impl IAppxFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateManifestReader)(::windows::core::Interface::as_raw(self), inputstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3948,7 +3948,7 @@ impl IAppxFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBlockMapReader)(::windows::core::Interface::as_raw(self), inputstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3958,7 +3958,7 @@ impl IAppxFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateValidatedBlockMapReader)(::windows::core::Interface::as_raw(self), blockmapstream.into().abi(), signaturefilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4032,7 +4032,7 @@ impl IAppxFactory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateContentGroupMapReader)(::windows::core::Interface::as_raw(self), inputstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4041,7 +4041,7 @@ impl IAppxFactory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSourceContentGroupMapReader)(::windows::core::Interface::as_raw(self), inputstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4050,7 +4050,7 @@ impl IAppxFactory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateContentGroupMapWriter)(::windows::core::Interface::as_raw(self), stream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4111,25 +4111,25 @@ pub struct IAppxFactory2_Vtbl { pub struct IAppxFile(::windows::core::IUnknown); impl IAppxFile { pub unsafe fn GetCompressionOption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompressionOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContentType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4186,19 +4186,19 @@ pub struct IAppxFile_Vtbl { pub struct IAppxFilesEnumerator(::windows::core::IUnknown); impl IAppxFilesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4259,11 +4259,11 @@ impl IAppxManifestApplication { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringValue)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetAppUserModelId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAppUserModelId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4314,19 +4314,19 @@ pub struct IAppxManifestApplication_Vtbl { pub struct IAppxManifestApplicationsEnumerator(::windows::core::IUnknown); impl IAppxManifestApplicationsEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4384,19 +4384,19 @@ pub struct IAppxManifestApplicationsEnumerator_Vtbl { pub struct IAppxManifestCapabilitiesEnumerator(::windows::core::IUnknown); impl IAppxManifestCapabilitiesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4454,19 +4454,19 @@ pub struct IAppxManifestCapabilitiesEnumerator_Vtbl { pub struct IAppxManifestDeviceCapabilitiesEnumerator(::windows::core::IUnknown); impl IAppxManifestDeviceCapabilitiesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4524,15 +4524,15 @@ pub struct IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { pub struct IAppxManifestDriverConstraint(::windows::core::IUnknown); impl IAppxManifestDriverConstraint { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMinVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMinDate(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4584,19 +4584,19 @@ pub struct IAppxManifestDriverConstraint_Vtbl { pub struct IAppxManifestDriverConstraintsEnumerator(::windows::core::IUnknown); impl IAppxManifestDriverConstraintsEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4654,19 +4654,19 @@ pub struct IAppxManifestDriverConstraintsEnumerator_Vtbl { pub struct IAppxManifestDriverDependenciesEnumerator(::windows::core::IUnknown); impl IAppxManifestDriverDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4724,7 +4724,7 @@ pub struct IAppxManifestDriverDependenciesEnumerator_Vtbl { pub struct IAppxManifestDriverDependency(::windows::core::IUnknown); impl IAppxManifestDriverDependency { pub unsafe fn GetDriverConstraints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDriverConstraints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4774,19 +4774,19 @@ pub struct IAppxManifestDriverDependency_Vtbl { pub struct IAppxManifestHostRuntimeDependenciesEnumerator(::windows::core::IUnknown); impl IAppxManifestHostRuntimeDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4844,15 +4844,15 @@ pub struct IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { pub struct IAppxManifestHostRuntimeDependency(::windows::core::IUnknown); impl IAppxManifestHostRuntimeDependency { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPublisher(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPublisher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMinVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4904,7 +4904,7 @@ pub struct IAppxManifestHostRuntimeDependency_Vtbl { pub struct IAppxManifestHostRuntimeDependency2(::windows::core::IUnknown); impl IAppxManifestHostRuntimeDependency2 { pub unsafe fn GetPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageFamilyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4954,19 +4954,19 @@ pub struct IAppxManifestHostRuntimeDependency2_Vtbl { pub struct IAppxManifestMainPackageDependenciesEnumerator(::windows::core::IUnknown); impl IAppxManifestMainPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5024,15 +5024,15 @@ pub struct IAppxManifestMainPackageDependenciesEnumerator_Vtbl { pub struct IAppxManifestMainPackageDependency(::windows::core::IUnknown); impl IAppxManifestMainPackageDependency { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPublisher(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPublisher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageFamilyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -5084,19 +5084,19 @@ pub struct IAppxManifestMainPackageDependency_Vtbl { pub struct IAppxManifestOSPackageDependenciesEnumerator(::windows::core::IUnknown); impl IAppxManifestOSPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5154,11 +5154,11 @@ pub struct IAppxManifestOSPackageDependenciesEnumerator_Vtbl { pub struct IAppxManifestOSPackageDependency(::windows::core::IUnknown); impl IAppxManifestOSPackageDependency { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5211,11 +5211,11 @@ impl IAppxManifestOptionalPackageInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsOptionalPackage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsOptionalPackage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMainPackageName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMainPackageName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -5269,19 +5269,19 @@ pub struct IAppxManifestOptionalPackageInfo_Vtbl { pub struct IAppxManifestPackageDependenciesEnumerator(::windows::core::IUnknown); impl IAppxManifestPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5339,15 +5339,15 @@ pub struct IAppxManifestPackageDependenciesEnumerator_Vtbl { pub struct IAppxManifestPackageDependency(::windows::core::IUnknown); impl IAppxManifestPackageDependency { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPublisher(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPublisher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMinVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5399,19 +5399,19 @@ pub struct IAppxManifestPackageDependency_Vtbl { pub struct IAppxManifestPackageDependency2(::windows::core::IUnknown); impl IAppxManifestPackageDependency2 { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPublisher(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPublisher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMinVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMinVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxMajorVersionTested(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxMajorVersionTested)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5478,7 +5478,7 @@ impl IAppxManifestPackageDependency3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsOptional(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsOptional)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5531,23 +5531,23 @@ pub struct IAppxManifestPackageDependency3_Vtbl { pub struct IAppxManifestPackageId(::windows::core::IUnknown); impl IAppxManifestPackageId { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetArchitecture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetArchitecture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPublisher(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPublisher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResourceId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5556,15 +5556,15 @@ impl IAppxManifestPackageId { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComparePublisher)(::windows::core::Interface::as_raw(self), other.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPackageFullName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageFullName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageFamilyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -5624,23 +5624,23 @@ pub struct IAppxManifestPackageId_Vtbl { pub struct IAppxManifestPackageId2(::windows::core::IUnknown); impl IAppxManifestPackageId2 { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetArchitecture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetArchitecture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPublisher(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPublisher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResourceId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetResourceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5649,19 +5649,19 @@ impl IAppxManifestPackageId2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComparePublisher)(::windows::core::Interface::as_raw(self), other.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPackageFullName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPackageFullName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPackageFamilyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetArchitecture2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetArchitecture2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5731,14 +5731,14 @@ impl IAppxManifestProperties { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoolValue)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStringValue<'a, P0>(&self, name: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringValue)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -5792,15 +5792,15 @@ pub struct IAppxManifestProperties_Vtbl { pub struct IAppxManifestQualifiedResource(::windows::core::IUnknown); impl IAppxManifestQualifiedResource { pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDXFeatureLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDXFeatureLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5852,19 +5852,19 @@ pub struct IAppxManifestQualifiedResource_Vtbl { pub struct IAppxManifestQualifiedResourcesEnumerator(::windows::core::IUnknown); impl IAppxManifestQualifiedResourcesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5922,44 +5922,44 @@ pub struct IAppxManifestQualifiedResourcesEnumerator_Vtbl { pub struct IAppxManifestReader(::windows::core::IUnknown); impl IAppxManifestReader { pub unsafe fn GetPackageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPackageDependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageDependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisite<'a, P0>(&self, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrerequisite)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetApplications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6020,48 +6020,48 @@ pub struct IAppxManifestReader_Vtbl { pub struct IAppxManifestReader2(::windows::core::IUnknown); impl IAppxManifestReader2 { pub unsafe fn GetPackageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPackageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPackageDependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPackageDependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDeviceCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisite<'a, P0>(&self, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPrerequisite)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetApplications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetApplications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQualifiedResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQualifiedResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6126,56 +6126,56 @@ pub struct IAppxManifestReader2_Vtbl { pub struct IAppxManifestReader3(::windows::core::IUnknown); impl IAppxManifestReader3 { pub unsafe fn GetPackageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPackageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPackageDependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPackageDependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDeviceCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisite<'a, P0>(&self, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPrerequisite)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetApplications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetApplications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQualifiedResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetQualifiedResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCapabilitiesByCapabilityClass(&self, capabilityclass: APPX_CAPABILITY_CLASS_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilitiesByCapabilityClass)(::windows::core::Interface::as_raw(self), capabilityclass, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTargetDeviceFamilies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetDeviceFamilies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6256,60 +6256,60 @@ pub struct IAppxManifestReader3_Vtbl { pub struct IAppxManifestReader4(::windows::core::IUnknown); impl IAppxManifestReader4 { pub unsafe fn GetPackageId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPackageId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPackageDependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPackageDependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDeviceCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisite<'a, P0>(&self, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrerequisite)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetApplications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetApplications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQualifiedResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetQualifiedResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCapabilitiesByCapabilityClass(&self, capabilityclass: APPX_CAPABILITY_CLASS_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCapabilitiesByCapabilityClass)(::windows::core::Interface::as_raw(self), capabilityclass, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTargetDeviceFamilies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTargetDeviceFamilies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOptionalPackageInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionalPackageInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6404,7 +6404,7 @@ pub struct IAppxManifestReader4_Vtbl { pub struct IAppxManifestReader5(::windows::core::IUnknown); impl IAppxManifestReader5 { pub unsafe fn GetMainPackageDependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMainPackageDependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6456,7 +6456,7 @@ impl IAppxManifestReader6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsNonQualifiedResourcePackage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsNonQualifiedResourcePackage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6509,15 +6509,15 @@ pub struct IAppxManifestReader6_Vtbl { pub struct IAppxManifestReader7(::windows::core::IUnknown); impl IAppxManifestReader7 { pub unsafe fn GetDriverDependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDriverDependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOSPackageDependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOSPackageDependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHostRuntimeDependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHostRuntimeDependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6569,19 +6569,19 @@ pub struct IAppxManifestReader7_Vtbl { pub struct IAppxManifestResourcesEnumerator(::windows::core::IUnknown); impl IAppxManifestResourcesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6639,19 +6639,19 @@ pub struct IAppxManifestResourcesEnumerator_Vtbl { pub struct IAppxManifestTargetDeviceFamiliesEnumerator(::windows::core::IUnknown); impl IAppxManifestTargetDeviceFamiliesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHasCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHasCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6709,15 +6709,15 @@ pub struct IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { pub struct IAppxManifestTargetDeviceFamily(::windows::core::IUnknown); impl IAppxManifestTargetDeviceFamily { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMinVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxVersionTested(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxVersionTested)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6890,26 +6890,26 @@ pub struct IAppxPackageEditor_Vtbl { pub struct IAppxPackageReader(::windows::core::IUnknown); impl IAppxPackageReader { pub unsafe fn GetBlockMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBlockMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFootprintFile(&self, r#type: APPX_FOOTPRINT_FILE_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFootprintFile)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPayloadFile<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPayloadFile)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPayloadFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPayloadFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetManifest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetManifest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7259,11 +7259,11 @@ pub struct IAppxPackagingDiagnosticEventSinkManager_Vtbl { pub struct IAppxSourceContentGroupMapReader(::windows::core::IUnknown); impl IAppxSourceContentGroupMapReader { pub unsafe fn GetRequiredGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequiredGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAutomaticGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutomaticGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7826,7 +7826,7 @@ where extern "system" { fn TryCreatePackageDependency(user: super::super::super::Foundation::PSID, packagefamilyname: ::windows::core::PCWSTR, minversion: PACKAGE_VERSION, packagedependencyprocessorarchitectures: PackageDependencyProcessorArchitectures, lifetimekind: PackageDependencyLifetimeKind, lifetimeartifact: ::windows::core::PCWSTR, options: CreatePackageDependencyOptions, packagedependencyid: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); TryCreatePackageDependency(user.into(), packagefamilyname.into(), ::core::mem::transmute(minversion), packagedependencyprocessorarchitectures, lifetimekind, lifetimeartifact.into(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] 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 3720fe3dbe..8e3f8a931e 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 @@ -18,7 +18,7 @@ impl IOpcCertificateEnumerator { (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(certificate)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -90,7 +90,7 @@ impl IOpcCertificateSet { (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(certificate)).ok() } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -151,17 +151,17 @@ impl IOpcDigitalSignature { (::windows::core::Interface::vtable(self).GetNamespaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prefixes), ::core::mem::transmute(namespaces), ::core::mem::transmute(count)).ok() } pub unsafe fn GetSignatureId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSignaturePartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignaturePartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSignatureMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetCanonicalizationMethod(&self, canonicalizationmethod: *mut OPC_CANONICALIZATION_METHOD) -> ::windows::core::Result<()> { @@ -171,34 +171,34 @@ impl IOpcDigitalSignature { (::windows::core::Interface::vtable(self).GetSignatureValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(signaturevalue), ::core::mem::transmute(count)).ok() } pub unsafe fn GetSignaturePartReferenceEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignaturePartReferenceEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSignatureRelationshipReferenceEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureRelationshipReferenceEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSigningTime(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSigningTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetTimeFormat(&self, timeformat: *mut OPC_SIGNATURE_TIME_FORMAT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(timeformat)).ok() } pub unsafe fn GetPackageObjectReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageObjectReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCertificateEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCustomReferenceEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomReferenceEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCustomObjectEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomObjectEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSignatureXml(&self, signaturexml: *mut *mut u8, count: *mut u32) -> ::windows::core::Result<()> { @@ -270,21 +270,21 @@ impl IOpcDigitalSignatureEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MovePrevious(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MovePrevious)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -345,7 +345,7 @@ impl IOpcDigitalSignatureManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSignatureOriginPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureOriginPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -357,7 +357,7 @@ impl IOpcDigitalSignatureManager { (::windows::core::Interface::vtable(self).SetSignatureOriginPartName)(::windows::core::Interface::as_raw(self), signatureoriginpartname.into().abi()).ok() } pub unsafe fn GetSignatureEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -369,7 +369,7 @@ impl IOpcDigitalSignatureManager { (::windows::core::Interface::vtable(self).RemoveSignature)(::windows::core::Interface::as_raw(self), signaturepartname.into().abi()).ok() } pub unsafe fn CreateSigningOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSigningOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -386,7 +386,7 @@ impl IOpcDigitalSignatureManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcSigningOptions>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Sign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(certificate), signingoptions.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -395,7 +395,7 @@ impl IOpcDigitalSignatureManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReplaceSignatureXml)(::windows::core::Interface::as_raw(self), signaturepartname.into().abi(), ::core::mem::transmute(newsignaturexml), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -472,7 +472,7 @@ impl IOpcFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreatePackageRootUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageRootUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -481,7 +481,7 @@ impl IOpcFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePartUri)(::windows::core::Interface::as_raw(self), pwzuri.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Com\"`*"] @@ -490,11 +490,11 @@ impl IOpcFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStreamOnFile)(::windows::core::Interface::as_raw(self), filename.into(), iomode, ::core::mem::transmute(securityattributes), dwflagsandattributes, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePackage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -503,7 +503,7 @@ impl IOpcFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadPackageFromStream)(::windows::core::Interface::as_raw(self), stream.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -519,7 +519,7 @@ impl IOpcFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcPackage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDigitalSignatureManager)(::windows::core::Interface::as_raw(self), package.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -590,11 +590,11 @@ pub struct IOpcFactory_Vtbl { pub struct IOpcPackage(::windows::core::IUnknown); impl IOpcPackage { pub unsafe fn GetPartSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRelationshipSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelationshipSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -645,27 +645,27 @@ pub struct IOpcPackage_Vtbl { pub struct IOpcPart(::windows::core::IUnknown); impl IOpcPart { pub unsafe fn GetRelationshipSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelationshipSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetContentStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContentType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetCompressionOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompressionOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -727,21 +727,21 @@ impl IOpcPartEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MovePrevious(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MovePrevious)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -805,7 +805,7 @@ impl IOpcPartSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPart)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -815,7 +815,7 @@ impl IOpcPartSet { P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcPartUri>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePart)(::windows::core::Interface::as_raw(self), name.into().abi(), contenttype.into(), compressionoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -832,11 +832,11 @@ impl IOpcPartSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PartExists)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -921,127 +921,127 @@ impl IOpcPartUri { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn HasProperty(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HasProperty)(::windows::core::Interface::as_raw(self), uriprop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetAbsoluteUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAbsoluteUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetAuthority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAuthority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetDisplayUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDisplayUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetFragment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetHost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetHost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetPathAndQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPathAndQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetRawUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRawUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetSchemeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSchemeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetUserInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUserInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetUserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetUserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHostType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetHostType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetScheme(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetScheme)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetZone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetZone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1050,13 +1050,13 @@ impl IOpcPartUri { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IUri>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqual)(::windows::core::Interface::as_raw(self), puri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRelationshipsPartUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRelationshipsPartUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1065,7 +1065,7 @@ impl IOpcPartUri { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRelativeUri)(::windows::core::Interface::as_raw(self), targetparturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1074,7 +1074,7 @@ impl IOpcPartUri { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CombinePartUri)(::windows::core::Interface::as_raw(self), relativeuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1083,19 +1083,19 @@ impl IOpcPartUri { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComparePartUri)(::windows::core::Interface::as_raw(self), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSourceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRelationshipsPartUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRelationshipsPartUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1201,27 +1201,27 @@ pub struct IOpcPartUri_Vtbl { pub struct IOpcRelationship(::windows::core::IUnknown); impl IOpcRelationship { pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetRelationshipType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelationshipType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSourceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTargetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTargetMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1283,21 +1283,21 @@ impl IOpcRelationshipEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MovePrevious(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MovePrevious)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1356,11 +1356,11 @@ pub struct IOpcRelationshipEnumerator_Vtbl { pub struct IOpcRelationshipSelector(::windows::core::IUnknown); impl IOpcRelationshipSelector { pub unsafe fn GetSelectorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelectionCriterion(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectionCriterion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -1413,21 +1413,21 @@ impl IOpcRelationshipSelectorEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MovePrevious(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MovePrevious)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1489,7 +1489,7 @@ impl IOpcRelationshipSelectorSet { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), selector, selectioncriterion.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete<'a, P0>(&self, relationshipselector: P0) -> ::windows::core::Result<()> @@ -1499,7 +1499,7 @@ impl IOpcRelationshipSelectorSet { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self), relationshipselector.into().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1554,7 +1554,7 @@ impl IOpcRelationshipSet { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelationship)(::windows::core::Interface::as_raw(self), relationshipidentifier.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1565,7 +1565,7 @@ impl IOpcRelationshipSet { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRelationship)(::windows::core::Interface::as_raw(self), relationshipidentifier.into(), relationshiptype.into(), targeturi.into().abi(), targetmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteRelationship<'a, P0>(&self, relationshipidentifier: P0) -> ::windows::core::Result<()> @@ -1580,24 +1580,24 @@ impl IOpcRelationshipSet { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RelationshipExists)(::windows::core::Interface::as_raw(self), relationshipidentifier.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEnumeratorForType<'a, P0>(&self, relationshiptype: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumeratorForType)(::windows::core::Interface::as_raw(self), relationshiptype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRelationshipsContentStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelationshipsContentStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1713,21 +1713,21 @@ impl IOpcSignatureCustomObjectEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MovePrevious(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MovePrevious)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1786,7 +1786,7 @@ pub struct IOpcSignatureCustomObjectEnumerator_Vtbl { pub struct IOpcSignatureCustomObjectSet(::windows::core::IUnknown); impl IOpcSignatureCustomObjectSet { pub unsafe fn Create(&self, xmlmarkup: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(xmlmarkup)), xmlmarkup.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete<'a, P0>(&self, customobject: P0) -> ::windows::core::Result<()> @@ -1796,7 +1796,7 @@ impl IOpcSignatureCustomObjectSet { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self), customobject.into().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1850,22 +1850,22 @@ impl IOpcSignaturePartReference { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContentType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDigestMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDigestMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetDigestValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(digestvalue), ::core::mem::transmute(count)).ok() } pub unsafe fn GetTransformMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1924,21 +1924,21 @@ impl IOpcSignaturePartReferenceEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MovePrevious(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MovePrevious)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2003,7 +2003,7 @@ impl IOpcSignaturePartReferenceSet { P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcPartUri>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), parturi.into().abi(), digestmethod.into(), transformmethod, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete<'a, P0>(&self, partreference: P0) -> ::windows::core::Result<()> @@ -2013,7 +2013,7 @@ impl IOpcSignaturePartReferenceSet { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self), partreference.into().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2068,25 +2068,25 @@ pub struct IOpcSignaturePartReferenceSet_Vtbl { pub struct IOpcSignatureReference(::windows::core::IUnknown); impl IOpcSignatureReference { pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetTransformMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDigestMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDigestMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::core::Result<()> { @@ -2149,21 +2149,21 @@ impl IOpcSignatureReferenceEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MovePrevious(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MovePrevious)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2230,7 +2230,7 @@ impl IOpcSignatureReferenceSet { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), referenceuri.into().abi(), referenceid.into(), r#type.into(), digestmethod.into(), transformmethod, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete<'a, P0>(&self, reference: P0) -> ::windows::core::Result<()> @@ -2240,7 +2240,7 @@ impl IOpcSignatureReferenceSet { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self), reference.into().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2297,26 +2297,26 @@ impl IOpcSignatureRelationshipReference { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSourceUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDigestMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDigestMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetDigestValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(digestvalue), ::core::mem::transmute(count)).ok() } pub unsafe fn GetTransformMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRelationshipSigningOption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelationshipSigningOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRelationshipSelectorEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelationshipSelectorEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2376,21 +2376,21 @@ impl IOpcSignatureRelationshipReferenceEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MovePrevious(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MovePrevious)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2456,11 +2456,11 @@ impl IOpcSignatureRelationshipReferenceSet { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::InParam<'a, IOpcRelationshipSelectorSet>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), sourceuri.into().abi(), digestmethod.into(), relationshipsigningoption, selectorset.into().abi(), transformmethod, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRelationshipSelectorSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRelationshipSelectorSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete<'a, P0>(&self, relationshipreference: P0) -> ::windows::core::Result<()> @@ -2470,7 +2470,7 @@ impl IOpcSignatureRelationshipReferenceSet { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self), relationshipreference.into().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2526,7 +2526,7 @@ pub struct IOpcSignatureRelationshipReferenceSet_Vtbl { pub struct IOpcSigningOptions(::windows::core::IUnknown); impl IOpcSigningOptions { pub unsafe fn GetSignatureId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetSignatureId<'a, P0>(&self, signatureid: P0) -> ::windows::core::Result<()> @@ -2536,7 +2536,7 @@ impl IOpcSigningOptions { (::windows::core::Interface::vtable(self).SetSignatureId)(::windows::core::Interface::as_raw(self), signatureid.into()).ok() } pub unsafe fn GetSignatureMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetSignatureMethod<'a, P0>(&self, signaturemethod: P0) -> ::windows::core::Result<()> @@ -2546,7 +2546,7 @@ impl IOpcSigningOptions { (::windows::core::Interface::vtable(self).SetSignatureMethod)(::windows::core::Interface::as_raw(self), signaturemethod.into()).ok() } pub unsafe fn GetDefaultDigestMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultDigestMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDefaultDigestMethod<'a, P0>(&self, digestmethod: P0) -> ::windows::core::Result<()> @@ -2556,43 +2556,43 @@ impl IOpcSigningOptions { (::windows::core::Interface::vtable(self).SetDefaultDigestMethod)(::windows::core::Interface::as_raw(self), digestmethod.into()).ok() } pub unsafe fn GetCertificateEmbeddingOption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateEmbeddingOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCertificateEmbeddingOption(&self, embeddingoption: OPC_CERTIFICATE_EMBEDDING_OPTION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCertificateEmbeddingOption)(::windows::core::Interface::as_raw(self), embeddingoption).ok() } pub unsafe fn GetTimeFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTimeFormat(&self, timeformat: OPC_SIGNATURE_TIME_FORMAT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTimeFormat)(::windows::core::Interface::as_raw(self), timeformat).ok() } pub unsafe fn GetSignaturePartReferenceSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignaturePartReferenceSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSignatureRelationshipReferenceSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureRelationshipReferenceSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCustomObjectSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomObjectSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCustomReferenceSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomReferenceSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCertificateSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSignaturePartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignaturePartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2691,127 +2691,127 @@ impl IOpcUri { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn HasProperty(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HasProperty)(::windows::core::Interface::as_raw(self), uriprop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetAbsoluteUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAbsoluteUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetAuthority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAuthority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetDisplayUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetFragment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetHost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetPathAndQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPathAndQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetRawUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRawUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetSchemeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSchemeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetUserInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUserInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetUserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHostType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHostType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetScheme(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetScheme)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetZone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetZone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2820,13 +2820,13 @@ impl IOpcUri { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IUri>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqual)(::windows::core::Interface::as_raw(self), puri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRelationshipsPartUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelationshipsPartUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2835,7 +2835,7 @@ impl IOpcUri { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelativeUri)(::windows::core::Interface::as_raw(self), targetparturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2844,7 +2844,7 @@ impl IOpcUri { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CombinePartUri)(::windows::core::Interface::as_raw(self), relativeuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs index 4b47f5e069..3f3604f27f 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs @@ -1356,7 +1356,7 @@ where extern "system" { fn PrjClearNegativePathCache(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, totalentrynumber: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PrjClearNegativePathCache(namespacevirtualizationcontext.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -1382,7 +1382,7 @@ where extern "system" { fn PrjDeleteFile(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename: ::windows::core::PCWSTR, updateflags: PRJ_UPDATE_TYPES, failurereason: *mut PRJ_UPDATE_FAILURE_CAUSES) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PrjDeleteFile(namespacevirtualizationcontext.into(), destinationfilename.into(), updateflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1472,7 +1472,7 @@ where extern "system" { fn PrjGetOnDiskFileState(destinationfilename: ::windows::core::PCWSTR, filestate: *mut PRJ_FILE_STATE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PrjGetOnDiskFileState(destinationfilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -1485,7 +1485,7 @@ where extern "system" { fn PrjGetVirtualizationInstanceInfo(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, virtualizationinstanceinfo: *mut PRJ_VIRTUALIZATION_INSTANCE_INFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PrjGetVirtualizationInstanceInfo(namespacevirtualizationcontext.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -1512,7 +1512,7 @@ where extern "system" { fn PrjStartVirtualizing(virtualizationrootpath: ::windows::core::PCWSTR, callbacks: *const PRJ_CALLBACKS, instancecontext: *const ::core::ffi::c_void, options: *const PRJ_STARTVIRTUALIZING_OPTIONS, namespacevirtualizationcontext: *mut PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PrjStartVirtualizing(virtualizationrootpath.into(), ::core::mem::transmute(callbacks), ::core::mem::transmute(instancecontext), ::core::mem::transmute(options), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -1539,7 +1539,7 @@ where extern "system" { fn PrjUpdateFileIfNeeded(namespacevirtualizationcontext: PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT, destinationfilename: ::windows::core::PCWSTR, placeholderinfo: *const PRJ_PLACEHOLDER_INFO, placeholderinfosize: u32, updateflags: PRJ_UPDATE_TYPES, failurereason: *mut PRJ_UPDATE_FAILURE_CAUSES) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PrjUpdateFileIfNeeded(namespacevirtualizationcontext.into(), destinationfilename.into(), ::core::mem::transmute(placeholderinfo), placeholderinfosize, updateflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] 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 12325aa1a1..6053142acf 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs @@ -16,7 +16,7 @@ impl IEnumVdsObject { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -233,15 +233,15 @@ pub struct IVdsAsync_Vtbl { pub struct IVdsController(::windows::core::IUnknown); impl IVdsController { pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPortProperties(&self, sportnumber: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPortProperties)(::windows::core::Interface::as_raw(self), sportnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FlushCache(&self) -> ::windows::core::Result<()> { @@ -254,7 +254,7 @@ impl IVdsController { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn QueryAssociatedLuns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAssociatedLuns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStatus(&self, status: VDS_CONTROLLER_STATUS) -> ::windows::core::Result<()> { @@ -314,7 +314,7 @@ pub struct IVdsController_Vtbl { pub struct IVdsControllerControllerPort(::windows::core::IUnknown); impl IVdsControllerControllerPort { pub unsafe fn QueryControllerPorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryControllerPorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -364,15 +364,15 @@ pub struct IVdsControllerControllerPort_Vtbl { pub struct IVdsControllerPort(::windows::core::IUnknown); impl IVdsControllerPort { pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetController(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetController)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryAssociatedLuns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAssociatedLuns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { @@ -432,11 +432,11 @@ pub struct IVdsControllerPort_Vtbl { pub struct IVdsDrive(::windows::core::IUnknown); impl IVdsDrive { pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -508,7 +508,7 @@ pub struct IVdsDrive_Vtbl { pub struct IVdsDrive2(::windows::core::IUnknown); impl IVdsDrive2 { pub unsafe fn GetProperties2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -558,7 +558,7 @@ pub struct IVdsDrive2_Vtbl { pub struct IVdsHwProvider(::windows::core::IUnknown); impl IVdsHwProvider { pub unsafe fn QuerySubSystems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuerySubSystems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reenumerate(&self) -> ::windows::core::Result<()> { @@ -621,7 +621,7 @@ impl IVdsHwProviderPrivate { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryIfCreatedLun)(::windows::core::Interface::as_raw(self), pwszdevicepath.into(), ::core::mem::transmute(pvdsluninformation), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -725,7 +725,7 @@ impl IVdsHwProviderStoragePools { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryStoragePools(&self, ulflags: u32, ullremainingfreespace: u64, ppoolattributes: *const VDS_POOL_ATTRIBUTES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryStoragePools)(::windows::core::Interface::as_raw(self), ulflags, ullremainingfreespace, ::core::mem::transmute(ppoolattributes), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -734,13 +734,13 @@ impl IVdsHwProviderStoragePools { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLunInStoragePool)(::windows::core::Interface::as_raw(self), r#type, ullsizeinbytes, ::core::mem::transmute(storagepoolid), pwszunmaskinglist.into(), ::core::mem::transmute(phints2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryMaxLunCreateSizeInStoragePool(&self, r#type: VDS_LUN_TYPE, storagepoolid: ::windows::core::GUID, phints2: *const VDS_HINTS2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryMaxLunCreateSizeInStoragePool)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(storagepoolid), ::core::mem::transmute(phints2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -801,7 +801,7 @@ pub struct IVdsHwProviderStoragePools_Vtbl { pub struct IVdsHwProviderType(::windows::core::IUnknown); impl IVdsHwProviderType { pub unsafe fn GetProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -851,7 +851,7 @@ pub struct IVdsHwProviderType_Vtbl { pub struct IVdsHwProviderType2(::windows::core::IUnknown); impl IVdsHwProviderType2 { pub unsafe fn GetProviderType2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderType2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -901,15 +901,15 @@ pub struct IVdsHwProviderType2_Vtbl { pub struct IVdsIscsiPortal(::windows::core::IUnknown); impl IVdsIscsiPortal { pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryAssociatedPortalGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAssociatedPortalGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStatus(&self, status: VDS_ISCSI_PORTAL_STATUS) -> ::windows::core::Result<()> { @@ -919,7 +919,7 @@ impl IVdsIscsiPortal { (::windows::core::Interface::vtable(self).SetIpsecTunnelAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptunneladdress), ::core::mem::transmute(pdestinationaddress)).ok() } pub unsafe fn GetIpsecSecurity(&self, pinitiatorportaladdress: *const VDS_IPADDRESS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIpsecSecurity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinitiatorportaladdress), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIpsecSecurity(&self, pinitiatorportaladdress: *const VDS_IPADDRESS, ullsecurityflags: u64, pipseckey: *const VDS_ISCSI_IPSEC_KEY) -> ::windows::core::Result<()> { @@ -978,27 +978,27 @@ pub struct IVdsIscsiPortal_Vtbl { pub struct IVdsIscsiPortalGroup(::windows::core::IUnknown); impl IVdsIscsiPortalGroup { pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryAssociatedPortals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAssociatedPortals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddPortal(&self, portalid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddPortal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(portalid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemovePortal(&self, portalid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemovePortal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(portalid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1055,27 +1055,27 @@ impl IVdsIscsiTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryPortalGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryPortalGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryAssociatedLuns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAssociatedLuns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePortalGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePortalGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFriendlyName<'a, P0>(&self, pwszfriendlyname: P0) -> ::windows::core::Result<()> @@ -1158,45 +1158,45 @@ pub struct IVdsIscsiTarget_Vtbl { pub struct IVdsLun(::windows::core::IUnknown); impl IVdsLun { pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIdentificationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIdentificationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryActiveControllers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryActiveControllers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Extend(&self, ullnumberofbytestoadd: u64, pdriveidarray: &[::windows::core::GUID]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Extend)(::windows::core::Interface::as_raw(self), ullnumberofbytestoadd, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdriveidarray)), pdriveidarray.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shrink(&self, ullnumberofbytestoremove: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Shrink)(::windows::core::Interface::as_raw(self), ullnumberofbytestoremove, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryPlexes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryPlexes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddPlex(&self, lunid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddPlex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lunid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemovePlex(&self, plexid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemovePlex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plexid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Recover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMask<'a, P0>(&self, pwszunmaskinglist: P0) -> ::windows::core::Result<()> @@ -1214,7 +1214,7 @@ impl IVdsLun { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryHints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1226,7 +1226,7 @@ impl IVdsLun { (::windows::core::Interface::vtable(self).SetStatus)(::windows::core::Interface::as_raw(self), status).ok() } pub unsafe fn QueryMaxLunExtendSize(&self, pdriveidarray: &[::windows::core::GUID]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryMaxLunExtendSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pdriveidarray)), pdriveidarray.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1303,7 +1303,7 @@ impl IVdsLun2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryHints2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHints2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1368,7 +1368,7 @@ impl IVdsLunControllerPorts { (::windows::core::Interface::vtable(self).AssociateControllerPorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pactivecontrollerportidarray)), pactivecontrollerportidarray.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pinactivecontrollerportidarray)), pinactivecontrollerportidarray.len() as _).ok() } pub unsafe fn QueryActiveControllerPorts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryActiveControllerPorts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1422,7 +1422,7 @@ impl IVdsLunIscsi { (::windows::core::Interface::vtable(self).AssociateTargets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(ptargetidarray)), ptargetidarray.len() as _).ok() } pub unsafe fn QueryAssociatedTargets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAssociatedTargets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1486,7 +1486,7 @@ impl IVdsLunMpio { (::windows::core::Interface::vtable(self).SetLoadBalancePolicy)(::windows::core::Interface::as_raw(self), policy, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppaths)), ppaths.len() as _).ok() } pub unsafe fn GetSupportedLbPolicies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedLbPolicies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1597,7 +1597,7 @@ pub struct IVdsLunNaming_Vtbl { pub struct IVdsLunNumber(::windows::core::IUnknown); impl IVdsLunNumber { pub unsafe fn GetLunNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLunNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1647,11 +1647,11 @@ pub struct IVdsLunNumber_Vtbl { pub struct IVdsLunPlex(::windows::core::IUnknown); impl IVdsLunPlex { pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLun(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLun)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1662,7 +1662,7 @@ impl IVdsLunPlex { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryHints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1787,7 +1787,7 @@ pub struct IVdsMaintenance_Vtbl { pub struct IVdsProvider(::windows::core::IUnknown); impl IVdsProvider { pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1837,7 +1837,7 @@ pub struct IVdsProvider_Vtbl { pub struct IVdsProviderPrivate(::windows::core::IUnknown); impl IVdsProviderPrivate { pub unsafe fn GetObject(&self, objectid: ::windows::core::GUID, r#type: VDS_OBJECT_TYPE) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(objectid), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn OnLoad<'a, P0, P1>(&self, pwszmachinename: P0, pcallbackobject: P1) -> ::windows::core::Result<()> @@ -1907,7 +1907,7 @@ pub struct IVdsProviderPrivate_Vtbl { pub struct IVdsProviderSupport(::windows::core::IUnknown); impl IVdsProviderSupport { pub unsafe fn GetVersionSupport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionSupport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1957,17 +1957,17 @@ pub struct IVdsProviderSupport_Vtbl { pub struct IVdsStoragePool(::windows::core::IUnknown); impl IVdsStoragePool { pub unsafe fn GetProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1976,11 +1976,11 @@ impl IVdsStoragePool { (::windows::core::Interface::vtable(self).QueryDriveExtents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppextentarray), ::core::mem::transmute(plnumberofextents)).ok() } pub unsafe fn QueryAllocatedLuns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAllocatedLuns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryAllocatedStoragePools(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAllocatedStoragePools)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2041,27 +2041,27 @@ pub struct IVdsStoragePool_Vtbl { pub struct IVdsSubSystem(::windows::core::IUnknown); impl IVdsSubSystem { pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryControllers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryControllers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryLuns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryLuns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDrives(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDrives)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDrive(&self, sbusnumber: i16, sslotnumber: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDrive)(::windows::core::Interface::as_raw(self), sbusnumber, sslotnumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reenumerate(&self) -> ::windows::core::Result<()> { @@ -2076,7 +2076,7 @@ impl IVdsSubSystem { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLun)(::windows::core::Interface::as_raw(self), r#type, ullsizeinbytes, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdriveidarray)), pdriveidarray.len() as _, pwszunmaskinglist.into(), ::core::mem::transmute(phints), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReplaceDrive(&self, drivetobereplaced: ::windows::core::GUID, replacementdrive: ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -2088,7 +2088,7 @@ impl IVdsSubSystem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryMaxLunCreateSize(&self, r#type: VDS_LUN_TYPE, pdriveidarray: &[::windows::core::GUID], phints: *const VDS_HINTS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryMaxLunCreateSize)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdriveidarray)), pdriveidarray.len() as _, ::core::mem::transmute(phints), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2155,11 +2155,11 @@ pub struct IVdsSubSystem_Vtbl { pub struct IVdsSubSystem2(::windows::core::IUnknown); impl IVdsSubSystem2 { pub unsafe fn GetProperties2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDrive2(&self, sbusnumber: i16, sslotnumber: i16, ulenclosurenumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDrive2)(::windows::core::Interface::as_raw(self), sbusnumber, sslotnumber, ulenclosurenumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2168,13 +2168,13 @@ impl IVdsSubSystem2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLun2)(::windows::core::Interface::as_raw(self), r#type, ullsizeinbytes, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdriveidarray)), pdriveidarray.len() as _, pwszunmaskinglist.into(), ::core::mem::transmute(phints2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryMaxLunCreateSize2(&self, r#type: VDS_LUN_TYPE, pdriveidarray: &[::windows::core::GUID], phints2: *const VDS_HINTS2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryMaxLunCreateSize2)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdriveidarray)), pdriveidarray.len() as _, ::core::mem::transmute(phints2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2233,7 +2233,7 @@ pub struct IVdsSubSystem2_Vtbl { pub struct IVdsSubSystemInterconnect(::windows::core::IUnknown); impl IVdsSubSystemInterconnect { pub unsafe fn GetSupportedInterconnects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedInterconnects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2283,11 +2283,11 @@ pub struct IVdsSubSystemInterconnect_Vtbl { pub struct IVdsSubSystemIscsi(::windows::core::IUnknown); impl IVdsSubSystemIscsi { pub unsafe fn QueryTargets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryTargets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryPortals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryPortals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTarget<'a, P0, P1>(&self, pwsziscsiname: P0, pwszfriendlyname: P1) -> ::windows::core::Result @@ -2295,7 +2295,7 @@ impl IVdsSubSystemIscsi { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTarget)(::windows::core::Interface::as_raw(self), pwsziscsiname.into(), pwszfriendlyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIpsecGroupPresharedKey(&self, pipseckey: *const VDS_ISCSI_IPSEC_KEY) -> ::windows::core::Result<()> { 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 678117a221..f2b6267c07 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 ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateVssExpressWriterInternal(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] @@ -19,7 +19,7 @@ impl IVssAdmin { (::windows::core::Interface::vtable(self).UnregisterProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(providerid)).ok() } pub unsafe fn QueryProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AbortAllSnapshotsInProgress(&self) -> ::windows::core::Result<()> { @@ -81,18 +81,18 @@ impl IVssAdminEx { (::windows::core::Interface::vtable(self).base__.UnregisterProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(providerid)).ok() } pub unsafe fn QueryProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AbortAllSnapshotsInProgress(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.AbortAllSnapshotsInProgress)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetProviderCapability(&self, pproviderid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderCapability)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pproviderid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProviderContext(&self, providerid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(providerid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProviderContext(&self, providerid: ::windows::core::GUID, lcontext: i32) -> ::windows::core::Result<()> { @@ -238,7 +238,7 @@ impl IVssComponent { (::windows::core::Interface::vtable(self).GetAlternateLocationMappingCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcmappings)).ok() } pub unsafe fn GetAlternateLocationMapping(&self, imapping: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlternateLocationMapping)(::windows::core::Interface::as_raw(self), imapping, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackupMetadata<'a, P0>(&self, wszdata: P0) -> ::windows::core::Result<()> @@ -279,7 +279,7 @@ impl IVssComponent { (::windows::core::Interface::vtable(self).GetNewTargetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcnewtarget)).ok() } pub unsafe fn GetNewTarget(&self, inewtarget: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNewTarget)(::windows::core::Interface::as_raw(self), inewtarget, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddDirectedTarget<'a, P0, P1, P2, P3, P4, P5>(&self, wszsourcepath: P0, wszsourcefilename: P1, wszsourcerangelist: P2, wszdestinationpath: P3, wszdestinationfilename: P4, wszdestinationrangelist: P5) -> ::windows::core::Result<()> @@ -557,7 +557,7 @@ impl IVssComponentEx { (::windows::core::Interface::vtable(self).base__.GetAlternateLocationMappingCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcmappings)).ok() } pub unsafe fn GetAlternateLocationMapping(&self, imapping: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAlternateLocationMapping)(::windows::core::Interface::as_raw(self), imapping, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackupMetadata<'a, P0>(&self, wszdata: P0) -> ::windows::core::Result<()> @@ -598,7 +598,7 @@ impl IVssComponentEx { (::windows::core::Interface::vtable(self).base__.GetNewTargetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcnewtarget)).ok() } pub unsafe fn GetNewTarget(&self, inewtarget: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNewTarget)(::windows::core::Interface::as_raw(self), inewtarget, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddDirectedTarget<'a, P0, P1, P2, P3, P4, P5>(&self, wszsourcepath: P0, wszsourcefilename: P1, wszsourcerangelist: P2, wszdestinationpath: P3, wszdestinationfilename: P4, wszdestinationrangelist: P5) -> ::windows::core::Result<()> @@ -740,17 +740,17 @@ impl IVssComponentEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPrepareForBackupFailureMsg(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrepareForBackupFailureMsg)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPostSnapshotFailureMsg(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPostSnapshotFailureMsg)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthoritativeRestore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAuthoritativeRestore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -761,7 +761,7 @@ impl IVssComponentEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRestoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -863,7 +863,7 @@ impl IVssComponentEx2 { (::windows::core::Interface::vtable(self).base__.base__.GetAlternateLocationMappingCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcmappings)).ok() } pub unsafe fn GetAlternateLocationMapping(&self, imapping: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAlternateLocationMapping)(::windows::core::Interface::as_raw(self), imapping, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackupMetadata<'a, P0>(&self, wszdata: P0) -> ::windows::core::Result<()> @@ -904,7 +904,7 @@ impl IVssComponentEx2 { (::windows::core::Interface::vtable(self).base__.base__.GetNewTargetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcnewtarget)).ok() } pub unsafe fn GetNewTarget(&self, inewtarget: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNewTarget)(::windows::core::Interface::as_raw(self), inewtarget, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddDirectedTarget<'a, P0, P1, P2, P3, P4, P5>(&self, wszsourcepath: P0, wszsourcefilename: P1, wszsourcerangelist: P2, wszdestinationpath: P3, wszdestinationfilename: P4, wszdestinationrangelist: P5) -> ::windows::core::Result<()> @@ -1046,17 +1046,17 @@ impl IVssComponentEx2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPrepareForBackupFailureMsg(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPrepareForBackupFailureMsg)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPostSnapshotFailureMsg(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPostSnapshotFailureMsg)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAuthoritativeRestore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAuthoritativeRestore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1067,7 +1067,7 @@ impl IVssComponentEx2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRestoreName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRestoreName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFailure<'a, P0>(&self, hr: ::windows::core::HRESULT, hrapplication: ::windows::core::HRESULT, wszapplicationmessage: P0, dwreserved: u32) -> ::windows::core::Result<()> @@ -1208,7 +1208,7 @@ impl IVssCreateExpressWriterMetadata { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SaveAsXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveAsXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1347,7 +1347,7 @@ impl IVssCreateWriterMetadata { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] pub unsafe fn GetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1409,19 +1409,19 @@ impl IVssDifferentialSoftwareSnapshotMgmt { (::windows::core::Interface::vtable(self).ChangeDiffAreaMaximumSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(pwszdiffareavolumename), llmaximumdiffspace).ok() } pub unsafe fn QueryVolumesSupportedForDiffAreas(&self, pwszoriginalvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryVolumesSupportedForDiffAreas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszoriginalvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDiffAreasForVolume(&self, pwszvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDiffAreasForVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDiffAreasOnVolume(&self, pwszvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDiffAreasOnVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDiffAreasForSnapshot(&self, snapshotid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDiffAreasForSnapshot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(snapshotid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1482,19 +1482,19 @@ impl IVssDifferentialSoftwareSnapshotMgmt2 { (::windows::core::Interface::vtable(self).base__.ChangeDiffAreaMaximumSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(pwszdiffareavolumename), llmaximumdiffspace).ok() } pub unsafe fn QueryVolumesSupportedForDiffAreas(&self, pwszoriginalvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryVolumesSupportedForDiffAreas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszoriginalvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDiffAreasForVolume(&self, pwszvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryDiffAreasForVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDiffAreasOnVolume(&self, pwszvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryDiffAreasOnVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDiffAreasForSnapshot(&self, snapshotid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryDiffAreasForSnapshot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(snapshotid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1509,7 +1509,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt2 { (::windows::core::Interface::vtable(self).MigrateDiffAreas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(pwszdiffareavolumename), ::core::mem::transmute(pwsznewdiffareavolumename)).ok() } pub unsafe fn QueryMigrationStatus(&self, pwszvolumename: *const u16, pwszdiffareavolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryMigrationStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(pwszdiffareavolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSnapshotPriority(&self, idsnapshot: ::windows::core::GUID, priority: u8) -> ::windows::core::Result<()> { @@ -1589,19 +1589,19 @@ impl IVssDifferentialSoftwareSnapshotMgmt3 { (::windows::core::Interface::vtable(self).base__.base__.ChangeDiffAreaMaximumSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(pwszdiffareavolumename), llmaximumdiffspace).ok() } pub unsafe fn QueryVolumesSupportedForDiffAreas(&self, pwszoriginalvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryVolumesSupportedForDiffAreas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszoriginalvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDiffAreasForVolume(&self, pwszvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryDiffAreasForVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDiffAreasOnVolume(&self, pwszvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryDiffAreasOnVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryDiffAreasForSnapshot(&self, snapshotid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryDiffAreasForSnapshot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(snapshotid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1616,7 +1616,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt3 { (::windows::core::Interface::vtable(self).base__.MigrateDiffAreas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(pwszdiffareavolumename), ::core::mem::transmute(pwsznewdiffareavolumename)).ok() } pub unsafe fn QueryMigrationStatus(&self, pwszvolumename: *const u16, pwszdiffareavolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryMigrationStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(pwszdiffareavolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSnapshotPriority(&self, idsnapshot: ::windows::core::GUID, priority: u8) -> ::windows::core::Result<()> { @@ -1628,7 +1628,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetVolumeProtectLevel(&self, pwszvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVolumeProtectLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClearVolumeProtectFault(&self, pwszvolumename: *const u16) -> ::windows::core::Result<()> { @@ -1851,7 +1851,7 @@ impl IVssExpressWriter { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(writerid), writername.into(), usagetype, versionmajor, versionminor, reserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadMetadata<'a, P0>(&self, metadata: P0, reserved: u32) -> ::windows::core::Result<()> @@ -1919,11 +1919,11 @@ impl IVssFileShareSnapshotProvider { (::windows::core::Interface::vtable(self).SetContext)(::windows::core::Interface::as_raw(self), lcontext).ok() } pub unsafe fn GetSnapshotProperties(&self, snapshotid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSnapshotProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(snapshotid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Query(&self, queriedobjectid: ::windows::core::GUID, equeriedobjecttype: VSS_OBJECT_TYPE, ereturnedobjectstype: VSS_OBJECT_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Query)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(queriedobjectid), equeriedobjecttype, ereturnedobjectstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1940,7 +1940,7 @@ impl IVssFileShareSnapshotProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPathSupported(&self, pwszsharepath: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPathSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszsharepath), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2151,7 +2151,7 @@ impl IVssHardwareSnapshotProviderEx { (::windows::core::Interface::vtable(self).base__.OnLunEmpty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wszdevicename), ::core::mem::transmute(pinformation)).ok() } pub unsafe fn GetProviderCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_VirtualDiskService\"`*"] @@ -2162,7 +2162,7 @@ impl IVssHardwareSnapshotProviderEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_VirtualDiskService\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_VirtualDiskService"))] pub unsafe fn ResyncLuns(&self, psourceluns: *const super::VirtualDiskService::VDS_LUN_INFORMATION, ptargetluns: *const super::VirtualDiskService::VDS_LUN_INFORMATION, dwcount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResyncLuns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psourceluns), ::core::mem::transmute(ptargetluns), ::core::mem::transmute(dwcount), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_VirtualDiskService\"`*"] @@ -2381,15 +2381,15 @@ pub struct IVssProviderNotifications_Vtbl { pub struct IVssSnapshotMgmt(::windows::core::IUnknown); impl IVssSnapshotMgmt { pub unsafe fn GetProviderMgmtInterface(&self, providerid: ::windows::core::GUID, interfaceid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderMgmtInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(providerid), ::core::mem::transmute(interfaceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn QueryVolumesSupportedForSnapshots(&self, providerid: ::windows::core::GUID, lcontext: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryVolumesSupportedForSnapshots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(providerid), lcontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QuerySnapshotsByVolume(&self, pwszvolumename: *const u16, providerid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuerySnapshotsByVolume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(providerid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2441,7 +2441,7 @@ pub struct IVssSnapshotMgmt_Vtbl { pub struct IVssSnapshotMgmt2(::windows::core::IUnknown); impl IVssSnapshotMgmt2 { pub unsafe fn GetMinDiffAreaSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinDiffAreaSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2494,11 +2494,11 @@ impl IVssSoftwareSnapshotProvider { (::windows::core::Interface::vtable(self).SetContext)(::windows::core::Interface::as_raw(self), lcontext).ok() } pub unsafe fn GetSnapshotProperties(&self, snapshotid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSnapshotProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(snapshotid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Query(&self, queriedobjectid: ::windows::core::GUID, equeriedobjecttype: VSS_OBJECT_TYPE, ereturnedobjectstype: VSS_OBJECT_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Query)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(queriedobjectid), equeriedobjecttype, ereturnedobjectstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2515,7 +2515,7 @@ impl IVssSoftwareSnapshotProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsVolumeSupported(&self, pwszvolumename: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsVolumeSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolumename), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2535,7 +2535,7 @@ impl IVssSoftwareSnapshotProvider { (::windows::core::Interface::vtable(self).RevertToSnapshot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(snapshotid)).ok() } pub unsafe fn QueryRevertStatus(&self, pwszvolume: *const u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryRevertStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pwszvolume), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2675,27 +2675,27 @@ impl IVssWMFiledesc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFilespec(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilespec)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecursive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecursive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAlternateLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlternateLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBackupTypeMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackupTypeMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2764,7 +2764,7 @@ impl IVssWriterComponents { (::windows::core::Interface::vtable(self).GetWriterInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidinstance), ::core::mem::transmute(pidwriter)).ok() } pub unsafe fn GetComponent(&self, icomponent: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponent)(::windows::core::Interface::as_raw(self), icomponent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2825,7 +2825,7 @@ impl IVssWriterImpl { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSnapshotDeviceName)(::windows::core::Interface::as_raw(self), wszoriginalvolume.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetCurrentSnapshotSetId(&self) -> ::windows::core::GUID { @@ -2876,7 +2876,7 @@ impl IVssWriterImpl { (::windows::core::Interface::vtable(self).SetWriterFailureEx)(::windows::core::Interface::as_raw(self), hr, hrapplication, wszapplicationmessage.into()).ok() } pub unsafe fn GetSessionId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSessionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsWriterShuttingDown(&self) -> bool { 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 759ca8677c..f9209798f5 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 @@ -153,7 +153,7 @@ impl IPrintDocumentPackageTargetFactory { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDocumentPackageTargetForPrintJob)(::windows::core::Interface::as_raw(self), printername.into(), jobname.into(), joboutputstream.into().abi(), jobprintticketstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -209,7 +209,7 @@ impl IXpsPrintJob { (::windows::core::Interface::vtable(self).Cancel)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetJobStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJobStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 e5c7ba9809..e113aa111c 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs @@ -333,15 +333,15 @@ impl IXpsDocumentPackageTarget { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXpsOMPackageWriter)(::windows::core::Interface::as_raw(self), documentsequencepartname.into().abi(), discardcontrolpartname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetXpsOMFactory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXpsOMFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetXpsType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXpsType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -404,11 +404,11 @@ impl IXpsDocumentPackageTarget3D { P2: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXpsOMPackageWriter3D)(::windows::core::Interface::as_raw(self), documentsequencepartname.into().abi(), discardcontrolpartname.into().abi(), modelpartname.into().abi(), modeldata.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetXpsOMFactory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXpsOMFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -462,15 +462,15 @@ pub struct IXpsDocumentPackageTarget3D_Vtbl { pub struct IXpsOMBrush(::windows::core::IUnknown); impl IXpsOMBrush { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { @@ -539,19 +539,19 @@ pub struct IXpsOMBrush_Vtbl { pub struct IXpsOMCanvas(::windows::core::IUnknown); impl IXpsOMCanvas { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, matrixtransform: P0) -> ::windows::core::Result<()> @@ -561,7 +561,7 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).base__.SetTransformLocal)(::windows::core::Interface::as_raw(self), matrixtransform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -571,11 +571,11 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).base__.SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetClipGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClipGeometryLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipGeometryLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClipGeometryLocal<'a, P0>(&self, clipgeometry: P0) -> ::windows::core::Result<()> @@ -585,7 +585,7 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).base__.SetClipGeometryLocal)(::windows::core::Interface::as_raw(self), clipgeometry.into().abi()).ok() } pub unsafe fn GetClipGeometryLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipGeometryLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetClipGeometryLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -595,18 +595,18 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).base__.SetClipGeometryLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetOpacityMaskBrush(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacityMaskBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacityMaskBrushLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacityMaskBrushLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacityMaskBrushLocal<'a, P0>(&self, opacitymaskbrush: P0) -> ::windows::core::Result<()> @@ -616,7 +616,7 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).base__.SetOpacityMaskBrushLocal)(::windows::core::Interface::as_raw(self), opacitymaskbrush.into().abi()).ok() } pub unsafe fn GetOpacityMaskBrushLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacityMaskBrushLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetOpacityMaskBrushLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -626,7 +626,7 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).base__.SetOpacityMaskBrushLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetName<'a, P0>(&self, name: P0) -> ::windows::core::Result<()> @@ -638,7 +638,7 @@ impl IXpsOMCanvas { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIsHyperlinkTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -652,7 +652,7 @@ impl IXpsOMCanvas { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHyperlinkNavigateUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHyperlinkNavigateUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -664,7 +664,7 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).base__.SetHyperlinkNavigateUri)(::windows::core::Interface::as_raw(self), hyperlinkuri.into().abi()).ok() } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLanguage<'a, P0>(&self, language: P0) -> ::windows::core::Result<()> @@ -674,13 +674,13 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).base__.SetLanguage)(::windows::core::Interface::as_raw(self), language.into()).ok() } pub unsafe fn GetVisuals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisuals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUseAliasedEdgeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUseAliasedEdgeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -692,7 +692,7 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).SetUseAliasedEdgeMode)(::windows::core::Interface::as_raw(self), usealiasededgemode.into()).ok() } pub unsafe fn GetAccessibilityShortDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccessibilityShortDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAccessibilityShortDescription<'a, P0>(&self, shortdescription: P0) -> ::windows::core::Result<()> @@ -702,7 +702,7 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).SetAccessibilityShortDescription)(::windows::core::Interface::as_raw(self), shortdescription.into()).ok() } pub unsafe fn GetAccessibilityLongDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccessibilityLongDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAccessibilityLongDescription<'a, P0>(&self, longdescription: P0) -> ::windows::core::Result<()> @@ -712,11 +712,11 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).SetAccessibilityLongDescription)(::windows::core::Interface::as_raw(self), longdescription.into()).ok() } pub unsafe fn GetDictionary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDictionary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDictionaryLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDictionaryLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDictionaryLocal<'a, P0>(&self, resourcedictionary: P0) -> ::windows::core::Result<()> @@ -726,7 +726,7 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).SetDictionaryLocal)(::windows::core::Interface::as_raw(self), resourcedictionary.into().abi()).ok() } pub unsafe fn GetDictionaryResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDictionaryResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDictionaryResource<'a, P0>(&self, remotedictionaryresource: P0) -> ::windows::core::Result<()> @@ -736,7 +736,7 @@ impl IXpsOMCanvas { (::windows::core::Interface::vtable(self).SetDictionaryResource)(::windows::core::Interface::as_raw(self), remotedictionaryresource.into().abi()).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -836,7 +836,7 @@ impl IXpsOMColorProfileResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -850,7 +850,7 @@ impl IXpsOMColorProfileResource { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -946,11 +946,11 @@ pub struct IXpsOMColorProfileResource_Vtbl { pub struct IXpsOMColorProfileResourceCollection(::windows::core::IUnknown); impl IXpsOMColorProfileResourceCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt<'a, P0>(&self, index: u32, object: P0) -> ::windows::core::Result<()> @@ -980,7 +980,7 @@ impl IXpsOMColorProfileResourceCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetByPartName)(::windows::core::Interface::as_raw(self), partname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1041,7 +1041,7 @@ impl IXpsOMCoreProperties { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1053,11 +1053,11 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCategory(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetCategory<'a, P0>(&self, category: P0) -> ::windows::core::Result<()> @@ -1067,7 +1067,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetCategory)(::windows::core::Interface::as_raw(self), category.into()).ok() } pub unsafe fn GetContentStatus(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetContentStatus<'a, P0>(&self, contentstatus: P0) -> ::windows::core::Result<()> @@ -1077,7 +1077,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetContentStatus)(::windows::core::Interface::as_raw(self), contentstatus.into()).ok() } pub unsafe fn GetContentType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetContentType<'a, P0>(&self, contenttype: P0) -> ::windows::core::Result<()> @@ -1089,7 +1089,7 @@ impl IXpsOMCoreProperties { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCreated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCreated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1098,7 +1098,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetCreated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(created)).ok() } pub unsafe fn GetCreator(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCreator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetCreator<'a, P0>(&self, creator: P0) -> ::windows::core::Result<()> @@ -1108,7 +1108,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetCreator)(::windows::core::Interface::as_raw(self), creator.into()).ok() } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDescription<'a, P0>(&self, description: P0) -> ::windows::core::Result<()> @@ -1118,7 +1118,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), description.into()).ok() } pub unsafe fn GetIdentifier(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIdentifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetIdentifier<'a, P0>(&self, identifier: P0) -> ::windows::core::Result<()> @@ -1128,7 +1128,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetIdentifier)(::windows::core::Interface::as_raw(self), identifier.into()).ok() } pub unsafe fn GetKeywords(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeywords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetKeywords<'a, P0>(&self, keywords: P0) -> ::windows::core::Result<()> @@ -1138,7 +1138,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetKeywords)(::windows::core::Interface::as_raw(self), keywords.into()).ok() } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLanguage<'a, P0>(&self, language: P0) -> ::windows::core::Result<()> @@ -1148,7 +1148,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetLanguage)(::windows::core::Interface::as_raw(self), language.into()).ok() } pub unsafe fn GetLastModifiedBy(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastModifiedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLastModifiedBy<'a, P0>(&self, lastmodifiedby: P0) -> ::windows::core::Result<()> @@ -1160,7 +1160,7 @@ impl IXpsOMCoreProperties { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastPrinted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastPrinted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1171,7 +1171,7 @@ impl IXpsOMCoreProperties { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1180,7 +1180,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(modified)).ok() } pub unsafe fn GetRevision(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRevision)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetRevision<'a, P0>(&self, revision: P0) -> ::windows::core::Result<()> @@ -1190,7 +1190,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetRevision)(::windows::core::Interface::as_raw(self), revision.into()).ok() } pub unsafe fn GetSubject(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetSubject<'a, P0>(&self, subject: P0) -> ::windows::core::Result<()> @@ -1200,7 +1200,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetSubject)(::windows::core::Interface::as_raw(self), subject.into()).ok() } pub unsafe fn GetTitle(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTitle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTitle<'a, P0>(&self, title: P0) -> ::windows::core::Result<()> @@ -1210,7 +1210,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetTitle)(::windows::core::Interface::as_raw(self), title.into()).ok() } pub unsafe fn GetVersion(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetVersion<'a, P0>(&self, version: P0) -> ::windows::core::Result<()> @@ -1220,7 +1220,7 @@ impl IXpsOMCoreProperties { (::windows::core::Interface::vtable(self).SetVersion)(::windows::core::Interface::as_raw(self), version.into()).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1336,11 +1336,11 @@ pub struct IXpsOMCoreProperties_Vtbl { pub struct IXpsOMDashCollection(::windows::core::IUnknown); impl IXpsOMDashCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt(&self, index: u32, dash: *const XPS_DASH) -> ::windows::core::Result<()> { @@ -1407,11 +1407,11 @@ pub struct IXpsOMDashCollection_Vtbl { pub struct IXpsOMDictionary(::windows::core::IUnknown); impl IXpsOMDictionary { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32, key: *mut ::windows::core::PWSTR, entry: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -1422,14 +1422,14 @@ impl IXpsOMDictionary { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMShareable>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetByKey)(::windows::core::Interface::as_raw(self), key.into(), beforeentry.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIndex<'a, P0>(&self, entry: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMShareable>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndex)(::windows::core::Interface::as_raw(self), entry.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Append<'a, P0, P1>(&self, key: P0, entry: P1) -> ::windows::core::Result<()> @@ -1457,7 +1457,7 @@ impl IXpsOMDictionary { (::windows::core::Interface::vtable(self).SetAt)(::windows::core::Interface::as_raw(self), index, key.into(), entry.into().abi()).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1518,7 +1518,7 @@ impl IXpsOMDocument { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1530,15 +1530,15 @@ impl IXpsOMDocument { (::windows::core::Interface::vtable(self).base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageReferences(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageReferences)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrintTicketResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintTicketResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrintTicketResource<'a, P0>(&self, printticketresource: P0) -> ::windows::core::Result<()> @@ -1548,7 +1548,7 @@ impl IXpsOMDocument { (::windows::core::Interface::vtable(self).SetPrintTicketResource)(::windows::core::Interface::as_raw(self), printticketresource.into().abi()).ok() } pub unsafe fn GetDocumentStructureResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentStructureResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDocumentStructureResource<'a, P0>(&self, documentstructureresource: P0) -> ::windows::core::Result<()> @@ -1558,11 +1558,11 @@ impl IXpsOMDocument { (::windows::core::Interface::vtable(self).SetDocumentStructureResource)(::windows::core::Interface::as_raw(self), documentstructureresource.into().abi()).ok() } pub unsafe fn GetSignatureBlockResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureBlockResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1634,11 +1634,11 @@ pub struct IXpsOMDocument_Vtbl { pub struct IXpsOMDocumentCollection(::windows::core::IUnknown); impl IXpsOMDocumentCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt<'a, P0>(&self, index: u32, document: P0) -> ::windows::core::Result<()> @@ -1716,7 +1716,7 @@ impl IXpsOMDocumentSequence { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1728,15 +1728,15 @@ impl IXpsOMDocumentSequence { (::windows::core::Interface::vtable(self).base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrintTicketResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintTicketResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrintTicketResource<'a, P0>(&self, printticketresource: P0) -> ::windows::core::Result<()> @@ -1812,7 +1812,7 @@ impl IXpsOMDocumentStructureResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1824,13 +1824,13 @@ impl IXpsOMDocumentStructureResource { (::windows::core::Interface::vtable(self).base__.base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1929,7 +1929,7 @@ impl IXpsOMFontResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1943,7 +1943,7 @@ impl IXpsOMFontResource { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1956,7 +1956,7 @@ impl IXpsOMFontResource { (::windows::core::Interface::vtable(self).SetContent)(::windows::core::Interface::as_raw(self), sourcestream.into().abi(), embeddingoption, partname.into().abi()).ok() } pub unsafe fn GetEmbeddingOption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmbeddingOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2044,11 +2044,11 @@ pub struct IXpsOMFontResource_Vtbl { pub struct IXpsOMFontResourceCollection(::windows::core::IUnknown); impl IXpsOMFontResourceCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAt<'a, P0>(&self, index: u32, value: P0) -> ::windows::core::Result<()> @@ -2078,7 +2078,7 @@ impl IXpsOMFontResourceCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetByPartName)(::windows::core::Interface::as_raw(self), partname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2137,30 +2137,30 @@ pub struct IXpsOMFontResourceCollection_Vtbl { pub struct IXpsOMGeometry(::windows::core::IUnknown); impl IXpsOMGeometry { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFigures(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFigures)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFillRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFillRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFillRule(&self, fillrule: XPS_FILL_RULE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFillRule)(::windows::core::Interface::as_raw(self), fillrule).ok() } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, transform: P0) -> ::windows::core::Result<()> @@ -2170,7 +2170,7 @@ impl IXpsOMGeometry { (::windows::core::Interface::vtable(self).SetTransformLocal)(::windows::core::Interface::as_raw(self), transform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, lookup: P0) -> ::windows::core::Result<()> @@ -2180,7 +2180,7 @@ impl IXpsOMGeometry { (::windows::core::Interface::vtable(self).SetTransformLookup)(::windows::core::Interface::as_raw(self), lookup.into()).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2253,7 +2253,7 @@ pub struct IXpsOMGeometry_Vtbl { pub struct IXpsOMGeometryFigure(::windows::core::IUnknown); impl IXpsOMGeometryFigure { pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSegmentData(&self, datacount: *mut u32, segmentdata: *mut f32) -> ::windows::core::Result<()> { @@ -2273,7 +2273,7 @@ impl IXpsOMGeometryFigure { (::windows::core::Interface::vtable(self).SetSegments)(::windows::core::Interface::as_raw(self), segmentcount, segmentdatacount, ::core::mem::transmute(segmenttypes), ::core::mem::transmute(segmentdata), ::core::mem::transmute(segmentstrokes)).ok() } pub unsafe fn GetStartPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStartPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartPoint(&self, startpoint: *const XPS_POINT) -> ::windows::core::Result<()> { @@ -2282,7 +2282,7 @@ impl IXpsOMGeometryFigure { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsClosed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsClosed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2296,7 +2296,7 @@ impl IXpsOMGeometryFigure { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsFilled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsFilled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2308,19 +2308,19 @@ impl IXpsOMGeometryFigure { (::windows::core::Interface::vtable(self).SetIsFilled)(::windows::core::Interface::as_raw(self), isfilled.into()).ok() } pub unsafe fn GetSegmentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSegmentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSegmentDataCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSegmentDataCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSegmentStrokePattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSegmentStrokePattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2402,11 +2402,11 @@ pub struct IXpsOMGeometryFigure_Vtbl { pub struct IXpsOMGeometryFigureCollection(::windows::core::IUnknown); impl IXpsOMGeometryFigureCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt<'a, P0>(&self, index: u32, geometryfigure: P0) -> ::windows::core::Result<()> @@ -2482,19 +2482,19 @@ pub struct IXpsOMGeometryFigureCollection_Vtbl { pub struct IXpsOMGlyphs(::windows::core::IUnknown); impl IXpsOMGlyphs { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, matrixtransform: P0) -> ::windows::core::Result<()> @@ -2504,7 +2504,7 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).base__.SetTransformLocal)(::windows::core::Interface::as_raw(self), matrixtransform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -2514,11 +2514,11 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).base__.SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetClipGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClipGeometryLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipGeometryLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClipGeometryLocal<'a, P0>(&self, clipgeometry: P0) -> ::windows::core::Result<()> @@ -2528,7 +2528,7 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).base__.SetClipGeometryLocal)(::windows::core::Interface::as_raw(self), clipgeometry.into().abi()).ok() } pub unsafe fn GetClipGeometryLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipGeometryLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetClipGeometryLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -2538,18 +2538,18 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).base__.SetClipGeometryLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetOpacityMaskBrush(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacityMaskBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacityMaskBrushLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacityMaskBrushLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacityMaskBrushLocal<'a, P0>(&self, opacitymaskbrush: P0) -> ::windows::core::Result<()> @@ -2559,7 +2559,7 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).base__.SetOpacityMaskBrushLocal)(::windows::core::Interface::as_raw(self), opacitymaskbrush.into().abi()).ok() } pub unsafe fn GetOpacityMaskBrushLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacityMaskBrushLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetOpacityMaskBrushLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -2569,7 +2569,7 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).base__.SetOpacityMaskBrushLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetName<'a, P0>(&self, name: P0) -> ::windows::core::Result<()> @@ -2581,7 +2581,7 @@ impl IXpsOMGlyphs { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIsHyperlinkTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2595,7 +2595,7 @@ impl IXpsOMGlyphs { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHyperlinkNavigateUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHyperlinkNavigateUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2607,7 +2607,7 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).base__.SetHyperlinkNavigateUri)(::windows::core::Interface::as_raw(self), hyperlinkuri.into().abi()).ok() } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLanguage<'a, P0>(&self, language: P0) -> ::windows::core::Result<()> @@ -2617,67 +2617,67 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).base__.SetLanguage)(::windows::core::Interface::as_raw(self), language.into()).ok() } pub unsafe fn GetUnicodeString(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnicodeString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetGlyphIndexCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlyphIndexCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphIndices(&self, indexcount: *mut u32, glyphindices: *mut XPS_GLYPH_INDEX) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetGlyphIndices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(indexcount), ::core::mem::transmute(glyphindices)).ok() } pub unsafe fn GetGlyphMappingCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlyphMappingCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphMappings(&self, glyphmappingcount: *mut u32, glyphmappings: *mut XPS_GLYPH_MAPPING) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetGlyphMappings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(glyphmappingcount), ::core::mem::transmute(glyphmappings)).ok() } pub unsafe fn GetProhibitedCaretStopCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProhibitedCaretStopCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProhibitedCaretStops(&self, prohibitedcaretstopcount: *mut u32, prohibitedcaretstops: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetProhibitedCaretStops)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prohibitedcaretstopcount), ::core::mem::transmute(prohibitedcaretstops)).ok() } pub unsafe fn GetBidiLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBidiLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsSideways(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsSideways)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDeviceFontName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceFontName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetStyleSimulations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStyleSimulations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStyleSimulations(&self, stylesimulations: XPS_STYLE_SIMULATION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStyleSimulations)(::windows::core::Interface::as_raw(self), stylesimulations).ok() } pub unsafe fn GetOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOrigin(&self, origin: *const XPS_POINT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(origin)).ok() } pub unsafe fn GetFontRenderingEmSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontRenderingEmSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFontRenderingEmSize(&self, fontrenderingemsize: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFontRenderingEmSize)(::windows::core::Interface::as_raw(self), fontrenderingemsize).ok() } pub unsafe fn GetFontResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFontResource<'a, P0>(&self, fontresource: P0) -> ::windows::core::Result<()> @@ -2687,18 +2687,18 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).SetFontResource)(::windows::core::Interface::as_raw(self), fontresource.into().abi()).ok() } pub unsafe fn GetFontFaceIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontFaceIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFontFaceIndex(&self, fontfaceindex: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFontFaceIndex)(::windows::core::Interface::as_raw(self), fontfaceindex).ok() } pub unsafe fn GetFillBrush(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFillBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFillBrushLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFillBrushLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFillBrushLocal<'a, P0>(&self, fillbrush: P0) -> ::windows::core::Result<()> @@ -2708,7 +2708,7 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).SetFillBrushLocal)(::windows::core::Interface::as_raw(self), fillbrush.into().abi()).ok() } pub unsafe fn GetFillBrushLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFillBrushLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetFillBrushLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -2718,11 +2718,11 @@ impl IXpsOMGlyphs { (::windows::core::Interface::vtable(self).SetFillBrushLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetGlyphsEditor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlyphsEditor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2834,7 +2834,7 @@ impl IXpsOMGlyphsEditor { (::windows::core::Interface::vtable(self).ApplyEdits)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetUnicodeString(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnicodeString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetUnicodeString<'a, P0>(&self, unicodestring: P0) -> ::windows::core::Result<()> @@ -2844,7 +2844,7 @@ impl IXpsOMGlyphsEditor { (::windows::core::Interface::vtable(self).SetUnicodeString)(::windows::core::Interface::as_raw(self), unicodestring.into()).ok() } pub unsafe fn GetGlyphIndexCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlyphIndexCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphIndices(&self, indexcount: *mut u32, glyphindices: *mut XPS_GLYPH_INDEX) -> ::windows::core::Result<()> { @@ -2854,7 +2854,7 @@ impl IXpsOMGlyphsEditor { (::windows::core::Interface::vtable(self).SetGlyphIndices)(::windows::core::Interface::as_raw(self), indexcount, ::core::mem::transmute(glyphindices)).ok() } pub unsafe fn GetGlyphMappingCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlyphMappingCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlyphMappings(&self, glyphmappingcount: *mut u32, glyphmappings: *mut XPS_GLYPH_MAPPING) -> ::windows::core::Result<()> { @@ -2864,7 +2864,7 @@ impl IXpsOMGlyphsEditor { (::windows::core::Interface::vtable(self).SetGlyphMappings)(::windows::core::Interface::as_raw(self), glyphmappingcount, ::core::mem::transmute(glyphmappings)).ok() } pub unsafe fn GetProhibitedCaretStopCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProhibitedCaretStopCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProhibitedCaretStops(&self, count: *mut u32, prohibitedcaretstops: *mut u32) -> ::windows::core::Result<()> { @@ -2874,7 +2874,7 @@ impl IXpsOMGlyphsEditor { (::windows::core::Interface::vtable(self).SetProhibitedCaretStops)(::windows::core::Interface::as_raw(self), count, ::core::mem::transmute(prohibitedcaretstops)).ok() } pub unsafe fn GetBidiLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBidiLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBidiLevel(&self, bidilevel: u32) -> ::windows::core::Result<()> { @@ -2883,7 +2883,7 @@ impl IXpsOMGlyphsEditor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsSideways(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsSideways)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2895,7 +2895,7 @@ impl IXpsOMGlyphsEditor { (::windows::core::Interface::vtable(self).SetIsSideways)(::windows::core::Interface::as_raw(self), issideways.into()).ok() } pub unsafe fn GetDeviceFontName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceFontName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDeviceFontName<'a, P0>(&self, devicefontname: P0) -> ::windows::core::Result<()> @@ -2974,30 +2974,30 @@ pub struct IXpsOMGlyphsEditor_Vtbl { pub struct IXpsOMGradientBrush(::windows::core::IUnknown); impl IXpsOMGradientBrush { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetGradientStops(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGradientStops)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, transform: P0) -> ::windows::core::Result<()> @@ -3007,7 +3007,7 @@ impl IXpsOMGradientBrush { (::windows::core::Interface::vtable(self).SetTransformLocal)(::windows::core::Interface::as_raw(self), transform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -3017,14 +3017,14 @@ impl IXpsOMGradientBrush { (::windows::core::Interface::vtable(self).SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetSpreadMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpreadMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSpreadMethod)(::windows::core::Interface::as_raw(self), spreadmethod).ok() } pub unsafe fn GetColorInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColorInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::core::Result<()> { @@ -3116,11 +3116,11 @@ pub struct IXpsOMGradientBrush_Vtbl { pub struct IXpsOMGradientStop(::windows::core::IUnknown); impl IXpsOMGradientStop { pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOffset(&self, offset: f32) -> ::windows::core::Result<()> { @@ -3136,7 +3136,7 @@ impl IXpsOMGradientStop { (::windows::core::Interface::vtable(self).SetColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), colorprofile.into().abi()).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3191,11 +3191,11 @@ pub struct IXpsOMGradientStop_Vtbl { pub struct IXpsOMGradientStopCollection(::windows::core::IUnknown); impl IXpsOMGradientStopCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt<'a, P0>(&self, index: u32, stop: P0) -> ::windows::core::Result<()> @@ -3271,26 +3271,26 @@ pub struct IXpsOMGradientStopCollection_Vtbl { pub struct IXpsOMImageBrush(::windows::core::IUnknown); impl IXpsOMImageBrush { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, transform: P0) -> ::windows::core::Result<()> @@ -3300,7 +3300,7 @@ impl IXpsOMImageBrush { (::windows::core::Interface::vtable(self).base__.SetTransformLocal)(::windows::core::Interface::as_raw(self), transform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -3310,28 +3310,28 @@ impl IXpsOMImageBrush { (::windows::core::Interface::vtable(self).base__.SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetViewbox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewbox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetViewbox(&self, viewbox: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetViewbox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(viewbox)).ok() } pub unsafe fn GetViewport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetViewport(&self, viewport: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetViewport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(viewport)).ok() } pub unsafe fn GetTileMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTileMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTileMode(&self, tilemode: XPS_TILE_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetTileMode)(::windows::core::Interface::as_raw(self), tilemode).ok() } pub unsafe fn GetImageResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImageResource<'a, P0>(&self, imageresource: P0) -> ::windows::core::Result<()> @@ -3341,7 +3341,7 @@ impl IXpsOMImageBrush { (::windows::core::Interface::vtable(self).SetImageResource)(::windows::core::Interface::as_raw(self), imageresource.into().abi()).ok() } pub unsafe fn GetColorProfileResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColorProfileResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColorProfileResource<'a, P0>(&self, colorprofileresource: P0) -> ::windows::core::Result<()> @@ -3351,7 +3351,7 @@ impl IXpsOMImageBrush { (::windows::core::Interface::vtable(self).SetColorProfileResource)(::windows::core::Interface::as_raw(self), colorprofileresource.into().abi()).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3452,7 +3452,7 @@ impl IXpsOMImageResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -3466,7 +3466,7 @@ impl IXpsOMImageResource { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -3479,7 +3479,7 @@ impl IXpsOMImageResource { (::windows::core::Interface::vtable(self).SetContent)(::windows::core::Interface::as_raw(self), sourcestream.into().abi(), imagetype, partname.into().abi()).ok() } pub unsafe fn GetImageType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3567,11 +3567,11 @@ pub struct IXpsOMImageResource_Vtbl { pub struct IXpsOMImageResourceCollection(::windows::core::IUnknown); impl IXpsOMImageResourceCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt<'a, P0>(&self, index: u32, object: P0) -> ::windows::core::Result<()> @@ -3601,7 +3601,7 @@ impl IXpsOMImageResourceCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetByPartName)(::windows::core::Interface::as_raw(self), partname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3660,30 +3660,30 @@ pub struct IXpsOMImageResourceCollection_Vtbl { pub struct IXpsOMLinearGradientBrush(::windows::core::IUnknown); impl IXpsOMLinearGradientBrush { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetGradientStops(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGradientStops)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, transform: P0) -> ::windows::core::Result<()> @@ -3693,7 +3693,7 @@ impl IXpsOMLinearGradientBrush { (::windows::core::Interface::vtable(self).base__.SetTransformLocal)(::windows::core::Interface::as_raw(self), transform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -3703,35 +3703,35 @@ impl IXpsOMLinearGradientBrush { (::windows::core::Interface::vtable(self).base__.SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetSpreadMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSpreadMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSpreadMethod)(::windows::core::Interface::as_raw(self), spreadmethod).ok() } pub unsafe fn GetColorInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColorInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetColorInterpolationMode)(::windows::core::Interface::as_raw(self), colorinterpolationmode).ok() } pub unsafe fn GetStartPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStartPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartPoint(&self, startpoint: *const XPS_POINT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(startpoint)).ok() } pub unsafe fn GetEndPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEndPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEndPoint(&self, endpoint: *const XPS_POINT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEndPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(endpoint)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3830,22 +3830,22 @@ pub struct IXpsOMLinearGradientBrush_Vtbl { pub struct IXpsOMMatrixTransform(::windows::core::IUnknown); impl IXpsOMMatrixTransform { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatrix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatrix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMatrix(&self, matrix: *const XPS_MATRIX) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMatrix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(matrix)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3912,11 +3912,11 @@ pub struct IXpsOMMatrixTransform_Vtbl { pub struct IXpsOMNameCollection(::windows::core::IUnknown); impl IXpsOMNameCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -3967,7 +3967,7 @@ pub struct IXpsOMNameCollection_Vtbl { pub struct IXpsOMObjectFactory(::windows::core::IUnknown); impl IXpsOMObjectFactory { pub unsafe fn CreatePackage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3977,7 +3977,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageFromFile)(::windows::core::Interface::as_raw(self), filename.into(), reuseobjects.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3987,7 +3987,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageFromStream)(::windows::core::Interface::as_raw(self), stream.into().abi(), reuseobjects.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -3997,7 +3997,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStoryFragmentsResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4007,7 +4007,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDocumentStructureResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4017,7 +4017,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSignatureBlockResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4027,7 +4027,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMDictionary>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRemoteDictionaryResource)(::windows::core::Interface::as_raw(self), dictionary.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4038,11 +4038,11 @@ impl IXpsOMObjectFactory { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPartResources>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRemoteDictionaryResourceFromStream)(::windows::core::Interface::as_raw(self), dictionarymarkupstream.into().abi(), dictionaryparturi.into().abi(), resources.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePartResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePartResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4051,7 +4051,7 @@ impl IXpsOMObjectFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDocumentSequence)(::windows::core::Interface::as_raw(self), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4060,11 +4060,11 @@ impl IXpsOMObjectFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDocument)(::windows::core::Interface::as_raw(self), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePageReference(&self, advisorypagedimensions: *const XPS_SIZE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePageReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(advisorypagedimensions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4074,7 +4074,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pagedimensions), language.into(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4086,41 +4086,41 @@ impl IXpsOMObjectFactory { P2: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPartResources>>, P3: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePageFromStream)(::windows::core::Interface::as_raw(self), pagemarkupstream.into().abi(), parturi.into().abi(), resources.into().abi(), reuseobjects.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCanvas(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCanvas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGlyphs<'a, P0>(&self, fontresource: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMFontResource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGlyphs)(::windows::core::Interface::as_raw(self), fontresource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryFigure(&self, startpoint: *const XPS_POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGeometryFigure)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(startpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform(&self, matrix: *const XPS_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(matrix), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSolidColorBrush<'a, P0>(&self, color: *const XPS_COLOR, colorprofile: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMColorProfileResource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), colorprofile.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4130,18 +4130,18 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateColorProfileResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateImageBrush<'a, P0>(&self, image: P0, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMImageResource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateImageBrush)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(viewbox), ::core::mem::transmute(viewport), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVisualBrush(&self, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVisualBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(viewbox), ::core::mem::transmute(viewport), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4151,7 +4151,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateImageResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), contenttype, parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4161,7 +4161,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePrintTicketResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4172,14 +4172,14 @@ impl IXpsOMObjectFactory { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFontResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), fontembedding, parturi.into().abi(), isobfsourcestream.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGradientStop<'a, P0>(&self, color: *const XPS_COLOR, colorprofile: P0, offset: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMColorProfileResource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGradientStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), colorprofile.into().abi(), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLinearGradientBrush<'a, P0, P1>(&self, gradstop1: P0, gradstop2: P1, startpoint: *const XPS_POINT, endpoint: *const XPS_POINT) -> ::windows::core::Result @@ -4187,7 +4187,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMGradientStop>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMGradientStop>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), gradstop1.into().abi(), gradstop2.into().abi(), ::core::mem::transmute(startpoint), ::core::mem::transmute(endpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRadialGradientBrush<'a, P0, P1>(&self, gradstop1: P0, gradstop2: P1, centerpoint: *const XPS_POINT, gradientorigin: *const XPS_POINT, radiisizes: *const XPS_SIZE) -> ::windows::core::Result @@ -4195,7 +4195,7 @@ impl IXpsOMObjectFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMGradientStop>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMGradientStop>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), gradstop1.into().abi(), gradstop2.into().abi(), ::core::mem::transmute(centerpoint), ::core::mem::transmute(gradientorigin), ::core::mem::transmute(radiisizes), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4204,15 +4204,15 @@ impl IXpsOMObjectFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCoreProperties)(::windows::core::Interface::as_raw(self), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDictionary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDictionary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePartUriCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePartUriCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4227,7 +4227,7 @@ impl IXpsOMObjectFactory { P5: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPrintTicketResource>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageWriterOnFile)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(securityattributes), flagsandattributes, optimizemarkupsize.into(), interleaving, documentsequencepartname.into().abi(), coreproperties.into().abi(), packagethumbnail.into().abi(), documentsequenceprintticket.into().abi(), discardcontrolpartname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4242,7 +4242,7 @@ impl IXpsOMObjectFactory { P5: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPrintTicketResource>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageWriterOnStream)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), optimizemarkupsize.into(), interleaving, documentsequencepartname.into().abi(), coreproperties.into().abi(), packagethumbnail.into().abi(), documentsequenceprintticket.into().abi(), discardcontrolpartname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4251,7 +4251,7 @@ impl IXpsOMObjectFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePartUri)(::windows::core::Interface::as_raw(self), uri.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4260,7 +4260,7 @@ impl IXpsOMObjectFactory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateReadOnlyStreamOnFile)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4406,7 +4406,7 @@ pub struct IXpsOMObjectFactory_Vtbl { pub struct IXpsOMObjectFactory1(::windows::core::IUnknown); impl IXpsOMObjectFactory1 { pub unsafe fn CreatePackage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePackage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4416,7 +4416,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePackageFromFile)(::windows::core::Interface::as_raw(self), filename.into(), reuseobjects.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4426,7 +4426,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePackageFromStream)(::windows::core::Interface::as_raw(self), stream.into().abi(), reuseobjects.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4436,7 +4436,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStoryFragmentsResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4446,7 +4446,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDocumentStructureResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4456,7 +4456,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSignatureBlockResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4466,7 +4466,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMDictionary>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRemoteDictionaryResource)(::windows::core::Interface::as_raw(self), dictionary.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4477,11 +4477,11 @@ impl IXpsOMObjectFactory1 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPartResources>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRemoteDictionaryResourceFromStream)(::windows::core::Interface::as_raw(self), dictionarymarkupstream.into().abi(), dictionaryparturi.into().abi(), resources.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePartResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePartResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4490,7 +4490,7 @@ impl IXpsOMObjectFactory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDocumentSequence)(::windows::core::Interface::as_raw(self), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4499,11 +4499,11 @@ impl IXpsOMObjectFactory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDocument)(::windows::core::Interface::as_raw(self), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePageReference(&self, advisorypagedimensions: *const XPS_SIZE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePageReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(advisorypagedimensions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4513,7 +4513,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pagedimensions), language.into(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4525,41 +4525,41 @@ impl IXpsOMObjectFactory1 { P2: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPartResources>>, P3: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePageFromStream)(::windows::core::Interface::as_raw(self), pagemarkupstream.into().abi(), parturi.into().abi(), resources.into().abi(), reuseobjects.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCanvas(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCanvas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGlyphs<'a, P0>(&self, fontresource: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMFontResource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGlyphs)(::windows::core::Interface::as_raw(self), fontresource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGeometryFigure(&self, startpoint: *const XPS_POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGeometryFigure)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(startpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMatrixTransform(&self, matrix: *const XPS_MATRIX) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMatrixTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(matrix), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSolidColorBrush<'a, P0>(&self, color: *const XPS_COLOR, colorprofile: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMColorProfileResource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSolidColorBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), colorprofile.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4569,18 +4569,18 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateColorProfileResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateImageBrush<'a, P0>(&self, image: P0, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMImageResource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateImageBrush)(::windows::core::Interface::as_raw(self), image.into().abi(), ::core::mem::transmute(viewbox), ::core::mem::transmute(viewport), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateVisualBrush(&self, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateVisualBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(viewbox), ::core::mem::transmute(viewport), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4590,7 +4590,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateImageResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), contenttype, parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4600,7 +4600,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePrintTicketResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4611,14 +4611,14 @@ impl IXpsOMObjectFactory1 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFontResource)(::windows::core::Interface::as_raw(self), acquiredstream.into().abi(), fontembedding, parturi.into().abi(), isobfsourcestream.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateGradientStop<'a, P0>(&self, color: *const XPS_COLOR, colorprofile: P0, offset: f32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMColorProfileResource>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGradientStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), colorprofile.into().abi(), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLinearGradientBrush<'a, P0, P1>(&self, gradstop1: P0, gradstop2: P1, startpoint: *const XPS_POINT, endpoint: *const XPS_POINT) -> ::windows::core::Result @@ -4626,7 +4626,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMGradientStop>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMGradientStop>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateLinearGradientBrush)(::windows::core::Interface::as_raw(self), gradstop1.into().abi(), gradstop2.into().abi(), ::core::mem::transmute(startpoint), ::core::mem::transmute(endpoint), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRadialGradientBrush<'a, P0, P1>(&self, gradstop1: P0, gradstop2: P1, centerpoint: *const XPS_POINT, gradientorigin: *const XPS_POINT, radiisizes: *const XPS_SIZE) -> ::windows::core::Result @@ -4634,7 +4634,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMGradientStop>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMGradientStop>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateRadialGradientBrush)(::windows::core::Interface::as_raw(self), gradstop1.into().abi(), gradstop2.into().abi(), ::core::mem::transmute(centerpoint), ::core::mem::transmute(gradientorigin), ::core::mem::transmute(radiisizes), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4643,15 +4643,15 @@ impl IXpsOMObjectFactory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCoreProperties)(::windows::core::Interface::as_raw(self), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDictionary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDictionary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePartUriCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePartUriCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4666,7 +4666,7 @@ impl IXpsOMObjectFactory1 { P5: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPrintTicketResource>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePackageWriterOnFile)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(securityattributes), flagsandattributes, optimizemarkupsize.into(), interleaving, documentsequencepartname.into().abi(), coreproperties.into().abi(), packagethumbnail.into().abi(), documentsequenceprintticket.into().abi(), discardcontrolpartname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4681,7 +4681,7 @@ impl IXpsOMObjectFactory1 { P5: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPrintTicketResource>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePackageWriterOnStream)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), optimizemarkupsize.into(), interleaving, documentsequencepartname.into().abi(), coreproperties.into().abi(), packagethumbnail.into().abi(), documentsequenceprintticket.into().abi(), discardcontrolpartname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4690,7 +4690,7 @@ impl IXpsOMObjectFactory1 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePartUri)(::windows::core::Interface::as_raw(self), uri.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4699,14 +4699,14 @@ impl IXpsOMObjectFactory1 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateReadOnlyStreamOnFile)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentTypeFromFile<'a, P0>(&self, filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentTypeFromFile)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4715,7 +4715,7 @@ impl IXpsOMObjectFactory1 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentTypeFromStream)(::windows::core::Interface::as_raw(self), xpsdocumentstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertHDPhotoToJpegXR<'a, P0>(&self, imageresource: P0) -> ::windows::core::Result<()> @@ -4742,7 +4742,7 @@ impl IXpsOMObjectFactory1 { P5: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPrintTicketResource>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageWriterOnFile1)(::windows::core::Interface::as_raw(self), filename.into(), ::core::mem::transmute(securityattributes), flagsandattributes, optimizemarkupsize.into(), interleaving, documentsequencepartname.into().abi(), coreproperties.into().abi(), packagethumbnail.into().abi(), documentsequenceprintticket.into().abi(), discardcontrolpartname.into().abi(), documenttype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4757,11 +4757,11 @@ impl IXpsOMObjectFactory1 { P5: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPrintTicketResource>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageWriterOnStream1)(::windows::core::Interface::as_raw(self), outputstream.into().abi(), optimizemarkupsize.into(), interleaving, documentsequencepartname.into().abi(), coreproperties.into().abi(), packagethumbnail.into().abi(), documentsequenceprintticket.into().abi(), discardcontrolpartname.into().abi(), documenttype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePackage1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackage1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4771,7 +4771,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageFromStream1)(::windows::core::Interface::as_raw(self), stream.into().abi(), reuseobjects.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4781,7 +4781,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePackageFromFile1)(::windows::core::Interface::as_raw(self), filename.into(), reuseobjects.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4791,7 +4791,7 @@ impl IXpsOMObjectFactory1 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePage1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pagedimensions), language.into(), parturi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4803,7 +4803,7 @@ impl IXpsOMObjectFactory1 { P2: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPartResources>>, P3: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePageFromStream1)(::windows::core::Interface::as_raw(self), pagemarkupstream.into().abi(), parturi.into().abi(), resources.into().abi(), reuseobjects.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4814,7 +4814,7 @@ impl IXpsOMObjectFactory1 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPartResources>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRemoteDictionaryResourceFromStream1)(::windows::core::Interface::as_raw(self), dictionarymarkupstream.into().abi(), parturi.into().abi(), resources.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4914,7 +4914,7 @@ pub struct IXpsOMObjectFactory1_Vtbl { pub struct IXpsOMPackage(::windows::core::IUnknown); impl IXpsOMPackage { pub unsafe fn GetDocumentSequence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentSequence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDocumentSequence<'a, P0>(&self, documentsequence: P0) -> ::windows::core::Result<()> @@ -4924,7 +4924,7 @@ impl IXpsOMPackage { (::windows::core::Interface::vtable(self).SetDocumentSequence)(::windows::core::Interface::as_raw(self), documentsequence.into().abi()).ok() } pub unsafe fn GetCoreProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCoreProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCoreProperties<'a, P0>(&self, coreproperties: P0) -> ::windows::core::Result<()> @@ -4936,7 +4936,7 @@ impl IXpsOMPackage { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetDiscardControlPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDiscardControlPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4948,7 +4948,7 @@ impl IXpsOMPackage { (::windows::core::Interface::vtable(self).SetDiscardControlPartName)(::windows::core::Interface::as_raw(self), discardcontrolparturi.into().abi()).ok() } pub unsafe fn GetThumbnailResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThumbnailResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetThumbnailResource<'a, P0>(&self, imageresource: P0) -> ::windows::core::Result<()> @@ -5043,7 +5043,7 @@ pub struct IXpsOMPackage_Vtbl { pub struct IXpsOMPackage1(::windows::core::IUnknown); impl IXpsOMPackage1 { pub unsafe fn GetDocumentSequence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDocumentSequence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDocumentSequence<'a, P0>(&self, documentsequence: P0) -> ::windows::core::Result<()> @@ -5053,7 +5053,7 @@ impl IXpsOMPackage1 { (::windows::core::Interface::vtable(self).base__.SetDocumentSequence)(::windows::core::Interface::as_raw(self), documentsequence.into().abi()).ok() } pub unsafe fn GetCoreProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCoreProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCoreProperties<'a, P0>(&self, coreproperties: P0) -> ::windows::core::Result<()> @@ -5065,7 +5065,7 @@ impl IXpsOMPackage1 { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetDiscardControlPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDiscardControlPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -5077,7 +5077,7 @@ impl IXpsOMPackage1 { (::windows::core::Interface::vtable(self).base__.SetDiscardControlPartName)(::windows::core::Interface::as_raw(self), discardcontrolparturi.into().abi()).ok() } pub unsafe fn GetThumbnailResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetThumbnailResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetThumbnailResource<'a, P0>(&self, imageresource: P0) -> ::windows::core::Result<()> @@ -5105,7 +5105,7 @@ impl IXpsOMPackage1 { (::windows::core::Interface::vtable(self).base__.WriteToStream)(::windows::core::Interface::as_raw(self), stream.into().abi(), optimizemarkupsize.into()).ok() } pub unsafe fn GetDocumentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -5203,7 +5203,7 @@ impl IXpsOMPackageTarget { P1: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPrintTicketResource>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateXpsOMPackageWriter)(::windows::core::Interface::as_raw(self), documentsequencepartname.into().abi(), documentsequenceprintticket.into().abi(), discardcontrolpartname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5289,7 +5289,7 @@ impl IXpsOMPackageWriter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsClosed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsClosed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5382,7 +5382,7 @@ impl IXpsOMPackageWriter3D { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsClosed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsClosed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -5474,7 +5474,7 @@ impl IXpsOMPage { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -5486,36 +5486,36 @@ impl IXpsOMPage { (::windows::core::Interface::vtable(self).base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVisuals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisuals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageDimensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageDimensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPageDimensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pagedimensions)).ok() } pub unsafe fn GetContentBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetContentBox(&self, contentbox: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetContentBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(contentbox)).ok() } pub unsafe fn GetBleedBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBleedBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBleedBox(&self, bleedbox: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBleedBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(bleedbox)).ok() } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLanguage<'a, P0>(&self, language: P0) -> ::windows::core::Result<()> @@ -5525,7 +5525,7 @@ impl IXpsOMPage { (::windows::core::Interface::vtable(self).SetLanguage)(::windows::core::Interface::as_raw(self), language.into()).ok() } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetName<'a, P0>(&self, name: P0) -> ::windows::core::Result<()> @@ -5537,7 +5537,7 @@ impl IXpsOMPage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsHyperlinkTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5549,11 +5549,11 @@ impl IXpsOMPage { (::windows::core::Interface::vtable(self).SetIsHyperlinkTarget)(::windows::core::Interface::as_raw(self), ishyperlinktarget.into()).ok() } pub unsafe fn GetDictionary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDictionary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDictionaryLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDictionaryLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDictionaryLocal<'a, P0>(&self, resourcedictionary: P0) -> ::windows::core::Result<()> @@ -5563,7 +5563,7 @@ impl IXpsOMPage { (::windows::core::Interface::vtable(self).SetDictionaryLocal)(::windows::core::Interface::as_raw(self), resourcedictionary.into().abi()).ok() } pub unsafe fn GetDictionaryResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDictionaryResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDictionaryResource<'a, P0>(&self, remotedictionaryresource: P0) -> ::windows::core::Result<()> @@ -5582,11 +5582,11 @@ impl IXpsOMPage { (::windows::core::Interface::vtable(self).Write)(::windows::core::Interface::as_raw(self), stream.into().abi(), optimizemarkupsize.into()).ok() } pub unsafe fn GenerateUnusedLookupKey(&self, r#type: XPS_OBJECT_TYPE) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateUnusedLookupKey)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5683,7 +5683,7 @@ impl IXpsOMPage1 { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -5695,36 +5695,36 @@ impl IXpsOMPage1 { (::windows::core::Interface::vtable(self).base__.base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVisuals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVisuals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageDimensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPageDimensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPageDimensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pagedimensions)).ok() } pub unsafe fn GetContentBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContentBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetContentBox(&self, contentbox: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetContentBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(contentbox)).ok() } pub unsafe fn GetBleedBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBleedBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBleedBox(&self, bleedbox: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBleedBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(bleedbox)).ok() } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLanguage<'a, P0>(&self, language: P0) -> ::windows::core::Result<()> @@ -5734,7 +5734,7 @@ impl IXpsOMPage1 { (::windows::core::Interface::vtable(self).base__.SetLanguage)(::windows::core::Interface::as_raw(self), language.into()).ok() } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetName<'a, P0>(&self, name: P0) -> ::windows::core::Result<()> @@ -5746,7 +5746,7 @@ impl IXpsOMPage1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIsHyperlinkTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5758,11 +5758,11 @@ impl IXpsOMPage1 { (::windows::core::Interface::vtable(self).base__.SetIsHyperlinkTarget)(::windows::core::Interface::as_raw(self), ishyperlinktarget.into()).ok() } pub unsafe fn GetDictionary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDictionary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDictionaryLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDictionaryLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDictionaryLocal<'a, P0>(&self, resourcedictionary: P0) -> ::windows::core::Result<()> @@ -5772,7 +5772,7 @@ impl IXpsOMPage1 { (::windows::core::Interface::vtable(self).base__.SetDictionaryLocal)(::windows::core::Interface::as_raw(self), resourcedictionary.into().abi()).ok() } pub unsafe fn GetDictionaryResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDictionaryResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDictionaryResource<'a, P0>(&self, remotedictionaryresource: P0) -> ::windows::core::Result<()> @@ -5791,15 +5791,15 @@ impl IXpsOMPage1 { (::windows::core::Interface::vtable(self).base__.Write)(::windows::core::Interface::as_raw(self), stream.into().abi(), optimizemarkupsize.into()).ok() } pub unsafe fn GenerateUnusedLookupKey(&self, r#type: XPS_OBJECT_TYPE) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GenerateUnusedLookupKey)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5892,11 +5892,11 @@ pub struct IXpsOMPage1_Vtbl { pub struct IXpsOMPageReference(::windows::core::IUnknown); impl IXpsOMPageReference { pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPage<'a, P0>(&self, page: P0) -> ::windows::core::Result<()> @@ -5911,18 +5911,18 @@ impl IXpsOMPageReference { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPageLoaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPageLoaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAdvisoryPageDimensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdvisoryPageDimensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAdvisoryPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAdvisoryPageDimensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pagedimensions)).ok() } pub unsafe fn GetStoryFragmentsResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStoryFragmentsResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStoryFragmentsResource<'a, P0>(&self, storyfragmentsresource: P0) -> ::windows::core::Result<()> @@ -5932,7 +5932,7 @@ impl IXpsOMPageReference { (::windows::core::Interface::vtable(self).SetStoryFragmentsResource)(::windows::core::Interface::as_raw(self), storyfragmentsresource.into().abi()).ok() } pub unsafe fn GetPrintTicketResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintTicketResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrintTicketResource<'a, P0>(&self, printticketresource: P0) -> ::windows::core::Result<()> @@ -5942,7 +5942,7 @@ impl IXpsOMPageReference { (::windows::core::Interface::vtable(self).SetPrintTicketResource)(::windows::core::Interface::as_raw(self), printticketresource.into().abi()).ok() } pub unsafe fn GetThumbnailResource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThumbnailResource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetThumbnailResource<'a, P0>(&self, imageresource: P0) -> ::windows::core::Result<()> @@ -5952,21 +5952,21 @@ impl IXpsOMPageReference { (::windows::core::Interface::vtable(self).SetThumbnailResource)(::windows::core::Interface::as_raw(self), imageresource.into().abi()).ok() } pub unsafe fn CollectLinkTargets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CollectLinkTargets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CollectPartResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CollectPartResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasRestrictedFonts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasRestrictedFonts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6038,11 +6038,11 @@ pub struct IXpsOMPageReference_Vtbl { pub struct IXpsOMPageReferenceCollection(::windows::core::IUnknown); impl IXpsOMPageReferenceCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt<'a, P0>(&self, index: u32, pagereference: P0) -> ::windows::core::Result<()> @@ -6120,7 +6120,7 @@ impl IXpsOMPart { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -6185,19 +6185,19 @@ pub struct IXpsOMPart_Vtbl { pub struct IXpsOMPartResources(::windows::core::IUnknown); impl IXpsOMPartResources { pub unsafe fn GetFontResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImageResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColorProfileResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColorProfileResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRemoteDictionaryResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRemoteDictionaryResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6250,13 +6250,13 @@ pub struct IXpsOMPartResources_Vtbl { pub struct IXpsOMPartUriCollection(::windows::core::IUnknown); impl IXpsOMPartUriCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -6350,19 +6350,19 @@ pub struct IXpsOMPartUriCollection_Vtbl { pub struct IXpsOMPath(::windows::core::IUnknown); impl IXpsOMPath { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, matrixtransform: P0) -> ::windows::core::Result<()> @@ -6372,7 +6372,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).base__.SetTransformLocal)(::windows::core::Interface::as_raw(self), matrixtransform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -6382,11 +6382,11 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).base__.SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetClipGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClipGeometryLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipGeometryLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClipGeometryLocal<'a, P0>(&self, clipgeometry: P0) -> ::windows::core::Result<()> @@ -6396,7 +6396,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).base__.SetClipGeometryLocal)(::windows::core::Interface::as_raw(self), clipgeometry.into().abi()).ok() } pub unsafe fn GetClipGeometryLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClipGeometryLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetClipGeometryLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -6406,18 +6406,18 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).base__.SetClipGeometryLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetOpacityMaskBrush(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacityMaskBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacityMaskBrushLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacityMaskBrushLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacityMaskBrushLocal<'a, P0>(&self, opacitymaskbrush: P0) -> ::windows::core::Result<()> @@ -6427,7 +6427,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).base__.SetOpacityMaskBrushLocal)(::windows::core::Interface::as_raw(self), opacitymaskbrush.into().abi()).ok() } pub unsafe fn GetOpacityMaskBrushLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacityMaskBrushLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetOpacityMaskBrushLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -6437,7 +6437,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).base__.SetOpacityMaskBrushLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetName<'a, P0>(&self, name: P0) -> ::windows::core::Result<()> @@ -6449,7 +6449,7 @@ impl IXpsOMPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIsHyperlinkTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6463,7 +6463,7 @@ impl IXpsOMPath { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHyperlinkNavigateUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHyperlinkNavigateUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6475,7 +6475,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).base__.SetHyperlinkNavigateUri)(::windows::core::Interface::as_raw(self), hyperlinkuri.into().abi()).ok() } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLanguage<'a, P0>(&self, language: P0) -> ::windows::core::Result<()> @@ -6485,11 +6485,11 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).base__.SetLanguage)(::windows::core::Interface::as_raw(self), language.into()).ok() } pub unsafe fn GetGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGeometryLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGeometryLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGeometryLocal<'a, P0>(&self, geometry: P0) -> ::windows::core::Result<()> @@ -6499,7 +6499,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).SetGeometryLocal)(::windows::core::Interface::as_raw(self), geometry.into().abi()).ok() } pub unsafe fn GetGeometryLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGeometryLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetGeometryLookup<'a, P0>(&self, lookup: P0) -> ::windows::core::Result<()> @@ -6509,7 +6509,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).SetGeometryLookup)(::windows::core::Interface::as_raw(self), lookup.into()).ok() } pub unsafe fn GetAccessibilityShortDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccessibilityShortDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAccessibilityShortDescription<'a, P0>(&self, shortdescription: P0) -> ::windows::core::Result<()> @@ -6519,7 +6519,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).SetAccessibilityShortDescription)(::windows::core::Interface::as_raw(self), shortdescription.into()).ok() } pub unsafe fn GetAccessibilityLongDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccessibilityLongDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAccessibilityLongDescription<'a, P0>(&self, longdescription: P0) -> ::windows::core::Result<()> @@ -6531,7 +6531,7 @@ impl IXpsOMPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSnapsToPixels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSnapsToPixels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6543,11 +6543,11 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).SetSnapsToPixels)(::windows::core::Interface::as_raw(self), snapstopixels.into()).ok() } pub unsafe fn GetStrokeBrush(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStrokeBrushLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeBrushLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrokeBrushLocal<'a, P0>(&self, brush: P0) -> ::windows::core::Result<()> @@ -6557,7 +6557,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).SetStrokeBrushLocal)(::windows::core::Interface::as_raw(self), brush.into().abi()).ok() } pub unsafe fn GetStrokeBrushLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeBrushLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetStrokeBrushLookup<'a, P0>(&self, lookup: P0) -> ::windows::core::Result<()> @@ -6567,64 +6567,64 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).SetStrokeBrushLookup)(::windows::core::Interface::as_raw(self), lookup.into()).ok() } pub unsafe fn GetStrokeDashes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeDashes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStrokeDashCap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeDashCap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrokeDashCap(&self, strokedashcap: XPS_DASH_CAP) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStrokeDashCap)(::windows::core::Interface::as_raw(self), strokedashcap).ok() } pub unsafe fn GetStrokeDashOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeDashOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrokeDashOffset(&self, strokedashoffset: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStrokeDashOffset)(::windows::core::Interface::as_raw(self), strokedashoffset).ok() } pub unsafe fn GetStrokeStartLineCap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeStartLineCap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrokeStartLineCap(&self, strokestartlinecap: XPS_LINE_CAP) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStrokeStartLineCap)(::windows::core::Interface::as_raw(self), strokestartlinecap).ok() } pub unsafe fn GetStrokeEndLineCap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeEndLineCap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrokeEndLineCap(&self, strokeendlinecap: XPS_LINE_CAP) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStrokeEndLineCap)(::windows::core::Interface::as_raw(self), strokeendlinecap).ok() } pub unsafe fn GetStrokeLineJoin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeLineJoin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrokeLineJoin(&self, strokelinejoin: XPS_LINE_JOIN) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStrokeLineJoin)(::windows::core::Interface::as_raw(self), strokelinejoin).ok() } pub unsafe fn GetStrokeMiterLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeMiterLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrokeMiterLimit(&self, strokemiterlimit: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStrokeMiterLimit)(::windows::core::Interface::as_raw(self), strokemiterlimit).ok() } pub unsafe fn GetStrokeThickness(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokeThickness)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrokeThickness(&self, strokethickness: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStrokeThickness)(::windows::core::Interface::as_raw(self), strokethickness).ok() } pub unsafe fn GetFillBrush(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFillBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFillBrushLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFillBrushLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFillBrushLocal<'a, P0>(&self, brush: P0) -> ::windows::core::Result<()> @@ -6634,7 +6634,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).SetFillBrushLocal)(::windows::core::Interface::as_raw(self), brush.into().abi()).ok() } pub unsafe fn GetFillBrushLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFillBrushLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetFillBrushLookup<'a, P0>(&self, lookup: P0) -> ::windows::core::Result<()> @@ -6644,7 +6644,7 @@ impl IXpsOMPath { (::windows::core::Interface::vtable(self).SetFillBrushLookup)(::windows::core::Interface::as_raw(self), lookup.into()).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6768,7 +6768,7 @@ impl IXpsOMPrintTicketResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -6782,7 +6782,7 @@ impl IXpsOMPrintTicketResource { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -6878,30 +6878,30 @@ pub struct IXpsOMPrintTicketResource_Vtbl { pub struct IXpsOMRadialGradientBrush(::windows::core::IUnknown); impl IXpsOMRadialGradientBrush { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetGradientStops(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGradientStops)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, transform: P0) -> ::windows::core::Result<()> @@ -6911,7 +6911,7 @@ impl IXpsOMRadialGradientBrush { (::windows::core::Interface::vtable(self).base__.SetTransformLocal)(::windows::core::Interface::as_raw(self), transform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -6921,42 +6921,42 @@ impl IXpsOMRadialGradientBrush { (::windows::core::Interface::vtable(self).base__.SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetSpreadMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSpreadMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSpreadMethod)(::windows::core::Interface::as_raw(self), spreadmethod).ok() } pub unsafe fn GetColorInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColorInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetColorInterpolationMode)(::windows::core::Interface::as_raw(self), colorinterpolationmode).ok() } pub unsafe fn GetCenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCenter(&self, center: *const XPS_POINT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(center)).ok() } pub unsafe fn GetRadiiSizes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadiiSizes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRadiiSizes(&self, radiisizes: *const XPS_SIZE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRadiiSizes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(radiisizes)).ok() } pub unsafe fn GetGradientOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGradientOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGradientOrigin(&self, origin: *const XPS_POINT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGradientOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(origin)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7059,7 +7059,7 @@ impl IXpsOMRemoteDictionaryResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -7071,7 +7071,7 @@ impl IXpsOMRemoteDictionaryResource { (::windows::core::Interface::vtable(self).base__.base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetDictionary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDictionary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDictionary<'a, P0>(&self, dictionary: P0) -> ::windows::core::Result<()> @@ -7160,7 +7160,7 @@ impl IXpsOMRemoteDictionaryResource1 { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -7172,7 +7172,7 @@ impl IXpsOMRemoteDictionaryResource1 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetDictionary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDictionary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDictionary<'a, P0>(&self, dictionary: P0) -> ::windows::core::Result<()> @@ -7182,7 +7182,7 @@ impl IXpsOMRemoteDictionaryResource1 { (::windows::core::Interface::vtable(self).base__.SetDictionary)(::windows::core::Interface::as_raw(self), dictionary.into().abi()).ok() } pub unsafe fn GetDocumentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7289,11 +7289,11 @@ pub struct IXpsOMRemoteDictionaryResource1_Vtbl { pub struct IXpsOMRemoteDictionaryResourceCollection(::windows::core::IUnknown); impl IXpsOMRemoteDictionaryResourceCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt<'a, P0>(&self, index: u32, object: P0) -> ::windows::core::Result<()> @@ -7323,7 +7323,7 @@ impl IXpsOMRemoteDictionaryResourceCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetByPartName)(::windows::core::Interface::as_raw(self), partname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7384,7 +7384,7 @@ impl IXpsOMResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -7456,11 +7456,11 @@ pub struct IXpsOMResource_Vtbl { pub struct IXpsOMShareable(::windows::core::IUnknown); impl IXpsOMShareable { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7513,7 +7513,7 @@ impl IXpsOMSignatureBlockResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -7525,13 +7525,13 @@ impl IXpsOMSignatureBlockResource { (::windows::core::Interface::vtable(self).base__.base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -7628,11 +7628,11 @@ pub struct IXpsOMSignatureBlockResource_Vtbl { pub struct IXpsOMSignatureBlockResourceCollection(::windows::core::IUnknown); impl IXpsOMSignatureBlockResourceCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt<'a, P0>(&self, index: u32, signatureblockresource: P0) -> ::windows::core::Result<()> @@ -7662,7 +7662,7 @@ impl IXpsOMSignatureBlockResourceCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetByPartName)(::windows::core::Interface::as_raw(self), partname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7721,15 +7721,15 @@ pub struct IXpsOMSignatureBlockResourceCollection_Vtbl { pub struct IXpsOMSolidColorBrush(::windows::core::IUnknown); impl IXpsOMSolidColorBrush { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { @@ -7745,7 +7745,7 @@ impl IXpsOMSolidColorBrush { (::windows::core::Interface::vtable(self).SetColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(color), colorprofile.into().abi()).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7829,7 +7829,7 @@ impl IXpsOMStoryFragmentsResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -7841,13 +7841,13 @@ impl IXpsOMStoryFragmentsResource { (::windows::core::Interface::vtable(self).base__.base__.SetPartName)(::windows::core::Interface::as_raw(self), parturi.into().abi()).ok() } pub unsafe fn GetOwner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -7950,7 +7950,7 @@ impl IXpsOMThumbnailGenerator { P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsOMPage>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateThumbnail)(::windows::core::Interface::as_raw(self), page.into().abi(), thumbnailtype, thumbnailsize, imageresourcepartname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8003,26 +8003,26 @@ pub struct IXpsOMThumbnailGenerator_Vtbl { pub struct IXpsOMTileBrush(::windows::core::IUnknown); impl IXpsOMTileBrush { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, transform: P0) -> ::windows::core::Result<()> @@ -8032,7 +8032,7 @@ impl IXpsOMTileBrush { (::windows::core::Interface::vtable(self).SetTransformLocal)(::windows::core::Interface::as_raw(self), transform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -8042,21 +8042,21 @@ impl IXpsOMTileBrush { (::windows::core::Interface::vtable(self).SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetViewbox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewbox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetViewbox(&self, viewbox: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetViewbox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(viewbox)).ok() } pub unsafe fn GetViewport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetViewport(&self, viewport: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetViewport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(viewport)).ok() } pub unsafe fn GetTileMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTileMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTileMode(&self, tilemode: XPS_TILE_MODE) -> ::windows::core::Result<()> { @@ -8149,19 +8149,19 @@ pub struct IXpsOMTileBrush_Vtbl { pub struct IXpsOMVisual(::windows::core::IUnknown); impl IXpsOMVisual { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, matrixtransform: P0) -> ::windows::core::Result<()> @@ -8171,7 +8171,7 @@ impl IXpsOMVisual { (::windows::core::Interface::vtable(self).SetTransformLocal)(::windows::core::Interface::as_raw(self), matrixtransform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -8181,11 +8181,11 @@ impl IXpsOMVisual { (::windows::core::Interface::vtable(self).SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetClipGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClipGeometryLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipGeometryLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClipGeometryLocal<'a, P0>(&self, clipgeometry: P0) -> ::windows::core::Result<()> @@ -8195,7 +8195,7 @@ impl IXpsOMVisual { (::windows::core::Interface::vtable(self).SetClipGeometryLocal)(::windows::core::Interface::as_raw(self), clipgeometry.into().abi()).ok() } pub unsafe fn GetClipGeometryLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipGeometryLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetClipGeometryLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -8205,18 +8205,18 @@ impl IXpsOMVisual { (::windows::core::Interface::vtable(self).SetClipGeometryLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetOpacityMaskBrush(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOpacityMaskBrush)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacityMaskBrushLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOpacityMaskBrushLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacityMaskBrushLocal<'a, P0>(&self, opacitymaskbrush: P0) -> ::windows::core::Result<()> @@ -8226,7 +8226,7 @@ impl IXpsOMVisual { (::windows::core::Interface::vtable(self).SetOpacityMaskBrushLocal)(::windows::core::Interface::as_raw(self), opacitymaskbrush.into().abi()).ok() } pub unsafe fn GetOpacityMaskBrushLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOpacityMaskBrushLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetOpacityMaskBrushLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -8236,7 +8236,7 @@ impl IXpsOMVisual { (::windows::core::Interface::vtable(self).SetOpacityMaskBrushLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetName<'a, P0>(&self, name: P0) -> ::windows::core::Result<()> @@ -8248,7 +8248,7 @@ impl IXpsOMVisual { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIsHyperlinkTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIsHyperlinkTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8262,7 +8262,7 @@ impl IXpsOMVisual { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHyperlinkNavigateUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHyperlinkNavigateUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8274,7 +8274,7 @@ impl IXpsOMVisual { (::windows::core::Interface::vtable(self).SetHyperlinkNavigateUri)(::windows::core::Interface::as_raw(self), hyperlinkuri.into().abi()).ok() } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLanguage<'a, P0>(&self, language: P0) -> ::windows::core::Result<()> @@ -8381,26 +8381,26 @@ pub struct IXpsOMVisual_Vtbl { pub struct IXpsOMVisualBrush(::windows::core::IUnknown); impl IXpsOMVisualBrush { pub unsafe fn GetOwner(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetOwner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOpacity)(::windows::core::Interface::as_raw(self), opacity).ok() } pub unsafe fn GetTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransformLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformLocal<'a, P0>(&self, transform: P0) -> ::windows::core::Result<()> @@ -8410,7 +8410,7 @@ impl IXpsOMVisualBrush { (::windows::core::Interface::vtable(self).base__.SetTransformLocal)(::windows::core::Interface::as_raw(self), transform.into().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransformLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTransformLookup<'a, P0>(&self, key: P0) -> ::windows::core::Result<()> @@ -8420,32 +8420,32 @@ impl IXpsOMVisualBrush { (::windows::core::Interface::vtable(self).base__.SetTransformLookup)(::windows::core::Interface::as_raw(self), key.into()).ok() } pub unsafe fn GetViewbox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewbox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetViewbox(&self, viewbox: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetViewbox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(viewbox)).ok() } pub unsafe fn GetViewport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetViewport(&self, viewport: *const XPS_RECT) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetViewport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(viewport)).ok() } pub unsafe fn GetTileMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTileMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTileMode(&self, tilemode: XPS_TILE_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetTileMode)(::windows::core::Interface::as_raw(self), tilemode).ok() } pub unsafe fn GetVisual(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisual)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVisualLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisualLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVisualLocal<'a, P0>(&self, visual: P0) -> ::windows::core::Result<()> @@ -8455,7 +8455,7 @@ impl IXpsOMVisualBrush { (::windows::core::Interface::vtable(self).SetVisualLocal)(::windows::core::Interface::as_raw(self), visual.into().abi()).ok() } pub unsafe fn GetVisualLookup(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisualLookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetVisualLookup<'a, P0>(&self, lookup: P0) -> ::windows::core::Result<()> @@ -8465,7 +8465,7 @@ impl IXpsOMVisualBrush { (::windows::core::Interface::vtable(self).SetVisualLookup)(::windows::core::Interface::as_raw(self), lookup.into()).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8565,11 +8565,11 @@ pub struct IXpsOMVisualBrush_Vtbl { pub struct IXpsOMVisualCollection(::windows::core::IUnknown); impl IXpsOMVisualCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertAt<'a, P0>(&self, index: u32, object: P0) -> ::windows::core::Result<()> @@ -8645,7 +8645,7 @@ pub struct IXpsOMVisualCollection_Vtbl { pub struct IXpsSignature(::windows::core::IUnknown); impl IXpsSignature { pub unsafe fn GetSignatureId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSignatureValue(&self, signaturehashvalue: *mut *mut u8, count: *mut u32) -> ::windows::core::Result<()> { @@ -8654,45 +8654,45 @@ impl IXpsSignature { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCertificateEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSigningTime(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSigningTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetSigningTimeFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSigningTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetSignaturePartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignaturePartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub unsafe fn Verify(&self, x509certificate: *const super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Verify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(x509certificate), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCustomObjectEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomObjectEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCustomReferenceEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomReferenceEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSignatureXml(&self, signaturexml: *mut *mut u8, count: *mut u32) -> ::windows::core::Result<()> { @@ -8777,30 +8777,30 @@ pub struct IXpsSignature_Vtbl { pub struct IXpsSignatureBlock(::windows::core::IUnknown); impl IXpsSignatureBlock { pub unsafe fn GetRequests(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequests)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetDocumentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRequest<'a, P0>(&self, requestid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRequest)(::windows::core::Interface::as_raw(self), requestid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8860,11 +8860,11 @@ pub struct IXpsSignatureBlock_Vtbl { pub struct IXpsSignatureBlockCollection(::windows::core::IUnknown); impl IXpsSignatureBlockCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::core::Result<()> { @@ -8919,11 +8919,11 @@ pub struct IXpsSignatureBlockCollection_Vtbl { pub struct IXpsSignatureCollection(::windows::core::IUnknown); impl IXpsSignatureCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::core::Result<()> { @@ -8997,13 +8997,13 @@ impl IXpsSignatureManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, IXpsSigningOptions>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Sign)(::windows::core::Interface::as_raw(self), signoptions.into().abi(), ::core::mem::transmute(x509certificate), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetSignatureOriginPartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureOriginPartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -9015,7 +9015,7 @@ impl IXpsSignatureManager { (::windows::core::Interface::vtable(self).SetSignatureOriginPartName)(::windows::core::Interface::as_raw(self), signatureoriginpartname.into().abi()).ok() } pub unsafe fn GetSignatures(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatures)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -9024,15 +9024,15 @@ impl IXpsSignatureManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Packaging::Opc::IOpcPartUri>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSignatureBlock)(::windows::core::Interface::as_raw(self), partname.into().abi(), fixeddocumentindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSignatureBlocks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureBlocks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSigningOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSigningOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -9129,7 +9129,7 @@ pub struct IXpsSignatureManager_Vtbl { pub struct IXpsSignatureRequest(::windows::core::IUnknown); impl IXpsSignatureRequest { pub unsafe fn GetIntent(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIntent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetIntent<'a, P0>(&self, intent: P0) -> ::windows::core::Result<()> @@ -9139,7 +9139,7 @@ impl IXpsSignatureRequest { (::windows::core::Interface::vtable(self).SetIntent)(::windows::core::Interface::as_raw(self), intent.into()).ok() } pub unsafe fn GetRequestedSigner(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestedSigner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetRequestedSigner<'a, P0>(&self, signername: P0) -> ::windows::core::Result<()> @@ -9149,7 +9149,7 @@ impl IXpsSignatureRequest { (::windows::core::Interface::vtable(self).SetRequestedSigner)(::windows::core::Interface::as_raw(self), signername.into()).ok() } pub unsafe fn GetRequestSignByDate(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestSignByDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetRequestSignByDate<'a, P0>(&self, datestring: P0) -> ::windows::core::Result<()> @@ -9159,7 +9159,7 @@ impl IXpsSignatureRequest { (::windows::core::Interface::vtable(self).SetRequestSignByDate)(::windows::core::Interface::as_raw(self), datestring.into()).ok() } pub unsafe fn GetSigningLocale(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSigningLocale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetSigningLocale<'a, P0>(&self, place: P0) -> ::windows::core::Result<()> @@ -9177,11 +9177,11 @@ impl IXpsSignatureRequest { (::windows::core::Interface::vtable(self).SetSpotLocation)(::windows::core::Interface::as_raw(self), pageindex, x, y).ok() } pub unsafe fn GetRequestId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRequestId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSignature(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9245,11 +9245,11 @@ pub struct IXpsSignatureRequest_Vtbl { pub struct IXpsSignatureRequestCollection(::windows::core::IUnknown); impl IXpsSignatureRequestCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveAt(&self, index: u32) -> ::windows::core::Result<()> { @@ -9304,7 +9304,7 @@ pub struct IXpsSignatureRequestCollection_Vtbl { pub struct IXpsSigningOptions(::windows::core::IUnknown); impl IXpsSigningOptions { pub unsafe fn GetSignatureId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetSignatureId<'a, P0>(&self, signatureid: P0) -> ::windows::core::Result<()> @@ -9314,7 +9314,7 @@ impl IXpsSigningOptions { (::windows::core::Interface::vtable(self).SetSignatureId)(::windows::core::Interface::as_raw(self), signatureid.into()).ok() } pub unsafe fn GetSignatureMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignatureMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetSignatureMethod<'a, P0>(&self, signaturemethod: P0) -> ::windows::core::Result<()> @@ -9324,7 +9324,7 @@ impl IXpsSigningOptions { (::windows::core::Interface::vtable(self).SetSignatureMethod)(::windows::core::Interface::as_raw(self), signaturemethod.into()).ok() } pub unsafe fn GetDigestMethod(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDigestMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetDigestMethod<'a, P0>(&self, digestmethod: P0) -> ::windows::core::Result<()> @@ -9336,7 +9336,7 @@ impl IXpsSigningOptions { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetSignaturePartName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSignaturePartName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -9348,7 +9348,7 @@ impl IXpsSigningOptions { (::windows::core::Interface::vtable(self).SetSignaturePartName)(::windows::core::Interface::as_raw(self), signaturepartname.into().abi()).ok() } pub unsafe fn GetPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPolicy(&self, policy: XPS_SIGN_POLICY) -> ::windows::core::Result<()> { @@ -9357,7 +9357,7 @@ impl IXpsSigningOptions { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetSigningTimeFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSigningTimeFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] @@ -9368,23 +9368,23 @@ impl IXpsSigningOptions { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCustomObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCustomReferences(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomReferences)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCertificateSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCertificateSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, flags: XPS_SIGN_FLAGS) -> ::windows::core::Result<()> { 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 4305bec4ba..64749e6fd0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs @@ -1354,7 +1354,7 @@ where extern "system" { fn HrThisThreadAdviseSink(lpadvisesink: *mut ::core::ffi::c_void, lppadvisesink: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HrThisThreadAdviseSink(lpadvisesink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] @@ -1405,11 +1405,11 @@ impl IABContainer { (::windows::core::Interface::vtable(self).base__.base__.GetIDsFromNames)(::windows::core::Interface::as_raw(self), cpropnames, ::core::mem::transmute(lpppropnames), ulflags, ::core::mem::transmute(lppproptags)).ok() } pub unsafe fn GetContentsTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContentsTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHierarchyTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHierarchyTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, lpinterface: *mut ::windows::core::GUID, ulflags: u32, lpulobjtype: *mut u32, lppunk: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> { @@ -1426,7 +1426,7 @@ impl IABContainer { (::windows::core::Interface::vtable(self).base__.GetSearchCriteria)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(lpprestriction), ::core::mem::transmute(lppcontainerlist), ::core::mem::transmute(lpulsearchstate)).ok() } pub unsafe fn CreateEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, ulcreateflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEntry)(::windows::core::Interface::as_raw(self), cbentryid, ::core::mem::transmute(lpentryid), ulcreateflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyEntries<'a, P0>(&self, lpentries: *const SBinaryArray, uluiparam: usize, lpprogress: P0, ulflags: u32) -> ::windows::core::Result<()> @@ -1441,7 +1441,7 @@ impl IABContainer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn ResolveNames(&self, lpproptagarray: *const SPropTagArray, ulflags: u32, lpadrlist: *const ADRLIST) -> ::windows::core::Result<_flaglist> { - let mut result__ = ::core::mem::MaybeUninit::<_flaglist>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResolveNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpproptagarray), ulflags, ::core::mem::transmute(lpadrlist), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<_flaglist>(result__) } } @@ -1886,11 +1886,11 @@ impl IDistList { (::windows::core::Interface::vtable(self).base__.base__.GetIDsFromNames)(::windows::core::Interface::as_raw(self), cpropnames, ::core::mem::transmute(lpppropnames), ulflags, ::core::mem::transmute(lppproptags)).ok() } pub unsafe fn GetContentsTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContentsTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHierarchyTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHierarchyTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, lpinterface: *mut ::windows::core::GUID, ulflags: u32, lpulobjtype: *mut u32, lppunk: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> { @@ -1907,7 +1907,7 @@ impl IDistList { (::windows::core::Interface::vtable(self).base__.GetSearchCriteria)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(lpprestriction), ::core::mem::transmute(lppcontainerlist), ::core::mem::transmute(lpulsearchstate)).ok() } pub unsafe fn CreateEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, ulcreateflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEntry)(::windows::core::Interface::as_raw(self), cbentryid, ::core::mem::transmute(lpentryid), ulcreateflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyEntries<'a, P0>(&self, lpentries: *const SBinaryArray, uluiparam: usize, lpprogress: P0, ulflags: u32) -> ::windows::core::Result<()> @@ -1922,7 +1922,7 @@ impl IDistList { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn ResolveNames(&self, lpproptagarray: *const SPropTagArray, ulflags: u32, lpadrlist: *const ADRLIST) -> ::windows::core::Result<_flaglist> { - let mut result__ = ::core::mem::MaybeUninit::<_flaglist>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResolveNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpproptagarray), ulflags, ::core::mem::transmute(lpadrlist), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<_flaglist>(result__) } } @@ -2105,11 +2105,11 @@ impl IMAPIContainer { (::windows::core::Interface::vtable(self).base__.GetIDsFromNames)(::windows::core::Interface::as_raw(self), cpropnames, ::core::mem::transmute(lpppropnames), ulflags, ::core::mem::transmute(lppproptags)).ok() } pub unsafe fn GetContentsTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentsTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHierarchyTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHierarchyTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, lpinterface: *mut ::windows::core::GUID, ulflags: u32, lpulobjtype: *mut u32, lppunk: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> { @@ -2197,7 +2197,7 @@ pub struct IMAPIContainer_Vtbl { pub struct IMAPIControl(::windows::core::IUnknown); impl IMAPIControl { pub unsafe fn GetLastError(&self, hresult: ::windows::core::HRESULT, ulflags: u32) -> ::windows::core::Result<*mut MAPIERROR> { - let mut result__ = ::core::mem::MaybeUninit::<*mut MAPIERROR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastError)(::windows::core::Interface::as_raw(self), hresult, ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut MAPIERROR>(result__) } pub unsafe fn Activate(&self, ulflags: u32, uluiparam: usize) -> ::windows::core::Result<()> { @@ -2298,11 +2298,11 @@ impl IMAPIFolder { (::windows::core::Interface::vtable(self).base__.base__.GetIDsFromNames)(::windows::core::Interface::as_raw(self), cpropnames, ::core::mem::transmute(lpppropnames), ulflags, ::core::mem::transmute(lppproptags)).ok() } pub unsafe fn GetContentsTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContentsTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHierarchyTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHierarchyTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, lpinterface: *mut ::windows::core::GUID, ulflags: u32, lpulobjtype: *mut u32, lppunk: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> { @@ -2334,7 +2334,7 @@ impl IMAPIFolder { (::windows::core::Interface::vtable(self).DeleteMessages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpmsglist), uluiparam, lpprogress.into().abi(), ulflags).ok() } pub unsafe fn CreateFolder(&self, ulfoldertype: u32, lpszfoldername: *const i8, lpszfoldercomment: *const i8, lpinterface: *const ::windows::core::GUID, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFolder)(::windows::core::Interface::as_raw(self), ulfoldertype, ::core::mem::transmute(lpszfoldername), ::core::mem::transmute(lpszfoldercomment), ::core::mem::transmute(lpinterface), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyFolder<'a, P0>(&self, cbentryid: u32, lpentryid: *const ENTRYID, lpinterface: *const ::windows::core::GUID, lpdestfolder: *const ::core::ffi::c_void, lpsznewfoldername: *const i8, uluiparam: usize, lpprogress: P0, ulflags: u32) -> ::windows::core::Result<()> @@ -2356,11 +2356,11 @@ impl IMAPIFolder { (::windows::core::Interface::vtable(self).SetReadFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpmsglist), uluiparam, lpprogress.into().abi(), ulflags).ok() } pub unsafe fn GetMessageStatus(&self, cbentryid: u32, lpentryid: *const ENTRYID, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMessageStatus)(::windows::core::Interface::as_raw(self), cbentryid, ::core::mem::transmute(lpentryid), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMessageStatus(&self, cbentryid: u32, lpentryid: *const ENTRYID, ulnewstatus: u32, ulnewstatusmask: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetMessageStatus)(::windows::core::Interface::as_raw(self), cbentryid, ::core::mem::transmute(lpentryid), ulnewstatus, ulnewstatusmask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveContentsSort(&self, lpsortcriteria: *const SSortOrderSet, ulflags: u32) -> ::windows::core::Result<()> { @@ -3178,11 +3178,11 @@ impl IMessage { (::windows::core::Interface::vtable(self).base__.GetIDsFromNames)(::windows::core::Interface::as_raw(self), cpropnames, ::core::mem::transmute(lpppropnames), ulflags, ::core::mem::transmute(lppproptags)).ok() } pub unsafe fn GetAttachmentTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttachmentTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenAttach(&self, ulattachmentnum: u32, lpinterface: *const ::windows::core::GUID, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenAttach)(::windows::core::Interface::as_raw(self), ulattachmentnum, ::core::mem::transmute(lpinterface), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAttach(&self, lpinterface: *const ::windows::core::GUID, ulflags: u32, lpulattachmentnum: *mut u32, lppattach: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -3195,7 +3195,7 @@ impl IMessage { (::windows::core::Interface::vtable(self).DeleteAttach)(::windows::core::Interface::as_raw(self), ulattachmentnum, uluiparam, lpprogress.into().abi(), ulflags).ok() } pub unsafe fn GetRecipientTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecipientTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3327,14 +3327,14 @@ impl IMsgStore { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMAPIAdviseSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), cbentryid, ::core::mem::transmute(lpentryid), uleventmask, lpadvisesink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, ulconnection: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Unadvise)(::windows::core::Interface::as_raw(self), ulconnection).ok() } pub unsafe fn CompareEntryIDs(&self, cbentryid1: u32, lpentryid1: *const ENTRYID, cbentryid2: u32, lpentryid2: *const ENTRYID, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareEntryIDs)(::windows::core::Interface::as_raw(self), cbentryid1, ::core::mem::transmute(lpentryid1), cbentryid2, ::core::mem::transmute(lpentryid2), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, lpinterface: *const ::windows::core::GUID, ulflags: u32, lpulobjtype: *mut u32, ppunk: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> { @@ -3347,7 +3347,7 @@ impl IMsgStore { (::windows::core::Interface::vtable(self).GetReceiveFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpszmessageclass), ulflags, ::core::mem::transmute(lpcbentryid), ::core::mem::transmute(lppentryid), ::core::mem::transmute(lppszexplicitclass)).ok() } pub unsafe fn GetReceiveFolderTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReceiveFolderTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StoreLogoff(&self, lpulflags: *mut u32) -> ::windows::core::Result<()> { @@ -3357,7 +3357,7 @@ impl IMsgStore { (::windows::core::Interface::vtable(self).AbortSubmit)(::windows::core::Interface::as_raw(self), cbentryid, ::core::mem::transmute(lpentryid), ulflags).ok() } pub unsafe fn GetOutgoingQueue(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutgoingQueue)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLockState<'a, P0>(&self, lpmessage: P0, ullockstate: u32) -> ::windows::core::Result<()> @@ -3673,24 +3673,24 @@ pub struct IPropData_Vtbl { pub struct IProviderAdmin(::windows::core::IUnknown); impl IProviderAdmin { pub unsafe fn GetLastError(&self, hresult: ::windows::core::HRESULT, ulflags: u32) -> ::windows::core::Result<*mut MAPIERROR> { - let mut result__ = ::core::mem::MaybeUninit::<*mut MAPIERROR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastError)(::windows::core::Interface::as_raw(self), hresult, ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut MAPIERROR>(result__) } pub unsafe fn GetProviderTable(&self, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderTable)(::windows::core::Interface::as_raw(self), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn CreateProvider(&self, lpszprovider: *const i8, lpprops: &[SPropValue], uluiparam: usize, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpszprovider), lpprops.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(lpprops)), uluiparam, ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteProvider(&self, lpuid: *const MAPIUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).DeleteProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpuid)).ok() } pub unsafe fn OpenProfileSection(&self, lpuid: *const MAPIUID, lpinterface: *const ::windows::core::GUID, ulflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenProfileSection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lpuid), ::core::mem::transmute(lpinterface), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3981,7 +3981,7 @@ impl IWABOBJECT_ { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LDAPUrl)(::windows::core::Interface::as_raw(self), lpiab.into().abi(), hwnd.into(), ulflags, lpszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VCardCreate<'a, P0, P1, P2>(&self, lpiab: P0, ulflags: u32, lpszvcard: P1, lpmailuser: P2) -> ::windows::core::Result<()> @@ -3997,7 +3997,7 @@ impl IWABOBJECT_ { P0: ::std::convert::Into<::windows::core::InParam<'a, IAddrBook>>, P1: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VCardRetrieve)(::windows::core::Interface::as_raw(self), lpiab.into().abi(), ulflags, lpszvcard.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4166,7 +4166,7 @@ impl IWABObject { P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LDAPUrl)(::windows::core::Interface::as_raw(self), lpiab.into().abi(), hwnd.into(), ulflags, lpszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VCardCreate<'a, P0, P1, P2>(&self, lpiab: P0, ulflags: u32, lpszvcard: P1, lpmailuser: P2) -> ::windows::core::Result<()> @@ -4182,7 +4182,7 @@ impl IWABObject { P0: ::std::convert::Into<::windows::core::InParam<'a, IAddrBook>>, P1: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VCardRetrieve)(::windows::core::Interface::as_raw(self), lpiab.into().abi(), ulflags, lpszvcard.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4732,7 +4732,7 @@ pub unsafe fn OpenStreamOnFile(lpallocatebuffer: LPALLOCATEBUFFER, lpfreebuffer: extern "system" { fn OpenStreamOnFile(lpallocatebuffer: *mut ::core::ffi::c_void, lpfreebuffer: *mut ::core::ffi::c_void, ulflags: u32, lpszfilename: *const i8, lpszprefix: *const i8, lppstream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OpenStreamOnFile(::core::mem::transmute(lpallocatebuffer), ::core::mem::transmute(lpfreebuffer), ulflags, ::core::mem::transmute(lpszfilename), ::core::mem::transmute(lpszprefix), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] @@ -6425,7 +6425,7 @@ where extern "system" { fn WrapCompressedRTFStream(lpcompressedrtfstream: *mut ::core::ffi::c_void, ulflags: u32, lpuncompressedrtfstream: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WrapCompressedRTFStream(lpcompressedrtfstream.into().abi(), ulflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] 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 b2bc82d2da..0e0139cbe7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs @@ -453,7 +453,7 @@ where extern "system" { fn AmsiInitialize(appname: ::windows::core::PCWSTR, amsicontext: *mut HAMSICONTEXT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AmsiInitialize(appname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] @@ -467,7 +467,7 @@ where extern "system" { fn AmsiNotifyOperation(amsicontext: HAMSICONTEXT, buffer: *const ::core::ffi::c_void, length: u32, contentname: ::windows::core::PCWSTR, result: *mut AMSI_RESULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AmsiNotifyOperation(amsicontext.into(), ::core::mem::transmute(buffer), length, contentname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] @@ -480,7 +480,7 @@ where extern "system" { fn AmsiOpenSession(amsicontext: HAMSICONTEXT, amsisession: *mut HAMSISESSION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AmsiOpenSession(amsicontext.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] @@ -495,7 +495,7 @@ where extern "system" { fn AmsiScanBuffer(amsicontext: HAMSICONTEXT, buffer: *const ::core::ffi::c_void, length: u32, contentname: ::windows::core::PCWSTR, amsisession: HAMSISESSION, result: *mut AMSI_RESULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AmsiScanBuffer(amsicontext.into(), ::core::mem::transmute(buffer), length, contentname.into(), amsisession.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] @@ -511,7 +511,7 @@ where extern "system" { fn AmsiScanString(amsicontext: HAMSICONTEXT, string: ::windows::core::PCWSTR, contentname: ::windows::core::PCWSTR, amsisession: HAMSISESSION, result: *mut AMSI_RESULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AmsiScanString(amsicontext.into(), string.into(), contentname.into(), amsisession.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] @@ -718,7 +718,7 @@ impl IAntimalware2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Notify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(buffer), length, contentname.into(), appname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -786,14 +786,14 @@ impl IAntimalwareProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAmsiStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scan)(::windows::core::Interface::as_raw(self), stream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloseSession(&self, session: u64) { (::windows::core::Interface::vtable(self).CloseSession)(::windows::core::Interface::as_raw(self), session) } pub unsafe fn DisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -848,14 +848,14 @@ impl IAntimalwareProvider2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAmsiStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Scan)(::windows::core::Interface::as_raw(self), stream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloseSession(&self, session: u64) { (::windows::core::Interface::vtable(self).base__.CloseSession)(::windows::core::Interface::as_raw(self), session) } pub unsafe fn DisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Notify<'a, P0, P1>(&self, buffer: *const ::core::ffi::c_void, length: u32, contentname: P0, appname: P1) -> ::windows::core::Result @@ -863,7 +863,7 @@ impl IAntimalwareProvider2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Notify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(buffer), length, contentname.into(), appname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -930,11 +930,11 @@ impl IAntimalwareUacProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UacScan(&self, context: *const AMSI_UAC_REQUEST_CONTEXT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UacScan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(context), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } 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 2f404aa731..b41b81078c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -2040,7 +2040,7 @@ impl IAssemblyCache { (::windows::core::Interface::vtable(self).CreateAssemblyCacheItem)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(pvreserved), ::core::mem::transmute(ppasmitem), pszassemblyname.into()).ok() } pub unsafe fn Reserved(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Reserved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn InstallAssembly<'a, P0>(&self, dwflags: u32, pszmanifestfilepath: P0, prefdata: *mut FUSION_INSTALL_REFERENCE) -> ::windows::core::Result<()> @@ -2197,7 +2197,7 @@ impl IAssemblyName { (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), pname.into().abi(), dwcmpflags).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2266,7 +2266,7 @@ impl IEnumMsmDependency { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2333,7 +2333,7 @@ impl IEnumMsmError { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2400,7 +2400,7 @@ impl IEnumMsmString { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2460,14 +2460,14 @@ impl IMsmDependencies { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, item: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), item, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self, count: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count)).ok() } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -2665,7 +2665,7 @@ impl IMsmError { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DatabaseKeys(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DatabaseKeys)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2676,7 +2676,7 @@ impl IMsmError { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ModuleKeys(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModuleKeys)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2778,14 +2778,14 @@ impl IMsmErrors { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, item: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), item, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self, count: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count)).ok() } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -2871,7 +2871,7 @@ impl IMsmGetFiles { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ModuleFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModuleFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2996,13 +2996,13 @@ impl IMsmMerge { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Errors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Errors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Dependencies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Dependencies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3164,7 +3164,7 @@ impl IMsmStrings { (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count)).ok() } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -3745,15 +3745,15 @@ pub type INSTALLUI_HANDLERW = ::core::option::Option ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn InstanceID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstanceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn OfferID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OfferID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3774,51 +3774,51 @@ impl IPMApplicationInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NotificationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NotificationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AppInstallType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppInstallType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRevoked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRevoked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UpdateAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdateAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InstallDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstallDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsThemable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsThemable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsTrial(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTrial)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3832,7 +3832,7 @@ impl IPMApplicationInfo { (::windows::core::Interface::vtable(self).DataRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdataroot)).ok() } pub unsafe fn Genre(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Genre)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3861,21 +3861,21 @@ impl IPMApplicationInfo { (::windows::core::Interface::vtable(self).get_InvocationInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pimageurn), ::core::mem::transmute(pparameters)).ok() } pub unsafe fn AppPlatMajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppPlatMajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AppPlatMinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppPlatMinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PublisherID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PublisherID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMultiCore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMultiCore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3884,11 +3884,11 @@ impl IPMApplicationInfo { (::windows::core::Interface::vtable(self).SID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psid)).ok() } pub unsafe fn AppPlatMajorVersionLightUp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppPlatMajorVersionLightUp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AppPlatMinorVersionLightUp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppPlatMinorVersionLightUp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3926,31 +3926,31 @@ impl IPMApplicationInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPinableOnKidZone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPinableOnKidZone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOriginallyPreInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOriginallyPreInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsInstallOnSD(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInstallOnSD)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOptoutOnSD(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOptoutOnSD)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOptoutBackupRestore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOptoutBackupRestore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3972,29 +3972,29 @@ impl IPMApplicationInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnterpriseDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnterpriseDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnterpriseUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnterpriseUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsVisibleOnAppList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsVisibleOnAppList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsInboxApp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInboxApp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StorageID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StorageID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4005,35 +4005,35 @@ impl IPMApplicationInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMovable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMovable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeploymentAppEnumerationHubFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeploymentAppEnumerationHubFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ModifiedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModifiedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOriginallyRestored(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOriginallyRestored)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ShouldDeferMdilBind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShouldDeferMdilBind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsFullyPreInstall(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFullyPreInstall)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4279,7 +4279,7 @@ pub struct IPMApplicationInfo_Vtbl { pub struct IPMApplicationInfoEnumerator(::windows::core::IUnknown); impl IPMApplicationInfoEnumerator { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4329,7 +4329,7 @@ pub struct IPMApplicationInfoEnumerator_Vtbl { pub struct IPMBackgroundServiceAgentInfo(::windows::core::IUnknown); impl IPMBackgroundServiceAgentInfo { pub unsafe fn ProductID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4338,7 +4338,7 @@ impl IPMBackgroundServiceAgentInfo { (::windows::core::Interface::vtable(self).TaskID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptaskid)).ok() } pub unsafe fn BSAID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BSAID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4364,19 +4364,19 @@ impl IPMBackgroundServiceAgentInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPeriodic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPeriodic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsScheduled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsScheduled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsScheduleAllowed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsScheduleAllowed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4387,7 +4387,7 @@ impl IPMBackgroundServiceAgentInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLaunchOnBoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLaunchOnBoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4502,7 +4502,7 @@ pub struct IPMBackgroundServiceAgentInfo_Vtbl { pub struct IPMBackgroundServiceAgentInfoEnumerator(::windows::core::IUnknown); impl IPMBackgroundServiceAgentInfoEnumerator { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4552,7 +4552,7 @@ pub struct IPMBackgroundServiceAgentInfoEnumerator_Vtbl { pub struct IPMBackgroundWorkerInfo(::windows::core::IUnknown); impl IPMBackgroundWorkerInfo { pub unsafe fn ProductID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4566,17 +4566,17 @@ impl IPMBackgroundWorkerInfo { (::windows::core::Interface::vtable(self).BGName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbgname)).ok() } pub unsafe fn MaxStartupLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxStartupLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExpectedRuntime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpectedRuntime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsBootWorker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsBootWorker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4640,7 +4640,7 @@ pub struct IPMBackgroundWorkerInfo_Vtbl { pub struct IPMBackgroundWorkerInfoEnumerator(::windows::core::IUnknown); impl IPMBackgroundWorkerInfoEnumerator { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4782,7 +4782,7 @@ impl IPMDeploymentManager { (::windows::core::Interface::vtable(self).ReindexSQLCEDatabases)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(productid)).ok() } pub unsafe fn SetApplicationsNeedMaintenance(&self, requiredmaintenanceoperations: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetApplicationsNeedMaintenance)(::windows::core::Interface::as_raw(self), requiredmaintenanceoperations, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateChamberProfile(&self, productid: ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -4794,7 +4794,7 @@ impl IPMDeploymentManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnterprisePolicyIsApplicationAllowed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(productid), publishername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5010,7 +5010,7 @@ impl IPMEnumerationManager { (::windows::core::Interface::vtable(self).get_AllBackgroundWorkers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppbswenum), filter.into().abi()).ok() } pub unsafe fn get_ApplicationInfo(&self, productid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ApplicationInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(productid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5019,7 +5019,7 @@ impl IPMEnumerationManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_TileInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(productid), tileid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5028,22 +5028,22 @@ impl IPMEnumerationManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_TaskInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(productid), taskid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_TaskInfoEx<'a, P0>(&self, productid: ::windows::core::GUID, taskid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_TaskInfoEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(productid), taskid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_BackgroundServiceAgentInfo(&self, bsaid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_BackgroundServiceAgentInfo)(::windows::core::Interface::as_raw(self), bsaid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllLiveTileJobs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllLiveTileJobs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5052,11 +5052,11 @@ impl IPMEnumerationManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_LiveTileJob)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(productid), tileid.into().abi(), recurrencetype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_ApplicationInfoExternal(&self, productid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ApplicationInfoExternal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(productid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5074,7 +5074,7 @@ impl IPMEnumerationManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ApplicationInfoFromAccessClaims)(::windows::core::Interface::as_raw(self), sysappid0.into().abi(), sysappid1.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5198,7 +5198,7 @@ impl IPMExtensionCachedFileUpdaterInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportsUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportsUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5426,7 +5426,7 @@ impl IPMExtensionFileOpenPickerInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportsAllFileTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportsAllFileTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5490,7 +5490,7 @@ impl IPMExtensionFileSavePickerInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportsAllFileTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportsAllFileTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5547,7 +5547,7 @@ pub struct IPMExtensionFileSavePickerInfo_Vtbl { pub struct IPMExtensionInfo(::windows::core::IUnknown); impl IPMExtensionInfo { pub unsafe fn SupplierPID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupplierPID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5642,7 +5642,7 @@ pub struct IPMExtensionInfo_Vtbl { pub struct IPMExtensionInfoEnumerator(::windows::core::IUnknown); impl IPMExtensionInfoEnumerator { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5767,7 +5767,7 @@ impl IPMExtensionShareTargetInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportsAllFileTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportsAllFileTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5828,7 +5828,7 @@ pub struct IPMExtensionShareTargetInfo_Vtbl { pub struct IPMLiveTileJobInfo(::windows::core::IUnknown); impl IPMLiveTileJobInfo { pub unsafe fn ProductID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5839,7 +5839,7 @@ impl IPMLiveTileJobInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NextSchedule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NextSchedule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5850,7 +5850,7 @@ impl IPMLiveTileJobInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StartSchedule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartSchedule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5859,7 +5859,7 @@ impl IPMLiveTileJobInfo { (::windows::core::Interface::vtable(self).set_StartSchedule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ftstartschedule)).ok() } pub unsafe fn IntervalDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IntervalDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn set_IntervalDuration(&self, ulintervalduration: u32) -> ::windows::core::Result<()> { @@ -5868,7 +5868,7 @@ impl IPMLiveTileJobInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RunForever(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RunForever)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5880,21 +5880,21 @@ impl IPMLiveTileJobInfo { (::windows::core::Interface::vtable(self).set_RunForever)(::windows::core::Interface::as_raw(self), frunforever.into()).ok() } pub unsafe fn MaxRunCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxRunCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn set_MaxRunCount(&self, ulmaxruncount: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).set_MaxRunCount)(::windows::core::Interface::as_raw(self), ulmaxruncount).ok() } pub unsafe fn RunCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RunCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn set_RunCount(&self, ulruncount: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).set_RunCount)(::windows::core::Interface::as_raw(self), ulruncount).ok() } pub unsafe fn RecurrenceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecurrenceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn set_RecurrenceType(&self, ulrecurrencetype: u32) -> ::windows::core::Result<()> { @@ -5913,14 +5913,14 @@ impl IPMLiveTileJobInfo { (::windows::core::Interface::vtable(self).set_UrlXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(purlxml)), purlxml.len() as _).ok() } pub unsafe fn AttemptCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttemptCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn set_AttemptCount(&self, ulattemptcount: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).set_AttemptCount)(::windows::core::Interface::as_raw(self), ulattemptcount).ok() } pub unsafe fn DownloadState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn set_DownloadState(&self, uldownloadstate: u32) -> ::windows::core::Result<()> { @@ -6017,7 +6017,7 @@ pub struct IPMLiveTileJobInfo_Vtbl { pub struct IPMLiveTileJobInfoEnumerator(::windows::core::IUnknown); impl IPMLiveTileJobInfoEnumerator { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6067,7 +6067,7 @@ pub struct IPMLiveTileJobInfoEnumerator_Vtbl { pub struct IPMTaskInfo(::windows::core::IUnknown); impl IPMTaskInfo { pub unsafe fn ProductID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6081,19 +6081,19 @@ impl IPMTaskInfo { (::windows::core::Interface::vtable(self).NavigationPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnavigationpage)).ok() } pub unsafe fn TaskTransition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TaskTransition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RuntimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RuntimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActivationPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivationPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TaskType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TaskType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6124,34 +6124,34 @@ impl IPMTaskInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSingleInstanceHost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSingleInstanceHost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsInteropEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInteropEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ApplicationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InstallType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstallType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_Version(&self, ptargetmajorversion: *mut u8, ptargetminorversion: *mut u8) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).get_Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptargetmajorversion), ::core::mem::transmute(ptargetminorversion)).ok() } pub unsafe fn BitsPerPixel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BitsPerPixel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SuppressesDehydration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SuppressesDehydration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6162,7 +6162,7 @@ impl IPMTaskInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOptedForExtendedMem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOptedForExtendedMem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6268,7 +6268,7 @@ pub struct IPMTaskInfo_Vtbl { pub struct IPMTaskInfoEnumerator(::windows::core::IUnknown); impl IPMTaskInfoEnumerator { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6318,7 +6318,7 @@ pub struct IPMTaskInfoEnumerator_Vtbl { pub struct IPMTileInfo(::windows::core::IUnknown); impl IPMTileInfo { pub unsafe fn ProductID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6327,29 +6327,29 @@ impl IPMTileInfo { (::windows::core::Interface::vtable(self).TileID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptileid)).ok() } pub unsafe fn TemplateType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TemplateType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_HubPinnedState(&self, hubtype: PM_TILE_HUBTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_HubPinnedState)(::windows::core::Interface::as_raw(self), hubtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_HubPosition(&self, hubtype: PM_TILE_HUBTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_HubPosition)(::windows::core::Interface::as_raw(self), hubtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsNotified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsNotified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6358,17 +6358,17 @@ impl IPMTileInfo { (::windows::core::Interface::vtable(self).TaskID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptaskid)).ok() } pub unsafe fn TileType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TileType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsThemable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsThemable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_PropertyById(&self, propid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PropertyById)(::windows::core::Interface::as_raw(self), propid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6377,11 +6377,11 @@ impl IPMTileInfo { (::windows::core::Interface::vtable(self).get_InvocationInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pimageurn), ::core::mem::transmute(pparameters)).ok() } pub unsafe fn PropertyEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_HubTileSize(&self, hubtype: PM_TILE_HUBTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_HubTileSize)(::windows::core::Interface::as_raw(self), hubtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn set_HubPosition(&self, hubtype: PM_TILE_HUBTYPE, position: u32) -> ::windows::core::Result<()> { @@ -6423,13 +6423,13 @@ impl IPMTileInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsRestoring(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRestoring)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsAutoRestoreDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAutoRestoreDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6563,7 +6563,7 @@ pub struct IPMTileInfo_Vtbl { pub struct IPMTileInfoEnumerator(::windows::core::IUnknown); impl IPMTileInfoEnumerator { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6613,7 +6613,7 @@ pub struct IPMTileInfoEnumerator_Vtbl { pub struct IPMTilePropertyEnumerator(::windows::core::IUnknown); impl IPMTilePropertyEnumerator { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6663,7 +6663,7 @@ pub struct IPMTilePropertyEnumerator_Vtbl { pub struct IPMTilePropertyInfo(::windows::core::IUnknown); impl IPMTilePropertyInfo { pub unsafe fn PropertyID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] 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 4abb2f9a45..5555a00dab 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs @@ -13,13 +13,13 @@ impl IAccessibleWinSAT { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Accessibility\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] pub unsafe fn accParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.accParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[cfg(feature = "Win32_UI_Accessibility")] pub unsafe fn accChildCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.accChildCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -28,7 +28,7 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_accChild)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -37,7 +37,7 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_accName)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -46,7 +46,7 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_accValue)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -55,7 +55,7 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_accDescription)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -64,7 +64,7 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_accRole)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -73,7 +73,7 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_accState)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -82,7 +82,7 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_accHelp)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -99,19 +99,19 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_accKeyboardShortcut)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Accessibility"))] pub unsafe fn accFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.accFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Accessibility"))] pub unsafe fn accSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.accSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -120,7 +120,7 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_accDefaultAction)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -145,13 +145,13 @@ impl IAccessibleWinSAT { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.accNavigate)(::windows::core::Interface::as_raw(self), navdir, varstart.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Accessibility"))] pub unsafe fn accHitTest(&self, xleft: i32, ytop: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.accHitTest)(::windows::core::Interface::as_raw(self), xleft, ytop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Accessibility\"`*"] @@ -358,19 +358,19 @@ pub struct IProvideWinSATAssessmentInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IProvideWinSATAssessmentInfo { pub unsafe fn Score(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Score)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -459,27 +459,27 @@ impl IProvideWinSATResultsInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAssessmentInfo(&self, assessment: WINSAT_ASSESSMENT_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAssessmentInfo)(::windows::core::Interface::as_raw(self), assessment, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AssessmentState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssessmentState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AssessmentDateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssessmentDateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SystemRating(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SystemRating)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RatingStateDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RatingStateDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -571,7 +571,7 @@ impl IProvideWinSATVisuals { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn get_Bitmap(&self, bitmapsize: WINSAT_BITMAP_SIZE, state: WINSAT_ASSESSMENT_STATE, rating: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Bitmap)(::windows::core::Interface::as_raw(self), bitmapsize, state, rating, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -632,7 +632,7 @@ impl IQueryAllWinSATAssessments { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AllXML)(::windows::core::Interface::as_raw(self), xpath.into().abi(), namespaces.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -712,7 +712,7 @@ pub struct IQueryAllWinSATAssessments_Vtbl { pub struct IQueryOEMWinSATCustomization(::windows::core::IUnknown); impl IQueryOEMWinSATCustomization { pub unsafe fn GetOEMPrePopulationInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOEMPrePopulationInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -770,13 +770,13 @@ impl IQueryRecentWinSATAssessment { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_XML)(::windows::core::Interface::as_raw(self), xpath.into().abi(), namespaces.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Info(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Info)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 3e0d1daba0..d70daa2b1d 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 @@ -303,7 +303,7 @@ impl ICallFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIIDAndMethod(&self, piid: *mut ::windows::core::GUID, pimethod: *mut u32) -> ::windows::core::Result<()> { @@ -327,7 +327,7 @@ impl ICallFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetParamInfo(&self, iparam: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParamInfo)(::windows::core::Interface::as_raw(self), iparam, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -338,14 +338,14 @@ impl ICallFrame { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetParam(&self, iparam: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParam)(::windows::core::Interface::as_raw(self), iparam, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Copy<'a, P0>(&self, copycontrol: CALLFRAME_COPY, pwalker: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ICallFrameWalker>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Copy)(::windows::core::Interface::as_raw(self), copycontrol, pwalker.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Free<'a, P0, P1, P2, P3>(&self, pframeargsdest: P0, pwalkerdestfree: P1, pwalkercopy: P2, freeflags: u32, pwalkerfree: P3, nullflags: u32) -> ::windows::core::Result<()> @@ -372,7 +372,7 @@ impl ICallFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMarshalSizeMax(&self, pmshlcontext: *const CALLFRAME_MARSHALCONTEXT, mshlflags: super::MSHLFLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMarshalSizeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmshlcontext), mshlflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -383,7 +383,7 @@ impl ICallFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Unmarshal(&self, pbuffer: &[u8], datarep: u32, pcontext: *const CALLFRAME_MARSHALCONTEXT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Unmarshal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pbuffer)), pbuffer.len() as _, datarep, ::core::mem::transmute(pcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -601,7 +601,7 @@ impl ICallIndirect { (::windows::core::Interface::vtable(self).GetMethodInfo)(::windows::core::Interface::as_raw(self), imethod, ::core::mem::transmute(pinfo), ::core::mem::transmute(pwszmethod)).ok() } pub unsafe fn GetStackSize(&self, imethod: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStackSize)(::windows::core::Interface::as_raw(self), imethod, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -673,7 +673,7 @@ impl ICallInterceptor { (::windows::core::Interface::vtable(self).base__.GetMethodInfo)(::windows::core::Interface::as_raw(self), imethod, ::core::mem::transmute(pinfo), ::core::mem::transmute(pwszmethod)).ok() } pub unsafe fn GetStackSize(&self, imethod: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStackSize)(::windows::core::Interface::as_raw(self), imethod, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -688,7 +688,7 @@ impl ICallInterceptor { (::windows::core::Interface::vtable(self).RegisterSink)(::windows::core::Interface::as_raw(self), psink.into().abi()).ok() } pub unsafe fn GetRegisteredSink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegisteredSink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -823,7 +823,7 @@ impl IInterfaceRelated { (::windows::core::Interface::vtable(self).SetIID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(iid)).ok() } pub unsafe fn GetIID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } 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 5e8990d3ca..3d63186718 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 @@ -130,7 +130,7 @@ pub struct IDontSupportEventSubscription_Vtbl { pub struct IEnumEventObject(::windows::core::IUnknown); impl IEnumEventObject { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, ppinterface: &mut [::core::option::Option<::windows::core::IUnknown>], cretelem: *mut u32) -> ::windows::core::Result<()> { @@ -194,7 +194,7 @@ impl IEventClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EventClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -208,7 +208,7 @@ impl IEventClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EventClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -222,7 +222,7 @@ impl IEventClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OwnerSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OwnerSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -236,7 +236,7 @@ impl IEventClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FiringInterfaceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FiringInterfaceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -250,7 +250,7 @@ impl IEventClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -264,7 +264,7 @@ impl IEventClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CustomConfigCLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CustomConfigCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -278,7 +278,7 @@ impl IEventClass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TypeLib(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TypeLib)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -408,7 +408,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EventClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EventClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -422,7 +422,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EventClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EventClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -436,7 +436,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OwnerSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OwnerSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -450,7 +450,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FiringInterfaceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FiringInterfaceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -464,7 +464,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -478,7 +478,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CustomConfigCLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CustomConfigCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -492,7 +492,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TypeLib(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TypeLib)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -506,7 +506,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PublisherID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PublisherID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -520,7 +520,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MultiInterfacePublisherFilterCLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MultiInterfacePublisherFilterCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -534,7 +534,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AllowInprocActivation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowInprocActivation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -548,7 +548,7 @@ impl IEventClass2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FireInParallel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FireInParallel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -678,7 +678,7 @@ impl IEventControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AllowInprocActivation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowInprocActivation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -696,7 +696,7 @@ impl IEventControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubscriptions)(::windows::core::Interface::as_raw(self), methodname.into().abi(), optionalcriteria.into().abi(), ::core::mem::transmute(optionalerrorindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -706,7 +706,7 @@ impl IEventControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetDefaultQuery)(::windows::core::Interface::as_raw(self), methodname.into().abi(), criteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -934,7 +934,7 @@ pub struct IEventObjectChange2_Vtbl { pub struct IEventObjectCollection(::windows::core::IUnknown); impl IEventObjectCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -943,15 +943,15 @@ impl IEventObjectCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), objectid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -1048,7 +1048,7 @@ impl IEventProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1062,7 +1062,7 @@ impl IEventProperty { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -1149,7 +1149,7 @@ impl IEventPublisher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PublisherID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PublisherID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1163,7 +1163,7 @@ impl IEventPublisher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PublisherName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PublisherName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1177,7 +1177,7 @@ impl IEventPublisher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PublisherType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PublisherType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1191,7 +1191,7 @@ impl IEventPublisher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OwnerSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OwnerSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1205,7 +1205,7 @@ impl IEventPublisher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1222,7 +1222,7 @@ impl IEventPublisher { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -1242,7 +1242,7 @@ impl IEventPublisher { (::windows::core::Interface::vtable(self).RemoveDefaultProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi()).ok() } pub unsafe fn GetDefaultPropertyCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultPropertyCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1361,7 +1361,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubscriptionID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubscriptionID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1375,7 +1375,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubscriptionName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubscriptionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1389,7 +1389,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PublisherID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PublisherID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1403,7 +1403,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EventClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1417,7 +1417,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MethodName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MethodName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1431,7 +1431,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubscriberCLSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubscriberCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1443,7 +1443,7 @@ impl IEventSubscription { (::windows::core::Interface::vtable(self).SetSubscriberCLSID)(::windows::core::Interface::as_raw(self), bstrsubscriberclsid.into().abi()).ok() } pub unsafe fn SubscriberInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubscriberInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetSubscriberInterface<'a, P0>(&self, psubscriberinterface: P0) -> ::windows::core::Result<()> @@ -1455,7 +1455,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PerUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PerUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1469,7 +1469,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OwnerSID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OwnerSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1483,7 +1483,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1497,7 +1497,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1511,7 +1511,7 @@ impl IEventSubscription { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MachineName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MachineName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1528,7 +1528,7 @@ impl IEventSubscription { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPublisherProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -1548,7 +1548,7 @@ impl IEventSubscription { (::windows::core::Interface::vtable(self).RemovePublisherProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi()).ok() } pub unsafe fn GetPublisherPropertyCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPublisherPropertyCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -1557,7 +1557,7 @@ impl IEventSubscription { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubscriberProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -1577,13 +1577,13 @@ impl IEventSubscription { (::windows::core::Interface::vtable(self).RemoveSubscriberProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi()).ok() } pub unsafe fn GetSubscriberPropertyCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubscriberPropertyCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InterfaceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InterfaceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1803,13 +1803,13 @@ impl IEventSystem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), progid.into().abi(), querycriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EventObjectChangeEventClassID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventObjectChangeEventClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1819,7 +1819,7 @@ impl IEventSystem { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryS)(::windows::core::Interface::as_raw(self), progid.into().abi(), querycriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1995,7 +1995,7 @@ impl IMultiInterfaceEventControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubscriptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(eventiid), bstrmethodname.into().abi(), optionalcriteria.into().abi(), ::core::mem::transmute(optionalerrorindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2005,13 +2005,13 @@ impl IMultiInterfaceEventControl { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetDefaultQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(eventiid), bstrmethodname.into().abi(), bstrcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AllowInprocActivation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowInprocActivation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2025,7 +2025,7 @@ impl IMultiInterfaceEventControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FireInParallel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FireInParallel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] 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 e951ad6a71..0df06160b7 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 @@ -172,7 +172,7 @@ where extern "system" { fn CoGetStandardMarshal(riid: *const ::windows::core::GUID, punk: *mut ::core::ffi::c_void, dwdestcontext: u32, pvdestcontext: *const ::core::ffi::c_void, mshlflags: u32, ppmarshal: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoGetStandardMarshal(::core::mem::transmute(riid), punk.into().abi(), dwdestcontext, ::core::mem::transmute(pvdestcontext), mshlflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -185,7 +185,7 @@ where extern "system" { fn CoGetStdMarshalEx(punkouter: *mut ::core::ffi::c_void, smexflags: u32, ppunkinner: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoGetStdMarshalEx(punkouter.into().abi(), smexflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -210,7 +210,7 @@ where extern "system" { fn CoMarshalInterThreadInterfaceInStream(riid: *const ::windows::core::GUID, punk: *mut ::core::ffi::c_void, ppstm: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoMarshalInterThreadInterfaceInStream(::core::mem::transmute(riid), punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -248,7 +248,7 @@ where extern "system" { fn CoUnmarshalHresult(pstm: *mut ::core::ffi::c_void, phresult: *mut ::windows::core::HRESULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoUnmarshalHresult(pstm.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -1073,7 +1073,7 @@ impl IMarshalingStream { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.Write)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pv), cb, ::core::mem::transmute(pcbwritten))) } pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSize(&self, libnewsize: u64) -> ::windows::core::Result<()> { @@ -1103,11 +1103,11 @@ impl IMarshalingStream { (::windows::core::Interface::vtable(self).base__.Stat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstatstg), grfstatflag).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMarshalingContextAttribute(&self, attribute: super::CO_MARSHALING_CONTEXT_ATTRIBUTES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMarshalingContextAttribute)(::windows::core::Interface::as_raw(self), attribute, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 ca9bd61d62..98419887a3 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 @@ -822,7 +822,7 @@ where extern "system" { fn CreateILockBytesOnHGlobal(hglobal: isize, fdeleteonrelease: super::super::super::Foundation::BOOL, pplkbyt: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateILockBytesOnHGlobal(hglobal, fdeleteonrelease.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] @@ -836,7 +836,7 @@ where extern "system" { fn CreateStreamOnHGlobal(hglobal: isize, fdeleteonrelease: super::super::super::Foundation::BOOL, ppstm: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateStreamOnHGlobal(hglobal, fdeleteonrelease.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -880,7 +880,7 @@ where extern "system" { fn GetHGlobalFromILockBytes(plkbyt: *mut ::core::ffi::c_void, phglobal: *mut isize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetHGlobalFromILockBytes(plkbyt.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -893,7 +893,7 @@ where extern "system" { fn GetHGlobalFromStream(pstm: *mut ::core::ffi::c_void, phglobal: *mut isize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetHGlobalFromStream(pstm.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -969,7 +969,7 @@ impl IEnumSTATPROPSETSTG { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1034,7 +1034,7 @@ impl IEnumSTATPROPSTG { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1098,7 +1098,7 @@ impl IEnumSTATSTG { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1154,11 +1154,11 @@ pub struct IEnumSTATSTG_Vtbl { pub struct IFillLockBytes(::windows::core::IUnknown); impl IFillLockBytes { pub unsafe fn FillAppend(&self, pv: *const ::core::ffi::c_void, cb: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillAppend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pv), cb, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FillAt(&self, uloffset: u64, pv: *const ::core::ffi::c_void, cb: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillAt)(::windows::core::Interface::as_raw(self), uloffset, ::core::mem::transmute(pv), cb, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFillSize(&self, ulsize: u64) -> ::windows::core::Result<()> { @@ -1299,7 +1299,7 @@ impl ILockBytes { (::windows::core::Interface::vtable(self).ReadAt)(::windows::core::Interface::as_raw(self), uloffset, ::core::mem::transmute(pv), cb, ::core::mem::transmute(pcbread)).ok() } pub unsafe fn WriteAt(&self, uloffset: u64, pv: *const ::core::ffi::c_void, cb: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteAt)(::windows::core::Interface::as_raw(self), uloffset, ::core::mem::transmute(pv), cb, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Flush(&self) -> ::windows::core::Result<()> { @@ -1375,7 +1375,7 @@ pub struct ILockBytes_Vtbl { pub struct IPersistStorage(::windows::core::IUnknown); impl IPersistStorage { pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsDirty(&self) -> ::windows::core::HRESULT { @@ -1564,7 +1564,7 @@ impl IPropertyBag2 { (::windows::core::Interface::vtable(self).Write)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cproperties), ::core::mem::transmute(ppropbag), ::core::mem::transmute(pvarvalue)).ok() } pub unsafe fn CountProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyInfo(&self, iproperty: u32, ppropbag: &mut [PROPBAG2], pcproperties: *mut u32) -> ::windows::core::Result<()> { @@ -1635,18 +1635,18 @@ pub struct IPropertyBag2_Vtbl { pub struct IPropertySetStorage(::windows::core::IUnknown); impl IPropertySetStorage { pub unsafe fn Create(&self, rfmtid: *const ::windows::core::GUID, pclsid: *const ::windows::core::GUID, grfflags: u32, grfmode: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rfmtid), ::core::mem::transmute(pclsid), grfflags, grfmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Open(&self, rfmtid: *const ::windows::core::GUID, grfmode: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rfmtid), grfmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self, rfmtid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rfmtid)).ok() } pub unsafe fn Enum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1727,7 +1727,7 @@ impl IPropertyStorage { (::windows::core::Interface::vtable(self).Revert)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Enum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1741,7 +1741,7 @@ impl IPropertyStorage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Stat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Stat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1869,7 +1869,7 @@ impl IStorage { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStream)(::windows::core::Interface::as_raw(self), pwcsname.into(), grfmode, reserved1, reserved2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenStream<'a, P0>(&self, pwcsname: P0, reserved1: *mut ::core::ffi::c_void, grfmode: STGM, reserved2: u32, ppstm: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -1882,7 +1882,7 @@ impl IStorage { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStorage)(::windows::core::Interface::as_raw(self), pwcsname.into(), grfmode, reserved1, reserved2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenStorage<'a, P0, P1>(&self, pwcsname: P0, pstgpriority: P1, grfmode: STGM, snbexclude: *const *const u16, reserved: u32) -> ::windows::core::Result @@ -1890,7 +1890,7 @@ impl IStorage { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IStorage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenStorage)(::windows::core::Interface::as_raw(self), pwcsname.into(), pstgpriority.into().abi(), grfmode, ::core::mem::transmute(snbexclude), reserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CopyTo<'a, P0>(&self, rgiidexclude: &[::windows::core::GUID], snbexclude: *const *const u16, pstgdest: P0) -> ::windows::core::Result<()> @@ -2642,7 +2642,7 @@ where extern "system" { fn PropStgNameToFmtId(oszname: ::windows::core::PCWSTR, pfmtid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropStgNameToFmtId(oszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] @@ -2675,7 +2675,7 @@ where extern "system" { fn ReadClassStg(pstg: *mut ::core::ffi::c_void, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ReadClassStg(pstg.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2688,7 +2688,7 @@ where extern "system" { fn ReadClassStm(pstm: *mut ::core::ffi::c_void, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ReadClassStm(pstm.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3104,7 +3104,7 @@ where extern "system" { fn StgCreateDocfile(pwcsname: ::windows::core::PCWSTR, grfmode: STGM, reserved: u32, ppstgopen: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgCreateDocfile(pwcsname.into(), grfmode, reserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3117,7 +3117,7 @@ where extern "system" { fn StgCreateDocfileOnILockBytes(plkbyt: *mut ::core::ffi::c_void, grfmode: STGM, reserved: u32, ppstgopen: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgCreateDocfileOnILockBytes(plkbyt.into().abi(), grfmode, reserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3130,7 +3130,7 @@ where extern "system" { fn StgCreatePropSetStg(pstorage: *mut ::core::ffi::c_void, dwreserved: u32, pppropsetstg: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgCreatePropSetStg(pstorage.into().abi(), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3143,7 +3143,7 @@ where extern "system" { fn StgCreatePropStg(punk: *mut ::core::ffi::c_void, fmtid: *const ::windows::core::GUID, pclsid: *const ::windows::core::GUID, grfflags: u32, dwreserved: u32, pppropstg: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgCreatePropStg(punk.into().abi(), ::core::mem::transmute(fmtid), ::core::mem::transmute(pclsid), grfflags, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Security\"`*"] @@ -3168,7 +3168,7 @@ pub unsafe fn StgDeserializePropVariant(pprop: *const SERIALIZEDPROPERTYVALUE, c extern "system" { fn StgDeserializePropVariant(pprop: *const SERIALIZEDPROPERTYVALUE, cbmax: u32, ppropvar: *mut PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgDeserializePropVariant(::core::mem::transmute(pprop), cbmax, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3181,7 +3181,7 @@ where extern "system" { fn StgGetIFillLockBytesOnFile(pwcsname: ::windows::core::PCWSTR, ppflb: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgGetIFillLockBytesOnFile(pwcsname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3194,7 +3194,7 @@ where extern "system" { fn StgGetIFillLockBytesOnILockBytes(pilb: *mut ::core::ffi::c_void, ppflb: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgGetIFillLockBytesOnILockBytes(pilb.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3231,7 +3231,7 @@ where extern "system" { fn StgOpenAsyncDocfileOnIFillLockBytes(pflb: *mut ::core::ffi::c_void, grfmode: u32, asyncflags: u32, ppstgopen: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgOpenAsyncDocfileOnIFillLockBytes(pflb.into().abi(), grfmode, asyncflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3244,7 +3244,7 @@ where extern "system" { fn StgOpenLayoutDocfile(pwcsdfname: ::windows::core::PCWSTR, grfmode: u32, reserved: u32, ppstgopen: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgOpenLayoutDocfile(pwcsdfname.into(), grfmode, reserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3257,7 +3257,7 @@ where extern "system" { fn StgOpenPropStg(punk: *mut ::core::ffi::c_void, fmtid: *const ::windows::core::GUID, grfflags: u32, dwreserved: u32, pppropstg: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgOpenPropStg(punk.into().abi(), ::core::mem::transmute(fmtid), grfflags, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3271,7 +3271,7 @@ where extern "system" { fn StgOpenStorage(pwcsname: ::windows::core::PCWSTR, pstgpriority: *mut ::core::ffi::c_void, grfmode: STGM, snbexclude: *const *const u16, reserved: u32, ppstgopen: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgOpenStorage(pwcsname.into(), pstgpriority.into().abi(), grfmode, ::core::mem::transmute(snbexclude), reserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Security\"`*"] @@ -3299,7 +3299,7 @@ where extern "system" { fn StgOpenStorageOnILockBytes(plkbyt: *mut ::core::ffi::c_void, pstgpriority: *mut ::core::ffi::c_void, grfmode: u32, snbexclude: *const *const u16, reserved: u32, ppstgopen: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StgOpenStorageOnILockBytes(plkbyt.into().abi(), pstgpriority.into().abi(), grfmode, ::core::mem::transmute(snbexclude), reserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] 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 72a635f579..c1cba967f9 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 @@ -977,7 +977,7 @@ pub unsafe fn CopyBindInfo(pcbisrc: *const super::BINDINFO) -> ::windows::core:: extern "system" { fn CopyBindInfo(pcbisrc: *const super::BINDINFO, pbidest: *mut super::BINDINFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CopyBindInfo(::core::mem::transmute(pcbisrc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -988,7 +988,7 @@ pub unsafe fn CopyStgMedium(pcstgmedsrc: *const super::STGMEDIUM) -> ::windows:: extern "system" { fn CopyStgMedium(pcstgmedsrc: *const super::STGMEDIUM, pstgmeddest: *mut super::STGMEDIUM) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CopyStgMedium(::core::mem::transmute(pcstgmedsrc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -1002,7 +1002,7 @@ where extern "system" { fn CreateAsyncBindCtx(reserved: u32, pbscb: *mut ::core::ffi::c_void, pefetc: *mut ::core::ffi::c_void, ppbc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateAsyncBindCtx(reserved, pbscb.into().abi(), pefetc.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -1026,7 +1026,7 @@ pub unsafe fn CreateFormatEnumerator(rgfmtetc: &[super::FORMATETC]) -> ::windows extern "system" { fn CreateFormatEnumerator(cfmtetc: u32, rgfmtetc: *const super::FORMATETC, ppenumfmtetc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateFormatEnumerator(rgfmtetc.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgfmtetc)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -1040,7 +1040,7 @@ where extern "system" { fn CreateURLMoniker(pmkctx: *mut ::core::ffi::c_void, szurl: ::windows::core::PCWSTR, ppmk: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateURLMoniker(pmkctx.into().abi(), szurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -1153,7 +1153,7 @@ where extern "system" { fn FindMediaType(rgsztypes: ::windows::core::PCSTR, rgcftypes: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); FindMediaType(rgsztypes.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -1211,7 +1211,7 @@ where extern "system" { fn GetClassFileOrMime(pbc: *mut ::core::ffi::c_void, szfilename: ::windows::core::PCWSTR, pbuffer: *const ::core::ffi::c_void, cbsize: u32, szmime: ::windows::core::PCWSTR, dwreserved: u32, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetClassFileOrMime(pbc.into().abi(), szfilename.into(), ::core::mem::transmute(pbuffer), cbsize, szmime.into(), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -1224,7 +1224,7 @@ where extern "system" { fn GetClassURL(szurl: ::windows::core::PCWSTR, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetClassURL(szurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -1234,7 +1234,7 @@ pub unsafe fn GetComponentIDFromCLSSPEC(pclassspec: *const super::uCLSSPEC) -> : extern "system" { fn GetComponentIDFromCLSSPEC(pclassspec: *const super::uCLSSPEC, ppszcomponentid: *mut ::windows::core::PSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetComponentIDFromCLSSPEC(::core::mem::transmute(pclassspec), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -1247,7 +1247,7 @@ where extern "system" { fn GetSoftwareUpdateInfo(szdistunit: ::windows::core::PCWSTR, psdi: *mut SOFTDISTINFO) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetSoftwareUpdateInfo(szdistunit.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -1384,7 +1384,7 @@ impl IBindCallbackRedirect { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Redirect)(::windows::core::Interface::as_raw(self), lpcurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1434,7 +1434,7 @@ pub struct IBindCallbackRedirect_Vtbl { pub struct IBindHttpSecurity(::windows::core::IUnknown); impl IBindHttpSecurity { pub unsafe fn GetIgnoreCertMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIgnoreCertMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1488,7 +1488,7 @@ impl IBindProtocol { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::IBindCtx>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBinding)(::windows::core::Interface::as_raw(self), szurl.into(), pbc.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1538,7 +1538,7 @@ pub struct IBindProtocol_Vtbl { pub struct ICatalogFileInfo(::windows::core::IUnknown); impl ICatalogFileInfo { pub unsafe fn GetCatalogFile(&self) -> ::windows::core::Result<::windows::core::PSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCatalogFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } pub unsafe fn GetJavaTrust(&self, ppjavatrust: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -1594,7 +1594,7 @@ impl ICodeInstall { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self, rguidreason: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidreason), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnCodeInstallProblem<'a, P0, P1>(&self, ulstatuscode: u32, szdestination: P0, szsource: P1, dwreserved: u32) -> ::windows::core::Result<()> @@ -1734,7 +1734,7 @@ pub unsafe fn IEInstallScope() -> ::windows::core::Result { extern "system" { fn IEInstallScope(pdwscope: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IEInstallScope(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -1785,7 +1785,7 @@ impl IEncodingFilterFactory { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindBestFilter)(::windows::core::Interface::as_raw(self), pwzcodein.into(), pwzcodeout.into(), ::core::mem::transmute(info), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultFilter<'a, P0, P1>(&self, pwzcodein: P0, pwzcodeout: P1) -> ::windows::core::Result @@ -1793,7 +1793,7 @@ impl IEncodingFilterFactory { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultFilter)(::windows::core::Interface::as_raw(self), pwzcodein.into(), pwzcodeout.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1846,7 +1846,7 @@ impl IGetBindHandle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBindHandle(&self, enumrequestedhandle: BINDHANDLETYPES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBindHandle)(::windows::core::Interface::as_raw(self), enumrequestedhandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1903,7 +1903,7 @@ impl IHttpNegotiate { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginningTransaction)(::windows::core::Interface::as_raw(self), szurl.into(), szheaders.into(), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn OnResponse<'a, P0, P1>(&self, dwresponsecode: u32, szresponseheaders: P0, szrequestheaders: P1) -> ::windows::core::Result<::windows::core::PWSTR> @@ -1911,7 +1911,7 @@ impl IHttpNegotiate { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnResponse)(::windows::core::Interface::as_raw(self), dwresponsecode, szresponseheaders.into(), szrequestheaders.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -1966,7 +1966,7 @@ impl IHttpNegotiate2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BeginningTransaction)(::windows::core::Interface::as_raw(self), szurl.into(), szheaders.into(), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn OnResponse<'a, P0, P1>(&self, dwresponsecode: u32, szresponseheaders: P0, szrequestheaders: P1) -> ::windows::core::Result<::windows::core::PWSTR> @@ -1974,7 +1974,7 @@ impl IHttpNegotiate2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OnResponse)(::windows::core::Interface::as_raw(self), dwresponsecode, szresponseheaders.into(), szrequestheaders.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetRootSecurityId(&self, pbsecurityid: *mut u8, pcbsecurityid: *mut u32, dwreserved: usize) -> ::windows::core::Result<()> { @@ -2046,7 +2046,7 @@ impl IHttpNegotiate3 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BeginningTransaction)(::windows::core::Interface::as_raw(self), szurl.into(), szheaders.into(), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn OnResponse<'a, P0, P1>(&self, dwresponsecode: u32, szresponseheaders: P0, szrequestheaders: P1) -> ::windows::core::Result<::windows::core::PWSTR> @@ -2054,7 +2054,7 @@ impl IHttpNegotiate3 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OnResponse)(::windows::core::Interface::as_raw(self), dwresponsecode, szresponseheaders.into(), szrequestheaders.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetRootSecurityId(&self, pbsecurityid: *mut u8, pcbsecurityid: *mut u32, dwreserved: usize) -> ::windows::core::Result<()> { @@ -2142,7 +2142,7 @@ impl IHttpSecurity { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self, rguidreason: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidreason), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnSecurityProblem(&self, dwproblem: u32) -> ::windows::core::Result<()> { @@ -2449,7 +2449,7 @@ impl IInternetPriority { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), npriority).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2529,7 +2529,7 @@ impl IInternetProtocol { (::windows::core::Interface::vtable(self).Read)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pv)), pv.len() as _, ::core::mem::transmute(pcbread)).ok() } pub unsafe fn Seek(&self, dlibmove: i64, dworigin: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LockRequest(&self, dwoptions: u32) -> ::windows::core::Result<()> { @@ -2632,7 +2632,7 @@ impl IInternetProtocolEx { (::windows::core::Interface::vtable(self).base__.Read)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pv)), pv.len() as _, ::core::mem::transmute(pcbread)).ok() } pub unsafe fn Seek(&self, dlibmove: i64, dworigin: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LockRequest(&self, dwoptions: u32) -> ::windows::core::Result<()> { @@ -3021,7 +3021,7 @@ impl IInternetSecurityManager { (::windows::core::Interface::vtable(self).SetSecuritySite)(::windows::core::Interface::as_raw(self), psite.into().abi()).ok() } pub unsafe fn GetSecuritySite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecuritySite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MapUrlToZone<'a, P0>(&self, pwszurl: P0, pdwzone: *mut u32, dwflags: u32) -> ::windows::core::Result<()> @@ -3117,7 +3117,7 @@ impl IInternetSecurityManagerEx { (::windows::core::Interface::vtable(self).base__.SetSecuritySite)(::windows::core::Interface::as_raw(self), psite.into().abi()).ok() } pub unsafe fn GetSecuritySite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSecuritySite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MapUrlToZone<'a, P0>(&self, pwszurl: P0, pdwzone: *mut u32, dwflags: u32) -> ::windows::core::Result<()> @@ -3227,7 +3227,7 @@ impl IInternetSecurityManagerEx2 { (::windows::core::Interface::vtable(self).base__.base__.SetSecuritySite)(::windows::core::Interface::as_raw(self), psite.into().abi()).ok() } pub unsafe fn GetSecuritySite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSecuritySite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MapUrlToZone<'a, P0>(&self, pwszurl: P0, pdwzone: *mut u32, dwflags: u32) -> ::windows::core::Result<()> @@ -3375,7 +3375,7 @@ impl IInternetSecurityMgrSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3625,7 +3625,7 @@ impl IInternetZoneManager { (::windows::core::Interface::vtable(self).CreateZoneEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwenum), ::core::mem::transmute(pdwcount), dwflags).ok() } pub unsafe fn GetZoneAt(&self, dwenum: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetZoneAt)(::windows::core::Interface::as_raw(self), dwenum, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestroyZoneEnumerator(&self, dwenum: u32) -> ::windows::core::Result<()> { @@ -3733,7 +3733,7 @@ impl IInternetZoneManagerEx { (::windows::core::Interface::vtable(self).base__.CreateZoneEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwenum), ::core::mem::transmute(pdwcount), dwflags).ok() } pub unsafe fn GetZoneAt(&self, dwenum: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetZoneAt)(::windows::core::Interface::as_raw(self), dwenum, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestroyZoneEnumerator(&self, dwenum: u32) -> ::windows::core::Result<()> { @@ -3849,7 +3849,7 @@ impl IInternetZoneManagerEx2 { (::windows::core::Interface::vtable(self).base__.base__.CreateZoneEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwenum), ::core::mem::transmute(pdwcount), dwflags).ok() } pub unsafe fn GetZoneAt(&self, dwenum: u32, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetZoneAt)(::windows::core::Interface::as_raw(self), dwenum, dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestroyZoneEnumerator(&self, dwenum: u32) -> ::windows::core::Result<()> { @@ -4233,7 +4233,7 @@ impl ::core::fmt::Debug for INTERNETFEATURELIST { pub struct IPersistMoniker(::windows::core::IUnknown); impl IPersistMoniker { pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsDirty(&self) -> ::windows::core::HRESULT { @@ -4267,7 +4267,7 @@ impl IPersistMoniker { (::windows::core::Interface::vtable(self).SaveCompleted)(::windows::core::Interface::as_raw(self), pimkname.into().abi(), pibc.into().abi()).ok() } pub unsafe fn GetCurMoniker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurMoniker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4401,11 +4401,11 @@ pub struct ISoftDistExt_Vtbl { pub struct IUriBuilderFactory(::windows::core::IUnknown); impl IUriBuilderFactory { pub unsafe fn CreateIUriBuilder(&self, dwflags: u32, dwreserved: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateIUriBuilder)(::windows::core::Interface::as_raw(self), dwflags, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInitializedIUriBuilder(&self, dwflags: u32, dwreserved: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInitializedIUriBuilder)(::windows::core::Interface::as_raw(self), dwflags, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4456,7 +4456,7 @@ pub struct IUriBuilderFactory_Vtbl { pub struct IUriContainer(::windows::core::IUnknown); impl IUriContainer { pub unsafe fn GetIUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4851,7 +4851,7 @@ impl IWindowForBindingUI { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self, rguidreason: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidreason), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4953,7 +4953,7 @@ pub struct IWrappedProtocol_Vtbl { pub struct IZoneIdentifier(::windows::core::IUnknown); impl IZoneIdentifier { pub unsafe fn GetId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetId(&self, dwzone: u32) -> ::windows::core::Result<()> { @@ -5011,7 +5011,7 @@ pub struct IZoneIdentifier_Vtbl { pub struct IZoneIdentifier2(::windows::core::IUnknown); impl IZoneIdentifier2 { pub unsafe fn GetId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetId(&self, dwzone: u32) -> ::windows::core::Result<()> { @@ -5021,7 +5021,7 @@ impl IZoneIdentifier2 { (::windows::core::Interface::vtable(self).base__.Remove)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLastWriterPackageFamilyName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastWriterPackageFamilyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLastWriterPackageFamilyName<'a, P0>(&self, packagefamilyname: P0) -> ::windows::core::Result<()> @@ -5034,7 +5034,7 @@ impl IZoneIdentifier2 { (::windows::core::Interface::vtable(self).RemoveLastWriterPackageFamilyName)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetAppZoneId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAppZoneId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppZoneId(&self, zone: u32) -> ::windows::core::Result<()> { 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 4f88dba716..e76221b8dc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs @@ -1301,7 +1301,7 @@ where extern "system" { fn CLSIDFromProgID(lpszprogid: ::windows::core::PCWSTR, lpclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CLSIDFromProgID(lpszprogid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1314,7 +1314,7 @@ where extern "system" { fn CLSIDFromProgIDEx(lpszprogid: ::windows::core::PCWSTR, lpclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CLSIDFromProgIDEx(lpszprogid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1327,7 +1327,7 @@ where extern "system" { fn CLSIDFromString(lpsz: ::windows::core::PCWSTR, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CLSIDFromString(lpsz.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[repr(C)] @@ -2003,7 +2003,7 @@ where extern "system" { fn CoCopyProxy(pproxy: *mut ::core::ffi::c_void, ppcopy: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoCopyProxy(pproxy.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2016,7 +2016,7 @@ where extern "system" { fn CoCreateFreeThreadedMarshaler(punkouter: *mut ::core::ffi::c_void, ppunkmarshal: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoCreateFreeThreadedMarshaler(punkouter.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2026,7 +2026,7 @@ pub unsafe fn CoCreateGuid() -> ::windows::core::Result<::windows::core::GUID> { extern "system" { fn CoCreateGuid(pguid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoCreateGuid(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2136,7 +2136,7 @@ pub unsafe fn CoFileTimeNow() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoFileTimeNow(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] @@ -2214,7 +2214,7 @@ pub unsafe fn CoGetCallerTID() -> ::windows::core::Result { extern "system" { fn CoGetCallerTID(lpdwtid: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoGetCallerTID(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2242,7 +2242,7 @@ pub unsafe fn CoGetContextToken() -> ::windows::core::Result { extern "system" { fn CoGetContextToken(ptoken: *mut usize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoGetContextToken(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2252,7 +2252,7 @@ pub unsafe fn CoGetCurrentLogicalThreadId() -> ::windows::core::Result<::windows extern "system" { fn CoGetCurrentLogicalThreadId(pguid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoGetCurrentLogicalThreadId(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2271,7 +2271,7 @@ pub unsafe fn CoGetMalloc(dwmemcontext: u32) -> ::windows::core::Result extern "system" { fn CoGetMalloc(dwmemcontext: u32, ppmalloc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoGetMalloc(dwmemcontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2302,7 +2302,7 @@ pub unsafe fn CoGetPSClsid(riid: *const ::windows::core::GUID) -> ::windows::cor extern "system" { fn CoGetPSClsid(riid: *const ::windows::core::GUID, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoGetPSClsid(::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Security\"`*"] @@ -2322,7 +2322,7 @@ pub unsafe fn CoGetTreatAsClass(clsidold: *const ::windows::core::GUID) -> ::win extern "system" { fn CoGetTreatAsClass(clsidold: *const ::windows::core::GUID, pclsidnew: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoGetTreatAsClass(::core::mem::transmute(clsidold), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2341,7 +2341,7 @@ pub unsafe fn CoIncrementMTAUsage() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoIncrementMTAUsage(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2516,7 +2516,7 @@ where extern "system" { fn CoRegisterClassObject(rclsid: *const ::windows::core::GUID, punk: *mut ::core::ffi::c_void, dwclscontext: CLSCTX, flags: REGCLS, lpdwregister: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoRegisterClassObject(::core::mem::transmute(rclsid), punk.into().abi(), dwclscontext, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2529,7 +2529,7 @@ where extern "system" { fn CoRegisterDeviceCatalog(deviceinstanceid: ::windows::core::PCWSTR, cookie: *mut CO_DEVICE_CATALOG_COOKIE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoRegisterDeviceCatalog(deviceinstanceid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2542,7 +2542,7 @@ where extern "system" { fn CoRegisterInitializeSpy(pspy: *mut ::core::ffi::c_void, pulicookie: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoRegisterInitializeSpy(pspy.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2688,7 +2688,7 @@ where extern "system" { fn CoSwitchCallContext(pnewobject: *mut ::core::ffi::c_void, ppoldobject: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoSwitchCallContext(pnewobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2753,7 +2753,7 @@ pub unsafe fn CoWaitForMultipleHandles(dwflags: u32, dwtimeout: u32, phandles: & extern "system" { fn CoWaitForMultipleHandles(dwflags: u32, dwtimeout: u32, chandles: u32, phandles: *const super::super::Foundation::HANDLE, lpdwindex: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoWaitForMultipleHandles(dwflags, dwtimeout, phandles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(phandles)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] @@ -2764,7 +2764,7 @@ pub unsafe fn CoWaitForMultipleObjects(dwflags: u32, dwtimeout: u32, phandles: & extern "system" { fn CoWaitForMultipleObjects(dwflags: u32, dwtimeout: u32, chandles: u32, phandles: *const super::super::Foundation::HANDLE, lpdwindex: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoWaitForMultipleObjects(dwflags, dwtimeout, phandles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(phandles)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -2806,7 +2806,7 @@ pub unsafe fn CreateAntiMoniker() -> ::windows::core::Result { extern "system" { fn CreateAntiMoniker(ppmk: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateAntiMoniker(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2816,7 +2816,7 @@ pub unsafe fn CreateBindCtx(reserved: u32) -> ::windows::core::Result extern "system" { fn CreateBindCtx(reserved: u32, ppbc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateBindCtx(reserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2826,7 +2826,7 @@ pub unsafe fn CreateClassMoniker(rclsid: *const ::windows::core::GUID) -> ::wind extern "system" { fn CreateClassMoniker(rclsid: *const ::windows::core::GUID, ppmk: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateClassMoniker(::core::mem::transmute(rclsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2836,7 +2836,7 @@ pub unsafe fn CreateDataAdviseHolder() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateDataAdviseHolder(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2861,7 +2861,7 @@ where extern "system" { fn CreateFileMoniker(lpszpathname: ::windows::core::PCWSTR, ppmk: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateFileMoniker(lpszpathname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2875,7 +2875,7 @@ where extern "system" { fn CreateGenericComposite(pmkfirst: *mut ::core::ffi::c_void, pmkrest: *mut ::core::ffi::c_void, ppmkcomposite: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateGenericComposite(pmkfirst.into().abi(), pmkrest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2888,7 +2888,7 @@ where extern "system" { fn CreateIUriBuilder(piuri: *mut ::core::ffi::c_void, dwflags: u32, dwreserved: usize, ppiuribuilder: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateIUriBuilder(piuri.into().abi(), dwflags, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2902,7 +2902,7 @@ where extern "system" { fn CreateItemMoniker(lpszdelim: ::windows::core::PCWSTR, lpszitem: ::windows::core::PCWSTR, ppmk: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateItemMoniker(lpszdelim.into(), lpszitem.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2915,7 +2915,7 @@ where extern "system" { fn CreateObjrefMoniker(punk: *mut ::core::ffi::c_void, ppmk: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateObjrefMoniker(punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2928,7 +2928,7 @@ where extern "system" { fn CreatePointerMoniker(punk: *mut ::core::ffi::c_void, ppmk: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreatePointerMoniker(punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] @@ -2944,7 +2944,7 @@ where extern "system" { fn CreateStdProgressIndicator(hwndparent: super::super::Foundation::HWND, psztitle: ::windows::core::PCWSTR, pibsccaller: *mut ::core::ffi::c_void, ppibsc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateStdProgressIndicator(hwndparent.into(), psztitle.into(), pibsccaller.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2957,7 +2957,7 @@ where extern "system" { fn CreateUri(pwzuri: ::windows::core::PCWSTR, dwflags: URI_CREATE_FLAGS, dwreserved: usize, ppuri: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateUri(pwzuri.into(), dwflags, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2970,7 +2970,7 @@ where extern "system" { fn CreateUriFromMultiByteString(pszansiinputuri: ::windows::core::PCSTR, dwencodingflags: u32, dwcodepage: u32, dwcreateflags: u32, dwreserved: usize, ppuri: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateUriFromMultiByteString(pszansiinputuri.into(), dwencodingflags, dwcodepage, dwcreateflags, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2984,7 +2984,7 @@ where extern "system" { fn CreateUriWithFragment(pwzuri: ::windows::core::PCWSTR, pwzfragment: ::windows::core::PCWSTR, dwflags: u32, dwreserved: usize, ppuri: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateUriWithFragment(pwzuri.into(), pwzfragment.into(), dwflags, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3897,7 +3897,7 @@ where extern "system" { fn GetClassFile(szfilename: ::windows::core::PCWSTR, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetClassFile(szfilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3907,7 +3907,7 @@ pub unsafe fn GetErrorInfo(dwreserved: u32) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetErrorInfo(dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3917,7 +3917,7 @@ pub unsafe fn GetRunningObjectTable(reserved: u32) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetRunningObjectTable(reserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -3956,7 +3956,7 @@ impl ::core::default::Default for HYPER_SIZEDARR { pub struct IActivationFilter(::windows::core::IUnknown); impl IActivationFilter { pub unsafe fn HandleActivation(&self, dwactivationtype: u32, rclsid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HandleActivation)(::windows::core::Interface::as_raw(self), dwactivationtype, ::core::mem::transmute(rclsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -4325,7 +4325,7 @@ impl IAsyncManager { (::windows::core::Interface::vtable(self).GetCallContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(pinterface)).ok() } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4392,7 +4392,7 @@ impl IAsyncRpcChannelBuffer { (::windows::core::Interface::vtable(self).base__.base__.IsConnected)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Send<'a, P0>(&self, pmsg: *mut RPCOLEMESSAGE, psync: P0, pulstatus: *mut u32) -> ::windows::core::Result<()> @@ -4635,7 +4635,7 @@ impl IBindCtx { (::windows::core::Interface::vtable(self).GetBindOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbindopts)).ok() } pub unsafe fn GetRunningObjectTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningObjectTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterObjectParam<'a, P0, P1>(&self, pszkey: P0, punk: P1) -> ::windows::core::Result<()> @@ -4649,11 +4649,11 @@ impl IBindCtx { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectParam)(::windows::core::Interface::as_raw(self), pszkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn EnumObjectParam(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumObjectParam)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RevokeObjectParam<'a, P0>(&self, pszkey: P0) -> ::windows::core::Result<()> @@ -4795,7 +4795,7 @@ impl IBindStatusCallback { (::windows::core::Interface::vtable(self).OnStartBinding)(::windows::core::Interface::as_raw(self), dwreserved, pib.into().abi()).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnLowResource(&self, reserved: u32) -> ::windows::core::Result<()> { @@ -4895,7 +4895,7 @@ impl IBindStatusCallbackEx { (::windows::core::Interface::vtable(self).base__.OnStartBinding)(::windows::core::Interface::as_raw(self), dwreserved, pib.into().abi()).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnLowResource(&self, reserved: u32) -> ::windows::core::Result<()> { @@ -5011,7 +5011,7 @@ impl IBinding { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), npriority).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBindResult(&self, pclsidprotocol: *mut ::windows::core::GUID, pdwresult: *mut u32, pszresult: *mut ::windows::core::PWSTR, pdwreserved: *mut u32) -> ::windows::core::Result<()> { @@ -5125,7 +5125,7 @@ impl ICallFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCall)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), pctrlunk.into().abi(), ::core::mem::transmute(riid2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -5228,26 +5228,26 @@ pub struct ICancelMethodCalls_Vtbl { pub struct ICatInformation(::windows::core::IUnknown); impl ICatInformation { pub unsafe fn EnumCategories(&self, lcid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCategories)(::windows::core::Interface::as_raw(self), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCategoryDesc(&self, rcatid: *const ::windows::core::GUID, lcid: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategoryDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rcatid), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn EnumClassesOfCategories(&self, rgcatidimpl: &[::windows::core::GUID], rgcatidreq: &[::windows::core::GUID]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumClassesOfCategories)(::windows::core::Interface::as_raw(self), rgcatidimpl.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgcatidimpl)), rgcatidreq.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgcatidreq)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsClassOfCategories(&self, rclsid: *const ::windows::core::GUID, rgcatidimpl: &[::windows::core::GUID], rgcatidreq: &[::windows::core::GUID]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).IsClassOfCategories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), rgcatidimpl.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgcatidimpl)), rgcatidreq.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgcatidreq))).ok() } pub unsafe fn EnumImplCategoriesOfClass(&self, rclsid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumImplCategoriesOfClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumReqCategoriesOfClass(&self, rclsid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumReqCategoriesOfClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5575,7 +5575,7 @@ impl IClientSecurity { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopyProxy)(::windows::core::Interface::as_raw(self), pproxy.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -5627,15 +5627,15 @@ pub struct IClientSecurity_Vtbl { pub struct IComThreadingInfo(::windows::core::IUnknown); impl IComThreadingInfo { pub unsafe fn GetCurrentApartmentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentApartmentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentLogicalThreadId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentLogicalThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetCurrentLogicalThreadId(&self, rguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -5691,25 +5691,25 @@ pub struct IComThreadingInfo_Vtbl { pub struct IConnectionPoint(::windows::core::IUnknown); impl IConnectionPoint { pub unsafe fn GetConnectionInterface(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectionInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetConnectionPointContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectionPointContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Advise<'a, P0>(&self, punksink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), punksink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Unadvise)(::windows::core::Interface::as_raw(self), dwcookie).ok() } pub unsafe fn EnumConnections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumConnections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5763,11 +5763,11 @@ pub struct IConnectionPoint_Vtbl { pub struct IConnectionPointContainer(::windows::core::IUnknown); impl IConnectionPointContainer { pub unsafe fn EnumConnectionPoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumConnectionPoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindConnectionPoint(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindConnectionPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5907,14 +5907,14 @@ impl IDataAdviseHolder { P0: ::std::convert::Into<::windows::core::InParam<'a, IDataObject>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IAdviseSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), pdataobject.into().abi(), ::core::mem::transmute(pfetc), advf, padvise.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwconnection: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Unadvise)(::windows::core::Interface::as_raw(self), dwconnection).ok() } pub unsafe fn EnumAdvise(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumAdvise)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SendOnDataChange<'a, P0>(&self, pdataobject: P0, dwreserved: u32, advf: u32) -> ::windows::core::Result<()> @@ -5975,7 +5975,7 @@ impl IDataObject { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetData(&self, pformatetcin: *const FORMATETC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformatetcin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5998,21 +5998,21 @@ impl IDataObject { (::windows::core::Interface::vtable(self).SetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformatetc), ::core::mem::transmute(pmedium), frelease.into()).ok() } pub unsafe fn EnumFormatEtc(&self, dwdirection: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFormatEtc)(::windows::core::Interface::as_raw(self), dwdirection, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DAdvise<'a, P0>(&self, pformatetc: *const FORMATETC, advf: u32, padvsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IAdviseSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DAdvise)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformatetc), advf, padvsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DUnadvise(&self, dwconnection: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).DUnadvise)(::windows::core::Interface::as_raw(self), dwconnection).ok() } pub unsafe fn EnumDAdvise(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDAdvise)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6079,11 +6079,11 @@ pub struct IDataObject_Vtbl { pub struct IDispatch(::windows::core::IUnknown); impl IDispatch { pub unsafe fn GetTypeInfoCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeInfoCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeInfo)(::windows::core::Interface::as_raw(self), itinfo, lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::core::GUID, rgsznames: *const ::windows::core::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::core::Result<()> { @@ -6156,7 +6156,7 @@ impl IEnumCATEGORYINFO { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6218,7 +6218,7 @@ impl IEnumConnectionPoints { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6280,7 +6280,7 @@ impl IEnumConnections { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6344,7 +6344,7 @@ impl IEnumFORMATETC { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6406,7 +6406,7 @@ impl IEnumGUID { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6468,7 +6468,7 @@ impl IEnumMoniker { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6530,7 +6530,7 @@ impl IEnumSTATDATA { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6592,7 +6592,7 @@ impl IEnumString { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6654,7 +6654,7 @@ impl IEnumUnknown { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6707,29 +6707,29 @@ pub struct IEnumUnknown_Vtbl { pub struct IErrorInfo(::windows::core::IUnknown); impl IErrorInfo { pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHelpFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelpFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHelpContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelpContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7006,7 +7006,7 @@ impl IGlobalInterfaceTable { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterInterfaceInGlobal)(::windows::core::Interface::as_raw(self), punk.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RevokeInterfaceFromGlobal(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -7067,7 +7067,7 @@ impl IGlobalOptions { (::windows::core::Interface::vtable(self).Set)(::windows::core::Interface::as_raw(self), dwproperty, dwvalue).ok() } pub unsafe fn Query(&self, dwproperty: GLOBALOPT_PROPERTIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Query)(::windows::core::Interface::as_raw(self), dwproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7123,7 +7123,7 @@ where extern "system" { fn IIDFromString(lpsz: ::windows::core::PCWSTR, lpiid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IIDFromString(lpsz.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7245,7 +7245,7 @@ impl IMachineGlobalObjectTable { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut MachineGlobalObjectTableRegistrationToken__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsid), identifier.into(), object.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut MachineGlobalObjectTableRegistrationToken__>(result__) } pub unsafe fn GetObject<'a, P0, T>(&self, clsid: *const ::windows::core::GUID, identifier: P0) -> ::windows::core::Result @@ -7534,7 +7534,7 @@ pub struct IMallocSpy_Vtbl { pub struct IMoniker(::windows::core::IUnknown); impl IMoniker { pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsDirty(&self) -> ::windows::core::HRESULT { @@ -7556,7 +7556,7 @@ impl IMoniker { (::windows::core::Interface::vtable(self).base__.Save)(::windows::core::Interface::as_raw(self), pstm.into().abi(), fcleardirty.into()).ok() } pub unsafe fn GetSizeMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSizeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BindToObject<'a, P0, P1>(&self, pbc: P0, pmktoleft: P1, riidresult: *const ::windows::core::GUID, ppvresult: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> @@ -7586,7 +7586,7 @@ impl IMoniker { P0: ::std::convert::Into<::windows::core::InParam<'a, IMoniker>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComposeWith)(::windows::core::Interface::as_raw(self), pmkright.into().abi(), fonlyifnotgeneric.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7595,7 +7595,7 @@ impl IMoniker { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enum)(::windows::core::Interface::as_raw(self), fforward.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsEqual<'a, P0>(&self, pmkothermoniker: P0) -> ::windows::core::Result<()> @@ -7605,7 +7605,7 @@ impl IMoniker { (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), pmkothermoniker.into().abi()).ok() } pub unsafe fn Hash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Hash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsRunning<'a, P0, P1, P2>(&self, pbc: P0, pmktoleft: P1, pmknewlyrunning: P2) -> ::windows::core::Result<()> @@ -7623,25 +7623,25 @@ impl IMoniker { P0: ::std::convert::Into<::windows::core::InParam<'a, IBindCtx>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMoniker>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimeOfLastChange)(::windows::core::Interface::as_raw(self), pbc.into().abi(), pmktoleft.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Inverse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Inverse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CommonPrefixWith<'a, P0>(&self, pmkother: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMoniker>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommonPrefixWith)(::windows::core::Interface::as_raw(self), pmkother.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RelativePathTo<'a, P0>(&self, pmkother: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMoniker>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RelativePathTo)(::windows::core::Interface::as_raw(self), pmkother.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName<'a, P0, P1>(&self, pbc: P0, pmktoleft: P1) -> ::windows::core::Result<::windows::core::PWSTR> @@ -7649,7 +7649,7 @@ impl IMoniker { P0: ::std::convert::Into<::windows::core::InParam<'a, IBindCtx>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMoniker>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), pbc.into().abi(), pmktoleft.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn ParseDisplayName<'a, P0, P1, P2>(&self, pbc: P0, pmktoleft: P1, pszdisplayname: P2, pcheaten: *mut u32, ppmkout: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -7661,7 +7661,7 @@ impl IMoniker { (::windows::core::Interface::vtable(self).ParseDisplayName)(::windows::core::Interface::as_raw(self), pbc.into().abi(), pmktoleft.into().abi(), pszdisplayname.into(), ::core::mem::transmute(pcheaten), ::core::mem::transmute(ppmkout)).ok() } pub unsafe fn IsSystemMoniker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSystemMoniker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7991,7 +7991,7 @@ impl IPSFactoryBuffer { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStub)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), punkserver.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8042,7 +8042,7 @@ pub struct IPSFactoryBuffer_Vtbl { pub struct IPersist(::windows::core::IUnknown); impl IPersist { pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -8092,7 +8092,7 @@ pub struct IPersist_Vtbl { pub struct IPersistFile(::windows::core::IUnknown); impl IPersistFile { pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsDirty(&self) -> ::windows::core::HRESULT { @@ -8120,7 +8120,7 @@ impl IPersistFile { (::windows::core::Interface::vtable(self).SaveCompleted)(::windows::core::Interface::as_raw(self), pszfilename.into()).ok() } pub unsafe fn GetCurFile(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -8192,7 +8192,7 @@ pub struct IPersistFile_Vtbl { pub struct IPersistMemory(::windows::core::IUnknown); impl IPersistMemory { pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsDirty(&self) -> ::windows::core::HRESULT { @@ -8210,7 +8210,7 @@ impl IPersistMemory { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pmem)), fcleardirty.into(), pmem.len() as _).ok() } pub unsafe fn GetSizeMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSizeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitNew(&self) -> ::windows::core::Result<()> { @@ -8285,7 +8285,7 @@ pub struct IPersistMemory_Vtbl { pub struct IPersistStream(::windows::core::IUnknown); impl IPersistStream { pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsDirty(&self) -> ::windows::core::HRESULT { @@ -8307,7 +8307,7 @@ impl IPersistStream { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self), pstm.into().abi(), fcleardirty.into()).ok() } pub unsafe fn GetSizeMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSizeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8378,7 +8378,7 @@ pub struct IPersistStream_Vtbl { pub struct IPersistStreamInit(::windows::core::IUnknown); impl IPersistStreamInit { pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsDirty(&self) -> ::windows::core::HRESULT { @@ -8400,7 +8400,7 @@ impl IPersistStreamInit { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self), pstm.into().abi(), fcleardirty.into()).ok() } pub unsafe fn GetSizeMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSizeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InitNew(&self) -> ::windows::core::Result<()> { @@ -8975,7 +8975,7 @@ impl IRpcChannelBuffer2 { (::windows::core::Interface::vtable(self).base__.IsConnected)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9055,7 +9055,7 @@ impl IRpcChannelBuffer3 { (::windows::core::Interface::vtable(self).base__.base__.IsConnected)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Send(&self, pmsg: *mut RPCOLEMESSAGE, pulstatus: *mut u32) -> ::windows::core::Result<()> { @@ -9074,7 +9074,7 @@ impl IRpcChannelBuffer3 { (::windows::core::Interface::vtable(self).GetDestCtxEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmsg), ::core::mem::transmute(pdwdestcontext), ::core::mem::transmute(ppvdestcontext)).ok() } pub unsafe fn GetState(&self, pmsg: *const RPCOLEMESSAGE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmsg), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterAsync<'a, P0>(&self, pmsg: *mut RPCOLEMESSAGE, pasyncmgr: P0) -> ::windows::core::Result<()> @@ -9166,11 +9166,11 @@ pub struct IRpcChannelBuffer3_Vtbl { pub struct IRpcHelper(::windows::core::IUnknown); impl IRpcHelper { pub unsafe fn GetDCOMProtocolVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDCOMProtocolVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIIDFromOBJREF(&self, pobjref: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut ::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIIDFromOBJREF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pobjref), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut ::windows::core::GUID>(result__) } } @@ -9230,7 +9230,7 @@ impl IRpcOptions { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Query)(::windows::core::Interface::as_raw(self), pprx.into().abi(), dwproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9465,7 +9465,7 @@ pub struct IRpcSyntaxNegotiate_Vtbl { pub struct IRunnableObject(::windows::core::IUnknown); impl IRunnableObject { pub unsafe fn GetRunningClass(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Run<'a, P0>(&self, pbc: P0) -> ::windows::core::Result<()> @@ -9560,7 +9560,7 @@ impl IRunningObjectTable { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMoniker>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Register)(::windows::core::Interface::as_raw(self), grfflags, punkobject.into().abi(), pmkobjectname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Revoke(&self, dwregister: u32) -> ::windows::core::Result<()> { @@ -9576,7 +9576,7 @@ impl IRunningObjectTable { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMoniker>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), pmkobjectname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9590,11 +9590,11 @@ impl IRunningObjectTable { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMoniker>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTimeOfLastChange)(::windows::core::Interface::as_raw(self), pmkobjectname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumRunning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRunning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9879,7 +9879,7 @@ impl IStream { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.Write)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pv), cb, ::core::mem::transmute(pcbwritten))) } pub unsafe fn Seek(&self, dlibmove: i64, dworigin: STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSize(&self, libnewsize: u64) -> ::windows::core::Result<()> { @@ -9909,7 +9909,7 @@ impl IStream { (::windows::core::Interface::vtable(self).Stat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstatstg), grfstatflag).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10092,7 +10092,7 @@ impl ISurrogateService { where P0: ::std::convert::Into<::windows::core::InParam<'a, IProcessLock>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Init)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidprocessid), pprocesslock.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ApplicationLaunch(&self, rguidapplid: *const ::windows::core::GUID, apptype: ApplicationType) -> ::windows::core::Result<()> { @@ -10224,7 +10224,7 @@ impl ISynchronizeContainer { (::windows::core::Interface::vtable(self).AddSynchronize)(::windows::core::Interface::as_raw(self), psync.into().abi()).ok() } pub unsafe fn WaitMultiple(&self, dwflags: u32, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitMultiple)(::windows::core::Interface::as_raw(self), dwflags, dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10277,7 +10277,7 @@ impl ISynchronizeEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10352,7 +10352,7 @@ impl ISynchronizeHandle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10593,23 +10593,23 @@ impl ITypeInfo { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetTypeAttr(&self) -> ::windows::core::Result<*mut TYPEATTR> { - let mut result__ = ::core::mem::MaybeUninit::<*mut TYPEATTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeAttr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TYPEATTR>(result__) } pub unsafe fn GetTypeComp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeComp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetFuncDesc(&self, index: u32) -> ::windows::core::Result<*mut FUNCDESC> { - let mut result__ = ::core::mem::MaybeUninit::<*mut FUNCDESC>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFuncDesc)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut FUNCDESC>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetVarDesc(&self, index: u32) -> ::windows::core::Result<*mut VARDESC> { - let mut result__ = ::core::mem::MaybeUninit::<*mut VARDESC>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVarDesc)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut VARDESC>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10618,11 +10618,11 @@ impl ITypeInfo { (::windows::core::Interface::vtable(self).GetNames)(::windows::core::Interface::as_raw(self), memid, ::core::mem::transmute(rgbstrnames), cmaxnames, ::core::mem::transmute(pcnames)).ok() } pub unsafe fn GetRefTypeOfImplType(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRefTypeOfImplType)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImplTypeFlags(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImplTypeFlags)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIDsOfNames(&self, rgsznames: *const ::windows::core::PWSTR, cnames: u32, pmemid: *mut i32) -> ::windows::core::Result<()> { @@ -10644,7 +10644,7 @@ impl ITypeInfo { (::windows::core::Interface::vtable(self).GetDllEntry)(::windows::core::Interface::as_raw(self), memid, invkind, ::core::mem::transmute(pbstrdllname), ::core::mem::transmute(pbstrname), ::core::mem::transmute(pwordinal)).ok() } pub unsafe fn GetRefTypeInfo(&self, hreftype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRefTypeInfo)(::windows::core::Interface::as_raw(self), hreftype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddressOfMember(&self, memid: i32, invkind: INVOKEKIND, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -10661,7 +10661,7 @@ impl ITypeInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMops(&self, memid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMops)(::windows::core::Interface::as_raw(self), memid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingTypeLib(&self, pptlib: *mut ::core::option::Option, pindex: *mut u32) -> ::windows::core::Result<()> { @@ -10782,23 +10782,23 @@ impl ITypeInfo2 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetTypeAttr(&self) -> ::windows::core::Result<*mut TYPEATTR> { - let mut result__ = ::core::mem::MaybeUninit::<*mut TYPEATTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeAttr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TYPEATTR>(result__) } pub unsafe fn GetTypeComp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeComp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetFuncDesc(&self, index: u32) -> ::windows::core::Result<*mut FUNCDESC> { - let mut result__ = ::core::mem::MaybeUninit::<*mut FUNCDESC>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFuncDesc)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut FUNCDESC>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetVarDesc(&self, index: u32) -> ::windows::core::Result<*mut VARDESC> { - let mut result__ = ::core::mem::MaybeUninit::<*mut VARDESC>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVarDesc)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut VARDESC>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10807,11 +10807,11 @@ impl ITypeInfo2 { (::windows::core::Interface::vtable(self).base__.GetNames)(::windows::core::Interface::as_raw(self), memid, ::core::mem::transmute(rgbstrnames), cmaxnames, ::core::mem::transmute(pcnames)).ok() } pub unsafe fn GetRefTypeOfImplType(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRefTypeOfImplType)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImplTypeFlags(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetImplTypeFlags)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIDsOfNames(&self, rgsznames: *const ::windows::core::PWSTR, cnames: u32, pmemid: *mut i32) -> ::windows::core::Result<()> { @@ -10833,7 +10833,7 @@ impl ITypeInfo2 { (::windows::core::Interface::vtable(self).base__.GetDllEntry)(::windows::core::Interface::as_raw(self), memid, invkind, ::core::mem::transmute(pbstrdllname), ::core::mem::transmute(pbstrname), ::core::mem::transmute(pwordinal)).ok() } pub unsafe fn GetRefTypeInfo(&self, hreftype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRefTypeInfo)(::windows::core::Interface::as_raw(self), hreftype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddressOfMember(&self, memid: i32, invkind: INVOKEKIND, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -10850,7 +10850,7 @@ impl ITypeInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMops(&self, memid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMops)(::windows::core::Interface::as_raw(self), memid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingTypeLib(&self, pptlib: *mut ::core::option::Option, pindex: *mut u32) -> ::windows::core::Result<()> { @@ -10872,49 +10872,49 @@ impl ITypeInfo2 { (::windows::core::Interface::vtable(self).base__.ReleaseVarDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvardesc)) } pub unsafe fn GetTypeKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFuncIndexOfMemId(&self, memid: i32, invkind: INVOKEKIND) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFuncIndexOfMemId)(::windows::core::Interface::as_raw(self), memid, invkind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVarIndexOfMemId(&self, memid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVarIndexOfMemId)(::windows::core::Interface::as_raw(self), memid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetCustData(&self, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetFuncCustData(&self, index: u32, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFuncCustData)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetParamCustData(&self, indexfunc: u32, indexparam: u32, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParamCustData)(::windows::core::Interface::as_raw(self), indexfunc, indexparam, ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetVarCustData(&self, index: u32, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVarCustData)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetImplTypeCustData(&self, index: u32, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImplTypeCustData)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10925,31 +10925,31 @@ impl ITypeInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetAllCustData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllCustData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetAllFuncCustData(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllFuncCustData)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetAllParamCustData(&self, indexfunc: u32, indexparam: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllParamCustData)(::windows::core::Interface::as_raw(self), indexfunc, indexparam, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetAllVarCustData(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllVarCustData)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetAllImplTypeCustData(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllImplTypeCustData)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11064,23 +11064,23 @@ impl ITypeLib { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetTypeInfoCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetTypeInfo(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeInfo)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeInfoType(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeInfoType)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeInfoOfGuid(&self, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeInfoOfGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLibAttr(&self) -> ::windows::core::Result<*mut TLIBATTR> { - let mut result__ = ::core::mem::MaybeUninit::<*mut TLIBATTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLibAttr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TLIBATTR>(result__) } pub unsafe fn GetTypeComp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeComp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11164,23 +11164,23 @@ impl ITypeLib2 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetTypeInfoCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetTypeInfo(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeInfo)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeInfoType(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeInfoType)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeInfoOfGuid(&self, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeInfoOfGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLibAttr(&self) -> ::windows::core::Result<*mut TLIBATTR> { - let mut result__ = ::core::mem::MaybeUninit::<*mut TLIBATTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLibAttr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TLIBATTR>(result__) } pub unsafe fn GetTypeComp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeComp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11202,7 +11202,7 @@ impl ITypeLib2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetCustData(&self, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLibStatistics(&self, pcuniquenames: *mut u32, pcchuniquenames: *mut u32) -> ::windows::core::Result<()> { @@ -11216,7 +11216,7 @@ impl ITypeLib2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetAllCustData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllCustData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11293,45 +11293,45 @@ pub struct ITypeLib2_Vtbl { pub struct ITypeLibRegistration(::windows::core::IUnknown); impl ITypeLibRegistration { pub unsafe fn GetGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLcid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLcid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWin32Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWin32Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWin64Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWin64Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHelpDir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelpDir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11403,7 +11403,7 @@ pub struct ITypeLibRegistration_Vtbl { pub struct ITypeLibRegistrationReader(::windows::core::IUnknown); impl ITypeLibRegistrationReader { pub unsafe fn EnumTypeLibRegistrations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumTypeLibRegistrations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11466,117 +11466,117 @@ impl IUri { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasProperty(&self, uriprop: Uri_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasProperty)(::windows::core::Interface::as_raw(self), uriprop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAbsoluteUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAbsoluteUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAuthority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAuthority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFragment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPathAndQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPathAndQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRawUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRawUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSchemeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSchemeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHostType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHostType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScheme(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScheme)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetZone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetZone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11585,7 +11585,7 @@ impl IUri { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUri>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), puri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11713,19 +11713,19 @@ pub struct IUri_Vtbl { pub struct IUriBuilder(::windows::core::IUnknown); impl IUriBuilder { pub unsafe fn CreateUriSimple(&self, dwallowencodingpropertymask: u32, dwreserved: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUriSimple)(::windows::core::Interface::as_raw(self), dwallowencodingpropertymask, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateUri(&self, dwcreateflags: u32, dwallowencodingpropertymask: u32, dwreserved: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUri)(::windows::core::Interface::as_raw(self), dwcreateflags, dwallowencodingpropertymask, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateUriWithFlags(&self, dwcreateflags: u32, dwuribuilderflags: u32, dwallowencodingpropertymask: u32, dwreserved: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUriWithFlags)(::windows::core::Interface::as_raw(self), dwcreateflags, dwuribuilderflags, dwallowencodingpropertymask, dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIUri<'a, P0>(&self, piuri: P0) -> ::windows::core::Result<()> @@ -11816,7 +11816,7 @@ impl IUriBuilder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasBeenModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasBeenModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11952,7 +11952,7 @@ pub struct IUrlMon_Vtbl { pub struct IWaitMultiple(::windows::core::IUnknown); impl IWaitMultiple { pub unsafe fn WaitMultiple(&self, timeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitMultiple)(::windows::core::Interface::as_raw(self), timeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSynchronize<'a, P0>(&self, psync: P0) -> ::windows::core::Result<()> @@ -12312,7 +12312,7 @@ where extern "system" { fn MonikerCommonPrefixWith(pmkthis: *mut ::core::ffi::c_void, pmkother: *mut ::core::ffi::c_void, ppmkcommon: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MonikerCommonPrefixWith(pmkthis.into().abi(), pmkother.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] @@ -12395,7 +12395,7 @@ pub unsafe fn ProgIDFromCLSID(clsid: *const ::windows::core::GUID) -> ::windows: extern "system" { fn ProgIDFromCLSID(clsid: *const ::windows::core::GUID, lplpszprogid: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ProgIDFromCLSID(::core::mem::transmute(clsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[repr(C)] @@ -13373,7 +13373,7 @@ pub unsafe fn StringFromCLSID(rclsid: *const ::windows::core::GUID) -> ::windows extern "system" { fn StringFromCLSID(rclsid: *const ::windows::core::GUID, lplpsz: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StringFromCLSID(::core::mem::transmute(rclsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13392,7 +13392,7 @@ pub unsafe fn StringFromIID(rclsid: *const ::windows::core::GUID) -> ::windows:: extern "system" { fn StringFromIID(rclsid: *const ::windows::core::GUID, lplpsz: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); StringFromIID(::core::mem::transmute(rclsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] 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 f577a0cb19..dd1dc4da4b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs @@ -1955,29 +1955,29 @@ pub struct ContextInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ContextInfo { pub unsafe fn IsInTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransaction(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTransactionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransactionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetActivityId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivityId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetContextId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContextId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2069,47 +2069,47 @@ pub struct ContextInfo2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ContextInfo2 { pub unsafe fn IsInTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsInTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransaction(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTransactionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransactionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetActivityId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetActivityId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetContextId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContextId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPartitionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartitionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetApplicationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplicationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetApplicationInstanceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplicationInstanceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2357,7 +2357,7 @@ pub unsafe fn GetDispenserManager() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetDispenserManager(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] @@ -2515,7 +2515,7 @@ impl IAssemblyLocator { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModules)(::windows::core::Interface::as_raw(self), applicationdir.into().abi(), applicationname.into().abi(), assemblyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } } @@ -2651,7 +2651,7 @@ impl ICOMAdminCatalog { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCollection)(::windows::core::Interface::as_raw(self), bstrcollname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2660,15 +2660,15 @@ impl ICOMAdminCatalog { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Connect)(::windows::core::Interface::as_raw(self), bstrcatalogservername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2677,7 +2677,7 @@ impl ICOMAdminCatalog { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCollectionByQuery)(::windows::core::Interface::as_raw(self), bstrcollname.into().abi(), ::core::mem::transmute(ppsavarquery), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2796,7 +2796,7 @@ impl ICOMAdminCatalog { (::windows::core::Interface::vtable(self).StartApplication)(::windows::core::Interface::as_raw(self), bstrapplidorname.into().abi()).ok() } pub unsafe fn ServiceCheck(&self, lservice: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceCheck)(::windows::core::Interface::as_raw(self), lservice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2983,7 +2983,7 @@ impl ICOMAdminCatalog2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCollection)(::windows::core::Interface::as_raw(self), bstrcollname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2992,15 +2992,15 @@ impl ICOMAdminCatalog2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Connect)(::windows::core::Interface::as_raw(self), bstrcatalogservername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3009,7 +3009,7 @@ impl ICOMAdminCatalog2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCollectionByQuery)(::windows::core::Interface::as_raw(self), bstrcollname.into().abi(), ::core::mem::transmute(ppsavarquery), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3128,7 +3128,7 @@ impl ICOMAdminCatalog2 { (::windows::core::Interface::vtable(self).base__.StartApplication)(::windows::core::Interface::as_raw(self), bstrapplidorname.into().abi()).ok() } pub unsafe fn ServiceCheck(&self, lservice: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceCheck)(::windows::core::Interface::as_raw(self), lservice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3164,13 +3164,13 @@ impl ICOMAdminCatalog2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCollectionByQuery2)(::windows::core::Interface::as_raw(self), bstrcollectionname.into().abi(), ::core::mem::transmute(pvarquerystrings), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetApplicationInstanceIDFromProcessID(&self, lprocessid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplicationInstanceIDFromProcessID)(::windows::core::Interface::as_raw(self), lprocessid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3196,7 +3196,7 @@ impl ICOMAdminCatalog2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AreApplicationInstancesPaused(&self, pvarapplicationinstanceid: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AreApplicationInstancesPaused)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarapplicationinstanceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3206,11 +3206,11 @@ impl ICOMAdminCatalog2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DumpApplicationInstance)(::windows::core::Interface::as_raw(self), bstrapplicationinstanceid.into().abi(), bstrdirectory.into().abi(), lmaximages, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsApplicationInstanceDumpSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsApplicationInstanceDumpSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3241,7 +3241,7 @@ impl ICOMAdminCatalog2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartitionID)(::windows::core::Interface::as_raw(self), bstrapplicationidorname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3250,7 +3250,7 @@ impl ICOMAdminCatalog2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPartitionName)(::windows::core::Interface::as_raw(self), bstrapplicationidorname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3264,19 +3264,19 @@ impl ICOMAdminCatalog2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentPartitionID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPartitionID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentPartitionName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPartitionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GlobalPartitionID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GlobalPartitionID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FlushPartitionCache(&self) -> ::windows::core::Result<()> { @@ -3327,7 +3327,7 @@ impl ICOMAdminCatalog2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSafeToDelete)(::windows::core::Interface::as_raw(self), bstrdllname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3355,7 +3355,7 @@ impl ICOMAdminCatalog2 { (::windows::core::Interface::vtable(self).ImportComponents)(::windows::core::Interface::as_raw(self), bstrapplicationidorname.into().abi(), ::core::mem::transmute(pvarclsidorprogid), ::core::mem::transmute(pvarcomponenttype)).ok() } pub unsafe fn Is64BitCatalogServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Is64BitCatalogServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3385,7 +3385,7 @@ impl ICOMAdminCatalog2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryApplicationFile2)(::windows::core::Interface::as_raw(self), bstrapplicationfile.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3394,7 +3394,7 @@ impl ICOMAdminCatalog2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentVersionCount)(::windows::core::Interface::as_raw(self), bstrclsidorprogid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3666,17 +3666,17 @@ pub struct ICatalogCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICatalogCollection { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Remove(&self, lindex: i32) -> ::windows::core::Result<()> { @@ -3685,14 +3685,14 @@ impl ICatalogCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Add(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Populate(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Populate)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SaveChanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveChanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3702,35 +3702,35 @@ impl ICatalogCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCollection)(::windows::core::Interface::as_raw(self), bstrcollname.into().abi(), varobjectkey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoveEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUtilInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUtilInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataStoreMajorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataStoreMajorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DataStoreMinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataStoreMinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3863,7 +3863,7 @@ impl ICatalogObject { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Value)(::windows::core::Interface::as_raw(self), bstrpropname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3878,13 +3878,13 @@ impl ICatalogObject { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Key(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Key)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3893,11 +3893,11 @@ impl ICatalogObject { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPropertyReadOnly)(::windows::core::Interface::as_raw(self), bstrpropname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Valid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Valid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3906,7 +3906,7 @@ impl ICatalogObject { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPropertyWriteOnly)(::windows::core::Interface::as_raw(self), bstrpropname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4795,14 +4795,14 @@ impl IComMtaThreadPoolKnobs { (::windows::core::Interface::vtable(self).MTASetMaxThreadCount)(::windows::core::Interface::as_raw(self), dwmaxthreads).ok() } pub unsafe fn MTAGetMaxThreadCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MTAGetMaxThreadCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MTASetThrottleValue(&self, dwthrottle: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).MTASetThrottleValue)(::windows::core::Interface::as_raw(self), dwthrottle).ok() } pub unsafe fn MTAGetThrottleValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MTAGetThrottleValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5458,36 +5458,36 @@ impl IComStaThreadPoolKnobs { (::windows::core::Interface::vtable(self).SetMinThreadCount)(::windows::core::Interface::as_raw(self), minthreads).ok() } pub unsafe fn GetMinThreadCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMinThreadCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxThreadCount(&self, maxthreads: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxThreadCount)(::windows::core::Interface::as_raw(self), maxthreads).ok() } pub unsafe fn GetMaxThreadCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxThreadCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetActivityPerThread(&self, activitiesperthread: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetActivityPerThread)(::windows::core::Interface::as_raw(self), activitiesperthread).ok() } pub unsafe fn GetActivityPerThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivityPerThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetActivityRatio(&self, activityratio: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetActivityRatio)(::windows::core::Interface::as_raw(self), activityratio).ok() } pub unsafe fn GetActivityRatio(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivityRatio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQueueDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQueueDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQueueDepth(&self, dwqdepth: i32) -> ::windows::core::Result<()> { @@ -5553,43 +5553,43 @@ impl IComStaThreadPoolKnobs2 { (::windows::core::Interface::vtable(self).base__.SetMinThreadCount)(::windows::core::Interface::as_raw(self), minthreads).ok() } pub unsafe fn GetMinThreadCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMinThreadCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxThreadCount(&self, maxthreads: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaxThreadCount)(::windows::core::Interface::as_raw(self), maxthreads).ok() } pub unsafe fn GetMaxThreadCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMaxThreadCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetActivityPerThread(&self, activitiesperthread: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetActivityPerThread)(::windows::core::Interface::as_raw(self), activitiesperthread).ok() } pub unsafe fn GetActivityPerThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetActivityPerThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetActivityRatio(&self, activityratio: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetActivityRatio)(::windows::core::Interface::as_raw(self), activityratio).ok() } pub unsafe fn GetActivityRatio(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetActivityRatio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetThreadCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQueueDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetQueueDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQueueDepth(&self, dwqdepth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetQueueDepth)(::windows::core::Interface::as_raw(self), dwqdepth).ok() } pub unsafe fn GetMaxCPULoad(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxCPULoad)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxCPULoad(&self, pdwload: i32) -> ::windows::core::Result<()> { @@ -5598,7 +5598,7 @@ impl IComStaThreadPoolKnobs2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCPUMetricEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCPUMetricEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5612,7 +5612,7 @@ impl IComStaThreadPoolKnobs2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCreateThreadsAggressively(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCreateThreadsAggressively)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5624,14 +5624,14 @@ impl IComStaThreadPoolKnobs2 { (::windows::core::Interface::vtable(self).SetCreateThreadsAggressively)(::windows::core::Interface::as_raw(self), bmetricenabled.into()).ok() } pub unsafe fn GetMaxCSR(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxCSR)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxCSR(&self, dwcsr: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxCSR)(::windows::core::Interface::as_raw(self), dwcsr).ok() } pub unsafe fn GetWaitTimeForThreadCleanup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWaitTimeForThreadCleanup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWaitTimeForThreadCleanup(&self, dwthreadcleanupwaittime: i32) -> ::windows::core::Result<()> { @@ -5809,11 +5809,11 @@ pub struct IComThreadEvents_Vtbl { pub struct IComTrackingInfoCollection(::windows::core::IUnknown); impl IComTrackingInfoCollection { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Item(&self, ulindex: u32, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -5925,7 +5925,7 @@ impl IComTrackingInfoObject { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), szpropertyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5978,11 +5978,11 @@ pub struct IComTrackingInfoObject_Vtbl { pub struct IComTrackingInfoProperties(::windows::core::IUnknown); impl IComTrackingInfoProperties { pub unsafe fn PropCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropName(&self, ulindex: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropName)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -6252,7 +6252,7 @@ impl IContextProperties { (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(pproperty)).ok() } pub unsafe fn EnumNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6640,13 +6640,13 @@ impl ICrmCompensator { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn PrepareRecord(&self, crmlogrec: CrmLogRecordRead) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrepareRecord)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(crmlogrec), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EndPrepare(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndPrepare)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6660,7 +6660,7 @@ impl ICrmCompensator { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn CommitRecord(&self, crmlogrec: CrmLogRecordRead) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitRecord)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(crmlogrec), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndCommit(&self) -> ::windows::core::Result<()> { @@ -6677,7 +6677,7 @@ impl ICrmCompensator { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn AbortRecord(&self, crmlogrec: CrmLogRecordRead) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AbortRecord)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(crmlogrec), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndAbort(&self) -> ::windows::core::Result<()> { @@ -6768,11 +6768,11 @@ impl ICrmCompensatorVariants { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PrepareRecordVariants(&self, plogrecord: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrepareRecordVariants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plogrecord), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndPrepareVariants(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndPrepareVariants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginCommitVariants(&self, brecovery: i16) -> ::windows::core::Result<()> { @@ -6781,7 +6781,7 @@ impl ICrmCompensatorVariants { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CommitRecordVariants(&self, plogrecord: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitRecordVariants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plogrecord), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndCommitVariants(&self) -> ::windows::core::Result<()> { @@ -6793,7 +6793,7 @@ impl ICrmCompensatorVariants { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AbortRecordVariants(&self, plogrecord: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AbortRecordVariants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plogrecord), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndAbortVariants(&self) -> ::windows::core::Result<()> { @@ -6864,19 +6864,19 @@ pub struct ICrmCompensatorVariants_Vtbl { pub struct ICrmFormatLogRecords(::windows::core::IUnknown); impl ICrmFormatLogRecords { pub unsafe fn GetColumnCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetColumnHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetColumn(&self, crmlogrec: CrmLogRecordRead) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(crmlogrec), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6885,7 +6885,7 @@ impl ICrmFormatLogRecords { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnVariants)(::windows::core::Interface::as_raw(self), logrecord.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6949,7 +6949,7 @@ impl ICrmLogControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TransactionUOW(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionUOW)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterCompensator<'a, P0, P1>(&self, lpcwstrprogidcompensator: P0, lpcwstrdescription: P1, lcrmregflags: i32) -> ::windows::core::Result<()> @@ -7042,7 +7042,7 @@ impl ICrmMonitor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClerks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClerks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7051,7 +7051,7 @@ impl ICrmMonitor { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HoldClerk)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7115,15 +7115,15 @@ impl ICrmMonitorClerks { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7132,7 +7132,7 @@ impl ICrmMonitorClerks { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProgIdCompensator)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7141,7 +7141,7 @@ impl ICrmMonitorClerks { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7150,7 +7150,7 @@ impl ICrmMonitorClerks { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionUOW)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7159,7 +7159,7 @@ impl ICrmMonitorClerks { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivityId)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7257,15 +7257,15 @@ pub struct ICrmMonitorClerks_Vtbl { pub struct ICrmMonitorLogRecords(::windows::core::IUnknown); impl ICrmMonitorLogRecords { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransactionState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StructuredRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StructuredRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7279,7 +7279,7 @@ impl ICrmMonitorLogRecords { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogRecordVariants)(::windows::core::Interface::as_raw(self), indexnumber.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7420,7 +7420,7 @@ impl IDispenserManager { P0: ::std::convert::Into<::windows::core::InParam<'a, IDispenserDriver>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterDispenser)(::windows::core::Interface::as_raw(self), __midl__idispensermanager0000.into().abi(), szdispensername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContext(&self, __midl__idispensermanager0002: *mut usize, __midl__idispensermanager0003: *mut usize) -> ::windows::core::Result<()> { @@ -7485,7 +7485,7 @@ impl IEnumNames { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7671,11 +7671,11 @@ impl IGetAppTrackerData { (::windows::core::Interface::vtable(self).GetComponentDetails)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(applicationinstanceid), processid, ::core::mem::transmute(clsid), flags, ::core::mem::transmute(summary), ::core::mem::transmute(statistics), ::core::mem::transmute(hangmonitorinfo)).ok() } pub unsafe fn GetTrackerDataAsCollectionObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTrackerDataAsCollectionObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetSuggestedPollingInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSuggestedPollingInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7751,7 +7751,7 @@ impl IGetContextProperties { (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(pproperty)).ok() } pub unsafe fn EnumNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7810,7 +7810,7 @@ impl IGetSecurityCallContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityCallContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityCallContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8189,7 +8189,7 @@ pub struct IMTSLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMTSLocator { pub unsafe fn GetEventDispatcher(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventDispatcher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -8331,11 +8331,11 @@ pub struct IManagedActivationEvents_Vtbl { pub struct IManagedObjectInfo(::windows::core::IUnknown); impl IManagedObjectInfo { pub unsafe fn GetIUnknown(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIUnknown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetIObjectControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIObjectControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8521,7 +8521,7 @@ impl IMessageMover { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourcePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourcePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8535,7 +8535,7 @@ impl IMessageMover { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DestPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8547,14 +8547,14 @@ impl IMessageMover { (::windows::core::Interface::vtable(self).SetDestPath)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn CommitBatchSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommitBatchSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCommitBatchSize(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCommitBatchSize)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn MoveMessages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveMessages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8651,23 +8651,23 @@ pub struct IMtsEventInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMtsEventInfo { pub unsafe fn Names(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Names)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EventID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8676,7 +8676,7 @@ impl IMtsEventInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Value)(::windows::core::Interface::as_raw(self), skey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8770,13 +8770,13 @@ impl IMtsEvents { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PackageName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PackageName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PackageGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PackageGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8785,11 +8785,11 @@ impl IMtsEvents { (::windows::core::Interface::vtable(self).PostEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(vevent)).ok() } pub unsafe fn FireEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FireEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8881,11 +8881,11 @@ pub struct IMtsGrp(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMtsGrp { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Item(&self, lindex: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -9332,7 +9332,7 @@ impl IObjectContextInfo { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsInTransaction)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetTransaction(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetTransactionId(&self, pguid: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -9403,7 +9403,7 @@ impl IObjectContextInfo2 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.IsInTransaction)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetTransaction(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetTransactionId(&self, pguid: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -9801,7 +9801,7 @@ pub struct ISecurityCallContext(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISecurityCallContext { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9810,11 +9810,11 @@ impl ISecurityCallContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9823,11 +9823,11 @@ impl ISecurityCallContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCallerInRole)(::windows::core::Interface::as_raw(self), bstrrole.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSecurityEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSecurityEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9836,7 +9836,7 @@ impl ISecurityCallContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUserInRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puser), bstrrole.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9929,17 +9929,17 @@ pub struct ISecurityCallersColl(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISecurityCallersColl { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -10023,7 +10023,7 @@ pub struct ISecurityIdentityColl(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISecurityIdentityColl { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10032,11 +10032,11 @@ impl ISecurityIdentityColl { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -10737,7 +10737,7 @@ impl IServicePoolConfig { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClassFactory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11305,7 +11305,7 @@ impl ISharedProperty { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11406,7 +11406,7 @@ impl ISharedPropertyGroup { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_PropertyByPosition(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PropertyByPosition)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -11423,7 +11423,7 @@ impl ISharedPropertyGroup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11530,11 +11530,11 @@ impl ISharedPropertyGroupManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Group)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -11772,7 +11772,7 @@ impl ITransactionContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), pszprogid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Commit(&self) -> ::windows::core::Result<()> { @@ -11948,7 +11948,7 @@ impl ITransactionProperty { (::windows::core::Interface::vtable(self).Reserved9)(::windows::core::Interface::as_raw(self)) } pub unsafe fn GetTransactionResourcePool(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransactionResourcePool)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reserved10(&self) { @@ -12047,7 +12047,7 @@ impl ITransactionProxy { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn Promote(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Promote)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -12056,7 +12056,7 @@ impl ITransactionProxy { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DistributedTransactionCoordinator::ITransactionVoterNotifyAsync2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVoter)(::windows::core::Interface::as_raw(self), ptxasync.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIsolationLevel(&self, __midl__itransactionproxy0000: *mut i32) -> ::windows::core::Result<()> { @@ -12142,7 +12142,7 @@ impl ITransactionResourcePool { where P0: ::std::convert::Into<::windows::core::InParam<'a, IObjPool>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResource)(::windows::core::Interface::as_raw(self), ppool.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -12343,7 +12343,7 @@ impl ObjectContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), bstrprogid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetComplete(&self) -> ::windows::core::Result<()> { @@ -12359,11 +12359,11 @@ impl ObjectContext { (::windows::core::Interface::vtable(self).DisableCommit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsInTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSecurityEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSecurityEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12372,11 +12372,11 @@ impl ObjectContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCallerInRole)(::windows::core::Interface::as_raw(self), bstrrole.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12385,23 +12385,23 @@ impl ObjectContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ContextInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContextInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12652,25 +12652,25 @@ impl SecurityProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDirectCallerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDirectCallerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDirectCreatorName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDirectCreatorName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOriginalCallerName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalCallerName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOriginalCreatorName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalCreatorName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs index 3b53b267e7..d379338409 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs @@ -604,7 +604,7 @@ where extern "system" { fn CreatePseudoConsole(size: COORD, hinput: super::super::Foundation::HANDLE, houtput: super::super::Foundation::HANDLE, dwflags: u32, phpc: *mut HPCON) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreatePseudoConsole(::core::mem::transmute(size), hinput.into(), houtput.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] 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 ba96c422a7..64155e6cac 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs @@ -361,7 +361,7 @@ impl IContactAggregationAggregate { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetComponentItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Link<'a, P0>(&self, paggregateid: P0) -> ::windows::core::Result<()> @@ -371,11 +371,11 @@ impl IContactAggregationAggregate { (::windows::core::Interface::vtable(self).Link)(::windows::core::Interface::as_raw(self), paggregateid.into()).ok() } pub unsafe fn get_Groups(&self, options: CONTACT_AGGREGATION_COLLECTION_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Groups)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AntiLink(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AntiLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAntiLink<'a, P0>(&self, pantilink: P0) -> ::windows::core::Result<()> @@ -385,14 +385,14 @@ impl IContactAggregationAggregate { (::windows::core::Interface::vtable(self).SetAntiLink)(::windows::core::Interface::as_raw(self), pantilink.into()).ok() } pub unsafe fn FavoriteOrder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FavoriteOrder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFavoriteOrder(&self, favoriteorder: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFavoriteOrder)(::windows::core::Interface::as_raw(self), favoriteorder).ok() } pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -450,22 +450,22 @@ pub struct IContactAggregationAggregate_Vtbl { pub struct IContactAggregationAggregateCollection(::windows::core::IUnknown); impl IContactAggregationAggregateCollection { pub unsafe fn FindFirst(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirst)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstByAntiLinkId<'a, P0>(&self, pantilinkid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstByAntiLinkId)(::windows::core::Interface::as_raw(self), pantilinkid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -533,7 +533,7 @@ impl IContactAggregationContact { (::windows::core::Interface::vtable(self).Unlink)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn AccountId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AccountId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAccountId<'a, P0>(&self, paccountid: P0) -> ::windows::core::Result<()> @@ -543,34 +543,34 @@ impl IContactAggregationContact { (::windows::core::Interface::vtable(self).SetAccountId)(::windows::core::Interface::as_raw(self), paccountid.into()).ok() } pub unsafe fn AggregateId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AggregateId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMe(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMe)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsExternal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsExternal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NetworkSourceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkSourceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNetworkSourceId(&self, networksourceid: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNetworkSourceId)(::windows::core::Interface::as_raw(self), networksourceid).ok() } pub unsafe fn NetworkSourceIdString(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkSourceIdString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetNetworkSourceIdString<'a, P0>(&self, pnetworksourceid: P0) -> ::windows::core::Result<()> @@ -580,14 +580,14 @@ impl IContactAggregationContact { (::windows::core::Interface::vtable(self).SetNetworkSourceIdString)(::windows::core::Interface::as_raw(self), pnetworksourceid.into()).ok() } pub unsafe fn RemoteObjectId(&self) -> ::windows::core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = ::core::mem::MaybeUninit::<*mut CONTACT_AGGREGATION_BLOB>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CONTACT_AGGREGATION_BLOB>(result__) } pub unsafe fn SetRemoteObjectId(&self, premoteobjectid: *const CONTACT_AGGREGATION_BLOB) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRemoteObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(premoteobjectid)).ok() } pub unsafe fn SyncIdentityHash(&self) -> ::windows::core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = ::core::mem::MaybeUninit::<*mut CONTACT_AGGREGATION_BLOB>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SyncIdentityHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CONTACT_AGGREGATION_BLOB>(result__) } pub unsafe fn SetSyncIdentityHash(&self, psyncidentityhash: *const CONTACT_AGGREGATION_BLOB) -> ::windows::core::Result<()> { @@ -663,11 +663,11 @@ pub struct IContactAggregationContact_Vtbl { pub struct IContactAggregationContactCollection(::windows::core::IUnknown); impl IContactAggregationContactCollection { pub unsafe fn FindFirst(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirst)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstByIdentityHash<'a, P0, P1>(&self, psourcetype: P0, paccountid: P1, pidentityhash: *const CONTACT_AGGREGATION_BLOB) -> ::windows::core::Result @@ -675,11 +675,11 @@ impl IContactAggregationContactCollection { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstByIdentityHash)(::windows::core::Interface::as_raw(self), psourcetype.into(), paccountid.into(), ::core::mem::transmute(pidentityhash), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstByRemoteId<'a, P0, P1>(&self, psourcetype: P0, paccountid: P1, premoteobjectid: *const CONTACT_AGGREGATION_BLOB) -> ::windows::core::Result @@ -687,7 +687,7 @@ impl IContactAggregationContactCollection { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstByRemoteId)(::windows::core::Interface::as_raw(self), psourcetype.into(), paccountid.into(), ::core::mem::transmute(premoteobjectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -759,22 +759,22 @@ impl IContactAggregationGroup { (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), paggregateid.into()).ok() } pub unsafe fn Members(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Members)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GlobalObjectId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GlobalObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetGlobalObjectId(&self, pglobalobjectid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGlobalObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pglobalobjectid)).ok() } pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetName<'a, P0>(&self, pname: P0) -> ::windows::core::Result<()> @@ -839,19 +839,19 @@ pub struct IContactAggregationGroup_Vtbl { pub struct IContactAggregationGroupCollection(::windows::core::IUnknown); impl IContactAggregationGroupCollection { pub unsafe fn FindFirst(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirst)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstByGlobalObjectId(&self, pglobalobjectid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstByGlobalObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pglobalobjectid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -910,7 +910,7 @@ impl IContactAggregationLink { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn AccountId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AccountId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAccountId<'a, P0>(&self, paccountid: P0) -> ::windows::core::Result<()> @@ -920,13 +920,13 @@ impl IContactAggregationLink { (::windows::core::Interface::vtable(self).SetAccountId)(::windows::core::Interface::as_raw(self), paccountid.into()).ok() } pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLinkResolved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLinkResolved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -938,7 +938,7 @@ impl IContactAggregationLink { (::windows::core::Interface::vtable(self).SetIsLinkResolved)(::windows::core::Interface::as_raw(self), islinkresolved.into()).ok() } pub unsafe fn NetworkSourceIdString(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkSourceIdString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetNetworkSourceIdString<'a, P0>(&self, pnetworksourceid: P0) -> ::windows::core::Result<()> @@ -948,14 +948,14 @@ impl IContactAggregationLink { (::windows::core::Interface::vtable(self).SetNetworkSourceIdString)(::windows::core::Interface::as_raw(self), pnetworksourceid.into()).ok() } pub unsafe fn RemoteObjectId(&self) -> ::windows::core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = ::core::mem::MaybeUninit::<*mut CONTACT_AGGREGATION_BLOB>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CONTACT_AGGREGATION_BLOB>(result__) } pub unsafe fn SetRemoteObjectId(&self, premoteobjectid: *const CONTACT_AGGREGATION_BLOB) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRemoteObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(premoteobjectid)).ok() } pub unsafe fn ServerPerson(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerPerson)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetServerPerson<'a, P0>(&self, pserverpersonid: P0) -> ::windows::core::Result<()> @@ -965,7 +965,7 @@ impl IContactAggregationLink { (::windows::core::Interface::vtable(self).SetServerPerson)(::windows::core::Interface::as_raw(self), pserverpersonid.into()).ok() } pub unsafe fn ServerPersonBaseline(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerPersonBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetServerPersonBaseline<'a, P0>(&self, pserverpersonid: P0) -> ::windows::core::Result<()> @@ -975,7 +975,7 @@ impl IContactAggregationLink { (::windows::core::Interface::vtable(self).SetServerPersonBaseline)(::windows::core::Interface::as_raw(self), pserverpersonid.into()).ok() } pub unsafe fn SyncIdentityHash(&self) -> ::windows::core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = ::core::mem::MaybeUninit::<*mut CONTACT_AGGREGATION_BLOB>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SyncIdentityHash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CONTACT_AGGREGATION_BLOB>(result__) } pub unsafe fn SetSyncIdentityHash(&self, psyncidentityhash: *const CONTACT_AGGREGATION_BLOB) -> ::windows::core::Result<()> { @@ -1050,7 +1050,7 @@ pub struct IContactAggregationLink_Vtbl { pub struct IContactAggregationLinkCollection(::windows::core::IUnknown); impl IContactAggregationLinkCollection { pub unsafe fn FindFirst(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirst)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstByRemoteId<'a, P0, P1>(&self, psourcetype: P0, paccountid: P1, premoteid: *const CONTACT_AGGREGATION_BLOB) -> ::windows::core::Result @@ -1058,15 +1058,15 @@ impl IContactAggregationLinkCollection { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstByRemoteId)(::windows::core::Interface::as_raw(self), psourcetype.into(), paccountid.into(), ::core::mem::transmute(premoteid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1130,15 +1130,15 @@ impl IContactAggregationManager { (::windows::core::Interface::vtable(self).CreateOrOpenGroup)(::windows::core::Interface::as_raw(self), pgroupname.into(), options, ::core::mem::transmute(pcreatedgroup), ::core::mem::transmute(ppgroup)).ok() } pub unsafe fn CreateExternalContact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateExternalContact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateServerPerson(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateServerPerson)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateServerContactLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateServerContactLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Flush(&self) -> ::windows::core::Result<()> { @@ -1148,51 +1148,51 @@ impl IContactAggregationManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenAggregateContact)(::windows::core::Interface::as_raw(self), pitemid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenContact<'a, P0>(&self, pitemid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenContact)(::windows::core::Interface::as_raw(self), pitemid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenServerContactLink<'a, P0>(&self, pitemid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenServerContactLink)(::windows::core::Interface::as_raw(self), pitemid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenServerPerson<'a, P0>(&self, pitemid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenServerPerson)(::windows::core::Interface::as_raw(self), pitemid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_Contacts(&self, options: CONTACT_AGGREGATION_COLLECTION_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Contacts)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_AggregateContacts(&self, options: CONTACT_AGGREGATION_COLLECTION_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AggregateContacts)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_Groups(&self, options: CONTACT_AGGREGATION_COLLECTION_OPTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Groups)(::windows::core::Interface::as_raw(self), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ServerPersons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerPersons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_ServerContactLinks<'a, P0>(&self, ppersonitemid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ServerContactLinks)(::windows::core::Interface::as_raw(self), ppersonitemid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1265,7 +1265,7 @@ impl IContactAggregationServerPerson { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn AggregateId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AggregateId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAggregateId<'a, P0>(&self, paggregateid: P0) -> ::windows::core::Result<()> @@ -1275,7 +1275,7 @@ impl IContactAggregationServerPerson { (::windows::core::Interface::vtable(self).SetAggregateId)(::windows::core::Interface::as_raw(self), paggregateid.into()).ok() } pub unsafe fn AntiLink(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AntiLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAntiLink<'a, P0>(&self, pantilink: P0) -> ::windows::core::Result<()> @@ -1285,7 +1285,7 @@ impl IContactAggregationServerPerson { (::windows::core::Interface::vtable(self).SetAntiLink)(::windows::core::Interface::as_raw(self), pantilink.into()).ok() } pub unsafe fn AntiLinkBaseline(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AntiLinkBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetAntiLinkBaseline<'a, P0>(&self, pantilink: P0) -> ::windows::core::Result<()> @@ -1295,41 +1295,41 @@ impl IContactAggregationServerPerson { (::windows::core::Interface::vtable(self).SetAntiLinkBaseline)(::windows::core::Interface::as_raw(self), pantilink.into()).ok() } pub unsafe fn FavoriteOrder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FavoriteOrder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFavoriteOrder(&self, favoriteorder: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFavoriteOrder)(::windows::core::Interface::as_raw(self), favoriteorder).ok() } pub unsafe fn FavoriteOrderBaseline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FavoriteOrderBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFavoriteOrderBaseline(&self, favoriteorder: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFavoriteOrderBaseline)(::windows::core::Interface::as_raw(self), favoriteorder).ok() } pub unsafe fn Groups(&self) -> ::windows::core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = ::core::mem::MaybeUninit::<*mut CONTACT_AGGREGATION_BLOB>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Groups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CONTACT_AGGREGATION_BLOB>(result__) } pub unsafe fn SetGroups(&self, pgroups: *const CONTACT_AGGREGATION_BLOB) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pgroups)).ok() } pub unsafe fn GroupsBaseline(&self) -> ::windows::core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = ::core::mem::MaybeUninit::<*mut CONTACT_AGGREGATION_BLOB>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GroupsBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CONTACT_AGGREGATION_BLOB>(result__) } pub unsafe fn SetGroupsBaseline(&self, pgroups: *const CONTACT_AGGREGATION_BLOB) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGroupsBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pgroups)).ok() } pub unsafe fn Id(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsTombstone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTombstone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1341,7 +1341,7 @@ impl IContactAggregationServerPerson { (::windows::core::Interface::vtable(self).SetIsTombstone)(::windows::core::Interface::as_raw(self), istombstone.into()).ok() } pub unsafe fn LinkedAggregateId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LinkedAggregateId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetLinkedAggregateId<'a, P0>(&self, plinkedaggregateid: P0) -> ::windows::core::Result<()> @@ -1351,7 +1351,7 @@ impl IContactAggregationServerPerson { (::windows::core::Interface::vtable(self).SetLinkedAggregateId)(::windows::core::Interface::as_raw(self), plinkedaggregateid.into()).ok() } pub unsafe fn ObjectId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetObjectId<'a, P0>(&self, pobjectid: P0) -> ::windows::core::Result<()> @@ -1435,36 +1435,36 @@ pub struct IContactAggregationServerPerson_Vtbl { pub struct IContactAggregationServerPersonCollection(::windows::core::IUnknown); impl IContactAggregationServerPersonCollection { pub unsafe fn FindFirst(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirst)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstByServerId<'a, P0>(&self, pserverid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstByServerId)(::windows::core::Interface::as_raw(self), pserverid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstByAggregateId<'a, P0>(&self, paggregateid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstByAggregateId)(::windows::core::Interface::as_raw(self), paggregateid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstByLinkedAggregateId<'a, P0>(&self, paggregateid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstByLinkedAggregateId)(::windows::core::Interface::as_raw(self), paggregateid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1525,7 +1525,7 @@ impl IContactCollection { (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1587,7 +1587,7 @@ impl IContactManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Load)(::windows::core::Interface::as_raw(self), pszcontactid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MergeContactIDs<'a, P0, P1>(&self, psznewcontactid: P0, pszoldcontactid: P1) -> ::windows::core::Result<()> @@ -1598,7 +1598,7 @@ impl IContactManager { (::windows::core::Interface::vtable(self).MergeContactIDs)(::windows::core::Interface::as_raw(self), psznewcontactid.into(), pszoldcontactid.into()).ok() } pub unsafe fn GetMeContact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMeContact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMeContact<'a, P0>(&self, pmecontact: P0) -> ::windows::core::Result<()> @@ -1608,7 +1608,7 @@ impl IContactManager { (::windows::core::Interface::vtable(self).SetMeContact)(::windows::core::Interface::as_raw(self), pmecontact.into().abi()).ok() } pub unsafe fn GetContactCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContactCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 94cbc92176..4a4f6d2f73 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -80,7 +80,7 @@ pub struct IWdsTransportCacheable(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportCacheable { pub unsafe fn Dirty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Dirty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Discard(&self) -> ::windows::core::Result<()> { @@ -173,55 +173,55 @@ impl IWdsTransportClient { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MacAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MacAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IpAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IpAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PercentCompletion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PercentCompletion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JoinDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JoinDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CpuUtilization(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CpuUtilization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MemoryUtilization(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MemoryUtilization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NetworkUtilization(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkUtilization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserIdentity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserIdentity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disconnect(&self, disconnectiontype: WDSTRANSPORT_DISCONNECT_TYPE) -> ::windows::core::Result<()> { @@ -329,17 +329,17 @@ pub struct IWdsTransportCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, ulindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -425,17 +425,17 @@ impl IWdsTransportConfigurationManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ServicePolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServicePolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DiagnosticsPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiagnosticsPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_WdsTransportServicesRunning(&self, brealtimestatus: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_WdsTransportServicesRunning)(::windows::core::Interface::as_raw(self), brealtimestatus, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableWdsTransportServices(&self) -> ::windows::core::Result<()> { @@ -548,17 +548,17 @@ impl IWdsTransportConfigurationManager2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ServicePolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServicePolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DiagnosticsPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DiagnosticsPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_WdsTransportServicesRunning(&self, brealtimestatus: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_WdsTransportServicesRunning)(::windows::core::Interface::as_raw(self), brealtimestatus, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableWdsTransportServices(&self) -> ::windows::core::Result<()> { @@ -582,7 +582,7 @@ impl IWdsTransportConfigurationManager2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MulticastSessionPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MulticastSessionPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -684,23 +684,23 @@ impl IWdsTransportContent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Namespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Namespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveSessions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetrieveSessions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Terminate(&self) -> ::windows::core::Result<()> { @@ -797,25 +797,25 @@ impl IWdsTransportContentProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FilePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FilePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InitializationRoutine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitializationRoutine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -909,7 +909,7 @@ pub struct IWdsTransportDiagnosticsPolicy(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportDiagnosticsPolicy { pub unsafe fn Dirty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Dirty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Discard(&self) -> ::windows::core::Result<()> { @@ -922,14 +922,14 @@ impl IWdsTransportDiagnosticsPolicy { (::windows::core::Interface::vtable(self).base__.Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, benabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), benabled).ok() } pub unsafe fn Components(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Components)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetComponents(&self, ulcomponents: u32) -> ::windows::core::Result<()> { @@ -1037,7 +1037,7 @@ impl IWdsTransportManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWdsTransportServer)(::windows::core::Interface::as_raw(self), bszservername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1119,7 +1119,7 @@ pub struct IWdsTransportMulticastSessionPolicy(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportMulticastSessionPolicy { pub unsafe fn Dirty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Dirty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Discard(&self) -> ::windows::core::Result<()> { @@ -1132,28 +1132,28 @@ impl IWdsTransportMulticastSessionPolicy { (::windows::core::Interface::vtable(self).base__.Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SlowClientHandling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SlowClientHandling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSlowClientHandling(&self, slowclienthandling: WDSTRANSPORT_SLOW_CLIENT_HANDLING_TYPE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSlowClientHandling)(::windows::core::Interface::as_raw(self), slowclienthandling).ok() } pub unsafe fn AutoDisconnectThreshold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoDisconnectThreshold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoDisconnectThreshold(&self, ulthreshold: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoDisconnectThreshold)(::windows::core::Interface::as_raw(self), ulthreshold).ok() } pub unsafe fn MultistreamStreamCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MultistreamStreamCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMultistreamStreamCount(&self, ulstreamcount: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMultistreamStreamCount)(::windows::core::Interface::as_raw(self), ulstreamcount).ok() } pub unsafe fn SlowClientFallback(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SlowClientFallback)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSlowClientFallback(&self, bclientfallback: i16) -> ::windows::core::Result<()> { @@ -1260,17 +1260,17 @@ pub struct IWdsTransportNamespace(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespace { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1284,7 +1284,7 @@ impl IWdsTransportNamespace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1298,7 +1298,7 @@ impl IWdsTransportNamespace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1312,7 +1312,7 @@ impl IWdsTransportNamespace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContentProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContentProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1326,7 +1326,7 @@ impl IWdsTransportNamespace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Configuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Configuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1338,19 +1338,19 @@ impl IWdsTransportNamespace { (::windows::core::Interface::vtable(self).SetConfiguration)(::windows::core::Interface::as_raw(self), bszconfiguration.into().abi()).ok() } pub unsafe fn Registered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Registered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Tombstoned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tombstoned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TombstoneTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TombstoneTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStarted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransmissionStarted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Register(&self) -> ::windows::core::Result<()> { @@ -1362,7 +1362,7 @@ impl IWdsTransportNamespace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -1371,7 +1371,7 @@ impl IWdsTransportNamespace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetrieveContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1506,17 +1506,17 @@ pub struct IWdsTransportNamespaceAutoCast(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceAutoCast { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1530,7 +1530,7 @@ impl IWdsTransportNamespaceAutoCast { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1544,7 +1544,7 @@ impl IWdsTransportNamespaceAutoCast { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1558,7 +1558,7 @@ impl IWdsTransportNamespaceAutoCast { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContentProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ContentProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1572,7 +1572,7 @@ impl IWdsTransportNamespaceAutoCast { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Configuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Configuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1584,19 +1584,19 @@ impl IWdsTransportNamespaceAutoCast { (::windows::core::Interface::vtable(self).base__.SetConfiguration)(::windows::core::Interface::as_raw(self), bszconfiguration.into().abi()).ok() } pub unsafe fn Registered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Registered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Tombstoned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Tombstoned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TombstoneTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TombstoneTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStarted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransmissionStarted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Register(&self) -> ::windows::core::Result<()> { @@ -1608,7 +1608,7 @@ impl IWdsTransportNamespaceAutoCast { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -1617,7 +1617,7 @@ impl IWdsTransportNamespaceAutoCast { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RetrieveContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1720,7 +1720,7 @@ impl IWdsTransportNamespaceManager { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNamespace)(::windows::core::Interface::as_raw(self), namespacetype, bsznamespacename.into().abi(), bszcontentprovider.into().abi(), bszconfiguration.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1729,7 +1729,7 @@ impl IWdsTransportNamespaceManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetrieveNamespace)(::windows::core::Interface::as_raw(self), bsznamespacename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1739,7 +1739,7 @@ impl IWdsTransportNamespaceManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetrieveNamespaces)(::windows::core::Interface::as_raw(self), bszcontentprovider.into().abi(), bsznamespacename.into().abi(), bincludetombstones, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1829,17 +1829,17 @@ pub struct IWdsTransportNamespaceScheduledCast(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceScheduledCast { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1853,7 +1853,7 @@ impl IWdsTransportNamespaceScheduledCast { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1867,7 +1867,7 @@ impl IWdsTransportNamespaceScheduledCast { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1881,7 +1881,7 @@ impl IWdsTransportNamespaceScheduledCast { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContentProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ContentProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1895,7 +1895,7 @@ impl IWdsTransportNamespaceScheduledCast { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Configuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Configuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1907,19 +1907,19 @@ impl IWdsTransportNamespaceScheduledCast { (::windows::core::Interface::vtable(self).base__.SetConfiguration)(::windows::core::Interface::as_raw(self), bszconfiguration.into().abi()).ok() } pub unsafe fn Registered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Registered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Tombstoned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Tombstoned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TombstoneTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TombstoneTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStarted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransmissionStarted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Register(&self) -> ::windows::core::Result<()> { @@ -1931,7 +1931,7 @@ impl IWdsTransportNamespaceScheduledCast { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -1940,7 +1940,7 @@ impl IWdsTransportNamespaceScheduledCast { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RetrieveContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartTransmission(&self) -> ::windows::core::Result<()> { @@ -2040,17 +2040,17 @@ pub struct IWdsTransportNamespaceScheduledCastAutoStart(::windows::core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceScheduledCastAutoStart { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2064,7 +2064,7 @@ impl IWdsTransportNamespaceScheduledCastAutoStart { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2078,7 +2078,7 @@ impl IWdsTransportNamespaceScheduledCastAutoStart { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2092,7 +2092,7 @@ impl IWdsTransportNamespaceScheduledCastAutoStart { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContentProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ContentProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2106,7 +2106,7 @@ impl IWdsTransportNamespaceScheduledCastAutoStart { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Configuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Configuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2118,19 +2118,19 @@ impl IWdsTransportNamespaceScheduledCastAutoStart { (::windows::core::Interface::vtable(self).base__.base__.SetConfiguration)(::windows::core::Interface::as_raw(self), bszconfiguration.into().abi()).ok() } pub unsafe fn Registered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Registered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Tombstoned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Tombstoned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TombstoneTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TombstoneTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStarted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TransmissionStarted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Register(&self) -> ::windows::core::Result<()> { @@ -2142,7 +2142,7 @@ impl IWdsTransportNamespaceScheduledCastAutoStart { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -2151,21 +2151,21 @@ impl IWdsTransportNamespaceScheduledCastAutoStart { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RetrieveContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartTransmission(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.StartTransmission)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn MinimumClients(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinimumClients)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinimumClients(&self, ulminimumclients: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinimumClients)(::windows::core::Interface::as_raw(self), ulminimumclients).ok() } pub unsafe fn StartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartTime(&self, starttime: f64) -> ::windows::core::Result<()> { @@ -2286,17 +2286,17 @@ pub struct IWdsTransportNamespaceScheduledCastManualStart(::windows::core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceScheduledCastManualStart { pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2310,7 +2310,7 @@ impl IWdsTransportNamespaceScheduledCastManualStart { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FriendlyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FriendlyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2324,7 +2324,7 @@ impl IWdsTransportNamespaceScheduledCastManualStart { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2338,7 +2338,7 @@ impl IWdsTransportNamespaceScheduledCastManualStart { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ContentProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ContentProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2352,7 +2352,7 @@ impl IWdsTransportNamespaceScheduledCastManualStart { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Configuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Configuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2364,19 +2364,19 @@ impl IWdsTransportNamespaceScheduledCastManualStart { (::windows::core::Interface::vtable(self).base__.base__.SetConfiguration)(::windows::core::Interface::as_raw(self), bszconfiguration.into().abi()).ok() } pub unsafe fn Registered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Registered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Tombstoned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Tombstoned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TombstoneTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TombstoneTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransmissionStarted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TransmissionStarted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Register(&self) -> ::windows::core::Result<()> { @@ -2388,7 +2388,7 @@ impl IWdsTransportNamespaceScheduledCastManualStart { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -2397,7 +2397,7 @@ impl IWdsTransportNamespaceScheduledCastManualStart { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RetrieveContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartTransmission(&self) -> ::windows::core::Result<()> { @@ -2516,25 +2516,25 @@ impl IWdsTransportServer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetupManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetupManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ConfigurationManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConfigurationManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NamespaceManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectClient(&self, ulclientid: u32, disconnectiontype: WDSTRANSPORT_DISCONNECT_TYPE) -> ::windows::core::Result<()> { @@ -2634,25 +2634,25 @@ impl IWdsTransportServer2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetupManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetupManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ConfigurationManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ConfigurationManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NamespaceManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectClient(&self, ulclientid: u32, disconnectiontype: WDSTRANSPORT_DISCONNECT_TYPE) -> ::windows::core::Result<()> { @@ -2661,7 +2661,7 @@ impl IWdsTransportServer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TftpManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TftpManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2761,7 +2761,7 @@ pub struct IWdsTransportServicePolicy(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServicePolicy { pub unsafe fn Dirty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Dirty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Discard(&self) -> ::windows::core::Result<()> { @@ -2774,7 +2774,7 @@ impl IWdsTransportServicePolicy { (::windows::core::Interface::vtable(self).base__.Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_IpAddressSource(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_IpAddressSource)(::windows::core::Interface::as_raw(self), addresstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_IpAddressSource(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, sourcetype: WDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE) -> ::windows::core::Result<()> { @@ -2783,7 +2783,7 @@ impl IWdsTransportServicePolicy { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_StartIpAddress(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_StartIpAddress)(::windows::core::Interface::as_raw(self), addresstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2797,7 +2797,7 @@ impl IWdsTransportServicePolicy { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_EndIpAddress(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_EndIpAddress)(::windows::core::Interface::as_raw(self), addresstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2809,21 +2809,21 @@ impl IWdsTransportServicePolicy { (::windows::core::Interface::vtable(self).put_EndIpAddress)(::windows::core::Interface::as_raw(self), addresstype, bszendipaddress.into().abi()).ok() } pub unsafe fn StartPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartPort(&self, ulstartport: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStartPort)(::windows::core::Interface::as_raw(self), ulstartport).ok() } pub unsafe fn EndPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEndPort(&self, ulendport: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEndPort)(::windows::core::Interface::as_raw(self), ulendport).ok() } pub unsafe fn NetworkProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNetworkProfile(&self, profiletype: WDSTRANSPORT_NETWORK_PROFILE_TYPE) -> ::windows::core::Result<()> { @@ -2946,7 +2946,7 @@ pub struct IWdsTransportServicePolicy2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServicePolicy2 { pub unsafe fn Dirty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Dirty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Discard(&self) -> ::windows::core::Result<()> { @@ -2959,7 +2959,7 @@ impl IWdsTransportServicePolicy2 { (::windows::core::Interface::vtable(self).base__.base__.Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_IpAddressSource(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_IpAddressSource)(::windows::core::Interface::as_raw(self), addresstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_IpAddressSource(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, sourcetype: WDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE) -> ::windows::core::Result<()> { @@ -2968,7 +2968,7 @@ impl IWdsTransportServicePolicy2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_StartIpAddress(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_StartIpAddress)(::windows::core::Interface::as_raw(self), addresstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2982,7 +2982,7 @@ impl IWdsTransportServicePolicy2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_EndIpAddress(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_EndIpAddress)(::windows::core::Interface::as_raw(self), addresstype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2994,42 +2994,42 @@ impl IWdsTransportServicePolicy2 { (::windows::core::Interface::vtable(self).base__.put_EndIpAddress)(::windows::core::Interface::as_raw(self), addresstype, bszendipaddress.into().abi()).ok() } pub unsafe fn StartPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StartPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStartPort(&self, ulstartport: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStartPort)(::windows::core::Interface::as_raw(self), ulstartport).ok() } pub unsafe fn EndPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEndPort(&self, ulendport: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetEndPort)(::windows::core::Interface::as_raw(self), ulendport).ok() } pub unsafe fn NetworkProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NetworkProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNetworkProfile(&self, profiletype: WDSTRANSPORT_NETWORK_PROFILE_TYPE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetNetworkProfile)(::windows::core::Interface::as_raw(self), profiletype).ok() } pub unsafe fn UdpPortPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UdpPortPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUdpPortPolicy(&self, udpportpolicy: WDSTRANSPORT_UDP_PORT_POLICY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUdpPortPolicy)(::windows::core::Interface::as_raw(self), udpportpolicy).ok() } pub unsafe fn TftpMaximumBlockSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TftpMaximumBlockSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTftpMaximumBlockSize(&self, ultftpmaximumblocksize: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTftpMaximumBlockSize)(::windows::core::Interface::as_raw(self), ultftpmaximumblocksize).ok() } pub unsafe fn EnableTftpVariableWindowExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableTftpVariableWindowExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableTftpVariableWindowExtension(&self, benabletftpvariablewindowextension: i16) -> ::windows::core::Result<()> { @@ -3154,37 +3154,37 @@ impl IWdsTransportSession { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkInterfaceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkInterfaceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NetworkInterfaceAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkInterfaceAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransferRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransferRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MasterClientId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MasterClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveClients(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetrieveClients)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Terminate(&self) -> ::windows::core::Result<()> { @@ -3285,15 +3285,15 @@ pub struct IWdsTransportSetupManager(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportSetupManager { pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InstalledFeatures(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstalledFeatures)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Protocols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Protocols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3401,15 +3401,15 @@ pub struct IWdsTransportSetupManager2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportSetupManager2 { pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InstalledFeatures(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InstalledFeatures)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Protocols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Protocols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3432,13 +3432,13 @@ impl IWdsTransportSetupManager2 { (::windows::core::Interface::vtable(self).base__.DeregisterContentProvider)(::windows::core::Interface::as_raw(self), bszname.into().abi()).ok() } pub unsafe fn TftpCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TftpCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ContentProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContentProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3541,33 +3541,33 @@ impl IWdsTransportTftpClient { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IpAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IpAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Timeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Timeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFileOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFileOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BlockSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WindowSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3660,7 +3660,7 @@ impl IWdsTransportTftpManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveTftpClients(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetrieveTftpClients)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5723,7 +5723,7 @@ where extern "system" { fn WdsCliCreateSession(pwszserver: ::windows::core::PCWSTR, pcred: *const WDS_CLI_CRED, phsession: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliCreateSession(pwszserver.into(), ::core::mem::transmute(pcred), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5737,7 +5737,7 @@ where extern "system" { fn WdsCliFindFirstImage(hsession: super::super::Foundation::HANDLE, phfindhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliFindFirstImage(hsession.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5776,7 +5776,7 @@ where extern "system" { fn WdsCliGetDriverQueryXml(pwszwindirpath: ::windows::core::PCWSTR, ppwszdriverquery: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetDriverQueryXml(pwszwindirpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5790,7 +5790,7 @@ where extern "system" { fn WdsCliGetEnumerationFlags(handle: super::super::Foundation::HANDLE, pdwflags: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetEnumerationFlags(handle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5804,7 +5804,7 @@ where extern "system" { fn WdsCliGetImageArchitecture(hifh: super::super::Foundation::HANDLE, pdwvalue: *mut CPU_ARCHITECTURE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageArchitecture(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5818,7 +5818,7 @@ where extern "system" { fn WdsCliGetImageDescription(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageDescription(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5845,7 +5845,7 @@ where extern "system" { fn WdsCliGetImageGroup(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageGroup(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5859,7 +5859,7 @@ where extern "system" { fn WdsCliGetImageHalName(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageHalName(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5873,7 +5873,7 @@ where extern "system" { fn WdsCliGetImageHandleFromFindHandle(findhandle: super::super::Foundation::HANDLE, phimagehandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageHandleFromFindHandle(findhandle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5887,7 +5887,7 @@ where extern "system" { fn WdsCliGetImageHandleFromTransferHandle(htransfer: super::super::Foundation::HANDLE, phimagehandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageHandleFromTransferHandle(htransfer.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5901,7 +5901,7 @@ where extern "system" { fn WdsCliGetImageIndex(hifh: super::super::Foundation::HANDLE, pdwvalue: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageIndex(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5915,7 +5915,7 @@ where extern "system" { fn WdsCliGetImageLanguage(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageLanguage(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5942,7 +5942,7 @@ where extern "system" { fn WdsCliGetImageLastModifiedTime(hifh: super::super::Foundation::HANDLE, ppsystimevalue: *mut *mut super::super::Foundation::SYSTEMTIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::Foundation::SYSTEMTIME>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageLastModifiedTime(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::Foundation::SYSTEMTIME>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5956,7 +5956,7 @@ where extern "system" { fn WdsCliGetImageName(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageName(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5970,7 +5970,7 @@ where extern "system" { fn WdsCliGetImageNamespace(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageNamespace(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -5997,7 +5997,7 @@ where extern "system" { fn WdsCliGetImagePath(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImagePath(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -6011,7 +6011,7 @@ where extern "system" { fn WdsCliGetImageSize(hifh: super::super::Foundation::HANDLE, pullvalue: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageSize(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -6025,7 +6025,7 @@ where extern "system" { fn WdsCliGetImageType(hifh: super::super::Foundation::HANDLE, pimagetype: *mut WDS_CLI_IMAGE_TYPE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageType(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -6039,7 +6039,7 @@ where extern "system" { fn WdsCliGetImageVersion(hifh: super::super::Foundation::HANDLE, ppwszvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetImageVersion(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -6053,7 +6053,7 @@ where extern "system" { fn WdsCliGetTransferSize(hifh: super::super::Foundation::HANDLE, pullvalue: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliGetTransferSize(hifh.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -6143,7 +6143,7 @@ where extern "system" { fn WdsCliTransferFile(pwszserver: ::windows::core::PCWSTR, pwsznamespace: ::windows::core::PCWSTR, pwszremotefilepath: ::windows::core::PCWSTR, pwszlocalfilepath: ::windows::core::PCWSTR, dwflags: u32, dwreserved: u32, pfnwdsclicallback: *mut ::core::ffi::c_void, pvuserdata: *const ::core::ffi::c_void, phtransfer: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliTransferFile(pwszserver.into(), pwsznamespace.into(), pwszremotefilepath.into(), pwszlocalfilepath.into(), dwflags, dwreserved, ::core::mem::transmute(pfnwdsclicallback), ::core::mem::transmute(pvuserdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -6158,7 +6158,7 @@ where extern "system" { fn WdsCliTransferImage(himage: super::super::Foundation::HANDLE, pwszlocalpath: ::windows::core::PCWSTR, dwflags: u32, dwreserved: u32, pfnwdsclicallback: *mut ::core::ffi::c_void, pvuserdata: *const ::core::ffi::c_void, phtransfer: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WdsCliTransferImage(himage.into(), pwszlocalpath.into(), dwflags, dwreserved, ::core::mem::transmute(pfnwdsclicallback), ::core::mem::transmute(pvuserdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] 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 ced7d77d0c..f3e6ebf80b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs @@ -412,15 +412,15 @@ impl IRDPSRAPIApplication { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Windows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shared(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Shared)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShared(&self, newval: i16) -> ::windows::core::Result<()> { @@ -429,11 +429,11 @@ impl IRDPSRAPIApplication { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -525,17 +525,17 @@ impl IRDPSRAPIApplicationFilter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Applications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Applications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Windows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, newval: i16) -> ::windows::core::Result<()> { @@ -626,13 +626,13 @@ pub struct IRDPSRAPIApplicationList(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIApplicationList { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, item: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), item, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -715,17 +715,17 @@ pub struct IRDPSRAPIAttendee(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIAttendee { pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ControlLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetControlLevel(&self, pnewval: CTRL_LEVEL) -> ::windows::core::Result<()> { @@ -734,18 +734,18 @@ impl IRDPSRAPIAttendee { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Invitation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Invitation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TerminateConnection(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).TerminateConnection)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConnectivityInfo(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectivityInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -839,15 +839,15 @@ impl IRDPSRAPIAttendeeDisconnectInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Attendee(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Attendee)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Reason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -931,13 +931,13 @@ pub struct IRDPSRAPIAttendeeManager(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIAttendeeManager { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1018,7 +1018,7 @@ pub struct IRDPSRAPIAttendeeManager_Vtbl { pub struct IRDPSRAPIAudioStream(::windows::core::IUnknown); impl IRDPSRAPIAudioStream { pub unsafe fn Initialize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Start(&self) -> ::windows::core::Result<()> { @@ -1089,7 +1089,7 @@ impl IRDPSRAPIClipboardUseEvents { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnPasteFromClipboard)(::windows::core::Interface::as_raw(self), clipboardformat, pattendee.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1152,7 +1152,7 @@ impl IRDPSRAPIDebug { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CLXCmdLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CLXCmdLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1211,21 +1211,21 @@ pub struct IRDPSRAPIFrameBuffer(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIFrameBuffer { pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Bpp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Bpp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFrameBufferBits(&self, x: i32, y: i32, width: i32, heigth: i32) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameBufferBits)(::windows::core::Interface::as_raw(self), x, y, width, heigth, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } } @@ -1312,30 +1312,30 @@ impl IRDPSRAPIInvitation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ConnectionString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectionString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GroupName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GroupName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Password(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Password)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AttendeeLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttendeeLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttendeeLimit(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAttendeeLimit)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn Revoked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Revoked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRevoked(&self, newval: i16) -> ::windows::core::Result<()> { @@ -1432,7 +1432,7 @@ pub struct IRDPSRAPIInvitationManager(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIInvitationManager { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1441,11 +1441,11 @@ impl IRDPSRAPIInvitationManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), item.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1456,7 +1456,7 @@ impl IRDPSRAPIInvitationManager { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInvitation)(::windows::core::Interface::as_raw(self), bstrauthstring.into().abi(), bstrgroupname.into().abi(), bstrpassword.into().abi(), attendeelimit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1596,7 +1596,7 @@ impl IRDPSRAPIPerfCounterLoggingManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLogger)(::windows::core::Interface::as_raw(self), bstrcountername.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1656,7 +1656,7 @@ impl IRDPSRAPISessionProperties { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), propertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1760,37 +1760,37 @@ impl IRDPSRAPISharingSession { (::windows::core::Interface::vtable(self).SetColorDepth)(::windows::core::Interface::as_raw(self), colordepth).ok() } pub unsafe fn ColorDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ColorDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Attendees(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Attendees)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Invitations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Invitations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn VirtualChannelManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VirtualChannelManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -1929,37 +1929,37 @@ impl IRDPSRAPISharingSession2 { (::windows::core::Interface::vtable(self).base__.SetColorDepth)(::windows::core::Interface::as_raw(self), colordepth).ok() } pub unsafe fn ColorDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ColorDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Attendees(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Attendees)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Invitations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Invitations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ApplicationFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn VirtualChannelManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VirtualChannelManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -1995,7 +1995,7 @@ impl IRDPSRAPISharingSession2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FrameBuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FrameBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2111,27 +2111,27 @@ pub struct IRDPSRAPITcpConnectionInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPITcpConnectionInfo { pub unsafe fn Protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LocalPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalIP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalIP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PeerPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeerPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PeerIP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeerIP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2218,7 +2218,7 @@ pub struct IRDPSRAPITcpConnectionInfo_Vtbl { pub struct IRDPSRAPITransportStream(::windows::core::IUnknown); impl IRDPSRAPITransportStream { pub unsafe fn AllocBuffer(&self, maxpayload: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocBuffer)(::windows::core::Interface::as_raw(self), maxpayload, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeBuffer<'a, P0>(&self, pbuffer: P0) -> ::windows::core::Result<()> @@ -2300,36 +2300,36 @@ pub struct IRDPSRAPITransportStream_Vtbl { pub struct IRDPSRAPITransportStreamBuffer(::windows::core::IUnknown); impl IRDPSRAPITransportStreamBuffer { pub unsafe fn Storage(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Storage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } pub unsafe fn StorageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StorageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PayloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PayloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPayloadSize(&self, lval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPayloadSize)(::windows::core::Interface::as_raw(self), lval).ok() } pub unsafe fn PayloadOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PayloadOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPayloadOffset(&self, lretval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPayloadOffset)(::windows::core::Interface::as_raw(self), lretval).ok() } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, lflags: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), lflags).ok() } pub unsafe fn Context(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Context)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetContext<'a, P0>(&self, pcontext: P0) -> ::windows::core::Result<()> @@ -2474,32 +2474,32 @@ impl IRDPSRAPIViewer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Attendees(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Attendees)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Invitations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Invitations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn VirtualChannelManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VirtualChannelManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmartSizing(&self, vbsmartsizing: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSmartSizing)(::windows::core::Interface::as_raw(self), vbsmartsizing).ok() } pub unsafe fn SmartSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmartSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestControl(&self, ctrllevel: CTRL_LEVEL) -> ::windows::core::Result<()> { @@ -2516,7 +2516,7 @@ impl IRDPSRAPIViewer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisconnectedText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisconnectedText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestColorDepthChange(&self, bpp: i32) -> ::windows::core::Result<()> { @@ -2525,7 +2525,7 @@ impl IRDPSRAPIViewer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2536,7 +2536,7 @@ impl IRDPSRAPIViewer { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartReverseConnectListener)(::windows::core::Interface::as_raw(self), bstrconnectionstring.into().abi(), bstrusername.into().abi(), bstrpassword.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2668,15 +2668,15 @@ impl IRDPSRAPIVirtualChannel { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2765,7 +2765,7 @@ pub struct IRDPSRAPIVirtualChannelManager(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIVirtualChannelManager { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2774,7 +2774,7 @@ impl IRDPSRAPIVirtualChannelManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), item.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2783,7 +2783,7 @@ impl IRDPSRAPIVirtualChannelManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVirtualChannel)(::windows::core::Interface::as_raw(self), bstrchannelname.into().abi(), priority, channelflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2870,17 +2870,17 @@ pub struct IRDPSRAPIWindow(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIWindow { pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shared(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Shared)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShared(&self, newval: i16) -> ::windows::core::Result<()> { @@ -2889,14 +2889,14 @@ impl IRDPSRAPIWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Show(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Show)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2987,13 +2987,13 @@ pub struct IRDPSRAPIWindowList(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIWindowList { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, item: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), item, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs index 9a82497306..af5c862893 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs @@ -9,7 +9,7 @@ where extern "system" { fn AcquireDeveloperLicense(hwndparent: super::super::Foundation::HWND, pexpiration: *mut super::super::Foundation::FILETIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AcquireDeveloperLicense(hwndparent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeveloperLicensing\"`, `\"Win32_Foundation\"`*"] @@ -20,7 +20,7 @@ pub unsafe fn CheckDeveloperLicense() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CheckDeveloperLicense(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DeveloperLicensing\"`, `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs index 37fa50b4d0..11d3d1cbca 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/WebApp/mod.rs @@ -61,7 +61,7 @@ impl IWebApplicationAuthoringMode { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AuthoringClientBinary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthoringClientBinary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -148,7 +148,7 @@ impl IWebApplicationHost { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] pub unsafe fn Document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { 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 2a6335daf3..3a7ace668a 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 @@ -2761,7 +2761,7 @@ where extern "system" { fn CreateDataModelManager(debughost: *mut ::core::ffi::c_void, manager: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateDataModelManager(debughost.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -7003,7 +7003,7 @@ pub unsafe fn DebugActiveProcessStop(dwprocessid: u32) -> super::super::super::F pub struct DebugBaseEventCallbacks(::windows::core::IUnknown); impl DebugBaseEventCallbacks { pub unsafe fn GetInterestMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetInterestMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Breakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -7122,7 +7122,7 @@ pub struct DebugBaseEventCallbacks_Vtbl { pub struct DebugBaseEventCallbacksWide(::windows::core::IUnknown); impl DebugBaseEventCallbacksWide { pub unsafe fn GetInterestMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetInterestMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Breakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -9558,7 +9558,7 @@ impl IActiveScript { (::windows::core::Interface::vtable(self).SetScriptState)(::windows::core::Interface::as_raw(self), ss).ok() } pub unsafe fn GetScriptState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScriptState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -9579,19 +9579,19 @@ impl IActiveScript { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScriptDispatch)(::windows::core::Interface::as_raw(self), pstritemname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentScriptThreadID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentScriptThreadID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScriptThreadID(&self, dwwin32threadid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScriptThreadID)(::windows::core::Interface::as_raw(self), dwwin32threadid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScriptThreadState(&self, stidthread: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScriptThreadState)(::windows::core::Interface::as_raw(self), stidthread, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9600,7 +9600,7 @@ impl IActiveScript { (::windows::core::Interface::vtable(self).InterruptScriptThread)(::windows::core::Interface::as_raw(self), stidthread, ::core::mem::transmute(pexcepinfo), dwflags).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9708,11 +9708,11 @@ impl IActiveScriptAuthor { (::windows::core::Interface::vtable(self).GetScriptletTextAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pszcode), ::core::mem::transmute(cch), pszdelimiter.into(), dwflags, ::core::mem::transmute(pattr)).ok() } pub unsafe fn GetRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguageFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguageFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9724,7 +9724,7 @@ impl IActiveScriptAuthor { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventHandler)(::windows::core::Interface::as_raw(self), pdisp.into().abi(), pszitem.into(), pszsubitem.into(), pszevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveNamedItem<'a, P0>(&self, pszname: P0) -> ::windows::core::Result<()> @@ -9742,7 +9742,7 @@ impl IActiveScriptAuthor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetChars(&self, frequestedlist: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChars)(::windows::core::Interface::as_raw(self), frequestedlist, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInfoFromContext<'a, P0>(&self, pszcode: P0, cchcode: u32, ichcurrentposition: u32, dwlisttypesrequested: u32, pdwlisttypesprovided: *mut u32, pichlistanchorposition: *mut u32, pichfuncanchorposition: *mut u32, pmemid: *mut i32, picurrentparameter: *mut i32, ppunk: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> @@ -9754,7 +9754,7 @@ impl IActiveScriptAuthor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCommitChar(&self, ch: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCommitChar)(::windows::core::Interface::as_raw(self), ch, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9903,7 +9903,7 @@ impl IActiveScriptDebug32 { (::windows::core::Interface::vtable(self).GetScriptletTextAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstrcode), ::core::mem::transmute(unumcodechars), pstrdelimiter.into(), dwflags, ::core::mem::transmute(pattr)).ok() } pub unsafe fn EnumCodeContextsOfPosition(&self, dwsourcecontext: u32, ucharacteroffset: u32, unumchars: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCodeContextsOfPosition)(::windows::core::Interface::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9967,7 +9967,7 @@ impl IActiveScriptDebug64 { (::windows::core::Interface::vtable(self).GetScriptletTextAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstrcode), ::core::mem::transmute(unumcodechars), pstrdelimiter.into(), dwflags, ::core::mem::transmute(pattr)).ok() } pub unsafe fn EnumCodeContextsOfPosition(&self, dwsourcecontext: u64, ucharacteroffset: u32, unumchars: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCodeContextsOfPosition)(::windows::core::Interface::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10089,7 +10089,7 @@ impl IActiveScriptError { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetExceptionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExceptionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourcePosition(&self, pdwsourcecontext: *mut u32, pullinenumber: *mut u32, plcharacterposition: *mut i32) -> ::windows::core::Result<()> { @@ -10098,7 +10098,7 @@ impl IActiveScriptError { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceLineText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceLineText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10158,7 +10158,7 @@ impl IActiveScriptError64 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetExceptionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExceptionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourcePosition(&self, pdwsourcecontext: *mut u32, pullinenumber: *mut u32, plcharacterposition: *mut i32) -> ::windows::core::Result<()> { @@ -10167,7 +10167,7 @@ impl IActiveScriptError64 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceLineText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSourceLineText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourcePosition64(&self, pdwsourcecontext: *mut u64, pullinenumber: *mut u32, plcharacterposition: *mut i32) -> ::windows::core::Result<()> { @@ -10237,7 +10237,7 @@ impl IActiveScriptErrorDebug { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetExceptionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExceptionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourcePosition(&self, pdwsourcecontext: *mut u32, pullinenumber: *mut u32, plcharacterposition: *mut i32) -> ::windows::core::Result<()> { @@ -10246,15 +10246,15 @@ impl IActiveScriptErrorDebug { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceLineText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSourceLineText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStackFrame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStackFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10320,7 +10320,7 @@ pub struct IActiveScriptErrorDebug_Vtbl { pub struct IActiveScriptErrorDebug110(::windows::core::IUnknown); impl IActiveScriptErrorDebug110 { pub unsafe fn GetExceptionThrownKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExceptionThrownKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10649,7 +10649,7 @@ impl IActiveScriptParseProcedure2_32 { P4: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P5: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParseProcedureText)(::windows::core::Interface::as_raw(self), pstrcode.into(), pstrformalparams.into(), pstrprocedurename.into(), pstritemname.into(), punkcontext.into().abi(), pstrdelimiter.into(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10723,7 +10723,7 @@ impl IActiveScriptParseProcedure2_64 { P4: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P5: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParseProcedureText)(::windows::core::Interface::as_raw(self), pstrcode.into(), pstrformalparams.into(), pstrprocedurename.into(), pstritemname.into(), punkcontext.into().abi(), pstrdelimiter.into(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10797,7 +10797,7 @@ impl IActiveScriptParseProcedure32 { P4: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P5: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParseProcedureText)(::windows::core::Interface::as_raw(self), pstrcode.into(), pstrformalparams.into(), pstrprocedurename.into(), pstritemname.into(), punkcontext.into().abi(), pstrdelimiter.into(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10860,7 +10860,7 @@ impl IActiveScriptParseProcedure64 { P4: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P5: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParseProcedureText)(::windows::core::Interface::as_raw(self), pstrcode.into(), pstrformalparams.into(), pstrprocedurename.into(), pstritemname.into(), punkcontext.into().abi(), pstrdelimiter.into(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10922,7 +10922,7 @@ impl IActiveScriptParseProcedureOld32 { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P4: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParseProcedureText)(::windows::core::Interface::as_raw(self), pstrcode.into(), pstrformalparams.into(), pstritemname.into(), punkcontext.into().abi(), pstrdelimiter.into(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10984,7 +10984,7 @@ impl IActiveScriptParseProcedureOld64 { P3: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P4: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParseProcedureText)(::windows::core::Interface::as_raw(self), pstrcode.into(), pstrformalparams.into(), pstritemname.into(), punkcontext.into().abi(), pstrdelimiter.into(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11480,7 +11480,7 @@ impl IActiveScriptProfilerControl3 { (::windows::core::Interface::vtable(self).base__.PrepareProfilerStop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumHeap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumHeap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11575,7 +11575,7 @@ impl IActiveScriptProfilerControl4 { (::windows::core::Interface::vtable(self).base__.base__.PrepareProfilerStop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumHeap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumHeap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SummarizeHeap(&self, heapsummary: *mut PROFILER_HEAP_SUMMARY) -> ::windows::core::Result<()> { @@ -11688,14 +11688,14 @@ impl IActiveScriptProfilerControl5 { (::windows::core::Interface::vtable(self).base__.base__.base__.PrepareProfilerStop)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumHeap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumHeap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SummarizeHeap(&self, heapsummary: *mut PROFILER_HEAP_SUMMARY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SummarizeHeap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(heapsummary)).ok() } pub unsafe fn EnumHeap2(&self, enumflags: PROFILER_HEAP_ENUM_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumHeap2)(::windows::core::Interface::as_raw(self), enumflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11873,7 +11873,7 @@ impl IActiveScriptProperty { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetProperty(&self, dwproperty: u32, pvarindex: *const super::super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), dwproperty, ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11935,7 +11935,7 @@ pub struct IActiveScriptProperty_Vtbl { pub struct IActiveScriptSIPInfo(::windows::core::IUnknown); impl IActiveScriptSIPInfo { pub unsafe fn GetSIPOID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSIPOID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -11985,7 +11985,7 @@ pub struct IActiveScriptSIPInfo_Vtbl { pub struct IActiveScriptSite(::windows::core::IUnknown); impl IActiveScriptSite { pub unsafe fn GetLCID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLCID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11999,7 +11999,7 @@ impl IActiveScriptSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDocVersionString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocVersionString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12085,15 +12085,15 @@ pub struct IActiveScriptSite_Vtbl { pub struct IActiveScriptSiteDebug32(::windows::core::IUnknown); impl IActiveScriptSiteDebug32 { pub unsafe fn GetDocumentContextFromPosition(&self, dwsourcecontext: u32, ucharacteroffset: u32, unumchars: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentContextFromPosition)(::windows::core::Interface::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootApplicationNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootApplicationNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12157,15 +12157,15 @@ pub struct IActiveScriptSiteDebug32_Vtbl { pub struct IActiveScriptSiteDebug64(::windows::core::IUnknown); impl IActiveScriptSiteDebug64 { pub unsafe fn GetDocumentContextFromPosition(&self, dwsourcecontext: u64, ucharacteroffset: u32, unumchars: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentContextFromPosition)(::windows::core::Interface::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootApplicationNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootApplicationNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12234,7 +12234,7 @@ impl IActiveScriptSiteDebugEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, IActiveScriptErrorDebug>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnCanNotJITScriptErrorDebug)(::windows::core::Interface::as_raw(self), perrordebug.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12385,7 +12385,7 @@ pub struct IActiveScriptSiteTraceInfo_Vtbl { pub struct IActiveScriptSiteUIControl(::windows::core::IUnknown); impl IActiveScriptSiteUIControl { pub unsafe fn GetUIBehavior(&self, uicitem: SCRIPTUICITEM) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUIBehavior)(::windows::core::Interface::as_raw(self), uicitem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12437,7 +12437,7 @@ impl IActiveScriptSiteWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12565,7 +12565,7 @@ impl IActiveScriptStringCompare { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StrComp)(::windows::core::Interface::as_raw(self), bszstr1.into().abi(), bszstr2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12676,7 +12676,7 @@ impl IActiveScriptWinRTErrorDebug { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetExceptionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExceptionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourcePosition(&self, pdwsourcecontext: *mut u32, pullinenumber: *mut u32, plcharacterposition: *mut i32) -> ::windows::core::Result<()> { @@ -12685,25 +12685,25 @@ impl IActiveScriptWinRTErrorDebug { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceLineText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSourceLineText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRestrictedErrorString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestrictedErrorString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRestrictedErrorReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestrictedErrorReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCapabilitySid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilitySid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12785,7 +12785,7 @@ impl IApplicationDebugger { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstanceAtDebugger)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), punkouter.into().abi(), dwclscontext, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn onDebugOutput<'a, P0>(&self, pstr: P0) -> ::windows::core::Result<()> @@ -12982,7 +12982,7 @@ impl ICodeAddressConcept { where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainingSymbol)(::windows::core::Interface::as_raw(self), pcontextobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13036,7 +13036,7 @@ impl IComparableConcept { P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareObjects)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), otherobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13096,7 +13096,7 @@ impl IDataModelConcept { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13153,14 +13153,14 @@ impl IDataModelManager { (::windows::core::Interface::vtable(self).Close)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn CreateNoValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNoValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateErrorObject<'a, P0>(&self, hrerror: ::windows::core::HRESULT, pwszmessage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateErrorObject)(::windows::core::Interface::as_raw(self), hrerror, pwszmessage.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypedObject<'a, P0, P1>(&self, context: P0, objectlocation: Location, objecttype: P1) -> ::windows::core::Result @@ -13168,7 +13168,7 @@ impl IDataModelManager { P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTypedObject)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(objectlocation), objecttype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypedObjectReference<'a, P0, P1>(&self, context: P0, objectlocation: Location, objecttype: P1) -> ::windows::core::Result @@ -13176,27 +13176,27 @@ impl IDataModelManager { P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTypedObjectReference)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(objectlocation), objecttype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSyntheticObject<'a, P0>(&self, context: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSyntheticObject)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDataModelObject<'a, P0>(&self, datamodel: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDataModelConcept>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDataModelObject)(::windows::core::Interface::as_raw(self), datamodel.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreateIntrinsicObject(&self, objectkind: ModelObjectKind, intrinsicdata: *const super::super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateIntrinsicObject)(::windows::core::Interface::as_raw(self), objectkind, ::core::mem::transmute(intrinsicdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13205,14 +13205,14 @@ impl IDataModelManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTypedIntrinsicObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(intrinsicdata), r#type.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModelForTypeSignature<'a, P0>(&self, typesignature: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostTypeSignature>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModelForTypeSignature)(::windows::core::Interface::as_raw(self), typesignature.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModelForType<'a, P0>(&self, r#type: P0, datamodel: *mut ::core::option::Option, typesignature: *mut ::core::option::Option, wildcardmatches: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -13253,11 +13253,11 @@ impl IDataModelManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, IKeyStore>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMetadataStore)(::windows::core::Interface::as_raw(self), parentstore.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootNamespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootNamespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterNamedModel<'a, P0, P1>(&self, modelname: P0, modeobject: P1) -> ::windows::core::Result<()> @@ -13277,7 +13277,7 @@ impl IDataModelManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AcquireNamedModel)(::windows::core::Interface::as_raw(self), modelname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13355,14 +13355,14 @@ impl IDataModelManager2 { (::windows::core::Interface::vtable(self).base__.Close)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn CreateNoValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateNoValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateErrorObject<'a, P0>(&self, hrerror: ::windows::core::HRESULT, pwszmessage: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateErrorObject)(::windows::core::Interface::as_raw(self), hrerror, pwszmessage.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypedObject<'a, P0, P1>(&self, context: P0, objectlocation: Location, objecttype: P1) -> ::windows::core::Result @@ -13370,7 +13370,7 @@ impl IDataModelManager2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTypedObject)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(objectlocation), objecttype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypedObjectReference<'a, P0, P1>(&self, context: P0, objectlocation: Location, objecttype: P1) -> ::windows::core::Result @@ -13378,27 +13378,27 @@ impl IDataModelManager2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTypedObjectReference)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(objectlocation), objecttype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSyntheticObject<'a, P0>(&self, context: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSyntheticObject)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDataModelObject<'a, P0>(&self, datamodel: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDataModelConcept>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDataModelObject)(::windows::core::Interface::as_raw(self), datamodel.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreateIntrinsicObject(&self, objectkind: ModelObjectKind, intrinsicdata: *const super::super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateIntrinsicObject)(::windows::core::Interface::as_raw(self), objectkind, ::core::mem::transmute(intrinsicdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13407,14 +13407,14 @@ impl IDataModelManager2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTypedIntrinsicObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(intrinsicdata), r#type.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModelForTypeSignature<'a, P0>(&self, typesignature: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostTypeSignature>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetModelForTypeSignature)(::windows::core::Interface::as_raw(self), typesignature.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModelForType<'a, P0>(&self, r#type: P0, datamodel: *mut ::core::option::Option, typesignature: *mut ::core::option::Option, wildcardmatches: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -13455,11 +13455,11 @@ impl IDataModelManager2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IKeyStore>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMetadataStore)(::windows::core::Interface::as_raw(self), parentstore.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootNamespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRootNamespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterNamedModel<'a, P0, P1>(&self, modelname: P0, modeobject: P1) -> ::windows::core::Result<()> @@ -13479,7 +13479,7 @@ impl IDataModelManager2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AcquireNamedModel)(::windows::core::Interface::as_raw(self), modelname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcquireSubNamespace<'a, P0, P1, P2, P3>(&self, modelname: P0, subnamespacemodelname: P1, accessname: P2, metadata: P3) -> ::windows::core::Result @@ -13489,7 +13489,7 @@ impl IDataModelManager2 { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::InParam<'a, IKeyStore>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AcquireSubNamespace)(::windows::core::Interface::as_raw(self), modelname.into(), subnamespacemodelname.into(), accessname.into(), metadata.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13499,7 +13499,7 @@ impl IDataModelManager2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTypedIntrinsicObjectEx)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(intrinsicdata), r#type.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13585,14 +13585,14 @@ impl IDataModelNameBinder { where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateValues)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateReferences<'a, P0>(&self, contextobject: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateReferences)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13647,7 +13647,7 @@ impl IDataModelScript { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Rename<'a, P0>(&self, scriptname: P0) -> ::windows::core::Result<()> @@ -13674,7 +13674,7 @@ impl IDataModelScript { (::windows::core::Interface::vtable(self).Unlink)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsInvocable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInvocable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InvokeMain<'a, P0>(&self, client: P0) -> ::windows::core::Result<()> @@ -13802,23 +13802,23 @@ impl IDataModelScriptDebug { (::windows::core::Interface::vtable(self).GetCurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(currentposition), ::core::mem::transmute(positionspanend), ::core::mem::transmute(linetext)).ok() } pub unsafe fn GetStack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBreakpoint(&self, lineposition: u32, columnposition: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetBreakpoint)(::windows::core::Interface::as_raw(self), lineposition, columnposition, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindBreakpointById(&self, breakpointid: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindBreakpointById)(::windows::core::Interface::as_raw(self), breakpointid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateBreakpoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateBreakpoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventFilter(&self, eventfilter: ScriptDebugEventFilter) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventFilter)(::windows::core::Interface::as_raw(self), eventfilter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventFilter(&self, eventfilter: ScriptDebugEventFilter, isbreakenabled: u8) -> ::windows::core::Result<()> { @@ -13903,23 +13903,23 @@ impl IDataModelScriptDebug2 { (::windows::core::Interface::vtable(self).base__.GetCurrentPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(currentposition), ::core::mem::transmute(positionspanend), ::core::mem::transmute(linetext)).ok() } pub unsafe fn GetStack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBreakpoint(&self, lineposition: u32, columnposition: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetBreakpoint)(::windows::core::Interface::as_raw(self), lineposition, columnposition, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindBreakpointById(&self, breakpointid: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindBreakpointById)(::windows::core::Interface::as_raw(self), breakpointid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateBreakpoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateBreakpoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventFilter(&self, eventfilter: ScriptDebugEventFilter) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventFilter)(::windows::core::Interface::as_raw(self), eventfilter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventFilter(&self, eventfilter: ScriptDebugEventFilter, isbreakenabled: u8) -> ::windows::core::Result<()> { @@ -13941,7 +13941,7 @@ impl IDataModelScriptDebug2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetBreakpointAtFunction)(::windows::core::Interface::as_raw(self), functionname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14083,7 +14083,7 @@ impl IDataModelScriptDebugBreakpointEnumerator { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14190,7 +14190,7 @@ impl IDataModelScriptDebugStack { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetFrameCount)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetStackFrame(&self, framenumber: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStackFrame)(::windows::core::Interface::as_raw(self), framenumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14243,7 +14243,7 @@ impl IDataModelScriptDebugStackFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14252,7 +14252,7 @@ impl IDataModelScriptDebugStackFrame { (::windows::core::Interface::vtable(self).GetPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(position), ::core::mem::transmute(positionspanend), ::core::mem::transmute(linetext)).ok() } pub unsafe fn IsTransitionPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTransitionPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransition(&self, transitionscript: *mut ::core::option::Option, istransitioncontiguous: *mut bool) -> ::windows::core::Result<()> { @@ -14262,15 +14262,15 @@ impl IDataModelScriptDebugStackFrame { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Evaluate)(::windows::core::Interface::as_raw(self), pwszexpression.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateLocals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateLocals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateArguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateArguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14396,7 +14396,7 @@ impl IDataModelScriptHostContext { (::windows::core::Interface::vtable(self).NotifyScriptChange)(::windows::core::Interface::as_raw(self), script.into().abi(), changekind).ok() } pub unsafe fn GetNamespaceObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamespaceObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14447,7 +14447,7 @@ pub struct IDataModelScriptHostContext_Vtbl { pub struct IDataModelScriptManager(::windows::core::IUnknown); impl IDataModelScriptManager { pub unsafe fn GetDefaultNameBinder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultNameBinder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterScriptProvider<'a, P0>(&self, provider: P0) -> ::windows::core::Result<()> @@ -14466,18 +14466,18 @@ impl IDataModelScriptManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindProviderForScriptType)(::windows::core::Interface::as_raw(self), scripttype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindProviderForScriptExtension<'a, P0>(&self, scriptextension: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindProviderForScriptExtension)(::windows::core::Interface::as_raw(self), scriptextension.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateScriptProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateScriptProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14534,25 +14534,25 @@ impl IDataModelScriptProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateScript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateScript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultTemplateContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultTemplateContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateTemplates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateTemplates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14615,7 +14615,7 @@ impl IDataModelScriptProviderEnumerator { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14668,19 +14668,19 @@ impl IDataModelScriptTemplate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14744,7 +14744,7 @@ impl IDataModelScriptTemplateEnumerator { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15128,11 +15128,11 @@ impl IDebugApplication11032 { (::windows::core::Interface::vtable(self).base__.SetDebuggerOptions)(::windows::core::Interface::as_raw(self), mask, value).ok() } pub unsafe fn GetCurrentDebuggerOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentDebuggerOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMainThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMainThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SynchronousCallInMainThread<'a, P0>(&self, pptc: P0, dwparam1: usize, dwparam2: usize, dwparam3: usize) -> ::windows::core::Result<()> @@ -15150,7 +15150,7 @@ impl IDebugApplication11032 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CallableWaitForHandles(&self, phandles: &[super::super::super::Foundation::HANDLE]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallableWaitForHandles)(::windows::core::Interface::as_raw(self), phandles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(phandles)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15223,11 +15223,11 @@ impl IDebugApplication11064 { (::windows::core::Interface::vtable(self).base__.SetDebuggerOptions)(::windows::core::Interface::as_raw(self), mask, value).ok() } pub unsafe fn GetCurrentDebuggerOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentDebuggerOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMainThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMainThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SynchronousCallInMainThread<'a, P0>(&self, pptc: P0, dwparam1: usize, dwparam2: usize, dwparam3: usize) -> ::windows::core::Result<()> @@ -15245,7 +15245,7 @@ impl IDebugApplication11064 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CallableWaitForHandles(&self, phandles: &[super::super::super::Foundation::HANDLE]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CallableWaitForHandles)(::windows::core::Interface::as_raw(self), phandles.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(phandles)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15333,35 +15333,35 @@ impl IDebugApplication32 { (::windows::core::Interface::vtable(self).base__.DisconnectDebugger)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDebugger(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDebugger)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstanceAtApplication<'a, P0>(&self, rclsid: *const ::windows::core::GUID, punkouter: P0, dwclscontext: u32, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateInstanceAtApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), punkouter.into().abi(), dwclscontext, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn QueryAlive(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.QueryAlive)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumThreads(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumThreads)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRootNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumGlobalExpressionContexts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumGlobalExpressionContexts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetName<'a, P0>(&self, pstrname: P0) -> ::windows::core::Result<()> @@ -15383,7 +15383,7 @@ impl IDebugApplication32 { (::windows::core::Interface::vtable(self).StartDebugSession)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn HandleBreakPoint(&self, br: BREAKREASON) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HandleBreakPoint)(::windows::core::Interface::as_raw(self), br, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -15393,21 +15393,21 @@ impl IDebugApplication32 { (::windows::core::Interface::vtable(self).GetBreakFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pabf), ::core::mem::transmute(pprdatsteppingthread)).ok() } pub unsafe fn GetCurrentThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAsyncDebugOperation<'a, P0>(&self, psdo: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSyncOperation>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAsyncDebugOperation)(::windows::core::Interface::as_raw(self), psdo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddStackFrameSniffer<'a, P0>(&self, pdsfs: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugStackFrameSniffer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddStackFrameSniffer)(::windows::core::Interface::as_raw(self), pdsfs.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveStackFrameSniffer(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -15423,7 +15423,7 @@ impl IDebugApplication32 { (::windows::core::Interface::vtable(self).SynchronousCallInDebuggerThread)(::windows::core::Interface::as_raw(self), pptc.into().abi(), dwparam1, dwparam2, dwparam3).ok() } pub unsafe fn CreateApplicationNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateApplicationNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FireDebuggerEvent<'a, P0>(&self, riid: *const ::windows::core::GUID, punk: P0) -> ::windows::core::Result<()> @@ -15455,7 +15455,7 @@ impl IDebugApplication32 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IProvideExpressionContexts>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddGlobalExpressionContextProvider)(::windows::core::Interface::as_raw(self), pdsfs.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveGlobalExpressionContextProvider(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -15569,35 +15569,35 @@ impl IDebugApplication64 { (::windows::core::Interface::vtable(self).base__.DisconnectDebugger)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDebugger(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDebugger)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstanceAtApplication<'a, P0>(&self, rclsid: *const ::windows::core::GUID, punkouter: P0, dwclscontext: u32, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateInstanceAtApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), punkouter.into().abi(), dwclscontext, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn QueryAlive(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.QueryAlive)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumThreads(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumThreads)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRootNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumGlobalExpressionContexts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumGlobalExpressionContexts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetName<'a, P0>(&self, pstrname: P0) -> ::windows::core::Result<()> @@ -15619,7 +15619,7 @@ impl IDebugApplication64 { (::windows::core::Interface::vtable(self).StartDebugSession)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn HandleBreakPoint(&self, br: BREAKREASON) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HandleBreakPoint)(::windows::core::Interface::as_raw(self), br, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -15629,21 +15629,21 @@ impl IDebugApplication64 { (::windows::core::Interface::vtable(self).GetBreakFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pabf), ::core::mem::transmute(pprdatsteppingthread)).ok() } pub unsafe fn GetCurrentThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAsyncDebugOperation<'a, P0>(&self, psdo: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSyncOperation>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAsyncDebugOperation)(::windows::core::Interface::as_raw(self), psdo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddStackFrameSniffer<'a, P0>(&self, pdsfs: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugStackFrameSniffer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddStackFrameSniffer)(::windows::core::Interface::as_raw(self), pdsfs.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveStackFrameSniffer(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -15659,7 +15659,7 @@ impl IDebugApplication64 { (::windows::core::Interface::vtable(self).SynchronousCallInDebuggerThread)(::windows::core::Interface::as_raw(self), pptc.into().abi(), dwparam1, dwparam2, dwparam3).ok() } pub unsafe fn CreateApplicationNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateApplicationNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FireDebuggerEvent<'a, P0>(&self, riid: *const ::windows::core::GUID, punk: P0) -> ::windows::core::Result<()> @@ -15691,7 +15691,7 @@ impl IDebugApplication64 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IProvideExpressionContexts>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddGlobalExpressionContextProvider)(::windows::core::Interface::as_raw(self), pdsfs.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveGlobalExpressionContextProvider(&self, dwcookie: u64) -> ::windows::core::Result<()> { @@ -15789,23 +15789,23 @@ impl IDebugApplicationNode { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetName)(::windows::core::Interface::as_raw(self), dnt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentClassId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDocumentClassId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDocumentProvider<'a, P0>(&self, pddp: P0) -> ::windows::core::Result<()> @@ -15911,7 +15911,7 @@ impl IDebugApplicationNode100 { (::windows::core::Interface::vtable(self).SetFilterForEventSink)(::windows::core::Interface::as_raw(self), dwcookie, filter).ok() } pub unsafe fn GetExcludedDocuments(&self, filter: APPLICATION_NODE_EVENT_FILTER) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExcludedDocuments)(::windows::core::Interface::as_raw(self), filter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryIsChildNode<'a, P0>(&self, psearchkey: P0) -> ::windows::core::Result<()> @@ -16039,15 +16039,15 @@ pub struct IDebugApplicationNodeEvents_Vtbl { pub struct IDebugApplicationThread(::windows::core::IUnknown); impl IDebugApplicationThread { pub unsafe fn GetSystemThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSystemThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStackFrames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumStackFrames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16063,19 +16063,19 @@ impl IDebugApplicationThread { (::windows::core::Interface::vtable(self).base__.SetNextStatement)(::windows::core::Interface::as_raw(self), pstackframe.into().abi(), pcodecontext.into().abi()).ok() } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Suspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Suspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Resume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSuspendCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSuspendCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SynchronousCallIntoThread32<'a, P0>(&self, pstcb: P0, dwparam1: u32, dwparam2: u32, dwparam3: u32) -> ::windows::core::Result<()> @@ -16168,19 +16168,19 @@ pub struct IDebugApplicationThread_Vtbl { pub struct IDebugApplicationThread11032(::windows::core::IUnknown); impl IDebugApplicationThread11032 { pub unsafe fn GetActiveThreadRequestCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveThreadRequestCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSuspendedForBreakPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSuspendedForBreakPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsThreadCallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsThreadCallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AsynchronousCallIntoThread<'a, P0>(&self, pptc: P0, dwparam1: usize, dwparam2: usize, dwparam3: usize) -> ::windows::core::Result<()> @@ -16245,19 +16245,19 @@ pub struct IDebugApplicationThread11032_Vtbl { pub struct IDebugApplicationThread11064(::windows::core::IUnknown); impl IDebugApplicationThread11064 { pub unsafe fn GetActiveThreadRequestCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveThreadRequestCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSuspendedForBreakPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSuspendedForBreakPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsThreadCallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsThreadCallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AsynchronousCallIntoThread<'a, P0>(&self, pptc: P0, dwparam1: usize, dwparam2: usize, dwparam3: usize) -> ::windows::core::Result<()> @@ -16322,15 +16322,15 @@ pub struct IDebugApplicationThread11064_Vtbl { pub struct IDebugApplicationThread64(::windows::core::IUnknown); impl IDebugApplicationThread64 { pub unsafe fn GetSystemThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSystemThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStackFrames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumStackFrames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16346,19 +16346,19 @@ impl IDebugApplicationThread64 { (::windows::core::Interface::vtable(self).base__.base__.SetNextStatement)(::windows::core::Interface::as_raw(self), pstackframe.into().abi(), pcodecontext.into().abi()).ok() } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Suspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Suspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Resume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSuspendCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSuspendCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SynchronousCallIntoThread32<'a, P0>(&self, pstcb: P0, dwparam1: u32, dwparam2: u32, dwparam3: u32) -> ::windows::core::Result<()> @@ -16529,7 +16529,7 @@ pub struct IDebugApplicationThreadEvents110_Vtbl { pub struct IDebugAsyncOperation(::windows::core::IUnknown); impl IDebugAsyncOperation { pub unsafe fn GetSyncDebugOperation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncDebugOperation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Start<'a, P0>(&self, padocb: P0) -> ::windows::core::Result<()> @@ -16647,18 +16647,18 @@ pub struct IDebugAsyncOperationCallBack_Vtbl { pub struct IDebugBreakpoint(::windows::core::IUnknown); impl IDebugBreakpoint { pub unsafe fn GetId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self, breaktype: *mut u32, proctype: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(breaktype), ::core::mem::transmute(proctype)).ok() } pub unsafe fn GetAdder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddFlags(&self, flags: u32) -> ::windows::core::Result<()> { @@ -16671,7 +16671,7 @@ impl IDebugBreakpoint { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOffset(&self, offset: u64) -> ::windows::core::Result<()> { @@ -16684,18 +16684,18 @@ impl IDebugBreakpoint { (::windows::core::Interface::vtable(self).SetDataParameters)(::windows::core::Interface::as_raw(self), size, accesstype).ok() } pub unsafe fn GetPassCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPassCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPassCount(&self, count: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPassCount)(::windows::core::Interface::as_raw(self), count).ok() } pub unsafe fn GetCurrentPassCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPassCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMatchThreadId(&self, thread: u32) -> ::windows::core::Result<()> { @@ -16720,7 +16720,7 @@ impl IDebugBreakpoint { (::windows::core::Interface::vtable(self).SetOffsetExpression)(::windows::core::Interface::as_raw(self), expression.into()).ok() } pub unsafe fn GetParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16790,18 +16790,18 @@ pub struct IDebugBreakpoint_Vtbl { pub struct IDebugBreakpoint2(::windows::core::IUnknown); impl IDebugBreakpoint2 { pub unsafe fn GetId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self, breaktype: *mut u32, proctype: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(breaktype), ::core::mem::transmute(proctype)).ok() } pub unsafe fn GetAdder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddFlags(&self, flags: u32) -> ::windows::core::Result<()> { @@ -16814,7 +16814,7 @@ impl IDebugBreakpoint2 { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOffset(&self, offset: u64) -> ::windows::core::Result<()> { @@ -16827,18 +16827,18 @@ impl IDebugBreakpoint2 { (::windows::core::Interface::vtable(self).SetDataParameters)(::windows::core::Interface::as_raw(self), size, accesstype).ok() } pub unsafe fn GetPassCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPassCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPassCount(&self, count: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPassCount)(::windows::core::Interface::as_raw(self), count).ok() } pub unsafe fn GetCurrentPassCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPassCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMatchThreadId(&self, thread: u32) -> ::windows::core::Result<()> { @@ -16863,7 +16863,7 @@ impl IDebugBreakpoint2 { (::windows::core::Interface::vtable(self).SetOffsetExpression)(::windows::core::Interface::as_raw(self), expression.into()).ok() } pub unsafe fn GetParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCommandWide(&self, buffer: &mut [u16], commandsize: *mut u32) -> ::windows::core::Result<()> { @@ -16955,18 +16955,18 @@ pub struct IDebugBreakpoint2_Vtbl { pub struct IDebugBreakpoint3(::windows::core::IUnknown); impl IDebugBreakpoint3 { pub unsafe fn GetId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self, breaktype: *mut u32, proctype: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(breaktype), ::core::mem::transmute(proctype)).ok() } pub unsafe fn GetAdder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddFlags(&self, flags: u32) -> ::windows::core::Result<()> { @@ -16979,7 +16979,7 @@ impl IDebugBreakpoint3 { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOffset(&self, offset: u64) -> ::windows::core::Result<()> { @@ -16992,18 +16992,18 @@ impl IDebugBreakpoint3 { (::windows::core::Interface::vtable(self).SetDataParameters)(::windows::core::Interface::as_raw(self), size, accesstype).ok() } pub unsafe fn GetPassCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPassCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPassCount(&self, count: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPassCount)(::windows::core::Interface::as_raw(self), count).ok() } pub unsafe fn GetCurrentPassCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPassCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMatchThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMatchThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMatchThreadId(&self, thread: u32) -> ::windows::core::Result<()> { @@ -17028,7 +17028,7 @@ impl IDebugBreakpoint3 { (::windows::core::Interface::vtable(self).SetOffsetExpression)(::windows::core::Interface::as_raw(self), expression.into()).ok() } pub unsafe fn GetParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCommandWide(&self, buffer: &mut [u16], commandsize: *mut u32) -> ::windows::core::Result<()> { @@ -17050,7 +17050,7 @@ impl IDebugBreakpoint3 { (::windows::core::Interface::vtable(self).SetOffsetExpressionWide)(::windows::core::Interface::as_raw(self), expression.into()).ok() } pub unsafe fn GetGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -17149,7 +17149,7 @@ impl IDebugClient { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServer)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> ::windows::core::Result<()> { @@ -17162,7 +17162,7 @@ impl IDebugClient { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u8], actualexenamesize: *mut u32, description: &mut [u8], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -17184,7 +17184,7 @@ impl IDebugClient { (::windows::core::Interface::vtable(self).CreateProcessAndAttach)(::windows::core::Interface::as_raw(self), server, commandline.into(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -17233,7 +17233,7 @@ impl IDebugClient { (::windows::core::Interface::vtable(self).EndSession)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -17246,11 +17246,11 @@ impl IDebugClient { (::windows::core::Interface::vtable(self).ExitDispatch)(::windows::core::Interface::as_raw(self), client.into().abi()).ok() } pub unsafe fn CreateClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -17260,7 +17260,7 @@ impl IDebugClient { (::windows::core::Interface::vtable(self).SetInputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -17270,7 +17270,7 @@ impl IDebugClient { (::windows::core::Interface::vtable(self).SetOutputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -17280,7 +17280,7 @@ impl IDebugClient { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugClient>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherOutputMask<'a, P0>(&self, client: P0, mask: u32) -> ::windows::core::Result<()> @@ -17290,7 +17290,7 @@ impl IDebugClient { (::windows::core::Interface::vtable(self).SetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> ::windows::core::Result<()> { @@ -17315,7 +17315,7 @@ impl IDebugClient { (::windows::core::Interface::vtable(self).OutputIdentity)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -17442,7 +17442,7 @@ impl IDebugClient2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServer)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> ::windows::core::Result<()> { @@ -17455,7 +17455,7 @@ impl IDebugClient2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u8], actualexenamesize: *mut u32, description: &mut [u8], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -17477,7 +17477,7 @@ impl IDebugClient2 { (::windows::core::Interface::vtable(self).CreateProcessAndAttach)(::windows::core::Interface::as_raw(self), server, commandline.into(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -17526,7 +17526,7 @@ impl IDebugClient2 { (::windows::core::Interface::vtable(self).EndSession)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -17539,11 +17539,11 @@ impl IDebugClient2 { (::windows::core::Interface::vtable(self).ExitDispatch)(::windows::core::Interface::as_raw(self), client.into().abi()).ok() } pub unsafe fn CreateClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -17553,7 +17553,7 @@ impl IDebugClient2 { (::windows::core::Interface::vtable(self).SetInputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -17563,7 +17563,7 @@ impl IDebugClient2 { (::windows::core::Interface::vtable(self).SetOutputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -17573,7 +17573,7 @@ impl IDebugClient2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugClient>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherOutputMask<'a, P0>(&self, client: P0, mask: u32) -> ::windows::core::Result<()> @@ -17583,7 +17583,7 @@ impl IDebugClient2 { (::windows::core::Interface::vtable(self).SetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> ::windows::core::Result<()> { @@ -17608,7 +17608,7 @@ impl IDebugClient2 { (::windows::core::Interface::vtable(self).OutputIdentity)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -17774,7 +17774,7 @@ impl IDebugClient3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServer)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> ::windows::core::Result<()> { @@ -17787,7 +17787,7 @@ impl IDebugClient3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u8], actualexenamesize: *mut u32, description: &mut [u8], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -17809,7 +17809,7 @@ impl IDebugClient3 { (::windows::core::Interface::vtable(self).CreateProcessAndAttach)(::windows::core::Interface::as_raw(self), server, commandline.into(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -17858,7 +17858,7 @@ impl IDebugClient3 { (::windows::core::Interface::vtable(self).EndSession)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -17871,11 +17871,11 @@ impl IDebugClient3 { (::windows::core::Interface::vtable(self).ExitDispatch)(::windows::core::Interface::as_raw(self), client.into().abi()).ok() } pub unsafe fn CreateClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -17885,7 +17885,7 @@ impl IDebugClient3 { (::windows::core::Interface::vtable(self).SetInputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -17895,7 +17895,7 @@ impl IDebugClient3 { (::windows::core::Interface::vtable(self).SetOutputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -17905,7 +17905,7 @@ impl IDebugClient3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugClient>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherOutputMask<'a, P0>(&self, client: P0, mask: u32) -> ::windows::core::Result<()> @@ -17915,7 +17915,7 @@ impl IDebugClient3 { (::windows::core::Interface::vtable(self).SetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> ::windows::core::Result<()> { @@ -17940,7 +17940,7 @@ impl IDebugClient3 { (::windows::core::Interface::vtable(self).OutputIdentity)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -17987,7 +17987,7 @@ impl IDebugClient3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u16], actualexenamesize: *mut u32, description: &mut [u16], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -18132,7 +18132,7 @@ impl IDebugClient4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServer)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> ::windows::core::Result<()> { @@ -18145,7 +18145,7 @@ impl IDebugClient4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u8], actualexenamesize: *mut u32, description: &mut [u8], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -18167,7 +18167,7 @@ impl IDebugClient4 { (::windows::core::Interface::vtable(self).CreateProcessAndAttach)(::windows::core::Interface::as_raw(self), server, commandline.into(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -18216,7 +18216,7 @@ impl IDebugClient4 { (::windows::core::Interface::vtable(self).EndSession)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -18229,11 +18229,11 @@ impl IDebugClient4 { (::windows::core::Interface::vtable(self).ExitDispatch)(::windows::core::Interface::as_raw(self), client.into().abi()).ok() } pub unsafe fn CreateClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -18243,7 +18243,7 @@ impl IDebugClient4 { (::windows::core::Interface::vtable(self).SetInputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -18253,7 +18253,7 @@ impl IDebugClient4 { (::windows::core::Interface::vtable(self).SetOutputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -18263,7 +18263,7 @@ impl IDebugClient4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugClient>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherOutputMask<'a, P0>(&self, client: P0, mask: u32) -> ::windows::core::Result<()> @@ -18273,7 +18273,7 @@ impl IDebugClient4 { (::windows::core::Interface::vtable(self).SetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> ::windows::core::Result<()> { @@ -18298,7 +18298,7 @@ impl IDebugClient4 { (::windows::core::Interface::vtable(self).OutputIdentity)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -18345,7 +18345,7 @@ impl IDebugClient4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u16], actualexenamesize: *mut u32, description: &mut [u16], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -18383,7 +18383,7 @@ impl IDebugClient4 { (::windows::core::Interface::vtable(self).AddDumpInformationFileWide)(::windows::core::Interface::as_raw(self), filename.into(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberDumpFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: &mut [u8], namesize: *mut u32, handle: *mut u64, r#type: *mut u32) -> ::windows::core::Result<()> { @@ -18525,7 +18525,7 @@ impl IDebugClient5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServer)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> ::windows::core::Result<()> { @@ -18538,7 +18538,7 @@ impl IDebugClient5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u8], actualexenamesize: *mut u32, description: &mut [u8], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -18560,7 +18560,7 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).CreateProcessAndAttach)(::windows::core::Interface::as_raw(self), server, commandline.into(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -18609,7 +18609,7 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).EndSession)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -18622,11 +18622,11 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).ExitDispatch)(::windows::core::Interface::as_raw(self), client.into().abi()).ok() } pub unsafe fn CreateClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -18636,7 +18636,7 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).SetInputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -18646,7 +18646,7 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).SetOutputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -18656,7 +18656,7 @@ impl IDebugClient5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugClient>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherOutputMask<'a, P0>(&self, client: P0, mask: u32) -> ::windows::core::Result<()> @@ -18666,7 +18666,7 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).SetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> ::windows::core::Result<()> { @@ -18691,7 +18691,7 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).OutputIdentity)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -18738,7 +18738,7 @@ impl IDebugClient5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u16], actualexenamesize: *mut u32, description: &mut [u16], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -18776,7 +18776,7 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).AddDumpInformationFileWide)(::windows::core::Interface::as_raw(self), filename.into(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberDumpFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: &mut [u8], namesize: *mut u32, handle: *mut u64, r#type: *mut u32) -> ::windows::core::Result<()> { @@ -18810,7 +18810,7 @@ impl IDebugClient5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServerWide)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartServerWide<'a, P0>(&self, options: P0) -> ::windows::core::Result<()> @@ -18826,7 +18826,7 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).OutputServersWide)(::windows::core::Interface::as_raw(self), outputcontrol, machine.into(), flags).ok() } pub unsafe fn GetOutputCallbacksWide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacksWide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacksWide<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -18854,7 +18854,7 @@ impl IDebugClient5 { (::windows::core::Interface::vtable(self).OutputIdentityWide)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacksWide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacksWide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacksWide<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -18899,29 +18899,29 @@ impl IDebugClient5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PushOutputLinePrefix)(::windows::core::Interface::as_raw(self), newprefix.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PushOutputLinePrefixWide<'a, P0>(&self, newprefix: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PushOutputLinePrefixWide)(::windows::core::Interface::as_raw(self), newprefix.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PopOutputLinePrefix(&self, handle: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).PopOutputLinePrefix)(::windows::core::Interface::as_raw(self), handle).ok() } pub unsafe fn GetNumberInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberEventCallbacks(&self, eventflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberEventCallbacks)(::windows::core::Interface::as_raw(self), eventflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQuitLockString(&self, buffer: &mut [u8], stringsize: *mut u32) -> ::windows::core::Result<()> { @@ -19104,7 +19104,7 @@ impl IDebugClient6 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServer)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> ::windows::core::Result<()> { @@ -19117,7 +19117,7 @@ impl IDebugClient6 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u8], actualexenamesize: *mut u32, description: &mut [u8], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -19139,7 +19139,7 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).CreateProcessAndAttach)(::windows::core::Interface::as_raw(self), server, commandline.into(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -19188,7 +19188,7 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).EndSession)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -19201,11 +19201,11 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).ExitDispatch)(::windows::core::Interface::as_raw(self), client.into().abi()).ok() } pub unsafe fn CreateClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -19215,7 +19215,7 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).SetInputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -19225,7 +19225,7 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).SetOutputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -19235,7 +19235,7 @@ impl IDebugClient6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugClient>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherOutputMask<'a, P0>(&self, client: P0, mask: u32) -> ::windows::core::Result<()> @@ -19245,7 +19245,7 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).SetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> ::windows::core::Result<()> { @@ -19270,7 +19270,7 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).OutputIdentity)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -19317,7 +19317,7 @@ impl IDebugClient6 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u16], actualexenamesize: *mut u32, description: &mut [u16], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -19355,7 +19355,7 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).AddDumpInformationFileWide)(::windows::core::Interface::as_raw(self), filename.into(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberDumpFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: &mut [u8], namesize: *mut u32, handle: *mut u64, r#type: *mut u32) -> ::windows::core::Result<()> { @@ -19389,7 +19389,7 @@ impl IDebugClient6 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServerWide)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartServerWide<'a, P0>(&self, options: P0) -> ::windows::core::Result<()> @@ -19405,7 +19405,7 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).OutputServersWide)(::windows::core::Interface::as_raw(self), outputcontrol, machine.into(), flags).ok() } pub unsafe fn GetOutputCallbacksWide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacksWide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacksWide<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -19433,7 +19433,7 @@ impl IDebugClient6 { (::windows::core::Interface::vtable(self).OutputIdentityWide)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacksWide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacksWide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacksWide<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -19478,29 +19478,29 @@ impl IDebugClient6 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PushOutputLinePrefix)(::windows::core::Interface::as_raw(self), newprefix.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PushOutputLinePrefixWide<'a, P0>(&self, newprefix: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PushOutputLinePrefixWide)(::windows::core::Interface::as_raw(self), newprefix.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PopOutputLinePrefix(&self, handle: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).PopOutputLinePrefix)(::windows::core::Interface::as_raw(self), handle).ok() } pub unsafe fn GetNumberInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberEventCallbacks(&self, eventflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberEventCallbacks)(::windows::core::Interface::as_raw(self), eventflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQuitLockString(&self, buffer: &mut [u8], stringsize: *mut u32) -> ::windows::core::Result<()> { @@ -19690,7 +19690,7 @@ impl IDebugClient7 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServer)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> ::windows::core::Result<()> { @@ -19703,7 +19703,7 @@ impl IDebugClient7 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u8], actualexenamesize: *mut u32, description: &mut [u8], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -19725,7 +19725,7 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).CreateProcessAndAttach)(::windows::core::Interface::as_raw(self), server, commandline.into(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -19774,7 +19774,7 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).EndSession)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -19787,11 +19787,11 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).ExitDispatch)(::windows::core::Interface::as_raw(self), client.into().abi()).ok() } pub unsafe fn CreateClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -19801,7 +19801,7 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).SetInputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -19811,7 +19811,7 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).SetOutputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -19821,7 +19821,7 @@ impl IDebugClient7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugClient>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherOutputMask<'a, P0>(&self, client: P0, mask: u32) -> ::windows::core::Result<()> @@ -19831,7 +19831,7 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).SetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> ::windows::core::Result<()> { @@ -19856,7 +19856,7 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).OutputIdentity)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -19903,7 +19903,7 @@ impl IDebugClient7 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u16], actualexenamesize: *mut u32, description: &mut [u16], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -19941,7 +19941,7 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).AddDumpInformationFileWide)(::windows::core::Interface::as_raw(self), filename.into(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberDumpFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: &mut [u8], namesize: *mut u32, handle: *mut u64, r#type: *mut u32) -> ::windows::core::Result<()> { @@ -19975,7 +19975,7 @@ impl IDebugClient7 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServerWide)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartServerWide<'a, P0>(&self, options: P0) -> ::windows::core::Result<()> @@ -19991,7 +19991,7 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).OutputServersWide)(::windows::core::Interface::as_raw(self), outputcontrol, machine.into(), flags).ok() } pub unsafe fn GetOutputCallbacksWide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacksWide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacksWide<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -20019,7 +20019,7 @@ impl IDebugClient7 { (::windows::core::Interface::vtable(self).OutputIdentityWide)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacksWide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacksWide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacksWide<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -20064,29 +20064,29 @@ impl IDebugClient7 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PushOutputLinePrefix)(::windows::core::Interface::as_raw(self), newprefix.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PushOutputLinePrefixWide<'a, P0>(&self, newprefix: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PushOutputLinePrefixWide)(::windows::core::Interface::as_raw(self), newprefix.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PopOutputLinePrefix(&self, handle: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).PopOutputLinePrefix)(::windows::core::Interface::as_raw(self), handle).ok() } pub unsafe fn GetNumberInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberEventCallbacks(&self, eventflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberEventCallbacks)(::windows::core::Interface::as_raw(self), eventflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQuitLockString(&self, buffer: &mut [u8], stringsize: *mut u32) -> ::windows::core::Result<()> { @@ -20280,7 +20280,7 @@ impl IDebugClient8 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServer)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> ::windows::core::Result<()> { @@ -20293,7 +20293,7 @@ impl IDebugClient8 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u8], actualexenamesize: *mut u32, description: &mut [u8], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -20315,7 +20315,7 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).CreateProcessAndAttach)(::windows::core::Interface::as_raw(self), server, commandline.into(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -20364,7 +20364,7 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).EndSession)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -20377,11 +20377,11 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).ExitDispatch)(::windows::core::Interface::as_raw(self), client.into().abi()).ok() } pub unsafe fn CreateClient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -20391,7 +20391,7 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).SetInputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -20401,7 +20401,7 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).SetOutputCallbacks)(::windows::core::Interface::as_raw(self), callbacks.into().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -20411,7 +20411,7 @@ impl IDebugClient8 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugClient>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOtherOutputMask<'a, P0>(&self, client: P0, mask: u32) -> ::windows::core::Result<()> @@ -20421,7 +20421,7 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).SetOtherOutputMask)(::windows::core::Interface::as_raw(self), client.into().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> ::windows::core::Result<()> { @@ -20446,7 +20446,7 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).OutputIdentity)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacks<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -20493,7 +20493,7 @@ impl IDebugClient8 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(::windows::core::Interface::as_raw(self), server, exename.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: &mut [u16], actualexenamesize: *mut u32, description: &mut [u16], actualdescriptionsize: *mut u32) -> ::windows::core::Result<()> { @@ -20531,7 +20531,7 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).AddDumpInformationFileWide)(::windows::core::Interface::as_raw(self), filename.into(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberDumpFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: &mut [u8], namesize: *mut u32, handle: *mut u64, r#type: *mut u32) -> ::windows::core::Result<()> { @@ -20565,7 +20565,7 @@ impl IDebugClient8 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectProcessServerWide)(::windows::core::Interface::as_raw(self), remoteoptions.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartServerWide<'a, P0>(&self, options: P0) -> ::windows::core::Result<()> @@ -20581,7 +20581,7 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).OutputServersWide)(::windows::core::Interface::as_raw(self), outputcontrol, machine.into(), flags).ok() } pub unsafe fn GetOutputCallbacksWide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputCallbacksWide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputCallbacksWide<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -20609,7 +20609,7 @@ impl IDebugClient8 { (::windows::core::Interface::vtable(self).OutputIdentityWide)(::windows::core::Interface::as_raw(self), outputcontrol, flags, format.into()).ok() } pub unsafe fn GetEventCallbacksWide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCallbacksWide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventCallbacksWide<'a, P0>(&self, callbacks: P0) -> ::windows::core::Result<()> @@ -20654,29 +20654,29 @@ impl IDebugClient8 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PushOutputLinePrefix)(::windows::core::Interface::as_raw(self), newprefix.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PushOutputLinePrefixWide<'a, P0>(&self, newprefix: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PushOutputLinePrefixWide)(::windows::core::Interface::as_raw(self), newprefix.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PopOutputLinePrefix(&self, handle: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).PopOutputLinePrefix)(::windows::core::Interface::as_raw(self), handle).ok() } pub unsafe fn GetNumberInputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberInputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOutputCallbacks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOutputCallbacks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberEventCallbacks(&self, eventflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberEventCallbacks)(::windows::core::Interface::as_raw(self), eventflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQuitLockString(&self, buffer: &mut [u8], stringsize: *mut u32) -> ::windows::core::Result<()> { @@ -20853,7 +20853,7 @@ pub struct IDebugClient8_Vtbl { pub struct IDebugCodeContext(::windows::core::IUnknown); impl IDebugCodeContext { pub unsafe fn GetDocumentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBreakPoint(&self, bps: BREAKPOINT_STATE) -> ::windows::core::Result<()> { @@ -20913,7 +20913,7 @@ impl IDebugControl { (::windows::core::Interface::vtable(self).SetInterrupt)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetInterruptTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterruptTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { @@ -20937,7 +20937,7 @@ impl IDebugControl { (::windows::core::Interface::vtable(self).CloseLogFile)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLogMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -20998,7 +20998,7 @@ impl IDebugControl { (::windows::core::Interface::vtable(self).OutputVersionInformation)(::windows::core::Interface::as_raw(self), outputcontrol).ok() } pub unsafe fn GetNotifyEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> ::windows::core::Result<()> { @@ -21008,25 +21008,25 @@ impl IDebugControl { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Assemble)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: &mut [u8], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Disassemble)(::windows::core::Interface::as_raw(self), offset, flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(disassemblysize), ::core::mem::transmute(endoffset)).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisassembleEffectiveOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputDisassembly)(::windows::core::Interface::as_raw(self), outputcontrol, offset, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: *mut u32, startoffset: *mut u64, endoffset: *mut u64, lineoffsets: &mut [u64]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OutputDisassemblyLines)(::windows::core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.len() as _, offset, flags, ::core::mem::transmute(offsetline), ::core::mem::transmute(startoffset), ::core::mem::transmute(endoffset), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(lineoffsets))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNearInstruction)(::windows::core::Interface::as_raw(self), offset, delta, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21035,7 +21035,7 @@ impl IDebugControl { (::windows::core::Interface::vtable(self).GetStackTrace)(::windows::core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framesfilled)).ok() } pub unsafe fn GetReturnOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReturnOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21047,29 +21047,29 @@ impl IDebugControl { (::windows::core::Interface::vtable(self).GetDebuggeeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(class), ::core::mem::transmute(qualifier)).ok() } pub unsafe fn GetActualProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActualProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutingProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutingProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPossibleExecutingProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), start, types.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(types))).ok() } pub unsafe fn GetNumberProcessors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcessors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: &mut [u8], servicepackstringused: *mut u32, servicepacknumber: *mut u32, buildstring: &mut [u8], buildstringused: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSystemVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(platformid), ::core::mem::transmute(major), ::core::mem::transmute(minor), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(servicepackstring)), servicepackstring.len() as _, ::core::mem::transmute(servicepackstringused), ::core::mem::transmute(servicepacknumber), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buildstring)), buildstring.len() as _, ::core::mem::transmute(buildstringused)).ok() } pub unsafe fn GetPageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPointer64Bit(&self) -> ::windows::core::Result<()> { @@ -21079,7 +21079,7 @@ impl IDebugControl { (::windows::core::Interface::vtable(self).ReadBugCheckData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(code), ::core::mem::transmute(arg1), ::core::mem::transmute(arg2), ::core::mem::transmute(arg3), ::core::mem::transmute(arg4)).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { @@ -21089,28 +21089,28 @@ impl IDebugControl { (::windows::core::Interface::vtable(self).GetProcessorTypeNames)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEffectiveProcessorType(&self, r#type: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn GetExecutionStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutionStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExecutionStatus(&self, status: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExecutionStatus)(::windows::core::Interface::as_raw(self), status).ok() } pub unsafe fn GetCodeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCodeLevel(&self, level: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCodeLevel)(::windows::core::Interface::as_raw(self), level).ok() } pub unsafe fn GetEngineOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEngineOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -21138,7 +21138,7 @@ impl IDebugControl { (::windows::core::Interface::vtable(self).SetTextMacro)(::windows::core::Interface::as_raw(self), slot, r#macro.into()).ok() } pub unsafe fn GetRadix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRadix(&self, radix: u32) -> ::windows::core::Result<()> { @@ -21155,7 +21155,7 @@ impl IDebugControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CoerceValue(&self, r#in: *const DEBUG_VALUE, outtype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoerceValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#in), outtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21176,22 +21176,22 @@ impl IDebugControl { (::windows::core::Interface::vtable(self).ExecuteCommandFile)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberBreakpoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: *const u32, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetBreakpointParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count), ::core::mem::transmute(ids), start, ::core::mem::transmute(params)).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -21204,7 +21204,7 @@ impl IDebugControl { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtension)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> ::windows::core::Result<()> { @@ -21214,7 +21214,7 @@ impl IDebugControl { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtension<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -21467,7 +21467,7 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).SetInterrupt)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetInterruptTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterruptTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { @@ -21491,7 +21491,7 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).CloseLogFile)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLogMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -21552,7 +21552,7 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).OutputVersionInformation)(::windows::core::Interface::as_raw(self), outputcontrol).ok() } pub unsafe fn GetNotifyEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> ::windows::core::Result<()> { @@ -21562,25 +21562,25 @@ impl IDebugControl2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Assemble)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: &mut [u8], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Disassemble)(::windows::core::Interface::as_raw(self), offset, flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(disassemblysize), ::core::mem::transmute(endoffset)).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisassembleEffectiveOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputDisassembly)(::windows::core::Interface::as_raw(self), outputcontrol, offset, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: *mut u32, startoffset: *mut u64, endoffset: *mut u64, lineoffsets: &mut [u64]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OutputDisassemblyLines)(::windows::core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.len() as _, offset, flags, ::core::mem::transmute(offsetline), ::core::mem::transmute(startoffset), ::core::mem::transmute(endoffset), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(lineoffsets))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNearInstruction)(::windows::core::Interface::as_raw(self), offset, delta, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21589,7 +21589,7 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).GetStackTrace)(::windows::core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framesfilled)).ok() } pub unsafe fn GetReturnOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReturnOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21601,29 +21601,29 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).GetDebuggeeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(class), ::core::mem::transmute(qualifier)).ok() } pub unsafe fn GetActualProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActualProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutingProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutingProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPossibleExecutingProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), start, types.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(types))).ok() } pub unsafe fn GetNumberProcessors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcessors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: &mut [u8], servicepackstringused: *mut u32, servicepacknumber: *mut u32, buildstring: &mut [u8], buildstringused: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSystemVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(platformid), ::core::mem::transmute(major), ::core::mem::transmute(minor), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(servicepackstring)), servicepackstring.len() as _, ::core::mem::transmute(servicepackstringused), ::core::mem::transmute(servicepacknumber), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buildstring)), buildstring.len() as _, ::core::mem::transmute(buildstringused)).ok() } pub unsafe fn GetPageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPointer64Bit(&self) -> ::windows::core::Result<()> { @@ -21633,7 +21633,7 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).ReadBugCheckData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(code), ::core::mem::transmute(arg1), ::core::mem::transmute(arg2), ::core::mem::transmute(arg3), ::core::mem::transmute(arg4)).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { @@ -21643,28 +21643,28 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).GetProcessorTypeNames)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEffectiveProcessorType(&self, r#type: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn GetExecutionStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutionStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExecutionStatus(&self, status: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExecutionStatus)(::windows::core::Interface::as_raw(self), status).ok() } pub unsafe fn GetCodeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCodeLevel(&self, level: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCodeLevel)(::windows::core::Interface::as_raw(self), level).ok() } pub unsafe fn GetEngineOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEngineOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -21692,7 +21692,7 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).SetTextMacro)(::windows::core::Interface::as_raw(self), slot, r#macro.into()).ok() } pub unsafe fn GetRadix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRadix(&self, radix: u32) -> ::windows::core::Result<()> { @@ -21709,7 +21709,7 @@ impl IDebugControl2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CoerceValue(&self, r#in: *const DEBUG_VALUE, outtype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoerceValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#in), outtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21730,22 +21730,22 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).ExecuteCommandFile)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberBreakpoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: *const u32, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetBreakpointParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count), ::core::mem::transmute(ids), start, ::core::mem::transmute(params)).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -21758,7 +21758,7 @@ impl IDebugControl2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtension)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> ::windows::core::Result<()> { @@ -21768,7 +21768,7 @@ impl IDebugControl2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtension<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -21848,19 +21848,19 @@ impl IDebugControl2 { (::windows::core::Interface::vtable(self).GetLastEventInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#type), ::core::mem::transmute(processid), ::core::mem::transmute(threadid), ::core::mem::transmute(extrainformation), extrainformationsize, ::core::mem::transmute(extrainformationused), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(description)), description.len() as _, ::core::mem::transmute(descriptionused)).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentTimeDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFormatFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDumpFormatFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberTextReplacements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberTextReplacements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextReplacement<'a, P0>(&self, srctext: P0, index: u32, srcbuffer: &mut [u8], srcsize: *mut u32, dstbuffer: &mut [u8], dstsize: *mut u32) -> ::windows::core::Result<()> @@ -22064,7 +22064,7 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).SetInterrupt)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetInterruptTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterruptTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { @@ -22088,7 +22088,7 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).CloseLogFile)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLogMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -22149,7 +22149,7 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).OutputVersionInformation)(::windows::core::Interface::as_raw(self), outputcontrol).ok() } pub unsafe fn GetNotifyEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> ::windows::core::Result<()> { @@ -22159,25 +22159,25 @@ impl IDebugControl3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Assemble)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: &mut [u8], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Disassemble)(::windows::core::Interface::as_raw(self), offset, flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(disassemblysize), ::core::mem::transmute(endoffset)).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisassembleEffectiveOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputDisassembly)(::windows::core::Interface::as_raw(self), outputcontrol, offset, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: *mut u32, startoffset: *mut u64, endoffset: *mut u64, lineoffsets: &mut [u64]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OutputDisassemblyLines)(::windows::core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.len() as _, offset, flags, ::core::mem::transmute(offsetline), ::core::mem::transmute(startoffset), ::core::mem::transmute(endoffset), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(lineoffsets))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNearInstruction)(::windows::core::Interface::as_raw(self), offset, delta, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22186,7 +22186,7 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).GetStackTrace)(::windows::core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framesfilled)).ok() } pub unsafe fn GetReturnOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReturnOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22198,29 +22198,29 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).GetDebuggeeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(class), ::core::mem::transmute(qualifier)).ok() } pub unsafe fn GetActualProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActualProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutingProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutingProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPossibleExecutingProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), start, types.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(types))).ok() } pub unsafe fn GetNumberProcessors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcessors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: &mut [u8], servicepackstringused: *mut u32, servicepacknumber: *mut u32, buildstring: &mut [u8], buildstringused: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSystemVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(platformid), ::core::mem::transmute(major), ::core::mem::transmute(minor), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(servicepackstring)), servicepackstring.len() as _, ::core::mem::transmute(servicepackstringused), ::core::mem::transmute(servicepacknumber), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buildstring)), buildstring.len() as _, ::core::mem::transmute(buildstringused)).ok() } pub unsafe fn GetPageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPointer64Bit(&self) -> ::windows::core::Result<()> { @@ -22230,7 +22230,7 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).ReadBugCheckData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(code), ::core::mem::transmute(arg1), ::core::mem::transmute(arg2), ::core::mem::transmute(arg3), ::core::mem::transmute(arg4)).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { @@ -22240,28 +22240,28 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).GetProcessorTypeNames)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEffectiveProcessorType(&self, r#type: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn GetExecutionStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutionStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExecutionStatus(&self, status: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExecutionStatus)(::windows::core::Interface::as_raw(self), status).ok() } pub unsafe fn GetCodeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCodeLevel(&self, level: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCodeLevel)(::windows::core::Interface::as_raw(self), level).ok() } pub unsafe fn GetEngineOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEngineOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -22289,7 +22289,7 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).SetTextMacro)(::windows::core::Interface::as_raw(self), slot, r#macro.into()).ok() } pub unsafe fn GetRadix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRadix(&self, radix: u32) -> ::windows::core::Result<()> { @@ -22306,7 +22306,7 @@ impl IDebugControl3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CoerceValue(&self, r#in: *const DEBUG_VALUE, outtype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoerceValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#in), outtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22327,22 +22327,22 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).ExecuteCommandFile)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberBreakpoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: *const u32, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetBreakpointParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count), ::core::mem::transmute(ids), start, ::core::mem::transmute(params)).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -22355,7 +22355,7 @@ impl IDebugControl3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtension)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> ::windows::core::Result<()> { @@ -22365,7 +22365,7 @@ impl IDebugControl3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtension<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -22445,19 +22445,19 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).GetLastEventInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#type), ::core::mem::transmute(processid), ::core::mem::transmute(threadid), ::core::mem::transmute(extrainformation), extrainformationsize, ::core::mem::transmute(extrainformationused), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(description)), description.len() as _, ::core::mem::transmute(descriptionused)).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentTimeDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFormatFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDumpFormatFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberTextReplacements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberTextReplacements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextReplacement<'a, P0>(&self, srctext: P0, index: u32, srcbuffer: &mut [u8], srcsize: *mut u32, dstbuffer: &mut [u8], dstsize: *mut u32) -> ::windows::core::Result<()> @@ -22480,7 +22480,7 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).OutputTextReplacements)(::windows::core::Interface::as_raw(self), outputcontrol, flags).ok() } pub unsafe fn GetAssemblyOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAssemblyOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -22493,7 +22493,7 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).SetAssemblyOptions)(::windows::core::Interface::as_raw(self), options).ok() } pub unsafe fn GetExpressionSyntax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpressionSyntax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> ::windows::core::Result<()> { @@ -22506,29 +22506,29 @@ impl IDebugControl3 { (::windows::core::Interface::vtable(self).SetExpressionSyntaxByName)(::windows::core::Interface::as_raw(self), abbrevname.into()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberExpressionSyntaxes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: &mut [u8], fullnamesize: *mut u32, abbrevnamebuffer: &mut [u8], abbrevnamesize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetExpressionSyntaxNames)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetNumberEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventIndexDescription<'a, P0>(&self, index: u32, which: u32, buffer: P0, buffersize: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventIndexDescription)(::windows::core::Interface::as_raw(self), index, which, buffer.into(), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentEventIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentEventIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetNextEventIndex)(::windows::core::Interface::as_raw(self), relation, value, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22726,7 +22726,7 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).SetInterrupt)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetInterruptTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterruptTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { @@ -22750,7 +22750,7 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).CloseLogFile)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLogMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -22811,7 +22811,7 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).OutputVersionInformation)(::windows::core::Interface::as_raw(self), outputcontrol).ok() } pub unsafe fn GetNotifyEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> ::windows::core::Result<()> { @@ -22821,25 +22821,25 @@ impl IDebugControl4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Assemble)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: &mut [u8], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Disassemble)(::windows::core::Interface::as_raw(self), offset, flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(disassemblysize), ::core::mem::transmute(endoffset)).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisassembleEffectiveOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputDisassembly)(::windows::core::Interface::as_raw(self), outputcontrol, offset, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: *mut u32, startoffset: *mut u64, endoffset: *mut u64, lineoffsets: &mut [u64]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OutputDisassemblyLines)(::windows::core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.len() as _, offset, flags, ::core::mem::transmute(offsetline), ::core::mem::transmute(startoffset), ::core::mem::transmute(endoffset), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(lineoffsets))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNearInstruction)(::windows::core::Interface::as_raw(self), offset, delta, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22848,7 +22848,7 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).GetStackTrace)(::windows::core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framesfilled)).ok() } pub unsafe fn GetReturnOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReturnOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22860,29 +22860,29 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).GetDebuggeeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(class), ::core::mem::transmute(qualifier)).ok() } pub unsafe fn GetActualProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActualProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutingProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutingProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPossibleExecutingProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), start, types.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(types))).ok() } pub unsafe fn GetNumberProcessors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcessors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: &mut [u8], servicepackstringused: *mut u32, servicepacknumber: *mut u32, buildstring: &mut [u8], buildstringused: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSystemVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(platformid), ::core::mem::transmute(major), ::core::mem::transmute(minor), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(servicepackstring)), servicepackstring.len() as _, ::core::mem::transmute(servicepackstringused), ::core::mem::transmute(servicepacknumber), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buildstring)), buildstring.len() as _, ::core::mem::transmute(buildstringused)).ok() } pub unsafe fn GetPageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPointer64Bit(&self) -> ::windows::core::Result<()> { @@ -22892,7 +22892,7 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).ReadBugCheckData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(code), ::core::mem::transmute(arg1), ::core::mem::transmute(arg2), ::core::mem::transmute(arg3), ::core::mem::transmute(arg4)).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { @@ -22902,28 +22902,28 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).GetProcessorTypeNames)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEffectiveProcessorType(&self, r#type: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn GetExecutionStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutionStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExecutionStatus(&self, status: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExecutionStatus)(::windows::core::Interface::as_raw(self), status).ok() } pub unsafe fn GetCodeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCodeLevel(&self, level: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCodeLevel)(::windows::core::Interface::as_raw(self), level).ok() } pub unsafe fn GetEngineOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEngineOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -22951,7 +22951,7 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).SetTextMacro)(::windows::core::Interface::as_raw(self), slot, r#macro.into()).ok() } pub unsafe fn GetRadix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRadix(&self, radix: u32) -> ::windows::core::Result<()> { @@ -22968,7 +22968,7 @@ impl IDebugControl4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CoerceValue(&self, r#in: *const DEBUG_VALUE, outtype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoerceValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#in), outtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22989,22 +22989,22 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).ExecuteCommandFile)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberBreakpoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: *const u32, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetBreakpointParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count), ::core::mem::transmute(ids), start, ::core::mem::transmute(params)).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -23017,7 +23017,7 @@ impl IDebugControl4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtension)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> ::windows::core::Result<()> { @@ -23027,7 +23027,7 @@ impl IDebugControl4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtension<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -23107,19 +23107,19 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).GetLastEventInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#type), ::core::mem::transmute(processid), ::core::mem::transmute(threadid), ::core::mem::transmute(extrainformation), extrainformationsize, ::core::mem::transmute(extrainformationused), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(description)), description.len() as _, ::core::mem::transmute(descriptionused)).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentTimeDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFormatFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDumpFormatFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberTextReplacements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberTextReplacements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextReplacement<'a, P0>(&self, srctext: P0, index: u32, srcbuffer: &mut [u8], srcsize: *mut u32, dstbuffer: &mut [u8], dstsize: *mut u32) -> ::windows::core::Result<()> @@ -23142,7 +23142,7 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).OutputTextReplacements)(::windows::core::Interface::as_raw(self), outputcontrol, flags).ok() } pub unsafe fn GetAssemblyOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAssemblyOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -23155,7 +23155,7 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).SetAssemblyOptions)(::windows::core::Interface::as_raw(self), options).ok() } pub unsafe fn GetExpressionSyntax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpressionSyntax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> ::windows::core::Result<()> { @@ -23168,29 +23168,29 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).SetExpressionSyntaxByName)(::windows::core::Interface::as_raw(self), abbrevname.into()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberExpressionSyntaxes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: &mut [u8], fullnamesize: *mut u32, abbrevnamebuffer: &mut [u8], abbrevnamesize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetExpressionSyntaxNames)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetNumberEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventIndexDescription<'a, P0>(&self, index: u32, which: u32, buffer: P0, buffersize: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventIndexDescription)(::windows::core::Interface::as_raw(self), index, which, buffer.into(), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentEventIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentEventIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetNextEventIndex)(::windows::core::Interface::as_raw(self), relation, value, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23259,7 +23259,7 @@ impl IDebugControl4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssembleWide)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisassembleWide(&self, offset: u64, flags: u32, buffer: &mut [u16], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { @@ -23298,15 +23298,15 @@ impl IDebugControl4 { (::windows::core::Interface::vtable(self).ExecuteCommandFileWide)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetBreakpointByIndex2(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex2)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById2(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById2)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddBreakpoint2(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint2)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint2<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -23319,14 +23319,14 @@ impl IDebugControl4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtensionWide)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExtensionByPathWide<'a, P0>(&self, path: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPathWide)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtensionWide<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -23403,7 +23403,7 @@ impl IDebugControl4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventIndexDescriptionWide)(::windows::core::Interface::as_raw(self), index, which, buffer.into(), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLogFile2(&self, buffer: &mut [u8], filesize: *mut u32, flags: *mut u32) -> ::windows::core::Result<()> { @@ -23721,7 +23721,7 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).SetInterrupt)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetInterruptTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterruptTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { @@ -23745,7 +23745,7 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).CloseLogFile)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLogMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -23806,7 +23806,7 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).OutputVersionInformation)(::windows::core::Interface::as_raw(self), outputcontrol).ok() } pub unsafe fn GetNotifyEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> ::windows::core::Result<()> { @@ -23816,25 +23816,25 @@ impl IDebugControl5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Assemble)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: &mut [u8], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Disassemble)(::windows::core::Interface::as_raw(self), offset, flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(disassemblysize), ::core::mem::transmute(endoffset)).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisassembleEffectiveOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputDisassembly)(::windows::core::Interface::as_raw(self), outputcontrol, offset, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: *mut u32, startoffset: *mut u64, endoffset: *mut u64, lineoffsets: &mut [u64]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OutputDisassemblyLines)(::windows::core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.len() as _, offset, flags, ::core::mem::transmute(offsetline), ::core::mem::transmute(startoffset), ::core::mem::transmute(endoffset), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(lineoffsets))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNearInstruction)(::windows::core::Interface::as_raw(self), offset, delta, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23843,7 +23843,7 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).GetStackTrace)(::windows::core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framesfilled)).ok() } pub unsafe fn GetReturnOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReturnOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23855,29 +23855,29 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).GetDebuggeeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(class), ::core::mem::transmute(qualifier)).ok() } pub unsafe fn GetActualProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActualProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutingProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutingProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPossibleExecutingProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), start, types.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(types))).ok() } pub unsafe fn GetNumberProcessors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcessors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: &mut [u8], servicepackstringused: *mut u32, servicepacknumber: *mut u32, buildstring: &mut [u8], buildstringused: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSystemVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(platformid), ::core::mem::transmute(major), ::core::mem::transmute(minor), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(servicepackstring)), servicepackstring.len() as _, ::core::mem::transmute(servicepackstringused), ::core::mem::transmute(servicepacknumber), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buildstring)), buildstring.len() as _, ::core::mem::transmute(buildstringused)).ok() } pub unsafe fn GetPageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPointer64Bit(&self) -> ::windows::core::Result<()> { @@ -23887,7 +23887,7 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).ReadBugCheckData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(code), ::core::mem::transmute(arg1), ::core::mem::transmute(arg2), ::core::mem::transmute(arg3), ::core::mem::transmute(arg4)).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { @@ -23897,28 +23897,28 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).GetProcessorTypeNames)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEffectiveProcessorType(&self, r#type: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn GetExecutionStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutionStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExecutionStatus(&self, status: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExecutionStatus)(::windows::core::Interface::as_raw(self), status).ok() } pub unsafe fn GetCodeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCodeLevel(&self, level: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCodeLevel)(::windows::core::Interface::as_raw(self), level).ok() } pub unsafe fn GetEngineOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEngineOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -23946,7 +23946,7 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).SetTextMacro)(::windows::core::Interface::as_raw(self), slot, r#macro.into()).ok() } pub unsafe fn GetRadix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRadix(&self, radix: u32) -> ::windows::core::Result<()> { @@ -23963,7 +23963,7 @@ impl IDebugControl5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CoerceValue(&self, r#in: *const DEBUG_VALUE, outtype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoerceValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#in), outtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23984,22 +23984,22 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).ExecuteCommandFile)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberBreakpoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: *const u32, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetBreakpointParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count), ::core::mem::transmute(ids), start, ::core::mem::transmute(params)).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -24012,7 +24012,7 @@ impl IDebugControl5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtension)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> ::windows::core::Result<()> { @@ -24022,7 +24022,7 @@ impl IDebugControl5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtension<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -24102,19 +24102,19 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).GetLastEventInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#type), ::core::mem::transmute(processid), ::core::mem::transmute(threadid), ::core::mem::transmute(extrainformation), extrainformationsize, ::core::mem::transmute(extrainformationused), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(description)), description.len() as _, ::core::mem::transmute(descriptionused)).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentTimeDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFormatFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDumpFormatFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberTextReplacements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberTextReplacements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextReplacement<'a, P0>(&self, srctext: P0, index: u32, srcbuffer: &mut [u8], srcsize: *mut u32, dstbuffer: &mut [u8], dstsize: *mut u32) -> ::windows::core::Result<()> @@ -24137,7 +24137,7 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).OutputTextReplacements)(::windows::core::Interface::as_raw(self), outputcontrol, flags).ok() } pub unsafe fn GetAssemblyOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAssemblyOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -24150,7 +24150,7 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).SetAssemblyOptions)(::windows::core::Interface::as_raw(self), options).ok() } pub unsafe fn GetExpressionSyntax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpressionSyntax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> ::windows::core::Result<()> { @@ -24163,29 +24163,29 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).SetExpressionSyntaxByName)(::windows::core::Interface::as_raw(self), abbrevname.into()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberExpressionSyntaxes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: &mut [u8], fullnamesize: *mut u32, abbrevnamebuffer: &mut [u8], abbrevnamesize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetExpressionSyntaxNames)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetNumberEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventIndexDescription<'a, P0>(&self, index: u32, which: u32, buffer: P0, buffersize: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventIndexDescription)(::windows::core::Interface::as_raw(self), index, which, buffer.into(), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentEventIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentEventIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetNextEventIndex)(::windows::core::Interface::as_raw(self), relation, value, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24254,7 +24254,7 @@ impl IDebugControl5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssembleWide)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisassembleWide(&self, offset: u64, flags: u32, buffer: &mut [u16], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { @@ -24293,15 +24293,15 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).ExecuteCommandFileWide)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetBreakpointByIndex2(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex2)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById2(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById2)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddBreakpoint2(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint2)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint2<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -24314,14 +24314,14 @@ impl IDebugControl5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtensionWide)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExtensionByPathWide<'a, P0>(&self, path: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPathWide)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtensionWide<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -24398,7 +24398,7 @@ impl IDebugControl5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventIndexDescriptionWide)(::windows::core::Interface::as_raw(self), index, which, buffer.into(), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLogFile2(&self, buffer: &mut [u8], filesize: *mut u32, flags: *mut u32) -> ::windows::core::Result<()> { @@ -24471,7 +24471,7 @@ impl IDebugControl5 { (::windows::core::Interface::vtable(self).OutputContextStackTraceEx)(::windows::core::Interface::as_raw(self), outputcontrol, ::core::mem::transmute(::windows::core::as_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framecontexts), framecontextssize, framecontextsentrysize, flags).ok() } pub unsafe fn GetBreakpointByGuid(&self, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24757,7 +24757,7 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).SetInterrupt)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetInterruptTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterruptTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { @@ -24781,7 +24781,7 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).CloseLogFile)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLogMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -24842,7 +24842,7 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).OutputVersionInformation)(::windows::core::Interface::as_raw(self), outputcontrol).ok() } pub unsafe fn GetNotifyEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> ::windows::core::Result<()> { @@ -24852,25 +24852,25 @@ impl IDebugControl6 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Assemble)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: &mut [u8], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Disassemble)(::windows::core::Interface::as_raw(self), offset, flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(disassemblysize), ::core::mem::transmute(endoffset)).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisassembleEffectiveOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputDisassembly)(::windows::core::Interface::as_raw(self), outputcontrol, offset, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: *mut u32, startoffset: *mut u64, endoffset: *mut u64, lineoffsets: &mut [u64]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OutputDisassemblyLines)(::windows::core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.len() as _, offset, flags, ::core::mem::transmute(offsetline), ::core::mem::transmute(startoffset), ::core::mem::transmute(endoffset), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(lineoffsets))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNearInstruction)(::windows::core::Interface::as_raw(self), offset, delta, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24879,7 +24879,7 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).GetStackTrace)(::windows::core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framesfilled)).ok() } pub unsafe fn GetReturnOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReturnOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24891,29 +24891,29 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).GetDebuggeeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(class), ::core::mem::transmute(qualifier)).ok() } pub unsafe fn GetActualProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActualProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutingProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutingProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPossibleExecutingProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), start, types.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(types))).ok() } pub unsafe fn GetNumberProcessors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcessors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: &mut [u8], servicepackstringused: *mut u32, servicepacknumber: *mut u32, buildstring: &mut [u8], buildstringused: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSystemVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(platformid), ::core::mem::transmute(major), ::core::mem::transmute(minor), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(servicepackstring)), servicepackstring.len() as _, ::core::mem::transmute(servicepackstringused), ::core::mem::transmute(servicepacknumber), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buildstring)), buildstring.len() as _, ::core::mem::transmute(buildstringused)).ok() } pub unsafe fn GetPageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPointer64Bit(&self) -> ::windows::core::Result<()> { @@ -24923,7 +24923,7 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).ReadBugCheckData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(code), ::core::mem::transmute(arg1), ::core::mem::transmute(arg2), ::core::mem::transmute(arg3), ::core::mem::transmute(arg4)).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { @@ -24933,28 +24933,28 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).GetProcessorTypeNames)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEffectiveProcessorType(&self, r#type: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn GetExecutionStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutionStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExecutionStatus(&self, status: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExecutionStatus)(::windows::core::Interface::as_raw(self), status).ok() } pub unsafe fn GetCodeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCodeLevel(&self, level: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCodeLevel)(::windows::core::Interface::as_raw(self), level).ok() } pub unsafe fn GetEngineOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEngineOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -24982,7 +24982,7 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).SetTextMacro)(::windows::core::Interface::as_raw(self), slot, r#macro.into()).ok() } pub unsafe fn GetRadix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRadix(&self, radix: u32) -> ::windows::core::Result<()> { @@ -24999,7 +24999,7 @@ impl IDebugControl6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CoerceValue(&self, r#in: *const DEBUG_VALUE, outtype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoerceValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#in), outtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25020,22 +25020,22 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).ExecuteCommandFile)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberBreakpoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: *const u32, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetBreakpointParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count), ::core::mem::transmute(ids), start, ::core::mem::transmute(params)).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -25048,7 +25048,7 @@ impl IDebugControl6 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtension)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> ::windows::core::Result<()> { @@ -25058,7 +25058,7 @@ impl IDebugControl6 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtension<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -25138,19 +25138,19 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).GetLastEventInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#type), ::core::mem::transmute(processid), ::core::mem::transmute(threadid), ::core::mem::transmute(extrainformation), extrainformationsize, ::core::mem::transmute(extrainformationused), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(description)), description.len() as _, ::core::mem::transmute(descriptionused)).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentTimeDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFormatFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDumpFormatFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberTextReplacements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberTextReplacements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextReplacement<'a, P0>(&self, srctext: P0, index: u32, srcbuffer: &mut [u8], srcsize: *mut u32, dstbuffer: &mut [u8], dstsize: *mut u32) -> ::windows::core::Result<()> @@ -25173,7 +25173,7 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).OutputTextReplacements)(::windows::core::Interface::as_raw(self), outputcontrol, flags).ok() } pub unsafe fn GetAssemblyOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAssemblyOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -25186,7 +25186,7 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).SetAssemblyOptions)(::windows::core::Interface::as_raw(self), options).ok() } pub unsafe fn GetExpressionSyntax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpressionSyntax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> ::windows::core::Result<()> { @@ -25199,29 +25199,29 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).SetExpressionSyntaxByName)(::windows::core::Interface::as_raw(self), abbrevname.into()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberExpressionSyntaxes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: &mut [u8], fullnamesize: *mut u32, abbrevnamebuffer: &mut [u8], abbrevnamesize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetExpressionSyntaxNames)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetNumberEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventIndexDescription<'a, P0>(&self, index: u32, which: u32, buffer: P0, buffersize: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventIndexDescription)(::windows::core::Interface::as_raw(self), index, which, buffer.into(), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentEventIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentEventIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetNextEventIndex)(::windows::core::Interface::as_raw(self), relation, value, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25290,7 +25290,7 @@ impl IDebugControl6 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssembleWide)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisassembleWide(&self, offset: u64, flags: u32, buffer: &mut [u16], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { @@ -25329,15 +25329,15 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).ExecuteCommandFileWide)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetBreakpointByIndex2(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex2)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById2(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById2)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddBreakpoint2(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint2)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint2<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -25350,14 +25350,14 @@ impl IDebugControl6 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtensionWide)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExtensionByPathWide<'a, P0>(&self, path: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPathWide)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtensionWide<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -25434,7 +25434,7 @@ impl IDebugControl6 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventIndexDescriptionWide)(::windows::core::Interface::as_raw(self), index, which, buffer.into(), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLogFile2(&self, buffer: &mut [u8], filesize: *mut u32, flags: *mut u32) -> ::windows::core::Result<()> { @@ -25507,11 +25507,11 @@ impl IDebugControl6 { (::windows::core::Interface::vtable(self).OutputContextStackTraceEx)(::windows::core::Interface::as_raw(self), outputcontrol, ::core::mem::transmute(::windows::core::as_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framecontexts), framecontextssize, framecontextsentrysize, flags).ok() } pub unsafe fn GetBreakpointByGuid(&self, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutionStatusEx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutionStatusEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSynchronizationStatus(&self, sendsattempted: *mut u32, secondssincelastresponse: *mut u32) -> ::windows::core::Result<()> { @@ -25802,7 +25802,7 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).SetInterrupt)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetInterruptTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterruptTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> ::windows::core::Result<()> { @@ -25826,7 +25826,7 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).CloseLogFile)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLogMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> ::windows::core::Result<()> { @@ -25887,7 +25887,7 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).OutputVersionInformation)(::windows::core::Interface::as_raw(self), outputcontrol).ok() } pub unsafe fn GetNotifyEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotifyEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> ::windows::core::Result<()> { @@ -25897,25 +25897,25 @@ impl IDebugControl7 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Assemble)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: &mut [u8], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Disassemble)(::windows::core::Interface::as_raw(self), offset, flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(disassemblysize), ::core::mem::transmute(endoffset)).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisassembleEffectiveOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputDisassembly)(::windows::core::Interface::as_raw(self), outputcontrol, offset, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: *mut u32, startoffset: *mut u64, endoffset: *mut u64, lineoffsets: &mut [u64]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).OutputDisassemblyLines)(::windows::core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.len() as _, offset, flags, ::core::mem::transmute(offsetline), ::core::mem::transmute(startoffset), ::core::mem::transmute(endoffset), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(lineoffsets))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNearInstruction)(::windows::core::Interface::as_raw(self), offset, delta, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25924,7 +25924,7 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).GetStackTrace)(::windows::core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framesfilled)).ok() } pub unsafe fn GetReturnOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReturnOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25936,29 +25936,29 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).GetDebuggeeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(class), ::core::mem::transmute(qualifier)).ok() } pub unsafe fn GetActualProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActualProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutingProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutingProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPossibleExecutingProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPossibleExecutingProcessorTypes)(::windows::core::Interface::as_raw(self), start, types.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(types))).ok() } pub unsafe fn GetNumberProcessors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcessors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: &mut [u8], servicepackstringused: *mut u32, servicepacknumber: *mut u32, buildstring: &mut [u8], buildstringused: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSystemVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(platformid), ::core::mem::transmute(major), ::core::mem::transmute(minor), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(servicepackstring)), servicepackstring.len() as _, ::core::mem::transmute(servicepackstringused), ::core::mem::transmute(servicepacknumber), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buildstring)), buildstring.len() as _, ::core::mem::transmute(buildstringused)).ok() } pub unsafe fn GetPageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPointer64Bit(&self) -> ::windows::core::Result<()> { @@ -25968,7 +25968,7 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).ReadBugCheckData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(code), ::core::mem::transmute(arg1), ::core::mem::transmute(arg2), ::core::mem::transmute(arg3), ::core::mem::transmute(arg4)).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> ::windows::core::Result<()> { @@ -25978,28 +25978,28 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).GetProcessorTypeNames)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEffectiveProcessorType(&self, r#type: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEffectiveProcessorType)(::windows::core::Interface::as_raw(self), r#type).ok() } pub unsafe fn GetExecutionStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutionStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExecutionStatus(&self, status: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExecutionStatus)(::windows::core::Interface::as_raw(self), status).ok() } pub unsafe fn GetCodeLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCodeLevel(&self, level: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCodeLevel)(::windows::core::Interface::as_raw(self), level).ok() } pub unsafe fn GetEngineOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEngineOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -26027,7 +26027,7 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).SetTextMacro)(::windows::core::Interface::as_raw(self), slot, r#macro.into()).ok() } pub unsafe fn GetRadix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRadix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRadix(&self, radix: u32) -> ::windows::core::Result<()> { @@ -26044,7 +26044,7 @@ impl IDebugControl7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CoerceValue(&self, r#in: *const DEBUG_VALUE, outtype: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoerceValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#in), outtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26065,22 +26065,22 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).ExecuteCommandFile)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberBreakpoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: *const u32, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetBreakpointParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(count), ::core::mem::transmute(ids), start, ::core::mem::transmute(params)).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -26093,7 +26093,7 @@ impl IDebugControl7 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtension)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> ::windows::core::Result<()> { @@ -26103,7 +26103,7 @@ impl IDebugControl7 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtension<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -26183,19 +26183,19 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).GetLastEventInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(r#type), ::core::mem::transmute(processid), ::core::mem::transmute(threadid), ::core::mem::transmute(extrainformation), extrainformationsize, ::core::mem::transmute(extrainformationused), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(description)), description.len() as _, ::core::mem::transmute(descriptionused)).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentTimeDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDumpFormatFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDumpFormatFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberTextReplacements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberTextReplacements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextReplacement<'a, P0>(&self, srctext: P0, index: u32, srcbuffer: &mut [u8], srcsize: *mut u32, dstbuffer: &mut [u8], dstsize: *mut u32) -> ::windows::core::Result<()> @@ -26218,7 +26218,7 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).OutputTextReplacements)(::windows::core::Interface::as_raw(self), outputcontrol, flags).ok() } pub unsafe fn GetAssemblyOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAssemblyOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -26231,7 +26231,7 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).SetAssemblyOptions)(::windows::core::Interface::as_raw(self), options).ok() } pub unsafe fn GetExpressionSyntax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpressionSyntax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> ::windows::core::Result<()> { @@ -26244,29 +26244,29 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).SetExpressionSyntaxByName)(::windows::core::Interface::as_raw(self), abbrevname.into()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberExpressionSyntaxes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: &mut [u8], fullnamesize: *mut u32, abbrevnamebuffer: &mut [u8], abbrevnamesize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetExpressionSyntaxNames)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(fullnamebuffer)), fullnamebuffer.len() as _, ::core::mem::transmute(fullnamesize), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(abbrevnamebuffer)), abbrevnamebuffer.len() as _, ::core::mem::transmute(abbrevnamesize)).ok() } pub unsafe fn GetNumberEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventIndexDescription<'a, P0>(&self, index: u32, which: u32, buffer: P0, buffersize: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventIndexDescription)(::windows::core::Interface::as_raw(self), index, which, buffer.into(), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentEventIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentEventIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetNextEventIndex)(::windows::core::Interface::as_raw(self), relation, value, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26335,7 +26335,7 @@ impl IDebugControl7 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssembleWide)(::windows::core::Interface::as_raw(self), offset, instr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisassembleWide(&self, offset: u64, flags: u32, buffer: &mut [u16], disassemblysize: *mut u32, endoffset: *mut u64) -> ::windows::core::Result<()> { @@ -26374,15 +26374,15 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).ExecuteCommandFileWide)(::windows::core::Interface::as_raw(self), outputcontrol, commandfile.into(), flags).ok() } pub unsafe fn GetBreakpointByIndex2(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByIndex2)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBreakpointById2(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointById2)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddBreakpoint2(&self, r#type: u32, desiredid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBreakpoint2)(::windows::core::Interface::as_raw(self), r#type, desiredid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBreakpoint2<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -26395,14 +26395,14 @@ impl IDebugControl7 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddExtensionWide)(::windows::core::Interface::as_raw(self), path.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExtensionByPathWide<'a, P0>(&self, path: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtensionByPathWide)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CallExtensionWide<'a, P0, P1>(&self, handle: u64, function: P0, arguments: P1) -> ::windows::core::Result<()> @@ -26479,7 +26479,7 @@ impl IDebugControl7 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventIndexDescriptionWide)(::windows::core::Interface::as_raw(self), index, which, buffer.into(), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLogFile2(&self, buffer: &mut [u8], filesize: *mut u32, flags: *mut u32) -> ::windows::core::Result<()> { @@ -26552,11 +26552,11 @@ impl IDebugControl7 { (::windows::core::Interface::vtable(self).OutputContextStackTraceEx)(::windows::core::Interface::as_raw(self), outputcontrol, ::core::mem::transmute(::windows::core::as_ptr_or_null(frames)), frames.len() as _, ::core::mem::transmute(framecontexts), framecontextssize, framecontextsentrysize, flags).ok() } pub unsafe fn GetBreakpointByGuid(&self, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBreakpointByGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExecutionStatusEx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExecutionStatusEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSynchronizationStatus(&self, sendsattempted: *mut u32, secondssincelastresponse: *mut u32) -> ::windows::core::Result<()> { @@ -26897,18 +26897,18 @@ impl IDebugDataSpaces { (::windows::core::Interface::vtable(self).ReadVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteVirtual(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchVirtual(&self, offset: u64, length: u64, pattern: *const ::core::ffi::c_void, patternsize: u32, patterngranularity: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchVirtual)(::windows::core::Interface::as_raw(self), offset, length, ::core::mem::transmute(pattern), patternsize, patterngranularity, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadVirtualUncached(&self, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadVirtualUncached)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteVirtualUncached(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteVirtualUncached)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadPointersVirtual(&self, offset: u64, ptrs: &mut [u64]) -> ::windows::core::Result<()> { @@ -26921,25 +26921,25 @@ impl IDebugDataSpaces { (::windows::core::Interface::vtable(self).ReadPhysical)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WritePhysical(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WritePhysical)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadControl(&self, processor: u32, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadControl)(::windows::core::Interface::as_raw(self), processor, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteControl(&self, processor: u32, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteControl)(::windows::core::Interface::as_raw(self), processor, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadIo(&self, interfacetype: u32, busnumber: u32, addressspace: u32, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadIo)(::windows::core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteIo(&self, interfacetype: u32, busnumber: u32, addressspace: u32, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteIo)(::windows::core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadMsr(&self, msr: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadMsr)(::windows::core::Interface::as_raw(self), msr, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteMsr(&self, msr: u32, value: u64) -> ::windows::core::Result<()> { @@ -26949,7 +26949,7 @@ impl IDebugDataSpaces { (::windows::core::Interface::vtable(self).ReadBusData)(::windows::core::Interface::as_raw(self), busdatatype, busnumber, slotnumber, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteBusData(&self, busdatatype: u32, busnumber: u32, slotnumber: u32, offset: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteBusData)(::windows::core::Interface::as_raw(self), busdatatype, busnumber, slotnumber, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckLowMemory(&self) -> ::windows::core::Result<()> { @@ -27030,18 +27030,18 @@ impl IDebugDataSpaces2 { (::windows::core::Interface::vtable(self).ReadVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteVirtual(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchVirtual(&self, offset: u64, length: u64, pattern: *const ::core::ffi::c_void, patternsize: u32, patterngranularity: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchVirtual)(::windows::core::Interface::as_raw(self), offset, length, ::core::mem::transmute(pattern), patternsize, patterngranularity, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadVirtualUncached(&self, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadVirtualUncached)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteVirtualUncached(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteVirtualUncached)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadPointersVirtual(&self, offset: u64, ptrs: &mut [u64]) -> ::windows::core::Result<()> { @@ -27054,25 +27054,25 @@ impl IDebugDataSpaces2 { (::windows::core::Interface::vtable(self).ReadPhysical)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WritePhysical(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WritePhysical)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadControl(&self, processor: u32, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadControl)(::windows::core::Interface::as_raw(self), processor, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteControl(&self, processor: u32, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteControl)(::windows::core::Interface::as_raw(self), processor, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadIo(&self, interfacetype: u32, busnumber: u32, addressspace: u32, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadIo)(::windows::core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteIo(&self, interfacetype: u32, busnumber: u32, addressspace: u32, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteIo)(::windows::core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadMsr(&self, msr: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadMsr)(::windows::core::Interface::as_raw(self), msr, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteMsr(&self, msr: u32, value: u64) -> ::windows::core::Result<()> { @@ -27082,7 +27082,7 @@ impl IDebugDataSpaces2 { (::windows::core::Interface::vtable(self).ReadBusData)(::windows::core::Interface::as_raw(self), busdatatype, busnumber, slotnumber, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteBusData(&self, busdatatype: u32, busnumber: u32, slotnumber: u32, offset: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteBusData)(::windows::core::Interface::as_raw(self), busdatatype, busnumber, slotnumber, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckLowMemory(&self) -> ::windows::core::Result<()> { @@ -27095,7 +27095,7 @@ impl IDebugDataSpaces2 { (::windows::core::Interface::vtable(self).ReadProcessorSystemData)(::windows::core::Interface::as_raw(self), processor, index, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(datasize)).ok() } pub unsafe fn VirtualToPhysical(&self, r#virtual: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VirtualToPhysical)(::windows::core::Interface::as_raw(self), r#virtual, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVirtualTranslationPhysicalOffsets(&self, r#virtual: u64, offsets: &mut [u64], levels: *mut u32) -> ::windows::core::Result<()> { @@ -27105,17 +27105,17 @@ impl IDebugDataSpaces2 { (::windows::core::Interface::vtable(self).ReadHandleData)(::windows::core::Interface::as_raw(self), handle, datatype, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(datasize)).ok() } pub unsafe fn FillVirtual(&self, start: u64, size: u32, pattern: *const ::core::ffi::c_void, patternsize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillVirtual)(::windows::core::Interface::as_raw(self), start, size, ::core::mem::transmute(pattern), patternsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FillPhysical(&self, start: u64, size: u32, pattern: *const ::core::ffi::c_void, patternsize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillPhysical)(::windows::core::Interface::as_raw(self), start, size, ::core::mem::transmute(pattern), patternsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[cfg(feature = "Win32_System_Memory")] pub unsafe fn QueryVirtual(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27196,18 +27196,18 @@ impl IDebugDataSpaces3 { (::windows::core::Interface::vtable(self).ReadVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteVirtual(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchVirtual(&self, offset: u64, length: u64, pattern: *const ::core::ffi::c_void, patternsize: u32, patterngranularity: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchVirtual)(::windows::core::Interface::as_raw(self), offset, length, ::core::mem::transmute(pattern), patternsize, patterngranularity, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadVirtualUncached(&self, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadVirtualUncached)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteVirtualUncached(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteVirtualUncached)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadPointersVirtual(&self, offset: u64, ptrs: &mut [u64]) -> ::windows::core::Result<()> { @@ -27220,25 +27220,25 @@ impl IDebugDataSpaces3 { (::windows::core::Interface::vtable(self).ReadPhysical)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WritePhysical(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WritePhysical)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadControl(&self, processor: u32, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadControl)(::windows::core::Interface::as_raw(self), processor, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteControl(&self, processor: u32, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteControl)(::windows::core::Interface::as_raw(self), processor, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadIo(&self, interfacetype: u32, busnumber: u32, addressspace: u32, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadIo)(::windows::core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteIo(&self, interfacetype: u32, busnumber: u32, addressspace: u32, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteIo)(::windows::core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadMsr(&self, msr: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadMsr)(::windows::core::Interface::as_raw(self), msr, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteMsr(&self, msr: u32, value: u64) -> ::windows::core::Result<()> { @@ -27248,7 +27248,7 @@ impl IDebugDataSpaces3 { (::windows::core::Interface::vtable(self).ReadBusData)(::windows::core::Interface::as_raw(self), busdatatype, busnumber, slotnumber, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteBusData(&self, busdatatype: u32, busnumber: u32, slotnumber: u32, offset: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteBusData)(::windows::core::Interface::as_raw(self), busdatatype, busnumber, slotnumber, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckLowMemory(&self) -> ::windows::core::Result<()> { @@ -27261,7 +27261,7 @@ impl IDebugDataSpaces3 { (::windows::core::Interface::vtable(self).ReadProcessorSystemData)(::windows::core::Interface::as_raw(self), processor, index, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(datasize)).ok() } pub unsafe fn VirtualToPhysical(&self, r#virtual: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VirtualToPhysical)(::windows::core::Interface::as_raw(self), r#virtual, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVirtualTranslationPhysicalOffsets(&self, r#virtual: u64, offsets: &mut [u64], levels: *mut u32) -> ::windows::core::Result<()> { @@ -27271,30 +27271,30 @@ impl IDebugDataSpaces3 { (::windows::core::Interface::vtable(self).ReadHandleData)(::windows::core::Interface::as_raw(self), handle, datatype, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(datasize)).ok() } pub unsafe fn FillVirtual(&self, start: u64, size: u32, pattern: *const ::core::ffi::c_void, patternsize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillVirtual)(::windows::core::Interface::as_raw(self), start, size, ::core::mem::transmute(pattern), patternsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FillPhysical(&self, start: u64, size: u32, pattern: *const ::core::ffi::c_void, patternsize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillPhysical)(::windows::core::Interface::as_raw(self), start, size, ::core::mem::transmute(pattern), patternsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[cfg(feature = "Win32_System_Memory")] pub unsafe fn QueryVirtual(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[cfg(feature = "Win32_System_SystemInformation")] pub unsafe fn ReadImageNtHeaders(&self, imagebase: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadImageNtHeaders)(::windows::core::Interface::as_raw(self), imagebase, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadTagged(&self, tag: *const ::windows::core::GUID, offset: u32, buffer: *mut ::core::ffi::c_void, buffersize: u32, totalsize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadTagged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(tag), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(totalsize)).ok() } pub unsafe fn StartEnumTagged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartEnumTagged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextTagged(&self, handle: u64, tag: *mut ::windows::core::GUID, size: *mut u32) -> ::windows::core::Result<()> { @@ -27389,18 +27389,18 @@ impl IDebugDataSpaces4 { (::windows::core::Interface::vtable(self).ReadVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteVirtual(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchVirtual(&self, offset: u64, length: u64, pattern: *const ::core::ffi::c_void, patternsize: u32, patterngranularity: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchVirtual)(::windows::core::Interface::as_raw(self), offset, length, ::core::mem::transmute(pattern), patternsize, patterngranularity, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadVirtualUncached(&self, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadVirtualUncached)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteVirtualUncached(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteVirtualUncached)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadPointersVirtual(&self, offset: u64, ptrs: &mut [u64]) -> ::windows::core::Result<()> { @@ -27413,25 +27413,25 @@ impl IDebugDataSpaces4 { (::windows::core::Interface::vtable(self).ReadPhysical)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WritePhysical(&self, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WritePhysical)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadControl(&self, processor: u32, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadControl)(::windows::core::Interface::as_raw(self), processor, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteControl(&self, processor: u32, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteControl)(::windows::core::Interface::as_raw(self), processor, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadIo(&self, interfacetype: u32, busnumber: u32, addressspace: u32, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadIo)(::windows::core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteIo(&self, interfacetype: u32, busnumber: u32, addressspace: u32, offset: u64, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteIo)(::windows::core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadMsr(&self, msr: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadMsr)(::windows::core::Interface::as_raw(self), msr, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteMsr(&self, msr: u32, value: u64) -> ::windows::core::Result<()> { @@ -27441,7 +27441,7 @@ impl IDebugDataSpaces4 { (::windows::core::Interface::vtable(self).ReadBusData)(::windows::core::Interface::as_raw(self), busdatatype, busnumber, slotnumber, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteBusData(&self, busdatatype: u32, busnumber: u32, slotnumber: u32, offset: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteBusData)(::windows::core::Interface::as_raw(self), busdatatype, busnumber, slotnumber, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CheckLowMemory(&self) -> ::windows::core::Result<()> { @@ -27454,7 +27454,7 @@ impl IDebugDataSpaces4 { (::windows::core::Interface::vtable(self).ReadProcessorSystemData)(::windows::core::Interface::as_raw(self), processor, index, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(datasize)).ok() } pub unsafe fn VirtualToPhysical(&self, r#virtual: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VirtualToPhysical)(::windows::core::Interface::as_raw(self), r#virtual, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVirtualTranslationPhysicalOffsets(&self, r#virtual: u64, offsets: &mut [u64], levels: *mut u32) -> ::windows::core::Result<()> { @@ -27464,30 +27464,30 @@ impl IDebugDataSpaces4 { (::windows::core::Interface::vtable(self).ReadHandleData)(::windows::core::Interface::as_raw(self), handle, datatype, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(datasize)).ok() } pub unsafe fn FillVirtual(&self, start: u64, size: u32, pattern: *const ::core::ffi::c_void, patternsize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillVirtual)(::windows::core::Interface::as_raw(self), start, size, ::core::mem::transmute(pattern), patternsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FillPhysical(&self, start: u64, size: u32, pattern: *const ::core::ffi::c_void, patternsize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillPhysical)(::windows::core::Interface::as_raw(self), start, size, ::core::mem::transmute(pattern), patternsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[cfg(feature = "Win32_System_Memory")] pub unsafe fn QueryVirtual(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[cfg(feature = "Win32_System_SystemInformation")] pub unsafe fn ReadImageNtHeaders(&self, imagebase: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadImageNtHeaders)(::windows::core::Interface::as_raw(self), imagebase, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadTagged(&self, tag: *const ::windows::core::GUID, offset: u32, buffer: *mut ::core::ffi::c_void, buffersize: u32, totalsize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReadTagged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(tag), offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(totalsize)).ok() } pub unsafe fn StartEnumTagged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartEnumTagged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextTagged(&self, handle: u64, tag: *mut ::windows::core::GUID, size: *mut u32) -> ::windows::core::Result<()> { @@ -27500,14 +27500,14 @@ impl IDebugDataSpaces4 { (::windows::core::Interface::vtable(self).GetOffsetInformation)(::windows::core::Interface::as_raw(self), space, which, offset, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(infosize)).ok() } pub unsafe fn GetNextDifferentlyValidOffsetVirtual(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextDifferentlyValidOffsetVirtual)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValidRegionVirtual(&self, base: u64, size: u32, validbase: *mut u64, validsize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetValidRegionVirtual)(::windows::core::Interface::as_raw(self), base, size, ::core::mem::transmute(validbase), ::core::mem::transmute(validsize)).ok() } pub unsafe fn SearchVirtual2(&self, offset: u64, length: u64, flags: u32, pattern: *const ::core::ffi::c_void, patternsize: u32, patterngranularity: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchVirtual2)(::windows::core::Interface::as_raw(self), offset, length, flags, ::core::mem::transmute(pattern), patternsize, patterngranularity, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadMultiByteStringVirtual(&self, offset: u64, maxbytes: u32, buffer: &mut [u8], stringbytes: *mut u32) -> ::windows::core::Result<()> { @@ -27526,7 +27526,7 @@ impl IDebugDataSpaces4 { (::windows::core::Interface::vtable(self).ReadPhysical2)(::windows::core::Interface::as_raw(self), offset, flags, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WritePhysical2(&self, offset: u64, flags: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WritePhysical2)(::windows::core::Interface::as_raw(self), offset, flags, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27624,11 +27624,11 @@ impl IDebugDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), dnt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentClassId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDocumentClassId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -27692,11 +27692,11 @@ pub struct IDebugDocument_Vtbl { pub struct IDebugDocumentContext(::windows::core::IUnknown); impl IDebugDocumentContext { pub unsafe fn GetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumCodeContexts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCodeContexts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27791,7 +27791,7 @@ impl IDebugDocumentHelper32 { P0: ::std::convert::Into<::windows::core::InParam<'a, IActiveScript>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefineScriptBlock)(::windows::core::Interface::as_raw(self), ulcharoffset, cchars, pas.into().abi(), fscriptlet.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultTextAttr(&self, statextattr: u16) -> ::windows::core::Result<()> { @@ -27816,14 +27816,14 @@ impl IDebugDocumentHelper32 { (::windows::core::Interface::vtable(self).SetDocumentAttr)(::windows::core::Interface::as_raw(self), pszattributes).ok() } pub unsafe fn GetDebugApplicationNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDebugApplicationNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScriptBlockInfo(&self, dwsourcecontext: u32, ppasd: *mut ::core::option::Option, picharpos: *mut u32, pcchars: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetScriptBlockInfo)(::windows::core::Interface::as_raw(self), dwsourcecontext, ::core::mem::transmute(ppasd), ::core::mem::transmute(picharpos), ::core::mem::transmute(pcchars)).ok() } pub unsafe fn CreateDebugDocumentContext(&self, icharpos: u32, cchars: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDebugDocumentContext)(::windows::core::Interface::as_raw(self), icharpos, cchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BringDocumentToTop(&self) -> ::windows::core::Result<()> { @@ -27946,7 +27946,7 @@ impl IDebugDocumentHelper64 { P0: ::std::convert::Into<::windows::core::InParam<'a, IActiveScript>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefineScriptBlock)(::windows::core::Interface::as_raw(self), ulcharoffset, cchars, pas.into().abi(), fscriptlet.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultTextAttr(&self, statextattr: u16) -> ::windows::core::Result<()> { @@ -27971,14 +27971,14 @@ impl IDebugDocumentHelper64 { (::windows::core::Interface::vtable(self).SetDocumentAttr)(::windows::core::Interface::as_raw(self), pszattributes).ok() } pub unsafe fn GetDebugApplicationNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDebugApplicationNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScriptBlockInfo(&self, dwsourcecontext: u64, ppasd: *mut ::core::option::Option, picharpos: *mut u32, pcchars: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetScriptBlockInfo)(::windows::core::Interface::as_raw(self), dwsourcecontext, ::core::mem::transmute(ppasd), ::core::mem::transmute(picharpos), ::core::mem::transmute(pcchars)).ok() } pub unsafe fn CreateDebugDocumentContext(&self, icharpos: u32, cchars: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDebugDocumentContext)(::windows::core::Interface::as_raw(self), icharpos, cchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BringDocumentToTop(&self) -> ::windows::core::Result<()> { @@ -28066,7 +28066,7 @@ impl IDebugDocumentHost { (::windows::core::Interface::vtable(self).GetScriptTextAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pstrcode), ::core::mem::transmute(unumcodechars), pstrdelimiter.into(), dwflags, ::core::mem::transmute(pattr)).ok() } pub unsafe fn OnCreateDocumentContext(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnCreateDocumentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -28077,7 +28077,7 @@ impl IDebugDocumentHost { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyChanged(&self) -> ::windows::core::Result<()> { @@ -28143,11 +28143,11 @@ impl IDebugDocumentInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), dnt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentClassId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentClassId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -28203,15 +28203,15 @@ impl IDebugDocumentProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), dnt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentClassId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDocumentClassId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28278,22 +28278,22 @@ impl IDebugDocumentText { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetName)(::windows::core::Interface::as_raw(self), dnt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentClassId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDocumentClassId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetDocumentAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pcnumlines: *mut u32, pcnumchars: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcnumlines), ::core::mem::transmute(pcnumchars)).ok() } pub unsafe fn GetPositionOfLine(&self, clinenumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPositionOfLine)(::windows::core::Interface::as_raw(self), clinenumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLineOfPosition(&self, ccharacterposition: u32, pclinenumber: *mut u32, pccharacteroffsetinline: *mut u32) -> ::windows::core::Result<()> { @@ -28309,7 +28309,7 @@ impl IDebugDocumentText { (::windows::core::Interface::vtable(self).GetPositionOfContext)(::windows::core::Interface::as_raw(self), psc.into().abi(), ::core::mem::transmute(pccharacterposition), ::core::mem::transmute(cnumchars)).ok() } pub unsafe fn GetContextOfPosition(&self, ccharacterposition: u32, cnumchars: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContextOfPosition)(::windows::core::Interface::as_raw(self), ccharacterposition, cnumchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28397,22 +28397,22 @@ impl IDebugDocumentTextAuthor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetName)(::windows::core::Interface::as_raw(self), dnt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentClassId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDocumentClassId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetDocumentAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDocumentAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self, pcnumlines: *mut u32, pcnumchars: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcnumlines), ::core::mem::transmute(pcnumchars)).ok() } pub unsafe fn GetPositionOfLine(&self, clinenumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPositionOfLine)(::windows::core::Interface::as_raw(self), clinenumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLineOfPosition(&self, ccharacterposition: u32, pclinenumber: *mut u32, pccharacteroffsetinline: *mut u32) -> ::windows::core::Result<()> { @@ -28428,7 +28428,7 @@ impl IDebugDocumentTextAuthor { (::windows::core::Interface::vtable(self).base__.GetPositionOfContext)(::windows::core::Interface::as_raw(self), psc.into().abi(), ::core::mem::transmute(pccharacterposition), ::core::mem::transmute(cnumchars)).ok() } pub unsafe fn GetContextOfPosition(&self, ccharacterposition: u32, cnumchars: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContextOfPosition)(::windows::core::Interface::as_raw(self), ccharacterposition, cnumchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertText(&self, ccharacterposition: u32, pchartext: &[u16]) -> ::windows::core::Result<()> { @@ -28610,7 +28610,7 @@ impl IDebugDocumentTextExternalAuthor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyChanged(&self) -> ::windows::core::Result<()> { @@ -28671,7 +28671,7 @@ pub struct IDebugDocumentTextExternalAuthor_Vtbl { pub struct IDebugEventCallbacks(::windows::core::IUnknown); impl IDebugEventCallbacks { pub unsafe fn GetInterestMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterestMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Breakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -28792,7 +28792,7 @@ pub struct IDebugEventCallbacks_Vtbl { pub struct IDebugEventCallbacksWide(::windows::core::IUnknown); impl IDebugEventCallbacksWide { pub unsafe fn GetInterestMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterestMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Breakpoint<'a, P0>(&self, bp: P0) -> ::windows::core::Result<()> @@ -28913,7 +28913,7 @@ pub struct IDebugEventCallbacksWide_Vtbl { pub struct IDebugEventContextCallbacks(::windows::core::IUnknown); impl IDebugEventContextCallbacks { pub unsafe fn GetInterestMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterestMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Breakpoint<'a, P0>(&self, bp: P0, context: *const ::core::ffi::c_void, contextsize: u32) -> ::windows::core::Result<()> @@ -29160,7 +29160,7 @@ impl IDebugExpressionContext { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParseLanguageText)(::windows::core::Interface::as_raw(self), pstrcode.into(), nradix, pstrdelimiter.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29221,7 +29221,7 @@ impl IDebugExtendedProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPropertyInfo(&self, dwfieldspec: u32, nradix: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyInfo)(::windows::core::Interface::as_raw(self), dwfieldspec, nradix, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29236,21 +29236,21 @@ impl IDebugExtendedProperty { (::windows::core::Interface::vtable(self).base__.SetValueAsString)(::windows::core::Interface::as_raw(self), pszvalue.into(), nradix).ok() } pub unsafe fn EnumMembers(&self, dwfieldspec: u32, nradix: u32, refiid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumMembers)(::windows::core::Interface::as_raw(self), dwfieldspec, nradix, ::core::mem::transmute(refiid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe fn GetExtendedPropertyInfo(&self, dwfieldspec: u32, nradix: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtendedPropertyInfo)(::windows::core::Interface::as_raw(self), dwfieldspec, nradix, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumExtendedMembers(&self, dwfieldspec: u32, nradix: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumExtendedMembers)(::windows::core::Interface::as_raw(self), dwfieldspec, nradix, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29321,7 +29321,7 @@ impl IDebugFormatter { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetStringForVariant(&self, pvar: *const super::super::Com::VARIANT, nradix: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringForVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), nradix, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29330,13 +29330,13 @@ impl IDebugFormatter { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVariantForString)(::windows::core::Interface::as_raw(self), pwstrvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetStringForVarType(&self, vt: u16, ptdescarraytype: *const super::super::Com::TYPEDESC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringForVarType)(::windows::core::Interface::as_raw(self), vt, ::core::mem::transmute(ptdescarraytype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29403,7 +29403,7 @@ impl IDebugHelper { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDebugApplicationThread>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePropertyBrowser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), bstrname.into(), pdat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -29414,7 +29414,7 @@ impl IDebugHelper { P1: ::std::convert::Into<::windows::core::InParam<'a, IDebugApplicationThread>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IDebugFormatter>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePropertyBrowserEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), bstrname.into(), pdat.into().abi(), pdf.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -29423,7 +29423,7 @@ impl IDebugHelper { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSimpleConnectionPoint)(::windows::core::Interface::as_raw(self), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29484,15 +29484,15 @@ pub struct IDebugHelper_Vtbl { pub struct IDebugHost(::windows::core::IUnknown); impl IDebugHost { pub unsafe fn GetHostDefinedInterface(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHostDefinedInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCurrentContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultMetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultMetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29544,43 +29544,43 @@ pub struct IDebugHost_Vtbl { pub struct IDebugHostBaseClass(::windows::core::IUnknown); impl IDebugHostBaseClass { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29645,45 +29645,45 @@ pub struct IDebugHostBaseClass_Vtbl { pub struct IDebugHostConstant(::windows::core::IUnknown); impl IDebugHostConstant { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29754,7 +29754,7 @@ impl IDebugHostContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqualTo)(::windows::core::Interface::as_raw(self), pcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29804,53 +29804,53 @@ pub struct IDebugHostContext_Vtbl { pub struct IDebugHostData(::windows::core::IUnknown); impl IDebugHostData { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocationKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocationKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30179,57 +30179,57 @@ pub struct IDebugHostExtensibility_Vtbl { pub struct IDebugHostField(::windows::core::IUnknown); impl IDebugHostField { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocationKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocationKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30309,7 +30309,7 @@ impl IDebugHostMemory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteBytes)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(location), ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadPointers<'a, P0>(&self, context: P0, location: Location, pointers: &mut [u64]) -> ::windows::core::Result<()> @@ -30330,7 +30330,7 @@ impl IDebugHostMemory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayStringForLocation)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(location), verbose, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30396,7 +30396,7 @@ impl IDebugHostMemory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WriteBytes)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(location), ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadPointers<'a, P0>(&self, context: P0, location: Location, pointers: &mut [u64]) -> ::windows::core::Result<()> @@ -30417,14 +30417,14 @@ impl IDebugHostMemory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayStringForLocation)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(location), verbose, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LinearizeLocation<'a, P0>(&self, context: P0, location: Location) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LinearizeLocation)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(location), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30489,49 +30489,49 @@ pub struct IDebugHostMemory2_Vtbl { pub struct IDebugHostModule(::windows::core::IUnknown); impl IDebugHostModule { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetImageName(&self, allowpath: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageName)(::windows::core::Interface::as_raw(self), allowpath, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBaseLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBaseLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVersion(&self, fileversion: *mut u64, productversion: *mut u64) -> ::windows::core::Result<()> { @@ -30541,18 +30541,18 @@ impl IDebugHostModule { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindTypeByName)(::windows::core::Interface::as_raw(self), typename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindSymbolByRVA(&self, rva: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindSymbolByRVA)(::windows::core::Interface::as_raw(self), rva, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindSymbolByName<'a, P0>(&self, symbolname: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindSymbolByName)(::windows::core::Interface::as_raw(self), symbolname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30625,49 +30625,49 @@ pub struct IDebugHostModule_Vtbl { pub struct IDebugHostModule2(::windows::core::IUnknown); impl IDebugHostModule2 { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetImageName(&self, allowpath: u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetImageName)(::windows::core::Interface::as_raw(self), allowpath, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBaseLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBaseLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVersion(&self, fileversion: *mut u64, productversion: *mut u64) -> ::windows::core::Result<()> { @@ -30677,18 +30677,18 @@ impl IDebugHostModule2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindTypeByName)(::windows::core::Interface::as_raw(self), typename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindSymbolByRVA(&self, rva: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindSymbolByRVA)(::windows::core::Interface::as_raw(self), rva, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindSymbolByName<'a, P0>(&self, symbolname: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindSymbolByName)(::windows::core::Interface::as_raw(self), symbolname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindContainingSymbolByRVA(&self, rva: u64, symbol: *mut ::core::option::Option, offset: *mut u64) -> ::windows::core::Result<()> { @@ -30774,7 +30774,7 @@ impl IDebugHostModuleSignature { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostModule>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMatch)(::windows::core::Interface::as_raw(self), pmodule.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30824,47 +30824,47 @@ pub struct IDebugHostModuleSignature_Vtbl { pub struct IDebugHostPublic(::windows::core::IUnknown); impl IDebugHostPublic { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocationKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocationKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30933,7 +30933,7 @@ impl IDebugHostScriptHost { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDataModelScript>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateContext)(::windows::core::Interface::as_raw(self), script.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30983,7 +30983,7 @@ pub struct IDebugHostScriptHost_Vtbl { pub struct IDebugHostStatus(::windows::core::IUnknown); impl IDebugHostStatus { pub unsafe fn PollUserInterrupt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PollUserInterrupt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31033,39 +31033,39 @@ pub struct IDebugHostStatus_Vtbl { pub struct IDebugHostSymbol(::windows::core::IUnknown); impl IDebugHostSymbol { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31124,43 +31124,43 @@ pub struct IDebugHostSymbol_Vtbl { pub struct IDebugHostSymbol2(::windows::core::IUnknown); impl IDebugHostSymbol2 { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31228,7 +31228,7 @@ impl IDebugHostSymbolEnumerator { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31284,7 +31284,7 @@ impl IDebugHostSymbols { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateModuleSignature)(::windows::core::Interface::as_raw(self), pwszmodulename.into(), pwszminversion.into(), pwszmaxversion.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypeSignature<'a, P0, P1>(&self, signaturespecification: P0, module: P1) -> ::windows::core::Result @@ -31292,7 +31292,7 @@ impl IDebugHostSymbols { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostModule>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTypeSignature)(::windows::core::Interface::as_raw(self), signaturespecification.into(), module.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTypeSignatureForModuleRange<'a, P0, P1, P2, P3>(&self, signaturespecification: P0, modulename: P1, minversion: P2, maxversion: P3) -> ::windows::core::Result @@ -31302,14 +31302,14 @@ impl IDebugHostSymbols { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTypeSignatureForModuleRange)(::windows::core::Interface::as_raw(self), signaturespecification.into(), modulename.into(), minversion.into(), maxversion.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateModules<'a, P0>(&self, context: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateModules)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindModuleByName<'a, P0, P1>(&self, context: P0, modulename: P1) -> ::windows::core::Result @@ -31317,14 +31317,14 @@ impl IDebugHostSymbols { P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindModuleByName)(::windows::core::Interface::as_raw(self), context.into().abi(), modulename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindModuleByLocation<'a, P0>(&self, context: P0, modulelocation: Location) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindModuleByLocation)(::windows::core::Interface::as_raw(self), context.into().abi(), ::core::mem::transmute(modulelocation), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMostDerivedObject<'a, P0, P1>(&self, pcontext: P0, location: Location, objecttype: P1, derivedlocation: *mut Location, derivedtype: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -31387,55 +31387,55 @@ pub struct IDebugHostSymbols_Vtbl { pub struct IDebugHostType(::windows::core::IUnknown); impl IDebugHostType { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBaseType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBaseType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHashCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHashCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIntrinsicType(&self, intrinsickind: *mut IntrinsicKind, carriertype: *mut u16) -> ::windows::core::Result<()> { @@ -31445,54 +31445,54 @@ impl IDebugHostType { (::windows::core::Interface::vtable(self).GetBitField)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lsboffield), ::core::mem::transmute(lengthoffield)).ok() } pub unsafe fn GetPointerKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPointerKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMemberType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMemberType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePointerTo(&self, kind: PointerKind) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePointerTo)(::windows::core::Interface::as_raw(self), kind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetArrayDimensionality(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetArrayDimensionality)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetArrayDimensions(&self, pdimensions: &mut [ArrayDimension]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetArrayDimensions)(::windows::core::Interface::as_raw(self), pdimensions.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pdimensions))).ok() } pub unsafe fn CreateArrayOf(&self, pdimensions: &[ArrayDimension]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateArrayOf)(::windows::core::Interface::as_raw(self), pdimensions.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdimensions)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionCallingConvention(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionCallingConvention)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionReturnType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionReturnType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionParameterTypeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionParameterTypeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionParameterTypeAt(&self, i: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionParameterTypeAt)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsGeneric(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsGeneric)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGenericArgumentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGenericArgumentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGenericArgumentAt(&self, i: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGenericArgumentAt)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31575,55 +31575,55 @@ pub struct IDebugHostType_Vtbl { pub struct IDebugHostType2(::windows::core::IUnknown); impl IDebugHostType2 { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateChildren<'a, P0>(&self, kind: SymbolKind, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumerateChildren)(::windows::core::Interface::as_raw(self), kind, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSymbolKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainingModule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetContainingModule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareAgainst<'a, P0>(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostSymbol>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CompareAgainst)(::windows::core::Interface::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBaseType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBaseType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHashCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHashCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIntrinsicType(&self, intrinsickind: *mut IntrinsicKind, carriertype: *mut u16) -> ::windows::core::Result<()> { @@ -31633,74 +31633,74 @@ impl IDebugHostType2 { (::windows::core::Interface::vtable(self).base__.GetBitField)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(lsboffield), ::core::mem::transmute(lengthoffield)).ok() } pub unsafe fn GetPointerKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPointerKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMemberType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMemberType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreatePointerTo(&self, kind: PointerKind) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePointerTo)(::windows::core::Interface::as_raw(self), kind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetArrayDimensionality(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetArrayDimensionality)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetArrayDimensions(&self, pdimensions: &mut [ArrayDimension]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetArrayDimensions)(::windows::core::Interface::as_raw(self), pdimensions.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pdimensions))).ok() } pub unsafe fn CreateArrayOf(&self, pdimensions: &[ArrayDimension]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateArrayOf)(::windows::core::Interface::as_raw(self), pdimensions.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pdimensions)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionCallingConvention(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFunctionCallingConvention)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionReturnType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFunctionReturnType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionParameterTypeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFunctionParameterTypeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionParameterTypeAt(&self, i: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFunctionParameterTypeAt)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsGeneric(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsGeneric)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGenericArgumentCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGenericArgumentCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGenericArgumentAt(&self, i: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGenericArgumentAt)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsTypedef(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTypedef)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypedefBaseType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypedefBaseType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypedefFinalBaseType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypedefFinalBaseType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionVarArgsKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionVarArgsKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionInstancePointerType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionInstancePointerType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31784,7 +31784,7 @@ pub struct IDebugHostType2_Vtbl { pub struct IDebugHostTypeSignature(::windows::core::IUnknown); impl IDebugHostTypeSignature { pub unsafe fn GetHashCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHashCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMatch<'a, P0>(&self, r#type: P0, ismatch: *mut bool, wildcardmatches: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -31797,7 +31797,7 @@ impl IDebugHostTypeSignature { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugHostTypeSignature>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareAgainst)(::windows::core::Interface::as_raw(self), typesignature.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31960,7 +31960,7 @@ impl IDebugOutputCallbacks2 { (::windows::core::Interface::vtable(self).Output)(::windows::core::Interface::as_raw(self), mask, text.into()).ok() } pub unsafe fn GetInterestMask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInterestMask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Output2<'a, P0>(&self, which: u32, flags: u32, arg: u64, text: P0) -> ::windows::core::Result<()> @@ -32369,7 +32369,7 @@ impl IDebugProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPropertyInfo(&self, dwfieldspec: u32, nradix: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyInfo)(::windows::core::Interface::as_raw(self), dwfieldspec, nradix, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32384,11 +32384,11 @@ impl IDebugProperty { (::windows::core::Interface::vtable(self).SetValueAsString)(::windows::core::Interface::as_raw(self), pszvalue.into(), nradix).ok() } pub unsafe fn EnumMembers(&self, dwfieldspec: u32, nradix: u32, refiid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumMembers)(::windows::core::Interface::as_raw(self), dwfieldspec, nradix, ::core::mem::transmute(refiid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32450,7 +32450,7 @@ impl IDebugPropertyEnumType_All { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32505,7 +32505,7 @@ impl IDebugPropertyEnumType_Arguments { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32571,7 +32571,7 @@ impl IDebugPropertyEnumType_Locals { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32637,7 +32637,7 @@ impl IDebugPropertyEnumType_LocalsPlusArgs { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32703,7 +32703,7 @@ impl IDebugPropertyEnumType_Registers { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32767,7 +32767,7 @@ pub struct IDebugPropertyEnumType_Registers_Vtbl { pub struct IDebugRegisters(::windows::core::IUnknown); impl IDebugRegisters { pub unsafe fn GetNumberRegisters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberRegisters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDescription(&self, register: u32, namebuffer: &mut [u8], namesize: *mut u32, desc: *mut DEBUG_REGISTER_DESCRIPTION) -> ::windows::core::Result<()> { @@ -32777,13 +32777,13 @@ impl IDebugRegisters { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndexByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValue(&self, register: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), register, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32805,15 +32805,15 @@ impl IDebugRegisters { (::windows::core::Interface::vtable(self).OutputRegisters)(::windows::core::Interface::as_raw(self), outputcontrol, flags).ok() } pub unsafe fn GetInstructionOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstructionOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStackOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStackOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32885,7 +32885,7 @@ pub struct IDebugRegisters_Vtbl { pub struct IDebugRegisters2(::windows::core::IUnknown); impl IDebugRegisters2 { pub unsafe fn GetNumberRegisters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberRegisters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDescription(&self, register: u32, namebuffer: &mut [u8], namesize: *mut u32, desc: *mut DEBUG_REGISTER_DESCRIPTION) -> ::windows::core::Result<()> { @@ -32895,13 +32895,13 @@ impl IDebugRegisters2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndexByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetValue(&self, register: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), register, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32923,15 +32923,15 @@ impl IDebugRegisters2 { (::windows::core::Interface::vtable(self).OutputRegisters)(::windows::core::Interface::as_raw(self), outputcontrol, flags).ok() } pub unsafe fn GetInstructionOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstructionOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStackOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStackOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDescriptionWide(&self, register: u32, namebuffer: &mut [u16], namesize: *mut u32, desc: *mut DEBUG_REGISTER_DESCRIPTION) -> ::windows::core::Result<()> { @@ -32941,11 +32941,11 @@ impl IDebugRegisters2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndexByNameWide)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberPseudoRegisters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberPseudoRegisters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPseudoDescription(&self, register: u32, namebuffer: &mut [u8], namesize: *mut u32, typemodule: *mut u64, typeid: *mut u32) -> ::windows::core::Result<()> { @@ -32958,14 +32958,14 @@ impl IDebugRegisters2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPseudoIndexByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPseudoIndexByNameWide<'a, P0>(&self, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPseudoIndexByNameWide)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32992,15 +32992,15 @@ impl IDebugRegisters2 { (::windows::core::Interface::vtable(self).OutputRegisters2)(::windows::core::Interface::as_raw(self), outputcontrol, source, flags).ok() } pub unsafe fn GetInstructionOffset2(&self, source: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstructionOffset2)(::windows::core::Interface::as_raw(self), source, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStackOffset2(&self, source: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStackOffset2)(::windows::core::Interface::as_raw(self), source, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFrameOffset2(&self, source: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameOffset2)(::windows::core::Interface::as_raw(self), source, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33151,7 +33151,7 @@ pub struct IDebugSessionProvider_Vtbl { pub struct IDebugStackFrame(::windows::core::IUnknown); impl IDebugStackFrame { pub unsafe fn GetCodeContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodeContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33160,7 +33160,7 @@ impl IDebugStackFrame { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescriptionString)(::windows::core::Interface::as_raw(self), flong.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33169,15 +33169,15 @@ impl IDebugStackFrame { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguageString)(::windows::core::Interface::as_raw(self), flong.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDebugProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDebugProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33237,7 +33237,7 @@ pub struct IDebugStackFrame_Vtbl { pub struct IDebugStackFrame110(::windows::core::IUnknown); impl IDebugStackFrame110 { pub unsafe fn GetCodeContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCodeContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33246,7 +33246,7 @@ impl IDebugStackFrame110 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescriptionString)(::windows::core::Interface::as_raw(self), flong.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -33255,23 +33255,23 @@ impl IDebugStackFrame110 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguageString)(::windows::core::Interface::as_raw(self), flong.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDebugProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDebugProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStackFrameType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStackFrameType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetScriptInvocationContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScriptInvocationContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33337,7 +33337,7 @@ pub struct IDebugStackFrame110_Vtbl { pub struct IDebugStackFrameSniffer(::windows::core::IUnknown); impl IDebugStackFrameSniffer { pub unsafe fn EnumStackFrames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStackFrames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33387,11 +33387,11 @@ pub struct IDebugStackFrameSniffer_Vtbl { pub struct IDebugStackFrameSnifferEx32(::windows::core::IUnknown); impl IDebugStackFrameSnifferEx32 { pub unsafe fn EnumStackFrames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumStackFrames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStackFramesEx32(&self, dwspmin: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStackFramesEx32)(::windows::core::Interface::as_raw(self), dwspmin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33456,11 +33456,11 @@ pub struct IDebugStackFrameSnifferEx32_Vtbl { pub struct IDebugStackFrameSnifferEx64(::windows::core::IUnknown); impl IDebugStackFrameSnifferEx64 { pub unsafe fn EnumStackFrames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumStackFrames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStackFramesEx64(&self, dwspmin: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStackFramesEx64)(::windows::core::Interface::as_raw(self), dwspmin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33525,7 +33525,7 @@ pub struct IDebugStackFrameSnifferEx64_Vtbl { pub struct IDebugSymbolGroup(::windows::core::IUnknown); impl IDebugSymbolGroup { pub unsafe fn GetNumberSymbols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSymbols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSymbol<'a, P0>(&self, name: P0, index: *mut u32) -> ::windows::core::Result<()> @@ -33631,7 +33631,7 @@ pub struct IDebugSymbolGroup_Vtbl { pub struct IDebugSymbolGroup2(::windows::core::IUnknown); impl IDebugSymbolGroup2 { pub unsafe fn GetNumberSymbols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSymbols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSymbol<'a, P0>(&self, name: P0, index: *mut u32) -> ::windows::core::Result<()> @@ -33712,15 +33712,15 @@ impl IDebugSymbolGroup2 { (::windows::core::Interface::vtable(self).GetSymbolTypeNameWide)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(namesize)).ok() } pub unsafe fn GetSymbolSize(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolSize)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolOffset(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolOffset)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolRegister(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolRegister)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolValueText(&self, index: u32, buffer: &mut [u8], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -33730,7 +33730,7 @@ impl IDebugSymbolGroup2 { (::windows::core::Interface::vtable(self).GetSymbolValueTextWide)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(namesize)).ok() } pub unsafe fn GetSymbolEntryInformation(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryInformation)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33805,7 +33805,7 @@ pub struct IDebugSymbolGroup2_Vtbl { pub struct IDebugSymbols(::windows::core::IUnknown); impl IDebugSymbols { pub unsafe fn GetSymbolOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -33824,7 +33824,7 @@ impl IDebugSymbols { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByName)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: &mut [u8], namesize: *mut u32, displacement: *mut u64) -> ::windows::core::Result<()> { @@ -33837,14 +33837,14 @@ impl IDebugSymbols { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByLine)(::windows::core::Interface::as_raw(self), line, file.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberModules(&self, loaded: *mut u32, unloaded: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetNumberModules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(loaded), ::core::mem::transmute(unloaded)).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModuleByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModuleByModuleName<'a, P0>(&self, name: P0, startindex: u32, index: *mut u32, base: *mut u64) -> ::windows::core::Result<()> @@ -33880,7 +33880,7 @@ impl IDebugSymbols { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolModule)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: &mut [u8], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -33890,18 +33890,18 @@ impl IDebugSymbols { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeId)(::windows::core::Interface::as_raw(self), module, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeSize)(::windows::core::Interface::as_raw(self), module, typeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFieldOffset<'a, P0>(&self, module: u64, typeid: u32, field: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldOffset)(::windows::core::Interface::as_raw(self), module, typeid, field.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolTypeId<'a, P0>(&self, symbol: P0, typeid: *mut u32, module: *mut u64) -> ::windows::core::Result<()> @@ -33917,7 +33917,7 @@ impl IDebugSymbols { (::windows::core::Interface::vtable(self).ReadTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataVirtual(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataVirtual(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -33927,7 +33927,7 @@ impl IDebugSymbols { (::windows::core::Interface::vtable(self).ReadTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataPhysical(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataPhysical(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -33950,18 +33950,18 @@ impl IDebugSymbols { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSymbolGroup>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeSymbolGroup)(::windows::core::Interface::as_raw(self), flags, update.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSymbolGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSymbolGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartSymbolMatch<'a, P0>(&self, pattern: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartSymbolMatch)(::windows::core::Interface::as_raw(self), pattern.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: &mut [u8], matchsize: *mut u32, offset: *mut u64) -> ::windows::core::Result<()> { @@ -34137,7 +34137,7 @@ pub struct IDebugSymbols_Vtbl { pub struct IDebugSymbols2(::windows::core::IUnknown); impl IDebugSymbols2 { pub unsafe fn GetSymbolOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -34156,7 +34156,7 @@ impl IDebugSymbols2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByName)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: &mut [u8], namesize: *mut u32, displacement: *mut u64) -> ::windows::core::Result<()> { @@ -34169,14 +34169,14 @@ impl IDebugSymbols2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByLine)(::windows::core::Interface::as_raw(self), line, file.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberModules(&self, loaded: *mut u32, unloaded: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetNumberModules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(loaded), ::core::mem::transmute(unloaded)).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModuleByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModuleByModuleName<'a, P0>(&self, name: P0, startindex: u32, index: *mut u32, base: *mut u64) -> ::windows::core::Result<()> @@ -34212,7 +34212,7 @@ impl IDebugSymbols2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolModule)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: &mut [u8], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -34222,18 +34222,18 @@ impl IDebugSymbols2 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeId)(::windows::core::Interface::as_raw(self), module, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeSize)(::windows::core::Interface::as_raw(self), module, typeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFieldOffset<'a, P0>(&self, module: u64, typeid: u32, field: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldOffset)(::windows::core::Interface::as_raw(self), module, typeid, field.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolTypeId<'a, P0>(&self, symbol: P0, typeid: *mut u32, module: *mut u64) -> ::windows::core::Result<()> @@ -34249,7 +34249,7 @@ impl IDebugSymbols2 { (::windows::core::Interface::vtable(self).ReadTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataVirtual(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataVirtual(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -34259,7 +34259,7 @@ impl IDebugSymbols2 { (::windows::core::Interface::vtable(self).ReadTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataPhysical(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataPhysical(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -34282,18 +34282,18 @@ impl IDebugSymbols2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSymbolGroup>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeSymbolGroup)(::windows::core::Interface::as_raw(self), flags, update.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSymbolGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSymbolGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartSymbolMatch<'a, P0>(&self, pattern: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartSymbolMatch)(::windows::core::Interface::as_raw(self), pattern.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: &mut [u8], matchsize: *mut u32, offset: *mut u64) -> ::windows::core::Result<()> { @@ -34384,7 +34384,7 @@ impl IDebugSymbols2 { (::windows::core::Interface::vtable(self).GetFieldName)(::windows::core::Interface::as_raw(self), module, typeid, fieldindex, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(namebuffer)), namebuffer.len() as _, ::core::mem::transmute(namesize)).ok() } pub unsafe fn GetTypeOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTypeOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -34505,7 +34505,7 @@ pub struct IDebugSymbols2_Vtbl { pub struct IDebugSymbols3(::windows::core::IUnknown); impl IDebugSymbols3 { pub unsafe fn GetSymbolOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -34524,7 +34524,7 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByName)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: &mut [u8], namesize: *mut u32, displacement: *mut u64) -> ::windows::core::Result<()> { @@ -34537,14 +34537,14 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByLine)(::windows::core::Interface::as_raw(self), line, file.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberModules(&self, loaded: *mut u32, unloaded: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetNumberModules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(loaded), ::core::mem::transmute(unloaded)).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModuleByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModuleByModuleName<'a, P0>(&self, name: P0, startindex: u32, index: *mut u32, base: *mut u64) -> ::windows::core::Result<()> @@ -34580,7 +34580,7 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolModule)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: &mut [u8], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -34590,18 +34590,18 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeId)(::windows::core::Interface::as_raw(self), module, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeSize)(::windows::core::Interface::as_raw(self), module, typeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFieldOffset<'a, P0>(&self, module: u64, typeid: u32, field: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldOffset)(::windows::core::Interface::as_raw(self), module, typeid, field.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolTypeId<'a, P0>(&self, symbol: P0, typeid: *mut u32, module: *mut u64) -> ::windows::core::Result<()> @@ -34617,7 +34617,7 @@ impl IDebugSymbols3 { (::windows::core::Interface::vtable(self).ReadTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataVirtual(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataVirtual(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -34627,7 +34627,7 @@ impl IDebugSymbols3 { (::windows::core::Interface::vtable(self).ReadTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataPhysical(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataPhysical(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -34650,18 +34650,18 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSymbolGroup>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeSymbolGroup)(::windows::core::Interface::as_raw(self), flags, update.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSymbolGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSymbolGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartSymbolMatch<'a, P0>(&self, pattern: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartSymbolMatch)(::windows::core::Interface::as_raw(self), pattern.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: &mut [u8], matchsize: *mut u32, offset: *mut u64) -> ::windows::core::Result<()> { @@ -34752,7 +34752,7 @@ impl IDebugSymbols3 { (::windows::core::Interface::vtable(self).GetFieldName)(::windows::core::Interface::as_raw(self), module, typeid, fieldindex, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(namebuffer)), namebuffer.len() as _, ::core::mem::transmute(namesize)).ok() } pub unsafe fn GetTypeOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTypeOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -34771,7 +34771,7 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByNameWide)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNearNameByOffsetWide(&self, offset: u64, delta: i32, namebuffer: &mut [u16], namesize: *mut u32, displacement: *mut u64) -> ::windows::core::Result<()> { @@ -34784,7 +34784,7 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByLineWide)(::windows::core::Interface::as_raw(self), line, file.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModuleByModuleNameWide<'a, P0>(&self, name: P0, startindex: u32, index: *mut u32, base: *mut u64) -> ::windows::core::Result<()> @@ -34797,7 +34797,7 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolModuleWide)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeNameWide(&self, module: u64, typeid: u32, namebuffer: &mut [u16], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -34807,14 +34807,14 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeIdWide)(::windows::core::Interface::as_raw(self), module, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFieldOffsetWide<'a, P0>(&self, module: u64, typeid: u32, field: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldOffsetWide)(::windows::core::Interface::as_raw(self), module, typeid, field.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolTypeIdWide<'a, P0>(&self, symbol: P0, typeid: *mut u32, module: *mut u64) -> ::windows::core::Result<()> @@ -34827,18 +34827,18 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSymbolGroup2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeSymbolGroup2)(::windows::core::Interface::as_raw(self), flags, update.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSymbolGroup2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSymbolGroup2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartSymbolMatchWide<'a, P0>(&self, pattern: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartSymbolMatchWide)(::windows::core::Interface::as_raw(self), pattern.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSymbolMatchWide(&self, handle: u64, buffer: &mut [u16], matchsize: *mut u32, offset: *mut u64) -> ::windows::core::Result<()> { @@ -34961,7 +34961,7 @@ impl IDebugSymbols3 { (::windows::core::Interface::vtable(self).RemoveSyntheticModule)(::windows::core::Interface::as_raw(self), base).ok() } pub unsafe fn GetCurrentScopeFrameIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentScopeFrameIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScopeFrameByIndex(&self, index: u32) -> ::windows::core::Result<()> { @@ -34995,14 +34995,14 @@ impl IDebugSymbols3 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSyntheticSymbol)(::windows::core::Interface::as_raw(self), offset, size, name.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSyntheticSymbolWide<'a, P0>(&self, offset: u64, size: u32, name: P0, flags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSyntheticSymbolWide)(::windows::core::Interface::as_raw(self), offset, size, name.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveSyntheticSymbol(&self, id: *const DEBUG_MODULE_AND_ID) -> ::windows::core::Result<()> { @@ -35024,11 +35024,11 @@ impl IDebugSymbols3 { (::windows::core::Interface::vtable(self).GetSymbolEntriesByNameWide)(::windows::core::Interface::as_raw(self), symbol.into(), flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ids)), ids.len() as _, ::core::mem::transmute(entries)).ok() } pub unsafe fn GetSymbolEntryByToken(&self, modulebase: u64, token: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryByToken)(::windows::core::Interface::as_raw(self), modulebase, token, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolEntryInformation(&self, id: *const DEBUG_MODULE_AND_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolEntryString(&self, id: *const DEBUG_MODULE_AND_ID, which: u32, buffer: &mut [u8], stringsize: *mut u32) -> ::windows::core::Result<()> { @@ -35041,7 +35041,7 @@ impl IDebugSymbols3 { (::windows::core::Interface::vtable(self).GetSymbolEntryOffsetRegions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(regions)), regions.len() as _, ::core::mem::transmute(regionsavail)).ok() } pub unsafe fn GetSymbolEntryBySymbolEntry(&self, fromid: *const DEBUG_MODULE_AND_ID, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryBySymbolEntry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fromid), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceEntriesByOffset(&self, offset: u64, flags: u32, entries: &mut [DEBUG_SYMBOL_SOURCE_ENTRY], entriesavail: *mut u32) -> ::windows::core::Result<()> { @@ -35069,7 +35069,7 @@ impl IDebugSymbols3 { (::windows::core::Interface::vtable(self).GetSourceEntryOffsetRegions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(entry), flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(regions)), regions.len() as _, ::core::mem::transmute(regionsavail)).ok() } pub unsafe fn GetSourceEntryBySourceEntry(&self, fromentry: *const DEBUG_SYMBOL_SOURCE_ENTRY, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceEntryBySourceEntry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fromentry), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35247,7 +35247,7 @@ pub struct IDebugSymbols3_Vtbl { pub struct IDebugSymbols4(::windows::core::IUnknown); impl IDebugSymbols4 { pub unsafe fn GetSymbolOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -35266,7 +35266,7 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByName)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: &mut [u8], namesize: *mut u32, displacement: *mut u64) -> ::windows::core::Result<()> { @@ -35279,14 +35279,14 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByLine)(::windows::core::Interface::as_raw(self), line, file.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberModules(&self, loaded: *mut u32, unloaded: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetNumberModules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(loaded), ::core::mem::transmute(unloaded)).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModuleByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModuleByModuleName<'a, P0>(&self, name: P0, startindex: u32, index: *mut u32, base: *mut u64) -> ::windows::core::Result<()> @@ -35322,7 +35322,7 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolModule)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: &mut [u8], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -35332,18 +35332,18 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeId)(::windows::core::Interface::as_raw(self), module, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeSize)(::windows::core::Interface::as_raw(self), module, typeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFieldOffset<'a, P0>(&self, module: u64, typeid: u32, field: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldOffset)(::windows::core::Interface::as_raw(self), module, typeid, field.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolTypeId<'a, P0>(&self, symbol: P0, typeid: *mut u32, module: *mut u64) -> ::windows::core::Result<()> @@ -35359,7 +35359,7 @@ impl IDebugSymbols4 { (::windows::core::Interface::vtable(self).ReadTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataVirtual(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataVirtual(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -35369,7 +35369,7 @@ impl IDebugSymbols4 { (::windows::core::Interface::vtable(self).ReadTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataPhysical(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataPhysical(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -35392,18 +35392,18 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSymbolGroup>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeSymbolGroup)(::windows::core::Interface::as_raw(self), flags, update.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSymbolGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSymbolGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartSymbolMatch<'a, P0>(&self, pattern: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartSymbolMatch)(::windows::core::Interface::as_raw(self), pattern.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: &mut [u8], matchsize: *mut u32, offset: *mut u64) -> ::windows::core::Result<()> { @@ -35494,7 +35494,7 @@ impl IDebugSymbols4 { (::windows::core::Interface::vtable(self).GetFieldName)(::windows::core::Interface::as_raw(self), module, typeid, fieldindex, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(namebuffer)), namebuffer.len() as _, ::core::mem::transmute(namesize)).ok() } pub unsafe fn GetTypeOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTypeOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -35513,7 +35513,7 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByNameWide)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNearNameByOffsetWide(&self, offset: u64, delta: i32, namebuffer: &mut [u16], namesize: *mut u32, displacement: *mut u64) -> ::windows::core::Result<()> { @@ -35526,7 +35526,7 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByLineWide)(::windows::core::Interface::as_raw(self), line, file.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModuleByModuleNameWide<'a, P0>(&self, name: P0, startindex: u32, index: *mut u32, base: *mut u64) -> ::windows::core::Result<()> @@ -35539,7 +35539,7 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolModuleWide)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeNameWide(&self, module: u64, typeid: u32, namebuffer: &mut [u16], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -35549,14 +35549,14 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeIdWide)(::windows::core::Interface::as_raw(self), module, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFieldOffsetWide<'a, P0>(&self, module: u64, typeid: u32, field: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldOffsetWide)(::windows::core::Interface::as_raw(self), module, typeid, field.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolTypeIdWide<'a, P0>(&self, symbol: P0, typeid: *mut u32, module: *mut u64) -> ::windows::core::Result<()> @@ -35569,18 +35569,18 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSymbolGroup2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeSymbolGroup2)(::windows::core::Interface::as_raw(self), flags, update.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSymbolGroup2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSymbolGroup2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartSymbolMatchWide<'a, P0>(&self, pattern: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartSymbolMatchWide)(::windows::core::Interface::as_raw(self), pattern.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSymbolMatchWide(&self, handle: u64, buffer: &mut [u16], matchsize: *mut u32, offset: *mut u64) -> ::windows::core::Result<()> { @@ -35703,7 +35703,7 @@ impl IDebugSymbols4 { (::windows::core::Interface::vtable(self).RemoveSyntheticModule)(::windows::core::Interface::as_raw(self), base).ok() } pub unsafe fn GetCurrentScopeFrameIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentScopeFrameIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScopeFrameByIndex(&self, index: u32) -> ::windows::core::Result<()> { @@ -35737,14 +35737,14 @@ impl IDebugSymbols4 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSyntheticSymbol)(::windows::core::Interface::as_raw(self), offset, size, name.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSyntheticSymbolWide<'a, P0>(&self, offset: u64, size: u32, name: P0, flags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSyntheticSymbolWide)(::windows::core::Interface::as_raw(self), offset, size, name.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveSyntheticSymbol(&self, id: *const DEBUG_MODULE_AND_ID) -> ::windows::core::Result<()> { @@ -35766,11 +35766,11 @@ impl IDebugSymbols4 { (::windows::core::Interface::vtable(self).GetSymbolEntriesByNameWide)(::windows::core::Interface::as_raw(self), symbol.into(), flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ids)), ids.len() as _, ::core::mem::transmute(entries)).ok() } pub unsafe fn GetSymbolEntryByToken(&self, modulebase: u64, token: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryByToken)(::windows::core::Interface::as_raw(self), modulebase, token, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolEntryInformation(&self, id: *const DEBUG_MODULE_AND_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolEntryString(&self, id: *const DEBUG_MODULE_AND_ID, which: u32, buffer: &mut [u8], stringsize: *mut u32) -> ::windows::core::Result<()> { @@ -35783,7 +35783,7 @@ impl IDebugSymbols4 { (::windows::core::Interface::vtable(self).GetSymbolEntryOffsetRegions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(regions)), regions.len() as _, ::core::mem::transmute(regionsavail)).ok() } pub unsafe fn GetSymbolEntryBySymbolEntry(&self, fromid: *const DEBUG_MODULE_AND_ID, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryBySymbolEntry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fromid), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceEntriesByOffset(&self, offset: u64, flags: u32, entries: &mut [DEBUG_SYMBOL_SOURCE_ENTRY], entriesavail: *mut u32) -> ::windows::core::Result<()> { @@ -35811,7 +35811,7 @@ impl IDebugSymbols4 { (::windows::core::Interface::vtable(self).GetSourceEntryOffsetRegions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(entry), flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(regions)), regions.len() as _, ::core::mem::transmute(regionsavail)).ok() } pub unsafe fn GetSourceEntryBySourceEntry(&self, fromentry: *const DEBUG_SYMBOL_SOURCE_ENTRY, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceEntryBySourceEntry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fromentry), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36027,7 +36027,7 @@ pub struct IDebugSymbols4_Vtbl { pub struct IDebugSymbols5(::windows::core::IUnknown); impl IDebugSymbols5 { pub unsafe fn GetSymbolOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -36046,7 +36046,7 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByName)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: &mut [u8], namesize: *mut u32, displacement: *mut u64) -> ::windows::core::Result<()> { @@ -36059,14 +36059,14 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByLine)(::windows::core::Interface::as_raw(self), line, file.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberModules(&self, loaded: *mut u32, unloaded: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetNumberModules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(loaded), ::core::mem::transmute(unloaded)).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModuleByIndex)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModuleByModuleName<'a, P0>(&self, name: P0, startindex: u32, index: *mut u32, base: *mut u64) -> ::windows::core::Result<()> @@ -36102,7 +36102,7 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolModule)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: &mut [u8], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -36112,18 +36112,18 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeId)(::windows::core::Interface::as_raw(self), module, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeSize)(::windows::core::Interface::as_raw(self), module, typeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFieldOffset<'a, P0>(&self, module: u64, typeid: u32, field: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldOffset)(::windows::core::Interface::as_raw(self), module, typeid, field.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolTypeId<'a, P0>(&self, symbol: P0, typeid: *mut u32, module: *mut u64) -> ::windows::core::Result<()> @@ -36139,7 +36139,7 @@ impl IDebugSymbols5 { (::windows::core::Interface::vtable(self).ReadTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataVirtual(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataVirtual)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataVirtual(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -36149,7 +36149,7 @@ impl IDebugSymbols5 { (::windows::core::Interface::vtable(self).ReadTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(bytesread)).ok() } pub unsafe fn WriteTypedDataPhysical(&self, offset: u64, module: u64, typeid: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteTypedDataPhysical)(::windows::core::Interface::as_raw(self), offset, module, typeid, ::core::mem::transmute(buffer), buffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OutputTypedDataPhysical(&self, outputcontrol: u32, offset: u64, module: u64, typeid: u32, flags: u32) -> ::windows::core::Result<()> { @@ -36172,18 +36172,18 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSymbolGroup>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeSymbolGroup)(::windows::core::Interface::as_raw(self), flags, update.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSymbolGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSymbolGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartSymbolMatch<'a, P0>(&self, pattern: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartSymbolMatch)(::windows::core::Interface::as_raw(self), pattern.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: &mut [u8], matchsize: *mut u32, offset: *mut u64) -> ::windows::core::Result<()> { @@ -36274,7 +36274,7 @@ impl IDebugSymbols5 { (::windows::core::Interface::vtable(self).GetFieldName)(::windows::core::Interface::as_raw(self), module, typeid, fieldindex, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(namebuffer)), namebuffer.len() as _, ::core::mem::transmute(namesize)).ok() } pub unsafe fn GetTypeOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTypeOptions(&self, options: u32) -> ::windows::core::Result<()> { @@ -36293,7 +36293,7 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByNameWide)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNearNameByOffsetWide(&self, offset: u64, delta: i32, namebuffer: &mut [u16], namesize: *mut u32, displacement: *mut u64) -> ::windows::core::Result<()> { @@ -36306,7 +36306,7 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOffsetByLineWide)(::windows::core::Interface::as_raw(self), line, file.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetModuleByModuleNameWide<'a, P0>(&self, name: P0, startindex: u32, index: *mut u32, base: *mut u64) -> ::windows::core::Result<()> @@ -36319,7 +36319,7 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolModuleWide)(::windows::core::Interface::as_raw(self), symbol.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeNameWide(&self, module: u64, typeid: u32, namebuffer: &mut [u16], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -36329,14 +36329,14 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeIdWide)(::windows::core::Interface::as_raw(self), module, name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFieldOffsetWide<'a, P0>(&self, module: u64, typeid: u32, field: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldOffsetWide)(::windows::core::Interface::as_raw(self), module, typeid, field.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolTypeIdWide<'a, P0>(&self, symbol: P0, typeid: *mut u32, module: *mut u64) -> ::windows::core::Result<()> @@ -36349,18 +36349,18 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugSymbolGroup2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeSymbolGroup2)(::windows::core::Interface::as_raw(self), flags, update.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSymbolGroup2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSymbolGroup2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartSymbolMatchWide<'a, P0>(&self, pattern: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartSymbolMatchWide)(::windows::core::Interface::as_raw(self), pattern.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSymbolMatchWide(&self, handle: u64, buffer: &mut [u16], matchsize: *mut u32, offset: *mut u64) -> ::windows::core::Result<()> { @@ -36483,7 +36483,7 @@ impl IDebugSymbols5 { (::windows::core::Interface::vtable(self).RemoveSyntheticModule)(::windows::core::Interface::as_raw(self), base).ok() } pub unsafe fn GetCurrentScopeFrameIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentScopeFrameIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScopeFrameByIndex(&self, index: u32) -> ::windows::core::Result<()> { @@ -36517,14 +36517,14 @@ impl IDebugSymbols5 { where P0: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSyntheticSymbol)(::windows::core::Interface::as_raw(self), offset, size, name.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSyntheticSymbolWide<'a, P0>(&self, offset: u64, size: u32, name: P0, flags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSyntheticSymbolWide)(::windows::core::Interface::as_raw(self), offset, size, name.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveSyntheticSymbol(&self, id: *const DEBUG_MODULE_AND_ID) -> ::windows::core::Result<()> { @@ -36546,11 +36546,11 @@ impl IDebugSymbols5 { (::windows::core::Interface::vtable(self).GetSymbolEntriesByNameWide)(::windows::core::Interface::as_raw(self), symbol.into(), flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ids)), ids.len() as _, ::core::mem::transmute(entries)).ok() } pub unsafe fn GetSymbolEntryByToken(&self, modulebase: u64, token: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryByToken)(::windows::core::Interface::as_raw(self), modulebase, token, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolEntryInformation(&self, id: *const DEBUG_MODULE_AND_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSymbolEntryString(&self, id: *const DEBUG_MODULE_AND_ID, which: u32, buffer: &mut [u8], stringsize: *mut u32) -> ::windows::core::Result<()> { @@ -36563,7 +36563,7 @@ impl IDebugSymbols5 { (::windows::core::Interface::vtable(self).GetSymbolEntryOffsetRegions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(id), flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(regions)), regions.len() as _, ::core::mem::transmute(regionsavail)).ok() } pub unsafe fn GetSymbolEntryBySymbolEntry(&self, fromid: *const DEBUG_MODULE_AND_ID, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSymbolEntryBySymbolEntry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fromid), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceEntriesByOffset(&self, offset: u64, flags: u32, entries: &mut [DEBUG_SYMBOL_SOURCE_ENTRY], entriesavail: *mut u32) -> ::windows::core::Result<()> { @@ -36591,7 +36591,7 @@ impl IDebugSymbols5 { (::windows::core::Interface::vtable(self).GetSourceEntryOffsetRegions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(entry), flags, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(regions)), regions.len() as _, ::core::mem::transmute(regionsavail)).ok() } pub unsafe fn GetSourceEntryBySourceEntry(&self, fromentry: *const DEBUG_SYMBOL_SOURCE_ENTRY, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceEntryBySourceEntry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fromentry), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36620,7 +36620,7 @@ impl IDebugSymbols5 { (::windows::core::Interface::vtable(self).OutputSymbolByInlineContext)(::windows::core::Interface::as_raw(self), outputcontrol, flags, offset, inlinecontext).ok() } pub unsafe fn GetCurrentScopeFrameIndexEx(&self, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentScopeFrameIndexEx)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScopeFrameByIndexEx(&self, flags: u32, index: u32) -> ::windows::core::Result<()> { @@ -36816,11 +36816,11 @@ pub struct IDebugSymbols5_Vtbl { pub struct IDebugSyncOperation(::windows::core::IUnknown); impl IDebugSyncOperation { pub unsafe fn GetTargetThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Execute(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Execute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn InProgressAbort(&self) -> ::windows::core::Result<()> { @@ -36875,29 +36875,29 @@ pub struct IDebugSyncOperation_Vtbl { pub struct IDebugSystemObjects(::windows::core::IUnknown); impl IDebugSystemObjects { pub unsafe fn GetEventThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventProcess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventProcess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentThreadId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentThreadId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetCurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentProcessId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentProcessId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetNumberThreads(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberThreads)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTotalNumberThreads(&self, total: *mut u32, largestprocess: *mut u32) -> ::windows::core::Result<()> { @@ -36907,78 +36907,78 @@ impl IDebugSystemObjects { (::windows::core::Interface::vtable(self).GetThreadIdsByIndex)(::windows::core::Interface::as_raw(self), start, ::core::mem::transmute(count), ::core::mem::transmute(ids), ::core::mem::transmute(sysids)).ok() } pub unsafe fn GetThreadIdByProcessor(&self, processor: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByProcessor)(::windows::core::Interface::as_raw(self), processor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByDataOffset(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByDataOffset)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadTeb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadTeb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByTeb(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByTeb)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdBySystemId(&self, sysid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdBySystemId)(::windows::core::Interface::as_raw(self), sysid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByHandle(&self, handle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByHandle)(::windows::core::Interface::as_raw(self), handle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberProcesses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcesses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdsByIndex(&self, start: u32, count: u32, ids: *mut u32, sysids: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetProcessIdsByIndex)(::windows::core::Interface::as_raw(self), start, ::core::mem::transmute(count), ::core::mem::transmute(ids), ::core::mem::transmute(sysids)).ok() } pub unsafe fn GetCurrentProcessDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByDataOffset(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByDataOffset)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessPeb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessPeb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByPeb(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByPeb)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdBySystemId(&self, sysid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdBySystemId)(::windows::core::Interface::as_raw(self), sysid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByHandle(&self, handle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByHandle)(::windows::core::Interface::as_raw(self), handle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessExecutableName(&self, buffer: &mut [u8], exesize: *mut u32) -> ::windows::core::Result<()> { @@ -37059,29 +37059,29 @@ pub struct IDebugSystemObjects_Vtbl { pub struct IDebugSystemObjects2(::windows::core::IUnknown); impl IDebugSystemObjects2 { pub unsafe fn GetEventThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventProcess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventProcess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentThreadId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentThreadId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetCurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentProcessId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentProcessId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetNumberThreads(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberThreads)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTotalNumberThreads(&self, total: *mut u32, largestprocess: *mut u32) -> ::windows::core::Result<()> { @@ -37091,96 +37091,96 @@ impl IDebugSystemObjects2 { (::windows::core::Interface::vtable(self).GetThreadIdsByIndex)(::windows::core::Interface::as_raw(self), start, ::core::mem::transmute(count), ::core::mem::transmute(ids), ::core::mem::transmute(sysids)).ok() } pub unsafe fn GetThreadIdByProcessor(&self, processor: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByProcessor)(::windows::core::Interface::as_raw(self), processor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByDataOffset(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByDataOffset)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadTeb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadTeb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByTeb(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByTeb)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdBySystemId(&self, sysid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdBySystemId)(::windows::core::Interface::as_raw(self), sysid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByHandle(&self, handle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByHandle)(::windows::core::Interface::as_raw(self), handle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberProcesses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcesses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdsByIndex(&self, start: u32, count: u32, ids: *mut u32, sysids: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetProcessIdsByIndex)(::windows::core::Interface::as_raw(self), start, ::core::mem::transmute(count), ::core::mem::transmute(ids), ::core::mem::transmute(sysids)).ok() } pub unsafe fn GetCurrentProcessDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByDataOffset(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByDataOffset)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessPeb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessPeb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByPeb(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByPeb)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdBySystemId(&self, sysid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdBySystemId)(::windows::core::Interface::as_raw(self), sysid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByHandle(&self, handle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByHandle)(::windows::core::Interface::as_raw(self), handle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessExecutableName(&self, buffer: &mut [u8], exesize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCurrentProcessExecutableName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(exesize)).ok() } pub unsafe fn GetCurrentProcessUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImplicitThreadDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImplicitThreadDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImplicitThreadDataOffset(&self, offset: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetImplicitThreadDataOffset)(::windows::core::Interface::as_raw(self), offset).ok() } pub unsafe fn GetImplicitProcessDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImplicitProcessDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImplicitProcessDataOffset(&self, offset: u64) -> ::windows::core::Result<()> { @@ -37266,29 +37266,29 @@ pub struct IDebugSystemObjects2_Vtbl { pub struct IDebugSystemObjects3(::windows::core::IUnknown); impl IDebugSystemObjects3 { pub unsafe fn GetEventThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventProcess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventProcess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentThreadId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentThreadId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetCurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentProcessId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentProcessId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetNumberThreads(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberThreads)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTotalNumberThreads(&self, total: *mut u32, largestprocess: *mut u32) -> ::windows::core::Result<()> { @@ -37298,114 +37298,114 @@ impl IDebugSystemObjects3 { (::windows::core::Interface::vtable(self).GetThreadIdsByIndex)(::windows::core::Interface::as_raw(self), start, ::core::mem::transmute(count), ::core::mem::transmute(ids), ::core::mem::transmute(sysids)).ok() } pub unsafe fn GetThreadIdByProcessor(&self, processor: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByProcessor)(::windows::core::Interface::as_raw(self), processor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByDataOffset(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByDataOffset)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadTeb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadTeb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByTeb(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByTeb)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdBySystemId(&self, sysid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdBySystemId)(::windows::core::Interface::as_raw(self), sysid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByHandle(&self, handle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByHandle)(::windows::core::Interface::as_raw(self), handle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberProcesses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcesses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdsByIndex(&self, start: u32, count: u32, ids: *mut u32, sysids: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetProcessIdsByIndex)(::windows::core::Interface::as_raw(self), start, ::core::mem::transmute(count), ::core::mem::transmute(ids), ::core::mem::transmute(sysids)).ok() } pub unsafe fn GetCurrentProcessDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByDataOffset(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByDataOffset)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessPeb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessPeb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByPeb(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByPeb)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdBySystemId(&self, sysid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdBySystemId)(::windows::core::Interface::as_raw(self), sysid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByHandle(&self, handle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByHandle)(::windows::core::Interface::as_raw(self), handle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessExecutableName(&self, buffer: &mut [u8], exesize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCurrentProcessExecutableName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(exesize)).ok() } pub unsafe fn GetCurrentProcessUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImplicitThreadDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImplicitThreadDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImplicitThreadDataOffset(&self, offset: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetImplicitThreadDataOffset)(::windows::core::Interface::as_raw(self), offset).ok() } pub unsafe fn GetImplicitProcessDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImplicitProcessDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImplicitProcessDataOffset(&self, offset: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetImplicitProcessDataOffset)(::windows::core::Interface::as_raw(self), offset).ok() } pub unsafe fn GetEventSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentSystemId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentSystemId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetNumberSystems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSystems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemIdsByIndex(&self, start: u32, ids: &mut [u32]) -> ::windows::core::Result<()> { @@ -37415,11 +37415,11 @@ impl IDebugSystemObjects3 { (::windows::core::Interface::vtable(self).GetTotalNumberThreadsAndProcesses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(totalthreads), ::core::mem::transmute(totalprocesses), ::core::mem::transmute(largestprocessthreads), ::core::mem::transmute(largestsystemthreads), ::core::mem::transmute(largestsystemprocesses)).ok() } pub unsafe fn GetCurrentSystemServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemByServer(&self, server: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemByServer)(::windows::core::Interface::as_raw(self), server, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemServerName(&self, buffer: &mut [u8], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -37514,29 +37514,29 @@ pub struct IDebugSystemObjects3_Vtbl { pub struct IDebugSystemObjects4(::windows::core::IUnknown); impl IDebugSystemObjects4 { pub unsafe fn GetEventThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventProcess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventProcess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentThreadId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentThreadId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetCurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentProcessId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentProcessId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetNumberThreads(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberThreads)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTotalNumberThreads(&self, total: *mut u32, largestprocess: *mut u32) -> ::windows::core::Result<()> { @@ -37546,114 +37546,114 @@ impl IDebugSystemObjects4 { (::windows::core::Interface::vtable(self).GetThreadIdsByIndex)(::windows::core::Interface::as_raw(self), start, ::core::mem::transmute(count), ::core::mem::transmute(ids), ::core::mem::transmute(sysids)).ok() } pub unsafe fn GetThreadIdByProcessor(&self, processor: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByProcessor)(::windows::core::Interface::as_raw(self), processor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByDataOffset(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByDataOffset)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadTeb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadTeb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByTeb(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByTeb)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdBySystemId(&self, sysid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdBySystemId)(::windows::core::Interface::as_raw(self), sysid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentThreadHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentThreadHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadIdByHandle(&self, handle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadIdByHandle)(::windows::core::Interface::as_raw(self), handle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberProcesses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberProcesses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdsByIndex(&self, start: u32, count: u32, ids: *mut u32, sysids: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetProcessIdsByIndex)(::windows::core::Interface::as_raw(self), start, ::core::mem::transmute(count), ::core::mem::transmute(ids), ::core::mem::transmute(sysids)).ok() } pub unsafe fn GetCurrentProcessDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByDataOffset(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByDataOffset)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessPeb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessPeb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByPeb(&self, offset: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByPeb)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdBySystemId(&self, sysid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdBySystemId)(::windows::core::Interface::as_raw(self), sysid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProcessIdByHandle(&self, handle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessIdByHandle)(::windows::core::Interface::as_raw(self), handle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentProcessExecutableName(&self, buffer: &mut [u8], exesize: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetCurrentProcessExecutableName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(buffer)), buffer.len() as _, ::core::mem::transmute(exesize)).ok() } pub unsafe fn GetCurrentProcessUpTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentProcessUpTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImplicitThreadDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImplicitThreadDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImplicitThreadDataOffset(&self, offset: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetImplicitThreadDataOffset)(::windows::core::Interface::as_raw(self), offset).ok() } pub unsafe fn GetImplicitProcessDataOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImplicitProcessDataOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImplicitProcessDataOffset(&self, offset: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetImplicitProcessDataOffset)(::windows::core::Interface::as_raw(self), offset).ok() } pub unsafe fn GetEventSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentSystemId(&self, id: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentSystemId)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetNumberSystems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberSystems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemIdsByIndex(&self, start: u32, ids: &mut [u32]) -> ::windows::core::Result<()> { @@ -37663,11 +37663,11 @@ impl IDebugSystemObjects4 { (::windows::core::Interface::vtable(self).GetTotalNumberThreadsAndProcesses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(totalthreads), ::core::mem::transmute(totalprocesses), ::core::mem::transmute(largestprocessthreads), ::core::mem::transmute(largestsystemthreads), ::core::mem::transmute(largestsystemprocesses)).ok() } pub unsafe fn GetCurrentSystemServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSystemServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemByServer(&self, server: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemByServer)(::windows::core::Interface::as_raw(self), server, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSystemServerName(&self, buffer: &mut [u8], namesize: *mut u32) -> ::windows::core::Result<()> { @@ -37966,7 +37966,7 @@ impl IDynamicKeyProviderConcept { where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateKeys)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38027,7 +38027,7 @@ impl IEnumDebugApplicationNodes { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38089,7 +38089,7 @@ impl IEnumDebugCodeContexts { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38151,7 +38151,7 @@ impl IEnumDebugExpressionContexts { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38215,11 +38215,11 @@ impl IEnumDebugExtendedPropertyInfo { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38287,11 +38287,11 @@ impl IEnumDebugPropertyInfo { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38359,7 +38359,7 @@ impl IEnumDebugStackFrames { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38426,7 +38426,7 @@ impl IEnumDebugStackFrames64 { (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38561,7 +38561,7 @@ impl IEnumRemoteDebugApplicationThreads { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38623,7 +38623,7 @@ impl IEnumRemoteDebugApplications { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38680,7 +38680,7 @@ impl IEquatableConcept { P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AreObjectsEqual)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), otherobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38882,7 +38882,7 @@ impl IIndexableConcept { where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDimensionality)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt<'a, P0>(&self, contextobject: P0, indexers: &[::core::option::Option], object: *mut ::core::option::Option, metadata: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -38950,14 +38950,14 @@ impl IIterableConcept { where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultIndexDimensionality)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIterator<'a, P0>(&self, contextobject: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIterator)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39011,7 +39011,7 @@ impl IJsDebug { where P0: ::std::convert::Into<::windows::core::InParam<'a, IJsDebugDataTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenVirtualProcess)(::windows::core::Interface::as_raw(self), processid, runtimejsbaseaddress, pdatatarget.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39063,7 +39063,7 @@ impl IJsDebugBreakPoint { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enable(&self) -> ::windows::core::Result<()> { @@ -39138,30 +39138,30 @@ impl IJsDebugDataTarget { (::windows::core::Interface::vtable(self).WriteMemory)(::windows::core::Interface::as_raw(self), address, ::core::mem::transmute(::windows::core::as_ptr_or_null(pmemory)), pmemory.len() as _).ok() } pub unsafe fn AllocateVirtualMemory(&self, address: u64, size: u32, allocationtype: u32, pageprotection: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllocateVirtualMemory)(::windows::core::Interface::as_raw(self), address, size, allocationtype, pageprotection, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FreeVirtualMemory(&self, address: u64, size: u32, freetype: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).FreeVirtualMemory)(::windows::core::Interface::as_raw(self), address, size, freetype).ok() } pub unsafe fn GetTlsValue(&self, threadid: u32, tlsindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTlsValue)(::windows::core::Interface::as_raw(self), threadid, tlsindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReadBSTR(&self, address: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadBSTR)(::windows::core::Interface::as_raw(self), address, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReadNullTerminatedString(&self, address: u64, charactersize: u16, maxcharacters: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadNullTerminatedString)(::windows::core::Interface::as_raw(self), address, charactersize, maxcharacters, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateStackFrameEnumerator(&self, threadid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStackFrameEnumerator)(::windows::core::Interface::as_raw(self), threadid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetThreadContext(&self, threadid: u32, contextflags: u32, pcontext: &mut [u8]) -> ::windows::core::Result<()> { @@ -39233,7 +39233,7 @@ impl IJsDebugFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentPositionWithId(&self, pdocumentid: *mut u64, pcharacteroffset: *mut u32, pstatementcharcount: *mut u32) -> ::windows::core::Result<()> { @@ -39245,11 +39245,11 @@ impl IJsDebugFrame { (::windows::core::Interface::vtable(self).GetDocumentPositionWithName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdocumentname), ::core::mem::transmute(pline), ::core::mem::transmute(pcolumn)).ok() } pub unsafe fn GetDebugProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDebugProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReturnAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReturnAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39322,7 +39322,7 @@ pub struct IJsDebugFrame_Vtbl { pub struct IJsDebugProcess(::windows::core::IUnknown); impl IJsDebugProcess { pub unsafe fn CreateStackWalker(&self, threadid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStackWalker)(::windows::core::Interface::as_raw(self), threadid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39331,14 +39331,14 @@ impl IJsDebugProcess { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateBreakPoint)(::windows::core::Interface::as_raw(self), documentid, characteroffset, charactercount, isenabled.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PerformAsyncBreak(&self, threadid: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).PerformAsyncBreak)(::windows::core::Interface::as_raw(self), threadid).ok() } pub unsafe fn GetExternalStepAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExternalStepAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39396,11 +39396,11 @@ impl IJsDebugProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPropertyInfo(&self, nradix: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyInfo)(::windows::core::Interface::as_raw(self), nradix, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMembers(&self, members: JS_PROPERTY_MEMBERS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMembers)(::windows::core::Interface::as_raw(self), members, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39454,7 +39454,7 @@ pub struct IJsDebugProperty_Vtbl { pub struct IJsDebugStackWalker(::windows::core::IUnknown); impl IJsDebugStackWalker { pub unsafe fn GetNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39507,7 +39507,7 @@ impl IJsEnumDebugProperty { (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ppdebugproperty.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ppdebugproperty)), ::core::mem::transmute(pactualcount)).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43084,14 +43084,14 @@ impl IMachineDebugManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, IRemoteDebugApplication>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddApplication)(::windows::core::Interface::as_raw(self), pda.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveApplication(&self, dwappcookie: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).RemoveApplication)(::windows::core::Interface::as_raw(self), dwappcookie).ok() } pub unsafe fn EnumApplications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumApplications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43146,14 +43146,14 @@ impl IMachineDebugManagerCookie { where P0: ::std::convert::Into<::windows::core::InParam<'a, IRemoteDebugApplication>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddApplication)(::windows::core::Interface::as_raw(self), pda.into().abi(), dwdebugappcookie, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveApplication(&self, dwdebugappcookie: u32, dwappcookie: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).RemoveApplication)(::windows::core::Interface::as_raw(self), dwdebugappcookie, dwappcookie).ok() } pub unsafe fn EnumApplications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumApplications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43319,15 +43319,15 @@ impl IModelKeyReference { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetKeyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOriginalObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContextObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContextObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKey(&self, object: *mut ::core::option::Option, metadata: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -43407,15 +43407,15 @@ impl IModelKeyReference2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetKeyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetKeyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOriginalObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOriginalObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContextObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContextObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKey(&self, object: *mut ::core::option::Option, metadata: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -43557,23 +43557,23 @@ pub struct IModelMethod_Vtbl { pub struct IModelObject(::windows::core::IUnknown); impl IModelObject { pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetIntrinsicValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIntrinsicValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetIntrinsicValueAs(&self, vt: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIntrinsicValueAs)(::windows::core::Interface::as_raw(self), vt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKeyValue<'a, P0>(&self, key: P0, object: *mut ::core::option::Option, metadata: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -43590,44 +43590,44 @@ impl IModelObject { (::windows::core::Interface::vtable(self).SetKeyValue)(::windows::core::Interface::as_raw(self), key.into(), object.into().abi()).ok() } pub unsafe fn EnumerateKeyValues(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateKeyValues)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRawValue<'a, P0>(&self, kind: SymbolKind, name: P0, searchflags: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRawValue)(::windows::core::Interface::as_raw(self), kind, name.into(), searchflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateRawValues(&self, kind: SymbolKind, searchflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateRawValues)(::windows::core::Interface::as_raw(self), kind, searchflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Dereference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Dereference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TryCastToRuntimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TryCastToRuntimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConcept(&self, conceptid: *const ::windows::core::GUID, conceptinterface: *mut ::core::option::Option<::windows::core::IUnknown>, conceptmetadata: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetConcept)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conceptid), ::core::mem::transmute(conceptinterface), ::core::mem::transmute(conceptmetadata)).ok() } pub unsafe fn GetLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTargetInfo(&self, location: *mut Location, r#type: *mut ::core::option::Option) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetTargetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(location), ::core::mem::transmute(r#type)).ok() } pub unsafe fn GetNumberOfParentModels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfParentModels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParentModel(&self, i: u64, model: *mut ::core::option::Option, contextobject: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -43670,11 +43670,11 @@ impl IModelObject { (::windows::core::Interface::vtable(self).ClearKeys)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumerateKeys(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateKeys)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateKeyReferences(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateKeyReferences)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConcept<'a, P0, P1>(&self, conceptid: *const ::windows::core::GUID, conceptinterface: P0, conceptmetadata: P1) -> ::windows::core::Result<()> @@ -43691,11 +43691,11 @@ impl IModelObject { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRawReference)(::windows::core::Interface::as_raw(self), kind, name.into(), searchflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateRawReferences(&self, kind: SymbolKind, searchflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateRawReferences)(::windows::core::Interface::as_raw(self), kind, searchflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetContextForDataModel<'a, P0, P1>(&self, datamodelobject: P0, context: P1) -> ::windows::core::Result<()> @@ -43709,21 +43709,21 @@ impl IModelObject { where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContextForDataModel)(::windows::core::Interface::as_raw(self), datamodelobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Compare<'a, P0>(&self, other: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Compare)(::windows::core::Interface::as_raw(self), other.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsEqualTo<'a, P0>(&self, other: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqualTo)(::windows::core::Interface::as_raw(self), other.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43815,7 +43815,7 @@ impl IModelPropertyAccessor { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), key.into(), contextobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetValue<'a, P0, P1, P2>(&self, key: P0, contextobject: P1, value: P2) -> ::windows::core::Result<()> @@ -44289,11 +44289,11 @@ impl IPerPropertyBrowsing2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayString(&self, dispid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayString)(::windows::core::Interface::as_raw(self), dispid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MapPropertyToPage(&self, dispid: i32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapPropertyToPage)(::windows::core::Interface::as_raw(self), dispid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -44363,7 +44363,7 @@ impl IPreferredRuntimeTypeConcept { where P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CastToPreferredRuntimeType)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44413,18 +44413,18 @@ pub struct IPreferredRuntimeTypeConcept_Vtbl { pub struct IProcessDebugManager32(::windows::core::IUnknown); impl IProcessDebugManager32 { pub unsafe fn CreateApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddApplication<'a, P0>(&self, pda: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugApplication32>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddApplication)(::windows::core::Interface::as_raw(self), pda.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveApplication(&self, dwappcookie: u32) -> ::windows::core::Result<()> { @@ -44434,7 +44434,7 @@ impl IProcessDebugManager32 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDebugDocumentHelper)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44488,18 +44488,18 @@ pub struct IProcessDebugManager32_Vtbl { pub struct IProcessDebugManager64(::windows::core::IUnknown); impl IProcessDebugManager64 { pub unsafe fn CreateApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddApplication<'a, P0>(&self, pda: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IDebugApplication64>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddApplication)(::windows::core::Interface::as_raw(self), pda.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveApplication(&self, dwappcookie: u32) -> ::windows::core::Result<()> { @@ -44509,7 +44509,7 @@ impl IProcessDebugManager64 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDebugDocumentHelper)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44563,7 +44563,7 @@ pub struct IProcessDebugManager64_Vtbl { pub struct IProvideExpressionContexts(::windows::core::IUnknown); impl IProvideExpressionContexts { pub unsafe fn EnumExpressionContexts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumExpressionContexts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44689,35 +44689,35 @@ impl IRemoteDebugApplication { (::windows::core::Interface::vtable(self).DisconnectDebugger)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDebugger(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDebugger)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstanceAtApplication<'a, P0>(&self, rclsid: *const ::windows::core::GUID, punkouter: P0, dwclscontext: u32, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstanceAtApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), punkouter.into().abi(), dwclscontext, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn QueryAlive(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).QueryAlive)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumThreads(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumThreads)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumGlobalExpressionContexts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumGlobalExpressionContexts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44783,11 +44783,11 @@ impl IRemoteDebugApplication110 { (::windows::core::Interface::vtable(self).SetDebuggerOptions)(::windows::core::Interface::as_raw(self), mask, value).ok() } pub unsafe fn GetCurrentDebuggerOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentDebuggerOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMainThread(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMainThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44948,15 +44948,15 @@ pub struct IRemoteDebugApplicationEvents_Vtbl { pub struct IRemoteDebugApplicationThread(::windows::core::IUnknown); impl IRemoteDebugApplicationThread { pub unsafe fn GetSystemThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetApplication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumStackFrames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumStackFrames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44972,19 +44972,19 @@ impl IRemoteDebugApplicationThread { (::windows::core::Interface::vtable(self).SetNextStatement)(::windows::core::Interface::as_raw(self), pstackframe.into().abi(), pcodecontext.into().abi()).ok() } pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Suspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Suspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Resume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSuspendCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSuspendCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45159,36 +45159,36 @@ impl IScriptEntry { (::windows::core::Interface::vtable(self).base__.Delete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIndexInParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIndexInParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOfChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNumberOfChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChild(&self, isn: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChild)(::windows::core::Interface::as_raw(self), isn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateChildEntry<'a, P0>(&self, isn: u32, dwcookie: u32, pszdelimiter: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateChildEntry)(::windows::core::Interface::as_raw(self), isn, dwcookie, pszdelimiter.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -45200,13 +45200,13 @@ impl IScriptEntry { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Com::ITypeInfo>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateChildHandler)(::windows::core::Interface::as_raw(self), pszdefaultname.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(prgpsznames)), prgpsznames.len() as _, pszevent.into(), pszdelimiter.into(), ptisignature.into().abi(), imethodsignature, isn, dwcookie, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetText<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45218,7 +45218,7 @@ impl IScriptEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBody<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45230,7 +45230,7 @@ impl IScriptEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetName<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45242,7 +45242,7 @@ impl IScriptEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetItemName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetItemName<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45357,17 +45357,17 @@ pub struct IScriptEntry_Vtbl { pub struct IScriptInvocationContext(::windows::core::IUnknown); impl IScriptInvocationContext { pub unsafe fn GetContextType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContextType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetContextDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContextDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContextObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContextObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -45428,36 +45428,36 @@ impl IScriptNode { (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIndexInParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndexInParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOfChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChild(&self, isn: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChild)(::windows::core::Interface::as_raw(self), isn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateChildEntry<'a, P0>(&self, isn: u32, dwcookie: u32, pszdelimiter: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateChildEntry)(::windows::core::Interface::as_raw(self), isn, dwcookie, pszdelimiter.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -45469,7 +45469,7 @@ impl IScriptNode { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Com::ITypeInfo>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateChildHandler)(::windows::core::Interface::as_raw(self), pszdefaultname.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(prgpsznames)), prgpsznames.len() as _, pszevent.into(), pszdelimiter.into(), ptisignature.into().abi(), imethodsignature, isn, dwcookie, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45540,36 +45540,36 @@ impl IScriptScriptlet { (::windows::core::Interface::vtable(self).base__.base__.Delete)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIndexInParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetIndexInParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOfChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNumberOfChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChild(&self, isn: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetChild)(::windows::core::Interface::as_raw(self), isn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateChildEntry<'a, P0>(&self, isn: u32, dwcookie: u32, pszdelimiter: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateChildEntry)(::windows::core::Interface::as_raw(self), isn, dwcookie, pszdelimiter.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -45581,13 +45581,13 @@ impl IScriptScriptlet { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Com::ITypeInfo>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateChildHandler)(::windows::core::Interface::as_raw(self), pszdefaultname.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(prgpsznames)), prgpsznames.len() as _, pszevent.into(), pszdelimiter.into(), ptisignature.into().abi(), imethodsignature, isn, dwcookie, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetText<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45599,7 +45599,7 @@ impl IScriptScriptlet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBody<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45611,7 +45611,7 @@ impl IScriptScriptlet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetName<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45623,7 +45623,7 @@ impl IScriptScriptlet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetItemName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetItemName<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45651,7 +45651,7 @@ impl IScriptScriptlet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSubItemName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubItemName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSubItemName<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45663,7 +45663,7 @@ impl IScriptScriptlet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEventName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventName<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45675,7 +45675,7 @@ impl IScriptScriptlet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSimpleEventName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSimpleEventName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSimpleEventName<'a, P0>(&self, psz: P0) -> ::windows::core::Result<()> @@ -45775,7 +45775,7 @@ pub struct IScriptScriptlet_Vtbl { pub struct ISimpleConnectionPoint(::windows::core::IUnknown); impl ISimpleConnectionPoint { pub unsafe fn GetEventCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45789,7 +45789,7 @@ impl ISimpleConnectionPoint { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -45857,7 +45857,7 @@ impl IStringDisplayableConcept { P0: ::std::convert::Into<::windows::core::InParam<'a, IModelObject>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IKeyStore>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ToDisplayString)(::windows::core::Interface::as_raw(self), contextobject.into().abi(), metadata.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46025,7 +46025,7 @@ pub struct IWebAppDiagnosticsObjectInitialization_Vtbl { pub struct IWebAppDiagnosticsSetup(::windows::core::IUnknown); impl IWebAppDiagnosticsSetup { pub unsafe fn DiagnosticsSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiagnosticsSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateObjectWithSiteAtWebApp(&self, rclsid: *const ::windows::core::GUID, dwclscontext: u32, riid: *const ::windows::core::GUID, hpasstoobject: usize) -> ::windows::core::Result<()> { 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 5c0b03f852..4a5343ad87 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 @@ -3889,15 +3889,15 @@ pub unsafe fn GetTraceLoggerHandle(buffer: *const ::core::ffi::c_void) -> u64 { pub struct ITraceEvent(::windows::core::IUnknown); impl ITraceEvent { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUserContext(&self) -> ::windows::core::Result<*mut ::core::ffi::c_void> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut ::core::ffi::c_void>(result__) } pub unsafe fn GetEventRecord(&self) -> ::windows::core::Result<*mut EVENT_RECORD> { - let mut result__ = ::core::mem::MaybeUninit::<*mut EVENT_RECORD>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventRecord)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut EVENT_RECORD>(result__) } pub unsafe fn SetPayload(&self, payload: &[u8]) -> ::windows::core::Result<()> { @@ -4058,7 +4058,7 @@ impl ITraceRelogger { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddLogfileTraceStream)(::windows::core::Interface::as_raw(self), logfilename.into().abi(), ::core::mem::transmute(usercontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4067,7 +4067,7 @@ impl ITraceRelogger { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddRealtimeTraceStream)(::windows::core::Interface::as_raw(self), loggername.into().abi(), ::core::mem::transmute(usercontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterCallback<'a, P0>(&self, callback: P0) -> ::windows::core::Result<()> @@ -4083,7 +4083,7 @@ impl ITraceRelogger { (::windows::core::Interface::vtable(self).Inject)(::windows::core::Interface::as_raw(self), event.into().abi()).ok() } pub unsafe fn CreateEventInstance(&self, tracehandle: u64, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEventInstance)(::windows::core::Interface::as_raw(self), tracehandle, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProcessTrace(&self) -> ::windows::core::Result<()> { 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 f708e9ff19..f34d828266 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -299,7 +299,7 @@ pub struct IDtcLuRecovery_Vtbl { pub struct IDtcLuRecoveryFactory(::windows::core::IUnknown); impl IDtcLuRecoveryFactory { pub unsafe fn Create(&self, puclupair: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(puclupair)), puclupair.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -549,7 +549,7 @@ pub struct IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl { pub struct IDtcLuRecoveryInitiatedByLu(::windows::core::IUnknown); impl IDtcLuRecoveryInitiatedByLu { pub unsafe fn GetObjectToHandleWorkFromLu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectToHandleWorkFromLu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1101,7 +1101,7 @@ impl IDtcNetworkAccessConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAnyNetworkAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAnyNetworkAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1115,7 +1115,7 @@ impl IDtcNetworkAccessConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkAdministrationAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkAdministrationAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1129,7 +1129,7 @@ impl IDtcNetworkAccessConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkTransactionAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkTransactionAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1143,7 +1143,7 @@ impl IDtcNetworkAccessConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkClientAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkClientAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1157,7 +1157,7 @@ impl IDtcNetworkAccessConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkTIPAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkTIPAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1171,7 +1171,7 @@ impl IDtcNetworkAccessConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetXAAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXAAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1282,7 +1282,7 @@ impl IDtcNetworkAccessConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAnyNetworkAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAnyNetworkAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1296,7 +1296,7 @@ impl IDtcNetworkAccessConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkAdministrationAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNetworkAdministrationAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1310,7 +1310,7 @@ impl IDtcNetworkAccessConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkTransactionAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNetworkTransactionAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1324,7 +1324,7 @@ impl IDtcNetworkAccessConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkClientAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNetworkClientAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1338,7 +1338,7 @@ impl IDtcNetworkAccessConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkTIPAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNetworkTIPAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1352,7 +1352,7 @@ impl IDtcNetworkAccessConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetXAAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetXAAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1369,13 +1369,13 @@ impl IDtcNetworkAccessConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkInboundAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkInboundAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkOutboundAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNetworkOutboundAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1395,7 +1395,7 @@ impl IDtcNetworkAccessConfig2 { (::windows::core::Interface::vtable(self).SetNetworkOutboundAccess)(::windows::core::Interface::as_raw(self), boutbound.into()).ok() } pub unsafe fn GetAuthenticationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAuthenticationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticationLevel(&self, authlevel: AUTHENTICATION_LEVEL) -> ::windows::core::Result<()> { @@ -1482,7 +1482,7 @@ impl IDtcNetworkAccessConfig3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAnyNetworkAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAnyNetworkAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1496,7 +1496,7 @@ impl IDtcNetworkAccessConfig3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkAdministrationAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNetworkAdministrationAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1510,7 +1510,7 @@ impl IDtcNetworkAccessConfig3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkTransactionAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNetworkTransactionAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1524,7 +1524,7 @@ impl IDtcNetworkAccessConfig3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkClientAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNetworkClientAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1538,7 +1538,7 @@ impl IDtcNetworkAccessConfig3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkTIPAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNetworkTIPAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1552,7 +1552,7 @@ impl IDtcNetworkAccessConfig3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetXAAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetXAAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1569,13 +1569,13 @@ impl IDtcNetworkAccessConfig3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkInboundAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNetworkInboundAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNetworkOutboundAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNetworkOutboundAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1595,7 +1595,7 @@ impl IDtcNetworkAccessConfig3 { (::windows::core::Interface::vtable(self).base__.SetNetworkOutboundAccess)(::windows::core::Interface::as_raw(self), boutbound.into()).ok() } pub unsafe fn GetAuthenticationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAuthenticationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticationLevel(&self, authlevel: AUTHENTICATION_LEVEL) -> ::windows::core::Result<()> { @@ -1604,7 +1604,7 @@ impl IDtcNetworkAccessConfig3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLUAccess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLUAccess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1712,7 +1712,7 @@ impl IDtcToXaHelper { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITransaction>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TranslateTridToXid)(::windows::core::Interface::as_raw(self), pitransaction.into().abi(), ::core::mem::transmute(pguidbqual), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1838,7 +1838,7 @@ impl IDtcToXaHelperSinglePipe { P0: ::std::convert::Into<::windows::core::InParam<'a, ITransaction>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITransactionResourceAsync>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnlistWithRM)(::windows::core::Interface::as_raw(self), dwrmcookie, i_pitransaction.into().abi(), i_pitransres.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2026,7 +2026,7 @@ impl IKernelTransaction { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2185,7 +2185,7 @@ pub struct IPrepareInfo_Vtbl { pub struct IPrepareInfo2(::windows::core::IUnknown); impl IPrepareInfo2 { pub unsafe fn GetPrepareInfoSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrepareInfoSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrepareInfo(&self, pprepinfo: &mut [u8]) -> ::windows::core::Result<()> { @@ -2309,7 +2309,7 @@ impl IResourceManager { (::windows::core::Interface::vtable(self).Enlist)(::windows::core::Interface::as_raw(self), ptransaction.into().abi(), pres.into().abi(), ::core::mem::transmute(puow), ::core::mem::transmute(pisolevel), ::core::mem::transmute(ppenlist)).ok() } pub unsafe fn Reenlist(&self, pprepinfo: &[u8], ltimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Reenlist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pprepinfo)), pprepinfo.len() as _, ltimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReenlistmentComplete(&self) -> ::windows::core::Result<()> { @@ -2375,7 +2375,7 @@ impl IResourceManager2 { (::windows::core::Interface::vtable(self).base__.Enlist)(::windows::core::Interface::as_raw(self), ptransaction.into().abi(), pres.into().abi(), ::core::mem::transmute(puow), ::core::mem::transmute(pisolevel), ::core::mem::transmute(ppenlist)).ok() } pub unsafe fn Reenlist(&self, pprepinfo: &[u8], ltimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Reenlist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pprepinfo)), pprepinfo.len() as _, ltimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReenlistmentComplete(&self) -> ::windows::core::Result<()> { @@ -2396,7 +2396,7 @@ impl IResourceManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Reenlist2(&self, pxid: *const xid_t, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Reenlist2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pxid), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2472,7 +2472,7 @@ impl IResourceManagerFactory { P0: ::std::convert::Into<::windows::core::PCSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IResourceManagerSink>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidrm), pszrmname.into(), piresmgrsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2526,7 +2526,7 @@ impl IResourceManagerFactory2 { P0: ::std::convert::Into<::windows::core::PCSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IResourceManagerSink>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidrm), pszrmname.into(), piresmgrsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEx<'a, P0, P1>(&self, pguidrm: *const ::windows::core::GUID, pszrmname: P0, piresmgrsink: P1, riidrequested: *const ::windows::core::GUID, ppvresmgr: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> @@ -2605,7 +2605,7 @@ impl IResourceManagerRejoinable { (::windows::core::Interface::vtable(self).base__.base__.Enlist)(::windows::core::Interface::as_raw(self), ptransaction.into().abi(), pres.into().abi(), ::core::mem::transmute(puow), ::core::mem::transmute(pisolevel), ::core::mem::transmute(ppenlist)).ok() } pub unsafe fn Reenlist(&self, pprepinfo: &[u8], ltimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Reenlist)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pprepinfo)), pprepinfo.len() as _, ltimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReenlistmentComplete(&self) -> ::windows::core::Result<()> { @@ -2626,11 +2626,11 @@ impl IResourceManagerRejoinable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Reenlist2(&self, pxid: *const xid_t, dwtimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Reenlist2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pxid), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Rejoin(&self, pprepinfo: &[u8], ltimeout: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rejoin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pprepinfo)), pprepinfo.len() as _, ltimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2845,18 +2845,18 @@ impl ::core::fmt::Debug for ISOLATIONLEVEL { pub struct ITipHelper(::windows::core::IUnknown); impl ITipHelper { pub unsafe fn Pull(&self, i_psztxurl: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pull)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(i_psztxurl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PullAsync<'a, P0>(&self, i_psztxurl: *const u8, i_ptippullsink: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITipPullSink>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PullAsync)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(i_psztxurl), i_ptippullsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocalTmUrl(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocalTmUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } } @@ -2957,11 +2957,11 @@ pub struct ITipPullSink_Vtbl { pub struct ITipTransaction(::windows::core::IUnknown); impl ITipTransaction { pub unsafe fn Push(&self, i_pszremotetmurl: *const u8) -> ::windows::core::Result<::windows::core::PSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Push)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(i_pszremotetmurl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } pub unsafe fn GetTransactionUrl(&self) -> ::windows::core::Result<::windows::core::PSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransactionUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } } @@ -3012,7 +3012,7 @@ pub struct ITipTransaction_Vtbl { pub struct ITmNodeName(::windows::core::IUnknown); impl ITmNodeName { pub unsafe fn GetNodeNameSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNodeNameSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNodeName(&self, cbnodenamebuffersize: u32, pnodenamebuffer: ::windows::core::PWSTR) -> ::windows::core::Result<()> { @@ -3083,7 +3083,7 @@ impl ITransaction { (::windows::core::Interface::vtable(self).Abort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pboidreason), fretaining.into(), fasync.into()).ok() } pub unsafe fn GetTransactionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransactionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3158,15 +3158,15 @@ impl ITransaction2 { (::windows::core::Interface::vtable(self).base__.base__.Abort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pboidreason), fretaining.into(), fasync.into()).ok() } pub unsafe fn GetTransactionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTransactionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloneWithCommitDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CloneWithCommitDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransactionInfo2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransactionInfo2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3263,11 +3263,11 @@ impl ITransactionCloner { (::windows::core::Interface::vtable(self).base__.Abort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pboidreason), fretaining.into(), fasync.into()).ok() } pub unsafe fn GetTransactionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransactionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloneWithCommitDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CloneWithCommitDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3332,7 +3332,7 @@ pub struct ITransactionCloner_Vtbl { pub struct ITransactionDispenser(::windows::core::IUnknown); impl ITransactionDispenser { pub unsafe fn GetOptionsObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionsObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginTransaction<'a, P0, P1>(&self, punkouter: P0, isolevel: i32, isoflags: u32, poptions: P1) -> ::windows::core::Result @@ -3340,7 +3340,7 @@ impl ITransactionDispenser { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITransactionOptions>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginTransaction)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), isolevel, isoflags, poptions.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3459,7 +3459,7 @@ impl ITransactionExport { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Export)(::windows::core::Interface::as_raw(self), punktransaction.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransactionCookie<'a, P0>(&self, punktransaction: P0, rgbtransactioncookie: &mut [u8], pcbused: *mut u32) -> ::windows::core::Result<()> @@ -3516,11 +3516,11 @@ pub struct ITransactionExport_Vtbl { pub struct ITransactionExportFactory(::windows::core::IUnknown); impl ITransactionExportFactory { pub unsafe fn GetRemoteClassId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRemoteClassId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Create(&self, rgbwhereabouts: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), rgbwhereabouts.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgbwhereabouts)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3624,7 +3624,7 @@ pub struct ITransactionImport_Vtbl { pub struct ITransactionImportWhereabouts(::windows::core::IUnknown); impl ITransactionImportWhereabouts { pub unsafe fn GetWhereaboutsSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWhereaboutsSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWhereabouts(&self, rgbwhereabouts: &mut [u8], pcbused: *mut u32) -> ::windows::core::Result<()> { @@ -3922,7 +3922,7 @@ impl ITransactionPhase0EnlistmentAsync { (::windows::core::Interface::vtable(self).Unenlist)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3979,7 +3979,7 @@ impl ITransactionPhase0Factory { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITransactionPhase0NotifyAsync>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), pphase0notify.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4090,11 +4090,11 @@ pub struct ITransactionPhase0NotifyAsync_Vtbl { pub struct ITransactionReceiver(::windows::core::IUnknown); impl ITransactionReceiver { pub unsafe fn UnmarshalPropagationToken(&self, rgbtoken: &[u8]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UnmarshalPropagationToken)(::windows::core::Interface::as_raw(self), rgbtoken.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgbtoken)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReturnTokenSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReturnTokenSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MarshalReturnToken(&self, rgbreturntoken: &mut [u8], pcbused: *mut u32) -> ::windows::core::Result<()> { @@ -4153,7 +4153,7 @@ pub struct ITransactionReceiver_Vtbl { pub struct ITransactionReceiverFactory(::windows::core::IUnknown); impl ITransactionReceiverFactory { pub unsafe fn Create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4367,7 +4367,7 @@ impl ITransactionTransmitter { (::windows::core::Interface::vtable(self).Set)(::windows::core::Interface::as_raw(self), ptransaction.into().abi()).ok() } pub unsafe fn GetPropagationTokenSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropagationTokenSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MarshalPropagationToken(&self, rgbtoken: &mut [u8], pcbused: *mut u32) -> ::windows::core::Result<()> { @@ -4430,7 +4430,7 @@ pub struct ITransactionTransmitter_Vtbl { pub struct ITransactionTransmitterFactory(::windows::core::IUnknown); impl ITransactionTransmitterFactory { pub unsafe fn Create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4533,7 +4533,7 @@ impl ITransactionVoterFactory2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ITransaction>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITransactionVoterNotifyAsync2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), ptransaction.into().abi(), pvoternotify.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4774,7 +4774,7 @@ pub struct IXAObtainRMInfo_Vtbl { pub struct IXATransLookup(::windows::core::IUnknown); impl IXATransLookup { pub unsafe fn Lookup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Lookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4826,7 +4826,7 @@ impl IXATransLookup2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Lookup(&self, pxid: *const xid_t) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Lookup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pxid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs index 80a729ad30..4fb64bcade 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs @@ -229,7 +229,7 @@ pub unsafe fn EnclaveGetEnclaveInformation(informationsize: u32) -> ::windows::c extern "system" { fn EnclaveGetEnclaveInformation(informationsize: u32, enclaveinformation: *mut ENCLAVE_INFORMATION) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); EnclaveGetEnclaveInformation(informationsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs index e1ffbca883..445baab350 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs @@ -1517,7 +1517,7 @@ where extern "system" { fn WerGetFlags(hprocess: super::super::Foundation::HANDLE, pdwflags: *mut WER_FAULT_REPORTING) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerGetFlags(hprocess.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -1661,7 +1661,7 @@ where extern "system" { fn WerReportCreate(pwzeventtype: ::windows::core::PCWSTR, reptype: WER_REPORT_TYPE, preportinformation: *const WER_REPORT_INFORMATION, phreporthandle: *mut HREPORT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerReportCreate(pwzeventtype.into(), reptype, ::core::mem::transmute(preportinformation), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -1715,7 +1715,7 @@ where extern "system" { fn WerReportSubmit(hreporthandle: HREPORT, consent: WER_CONSENT, dwflags: WER_SUBMIT_FLAGS, psubmitresult: *mut WER_SUBMIT_RESULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerReportSubmit(hreporthandle.into(), consent, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -1749,7 +1749,7 @@ where extern "system" { fn WerStoreGetFirstReportKey(hreportstore: HREPORTSTORE, ppszreportkey: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerStoreGetFirstReportKey(hreportstore.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -1762,7 +1762,7 @@ where extern "system" { fn WerStoreGetNextReportKey(hreportstore: HREPORTSTORE, ppszreportkey: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerStoreGetNextReportKey(hreportstore.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -1775,7 +1775,7 @@ where extern "system" { fn WerStoreGetReportCount(hreportstore: HREPORTSTORE, pdwreportcount: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerStoreGetReportCount(hreportstore.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -1788,7 +1788,7 @@ where extern "system" { fn WerStoreGetSizeOnDisk(hreportstore: HREPORTSTORE, pqwsizeinbytes: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerStoreGetSizeOnDisk(hreportstore.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -1798,7 +1798,7 @@ pub unsafe fn WerStoreOpen(repstoretype: REPORT_STORE_TYPES) -> ::windows::core: extern "system" { fn WerStoreOpen(repstoretype: REPORT_STORE_TYPES, phreportstore: *mut HREPORTSTORE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerStoreOpen(repstoretype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -1822,7 +1822,7 @@ where extern "system" { fn WerStoreQueryReportMetadataV1(hreportstore: HREPORTSTORE, pszreportkey: ::windows::core::PCWSTR, preportmetadata: *mut WER_REPORT_METADATA_V1) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerStoreQueryReportMetadataV1(hreportstore.into(), pszreportkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -1837,7 +1837,7 @@ where extern "system" { fn WerStoreQueryReportMetadataV2(hreportstore: HREPORTSTORE, pszreportkey: ::windows::core::PCWSTR, preportmetadata: *mut WER_REPORT_METADATA_V2) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerStoreQueryReportMetadataV2(hreportstore.into(), pszreportkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -1852,7 +1852,7 @@ where extern "system" { fn WerStoreQueryReportMetadataV3(hreportstore: HREPORTSTORE, pszreportkey: ::windows::core::PCWSTR, preportmetadata: *mut WER_REPORT_METADATA_V3) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerStoreQueryReportMetadataV3(hreportstore.into(), pszreportkey.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -1866,7 +1866,7 @@ where extern "system" { fn WerStoreUploadReport(hreportstore: HREPORTSTORE, pszreportkey: ::windows::core::PCWSTR, dwflags: u32, psubmitresult: *mut WER_SUBMIT_RESULT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WerStoreUploadReport(hreportstore.into(), pszreportkey.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] 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 9bd82d95d4..f3fa805a42 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -1214,7 +1214,7 @@ impl IGPM { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDomain)(::windows::core::Interface::as_raw(self), bstrdomain.into().abi(), bstrdomaincontroller.into().abi(), ldcflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1223,7 +1223,7 @@ impl IGPM { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackupDir)(::windows::core::Interface::as_raw(self), bstrbackupdir.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1234,7 +1234,7 @@ impl IGPM { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSitesContainer)(::windows::core::Interface::as_raw(self), bstrforest.into().abi(), bstrdomain.into().abi(), bstrdomaincontroller.into().abi(), ldcflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1243,7 +1243,7 @@ impl IGPM { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRSOP)(::windows::core::Interface::as_raw(self), gpmrsopmode, bstrnamespace.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1252,13 +1252,13 @@ impl IGPM { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePermission)(::windows::core::Interface::as_raw(self), bstrtrustee.into().abi(), perm, binheritable, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateSearchCriteria(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSearchCriteria)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1267,19 +1267,19 @@ impl IGPM { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTrustee)(::windows::core::Interface::as_raw(self), bstrtrustee.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClientSideExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientSideExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetConstants(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConstants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1288,13 +1288,13 @@ impl IGPM { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMigrationTable)(::windows::core::Interface::as_raw(self), bstrmigrationtablepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateMigrationTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMigrationTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1434,7 +1434,7 @@ impl IGPM2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDomain)(::windows::core::Interface::as_raw(self), bstrdomain.into().abi(), bstrdomaincontroller.into().abi(), ldcflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1443,7 +1443,7 @@ impl IGPM2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBackupDir)(::windows::core::Interface::as_raw(self), bstrbackupdir.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1454,7 +1454,7 @@ impl IGPM2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSitesContainer)(::windows::core::Interface::as_raw(self), bstrforest.into().abi(), bstrdomain.into().abi(), bstrdomaincontroller.into().abi(), ldcflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1463,7 +1463,7 @@ impl IGPM2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRSOP)(::windows::core::Interface::as_raw(self), gpmrsopmode, bstrnamespace.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1472,13 +1472,13 @@ impl IGPM2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePermission)(::windows::core::Interface::as_raw(self), bstrtrustee.into().abi(), perm, binheritable, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateSearchCriteria(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSearchCriteria)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1487,19 +1487,19 @@ impl IGPM2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTrustee)(::windows::core::Interface::as_raw(self), bstrtrustee.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClientSideExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClientSideExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetConstants(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetConstants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1508,13 +1508,13 @@ impl IGPM2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMigrationTable)(::windows::core::Interface::as_raw(self), bstrmigrationtablepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateMigrationTable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMigrationTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1531,7 +1531,7 @@ impl IGPM2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackupDirEx)(::windows::core::Interface::as_raw(self), bstrbackupdir.into().abi(), backupdirtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1809,41 +1809,41 @@ impl IGPMBackup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GPOID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GPOID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GPODomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GPODomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GPODisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GPODisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Timestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Timestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Comment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Comment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BackupDir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackupDir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -1860,7 +1860,7 @@ impl IGPMBackup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateReportToFile)(::windows::core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1972,19 +1972,19 @@ pub struct IGPMBackupCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMBackupCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2073,7 +2073,7 @@ impl IGPMBackupDir { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BackupDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackupDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2082,7 +2082,7 @@ impl IGPMBackupDir { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackup)(::windows::core::Interface::as_raw(self), bstrid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2091,7 +2091,7 @@ impl IGPMBackupDir { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchBackups)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2183,11 +2183,11 @@ impl IGPMBackupDirEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BackupDir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackupDir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BackupType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackupType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2196,7 +2196,7 @@ impl IGPMBackupDirEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackup)(::windows::core::Interface::as_raw(self), bstrid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2205,7 +2205,7 @@ impl IGPMBackupDirEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchBackups)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2296,19 +2296,19 @@ pub struct IGPMCSECollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMCSECollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2397,21 +2397,21 @@ impl IGPMClientSideExtension { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUserEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUserEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsComputerEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsComputerEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2499,243 +2499,243 @@ pub struct IGPMConstants(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMConstants { pub unsafe fn PermGPOApply(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermGPOApply)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermGPORead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermGPORead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermGPOEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermGPOEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermGPOEditSecurityAndDelete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermGPOEditSecurityAndDelete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermGPOCustom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermGPOCustom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermWMIFilterEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermWMIFilterEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermWMIFilterFullControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermWMIFilterFullControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermWMIFilterCustom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermWMIFilterCustom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermSOMLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMLogging(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermSOMLogging)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMPlanning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermSOMPlanning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMGPOCreate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermSOMGPOCreate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMWMICreate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermSOMWMICreate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMWMIFullControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermSOMWMIFullControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOPermissions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyGPOPermissions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOEffectivePermissions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyGPOEffectivePermissions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPODisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyGPODisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOWMIFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyGPOWMIFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyGPOID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOComputerExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyGPOComputerExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOUserExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyGPOUserExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertySOMLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertySOMLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPODomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyGPODomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyBackupMostRecent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyBackupMostRecent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchOpEquals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchOpEquals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchOpContains(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchOpContains)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchOpNotContains(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchOpNotContains)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchOpNotEquals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchOpNotEquals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UsePDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UsePDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UseAnyDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseAnyDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DoNotUseW2KDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoNotUseW2KDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SOMSite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SOMSite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SOMDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SOMDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SOMOU(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SOMOU)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_SecurityFlags(&self, vbowner: i16, vbgroup: i16, vbdacl: i16, vbsacl: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SecurityFlags)(::windows::core::Interface::as_raw(self), vbowner, vbgroup, vbdacl, vbsacl, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DoNotValidateDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoNotValidateDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RSOPModeUnknown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RSOPModeUnknown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RSOPModePlanning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RSOPModePlanning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RSOPModeLogging(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RSOPModeLogging)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EntryTypeUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EntryTypeComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeLocalGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EntryTypeLocalGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeGlobalGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EntryTypeGlobalGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeUniversalGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EntryTypeUniversalGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeUNCPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EntryTypeUNCPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeUnknown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EntryTypeUnknown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationOptionSameAsSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationOptionSameAsSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationOptionNone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationOptionNone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationOptionByRelativeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationOptionByRelativeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationOptionSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationOptionSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MigrationTableOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MigrationTableOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProcessSecurity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProcessSecurity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopLoggingNoComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RsopLoggingNoComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopLoggingNoUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RsopLoggingNoUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopPlanningAssumeSlowLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RsopPlanningAssumeSlowLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_RsopPlanningLoopbackOption(&self, vbmerge: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RsopPlanningLoopbackOption)(::windows::core::Interface::as_raw(self), vbmerge, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopPlanningAssumeUserWQLFilterTrue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RsopPlanningAssumeUserWQLFilterTrue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopPlanningAssumeCompWQLFilterTrue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RsopPlanningAssumeCompWQLFilterTrue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2873,303 +2873,303 @@ pub struct IGPMConstants2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMConstants2 { pub unsafe fn PermGPOApply(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermGPOApply)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermGPORead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermGPORead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermGPOEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermGPOEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermGPOEditSecurityAndDelete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermGPOEditSecurityAndDelete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermGPOCustom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermGPOCustom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermWMIFilterEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermWMIFilterEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermWMIFilterFullControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermWMIFilterFullControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermWMIFilterCustom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermWMIFilterCustom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermSOMLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMLogging(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermSOMLogging)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMPlanning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermSOMPlanning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMGPOCreate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermSOMGPOCreate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMWMICreate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermSOMWMICreate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermSOMWMIFullControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PermSOMWMIFullControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOPermissions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertyGPOPermissions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOEffectivePermissions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertyGPOEffectivePermissions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPODisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertyGPODisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOWMIFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertyGPOWMIFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertyGPOID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOComputerExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertyGPOComputerExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPOUserExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertyGPOUserExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertySOMLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertySOMLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyGPODomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertyGPODomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyBackupMostRecent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchPropertyBackupMostRecent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchOpEquals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchOpEquals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchOpContains(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchOpContains)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchOpNotContains(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchOpNotContains)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchOpNotEquals(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchOpNotEquals)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UsePDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UsePDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UseAnyDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UseAnyDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DoNotUseW2KDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoNotUseW2KDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SOMSite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SOMSite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SOMDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SOMDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SOMOU(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SOMOU)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_SecurityFlags(&self, vbowner: i16, vbgroup: i16, vbdacl: i16, vbsacl: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_SecurityFlags)(::windows::core::Interface::as_raw(self), vbowner, vbgroup, vbdacl, vbsacl, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DoNotValidateDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DoNotValidateDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReportHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReportXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RSOPModeUnknown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RSOPModeUnknown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RSOPModePlanning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RSOPModePlanning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RSOPModeLogging(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RSOPModeLogging)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EntryTypeUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EntryTypeComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeLocalGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EntryTypeLocalGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeGlobalGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EntryTypeGlobalGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeUniversalGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EntryTypeUniversalGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeUNCPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EntryTypeUNCPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryTypeUnknown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EntryTypeUnknown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationOptionSameAsSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DestinationOptionSameAsSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationOptionNone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DestinationOptionNone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationOptionByRelativeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DestinationOptionByRelativeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationOptionSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DestinationOptionSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MigrationTableOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MigrationTableOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProcessSecurity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProcessSecurity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopLoggingNoComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RsopLoggingNoComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopLoggingNoUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RsopLoggingNoUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopPlanningAssumeSlowLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RsopPlanningAssumeSlowLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_RsopPlanningLoopbackOption(&self, vbmerge: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_RsopPlanningLoopbackOption)(::windows::core::Interface::as_raw(self), vbmerge, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopPlanningAssumeUserWQLFilterTrue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RsopPlanningAssumeUserWQLFilterTrue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RsopPlanningAssumeCompWQLFilterTrue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RsopPlanningAssumeCompWQLFilterTrue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BackupTypeGPO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackupTypeGPO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BackupTypeStarterGPO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackupTypeStarterGPO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StarterGPOTypeSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StarterGPOTypeSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StarterGPOTypeCustom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StarterGPOTypeCustom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyStarterGPOPermissions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyStarterGPOPermissions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyStarterGPOEffectivePermissions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyStarterGPOEffectivePermissions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyStarterGPODisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyStarterGPODisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyStarterGPOID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyStarterGPOID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SearchPropertyStarterGPODomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchPropertyStarterGPODomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermStarterGPORead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermStarterGPORead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermStarterGPOEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermStarterGPOEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermStarterGPOFullControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermStarterGPOFullControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PermStarterGPOCustom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PermStarterGPOCustom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportLegacy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportLegacy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReportComments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportComments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3282,19 +3282,19 @@ impl IGPMDomain { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainController(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DomainController)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Domain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Domain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateGPO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGPO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3303,7 +3303,7 @@ impl IGPMDomain { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGPO)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3312,7 +3312,7 @@ impl IGPMDomain { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchGPOs)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3329,7 +3329,7 @@ impl IGPMDomain { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSOM)(::windows::core::Interface::as_raw(self), bstrpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3338,7 +3338,7 @@ impl IGPMDomain { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchSOMs)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3347,7 +3347,7 @@ impl IGPMDomain { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWMIFilter)(::windows::core::Interface::as_raw(self), bstrpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3356,7 +3356,7 @@ impl IGPMDomain { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchWMIFilters)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3476,19 +3476,19 @@ impl IGPMDomain2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainController(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DomainController)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Domain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Domain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateGPO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGPO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3497,7 +3497,7 @@ impl IGPMDomain2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGPO)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3506,7 +3506,7 @@ impl IGPMDomain2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchGPOs)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3523,7 +3523,7 @@ impl IGPMDomain2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSOM)(::windows::core::Interface::as_raw(self), bstrpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3532,7 +3532,7 @@ impl IGPMDomain2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchSOMs)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3541,7 +3541,7 @@ impl IGPMDomain2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWMIFilter)(::windows::core::Interface::as_raw(self), bstrpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3550,13 +3550,13 @@ impl IGPMDomain2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchWMIFilters)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateStarterGPO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStarterGPO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3565,7 +3565,7 @@ impl IGPMDomain2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMStarterGPO>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGPOFromStarterGPO)(::windows::core::Interface::as_raw(self), pgpotemplate.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3574,7 +3574,7 @@ impl IGPMDomain2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStarterGPO)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3583,7 +3583,7 @@ impl IGPMDomain2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchStarterGPOs)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3721,19 +3721,19 @@ impl IGPMDomain3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainController(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DomainController)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Domain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Domain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateGPO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateGPO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3742,7 +3742,7 @@ impl IGPMDomain3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGPO)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3751,7 +3751,7 @@ impl IGPMDomain3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SearchGPOs)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3768,7 +3768,7 @@ impl IGPMDomain3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSOM)(::windows::core::Interface::as_raw(self), bstrpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3777,7 +3777,7 @@ impl IGPMDomain3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SearchSOMs)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3786,7 +3786,7 @@ impl IGPMDomain3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWMIFilter)(::windows::core::Interface::as_raw(self), bstrpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3795,13 +3795,13 @@ impl IGPMDomain3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SearchWMIFilters)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateStarterGPO(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateStarterGPO)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3810,7 +3810,7 @@ impl IGPMDomain3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMStarterGPO>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateGPOFromStarterGPO)(::windows::core::Interface::as_raw(self), pgpotemplate.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3819,7 +3819,7 @@ impl IGPMDomain3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStarterGPO)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3828,7 +3828,7 @@ impl IGPMDomain3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchStarterGPOs)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3855,7 +3855,7 @@ impl IGPMDomain3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InfrastructureDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InfrastructureDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3995,7 +3995,7 @@ impl IGPMGPO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4009,49 +4009,49 @@ impl IGPMGPO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DomainName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ModificationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModificationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserDSVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserDSVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ComputerDSVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputerDSVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserSysvolVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserSysvolVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ComputerSysvolVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputerSysvolVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWMIFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWMIFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4069,17 +4069,17 @@ impl IGPMGPO { (::windows::core::Interface::vtable(self).SetComputerEnabled)(::windows::core::Interface::as_raw(self), vbenabled).ok() } pub unsafe fn IsUserEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUserEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsComputerEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsComputerEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4121,7 +4121,7 @@ impl IGPMGPO { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateReportToFile)(::windows::core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4143,11 +4143,11 @@ impl IGPMGPO { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityDescriptor(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityDescriptor)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsACLConsistent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsACLConsistent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeACLConsistent(&self) -> ::windows::core::Result<()> { @@ -4307,7 +4307,7 @@ impl IGPMGPO2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4321,49 +4321,49 @@ impl IGPMGPO2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DomainName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ModificationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ModificationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserDSVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserDSVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ComputerDSVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputerDSVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserSysvolVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserSysvolVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ComputerSysvolVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputerSysvolVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWMIFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWMIFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4381,17 +4381,17 @@ impl IGPMGPO2 { (::windows::core::Interface::vtable(self).base__.SetComputerEnabled)(::windows::core::Interface::as_raw(self), vbenabled).ok() } pub unsafe fn IsUserEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsUserEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsComputerEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsComputerEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSecurityInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4433,7 +4433,7 @@ impl IGPMGPO2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GenerateReportToFile)(::windows::core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4455,11 +4455,11 @@ impl IGPMGPO2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityDescriptor(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSecurityDescriptor)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsACLConsistent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsACLConsistent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeACLConsistent(&self) -> ::windows::core::Result<()> { @@ -4468,7 +4468,7 @@ impl IGPMGPO2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4582,7 +4582,7 @@ impl IGPMGPO3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4596,49 +4596,49 @@ impl IGPMGPO3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DomainName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ModificationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ModificationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserDSVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserDSVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ComputerDSVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ComputerDSVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserSysvolVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserSysvolVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ComputerSysvolVersionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ComputerSysvolVersionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWMIFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWMIFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4656,17 +4656,17 @@ impl IGPMGPO3 { (::windows::core::Interface::vtable(self).base__.base__.SetComputerEnabled)(::windows::core::Interface::as_raw(self), vbenabled).ok() } pub unsafe fn IsUserEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsUserEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsComputerEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsComputerEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSecurityInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4708,7 +4708,7 @@ impl IGPMGPO3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GenerateReportToFile)(::windows::core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4730,11 +4730,11 @@ impl IGPMGPO3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityDescriptor(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSecurityDescriptor)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsACLConsistent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsACLConsistent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MakeACLConsistent(&self) -> ::windows::core::Result<()> { @@ -4743,7 +4743,7 @@ impl IGPMGPO3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4757,7 +4757,7 @@ impl IGPMGPO3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InfrastructureDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InfrastructureDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4891,19 +4891,19 @@ pub struct IGPMGPOCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMGPOCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4992,37 +4992,37 @@ impl IGPMGPOLink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GPOID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GPOID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GPODomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GPODomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn Enforced(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enforced)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnforced(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnforced)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn SOMLinkOrder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SOMLinkOrder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SOM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SOM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -5121,19 +5121,19 @@ pub struct IGPMGPOLinksCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMGPOLinksCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5222,21 +5222,21 @@ impl IGPMMapEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Source(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Source)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Destination(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Destination)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestinationOption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationOption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EntryType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EntryType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5324,19 +5324,19 @@ pub struct IGPMMapEntryCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMMapEntryCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5444,7 +5444,7 @@ impl IGPMMigrationTable { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddEntry)(::windows::core::Interface::as_raw(self), bstrsource.into().abi(), gpmentrytype, ::core::mem::transmute(pvardestination), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5453,7 +5453,7 @@ impl IGPMMigrationTable { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntry)(::windows::core::Interface::as_raw(self), bstrsource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5470,19 +5470,19 @@ impl IGPMMigrationTable { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdateDestination)(::windows::core::Interface::as_raw(self), bstrsource.into().abi(), ::core::mem::transmute(pvardestination), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Validate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Validate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEntries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5592,25 +5592,25 @@ pub struct IGPMPermission(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMPermission { pub unsafe fn Inherited(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Inherited)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Inheritable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Inheritable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Denied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Denied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Permission(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Permission)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Trustee(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Trustee)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5696,13 +5696,13 @@ pub struct IGPMRSOP(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMRSOP { pub unsafe fn Mode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Namespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Namespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5716,7 +5716,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LoggingComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoggingComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5730,21 +5730,21 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LoggingUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoggingUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLoggingFlags(&self, lval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLoggingFlags)(::windows::core::Interface::as_raw(self), lval).ok() } pub unsafe fn LoggingFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoggingFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPlanningFlags(&self, lval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPlanningFlags)(::windows::core::Interface::as_raw(self), lval).ok() } pub unsafe fn PlanningFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5758,7 +5758,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PlanningDomainController(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningDomainController)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5772,7 +5772,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PlanningSiteName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningSiteName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5786,7 +5786,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PlanningUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5800,7 +5800,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PlanningUserSOM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningUserSOM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5814,7 +5814,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PlanningUserWMIFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningUserWMIFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5828,7 +5828,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PlanningUserSecurityGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningUserSecurityGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5842,7 +5842,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PlanningComputer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5856,7 +5856,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PlanningComputerSOM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningComputerSOM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5870,7 +5870,7 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PlanningComputerWMIFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningComputerWMIFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5884,13 +5884,13 @@ impl IGPMRSOP { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PlanningComputerSecurityGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlanningComputerSecurityGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LoggingEnumerateUsers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoggingEnumerateUsers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateQueryResults(&self) -> ::windows::core::Result<()> { @@ -5910,7 +5910,7 @@ impl IGPMRSOP { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateReportToFile)(::windows::core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6109,13 +6109,13 @@ impl IGPMResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Result(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Result)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OverallStatus(&self) -> ::windows::core::Result<()> { @@ -6205,7 +6205,7 @@ pub struct IGPMSOM(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMSOM { pub unsafe fn GPOInheritanceBlocked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GPOInheritanceBlocked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGPOInheritanceBlocked(&self, newval: i16) -> ::windows::core::Result<()> { @@ -6214,13 +6214,13 @@ impl IGPMSOM { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6229,29 +6229,29 @@ impl IGPMSOM { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMGPO>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGPOLink)(::windows::core::Interface::as_raw(self), llinkpos, pgpo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetGPOLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGPOLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInheritedGPOLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInheritedGPOLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6368,19 +6368,19 @@ pub struct IGPMSOMCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMSOMCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6553,19 +6553,19 @@ pub struct IGPMSecurityInfo(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMSecurityInfo { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6690,19 +6690,19 @@ impl IGPMSitesContainer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DomainController(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DomainController)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Domain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Domain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Forest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Forest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6711,7 +6711,7 @@ impl IGPMSitesContainer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSite)(::windows::core::Interface::as_raw(self), bstrsitename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6720,7 +6720,7 @@ impl IGPMSitesContainer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IGPMSearchCriteria>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchSites)(::windows::core::Interface::as_raw(self), pigpmsearchcriteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6820,7 +6820,7 @@ impl IGPMStarterGPO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6834,7 +6834,7 @@ impl IGPMStarterGPO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6848,45 +6848,45 @@ impl IGPMStarterGPO { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Author(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Author)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Product(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Product)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ModifiedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModifiedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ComputerVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputerVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StarterGPOVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StarterGPOVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -6912,13 +6912,13 @@ impl IGPMStarterGPO { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CopyTo(&self, pvarnewdisplayname: *const super::Com::VARIANT, pvargpmprogress: *const super::Com::VARIANT, pvargpmcancel: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopyTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarnewdisplayname), ::core::mem::transmute(pvargpmprogress), ::core::mem::transmute(pvargpmcancel), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const super::Com::VARIANT, pvargpmcancel: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateReport)(::windows::core::Interface::as_raw(self), gpmreporttype, ::core::mem::transmute(pvargpmprogress), ::core::mem::transmute(pvargpmcancel), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6927,13 +6927,13 @@ impl IGPMStarterGPO { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateReportToFile)(::windows::core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7087,45 +7087,45 @@ impl IGPMStarterGPOBackup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BackupDir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackupDir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Comment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Comment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Domain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Domain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StarterGPOID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StarterGPOID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Timestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Timestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -7142,7 +7142,7 @@ impl IGPMStarterGPOBackup { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateReportToFile)(::windows::core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7255,19 +7255,19 @@ pub struct IGPMStarterGPOBackupCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPOBackupCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7354,19 +7354,19 @@ pub struct IGPMStarterGPOCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPOCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7455,7 +7455,7 @@ impl IGPMStatusMessage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ObjectPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ErrorCode(&self) -> ::windows::core::Result<()> { @@ -7464,13 +7464,13 @@ impl IGPMStatusMessage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExtensionName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtensionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SettingsName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SettingsName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OperationCode(&self) -> ::windows::core::Result<()> { @@ -7479,7 +7479,7 @@ impl IGPMStatusMessage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7575,19 +7575,19 @@ pub struct IGPMStatusMsgCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMStatusMsgCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7676,29 +7676,29 @@ impl IGPMTrustee { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TrusteeSid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrusteeSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TrusteeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrusteeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TrusteeDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrusteeDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TrusteeDSPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrusteeDSPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TrusteeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrusteeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7795,7 +7795,7 @@ impl IGPMWMIFilter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7809,7 +7809,7 @@ impl IGPMWMIFilter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7823,19 +7823,19 @@ impl IGPMWMIFilter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetQueryList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQueryList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7953,19 +7953,19 @@ pub struct IGPMWMIFilterCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMWMIFilterCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8357,7 +8357,7 @@ impl IRSOPInformation { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventLogEntryText)(::windows::core::Interface::as_raw(self), pszeventsource.into(), pszeventlogname.into(), pszeventtime.into(), dweventid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs b/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs index e6d53a0780..54f2daf018 100644 --- a/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs @@ -290,7 +290,7 @@ pub unsafe fn HcnDeleteEndpoint(id: *const ::windows::core::GUID) -> ::windows:: extern "system" { fn HcnDeleteEndpoint(id: *const ::windows::core::GUID, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnDeleteEndpoint(::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -300,7 +300,7 @@ pub unsafe fn HcnDeleteGuestNetworkService(id: *const ::windows::core::GUID) -> extern "system" { fn HcnDeleteGuestNetworkService(id: *const ::windows::core::GUID, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnDeleteGuestNetworkService(::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -310,7 +310,7 @@ pub unsafe fn HcnDeleteLoadBalancer(id: *const ::windows::core::GUID) -> ::windo extern "system" { fn HcnDeleteLoadBalancer(id: *const ::windows::core::GUID, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnDeleteLoadBalancer(::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -320,7 +320,7 @@ pub unsafe fn HcnDeleteNamespace(id: *const ::windows::core::GUID) -> ::windows: extern "system" { fn HcnDeleteNamespace(id: *const ::windows::core::GUID, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnDeleteNamespace(::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -330,7 +330,7 @@ pub unsafe fn HcnDeleteNetwork(id: *const ::windows::core::GUID) -> ::windows::c extern "system" { fn HcnDeleteNetwork(id: *const ::windows::core::GUID, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnDeleteNetwork(::core::mem::transmute(id), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -409,7 +409,7 @@ where extern "system" { fn HcnModifyEndpoint(endpoint: *const ::core::ffi::c_void, settings: ::windows::core::PCWSTR, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnModifyEndpoint(::core::mem::transmute(endpoint), settings.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -422,7 +422,7 @@ where extern "system" { fn HcnModifyGuestNetworkService(guestnetworkservice: *const ::core::ffi::c_void, settings: ::windows::core::PCWSTR, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnModifyGuestNetworkService(::core::mem::transmute(guestnetworkservice), settings.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -435,7 +435,7 @@ where extern "system" { fn HcnModifyLoadBalancer(loadbalancer: *const ::core::ffi::c_void, settings: ::windows::core::PCWSTR, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnModifyLoadBalancer(::core::mem::transmute(loadbalancer), settings.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -448,7 +448,7 @@ where extern "system" { fn HcnModifyNamespace(namespace: *const ::core::ffi::c_void, settings: ::windows::core::PCWSTR, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnModifyNamespace(::core::mem::transmute(namespace), settings.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -461,7 +461,7 @@ where extern "system" { fn HcnModifyNetwork(network: *const ::core::ffi::c_void, settings: ::windows::core::PCWSTR, errorrecord: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnModifyNetwork(::core::mem::transmute(network), settings.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -587,7 +587,7 @@ pub unsafe fn HcnReserveGuestNetworkServicePort(guestnetworkservice: *const ::co extern "system" { fn HcnReserveGuestNetworkServicePort(guestnetworkservice: *const ::core::ffi::c_void, protocol: HCN_PORT_PROTOCOL, access: HCN_PORT_ACCESS, port: u16, portreservationhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcnReserveGuestNetworkServicePort(::core::mem::transmute(guestnetworkservice), protocol, access, port, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`, `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs index 730e3b0773..4ad1886ab7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs @@ -577,7 +577,7 @@ where extern "system" { fn HcsCreateComputeSystem(id: ::windows::core::PCWSTR, configuration: ::windows::core::PCWSTR, operation: HCS_OPERATION, securitydescriptor: *const super::super::Security::SECURITY_DESCRIPTOR, computesystem: *mut HCS_SYSTEM) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsCreateComputeSystem(id.into(), configuration.into(), operation.into(), ::core::mem::transmute(securitydescriptor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -593,7 +593,7 @@ where extern "system" { fn HcsCreateComputeSystemInNamespace(idnamespace: ::windows::core::PCWSTR, id: ::windows::core::PCWSTR, configuration: ::windows::core::PCWSTR, operation: HCS_OPERATION, options: *const HCS_CREATE_OPTIONS, computesystem: *mut HCS_SYSTEM) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsCreateComputeSystemInNamespace(idnamespace.into(), id.into(), configuration.into(), operation.into(), ::core::mem::transmute(options), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -642,7 +642,7 @@ where extern "system" { fn HcsCreateProcess(computesystem: HCS_SYSTEM, processparameters: ::windows::core::PCWSTR, operation: HCS_OPERATION, securitydescriptor: *const super::super::Security::SECURITY_DESCRIPTOR, process: *mut HCS_PROCESS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsCreateProcess(computesystem.into(), processparameters.into(), operation.into(), ::core::mem::transmute(securitydescriptor), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -776,7 +776,7 @@ where extern "system" { fn HcsGetLayerVhdMountPath(vhdhandle: super::super::Foundation::HANDLE, mountpath: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsGetLayerVhdMountPath(vhdhandle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -813,7 +813,7 @@ where extern "system" { fn HcsGetOperationResult(operation: HCS_OPERATION, resultdocument: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsGetOperationResult(operation.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] @@ -890,7 +890,7 @@ where extern "system" { fn HcsGetProcessorCompatibilityFromSavedState(runtimefilename: ::windows::core::PCWSTR, processorfeaturesstring: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsGetProcessorCompatibilityFromSavedState(runtimefilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -903,7 +903,7 @@ where extern "system" { fn HcsGetServiceProperties(propertyquery: ::windows::core::PCWSTR, result: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsGetServiceProperties(propertyquery.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -1014,7 +1014,7 @@ where extern "system" { fn HcsModifyServiceSettings(settings: ::windows::core::PCWSTR, result: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsModifyServiceSettings(settings.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -1027,7 +1027,7 @@ where extern "system" { fn HcsOpenComputeSystem(id: ::windows::core::PCWSTR, requestedaccess: u32, computesystem: *mut HCS_SYSTEM) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsOpenComputeSystem(id.into(), requestedaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -1041,7 +1041,7 @@ where extern "system" { fn HcsOpenComputeSystemInNamespace(idnamespace: ::windows::core::PCWSTR, id: ::windows::core::PCWSTR, requestedaccess: u32, computesystem: *mut HCS_SYSTEM) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsOpenComputeSystemInNamespace(idnamespace.into(), id.into(), requestedaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -1054,7 +1054,7 @@ where extern "system" { fn HcsOpenProcess(computesystem: HCS_SYSTEM, processid: u32, requestedaccess: u32, process: *mut HCS_PROCESS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsOpenProcess(computesystem.into(), processid, requestedaccess, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -1293,7 +1293,7 @@ where extern "system" { fn HcsWaitForComputeSystemExit(computesystem: HCS_SYSTEM, timeoutms: u32, result: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsWaitForComputeSystemExit(computesystem.into(), timeoutms, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -1306,7 +1306,7 @@ where extern "system" { fn HcsWaitForOperationResult(operation: HCS_OPERATION, timeoutms: u32, resultdocument: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsWaitForOperationResult(operation.into(), timeoutms, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] @@ -1332,7 +1332,7 @@ where extern "system" { fn HcsWaitForProcessExit(computesystem: HCS_PROCESS, timeoutms: u32, result: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HcsWaitForProcessExit(computesystem.into(), timeoutms, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs index 48893847bf..83cf52b221 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs @@ -7997,7 +7997,7 @@ where extern "system" { fn WHvAcceptPartitionMigration(migrationhandle: super::super::Foundation::HANDLE, partition: *mut WHV_PARTITION_HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WHvAcceptPartitionMigration(migrationhandle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -8020,7 +8020,7 @@ pub unsafe fn WHvAllocateVpciResource(providerid: *const ::windows::core::GUID, extern "system" { fn WHvAllocateVpciResource(providerid: *const ::windows::core::GUID, flags: WHV_ALLOCATE_VPCI_RESOURCE_FLAGS, resourcedescriptor: *const ::core::ffi::c_void, resourcedescriptorsizeinbytes: u32, vpciresource: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WHvAllocateVpciResource(::core::mem::transmute(providerid), flags, ::core::mem::transmute(::windows::core::as_ptr_or_null(resourcedescriptor)), resourcedescriptor.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -8080,7 +8080,7 @@ pub unsafe fn WHvCreatePartition() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WHvCreatePartition(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -8220,7 +8220,7 @@ pub unsafe fn WHvEmulatorTryIoEmulation(emulator: *const ::core::ffi::c_void, co extern "system" { fn WHvEmulatorTryIoEmulation(emulator: *const ::core::ffi::c_void, context: *const ::core::ffi::c_void, vpcontext: *const WHV_VP_EXIT_CONTEXT, ioinstructioncontext: *const WHV_X64_IO_PORT_ACCESS_CONTEXT, emulatorreturnstatus: *mut WHV_EMULATOR_STATUS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WHvEmulatorTryIoEmulation(::core::mem::transmute(emulator), ::core::mem::transmute(context), ::core::mem::transmute(vpcontext), ::core::mem::transmute(ioinstructioncontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -8230,7 +8230,7 @@ pub unsafe fn WHvEmulatorTryMmioEmulation(emulator: *const ::core::ffi::c_void, extern "system" { fn WHvEmulatorTryMmioEmulation(emulator: *const ::core::ffi::c_void, context: *const ::core::ffi::c_void, vpcontext: *const WHV_VP_EXIT_CONTEXT, mmioinstructioncontext: *const WHV_MEMORY_ACCESS_CONTEXT, emulatorreturnstatus: *mut WHV_EMULATOR_STATUS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WHvEmulatorTryMmioEmulation(::core::mem::transmute(emulator), ::core::mem::transmute(context), ::core::mem::transmute(vpcontext), ::core::mem::transmute(mmioinstructioncontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -8300,7 +8300,7 @@ where extern "system" { fn WHvGetVirtualProcessorCpuidOutput(partition: WHV_PARTITION_HANDLE, vpindex: u32, eax: u32, ecx: u32, cpuidoutput: *mut WHV_CPUID_OUTPUT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WHvGetVirtualProcessorCpuidOutput(partition.into(), vpindex, eax, ecx, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -8703,7 +8703,7 @@ where extern "system" { fn WHvSignalVirtualProcessorSynicEvent(partition: WHV_PARTITION_HANDLE, synicevent: WHV_SYNIC_EVENT_PARAMETERS, newlysignaled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WHvSignalVirtualProcessorSynicEvent(partition.into(), ::core::mem::transmute(synicevent), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -8717,7 +8717,7 @@ where extern "system" { fn WHvStartPartitionMigration(partition: WHV_PARTITION_HANDLE, migrationhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WHvStartPartitionMigration(partition.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] 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 a28e454b94..094e0f94af 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs @@ -96,7 +96,7 @@ impl AsyncIFtpAuthorizationProvider { (::windows::core::Interface::vtable(self).Begin_GetUserAccessPermission)(::windows::core::Interface::as_raw(self), pszsessionid.into(), pszsitename.into(), pszvirtualpath.into(), pszusername.into()).ok() } pub unsafe fn Finish_GetUserAccessPermission(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_GetUserAccessPermission)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -155,7 +155,7 @@ impl AsyncIFtpHomeDirectoryProvider { (::windows::core::Interface::vtable(self).Begin_GetUserHomeDirectoryData)(::windows::core::Interface::as_raw(self), pszsessionid.into(), pszsitename.into(), pszusername.into()).ok() } pub unsafe fn Finish_GetUserHomeDirectoryData(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_GetUserHomeDirectoryData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -264,7 +264,7 @@ impl AsyncIFtpPostprocessProvider { (::windows::core::Interface::vtable(self).Begin_HandlePostprocess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppostprocessparameters)).ok() } pub unsafe fn Finish_HandlePostprocess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_HandlePostprocess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -323,7 +323,7 @@ impl AsyncIFtpPreprocessProvider { (::windows::core::Interface::vtable(self).Begin_HandlePreprocess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppreprocessparameters)).ok() } pub unsafe fn Finish_HandlePreprocess(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_HandlePreprocess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -388,7 +388,7 @@ impl AsyncIFtpRoleProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Finish_IsUserInRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Finish_IsUserInRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2275,7 +2275,7 @@ impl IFtpAuthorizationProvider { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserAccessPermission)(::windows::core::Interface::as_raw(self), pszsessionid.into(), pszsitename.into(), pszvirtualpath.into(), pszusername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2330,7 +2330,7 @@ impl IFtpHomeDirectoryProvider { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserHomeDirectoryData)(::windows::core::Interface::as_raw(self), pszsessionid.into(), pszsitename.into(), pszusername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -2431,7 +2431,7 @@ impl IFtpPostprocessProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlePostprocess(&self, ppostprocessparameters: *const POST_PROCESS_PARAMETERS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HandlePostprocess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppostprocessparameters), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2486,7 +2486,7 @@ impl IFtpPreprocessProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlePreprocess(&self, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HandlePreprocess)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppreprocessparameters), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2601,7 +2601,7 @@ impl IFtpRoleProvider { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUserInRole)(::windows::core::Interface::as_raw(self), pszsessionid.into(), pszsitename.into(), pszusername.into(), pszrole.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2937,7 +2937,7 @@ impl IMSAdminBase2W { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OpenKey)(::windows::core::Interface::as_raw(self), hmdhandle, pszmdpath.into(), dwmdaccessrequested, dwmdtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloseKey(&self, hmdhandle: u32) -> ::windows::core::Result<()> { @@ -2950,18 +2950,18 @@ impl IMSAdminBase2W { (::windows::core::Interface::vtable(self).base__.SaveData)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetHandleInfo(&self, hmdhandle: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHandleInfo)(::windows::core::Interface::as_raw(self), hmdhandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemChangeNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSystemChangeNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataSetNumber<'a, P0>(&self, hmdhandle: u32, pszmdpath: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDataSetNumber)(::windows::core::Interface::as_raw(self), hmdhandle, pszmdpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3012,7 +3012,7 @@ impl IMSAdminBase2W { (::windows::core::Interface::vtable(self).base__.DeleteBackup)(::windows::core::Interface::as_raw(self), pszmdbackuplocation.into(), dwmdversion).ok() } pub unsafe fn UnmarshalInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UnmarshalInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServerGuid(&self) -> ::windows::core::Result<()> { @@ -3227,7 +3227,7 @@ impl IMSAdminBase3W { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OpenKey)(::windows::core::Interface::as_raw(self), hmdhandle, pszmdpath.into(), dwmdaccessrequested, dwmdtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloseKey(&self, hmdhandle: u32) -> ::windows::core::Result<()> { @@ -3240,18 +3240,18 @@ impl IMSAdminBase3W { (::windows::core::Interface::vtable(self).base__.base__.SaveData)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetHandleInfo(&self, hmdhandle: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetHandleInfo)(::windows::core::Interface::as_raw(self), hmdhandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemChangeNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSystemChangeNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataSetNumber<'a, P0>(&self, hmdhandle: u32, pszmdpath: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDataSetNumber)(::windows::core::Interface::as_raw(self), hmdhandle, pszmdpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3302,7 +3302,7 @@ impl IMSAdminBase3W { (::windows::core::Interface::vtable(self).base__.base__.DeleteBackup)(::windows::core::Interface::as_raw(self), pszmdbackuplocation.into(), dwmdversion).ok() } pub unsafe fn UnmarshalInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UnmarshalInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServerGuid(&self) -> ::windows::core::Result<()> { @@ -3583,7 +3583,7 @@ impl IMSAdminBaseW { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenKey)(::windows::core::Interface::as_raw(self), hmdhandle, pszmdpath.into(), dwmdaccessrequested, dwmdtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloseKey(&self, hmdhandle: u32) -> ::windows::core::Result<()> { @@ -3596,18 +3596,18 @@ impl IMSAdminBaseW { (::windows::core::Interface::vtable(self).SaveData)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetHandleInfo(&self, hmdhandle: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHandleInfo)(::windows::core::Interface::as_raw(self), hmdhandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSystemChangeNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemChangeNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataSetNumber<'a, P0>(&self, hmdhandle: u32, pszmdpath: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataSetNumber)(::windows::core::Interface::as_raw(self), hmdhandle, pszmdpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3658,7 +3658,7 @@ impl IMSAdminBaseW { (::windows::core::Interface::vtable(self).DeleteBackup)(::windows::core::Interface::as_raw(self), pszmdbackuplocation.into(), dwmdversion).ok() } pub unsafe fn UnmarshalInterface(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UnmarshalInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetServerGuid(&self) -> ::windows::core::Result<()> { 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 4dff786301..e920d7e45a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -39,7 +39,7 @@ impl IMSMQApplication { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MachineIdOfMachineName)(::windows::core::Interface::as_raw(self), machinename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -126,7 +126,7 @@ impl IMSMQApplication2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MachineIdOfMachineName)(::windows::core::Interface::as_raw(self), machinename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -140,29 +140,29 @@ impl IMSMQApplication2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MachineNameOfMachineId)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MSMQVersionMajor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MSMQVersionMajor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MSMQVersionMinor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MSMQVersionMinor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MSMQVersionBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MSMQVersionBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -279,7 +279,7 @@ impl IMSMQApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MachineIdOfMachineName)(::windows::core::Interface::as_raw(self), machinename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -293,57 +293,57 @@ impl IMSMQApplication3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MachineNameOfMachineId)(::windows::core::Interface::as_raw(self), bstrguid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MSMQVersionMajor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MSMQVersionMajor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MSMQVersionMinor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MSMQVersionMinor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MSMQVersionBuild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MSMQVersionBuild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsDsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ActiveQueues(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActiveQueues)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PrivateQueues(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivateQueues)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DirectoryServiceServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DirectoryServiceServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn BytesInAllQueues(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BytesInAllQueues)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -357,7 +357,7 @@ impl IMSMQApplication3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Machine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Machine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Connect(&self) -> ::windows::core::Result<()> { @@ -510,15 +510,15 @@ impl IMSMQCollection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Item(&self, index: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(index), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -604,7 +604,7 @@ impl IMSMQCoordinatedTransactionDispenser { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -688,13 +688,13 @@ impl IMSMQCoordinatedTransactionDispenser2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -782,13 +782,13 @@ impl IMSMQCoordinatedTransactionDispenser3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -880,13 +880,13 @@ impl IMSMQDestination { (::windows::core::Interface::vtable(self).Close)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IADs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IADs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -900,7 +900,7 @@ impl IMSMQDestination { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -914,7 +914,7 @@ impl IMSMQDestination { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PathName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -928,7 +928,7 @@ impl IMSMQDestination { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FormatName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -942,7 +942,7 @@ impl IMSMQDestination { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Destinations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Destinations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -956,7 +956,7 @@ impl IMSMQDestination { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1156,7 +1156,7 @@ impl IMSMQEvent2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1258,7 +1258,7 @@ impl IMSMQEvent3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1379,39 +1379,39 @@ impl IMSMQManagement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FormatName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Machine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Machine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MessageCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MessageCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ForeignStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ForeignStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransactionalStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionalStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn BytesInQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BytesInQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1510,50 +1510,50 @@ pub struct IMSMQMessage(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage { pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrivLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPrivLevel)(::windows::core::Interface::as_raw(self), lprivlevel).ok() } pub unsafe fn AuthLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthLevel(&self, lauthlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthLevel)(::windows::core::Interface::as_raw(self), lauthlevel).ok() } pub unsafe fn IsAuthenticated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAuthenticated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delivery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Delivery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDelivery(&self, ldelivery: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDelivery)(::windows::core::Interface::as_raw(self), ldelivery).ok() } pub unsafe fn Trace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Trace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTrace(&self, ltrace: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTrace)(::windows::core::Interface::as_raw(self), ltrace).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, lpriority: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), lpriority).ok() } pub unsafe fn Journal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Journal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::core::Result<()> { @@ -1562,7 +1562,7 @@ impl IMSMQMessage { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1574,7 +1574,7 @@ impl IMSMQMessage { (::windows::core::Interface::vtable(self).putref_ResponseQueueInfo)(::windows::core::Interface::as_raw(self), pqinforesponse.into().abi()).ok() } pub unsafe fn AppSpecific(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppSpecific)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppSpecific(&self, lappspecific: i32) -> ::windows::core::Result<()> { @@ -1583,17 +1583,17 @@ impl IMSMQMessage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourceMachineGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceMachineGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BodyLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BodyLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1607,7 +1607,7 @@ impl IMSMQMessage { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1621,13 +1621,13 @@ impl IMSMQMessage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CorrelationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CorrelationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1639,7 +1639,7 @@ impl IMSMQMessage { (::windows::core::Interface::vtable(self).SetCorrelationId)(::windows::core::Interface::as_raw(self), varmsgid.into().abi()).ok() } pub unsafe fn Ack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAck(&self, lack: i32) -> ::windows::core::Result<()> { @@ -1648,7 +1648,7 @@ impl IMSMQMessage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1660,28 +1660,28 @@ impl IMSMQMessage { (::windows::core::Interface::vtable(self).SetLabel)(::windows::core::Interface::as_raw(self), bstrlabel.into().abi()).ok() } pub unsafe fn MaxTimeToReachQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxTimeToReachQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxTimeToReachQueue)(::windows::core::Interface::as_raw(self), lmaxtimetoreachqueue).ok() } pub unsafe fn MaxTimeToReceive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxTimeToReceive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxTimeToReceive)(::windows::core::Interface::as_raw(self), lmaxtimetoreceive).ok() } pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), lhashalg).ok() } pub unsafe fn EncryptAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::core::Result<()> { @@ -1690,25 +1690,25 @@ impl IMSMQMessage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ArrivedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArrivedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DestinationQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SenderCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1722,11 +1722,11 @@ impl IMSMQMessage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SenderId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SenderIdType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderIdType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::core::Result<()> { @@ -1924,50 +1924,50 @@ pub struct IMSMQMessage2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage2 { pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrivLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPrivLevel)(::windows::core::Interface::as_raw(self), lprivlevel).ok() } pub unsafe fn AuthLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthLevel(&self, lauthlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthLevel)(::windows::core::Interface::as_raw(self), lauthlevel).ok() } pub unsafe fn IsAuthenticated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAuthenticated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delivery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Delivery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDelivery(&self, ldelivery: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDelivery)(::windows::core::Interface::as_raw(self), ldelivery).ok() } pub unsafe fn Trace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Trace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTrace(&self, ltrace: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTrace)(::windows::core::Interface::as_raw(self), ltrace).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, lpriority: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), lpriority).ok() } pub unsafe fn Journal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Journal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::core::Result<()> { @@ -1976,7 +1976,7 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseQueueInfo_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1988,7 +1988,7 @@ impl IMSMQMessage2 { (::windows::core::Interface::vtable(self).putref_ResponseQueueInfo_v1)(::windows::core::Interface::as_raw(self), pqinforesponse.into().abi()).ok() } pub unsafe fn AppSpecific(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppSpecific)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppSpecific(&self, lappspecific: i32) -> ::windows::core::Result<()> { @@ -1997,17 +1997,17 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourceMachineGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceMachineGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BodyLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BodyLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2021,7 +2021,7 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminQueueInfo_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2035,13 +2035,13 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CorrelationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CorrelationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2053,7 +2053,7 @@ impl IMSMQMessage2 { (::windows::core::Interface::vtable(self).SetCorrelationId)(::windows::core::Interface::as_raw(self), varmsgid.into().abi()).ok() } pub unsafe fn Ack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAck(&self, lack: i32) -> ::windows::core::Result<()> { @@ -2062,7 +2062,7 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2074,28 +2074,28 @@ impl IMSMQMessage2 { (::windows::core::Interface::vtable(self).SetLabel)(::windows::core::Interface::as_raw(self), bstrlabel.into().abi()).ok() } pub unsafe fn MaxTimeToReachQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxTimeToReachQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxTimeToReachQueue)(::windows::core::Interface::as_raw(self), lmaxtimetoreachqueue).ok() } pub unsafe fn MaxTimeToReceive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxTimeToReceive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxTimeToReceive)(::windows::core::Interface::as_raw(self), lmaxtimetoreceive).ok() } pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), lhashalg).ok() } pub unsafe fn EncryptAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::core::Result<()> { @@ -2104,25 +2104,25 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ArrivedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArrivedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DestinationQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SenderCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2136,11 +2136,11 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SenderId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SenderIdType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderIdType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::core::Result<()> { @@ -2158,13 +2158,13 @@ impl IMSMQMessage2 { (::windows::core::Interface::vtable(self).AttachCurrentSecurityContext)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SenderVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Extension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Extension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2178,7 +2178,7 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ConnectorTypeGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectorTypeGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2192,13 +2192,13 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TransactionStatusQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionStatusQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DestinationSymmetricKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationSymmetricKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2212,7 +2212,7 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Signature(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Signature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2224,7 +2224,7 @@ impl IMSMQMessage2 { (::windows::core::Interface::vtable(self).SetSignature)(::windows::core::Interface::as_raw(self), varsignature.into().abi()).ok() } pub unsafe fn AuthenticationProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticationProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticationProviderType(&self, lauthprovtype: i32) -> ::windows::core::Result<()> { @@ -2233,7 +2233,7 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AuthenticationProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticationProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2253,7 +2253,7 @@ impl IMSMQMessage2 { (::windows::core::Interface::vtable(self).SetSenderId)(::windows::core::Interface::as_raw(self), varsenderid.into().abi()).ok() } pub unsafe fn MsgClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MsgClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMsgClass(&self, lmsgclass: i32) -> ::windows::core::Result<()> { @@ -2262,27 +2262,27 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn TransactionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFirstInTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFirstInTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLastInTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLastInTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2296,7 +2296,7 @@ impl IMSMQMessage2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2308,7 +2308,7 @@ impl IMSMQMessage2 { (::windows::core::Interface::vtable(self).putref_AdminQueueInfo)(::windows::core::Interface::as_raw(self), pqinfoadmin.into().abi()).ok() } pub unsafe fn ReceivedAuthenticationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceivedAuthenticationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2572,50 +2572,50 @@ pub struct IMSMQMessage3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage3 { pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrivLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPrivLevel)(::windows::core::Interface::as_raw(self), lprivlevel).ok() } pub unsafe fn AuthLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthLevel(&self, lauthlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthLevel)(::windows::core::Interface::as_raw(self), lauthlevel).ok() } pub unsafe fn IsAuthenticated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAuthenticated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delivery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Delivery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDelivery(&self, ldelivery: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDelivery)(::windows::core::Interface::as_raw(self), ldelivery).ok() } pub unsafe fn Trace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Trace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTrace(&self, ltrace: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTrace)(::windows::core::Interface::as_raw(self), ltrace).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, lpriority: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), lpriority).ok() } pub unsafe fn Journal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Journal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::core::Result<()> { @@ -2624,7 +2624,7 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseQueueInfo_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2636,7 +2636,7 @@ impl IMSMQMessage3 { (::windows::core::Interface::vtable(self).putref_ResponseQueueInfo_v1)(::windows::core::Interface::as_raw(self), pqinforesponse.into().abi()).ok() } pub unsafe fn AppSpecific(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppSpecific)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppSpecific(&self, lappspecific: i32) -> ::windows::core::Result<()> { @@ -2645,17 +2645,17 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourceMachineGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceMachineGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BodyLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BodyLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2669,7 +2669,7 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminQueueInfo_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2683,13 +2683,13 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CorrelationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CorrelationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2701,7 +2701,7 @@ impl IMSMQMessage3 { (::windows::core::Interface::vtable(self).SetCorrelationId)(::windows::core::Interface::as_raw(self), varmsgid.into().abi()).ok() } pub unsafe fn Ack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAck(&self, lack: i32) -> ::windows::core::Result<()> { @@ -2710,7 +2710,7 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2722,28 +2722,28 @@ impl IMSMQMessage3 { (::windows::core::Interface::vtable(self).SetLabel)(::windows::core::Interface::as_raw(self), bstrlabel.into().abi()).ok() } pub unsafe fn MaxTimeToReachQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxTimeToReachQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxTimeToReachQueue)(::windows::core::Interface::as_raw(self), lmaxtimetoreachqueue).ok() } pub unsafe fn MaxTimeToReceive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxTimeToReceive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxTimeToReceive)(::windows::core::Interface::as_raw(self), lmaxtimetoreceive).ok() } pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), lhashalg).ok() } pub unsafe fn EncryptAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::core::Result<()> { @@ -2752,25 +2752,25 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ArrivedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArrivedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DestinationQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SenderCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2784,11 +2784,11 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SenderId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SenderIdType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderIdType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::core::Result<()> { @@ -2806,13 +2806,13 @@ impl IMSMQMessage3 { (::windows::core::Interface::vtable(self).AttachCurrentSecurityContext)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SenderVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Extension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Extension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2826,7 +2826,7 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ConnectorTypeGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectorTypeGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2840,13 +2840,13 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TransactionStatusQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionStatusQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DestinationSymmetricKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationSymmetricKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2860,7 +2860,7 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Signature(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Signature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2872,7 +2872,7 @@ impl IMSMQMessage3 { (::windows::core::Interface::vtable(self).SetSignature)(::windows::core::Interface::as_raw(self), varsignature.into().abi()).ok() } pub unsafe fn AuthenticationProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticationProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticationProviderType(&self, lauthprovtype: i32) -> ::windows::core::Result<()> { @@ -2881,7 +2881,7 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AuthenticationProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticationProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2901,7 +2901,7 @@ impl IMSMQMessage3 { (::windows::core::Interface::vtable(self).SetSenderId)(::windows::core::Interface::as_raw(self), varsenderid.into().abi()).ok() } pub unsafe fn MsgClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MsgClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMsgClass(&self, lmsgclass: i32) -> ::windows::core::Result<()> { @@ -2910,27 +2910,27 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn TransactionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFirstInTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFirstInTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLastInTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLastInTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseQueueInfo_v2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2944,7 +2944,7 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminQueueInfo_v2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2956,13 +2956,13 @@ impl IMSMQMessage3 { (::windows::core::Interface::vtable(self).putref_AdminQueueInfo_v2)(::windows::core::Interface::as_raw(self), pqinfoadmin.into().abi()).ok() } pub unsafe fn ReceivedAuthenticationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceivedAuthenticationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2976,7 +2976,7 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2990,7 +2990,7 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseDestination(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseDestination)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3004,25 +3004,25 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Destination(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Destination)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LookupId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsAuthenticated2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAuthenticated2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFirstInTransaction2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFirstInTransaction2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLastInTransaction2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLastInTransaction2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AttachCurrentSecurityContext2(&self) -> ::windows::core::Result<()> { @@ -3031,13 +3031,13 @@ impl IMSMQMessage3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SoapEnvelope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SoapEnvelope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CompoundMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompoundMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3369,50 +3369,50 @@ pub struct IMSMQMessage4(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage4 { pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrivLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPrivLevel)(::windows::core::Interface::as_raw(self), lprivlevel).ok() } pub unsafe fn AuthLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthLevel(&self, lauthlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthLevel)(::windows::core::Interface::as_raw(self), lauthlevel).ok() } pub unsafe fn IsAuthenticated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAuthenticated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delivery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Delivery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDelivery(&self, ldelivery: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDelivery)(::windows::core::Interface::as_raw(self), ldelivery).ok() } pub unsafe fn Trace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Trace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTrace(&self, ltrace: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTrace)(::windows::core::Interface::as_raw(self), ltrace).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, lpriority: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), lpriority).ok() } pub unsafe fn Journal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Journal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::core::Result<()> { @@ -3421,7 +3421,7 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseQueueInfo_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3433,7 +3433,7 @@ impl IMSMQMessage4 { (::windows::core::Interface::vtable(self).putref_ResponseQueueInfo_v1)(::windows::core::Interface::as_raw(self), pqinforesponse.into().abi()).ok() } pub unsafe fn AppSpecific(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppSpecific)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppSpecific(&self, lappspecific: i32) -> ::windows::core::Result<()> { @@ -3442,17 +3442,17 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SourceMachineGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SourceMachineGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BodyLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BodyLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3466,7 +3466,7 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminQueueInfo_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3480,13 +3480,13 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CorrelationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CorrelationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3498,7 +3498,7 @@ impl IMSMQMessage4 { (::windows::core::Interface::vtable(self).SetCorrelationId)(::windows::core::Interface::as_raw(self), varmsgid.into().abi()).ok() } pub unsafe fn Ack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAck(&self, lack: i32) -> ::windows::core::Result<()> { @@ -3507,7 +3507,7 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3519,28 +3519,28 @@ impl IMSMQMessage4 { (::windows::core::Interface::vtable(self).SetLabel)(::windows::core::Interface::as_raw(self), bstrlabel.into().abi()).ok() } pub unsafe fn MaxTimeToReachQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxTimeToReachQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxTimeToReachQueue(&self, lmaxtimetoreachqueue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxTimeToReachQueue)(::windows::core::Interface::as_raw(self), lmaxtimetoreachqueue).ok() } pub unsafe fn MaxTimeToReceive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxTimeToReceive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxTimeToReceive(&self, lmaxtimetoreceive: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxTimeToReceive)(::windows::core::Interface::as_raw(self), lmaxtimetoreceive).ok() } pub unsafe fn HashAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HashAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHashAlgorithm(&self, lhashalg: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHashAlgorithm)(::windows::core::Interface::as_raw(self), lhashalg).ok() } pub unsafe fn EncryptAlgorithm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EncryptAlgorithm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> ::windows::core::Result<()> { @@ -3549,25 +3549,25 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ArrivedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ArrivedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DestinationQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SenderCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3581,11 +3581,11 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SenderId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SenderIdType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderIdType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> ::windows::core::Result<()> { @@ -3603,13 +3603,13 @@ impl IMSMQMessage4 { (::windows::core::Interface::vtable(self).AttachCurrentSecurityContext)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SenderVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SenderVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Extension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Extension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3623,7 +3623,7 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ConnectorTypeGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectorTypeGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3637,13 +3637,13 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TransactionStatusQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionStatusQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DestinationSymmetricKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DestinationSymmetricKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3657,7 +3657,7 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Signature(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Signature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3669,7 +3669,7 @@ impl IMSMQMessage4 { (::windows::core::Interface::vtable(self).SetSignature)(::windows::core::Interface::as_raw(self), varsignature.into().abi()).ok() } pub unsafe fn AuthenticationProviderType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticationProviderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticationProviderType(&self, lauthprovtype: i32) -> ::windows::core::Result<()> { @@ -3678,7 +3678,7 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AuthenticationProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticationProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3698,7 +3698,7 @@ impl IMSMQMessage4 { (::windows::core::Interface::vtable(self).SetSenderId)(::windows::core::Interface::as_raw(self), varsenderid.into().abi()).ok() } pub unsafe fn MsgClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MsgClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMsgClass(&self, lmsgclass: i32) -> ::windows::core::Result<()> { @@ -3707,27 +3707,27 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn TransactionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFirstInTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFirstInTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLastInTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLastInTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseQueueInfo_v2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3741,7 +3741,7 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminQueueInfo_v2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3753,13 +3753,13 @@ impl IMSMQMessage4 { (::windows::core::Interface::vtable(self).putref_AdminQueueInfo_v2)(::windows::core::Interface::as_raw(self), pqinfoadmin.into().abi()).ok() } pub unsafe fn ReceivedAuthenticationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceivedAuthenticationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3773,7 +3773,7 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdminQueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3787,7 +3787,7 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseDestination(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResponseDestination)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3801,25 +3801,25 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Destination(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Destination)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LookupId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsAuthenticated2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAuthenticated2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFirstInTransaction2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFirstInTransaction2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLastInTransaction2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLastInTransaction2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AttachCurrentSecurityContext2(&self) -> ::windows::core::Result<()> { @@ -3828,13 +3828,13 @@ impl IMSMQMessage4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SoapEnvelope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SoapEnvelope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CompoundMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompoundMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4173,55 +4173,55 @@ impl IMSMQOutgoingQueueManagement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FormatName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FormatName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Machine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Machine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MessageCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MessageCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ForeignStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ForeignStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransactionalStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransactionalStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn BytesInQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BytesInQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn NextHops(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NextHops)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EodGetSendInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EodGetSendInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resume(&self) -> ::windows::core::Result<()> { @@ -4340,7 +4340,7 @@ impl IMSMQPrivateDestination { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4434,7 +4434,7 @@ pub struct IMSMQPrivateEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQPrivateEvent { pub unsafe fn Hwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Hwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4539,7 +4539,7 @@ impl IMSMQQuery { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LookupQueue(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(queueguid), ::core::mem::transmute(servicetypeguid), ::core::mem::transmute(label), ::core::mem::transmute(createtime), ::core::mem::transmute(modifytime), ::core::mem::transmute(relservicetype), ::core::mem::transmute(rellabel), ::core::mem::transmute(relcreatetime), ::core::mem::transmute(relmodifytime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4623,13 +4623,13 @@ impl IMSMQQuery2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LookupQueue(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(queueguid), ::core::mem::transmute(servicetypeguid), ::core::mem::transmute(label), ::core::mem::transmute(createtime), ::core::mem::transmute(modifytime), ::core::mem::transmute(relservicetype), ::core::mem::transmute(rellabel), ::core::mem::transmute(relcreatetime), ::core::mem::transmute(relmodifytime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4717,19 +4717,19 @@ impl IMSMQQuery3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LookupQueue_v2(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupQueue_v2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(queueguid), ::core::mem::transmute(servicetypeguid), ::core::mem::transmute(label), ::core::mem::transmute(createtime), ::core::mem::transmute(modifytime), ::core::mem::transmute(relservicetype), ::core::mem::transmute(rellabel), ::core::mem::transmute(relcreatetime), ::core::mem::transmute(relmodifytime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LookupQueue(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT, multicastaddress: *const super::Com::VARIANT, relmulticastaddress: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupQueue)( ::windows::core::Interface::as_raw(self), ::core::mem::transmute(queueguid), @@ -4836,19 +4836,19 @@ impl IMSMQQuery4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LookupQueue_v2(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupQueue_v2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(queueguid), ::core::mem::transmute(servicetypeguid), ::core::mem::transmute(label), ::core::mem::transmute(createtime), ::core::mem::transmute(modifytime), ::core::mem::transmute(relservicetype), ::core::mem::transmute(rellabel), ::core::mem::transmute(relcreatetime), ::core::mem::transmute(relmodifytime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LookupQueue(&self, queueguid: *const super::Com::VARIANT, servicetypeguid: *const super::Com::VARIANT, label: *const super::Com::VARIANT, createtime: *const super::Com::VARIANT, modifytime: *const super::Com::VARIANT, relservicetype: *const super::Com::VARIANT, rellabel: *const super::Com::VARIANT, relcreatetime: *const super::Com::VARIANT, relmodifytime: *const super::Com::VARIANT, multicastaddress: *const super::Com::VARIANT, relmulticastaddress: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupQueue)( ::windows::core::Interface::as_raw(self), ::core::mem::transmute(queueguid), @@ -4953,25 +4953,25 @@ pub struct IMSMQQueue(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue { pub unsafe fn Access(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Access)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShareMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShareMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -4980,13 +4980,13 @@ impl IMSMQQueue { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Receive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Peek)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5003,19 +5003,19 @@ impl IMSMQQueue { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5127,25 +5127,25 @@ pub struct IMSMQQueue2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue2 { pub unsafe fn Access(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Access)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShareMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShareMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -5154,13 +5154,13 @@ impl IMSMQQueue2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Receive_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Receive_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Peek_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5177,55 +5177,55 @@ impl IMSMQQueue2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveCurrent_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekNext_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekCurrent_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Receive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Peek)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5361,25 +5361,25 @@ pub struct IMSMQQueue3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue3 { pub unsafe fn Access(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Access)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShareMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShareMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -5388,13 +5388,13 @@ impl IMSMQQueue3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Receive_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Receive_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Peek_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5411,61 +5411,61 @@ impl IMSMQQueue3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveCurrent_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekNext_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekCurrent_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Receive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Peek)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Handle2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5474,7 +5474,7 @@ impl IMSMQQueue3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5483,7 +5483,7 @@ impl IMSMQQueue3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveNextByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5492,19 +5492,19 @@ impl IMSMQQueue3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceivePreviousByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveFirstByLookupId(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveFirstByLookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveLastByLookupId(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveLastByLookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5513,7 +5513,7 @@ impl IMSMQQueue3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5522,7 +5522,7 @@ impl IMSMQQueue3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekNextByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5531,26 +5531,26 @@ impl IMSMQQueue3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekPreviousByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekFirstByLookupId(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekFirstByLookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekLastByLookupId(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekLastByLookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Purge(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Purge)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsOpen2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOpen2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5732,25 +5732,25 @@ pub struct IMSMQQueue4(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue4 { pub unsafe fn Access(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Access)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShareMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShareMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -5759,13 +5759,13 @@ impl IMSMQQueue4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Receive_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Receive_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Peek_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5782,61 +5782,61 @@ impl IMSMQQueue4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveCurrent_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekNext_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekCurrent_v1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Receive(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Receive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Peek(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Peek)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveCurrent(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, receivetimeout: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(receivetimeout), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Handle2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5845,7 +5845,7 @@ impl IMSMQQueue4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5854,7 +5854,7 @@ impl IMSMQQueue4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveNextByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5863,19 +5863,19 @@ impl IMSMQQueue4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceivePreviousByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveFirstByLookupId(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveFirstByLookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ReceiveLastByLookupId(&self, transaction: *const super::Com::VARIANT, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveLastByLookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5884,7 +5884,7 @@ impl IMSMQQueue4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5893,7 +5893,7 @@ impl IMSMQQueue4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekNextByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5902,26 +5902,26 @@ impl IMSMQQueue4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekPreviousByLookupId)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekFirstByLookupId(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekFirstByLookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PeekLastByLookupId(&self, wantdestinationqueue: *const super::Com::VARIANT, wantbody: *const super::Com::VARIANT, wantconnectortype: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PeekLastByLookupId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Purge(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Purge)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsOpen2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOpen2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5930,7 +5930,7 @@ impl IMSMQQueue4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReceiveByLookupIdAllowPeek)(::windows::core::Interface::as_raw(self), lookupid.into().abi(), ::core::mem::transmute(transaction), ::core::mem::transmute(wantdestinationqueue), ::core::mem::transmute(wantbody), ::core::mem::transmute(wantconnectortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6118,13 +6118,13 @@ impl IMSMQQueueInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueueGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceTypeGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceTypeGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6138,7 +6138,7 @@ impl IMSMQQueueInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6152,7 +6152,7 @@ impl IMSMQQueueInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PathName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6166,7 +6166,7 @@ impl IMSMQQueueInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FormatName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6178,32 +6178,32 @@ impl IMSMQQueueInfo { (::windows::core::Interface::vtable(self).SetFormatName)(::windows::core::Interface::as_raw(self), bstrformatname.into().abi()).ok() } pub unsafe fn IsTransactional(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTransactional)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrivLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPrivLevel)(::windows::core::Interface::as_raw(self), lprivlevel).ok() } pub unsafe fn Journal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Journal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetJournal)(::windows::core::Interface::as_raw(self), ljournal).ok() } pub unsafe fn Quota(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Quota)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuota(&self, lquota: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQuota)(::windows::core::Interface::as_raw(self), lquota).ok() } pub unsafe fn BasePriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BasePriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> ::windows::core::Result<()> { @@ -6212,31 +6212,31 @@ impl IMSMQQueueInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ModifyTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModifyTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Authenticate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Authenticate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticate(&self, lauthenticate: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthenticate)(::windows::core::Interface::as_raw(self), lauthenticate).ok() } pub unsafe fn JournalQuota(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JournalQuota)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournalQuota(&self, ljournalquota: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetJournalQuota)(::windows::core::Interface::as_raw(self), ljournalquota).ok() } pub unsafe fn IsWorldReadable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWorldReadable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6250,7 +6250,7 @@ impl IMSMQQueueInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Open(&self, access: i32, sharemode: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self), access, sharemode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -6405,13 +6405,13 @@ impl IMSMQQueueInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueueGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceTypeGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceTypeGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6425,7 +6425,7 @@ impl IMSMQQueueInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6439,7 +6439,7 @@ impl IMSMQQueueInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PathName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6453,7 +6453,7 @@ impl IMSMQQueueInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FormatName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6465,32 +6465,32 @@ impl IMSMQQueueInfo2 { (::windows::core::Interface::vtable(self).SetFormatName)(::windows::core::Interface::as_raw(self), bstrformatname.into().abi()).ok() } pub unsafe fn IsTransactional(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTransactional)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrivLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPrivLevel)(::windows::core::Interface::as_raw(self), lprivlevel).ok() } pub unsafe fn Journal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Journal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetJournal)(::windows::core::Interface::as_raw(self), ljournal).ok() } pub unsafe fn Quota(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Quota)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuota(&self, lquota: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQuota)(::windows::core::Interface::as_raw(self), lquota).ok() } pub unsafe fn BasePriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BasePriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> ::windows::core::Result<()> { @@ -6499,31 +6499,31 @@ impl IMSMQQueueInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ModifyTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModifyTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Authenticate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Authenticate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticate(&self, lauthenticate: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthenticate)(::windows::core::Interface::as_raw(self), lauthenticate).ok() } pub unsafe fn JournalQuota(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JournalQuota)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournalQuota(&self, ljournalquota: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetJournalQuota)(::windows::core::Interface::as_raw(self), ljournalquota).ok() } pub unsafe fn IsWorldReadable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWorldReadable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6537,7 +6537,7 @@ impl IMSMQQueueInfo2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Open(&self, access: i32, sharemode: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self), access, sharemode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -6549,19 +6549,19 @@ impl IMSMQQueueInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PathNameDNS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathNameDNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Security(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6734,13 +6734,13 @@ impl IMSMQQueueInfo3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueueGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceTypeGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceTypeGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6754,7 +6754,7 @@ impl IMSMQQueueInfo3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6768,7 +6768,7 @@ impl IMSMQQueueInfo3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PathName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6782,7 +6782,7 @@ impl IMSMQQueueInfo3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FormatName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6794,32 +6794,32 @@ impl IMSMQQueueInfo3 { (::windows::core::Interface::vtable(self).SetFormatName)(::windows::core::Interface::as_raw(self), bstrformatname.into().abi()).ok() } pub unsafe fn IsTransactional(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTransactional)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrivLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPrivLevel)(::windows::core::Interface::as_raw(self), lprivlevel).ok() } pub unsafe fn Journal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Journal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetJournal)(::windows::core::Interface::as_raw(self), ljournal).ok() } pub unsafe fn Quota(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Quota)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuota(&self, lquota: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQuota)(::windows::core::Interface::as_raw(self), lquota).ok() } pub unsafe fn BasePriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BasePriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> ::windows::core::Result<()> { @@ -6828,31 +6828,31 @@ impl IMSMQQueueInfo3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ModifyTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModifyTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Authenticate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Authenticate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticate(&self, lauthenticate: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthenticate)(::windows::core::Interface::as_raw(self), lauthenticate).ok() } pub unsafe fn JournalQuota(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JournalQuota)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournalQuota(&self, ljournalquota: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetJournalQuota)(::windows::core::Interface::as_raw(self), ljournalquota).ok() } pub unsafe fn IsWorldReadable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWorldReadable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6866,7 +6866,7 @@ impl IMSMQQueueInfo3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Open(&self, access: i32, sharemode: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self), access, sharemode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -6878,19 +6878,19 @@ impl IMSMQQueueInfo3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PathNameDNS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathNameDNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Security(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6902,17 +6902,17 @@ impl IMSMQQueueInfo3 { (::windows::core::Interface::vtable(self).SetSecurity)(::windows::core::Interface::as_raw(self), varsecurity.into().abi()).ok() } pub unsafe fn IsTransactional2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTransactional2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsWorldReadable2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWorldReadable2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MulticastAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MulticastAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6926,7 +6926,7 @@ impl IMSMQQueueInfo3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7105,13 +7105,13 @@ impl IMSMQQueueInfo4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueueGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueueGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceTypeGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceTypeGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7125,7 +7125,7 @@ impl IMSMQQueueInfo4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7139,7 +7139,7 @@ impl IMSMQQueueInfo4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PathName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7153,7 +7153,7 @@ impl IMSMQQueueInfo4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FormatName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7165,32 +7165,32 @@ impl IMSMQQueueInfo4 { (::windows::core::Interface::vtable(self).SetFormatName)(::windows::core::Interface::as_raw(self), bstrformatname.into().abi()).ok() } pub unsafe fn IsTransactional(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTransactional)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrivLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivLevel(&self, lprivlevel: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPrivLevel)(::windows::core::Interface::as_raw(self), lprivlevel).ok() } pub unsafe fn Journal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Journal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetJournal)(::windows::core::Interface::as_raw(self), ljournal).ok() } pub unsafe fn Quota(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Quota)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuota(&self, lquota: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQuota)(::windows::core::Interface::as_raw(self), lquota).ok() } pub unsafe fn BasePriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BasePriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> ::windows::core::Result<()> { @@ -7199,31 +7199,31 @@ impl IMSMQQueueInfo4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ModifyTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModifyTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Authenticate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Authenticate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticate(&self, lauthenticate: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthenticate)(::windows::core::Interface::as_raw(self), lauthenticate).ok() } pub unsafe fn JournalQuota(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JournalQuota)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJournalQuota(&self, ljournalquota: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetJournalQuota)(::windows::core::Interface::as_raw(self), ljournalquota).ok() } pub unsafe fn IsWorldReadable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWorldReadable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7237,7 +7237,7 @@ impl IMSMQQueueInfo4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Open(&self, access: i32, sharemode: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self), access, sharemode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { @@ -7249,19 +7249,19 @@ impl IMSMQQueueInfo4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PathNameDNS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PathNameDNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Security(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7273,17 +7273,17 @@ impl IMSMQQueueInfo4 { (::windows::core::Interface::vtable(self).SetSecurity)(::windows::core::Interface::as_raw(self), varsecurity.into().abi()).ok() } pub unsafe fn IsTransactional2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTransactional2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsWorldReadable2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWorldReadable2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MulticastAddress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MulticastAddress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7297,7 +7297,7 @@ impl IMSMQQueueInfo4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ADsPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ADsPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7479,7 +7479,7 @@ impl IMSMQQueueInfos { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7567,13 +7567,13 @@ impl IMSMQQueueInfos2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7665,13 +7665,13 @@ impl IMSMQQueueInfos3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7763,13 +7763,13 @@ impl IMSMQQueueInfos4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7863,55 +7863,55 @@ impl IMSMQQueueManagement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FormatName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FormatName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Machine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Machine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MessageCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MessageCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ForeignStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ForeignStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TransactionalStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransactionalStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn BytesInQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BytesInQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn JournalMessageCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).JournalMessageCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn BytesInJournal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BytesInJournal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn EodGetReceiveInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EodGetReceiveInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8016,7 +8016,7 @@ pub struct IMSMQTransaction(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction { pub unsafe fn Transaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Transaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8113,7 +8113,7 @@ pub struct IMSMQTransaction2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction2 { pub unsafe fn Transaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Transaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8137,7 +8137,7 @@ impl IMSMQTransaction2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8241,7 +8241,7 @@ pub struct IMSMQTransaction3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction3 { pub unsafe fn Transaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Transaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8265,13 +8265,13 @@ impl IMSMQTransaction3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ITransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ITransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8391,7 +8391,7 @@ impl IMSMQTransactionDispenser { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8475,13 +8475,13 @@ impl IMSMQTransactionDispenser2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8569,13 +8569,13 @@ impl IMSMQTransactionDispenser3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginTransaction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 4b63be802f..5d178d3b59 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs @@ -297,18 +297,18 @@ impl Column { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, width: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWidth)(::windows::core::Interface::as_raw(self), width).ok() } pub unsafe fn DisplayPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplayPosition(&self, index: i32) -> ::windows::core::Result<()> { @@ -317,7 +317,7 @@ impl Column { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Hidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Hidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -334,7 +334,7 @@ impl Column { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSortColumn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSortColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -435,15 +435,15 @@ impl Columns { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -528,7 +528,7 @@ pub struct ContextMenu(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ContextMenu { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -537,11 +537,11 @@ impl ContextMenu { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), indexorpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -677,23 +677,23 @@ impl Document { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Views(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Views)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SnapIns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SnapIns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActiveView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActiveView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Name(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -705,17 +705,17 @@ impl Document { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn Location(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSaved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSaved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Mode(&self) -> ::windows::core::Result<_DocumentMode> { - let mut result__ = ::core::mem::MaybeUninit::<_DocumentMode>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<_DocumentMode>(result__) } pub unsafe fn SetMode(&self, mode: _DocumentMode) -> ::windows::core::Result<()> { @@ -724,25 +724,25 @@ impl Document { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ScopeNamespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScopeNamespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result<_Application> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<_Application>(result__) } } @@ -869,25 +869,25 @@ pub struct Extension(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Extension { pub unsafe fn Name(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn Vendor(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Vendor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn Version(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SnapinCLSID(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SnapinCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -997,17 +997,17 @@ pub struct Extensions(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Extensions { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1100,28 +1100,28 @@ impl Frame { (::windows::core::Interface::vtable(self).Restore)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTop(&self, top: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTop)(::windows::core::Interface::as_raw(self), top).ok() } pub unsafe fn Bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBottom(&self, bottom: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBottom)(::windows::core::Interface::as_raw(self), bottom).ok() } pub unsafe fn Left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLeft(&self, left: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLeft)(::windows::core::Interface::as_raw(self), left).ok() } pub unsafe fn Right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRight(&self, right: i32) -> ::windows::core::Result<()> { @@ -1218,14 +1218,14 @@ impl IColumnData { (::windows::core::Interface::vtable(self).SetColumnConfigData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcolid), ::core::mem::transmute(pcolsetdata)).ok() } pub unsafe fn GetColumnConfigData(&self, pcolid: *const SColumnSetID) -> ::windows::core::Result<*mut MMC_COLUMN_SET_DATA> { - let mut result__ = ::core::mem::MaybeUninit::<*mut MMC_COLUMN_SET_DATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnConfigData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcolid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut MMC_COLUMN_SET_DATA>(result__) } pub unsafe fn SetColumnSortData(&self, pcolid: *const SColumnSetID, pcolsortdata: *const MMC_SORT_SET_DATA) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetColumnSortData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcolid), ::core::mem::transmute(pcolsortdata)).ok() } pub unsafe fn GetColumnSortData(&self, pcolid: *const SColumnSetID) -> ::windows::core::Result<*mut MMC_SORT_SET_DATA> { - let mut result__ = ::core::mem::MaybeUninit::<*mut MMC_SORT_SET_DATA>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnSortData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcolid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut MMC_SORT_SET_DATA>(result__) } } @@ -1299,7 +1299,7 @@ impl IComponent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDataObject(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDataObject)(::windows::core::Interface::as_raw(self), cookie, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResultViewType(&self, cookie: isize, ppviewtype: *mut ::windows::core::PWSTR, pviewoptions: *mut i32) -> ::windows::core::Result<()> { @@ -1405,7 +1405,7 @@ impl IComponent2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDataObject(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryDataObject)(::windows::core::Interface::as_raw(self), cookie, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResultViewType(&self, cookie: isize, ppviewtype: *mut ::windows::core::PWSTR, pviewoptions: *mut i32) -> ::windows::core::Result<()> { @@ -1428,7 +1428,7 @@ impl IComponent2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDispatch(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDispatch)(::windows::core::Interface::as_raw(self), cookie, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResultViewType2(&self, cookie: isize, presultviewtype: *mut RESULT_VIEW_TYPE_INFO) -> ::windows::core::Result<()> { @@ -1510,7 +1510,7 @@ impl IComponentData { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), punknown.into().abi()).ok() } pub unsafe fn CreateComponent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateComponent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1529,7 +1529,7 @@ impl IComponentData { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDataObject(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDataObject)(::windows::core::Interface::as_raw(self), cookie, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1617,7 +1617,7 @@ impl IComponentData2 { (::windows::core::Interface::vtable(self).base__.Initialize)(::windows::core::Interface::as_raw(self), punknown.into().abi()).ok() } pub unsafe fn CreateComponent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateComponent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1636,7 +1636,7 @@ impl IComponentData2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDataObject(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryDataObject)(::windows::core::Interface::as_raw(self), cookie, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1656,7 +1656,7 @@ impl IComponentData2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDispatch(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryDispatch)(::windows::core::Interface::as_raw(self), cookie, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1736,15 +1736,15 @@ impl IConsole { (::windows::core::Interface::vtable(self).SetToolbar)(::windows::core::Interface::as_raw(self), ptoolbar.into().abi()).ok() } pub unsafe fn QueryResultView(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryResultView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn QueryScopeImageList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryScopeImageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryResultImageList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryResultImageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1761,11 +1761,11 @@ impl IConsole { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MessageBox)(::windows::core::Interface::as_raw(self), lpsztext.into(), lpsztitle.into(), fustyle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryConsoleVerb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryConsoleVerb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectScopeItem(&self, hscopeitem: isize) -> ::windows::core::Result<()> { @@ -1774,7 +1774,7 @@ impl IConsole { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMainWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMainWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NewWindow(&self, hscopeitem: isize, loptions: u32) -> ::windows::core::Result<()> { @@ -1855,15 +1855,15 @@ impl IConsole2 { (::windows::core::Interface::vtable(self).base__.SetToolbar)(::windows::core::Interface::as_raw(self), ptoolbar.into().abi()).ok() } pub unsafe fn QueryResultView(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryResultView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn QueryScopeImageList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryScopeImageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryResultImageList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryResultImageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1880,11 +1880,11 @@ impl IConsole2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MessageBox)(::windows::core::Interface::as_raw(self), lpsztext.into(), lpsztitle.into(), fustyle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryConsoleVerb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryConsoleVerb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectScopeItem(&self, hscopeitem: isize) -> ::windows::core::Result<()> { @@ -1893,7 +1893,7 @@ impl IConsole2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMainWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMainWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NewWindow(&self, hscopeitem: isize, loptions: u32) -> ::windows::core::Result<()> { @@ -1995,15 +1995,15 @@ impl IConsole3 { (::windows::core::Interface::vtable(self).base__.base__.SetToolbar)(::windows::core::Interface::as_raw(self), ptoolbar.into().abi()).ok() } pub unsafe fn QueryResultView(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryResultView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn QueryScopeImageList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryScopeImageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryResultImageList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryResultImageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2020,11 +2020,11 @@ impl IConsole3 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MessageBox)(::windows::core::Interface::as_raw(self), lpsztext.into(), lpsztitle.into(), fustyle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryConsoleVerb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryConsoleVerb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectScopeItem(&self, hscopeitem: isize) -> ::windows::core::Result<()> { @@ -2033,7 +2033,7 @@ impl IConsole3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMainWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetMainWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NewWindow(&self, hscopeitem: isize, loptions: u32) -> ::windows::core::Result<()> { @@ -2377,7 +2377,7 @@ impl IConsolePowerSink { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnPowerBroadcast)(::windows::core::Interface::as_raw(self), nevent, lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2432,7 +2432,7 @@ impl IConsoleVerb { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetVerbState(&self, ecmdid: MMC_CONSOLE_VERB, nstate: MMC_BUTTON_STATE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVerbState)(::windows::core::Interface::as_raw(self), ecmdid, nstate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2447,7 +2447,7 @@ impl IConsoleVerb { (::windows::core::Interface::vtable(self).SetDefaultVerb)(::windows::core::Interface::as_raw(self), ecmdid).ok() } pub unsafe fn GetDefaultVerb(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultVerb)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2632,7 +2632,7 @@ impl IContextMenuProvider { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowContextMenu)(::windows::core::Interface::as_raw(self), hwndparent.into(), xpos, ypos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2712,7 +2712,7 @@ impl IControlbar { where P0: ::std::convert::Into<::windows::core::InParam<'a, IExtendControlbar>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), ntype, pextendcontrolbar.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Attach<'a, P0>(&self, ntype: MMC_CONTROL_TYPE, lpunknown: P0) -> ::windows::core::Result<()> @@ -2837,7 +2837,7 @@ impl IEnumTASK { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3198,35 +3198,35 @@ impl IExtendTaskPad { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDataObject>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumTasks)(::windows::core::Interface::as_raw(self), pdo.into().abi(), sztaskgroup.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTitle<'a, P0>(&self, pszgroup: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTitle)(::windows::core::Interface::as_raw(self), pszgroup.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDescriptiveText<'a, P0>(&self, pszgroup: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescriptiveText)(::windows::core::Interface::as_raw(self), pszgroup.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetBackground<'a, P0>(&self, pszgroup: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackground)(::windows::core::Interface::as_raw(self), pszgroup.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetListPadInfo<'a, P0>(&self, pszgroup: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListPadInfo)(::windows::core::Interface::as_raw(self), pszgroup.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3360,14 +3360,14 @@ impl IHeaderCtrl { (::windows::core::Interface::vtable(self).SetColumnText)(::windows::core::Interface::as_raw(self), ncol, title.into()).ok() } pub unsafe fn GetColumnText(&self, ncol: i32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnText)(::windows::core::Interface::as_raw(self), ncol, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetColumnWidth(&self, ncol: i32, nwidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetColumnWidth)(::windows::core::Interface::as_raw(self), ncol, nwidth).ok() } pub unsafe fn GetColumnWidth(&self, ncol: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnWidth)(::windows::core::Interface::as_raw(self), ncol, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3437,14 +3437,14 @@ impl IHeaderCtrl2 { (::windows::core::Interface::vtable(self).base__.SetColumnText)(::windows::core::Interface::as_raw(self), ncol, title.into()).ok() } pub unsafe fn GetColumnText(&self, ncol: i32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColumnText)(::windows::core::Interface::as_raw(self), ncol, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetColumnWidth(&self, ncol: i32, nwidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetColumnWidth)(::windows::core::Interface::as_raw(self), ncol, nwidth).ok() } pub unsafe fn GetColumnWidth(&self, ncol: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColumnWidth)(::windows::core::Interface::as_raw(self), ncol, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChangeTimeOut(&self, utimeout: u32) -> ::windows::core::Result<()> { @@ -3772,7 +3772,7 @@ impl INodeProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDataObject>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), pdataobject.into().abi(), szpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } } @@ -3991,11 +3991,11 @@ impl IRequiredExtensions { (::windows::core::Interface::vtable(self).EnableAllExtensions)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetFirstExtension(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFirstExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetNextExtension(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -4060,7 +4060,7 @@ impl IResultData { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindItemByLParam)(::windows::core::Interface::as_raw(self), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteAllRsltItems(&self) -> ::windows::core::Result<()> { @@ -4091,7 +4091,7 @@ impl IResultData { (::windows::core::Interface::vtable(self).SetViewMode)(::windows::core::Interface::as_raw(self), lviewmode).ok() } pub unsafe fn GetViewMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateItem(&self, itemid: isize) -> ::windows::core::Result<()> { @@ -4206,7 +4206,7 @@ impl IResultData2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindItemByLParam)(::windows::core::Interface::as_raw(self), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteAllRsltItems(&self) -> ::windows::core::Result<()> { @@ -4237,7 +4237,7 @@ impl IResultData2 { (::windows::core::Interface::vtable(self).base__.SetViewMode)(::windows::core::Interface::as_raw(self), lviewmode).ok() } pub unsafe fn GetViewMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateItem(&self, itemid: isize) -> ::windows::core::Result<()> { @@ -4384,7 +4384,7 @@ impl IResultDataCompareEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Compare(&self, prdc: *const RDCOMPARE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Compare)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prdc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4437,7 +4437,7 @@ pub struct IResultDataCompareEx_Vtbl { pub struct IResultOwnerData(::windows::core::IUnknown); impl IResultOwnerData { pub unsafe fn FindItem(&self, pfindinfo: *const RESULTFINDINFO) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfindinfo), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CacheHint(&self, nstartindex: i32, nendindex: i32) -> ::windows::core::Result<()> { @@ -4503,21 +4503,21 @@ pub struct IResultOwnerData_Vtbl { pub struct ISnapinAbout(::windows::core::IUnknown); impl ISnapinAbout { pub unsafe fn GetSnapinDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSnapinDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetProvider(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetSnapinVersion(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSnapinVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetSnapinImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSnapinImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -4582,7 +4582,7 @@ pub struct ISnapinAbout_Vtbl { pub struct ISnapinHelp(::windows::core::IUnknown); impl ISnapinHelp { pub unsafe fn GetHelpTopic(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelpTopic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4632,11 +4632,11 @@ pub struct ISnapinHelp_Vtbl { pub struct ISnapinHelp2(::windows::core::IUnknown); impl ISnapinHelp2 { pub unsafe fn GetHelpTopic(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHelpTopic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLinkedTopics(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLinkedTopics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4829,14 +4829,14 @@ impl IStringTable { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddString)(::windows::core::Interface::as_raw(self), pszadd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetString(&self, stringid: u32, lpbuffer: &mut [u16], pcchout: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), stringid, lpbuffer.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(lpbuffer)), ::core::mem::transmute(pcchout)).ok() } pub unsafe fn GetStringLength(&self, stringid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringLength)(::windows::core::Interface::as_raw(self), stringid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteString(&self, stringid: u32) -> ::windows::core::Result<()> { @@ -4849,13 +4849,13 @@ impl IStringTable { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindString)(::windows::core::Interface::as_raw(self), pszfind.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Enumerate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enumerate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4933,7 +4933,7 @@ impl IToolbar { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetButtonState(&self, idcommand: i32, nstate: MMC_BUTTON_STATE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetButtonState)(::windows::core::Interface::as_raw(self), idcommand, nstate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6265,19 +6265,19 @@ pub struct MenuItem(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl MenuItem { pub unsafe fn DisplayName(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn LanguageIndependentName(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LanguageIndependentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn Path(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn LanguageIndependentPath(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LanguageIndependentPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn Execute(&self) -> ::windows::core::Result<()> { @@ -6286,7 +6286,7 @@ impl MenuItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6373,7 +6373,7 @@ pub struct Node(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Node { pub unsafe fn Name(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6382,21 +6382,21 @@ impl Node { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), propertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn Bookmark(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Bookmark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsScopeNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsScopeNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Nodetype(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Nodetype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } } @@ -6485,17 +6485,17 @@ pub struct Nodes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Nodes { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6579,7 +6579,7 @@ pub struct Properties(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Properties { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6588,11 +6588,11 @@ impl Properties { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6690,7 +6690,7 @@ impl Property { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6702,7 +6702,7 @@ impl Property { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn Name(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } } @@ -7362,7 +7362,7 @@ impl ScopeNamespace { where P0: ::std::convert::Into<::windows::core::InParam<'a, Node>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParent)(::windows::core::Interface::as_raw(self), node.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7371,7 +7371,7 @@ impl ScopeNamespace { where P0: ::std::convert::Into<::windows::core::InParam<'a, Node>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChild)(::windows::core::Interface::as_raw(self), node.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7380,13 +7380,13 @@ impl ScopeNamespace { where P0: ::std::convert::Into<::windows::core::InParam<'a, Node>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNext)(::windows::core::Interface::as_raw(self), node.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7492,31 +7492,31 @@ pub struct SnapIn(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl SnapIn { pub unsafe fn Name(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn Vendor(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Vendor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn Version(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Extensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Extensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SnapinCLSID(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SnapinCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7618,17 +7618,17 @@ pub struct SnapIns(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl SnapIns { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7639,7 +7639,7 @@ impl SnapIns { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), snapinnameorclsid.into().abi(), parentsnapin.into().abi(), properties.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7741,7 +7741,7 @@ impl View { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActiveScopeNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActiveScopeNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7755,13 +7755,13 @@ impl View { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ListItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ListItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7770,13 +7770,13 @@ impl View { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SnapinScopeObject)(::windows::core::Interface::as_raw(self), scopenode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SnapinSelectionObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SnapinSelectionObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7785,13 +7785,13 @@ impl View { where P0: ::std::convert::Into<::windows::core::InParam<'a, View>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Is)(::windows::core::Interface::as_raw(self), view.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectAll(&self) -> ::windows::core::Result<()> { @@ -7819,7 +7819,7 @@ impl View { where P0: ::std::convert::Into<::windows::core::InParam<'a, Node>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSelected)(::windows::core::Interface::as_raw(self), node.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7878,13 +7878,13 @@ impl View { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ScopeNodeContextMenu)(::windows::core::Interface::as_raw(self), scopenode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectionContextMenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectionContextMenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7929,7 +7929,7 @@ impl View { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Frame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Frame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Close(&self) -> ::windows::core::Result<()> { @@ -7938,7 +7938,7 @@ impl View { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ScopeTreeVisible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScopeTreeVisible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7964,7 +7964,7 @@ impl View { (::windows::core::Interface::vtable(self).SetStatusBarText)(::windows::core::Interface::as_raw(self), statusbartext.into().abi()).ok() } pub unsafe fn Memento(&self) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Memento)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7978,7 +7978,7 @@ impl View { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Columns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Columns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7987,7 +7987,7 @@ impl View { where P0: ::std::convert::Into<::windows::core::InParam<'a, Node>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_CellContents)(::windows::core::Interface::as_raw(self), node.into().abi(), column, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7999,7 +7999,7 @@ impl View { (::windows::core::Interface::vtable(self).ExportList)(::windows::core::Interface::as_raw(self), file.into().abi(), exportoptions).ok() } pub unsafe fn ListViewMode(&self) -> ::windows::core::Result<_ListViewMode> { - let mut result__ = ::core::mem::MaybeUninit::<_ListViewMode>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ListViewMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<_ListViewMode>(result__) } pub unsafe fn SetListViewMode(&self, mode: _ListViewMode) -> ::windows::core::Result<()> { @@ -8008,7 +8008,7 @@ impl View { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ControlObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ControlObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8223,11 +8223,11 @@ impl Views { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8239,7 +8239,7 @@ impl Views { (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), node.into().abi(), viewoptions).ok() } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -8550,7 +8550,7 @@ impl _Application { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8564,13 +8564,13 @@ impl _Application { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Frame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Frame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Visible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Visible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Show(&self) -> ::windows::core::Result<()> { @@ -8582,7 +8582,7 @@ impl _Application { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8594,11 +8594,11 @@ impl _Application { (::windows::core::Interface::vtable(self).SetUserControl)(::windows::core::Interface::as_raw(self), usercontrol.into()).ok() } pub unsafe fn VersionMajor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VersionMajor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VersionMinor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VersionMinor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 f68c864985..ccfdd8fd22 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -162,7 +162,7 @@ pub unsafe fn BstrFromVector(psa: *const super::Com::SAFEARRAY) -> ::windows::co extern "system" { fn BstrFromVector(psa: *const super::Com::SAFEARRAY, pbstr: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); BstrFromVector(::core::mem::transmute(psa), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -484,7 +484,7 @@ pub unsafe fn CreateErrorInfo() -> ::windows::core::Result { extern "system" { fn CreateErrorInfo(pperrinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateErrorInfo(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -494,7 +494,7 @@ pub unsafe fn CreateOleAdviseHolder() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateOleAdviseHolder(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -522,7 +522,7 @@ where extern "system" { fn CreateTypeLib(syskind: super::Com::SYSKIND, szfile: ::windows::core::PCWSTR, ppctlib: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateTypeLib(syskind, szfile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -536,7 +536,7 @@ where extern "system" { fn CreateTypeLib2(syskind: super::Com::SYSKIND, szfile: ::windows::core::PCWSTR, ppctlib: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateTypeLib2(syskind, szfile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -947,7 +947,7 @@ pub unsafe fn DispCallFunc(pvinstance: *const ::core::ffi::c_void, ovft: usize, extern "system" { fn DispCallFunc(pvinstance: *const ::core::ffi::c_void, ovft: usize, cc: super::Com::CALLCONV, vtreturn: u16, cactuals: u32, prgvt: *const u16, prgpvarg: *const *const super::Com::VARIANT, pvargresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DispCallFunc(::core::mem::transmute(pvinstance), ovft, cc, vtreturn, ::core::mem::transmute(cactuals), ::core::mem::transmute(prgvt), ::core::mem::transmute(prgpvarg), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -1308,7 +1308,7 @@ pub unsafe fn GetAltMonthNames(lcid: u32) -> ::windows::core::Result<*mut ::wind extern "system" { fn GetAltMonthNames(lcid: u32, prgp: *mut *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetAltMonthNames(lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut ::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -1318,7 +1318,7 @@ pub unsafe fn GetRecordInfoFromGuids(rguidtypelib: *const ::windows::core::GUID, extern "system" { fn GetRecordInfoFromGuids(rguidtypelib: *const ::windows::core::GUID, uvermajor: u32, uverminor: u32, lcid: u32, rguidtypeinfo: *const ::windows::core::GUID, pprecinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetRecordInfoFromGuids(::core::mem::transmute(rguidtypelib), uvermajor, uverminor, lcid, ::core::mem::transmute(rguidtypeinfo), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -1332,7 +1332,7 @@ where extern "system" { fn GetRecordInfoFromTypeInfo(ptypeinfo: *mut ::core::ffi::c_void, pprecinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetRecordInfoFromTypeInfo(ptypeinfo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -1638,7 +1638,7 @@ impl IClassFactory2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RequestLicKey(&self, dwreserved: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestLicKey)(::windows::core::Interface::as_raw(self), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2373,7 +2373,7 @@ impl ICreateTypeLib { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTypeInfo)(::windows::core::Interface::as_raw(self), szname.into(), tkind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetName<'a, P0>(&self, szname: P0) -> ::windows::core::Result<()> @@ -2476,7 +2476,7 @@ impl ICreateTypeLib2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTypeInfo)(::windows::core::Interface::as_raw(self), szname.into(), tkind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetName<'a, P0>(&self, szname: P0) -> ::windows::core::Result<()> @@ -2881,21 +2881,21 @@ pub const ID_DEFAULTINST: i32 = -2i32; pub struct IDispError(::windows::core::IUnknown); impl IDispError { pub unsafe fn QueryErrorInfo(&self, guiderrortype: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryErrorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guiderrortype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHresult(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHresult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2906,7 +2906,7 @@ impl IDispError { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2977,7 +2977,7 @@ impl IDispatchEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDispID)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), grfdex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3000,21 +3000,21 @@ impl IDispatchEx { (::windows::core::Interface::vtable(self).DeleteMemberByDispID)(::windows::core::Interface::as_raw(self), id).ok() } pub unsafe fn GetMemberProperties(&self, id: i32, grfdexfetch: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMemberProperties)(::windows::core::Interface::as_raw(self), id, grfdexfetch, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMemberName(&self, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMemberName)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextDispID(&self, grfdex: u32, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextDispID)(::windows::core::Interface::as_raw(self), grfdex, id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNameSpaceParent(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNameSpaceParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -3322,7 +3322,7 @@ impl IEnterpriseDropTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEvaluatingEdpPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEvaluatingEdpPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3385,7 +3385,7 @@ impl IEnumOLEVERB { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3447,7 +3447,7 @@ impl IEnumOleDocumentViews { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3509,7 +3509,7 @@ impl IEnumOleUndoUnits { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3573,7 +3573,7 @@ impl IEnumVARIANT { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3631,7 +3631,7 @@ impl IFont { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3645,7 +3645,7 @@ impl IFont { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3656,7 +3656,7 @@ impl IFont { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Bold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Bold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3670,7 +3670,7 @@ impl IFont { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Italic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Italic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3684,7 +3684,7 @@ impl IFont { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Underline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Underline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3698,7 +3698,7 @@ impl IFont { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Strikethrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Strikethrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3710,14 +3710,14 @@ impl IFont { (::windows::core::Interface::vtable(self).SetStrikethrough)(::windows::core::Interface::as_raw(self), strikethrough.into()).ok() } pub unsafe fn Weight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Weight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWeight(&self, weight: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWeight)(::windows::core::Interface::as_raw(self), weight).ok() } pub unsafe fn Charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCharset(&self, charset: i16) -> ::windows::core::Result<()> { @@ -3726,11 +3726,11 @@ impl IFont { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn hFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsEqual<'a, P0>(&self, pfontother: P0) -> ::windows::core::Result<()> @@ -3745,7 +3745,7 @@ impl IFont { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn QueryTextMetrics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryTextMetrics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -4362,7 +4362,7 @@ impl IOleAdviseHolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IAdviseSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), padvise.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwconnection: u32) -> ::windows::core::Result<()> { @@ -4371,7 +4371,7 @@ impl IOleAdviseHolder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumAdvise(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumAdvise)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4451,7 +4451,7 @@ impl IOleCache { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cache(&self, pformatetc: *const super::Com::FORMATETC, advf: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformatetc), advf, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Uncache(&self, dwconnection: u32) -> ::windows::core::Result<()> { @@ -4460,7 +4460,7 @@ impl IOleCache { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCache(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4544,7 +4544,7 @@ impl IOleCache2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cache(&self, pformatetc: *const super::Com::FORMATETC, advf: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Cache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pformatetc), advf, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Uncache(&self, dwconnection: u32) -> ::windows::core::Result<()> { @@ -4553,7 +4553,7 @@ impl IOleCache2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCache(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4715,11 +4715,11 @@ impl IOleClientSite { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMoniker(&self, dwassign: u32, dwwhichmoniker: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMoniker)(::windows::core::Interface::as_raw(self), dwassign, dwwhichmoniker, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowObject(&self) -> ::windows::core::Result<()> { @@ -4863,7 +4863,7 @@ impl IOleContainer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumObjects(&self, grfflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumObjects)(::windows::core::Interface::as_raw(self), grfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5035,7 +5035,7 @@ impl IOleControlSite { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExtendedControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtendedControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5133,11 +5133,11 @@ impl IOleDocument { P0: ::std::convert::Into<::windows::core::InParam<'a, IOleInPlaceSite>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateView)(::windows::core::Interface::as_raw(self), pipsite.into().abi(), pstm.into().abi(), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocMiscStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocMiscStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumViews(&self, ppenum: *mut ::core::option::Option, ppview: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -5253,11 +5253,11 @@ impl IOleDocumentView { (::windows::core::Interface::vtable(self).SetInPlaceSite)(::windows::core::Interface::as_raw(self), pipsite.into().abi()).ok() } pub unsafe fn GetInPlaceSite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInPlaceSite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocument(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5268,7 +5268,7 @@ impl IOleDocumentView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5318,7 +5318,7 @@ impl IOleDocumentView { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOleInPlaceSite>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), pipsitenew.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5403,7 +5403,7 @@ impl IOleInPlaceActiveObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5535,7 +5535,7 @@ impl IOleInPlaceFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5549,7 +5549,7 @@ impl IOleInPlaceFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5712,7 +5712,7 @@ impl IOleInPlaceObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5807,7 +5807,7 @@ impl IOleInPlaceObjectWindowless { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5839,11 +5839,11 @@ impl IOleInPlaceObjectWindowless { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnWindowMessage)(::windows::core::Interface::as_raw(self), msg, wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDropTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDropTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5929,7 +5929,7 @@ impl IOleInPlaceSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6066,7 +6066,7 @@ impl IOleInPlaceSiteEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6221,7 +6221,7 @@ impl IOleInPlaceSiteWindowless { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6317,7 +6317,7 @@ impl IOleInPlaceSiteWindowless { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDC(&self, prect: *const super::super::Foundation::RECT, grfflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(prect), grfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -6362,7 +6362,7 @@ impl IOleInPlaceSiteWindowless { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnDefWindowMessage)(::windows::core::Interface::as_raw(self), msg, wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6497,7 +6497,7 @@ impl IOleInPlaceUIWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6511,7 +6511,7 @@ impl IOleInPlaceUIWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6616,7 +6616,7 @@ impl IOleItemContainer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumObjects(&self, grfflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumObjects)(::windows::core::Interface::as_raw(self), grfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6743,7 +6743,7 @@ impl IOleLink { (::windows::core::Interface::vtable(self).SetUpdateOptions)(::windows::core::Interface::as_raw(self), dwupdateopt).ok() } pub unsafe fn GetUpdateOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpdateOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6757,7 +6757,7 @@ impl IOleLink { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSourceMoniker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceMoniker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSourceDisplayName<'a, P0>(&self, pszstatustext: P0) -> ::windows::core::Result<()> @@ -6767,7 +6767,7 @@ impl IOleLink { (::windows::core::Interface::vtable(self).SetSourceDisplayName)(::windows::core::Interface::as_raw(self), pszstatustext.into()).ok() } pub unsafe fn GetSourceDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6782,7 +6782,7 @@ impl IOleLink { (::windows::core::Interface::vtable(self).BindIfRunning)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetBoundSource(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoundSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn UnbindSource(&self) -> ::windows::core::Result<()> { @@ -6871,7 +6871,7 @@ impl IOleObject { (::windows::core::Interface::vtable(self).SetClientSite)(::windows::core::Interface::as_raw(self), pclientsite.into().abi()).ok() } pub unsafe fn GetClientSite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientSite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHostNames<'a, P0, P1>(&self, szcontainerapp: P0, szcontainerobj: P1) -> ::windows::core::Result<()> @@ -6895,7 +6895,7 @@ impl IOleObject { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMoniker(&self, dwassign: u32, dwwhichmoniker: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMoniker)(::windows::core::Interface::as_raw(self), dwassign, dwwhichmoniker, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6910,7 +6910,7 @@ impl IOleObject { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClipboardData(&self, dwreserved: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClipboardData)(::windows::core::Interface::as_raw(self), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -6923,7 +6923,7 @@ impl IOleObject { (::windows::core::Interface::vtable(self).DoVerb)(::windows::core::Interface::as_raw(self), iverb, ::core::mem::transmute(lpmsg), pactivesite.into().abi(), lindex, hwndparent.into(), ::core::mem::transmute(lprcposrect)).ok() } pub unsafe fn EnumVerbs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumVerbs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Update(&self) -> ::windows::core::Result<()> { @@ -6933,11 +6933,11 @@ impl IOleObject { (::windows::core::Interface::vtable(self).IsUpToDate)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetUserClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetUserType(&self, dwformoftype: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserType)(::windows::core::Interface::as_raw(self), dwformoftype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6948,7 +6948,7 @@ impl IOleObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetExtent(&self, dwdrawaspect: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtent)(::windows::core::Interface::as_raw(self), dwdrawaspect, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6957,7 +6957,7 @@ impl IOleObject { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IAdviseSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), padvsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwconnection: u32) -> ::windows::core::Result<()> { @@ -6966,11 +6966,11 @@ impl IOleObject { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumAdvise(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumAdvise)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMiscStatus(&self, dwaspect: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMiscStatus)(::windows::core::Interface::as_raw(self), dwaspect, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -7083,7 +7083,7 @@ impl IOleParentUndoUnit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUnitType(&self, pclsid: *mut ::windows::core::GUID, plid: *mut i32) -> ::windows::core::Result<()> { @@ -7120,7 +7120,7 @@ impl IOleParentUndoUnit { (::windows::core::Interface::vtable(self).FindUnit)(::windows::core::Interface::as_raw(self), puu.into().abi()).ok() } pub unsafe fn GetParentState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7198,7 +7198,7 @@ impl IOleUILinkContainerA { (::windows::core::Interface::vtable(self).SetLinkUpdateOptions)(::windows::core::Interface::as_raw(self), dwlink, dwupdateopt).ok() } pub unsafe fn GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLinkUpdateOptions)(::windows::core::Interface::as_raw(self), dwlink, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7299,7 +7299,7 @@ impl IOleUILinkContainerW { (::windows::core::Interface::vtable(self).SetLinkUpdateOptions)(::windows::core::Interface::as_raw(self), dwlink, dwupdateopt).ok() } pub unsafe fn GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLinkUpdateOptions)(::windows::core::Interface::as_raw(self), dwlink, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7400,7 +7400,7 @@ impl IOleUILinkInfoA { (::windows::core::Interface::vtable(self).base__.SetLinkUpdateOptions)(::windows::core::Interface::as_raw(self), dwlink, dwupdateopt).ok() } pub unsafe fn GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLinkUpdateOptions)(::windows::core::Interface::as_raw(self), dwlink, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7435,7 +7435,7 @@ impl IOleUILinkInfoA { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastUpdate(&self, dwlink: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastUpdate)(::windows::core::Interface::as_raw(self), dwlink, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7509,7 +7509,7 @@ impl IOleUILinkInfoW { (::windows::core::Interface::vtable(self).base__.SetLinkUpdateOptions)(::windows::core::Interface::as_raw(self), dwlink, dwupdateopt).ok() } pub unsafe fn GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLinkUpdateOptions)(::windows::core::Interface::as_raw(self), dwlink, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7544,7 +7544,7 @@ impl IOleUILinkInfoW { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastUpdate(&self, dwlink: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastUpdate)(::windows::core::Interface::as_raw(self), dwlink, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7779,7 +7779,7 @@ impl IOleUndoManager { (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), puu.into().abi()).ok() } pub unsafe fn GetOpenParentState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOpenParentState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DiscardFrom<'a, P0>(&self, puu: P0) -> ::windows::core::Result<()> @@ -7801,23 +7801,23 @@ impl IOleUndoManager { (::windows::core::Interface::vtable(self).RedoTo)(::windows::core::Interface::as_raw(self), puu.into().abi()).ok() } pub unsafe fn EnumUndoable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumUndoable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumRedoable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRedoable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastUndoDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastUndoDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastRedoDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastRedoDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7906,7 +7906,7 @@ impl IOleUndoUnit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUnitType(&self, pclsid: *mut ::windows::core::GUID, plid: *mut i32) -> ::windows::core::Result<()> { @@ -7970,7 +7970,7 @@ impl IOleWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8095,11 +8095,11 @@ impl IPerPropertyBrowsing { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayString(&self, dispid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayString)(::windows::core::Interface::as_raw(self), dispid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MapPropertyToPage(&self, dispid: i32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapPropertyToPage)(::windows::core::Interface::as_raw(self), dispid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetPredefinedStrings(&self, dispid: i32, pcastringsout: *mut CALPOLESTR, pcacookiesout: *mut CADWORD) -> ::windows::core::Result<()> { @@ -8108,7 +8108,7 @@ impl IPerPropertyBrowsing { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetPredefinedValue(&self, dispid: i32, dwcookie: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPredefinedValue)(::windows::core::Interface::as_raw(self), dispid, dwcookie, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8171,7 +8171,7 @@ impl IPersistPropertyBag { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn InitNew(&self) -> ::windows::core::Result<()> { @@ -8282,7 +8282,7 @@ impl IPersistPropertyBag2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn InitNew(&self) -> ::windows::core::Result<()> { @@ -8393,23 +8393,23 @@ pub struct IPersistPropertyBag2_Vtbl { pub struct IPicture(::windows::core::IUnknown); impl IPicture { pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hPal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hPal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -8426,7 +8426,7 @@ impl IPicture { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn CurDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -8440,7 +8440,7 @@ impl IPicture { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeepOriginalFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeepOriginalFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8461,11 +8461,11 @@ impl IPicture { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IStream>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveAsFile)(::windows::core::Interface::as_raw(self), pstream.into().abi(), fsavememcopy.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8546,23 +8546,23 @@ pub struct IPicture_Vtbl { pub struct IPicture2(::windows::core::IUnknown); impl IPicture2 { pub unsafe fn Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hPal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hPal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -8579,7 +8579,7 @@ impl IPicture2 { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn CurDC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurDC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -8593,7 +8593,7 @@ impl IPicture2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeepOriginalFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeepOriginalFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8614,11 +8614,11 @@ impl IPicture2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IStream>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveAsFile)(::windows::core::Interface::as_raw(self), pstream.into().abi(), fsavememcopy.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8772,7 +8772,7 @@ pub struct IPictureDisp_Vtbl { pub struct IPointerInactive(::windows::core::IUnknown); impl IPointerInactive { pub unsafe fn GetActivationPolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivationPolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8981,7 +8981,7 @@ impl IPropertyPage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPageInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetObjects(&self, ppunk: &[::core::option::Option<::windows::core::IUnknown>]) -> ::windows::core::Result<()> { @@ -9101,7 +9101,7 @@ impl IPropertyPage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPageInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPageInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetObjects(&self, ppunk: &[::core::option::Option<::windows::core::IUnknown>]) -> ::windows::core::Result<()> { @@ -9200,11 +9200,11 @@ impl IPropertyPageSite { (::windows::core::Interface::vtable(self).OnStatusChange)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetLocaleID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocaleID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageContainer(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -9267,7 +9267,7 @@ impl IProtectFocus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AllowFocusChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowFocusChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9322,7 +9322,7 @@ impl IProtectedModeMenuServices { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn CreateMenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -9332,7 +9332,7 @@ impl IProtectedModeMenuServices { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadMenu)(::windows::core::Interface::as_raw(self), pszmodulename.into(), pszmenuname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -9341,7 +9341,7 @@ impl IProtectedModeMenuServices { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadMenuID)(::windows::core::Interface::as_raw(self), pszmodulename.into(), wresourceid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9404,7 +9404,7 @@ impl IProvideClassInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClassInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9459,11 +9459,11 @@ impl IProvideClassInfo2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, dwguidkind: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGUID)(::windows::core::Interface::as_raw(self), dwguidkind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -9530,15 +9530,15 @@ impl IProvideMultipleClassInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, dwguidkind: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), dwguidkind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetMultiTypeInfoCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMultiTypeInfoCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9688,7 +9688,7 @@ impl IQuickActivate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetContentExtent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContentExtent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9758,23 +9758,23 @@ impl IRecordInfo { (::windows::core::Interface::vtable(self).RecordCopy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvexisting), ::core::mem::transmute(pvnew)).ok() } pub unsafe fn GetGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTypeInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9783,7 +9783,7 @@ impl IRecordInfo { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetField)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvdata), szfieldname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9991,7 +9991,7 @@ pub struct ISimpleFrameSite_Vtbl { pub struct ISpecifyPropertyPages(::windows::core::IUnknown); impl ISpecifyPropertyPages { pub unsafe fn GetPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10047,7 +10047,7 @@ impl ITypeChangeEvents { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::ITypeInfo>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestTypeChange)(::windows::core::Interface::as_raw(self), changekind, ptinfobefore.into().abi(), pstrname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10118,7 +10118,7 @@ impl ITypeFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::ITypeInfo>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFromTypeInfo)(::windows::core::Interface::as_raw(self), ptypeinfo.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -10171,7 +10171,7 @@ pub struct ITypeFactory_Vtbl { pub struct ITypeMarshal(::windows::core::IUnknown); impl ITypeMarshal { pub unsafe fn Size(&self, pvtype: *const ::core::ffi::c_void, dwdestcontext: u32, pvdestcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvtype), dwdestcontext, ::core::mem::transmute(pvdestcontext), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Marshal(&self, pvtype: *const ::core::ffi::c_void, dwdestcontext: u32, pvdestcontext: *const ::core::ffi::c_void, cbbufferlength: u32, pbuffer: *mut u8, pcbwritten: *mut u32) -> ::windows::core::Result<()> { @@ -10292,7 +10292,7 @@ impl IVBGetControl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumControls(&self, dwolecontf: OLECONTF, dwwhich: ENUM_CONTROLS_WHICH_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumControls)(::windows::core::Interface::as_raw(self), dwolecontf, dwwhich, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10536,7 +10536,7 @@ impl IViewObject2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetExtent(&self, dwdrawaspect: u32, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExtent)(::windows::core::Interface::as_raw(self), dwdrawaspect, lindex, ::core::mem::transmute(ptd), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10642,29 +10642,29 @@ impl IViewObjectEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn GetExtent(&self, dwdrawaspect: u32, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExtent)(::windows::core::Interface::as_raw(self), dwdrawaspect, lindex, ::core::mem::transmute(ptd), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRect(&self, dwaspect: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRect)(::windows::core::Interface::as_raw(self), dwaspect, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetViewStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryHitPoint(&self, dwaspect: u32, prectbounds: *const super::super::Foundation::RECT, ptlloc: super::super::Foundation::POINT, lclosehint: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHitPoint)(::windows::core::Interface::as_raw(self), dwaspect, ::core::mem::transmute(prectbounds), ::core::mem::transmute(ptlloc), lclosehint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryHitRect(&self, dwaspect: u32, prectbounds: *const super::super::Foundation::RECT, prectloc: *const super::super::Foundation::RECT, lclosehint: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHitRect)(::windows::core::Interface::as_raw(self), dwaspect, ::core::mem::transmute(prectbounds), ::core::mem::transmute(prectloc), lclosehint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] @@ -10673,7 +10673,7 @@ impl IViewObjectEx { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNaturalExtent)(::windows::core::Interface::as_raw(self), dwaspect, lindex, ::core::mem::transmute(ptd), hictargetdev.into(), ::core::mem::transmute(pextentinfo), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10948,7 +10948,7 @@ pub unsafe fn LoadRegTypeLib(rguid: *const ::windows::core::GUID, wvermajor: u16 extern "system" { fn LoadRegTypeLib(rguid: *const ::windows::core::GUID, wvermajor: u16, wverminor: u16, lcid: u32, pptlib: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); LoadRegTypeLib(::core::mem::transmute(rguid), wvermajor, wverminor, lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -10962,7 +10962,7 @@ where extern "system" { fn LoadTypeLib(szfile: ::windows::core::PCWSTR, pptlib: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); LoadTypeLib(szfile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -10976,7 +10976,7 @@ where extern "system" { fn LoadTypeLibEx(szfile: ::windows::core::PCWSTR, regkind: REGKIND, pptlib: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); LoadTypeLibEx(szfile.into(), regkind, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -14624,7 +14624,7 @@ pub unsafe fn OleGetClipboard() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OleGetClipboard(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -14780,7 +14780,7 @@ where extern "system" { fn OleLoadPictureFile(varfilename: ::core::mem::ManuallyDrop, lplpdisppicture: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OleLoadPictureFile(varfilename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -14794,7 +14794,7 @@ where extern "system" { fn OleLoadPictureFileEx(varfilename: ::core::mem::ManuallyDrop, xsizedesired: u32, ysizedesired: u32, dwflags: u32, lplpdisppicture: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OleLoadPictureFileEx(varfilename.into().abi(), xsizedesired, ysizedesired, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -14918,7 +14918,7 @@ pub unsafe fn OleRegEnumFormatEtc(clsid: *const ::windows::core::GUID, dwdirecti extern "system" { fn OleRegEnumFormatEtc(clsid: *const ::windows::core::GUID, dwdirection: u32, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OleRegEnumFormatEtc(::core::mem::transmute(clsid), dwdirection, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -14928,7 +14928,7 @@ pub unsafe fn OleRegEnumVerbs(clsid: *const ::windows::core::GUID) -> ::windows: extern "system" { fn OleRegEnumVerbs(clsid: *const ::windows::core::GUID, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OleRegEnumVerbs(::core::mem::transmute(clsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -14947,7 +14947,7 @@ pub unsafe fn OleRegGetUserType(clsid: *const ::windows::core::GUID, dwformoftyp extern "system" { fn OleRegGetUserType(clsid: *const ::windows::core::GUID, dwformoftype: u32, pszusertype: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); OleRegGetUserType(::core::mem::transmute(clsid), dwformoftype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -16267,7 +16267,7 @@ pub unsafe fn QueryPathOfRegTypeLib(guid: *const ::windows::core::GUID, wmaj: u1 extern "system" { fn QueryPathOfRegTypeLib(guid: *const ::windows::core::GUID, wmaj: u16, wmin: u16, lcid: u32, lpbstrpathname: *mut *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); QueryPathOfRegTypeLib(::core::mem::transmute(guid), wmaj, wmin, lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -16552,7 +16552,7 @@ pub unsafe fn SafeArrayAllocDescriptor(cdims: u32) -> ::windows::core::Result<*m extern "system" { fn SafeArrayAllocDescriptor(cdims: u32, ppsaout: *mut *mut super::Com::SAFEARRAY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SafeArrayAllocDescriptor(cdims, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -16563,7 +16563,7 @@ pub unsafe fn SafeArrayAllocDescriptorEx(vt: u16, cdims: u32) -> ::windows::core extern "system" { fn SafeArrayAllocDescriptorEx(vt: u16, cdims: u32, ppsaout: *mut *mut super::Com::SAFEARRAY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SafeArrayAllocDescriptorEx(vt, cdims, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -16574,7 +16574,7 @@ pub unsafe fn SafeArrayCopy(psa: *const super::Com::SAFEARRAY) -> ::windows::cor extern "system" { fn SafeArrayCopy(psa: *const super::Com::SAFEARRAY, ppsaout: *mut *mut super::Com::SAFEARRAY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SafeArrayCopy(::core::mem::transmute(psa), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -16695,7 +16695,7 @@ pub unsafe fn SafeArrayGetIID(psa: *const super::Com::SAFEARRAY) -> ::windows::c extern "system" { fn SafeArrayGetIID(psa: *const super::Com::SAFEARRAY, pguid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SafeArrayGetIID(::core::mem::transmute(psa), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -16706,7 +16706,7 @@ pub unsafe fn SafeArrayGetLBound(psa: *const super::Com::SAFEARRAY, ndim: u32) - extern "system" { fn SafeArrayGetLBound(psa: *const super::Com::SAFEARRAY, ndim: u32, pllbound: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SafeArrayGetLBound(::core::mem::transmute(psa), ndim, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -16717,7 +16717,7 @@ pub unsafe fn SafeArrayGetRecordInfo(psa: *const super::Com::SAFEARRAY) -> ::win extern "system" { fn SafeArrayGetRecordInfo(psa: *const super::Com::SAFEARRAY, prinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SafeArrayGetRecordInfo(::core::mem::transmute(psa), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -16728,7 +16728,7 @@ pub unsafe fn SafeArrayGetUBound(psa: *const super::Com::SAFEARRAY, ndim: u32) - extern "system" { fn SafeArrayGetUBound(psa: *const super::Com::SAFEARRAY, ndim: u32, plubound: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SafeArrayGetUBound(::core::mem::transmute(psa), ndim, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -16739,7 +16739,7 @@ pub unsafe fn SafeArrayGetVartype(psa: *const super::Com::SAFEARRAY) -> ::window extern "system" { fn SafeArrayGetVartype(psa: *const super::Com::SAFEARRAY, pvt: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SafeArrayGetVartype(::core::mem::transmute(psa), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17358,7 +17358,7 @@ pub unsafe fn VarAbs(pvarin: *const super::Com::VARIANT) -> ::windows::core::Res extern "system" { fn VarAbs(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarAbs(::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -17369,7 +17369,7 @@ pub unsafe fn VarAdd(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarAdd(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarAdd(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -17380,7 +17380,7 @@ pub unsafe fn VarAnd(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarAnd(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarAnd(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17391,7 +17391,7 @@ pub unsafe fn VarBoolFromCy(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromCy(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17401,7 +17401,7 @@ pub unsafe fn VarBoolFromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarBoolFromDate(datein: f64, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17412,7 +17412,7 @@ pub unsafe fn VarBoolFromDec(pdecin: *const super::super::Foundation::DECIMAL) - extern "system" { fn VarBoolFromDec(pdecin: *const super::super::Foundation::DECIMAL, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17426,7 +17426,7 @@ where extern "system" { fn VarBoolFromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17440,7 +17440,7 @@ where extern "system" { fn VarBoolFromI1(cin: super::super::Foundation::CHAR, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17450,7 +17450,7 @@ pub unsafe fn VarBoolFromI2(sin: i16) -> ::windows::core::Result { extern "system" { fn VarBoolFromI2(sin: i16, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromI2(sin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17460,7 +17460,7 @@ pub unsafe fn VarBoolFromI4(lin: i32) -> ::windows::core::Result { extern "system" { fn VarBoolFromI4(lin: i32, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17470,7 +17470,7 @@ pub unsafe fn VarBoolFromI8(i64in: i64) -> ::windows::core::Result { extern "system" { fn VarBoolFromI8(i64in: i64, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17480,7 +17480,7 @@ pub unsafe fn VarBoolFromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarBoolFromR4(fltin: f32, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17490,7 +17490,7 @@ pub unsafe fn VarBoolFromR8(dblin: f64) -> ::windows::core::Result { extern "system" { fn VarBoolFromR8(dblin: f64, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17503,7 +17503,7 @@ where extern "system" { fn VarBoolFromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17513,7 +17513,7 @@ pub unsafe fn VarBoolFromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarBoolFromUI1(bin: u8, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17523,7 +17523,7 @@ pub unsafe fn VarBoolFromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarBoolFromUI2(uiin: u16, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17533,7 +17533,7 @@ pub unsafe fn VarBoolFromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarBoolFromUI4(ulin: u32, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17543,7 +17543,7 @@ pub unsafe fn VarBoolFromUI8(i64in: u64) -> ::windows::core::Result { extern "system" { fn VarBoolFromUI8(i64in: u64, pboolout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBoolFromUI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17558,7 +17558,7 @@ where extern "system" { fn VarBstrCat(bstrleft: ::core::mem::ManuallyDrop, bstrright: ::core::mem::ManuallyDrop, pbstrresult: *mut *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrCat(bstrleft.into().abi(), bstrright.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17583,7 +17583,7 @@ pub unsafe fn VarBstrFromBool(boolin: i16, lcid: u32, dwflags: u32) -> ::windows extern "system" { fn VarBstrFromBool(boolin: i16, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromBool(boolin, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -17594,7 +17594,7 @@ pub unsafe fn VarBstrFromCy(cyin: super::Com::CY, lcid: u32, dwflags: u32) -> :: extern "system" { fn VarBstrFromCy(cyin: super::Com::CY, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromCy(::core::mem::transmute(cyin), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17605,7 +17605,7 @@ pub unsafe fn VarBstrFromDate(datein: f64, lcid: u32, dwflags: u32) -> ::windows extern "system" { fn VarBstrFromDate(datein: f64, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromDate(datein, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17616,7 +17616,7 @@ pub unsafe fn VarBstrFromDec(pdecin: *const super::super::Foundation::DECIMAL, l extern "system" { fn VarBstrFromDec(pdecin: *const super::super::Foundation::DECIMAL, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromDec(::core::mem::transmute(pdecin), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -17630,7 +17630,7 @@ where extern "system" { fn VarBstrFromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromDisp(pdispin.into().abi(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17644,7 +17644,7 @@ where extern "system" { fn VarBstrFromI1(cin: super::super::Foundation::CHAR, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromI1(cin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17655,7 +17655,7 @@ pub unsafe fn VarBstrFromI2(ival: i16, lcid: u32, dwflags: u32) -> ::windows::co extern "system" { fn VarBstrFromI2(ival: i16, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromI2(ival, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17666,7 +17666,7 @@ pub unsafe fn VarBstrFromI4(lin: i32, lcid: u32, dwflags: u32) -> ::windows::cor extern "system" { fn VarBstrFromI4(lin: i32, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromI4(lin, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17677,7 +17677,7 @@ pub unsafe fn VarBstrFromI8(i64in: i64, lcid: u32, dwflags: u32) -> ::windows::c extern "system" { fn VarBstrFromI8(i64in: i64, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromI8(i64in, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17688,7 +17688,7 @@ pub unsafe fn VarBstrFromR4(fltin: f32, lcid: u32, dwflags: u32) -> ::windows::c extern "system" { fn VarBstrFromR4(fltin: f32, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromR4(fltin, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17699,7 +17699,7 @@ pub unsafe fn VarBstrFromR8(dblin: f64, lcid: u32, dwflags: u32) -> ::windows::c extern "system" { fn VarBstrFromR8(dblin: f64, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromR8(dblin, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17710,7 +17710,7 @@ pub unsafe fn VarBstrFromUI1(bval: u8, lcid: u32, dwflags: u32) -> ::windows::co extern "system" { fn VarBstrFromUI1(bval: u8, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromUI1(bval, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17721,7 +17721,7 @@ pub unsafe fn VarBstrFromUI2(uiin: u16, lcid: u32, dwflags: u32) -> ::windows::c extern "system" { fn VarBstrFromUI2(uiin: u16, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromUI2(uiin, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17732,7 +17732,7 @@ pub unsafe fn VarBstrFromUI4(ulin: u32, lcid: u32, dwflags: u32) -> ::windows::c extern "system" { fn VarBstrFromUI4(ulin: u32, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromUI4(ulin, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -17743,7 +17743,7 @@ pub unsafe fn VarBstrFromUI8(ui64in: u64, lcid: u32, dwflags: u32) -> ::windows: extern "system" { fn VarBstrFromUI8(ui64in: u64, lcid: u32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarBstrFromUI8(ui64in, lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -17754,7 +17754,7 @@ pub unsafe fn VarCat(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarCat(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCat(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -17775,7 +17775,7 @@ pub unsafe fn VarCyAbs(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyAbs(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17786,7 +17786,7 @@ pub unsafe fn VarCyAdd(cyleft: super::Com::CY, cyright: super::Com::CY) -> ::win extern "system" { fn VarCyAdd(cyleft: super::Com::CY, cyright: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyAdd(::core::mem::transmute(cyleft), ::core::mem::transmute(cyright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17817,7 +17817,7 @@ pub unsafe fn VarCyFix(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFix(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17828,7 +17828,7 @@ pub unsafe fn VarCyFromBool(boolin: i16) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17839,7 +17839,7 @@ pub unsafe fn VarCyFromDate(datein: f64) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -17850,7 +17850,7 @@ pub unsafe fn VarCyFromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarCyFromDec(pdecin: *const super::super::Foundation::DECIMAL, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17864,7 +17864,7 @@ where extern "system" { fn VarCyFromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -17878,7 +17878,7 @@ where extern "system" { fn VarCyFromI1(cin: super::super::Foundation::CHAR, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17889,7 +17889,7 @@ pub unsafe fn VarCyFromI2(sin: i16) -> ::windows::core::Result { extern "system" { fn VarCyFromI2(sin: i16, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromI2(sin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17900,7 +17900,7 @@ pub unsafe fn VarCyFromI4(lin: i32) -> ::windows::core::Result { extern "system" { fn VarCyFromI4(lin: i32, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17911,7 +17911,7 @@ pub unsafe fn VarCyFromI8(i64in: i64) -> ::windows::core::Result extern "system" { fn VarCyFromI8(i64in: i64, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17922,7 +17922,7 @@ pub unsafe fn VarCyFromR4(fltin: f32) -> ::windows::core::Result extern "system" { fn VarCyFromR4(fltin: f32, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17933,7 +17933,7 @@ pub unsafe fn VarCyFromR8(dblin: f64) -> ::windows::core::Result extern "system" { fn VarCyFromR8(dblin: f64, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17947,7 +17947,7 @@ where extern "system" { fn VarCyFromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17958,7 +17958,7 @@ pub unsafe fn VarCyFromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarCyFromUI1(bin: u8, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17969,7 +17969,7 @@ pub unsafe fn VarCyFromUI2(uiin: u16) -> ::windows::core::Result extern "system" { fn VarCyFromUI2(uiin: u16, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17980,7 +17980,7 @@ pub unsafe fn VarCyFromUI4(ulin: u32) -> ::windows::core::Result extern "system" { fn VarCyFromUI4(ulin: u32, pcyout: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -17991,7 +17991,7 @@ pub unsafe fn VarCyFromUI8(ui64in: u64) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyFromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18002,7 +18002,7 @@ pub unsafe fn VarCyInt(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyInt(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18013,7 +18013,7 @@ pub unsafe fn VarCyMul(cyleft: super::Com::CY, cyright: super::Com::CY) -> ::win extern "system" { fn VarCyMul(cyleft: super::Com::CY, cyright: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyMul(::core::mem::transmute(cyleft), ::core::mem::transmute(cyright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18024,7 +18024,7 @@ pub unsafe fn VarCyMulI4(cyleft: super::Com::CY, lright: i32) -> ::windows::core extern "system" { fn VarCyMulI4(cyleft: super::Com::CY, lright: i32, pcyresult: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyMulI4(::core::mem::transmute(cyleft), lright, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18035,7 +18035,7 @@ pub unsafe fn VarCyMulI8(cyleft: super::Com::CY, lright: i64) -> ::windows::core extern "system" { fn VarCyMulI8(cyleft: super::Com::CY, lright: i64, pcyresult: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyMulI8(::core::mem::transmute(cyleft), lright, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18046,7 +18046,7 @@ pub unsafe fn VarCyNeg(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyNeg(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18057,7 +18057,7 @@ pub unsafe fn VarCyRound(cyin: super::Com::CY, cdecimals: i32) -> ::windows::cor extern "system" { fn VarCyRound(cyin: super::Com::CY, cdecimals: i32, pcyresult: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCyRound(::core::mem::transmute(cyin), cdecimals, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18068,7 +18068,7 @@ pub unsafe fn VarCySub(cyleft: super::Com::CY, cyright: super::Com::CY) -> ::win extern "system" { fn VarCySub(cyleft: super::Com::CY, cyright: super::Com::CY, pcyresult: *mut super::Com::CY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarCySub(::core::mem::transmute(cyleft), ::core::mem::transmute(cyright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18078,7 +18078,7 @@ pub unsafe fn VarDateFromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarDateFromBool(boolin: i16, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18089,7 +18089,7 @@ pub unsafe fn VarDateFromCy(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromCy(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18100,7 +18100,7 @@ pub unsafe fn VarDateFromDec(pdecin: *const super::super::Foundation::DECIMAL) - extern "system" { fn VarDateFromDec(pdecin: *const super::super::Foundation::DECIMAL, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18114,7 +18114,7 @@ where extern "system" { fn VarDateFromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18128,7 +18128,7 @@ where extern "system" { fn VarDateFromI1(cin: super::super::Foundation::CHAR, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18138,7 +18138,7 @@ pub unsafe fn VarDateFromI2(sin: i16) -> ::windows::core::Result { extern "system" { fn VarDateFromI2(sin: i16, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromI2(sin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18148,7 +18148,7 @@ pub unsafe fn VarDateFromI4(lin: i32) -> ::windows::core::Result { extern "system" { fn VarDateFromI4(lin: i32, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18158,7 +18158,7 @@ pub unsafe fn VarDateFromI8(i64in: i64) -> ::windows::core::Result { extern "system" { fn VarDateFromI8(i64in: i64, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18168,7 +18168,7 @@ pub unsafe fn VarDateFromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarDateFromR4(fltin: f32, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18178,7 +18178,7 @@ pub unsafe fn VarDateFromR8(dblin: f64) -> ::windows::core::Result { extern "system" { fn VarDateFromR8(dblin: f64, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18191,7 +18191,7 @@ where extern "system" { fn VarDateFromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18201,7 +18201,7 @@ pub unsafe fn VarDateFromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarDateFromUI1(bin: u8, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18211,7 +18211,7 @@ pub unsafe fn VarDateFromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarDateFromUI2(uiin: u16, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18221,7 +18221,7 @@ pub unsafe fn VarDateFromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarDateFromUI4(ulin: u32, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18231,7 +18231,7 @@ pub unsafe fn VarDateFromUI8(ui64in: u64) -> ::windows::core::Result { extern "system" { fn VarDateFromUI8(ui64in: u64, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18242,7 +18242,7 @@ pub unsafe fn VarDateFromUdate(pudatein: *const UDATE, dwflags: u32) -> ::window extern "system" { fn VarDateFromUdate(pudatein: *const UDATE, dwflags: u32, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromUdate(::core::mem::transmute(pudatein), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18253,7 +18253,7 @@ pub unsafe fn VarDateFromUdateEx(pudatein: *const UDATE, lcid: u32, dwflags: u32 extern "system" { fn VarDateFromUdateEx(pudatein: *const UDATE, lcid: u32, dwflags: u32, pdateout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDateFromUdateEx(::core::mem::transmute(pudatein), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18264,7 +18264,7 @@ pub unsafe fn VarDecAbs(pdecin: *const super::super::Foundation::DECIMAL) -> ::w extern "system" { fn VarDecAbs(pdecin: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecAbs(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18275,7 +18275,7 @@ pub unsafe fn VarDecAdd(pdecleft: *const super::super::Foundation::DECIMAL, pdec extern "system" { fn VarDecAdd(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecAdd(::core::mem::transmute(pdecleft), ::core::mem::transmute(pdecright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18306,7 +18306,7 @@ pub unsafe fn VarDecDiv(pdecleft: *const super::super::Foundation::DECIMAL, pdec extern "system" { fn VarDecDiv(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecDiv(::core::mem::transmute(pdecleft), ::core::mem::transmute(pdecright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18317,7 +18317,7 @@ pub unsafe fn VarDecFix(pdecin: *const super::super::Foundation::DECIMAL) -> ::w extern "system" { fn VarDecFix(pdecin: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFix(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18328,7 +18328,7 @@ pub unsafe fn VarDecFromBool(boolin: i16) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18339,7 +18339,7 @@ pub unsafe fn VarDecFromCy(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromCy(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18350,7 +18350,7 @@ pub unsafe fn VarDecFromDate(datein: f64) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18364,7 +18364,7 @@ where extern "system" { fn VarDecFromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18378,7 +18378,7 @@ where extern "system" { fn VarDecFromI1(cin: super::super::Foundation::CHAR, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18389,7 +18389,7 @@ pub unsafe fn VarDecFromI2(uiin: i16) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18400,7 +18400,7 @@ pub unsafe fn VarDecFromI4(lin: i32) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18411,7 +18411,7 @@ pub unsafe fn VarDecFromI8(i64in: i64) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18422,7 +18422,7 @@ pub unsafe fn VarDecFromR4(fltin: f32) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18433,7 +18433,7 @@ pub unsafe fn VarDecFromR8(dblin: f64) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18447,7 +18447,7 @@ where extern "system" { fn VarDecFromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pdecout: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18458,7 +18458,7 @@ pub unsafe fn VarDecFromUI1(bin: u8) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18469,7 +18469,7 @@ pub unsafe fn VarDecFromUI2(uiin: u16) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18480,7 +18480,7 @@ pub unsafe fn VarDecFromUI4(ulin: u32) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18491,7 +18491,7 @@ pub unsafe fn VarDecFromUI8(ui64in: u64) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecFromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18502,7 +18502,7 @@ pub unsafe fn VarDecInt(pdecin: *const super::super::Foundation::DECIMAL) -> ::w extern "system" { fn VarDecInt(pdecin: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecInt(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18513,7 +18513,7 @@ pub unsafe fn VarDecMul(pdecleft: *const super::super::Foundation::DECIMAL, pdec extern "system" { fn VarDecMul(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecMul(::core::mem::transmute(pdecleft), ::core::mem::transmute(pdecright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18524,7 +18524,7 @@ pub unsafe fn VarDecNeg(pdecin: *const super::super::Foundation::DECIMAL) -> ::w extern "system" { fn VarDecNeg(pdecin: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecNeg(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18535,7 +18535,7 @@ pub unsafe fn VarDecRound(pdecin: *const super::super::Foundation::DECIMAL, cdec extern "system" { fn VarDecRound(pdecin: *const super::super::Foundation::DECIMAL, cdecimals: i32, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecRound(::core::mem::transmute(pdecin), cdecimals, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18546,7 +18546,7 @@ pub unsafe fn VarDecSub(pdecleft: *const super::super::Foundation::DECIMAL, pdec extern "system" { fn VarDecSub(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL, pdecresult: *mut super::super::Foundation::DECIMAL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDecSub(::core::mem::transmute(pdecleft), ::core::mem::transmute(pdecright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18557,7 +18557,7 @@ pub unsafe fn VarDiv(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarDiv(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarDiv(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18568,7 +18568,7 @@ pub unsafe fn VarEqv(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarEqv(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarEqv(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18579,7 +18579,7 @@ pub unsafe fn VarFix(pvarin: *const super::Com::VARIANT) -> ::windows::core::Res extern "system" { fn VarFix(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarFix(::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18593,7 +18593,7 @@ where extern "system" { fn VarFormat(pvarin: *const super::Com::VARIANT, pstrformat: ::windows::core::PCWSTR, ifirstday: i32, ifirstweek: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarFormat(::core::mem::transmute(pvarin), pstrformat.into(), ifirstday, ifirstweek, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18604,7 +18604,7 @@ pub unsafe fn VarFormatCurrency(pvarin: *const super::Com::VARIANT, inumdig: i32 extern "system" { fn VarFormatCurrency(pvarin: *const super::Com::VARIANT, inumdig: i32, iinclead: i32, iuseparens: i32, igroup: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarFormatCurrency(::core::mem::transmute(pvarin), inumdig, iinclead, iuseparens, igroup, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18615,7 +18615,7 @@ pub unsafe fn VarFormatDateTime(pvarin: *const super::Com::VARIANT, inamedformat extern "system" { fn VarFormatDateTime(pvarin: *const super::Com::VARIANT, inamedformat: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarFormatDateTime(::core::mem::transmute(pvarin), inamedformat, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18639,7 +18639,7 @@ pub unsafe fn VarFormatNumber(pvarin: *const super::Com::VARIANT, inumdig: i32, extern "system" { fn VarFormatNumber(pvarin: *const super::Com::VARIANT, inumdig: i32, iinclead: i32, iuseparens: i32, igroup: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarFormatNumber(::core::mem::transmute(pvarin), inumdig, iinclead, iuseparens, igroup, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18650,7 +18650,7 @@ pub unsafe fn VarFormatPercent(pvarin: *const super::Com::VARIANT, inumdig: i32, extern "system" { fn VarFormatPercent(pvarin: *const super::Com::VARIANT, inumdig: i32, iinclead: i32, iuseparens: i32, igroup: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarFormatPercent(::core::mem::transmute(pvarin), inumdig, iinclead, iuseparens, igroup, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18804,7 +18804,7 @@ pub unsafe fn VarI2FromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarI2FromBool(boolin: i16, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18824,7 +18824,7 @@ pub unsafe fn VarI2FromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarI2FromDate(datein: f64, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18835,7 +18835,7 @@ pub unsafe fn VarI2FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarI2FromDec(pdecin: *const super::super::Foundation::DECIMAL, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18849,7 +18849,7 @@ where extern "system" { fn VarI2FromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18863,7 +18863,7 @@ where extern "system" { fn VarI2FromI1(cin: super::super::Foundation::CHAR, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18873,7 +18873,7 @@ pub unsafe fn VarI2FromI4(lin: i32) -> ::windows::core::Result { extern "system" { fn VarI2FromI4(lin: i32, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18883,7 +18883,7 @@ pub unsafe fn VarI2FromI8(i64in: i64) -> ::windows::core::Result { extern "system" { fn VarI2FromI8(i64in: i64, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18893,7 +18893,7 @@ pub unsafe fn VarI2FromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarI2FromR4(fltin: f32, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18903,7 +18903,7 @@ pub unsafe fn VarI2FromR8(dblin: f64) -> ::windows::core::Result { extern "system" { fn VarI2FromR8(dblin: f64, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18916,7 +18916,7 @@ where extern "system" { fn VarI2FromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18926,7 +18926,7 @@ pub unsafe fn VarI2FromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarI2FromUI1(bin: u8, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18936,7 +18936,7 @@ pub unsafe fn VarI2FromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarI2FromUI2(uiin: u16, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18946,7 +18946,7 @@ pub unsafe fn VarI2FromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarI2FromUI4(ulin: u32, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18956,7 +18956,7 @@ pub unsafe fn VarI2FromUI8(ui64in: u64) -> ::windows::core::Result { extern "system" { fn VarI2FromUI8(ui64in: u64, psout: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI2FromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18966,7 +18966,7 @@ pub unsafe fn VarI4FromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarI4FromBool(boolin: i16, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -18977,7 +18977,7 @@ pub unsafe fn VarI4FromCy(cyin: super::Com::CY) -> ::windows::core::Result extern "system" { fn VarI4FromCy(cyin: super::Com::CY, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromCy(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -18987,7 +18987,7 @@ pub unsafe fn VarI4FromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarI4FromDate(datein: f64, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -18998,7 +18998,7 @@ pub unsafe fn VarI4FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarI4FromDec(pdecin: *const super::super::Foundation::DECIMAL, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19012,7 +19012,7 @@ where extern "system" { fn VarI4FromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19026,7 +19026,7 @@ where extern "system" { fn VarI4FromI1(cin: super::super::Foundation::CHAR, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19036,7 +19036,7 @@ pub unsafe fn VarI4FromI2(sin: i16) -> ::windows::core::Result { extern "system" { fn VarI4FromI2(sin: i16, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromI2(sin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19046,7 +19046,7 @@ pub unsafe fn VarI4FromI8(i64in: i64) -> ::windows::core::Result { extern "system" { fn VarI4FromI8(i64in: i64, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19056,7 +19056,7 @@ pub unsafe fn VarI4FromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarI4FromR4(fltin: f32, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19066,7 +19066,7 @@ pub unsafe fn VarI4FromR8(dblin: f64) -> ::windows::core::Result { extern "system" { fn VarI4FromR8(dblin: f64, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19079,7 +19079,7 @@ where extern "system" { fn VarI4FromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19089,7 +19089,7 @@ pub unsafe fn VarI4FromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarI4FromUI1(bin: u8, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19099,7 +19099,7 @@ pub unsafe fn VarI4FromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarI4FromUI2(uiin: u16, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19109,7 +19109,7 @@ pub unsafe fn VarI4FromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarI4FromUI4(ulin: u32, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19119,7 +19119,7 @@ pub unsafe fn VarI4FromUI8(ui64in: u64) -> ::windows::core::Result { extern "system" { fn VarI4FromUI8(ui64in: u64, plout: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI4FromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19129,7 +19129,7 @@ pub unsafe fn VarI8FromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarI8FromBool(boolin: i16, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19140,7 +19140,7 @@ pub unsafe fn VarI8FromCy(cyin: super::Com::CY) -> ::windows::core::Result extern "system" { fn VarI8FromCy(cyin: super::Com::CY, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromCy(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19150,7 +19150,7 @@ pub unsafe fn VarI8FromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarI8FromDate(datein: f64, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19161,7 +19161,7 @@ pub unsafe fn VarI8FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarI8FromDec(pdecin: *const super::super::Foundation::DECIMAL, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19175,7 +19175,7 @@ where extern "system" { fn VarI8FromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19189,7 +19189,7 @@ where extern "system" { fn VarI8FromI1(cin: super::super::Foundation::CHAR, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19199,7 +19199,7 @@ pub unsafe fn VarI8FromI2(sin: i16) -> ::windows::core::Result { extern "system" { fn VarI8FromI2(sin: i16, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromI2(sin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19209,7 +19209,7 @@ pub unsafe fn VarI8FromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarI8FromR4(fltin: f32, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19219,7 +19219,7 @@ pub unsafe fn VarI8FromR8(dblin: f64) -> ::windows::core::Result { extern "system" { fn VarI8FromR8(dblin: f64, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19232,7 +19232,7 @@ where extern "system" { fn VarI8FromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19242,7 +19242,7 @@ pub unsafe fn VarI8FromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarI8FromUI1(bin: u8, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19252,7 +19252,7 @@ pub unsafe fn VarI8FromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarI8FromUI2(uiin: u16, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19262,7 +19262,7 @@ pub unsafe fn VarI8FromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarI8FromUI4(ulin: u32, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19272,7 +19272,7 @@ pub unsafe fn VarI8FromUI8(ui64in: u64) -> ::windows::core::Result { extern "system" { fn VarI8FromUI8(ui64in: u64, pi64out: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarI8FromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19283,7 +19283,7 @@ pub unsafe fn VarIdiv(pvarleft: *const super::Com::VARIANT, pvarright: *const su extern "system" { fn VarIdiv(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarIdiv(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19294,7 +19294,7 @@ pub unsafe fn VarImp(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarImp(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarImp(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19305,7 +19305,7 @@ pub unsafe fn VarInt(pvarin: *const super::Com::VARIANT) -> ::windows::core::Res extern "system" { fn VarInt(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarInt(::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19316,7 +19316,7 @@ pub unsafe fn VarMod(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarMod(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarMod(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19327,7 +19327,7 @@ pub unsafe fn VarMonthName(imonth: i32, fabbrev: i32, dwflags: u32) -> ::windows extern "system" { fn VarMonthName(imonth: i32, fabbrev: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarMonthName(imonth, fabbrev, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19338,7 +19338,7 @@ pub unsafe fn VarMul(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarMul(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarMul(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19349,7 +19349,7 @@ pub unsafe fn VarNeg(pvarin: *const super::Com::VARIANT) -> ::windows::core::Res extern "system" { fn VarNeg(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarNeg(::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19360,7 +19360,7 @@ pub unsafe fn VarNot(pvarin: *const super::Com::VARIANT) -> ::windows::core::Res extern "system" { fn VarNot(pvarin: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarNot(::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19371,7 +19371,7 @@ pub unsafe fn VarNumFromParseNum(pnumprs: *const NUMPARSE, rgbdig: *const u8, dw extern "system" { fn VarNumFromParseNum(pnumprs: *const NUMPARSE, rgbdig: *const u8, dwvtbits: u32, pvar: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarNumFromParseNum(::core::mem::transmute(pnumprs), ::core::mem::transmute(rgbdig), dwvtbits, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19382,7 +19382,7 @@ pub unsafe fn VarOr(pvarleft: *const super::Com::VARIANT, pvarright: *const supe extern "system" { fn VarOr(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarOr(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19405,7 +19405,7 @@ pub unsafe fn VarPow(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarPow(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarPow(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19424,7 +19424,7 @@ pub unsafe fn VarR4FromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarR4FromBool(boolin: i16, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19444,7 +19444,7 @@ pub unsafe fn VarR4FromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarR4FromDate(datein: f64, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19455,7 +19455,7 @@ pub unsafe fn VarR4FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarR4FromDec(pdecin: *const super::super::Foundation::DECIMAL, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19469,7 +19469,7 @@ where extern "system" { fn VarR4FromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19483,7 +19483,7 @@ where extern "system" { fn VarR4FromI1(cin: super::super::Foundation::CHAR, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19493,7 +19493,7 @@ pub unsafe fn VarR4FromI2(sin: i16) -> ::windows::core::Result { extern "system" { fn VarR4FromI2(sin: i16, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromI2(sin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19503,7 +19503,7 @@ pub unsafe fn VarR4FromI4(lin: i32) -> ::windows::core::Result { extern "system" { fn VarR4FromI4(lin: i32, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19513,7 +19513,7 @@ pub unsafe fn VarR4FromI8(i64in: i64) -> ::windows::core::Result { extern "system" { fn VarR4FromI8(i64in: i64, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19523,7 +19523,7 @@ pub unsafe fn VarR4FromR8(dblin: f64) -> ::windows::core::Result { extern "system" { fn VarR4FromR8(dblin: f64, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19536,7 +19536,7 @@ where extern "system" { fn VarR4FromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19546,7 +19546,7 @@ pub unsafe fn VarR4FromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarR4FromUI1(bin: u8, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19556,7 +19556,7 @@ pub unsafe fn VarR4FromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarR4FromUI2(uiin: u16, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19566,7 +19566,7 @@ pub unsafe fn VarR4FromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarR4FromUI4(ulin: u32, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19576,7 +19576,7 @@ pub unsafe fn VarR4FromUI8(ui64in: u64) -> ::windows::core::Result { extern "system" { fn VarR4FromUI8(ui64in: u64, pfltout: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR4FromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19586,7 +19586,7 @@ pub unsafe fn VarR8FromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarR8FromBool(boolin: i16, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19606,7 +19606,7 @@ pub unsafe fn VarR8FromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarR8FromDate(datein: f64, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19617,7 +19617,7 @@ pub unsafe fn VarR8FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarR8FromDec(pdecin: *const super::super::Foundation::DECIMAL, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19631,7 +19631,7 @@ where extern "system" { fn VarR8FromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19654,7 +19654,7 @@ pub unsafe fn VarR8FromI2(sin: i16) -> ::windows::core::Result { extern "system" { fn VarR8FromI2(sin: i16, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromI2(sin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19664,7 +19664,7 @@ pub unsafe fn VarR8FromI4(lin: i32) -> ::windows::core::Result { extern "system" { fn VarR8FromI4(lin: i32, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19674,7 +19674,7 @@ pub unsafe fn VarR8FromI8(i64in: i64) -> ::windows::core::Result { extern "system" { fn VarR8FromI8(i64in: i64, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19684,7 +19684,7 @@ pub unsafe fn VarR8FromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarR8FromR4(fltin: f32, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19697,7 +19697,7 @@ where extern "system" { fn VarR8FromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19707,7 +19707,7 @@ pub unsafe fn VarR8FromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarR8FromUI1(bin: u8, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19717,7 +19717,7 @@ pub unsafe fn VarR8FromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarR8FromUI2(uiin: u16, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19727,7 +19727,7 @@ pub unsafe fn VarR8FromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarR8FromUI4(ulin: u32, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19737,7 +19737,7 @@ pub unsafe fn VarR8FromUI8(ui64in: u64) -> ::windows::core::Result { extern "system" { fn VarR8FromUI8(ui64in: u64, pdblout: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8FromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19747,7 +19747,7 @@ pub unsafe fn VarR8Pow(dblleft: f64, dblright: f64) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8Pow(dblleft, dblright, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19757,7 +19757,7 @@ pub unsafe fn VarR8Round(dblin: f64, cdecimals: i32) -> ::windows::core::Result< extern "system" { fn VarR8Round(dblin: f64, cdecimals: i32, pdblresult: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarR8Round(dblin, cdecimals, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19768,7 +19768,7 @@ pub unsafe fn VarRound(pvarin: *const super::Com::VARIANT, cdecimals: i32) -> :: extern "system" { fn VarRound(pvarin: *const super::Com::VARIANT, cdecimals: i32, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarRound(::core::mem::transmute(pvarin), cdecimals, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -19779,7 +19779,7 @@ pub unsafe fn VarSub(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarSub(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarSub(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19801,7 +19801,7 @@ pub unsafe fn VarUI1FromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarUI1FromBool(boolin: i16, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19812,7 +19812,7 @@ pub unsafe fn VarUI1FromCy(cyin: super::Com::CY) -> ::windows::core::Result extern "system" { fn VarUI1FromCy(cyin: super::Com::CY, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromCy(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19822,7 +19822,7 @@ pub unsafe fn VarUI1FromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarUI1FromDate(datein: f64, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19833,7 +19833,7 @@ pub unsafe fn VarUI1FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarUI1FromDec(pdecin: *const super::super::Foundation::DECIMAL, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19847,7 +19847,7 @@ where extern "system" { fn VarUI1FromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19861,7 +19861,7 @@ where extern "system" { fn VarUI1FromI1(cin: super::super::Foundation::CHAR, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19871,7 +19871,7 @@ pub unsafe fn VarUI1FromI2(sin: i16) -> ::windows::core::Result { extern "system" { fn VarUI1FromI2(sin: i16, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromI2(sin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19881,7 +19881,7 @@ pub unsafe fn VarUI1FromI4(lin: i32) -> ::windows::core::Result { extern "system" { fn VarUI1FromI4(lin: i32, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19891,7 +19891,7 @@ pub unsafe fn VarUI1FromI8(i64in: i64) -> ::windows::core::Result { extern "system" { fn VarUI1FromI8(i64in: i64, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19901,7 +19901,7 @@ pub unsafe fn VarUI1FromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarUI1FromR4(fltin: f32, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19911,7 +19911,7 @@ pub unsafe fn VarUI1FromR8(dblin: f64) -> ::windows::core::Result { extern "system" { fn VarUI1FromR8(dblin: f64, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19924,7 +19924,7 @@ where extern "system" { fn VarUI1FromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19934,7 +19934,7 @@ pub unsafe fn VarUI1FromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarUI1FromUI2(uiin: u16, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19944,7 +19944,7 @@ pub unsafe fn VarUI1FromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarUI1FromUI4(ulin: u32, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19954,7 +19954,7 @@ pub unsafe fn VarUI1FromUI8(ui64in: u64) -> ::windows::core::Result { extern "system" { fn VarUI1FromUI8(ui64in: u64, pbout: *mut u8) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI1FromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19964,7 +19964,7 @@ pub unsafe fn VarUI2FromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarUI2FromBool(boolin: i16, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -19975,7 +19975,7 @@ pub unsafe fn VarUI2FromCy(cyin: super::Com::CY) -> ::windows::core::Result extern "system" { fn VarUI2FromCy(cyin: super::Com::CY, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromCy(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -19985,7 +19985,7 @@ pub unsafe fn VarUI2FromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarUI2FromDate(datein: f64, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -19996,7 +19996,7 @@ pub unsafe fn VarUI2FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarUI2FromDec(pdecin: *const super::super::Foundation::DECIMAL, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -20010,7 +20010,7 @@ where extern "system" { fn VarUI2FromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -20024,7 +20024,7 @@ where extern "system" { fn VarUI2FromI1(cin: super::super::Foundation::CHAR, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20034,7 +20034,7 @@ pub unsafe fn VarUI2FromI2(uiin: i16) -> ::windows::core::Result { extern "system" { fn VarUI2FromI2(uiin: i16, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20044,7 +20044,7 @@ pub unsafe fn VarUI2FromI4(lin: i32) -> ::windows::core::Result { extern "system" { fn VarUI2FromI4(lin: i32, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20054,7 +20054,7 @@ pub unsafe fn VarUI2FromI8(i64in: i64) -> ::windows::core::Result { extern "system" { fn VarUI2FromI8(i64in: i64, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20064,7 +20064,7 @@ pub unsafe fn VarUI2FromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarUI2FromR4(fltin: f32, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20086,7 +20086,7 @@ where extern "system" { fn VarUI2FromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20096,7 +20096,7 @@ pub unsafe fn VarUI2FromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarUI2FromUI1(bin: u8, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20106,7 +20106,7 @@ pub unsafe fn VarUI2FromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarUI2FromUI4(ulin: u32, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20116,7 +20116,7 @@ pub unsafe fn VarUI2FromUI8(i64in: u64) -> ::windows::core::Result { extern "system" { fn VarUI2FromUI8(i64in: u64, puiout: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI2FromUI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20126,7 +20126,7 @@ pub unsafe fn VarUI4FromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarUI4FromBool(boolin: i16, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -20137,7 +20137,7 @@ pub unsafe fn VarUI4FromCy(cyin: super::Com::CY) -> ::windows::core::Result extern "system" { fn VarUI4FromCy(cyin: super::Com::CY, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromCy(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20147,7 +20147,7 @@ pub unsafe fn VarUI4FromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarUI4FromDate(datein: f64, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -20158,7 +20158,7 @@ pub unsafe fn VarUI4FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarUI4FromDec(pdecin: *const super::super::Foundation::DECIMAL, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -20172,7 +20172,7 @@ where extern "system" { fn VarUI4FromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -20186,7 +20186,7 @@ where extern "system" { fn VarUI4FromI1(cin: super::super::Foundation::CHAR, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20196,7 +20196,7 @@ pub unsafe fn VarUI4FromI2(uiin: i16) -> ::windows::core::Result { extern "system" { fn VarUI4FromI2(uiin: i16, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20206,7 +20206,7 @@ pub unsafe fn VarUI4FromI4(lin: i32) -> ::windows::core::Result { extern "system" { fn VarUI4FromI4(lin: i32, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromI4(lin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20216,7 +20216,7 @@ pub unsafe fn VarUI4FromI8(i64in: i64) -> ::windows::core::Result { extern "system" { fn VarUI4FromI8(i64in: i64, plout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromI8(i64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20226,7 +20226,7 @@ pub unsafe fn VarUI4FromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarUI4FromR4(fltin: f32, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20236,7 +20236,7 @@ pub unsafe fn VarUI4FromR8(dblin: f64) -> ::windows::core::Result { extern "system" { fn VarUI4FromR8(dblin: f64, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20249,7 +20249,7 @@ where extern "system" { fn VarUI4FromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20259,7 +20259,7 @@ pub unsafe fn VarUI4FromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarUI4FromUI1(bin: u8, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20269,7 +20269,7 @@ pub unsafe fn VarUI4FromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarUI4FromUI2(uiin: u16, pulout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20279,7 +20279,7 @@ pub unsafe fn VarUI4FromUI8(ui64in: u64) -> ::windows::core::Result { extern "system" { fn VarUI4FromUI8(ui64in: u64, plout: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI4FromUI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20289,7 +20289,7 @@ pub unsafe fn VarUI8FromBool(boolin: i16) -> ::windows::core::Result { extern "system" { fn VarUI8FromBool(boolin: i16, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromBool(boolin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -20300,7 +20300,7 @@ pub unsafe fn VarUI8FromCy(cyin: super::Com::CY) -> ::windows::core::Result extern "system" { fn VarUI8FromCy(cyin: super::Com::CY, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromCy(::core::mem::transmute(cyin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20310,7 +20310,7 @@ pub unsafe fn VarUI8FromDate(datein: f64) -> ::windows::core::Result { extern "system" { fn VarUI8FromDate(datein: f64, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromDate(datein, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -20321,7 +20321,7 @@ pub unsafe fn VarUI8FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> extern "system" { fn VarUI8FromDec(pdecin: *const super::super::Foundation::DECIMAL, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromDec(::core::mem::transmute(pdecin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -20335,7 +20335,7 @@ where extern "system" { fn VarUI8FromDisp(pdispin: *mut ::core::ffi::c_void, lcid: u32, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -20349,7 +20349,7 @@ where extern "system" { fn VarUI8FromI1(cin: super::super::Foundation::CHAR, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromI1(cin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20359,7 +20359,7 @@ pub unsafe fn VarUI8FromI2(sin: i16) -> ::windows::core::Result { extern "system" { fn VarUI8FromI2(sin: i16, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromI2(sin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20369,7 +20369,7 @@ pub unsafe fn VarUI8FromI8(ui64in: i64) -> ::windows::core::Result { extern "system" { fn VarUI8FromI8(ui64in: i64, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromI8(ui64in, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20379,7 +20379,7 @@ pub unsafe fn VarUI8FromR4(fltin: f32) -> ::windows::core::Result { extern "system" { fn VarUI8FromR4(fltin: f32, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromR4(fltin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20389,7 +20389,7 @@ pub unsafe fn VarUI8FromR8(dblin: f64) -> ::windows::core::Result { extern "system" { fn VarUI8FromR8(dblin: f64, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromR8(dblin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20402,7 +20402,7 @@ where extern "system" { fn VarUI8FromStr(strin: ::windows::core::PCWSTR, lcid: u32, dwflags: u32, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromStr(strin.into(), lcid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20412,7 +20412,7 @@ pub unsafe fn VarUI8FromUI1(bin: u8) -> ::windows::core::Result { extern "system" { fn VarUI8FromUI1(bin: u8, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromUI1(bin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20422,7 +20422,7 @@ pub unsafe fn VarUI8FromUI2(uiin: u16) -> ::windows::core::Result { extern "system" { fn VarUI8FromUI2(uiin: u16, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromUI2(uiin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -20432,7 +20432,7 @@ pub unsafe fn VarUI8FromUI4(ulin: u32) -> ::windows::core::Result { extern "system" { fn VarUI8FromUI4(ulin: u32, pi64out: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUI8FromUI4(ulin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -20443,7 +20443,7 @@ pub unsafe fn VarUdateFromDate(datein: f64, dwflags: u32) -> ::windows::core::Re extern "system" { fn VarUdateFromDate(datein: f64, dwflags: u32, pudateout: *mut UDATE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarUdateFromDate(datein, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -20454,7 +20454,7 @@ pub unsafe fn VarWeekdayName(iweekday: i32, fabbrev: i32, ifirstday: i32, dwflag extern "system" { fn VarWeekdayName(iweekday: i32, fabbrev: i32, ifirstday: i32, dwflags: u32, pbstrout: *mut super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarWeekdayName(iweekday, fabbrev, ifirstday, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -20465,7 +20465,7 @@ pub unsafe fn VarXor(pvarleft: *const super::Com::VARIANT, pvarright: *const sup extern "system" { fn VarXor(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, pvarresult: *mut super::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VarXor(::core::mem::transmute(pvarleft), ::core::mem::transmute(pvarright), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -20558,7 +20558,7 @@ where extern "system" { fn VectorFromBstr(bstr: ::core::mem::ManuallyDrop, ppsa: *mut *mut super::Com::SAFEARRAY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VectorFromBstr(bstr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] 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 c484228539..b930b11ad1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs @@ -9,21 +9,21 @@ impl IWPCGamesSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLoggingRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsLoggingRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastSettingsChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLastSettingsChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRestrictions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRestrictions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBlocked(&self, guidappid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsBlocked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidappid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93,7 +93,7 @@ impl IWPCProviderConfig { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserSummary)(::windows::core::Interface::as_raw(self), bstrsid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -225,7 +225,7 @@ pub struct IWPCProviderState_Vtbl { pub struct IWPCProviderSupport(::windows::core::IUnknown); impl IWPCProviderSupport { pub unsafe fn GetCurrent(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -277,17 +277,17 @@ impl IWPCSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLoggingRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLoggingRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastSettingsChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastSettingsChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRestrictions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestrictions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -347,21 +347,21 @@ impl IWPCWebSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLoggingRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsLoggingRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastSettingsChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLastSettingsChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRestrictions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRestrictions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -371,7 +371,7 @@ impl IWPCWebSettings { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestURLOverride)(::windows::core::Interface::as_raw(self), hwnd.into(), pcszurl.into(), ppcszsuburls.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppcszsuburls)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -440,21 +440,21 @@ pub struct IWPCWebSettings_Vtbl { pub struct IWindowsParentalControls(::windows::core::IUnknown); impl IWindowsParentalControls { pub unsafe fn GetVisibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVisibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUserSettings<'a, P0>(&self, pcszsid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUserSettings)(::windows::core::Interface::as_raw(self), pcszsid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWebSettings<'a, P0>(&self, pcszsid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWebSettings)(::windows::core::Interface::as_raw(self), pcszsid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWebFilterInfo(&self, pguidid: *mut ::windows::core::GUID, ppszname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { @@ -464,7 +464,7 @@ impl IWindowsParentalControls { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGamesSettings)(::windows::core::Interface::as_raw(self), pcszsid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -529,21 +529,21 @@ pub struct IWindowsParentalControls_Vtbl { pub struct IWindowsParentalControlsCore(::windows::core::IUnknown); impl IWindowsParentalControlsCore { pub unsafe fn GetVisibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUserSettings<'a, P0>(&self, pcszsid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserSettings)(::windows::core::Interface::as_raw(self), pcszsid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWebSettings<'a, P0>(&self, pcszsid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWebSettings)(::windows::core::Interface::as_raw(self), pcszsid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWebFilterInfo(&self, pguidid: *mut ::windows::core::GUID, ppszname: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { 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 50326fce8d..fdd7d44070 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs @@ -743,7 +743,7 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataCollectorSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -755,13 +755,13 @@ impl IAlertDataCollector { (::windows::core::Interface::vtable(self).base__.SetDataCollectorSet)(::windows::core::Interface::as_raw(self), group.into().abi()).ok() } pub unsafe fn DataCollectorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -773,7 +773,7 @@ impl IAlertDataCollector { (::windows::core::Interface::vtable(self).base__.SetFileName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn FileNameFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::core::Result<()> { @@ -782,7 +782,7 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileNameFormatPattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormatPattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -796,7 +796,7 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LatestOutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LatestOutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -808,21 +808,21 @@ impl IAlertDataCollector { (::windows::core::Interface::vtable(self).base__.SetLatestOutputLocation)(::windows::core::Interface::as_raw(self), path.into().abi()).ok() } pub unsafe fn LogAppend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogAppend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogAppend)(::windows::core::Interface::as_raw(self), append).ok() } pub unsafe fn LogCircular(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogCircular)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogCircular)(::windows::core::Interface::as_raw(self), circular).ok() } pub unsafe fn LogOverwrite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogOverwrite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::core::Result<()> { @@ -831,7 +831,7 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -845,11 +845,11 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, index: i32) -> ::windows::core::Result<()> { @@ -858,7 +858,7 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Xml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -867,19 +867,19 @@ impl IAlertDataCollector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetXml)(::windows::core::Interface::as_raw(self), xml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOutputLocation)(::windows::core::Interface::as_raw(self), latest, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AlertThresholds(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlertThresholds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -888,14 +888,14 @@ impl IAlertDataCollector { (::windows::core::Interface::vtable(self).SetAlertThresholds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(alerts)).ok() } pub unsafe fn EventLog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventLog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventLog(&self, log: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEventLog)(::windows::core::Interface::as_raw(self), log).ok() } pub unsafe fn SampleInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SampleInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleInterval(&self, interval: u32) -> ::windows::core::Result<()> { @@ -904,7 +904,7 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Task(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Task)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -916,7 +916,7 @@ impl IAlertDataCollector { (::windows::core::Interface::vtable(self).SetTask)(::windows::core::Interface::as_raw(self), task.into().abi()).ok() } pub unsafe fn TaskRunAsSelf(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TaskRunAsSelf)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTaskRunAsSelf(&self, runasself: i16) -> ::windows::core::Result<()> { @@ -925,7 +925,7 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TaskArguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TaskArguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -939,7 +939,7 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TaskUserTextArguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TaskUserTextArguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -953,7 +953,7 @@ impl IAlertDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TriggerDataCollectorSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TriggerDataCollectorSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1105,7 +1105,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataCollectorSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1117,13 +1117,13 @@ impl IApiTracingDataCollector { (::windows::core::Interface::vtable(self).base__.SetDataCollectorSet)(::windows::core::Interface::as_raw(self), group.into().abi()).ok() } pub unsafe fn DataCollectorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1135,7 +1135,7 @@ impl IApiTracingDataCollector { (::windows::core::Interface::vtable(self).base__.SetFileName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn FileNameFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::core::Result<()> { @@ -1144,7 +1144,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileNameFormatPattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormatPattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1158,7 +1158,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LatestOutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LatestOutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1170,21 +1170,21 @@ impl IApiTracingDataCollector { (::windows::core::Interface::vtable(self).base__.SetLatestOutputLocation)(::windows::core::Interface::as_raw(self), path.into().abi()).ok() } pub unsafe fn LogAppend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogAppend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogAppend)(::windows::core::Interface::as_raw(self), append).ok() } pub unsafe fn LogCircular(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogCircular)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogCircular)(::windows::core::Interface::as_raw(self), circular).ok() } pub unsafe fn LogOverwrite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogOverwrite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::core::Result<()> { @@ -1193,7 +1193,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1207,11 +1207,11 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, index: i32) -> ::windows::core::Result<()> { @@ -1220,7 +1220,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Xml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1229,24 +1229,24 @@ impl IApiTracingDataCollector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetXml)(::windows::core::Interface::as_raw(self), xml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOutputLocation)(::windows::core::Interface::as_raw(self), latest, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LogApiNamesOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogApiNamesOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogApiNamesOnly(&self, logapinames: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogApiNamesOnly)(::windows::core::Interface::as_raw(self), logapinames).ok() } pub unsafe fn LogApisRecursively(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogApisRecursively)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogApisRecursively(&self, logrecursively: i16) -> ::windows::core::Result<()> { @@ -1255,7 +1255,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1269,7 +1269,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LogFilePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogFilePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1283,7 +1283,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncludeModules(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncludeModules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1294,7 +1294,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncludeApis(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncludeApis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1305,7 +1305,7 @@ impl IApiTracingDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExcludeApis(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExcludeApis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1452,7 +1452,7 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataCollectorSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1464,13 +1464,13 @@ impl IConfigurationDataCollector { (::windows::core::Interface::vtable(self).base__.SetDataCollectorSet)(::windows::core::Interface::as_raw(self), group.into().abi()).ok() } pub unsafe fn DataCollectorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1482,7 +1482,7 @@ impl IConfigurationDataCollector { (::windows::core::Interface::vtable(self).base__.SetFileName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn FileNameFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::core::Result<()> { @@ -1491,7 +1491,7 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileNameFormatPattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormatPattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1505,7 +1505,7 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LatestOutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LatestOutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1517,21 +1517,21 @@ impl IConfigurationDataCollector { (::windows::core::Interface::vtable(self).base__.SetLatestOutputLocation)(::windows::core::Interface::as_raw(self), path.into().abi()).ok() } pub unsafe fn LogAppend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogAppend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogAppend)(::windows::core::Interface::as_raw(self), append).ok() } pub unsafe fn LogCircular(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogCircular)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogCircular)(::windows::core::Interface::as_raw(self), circular).ok() } pub unsafe fn LogOverwrite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogOverwrite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::core::Result<()> { @@ -1540,7 +1540,7 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1554,11 +1554,11 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, index: i32) -> ::windows::core::Result<()> { @@ -1567,7 +1567,7 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Xml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1576,31 +1576,31 @@ impl IConfigurationDataCollector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetXml)(::windows::core::Interface::as_raw(self), xml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOutputLocation)(::windows::core::Interface::as_raw(self), latest, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FileMaxCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileMaxCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileMaxCount(&self, count: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFileMaxCount)(::windows::core::Interface::as_raw(self), count).ok() } pub unsafe fn FileMaxRecursiveDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileMaxRecursiveDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileMaxRecursiveDepth(&self, depth: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFileMaxRecursiveDepth)(::windows::core::Interface::as_raw(self), depth).ok() } pub unsafe fn FileMaxTotalSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileMaxTotalSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileMaxTotalSize(&self, size: u32) -> ::windows::core::Result<()> { @@ -1609,7 +1609,7 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Files(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Files)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1620,7 +1620,7 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ManagementQueries(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ManagementQueries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1629,7 +1629,7 @@ impl IConfigurationDataCollector { (::windows::core::Interface::vtable(self).SetManagementQueries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(queries)).ok() } pub unsafe fn QueryNetworkAdapters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryNetworkAdapters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQueryNetworkAdapters(&self, network: i16) -> ::windows::core::Result<()> { @@ -1638,7 +1638,7 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RegistryKeys(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegistryKeys)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1647,7 +1647,7 @@ impl IConfigurationDataCollector { (::windows::core::Interface::vtable(self).SetRegistryKeys)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(query)).ok() } pub unsafe fn RegistryMaxRecursiveDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegistryMaxRecursiveDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRegistryMaxRecursiveDepth(&self, depth: u32) -> ::windows::core::Result<()> { @@ -1656,7 +1656,7 @@ impl IConfigurationDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SystemStateFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SystemStateFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1800,41 +1800,41 @@ pub struct IConfigurationDataCollector_Vtbl { pub struct ICounterItem(::windows::core::IUnknown); impl ICounterItem { pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn Color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, iwidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWidth)(::windows::core::Interface::as_raw(self), iwidth).ok() } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLineStyle(&self, ilinestyle: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLineStyle)(::windows::core::Interface::as_raw(self), ilinestyle).ok() } pub unsafe fn LineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScaleFactor(&self, iscale: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetScaleFactor)(::windows::core::Interface::as_raw(self), iscale).ok() } pub unsafe fn ScaleFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScaleFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValue(&self, value: *mut f64, status: *mut i32) -> ::windows::core::Result<()> { @@ -1904,41 +1904,41 @@ pub struct ICounterItem_Vtbl { pub struct ICounterItem2(::windows::core::IUnknown); impl ICounterItem2 { pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn Color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, iwidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetWidth)(::windows::core::Interface::as_raw(self), iwidth).ok() } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLineStyle(&self, ilinestyle: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLineStyle)(::windows::core::Interface::as_raw(self), ilinestyle).ok() } pub unsafe fn LineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScaleFactor(&self, iscale: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetScaleFactor)(::windows::core::Interface::as_raw(self), iscale).ok() } pub unsafe fn ScaleFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ScaleFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValue(&self, value: *mut f64, status: *mut i32) -> ::windows::core::Result<()> { @@ -1951,20 +1951,20 @@ impl ICounterItem2 { (::windows::core::Interface::vtable(self).SetSelected)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn Selected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Selected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVisible(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVisible)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn Visible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Visible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataAt)(::windows::core::Interface::as_raw(self), iindex, iwhich, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2038,11 +2038,11 @@ pub struct ICounters(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICounters { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2051,7 +2051,7 @@ impl ICounters { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2060,7 +2060,7 @@ impl ICounters { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pathname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2162,7 +2162,7 @@ impl IDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataCollectorSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataCollectorSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2174,13 +2174,13 @@ impl IDataCollector { (::windows::core::Interface::vtable(self).SetDataCollectorSet)(::windows::core::Interface::as_raw(self), group.into().abi()).ok() } pub unsafe fn DataCollectorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataCollectorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2192,7 +2192,7 @@ impl IDataCollector { (::windows::core::Interface::vtable(self).SetFileName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn FileNameFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileNameFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::core::Result<()> { @@ -2201,7 +2201,7 @@ impl IDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileNameFormatPattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FileNameFormatPattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2215,7 +2215,7 @@ impl IDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LatestOutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LatestOutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2227,21 +2227,21 @@ impl IDataCollector { (::windows::core::Interface::vtable(self).SetLatestOutputLocation)(::windows::core::Interface::as_raw(self), path.into().abi()).ok() } pub unsafe fn LogAppend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogAppend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogAppend)(::windows::core::Interface::as_raw(self), append).ok() } pub unsafe fn LogCircular(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogCircular)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogCircular)(::windows::core::Interface::as_raw(self), circular).ok() } pub unsafe fn LogOverwrite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogOverwrite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::core::Result<()> { @@ -2250,7 +2250,7 @@ impl IDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2264,11 +2264,11 @@ impl IDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, index: i32) -> ::windows::core::Result<()> { @@ -2277,7 +2277,7 @@ impl IDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Xml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2286,13 +2286,13 @@ impl IDataCollector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetXml)(::windows::core::Interface::as_raw(self), xml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateOutputLocation)(::windows::core::Interface::as_raw(self), latest, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2437,7 +2437,7 @@ pub struct IDataCollectorCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataCollectorCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2446,11 +2446,11 @@ impl IDataCollectorCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2491,7 +2491,7 @@ impl IDataCollectorCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateDataCollector(&self, r#type: DataCollectorType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDataCollector)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2598,11 +2598,11 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataCollectors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataCollectors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Duration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Duration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDuration(&self, seconds: u32) -> ::windows::core::Result<()> { @@ -2611,7 +2611,7 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2625,13 +2625,13 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DescriptionUnresolved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DescriptionUnresolved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2645,13 +2645,13 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayNameUnresolved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayNameUnresolved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Keywords(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Keywords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2662,7 +2662,7 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LatestOutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LatestOutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2676,19 +2676,19 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RootPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2700,28 +2700,28 @@ impl IDataCollectorSet { (::windows::core::Interface::vtable(self).SetRootPath)(::windows::core::Interface::as_raw(self), folder.into().abi()).ok() } pub unsafe fn Segment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Segment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSegment(&self, segment: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSegment)(::windows::core::Interface::as_raw(self), segment).ok() } pub unsafe fn SegmentMaxDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SegmentMaxDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSegmentMaxDuration(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSegmentMaxDuration)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn SegmentMaxSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SegmentMaxSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSegmentMaxSize(&self, size: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSegmentMaxSize)(::windows::core::Interface::as_raw(self), size).ok() } pub unsafe fn SerialNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SerialNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSerialNumber(&self, index: u32) -> ::windows::core::Result<()> { @@ -2730,17 +2730,17 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Server(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Server)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Subdirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subdirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2752,7 +2752,7 @@ impl IDataCollectorSet { (::windows::core::Interface::vtable(self).SetSubdirectory)(::windows::core::Interface::as_raw(self), folder.into().abi()).ok() } pub unsafe fn SubdirectoryFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubdirectoryFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSubdirectoryFormat(&self, format: AutoPathFormat) -> ::windows::core::Result<()> { @@ -2761,7 +2761,7 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SubdirectoryFormatPattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubdirectoryFormatPattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2775,7 +2775,7 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Task(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Task)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2787,7 +2787,7 @@ impl IDataCollectorSet { (::windows::core::Interface::vtable(self).SetTask)(::windows::core::Interface::as_raw(self), task.into().abi()).ok() } pub unsafe fn TaskRunAsSelf(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TaskRunAsSelf)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTaskRunAsSelf(&self, runasself: i16) -> ::windows::core::Result<()> { @@ -2796,7 +2796,7 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TaskArguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TaskArguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2810,7 +2810,7 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TaskUserTextArguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TaskUserTextArguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2824,11 +2824,11 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Schedules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Schedules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SchedulesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SchedulesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSchedulesEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -2837,19 +2837,19 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Xml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Security(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2861,7 +2861,7 @@ impl IDataCollectorSet { (::windows::core::Interface::vtable(self).SetSecurity)(::windows::core::Interface::as_raw(self), bstrsecurity.into().abi()).ok() } pub unsafe fn StopOnCompletion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StopOnCompletion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStopOnCompletion(&self, stop: i16) -> ::windows::core::Result<()> { @@ -2870,7 +2870,7 @@ impl IDataCollectorSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2898,7 +2898,7 @@ impl IDataCollectorSet { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Commit)(::windows::core::Interface::as_raw(self), name.into().abi(), server.into().abi(), mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self) -> ::windows::core::Result<()> { @@ -2916,7 +2916,7 @@ impl IDataCollectorSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetXml)(::windows::core::Interface::as_raw(self), xml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2934,7 +2934,7 @@ impl IDataCollectorSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), key.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3186,7 +3186,7 @@ pub struct IDataCollectorSetCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataCollectorSetCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3195,11 +3195,11 @@ impl IDataCollectorSetCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3336,42 +3336,42 @@ pub struct IDataManager(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataManager { pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, fenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), fenabled).ok() } pub unsafe fn CheckBeforeRunning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckBeforeRunning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCheckBeforeRunning(&self, fcheck: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCheckBeforeRunning)(::windows::core::Interface::as_raw(self), fcheck).ok() } pub unsafe fn MinFreeDisk(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinFreeDisk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinFreeDisk(&self, minfreedisk: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinFreeDisk)(::windows::core::Interface::as_raw(self), minfreedisk).ok() } pub unsafe fn MaxSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxSize(&self, ulmaxsize: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxSize)(::windows::core::Interface::as_raw(self), ulmaxsize).ok() } pub unsafe fn MaxFolderCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxFolderCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxFolderCount(&self, ulmaxfoldercount: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxFolderCount)(::windows::core::Interface::as_raw(self), ulmaxfoldercount).ok() } pub unsafe fn ResourcePolicy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResourcePolicy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetResourcePolicy(&self, policy: ResourcePolicy) -> ::windows::core::Result<()> { @@ -3380,13 +3380,13 @@ impl IDataManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FolderActions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FolderActions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReportSchema(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportSchema)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3400,7 +3400,7 @@ impl IDataManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReportFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3414,7 +3414,7 @@ impl IDataManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RuleTargetFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RuleTargetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3428,7 +3428,7 @@ impl IDataManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EventsFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventsFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3442,7 +3442,7 @@ impl IDataManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Rules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3459,7 +3459,7 @@ impl IDataManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Run)(::windows::core::Interface::as_raw(self), steps, bstrfolder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3610,21 +3610,21 @@ pub struct IFolderAction(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFolderAction { pub unsafe fn Age(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Age)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAge(&self, ulage: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAge)(::windows::core::Interface::as_raw(self), ulage).ok() } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSize(&self, ulage: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSize)(::windows::core::Interface::as_raw(self), ulage).ok() } pub unsafe fn Actions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Actions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetActions(&self, steps: FolderActionSteps) -> ::windows::core::Result<()> { @@ -3633,7 +3633,7 @@ impl IFolderAction { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SendCabTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendCabTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3733,7 +3733,7 @@ pub struct IFolderActionCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFolderActionCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3742,11 +3742,11 @@ impl IFolderActionCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3779,7 +3779,7 @@ impl IFolderActionCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateFolderAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFolderAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3880,7 +3880,7 @@ impl ILogFileItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3935,11 +3935,11 @@ pub struct ILogFiles(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILogFiles { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3948,7 +3948,7 @@ impl ILogFiles { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3957,7 +3957,7 @@ impl ILogFiles { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pathname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4059,7 +4059,7 @@ impl IPerformanceCounterDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataCollectorSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4071,13 +4071,13 @@ impl IPerformanceCounterDataCollector { (::windows::core::Interface::vtable(self).base__.SetDataCollectorSet)(::windows::core::Interface::as_raw(self), group.into().abi()).ok() } pub unsafe fn DataCollectorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4089,7 +4089,7 @@ impl IPerformanceCounterDataCollector { (::windows::core::Interface::vtable(self).base__.SetFileName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn FileNameFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::core::Result<()> { @@ -4098,7 +4098,7 @@ impl IPerformanceCounterDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileNameFormatPattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormatPattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4112,7 +4112,7 @@ impl IPerformanceCounterDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LatestOutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LatestOutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4124,21 +4124,21 @@ impl IPerformanceCounterDataCollector { (::windows::core::Interface::vtable(self).base__.SetLatestOutputLocation)(::windows::core::Interface::as_raw(self), path.into().abi()).ok() } pub unsafe fn LogAppend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogAppend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogAppend)(::windows::core::Interface::as_raw(self), append).ok() } pub unsafe fn LogCircular(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogCircular)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogCircular)(::windows::core::Interface::as_raw(self), circular).ok() } pub unsafe fn LogOverwrite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogOverwrite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::core::Result<()> { @@ -4147,7 +4147,7 @@ impl IPerformanceCounterDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4161,11 +4161,11 @@ impl IPerformanceCounterDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, index: i32) -> ::windows::core::Result<()> { @@ -4174,7 +4174,7 @@ impl IPerformanceCounterDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Xml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4183,19 +4183,19 @@ impl IPerformanceCounterDataCollector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetXml)(::windows::core::Interface::as_raw(self), xml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOutputLocation)(::windows::core::Interface::as_raw(self), latest, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DataSourceName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataSourceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4209,7 +4209,7 @@ impl IPerformanceCounterDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PerformanceCounters(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PerformanceCounters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4218,21 +4218,21 @@ impl IPerformanceCounterDataCollector { (::windows::core::Interface::vtable(self).SetPerformanceCounters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(counters)).ok() } pub unsafe fn LogFileFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogFileFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogFileFormat(&self, format: FileFormat) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogFileFormat)(::windows::core::Interface::as_raw(self), format).ok() } pub unsafe fn SampleInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SampleInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSampleInterval(&self, interval: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSampleInterval)(::windows::core::Interface::as_raw(self), interval).ok() } pub unsafe fn SegmentMaxRecords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SegmentMaxRecords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSegmentMaxRecords(&self, records: u32) -> ::windows::core::Result<()> { @@ -4355,7 +4355,7 @@ impl ISchedule { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn StartDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4369,7 +4369,7 @@ impl ISchedule { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn EndDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4383,7 +4383,7 @@ impl ISchedule { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn StartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4395,7 +4395,7 @@ impl ISchedule { (::windows::core::Interface::vtable(self).SetStartTime)(::windows::core::Interface::as_raw(self), start.into().abi()).ok() } pub unsafe fn Days(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Days)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDays(&self, days: WeekDays) -> ::windows::core::Result<()> { @@ -4502,7 +4502,7 @@ pub struct IScheduleCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IScheduleCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4511,11 +4511,11 @@ impl IScheduleCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4548,7 +4548,7 @@ impl IScheduleCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateSchedule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSchedule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4647,28 +4647,28 @@ pub struct IScheduleCollection_Vtbl { pub struct ISystemMonitor(::windows::core::IUnknown); impl ISystemMonitor { pub unsafe fn Appearance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Appearance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppearance(&self, iappearance: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAppearance)(::windows::core::Interface::as_raw(self), iappearance).ok() } pub unsafe fn BackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBackColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn BorderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BorderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBorderStyle(&self, iborderstyle: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBorderStyle)(::windows::core::Interface::as_raw(self), iborderstyle).ok() } pub unsafe fn ForeColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ForeColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetForeColor(&self, color: u32) -> ::windows::core::Result<()> { @@ -4677,7 +4677,7 @@ impl ISystemMonitor { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4691,77 +4691,77 @@ impl ISystemMonitor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Counters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Counters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowVerticalGrid(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowVerticalGrid)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowVerticalGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowVerticalGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowHorizontalGrid(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowHorizontalGrid)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowHorizontalGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowHorizontalGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowLegend(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowLegend)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowLegend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowLegend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowScaleLabels(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowScaleLabels)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowScaleLabels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowScaleLabels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowValueBar(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowValueBar)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowValueBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowValueBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumScale(&self, ivalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaximumScale)(::windows::core::Interface::as_raw(self), ivalue).ok() } pub unsafe fn MaximumScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaximumScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinimumScale(&self, ivalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinimumScale)(::windows::core::Interface::as_raw(self), ivalue).ok() } pub unsafe fn MinimumScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinimumScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUpdateInterval(&self, fvalue: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUpdateInterval)(::windows::core::Interface::as_raw(self), fvalue).ok() } pub unsafe fn UpdateInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdateInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisplayType)(::windows::core::Interface::as_raw(self), edisplaytype).ok() } pub unsafe fn DisplayType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetManualUpdate(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetManualUpdate)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ManualUpdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ManualUpdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4775,7 +4775,7 @@ impl ISystemMonitor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GraphTitle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GraphTitle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4789,7 +4789,7 @@ impl ISystemMonitor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn YAxisLabel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).YAxisLabel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CollectSample(&self) -> ::windows::core::Result<()> { @@ -4805,7 +4805,7 @@ impl ISystemMonitor { (::windows::core::Interface::vtable(self).DisplayProperties)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Counter(&self, iindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Counter)(::windows::core::Interface::as_raw(self), iindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4814,7 +4814,7 @@ impl ISystemMonitor { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddCounter)(::windows::core::Interface::as_raw(self), bspath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteCounter<'a, P0>(&self, pctr: P0) -> ::windows::core::Result<()> @@ -4824,7 +4824,7 @@ impl ISystemMonitor { (::windows::core::Interface::vtable(self).DeleteCounter)(::windows::core::Interface::as_raw(self), pctr.into().abi()).ok() } pub unsafe fn BackColorCtl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackColorCtl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColorCtl(&self, color: u32) -> ::windows::core::Result<()> { @@ -4841,46 +4841,46 @@ impl ISystemMonitor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LogFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogViewStart(&self, starttime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogViewStart)(::windows::core::Interface::as_raw(self), starttime).ok() } pub unsafe fn LogViewStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogViewStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogViewStop(&self, stoptime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogViewStop)(::windows::core::Interface::as_raw(self), stoptime).ok() } pub unsafe fn LogViewStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogViewStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GridColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GridColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGridColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGridColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn TimeBarColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TimeBarColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTimeBarColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTimeBarColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn Highlight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Highlight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHighlight(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHighlight)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowToolbar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowToolbar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowToolbar(&self, bstate: i16) -> ::windows::core::Result<()> { @@ -4899,41 +4899,41 @@ impl ISystemMonitor { (::windows::core::Interface::vtable(self).SetReadOnly)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReportValueType(&self, ereportvaluetype: ReportValueTypeConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetReportValueType)(::windows::core::Interface::as_raw(self), ereportvaluetype).ok() } pub unsafe fn ReportValueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportValueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMonitorDuplicateInstances(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMonitorDuplicateInstances)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn MonitorDuplicateInstances(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MonitorDuplicateInstances)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplayFilter(&self, ivalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisplayFilter)(::windows::core::Interface::as_raw(self), ivalue).ok() } pub unsafe fn DisplayFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LogFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDataSourceType(&self, edatasourcetype: DataSourceTypeConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDataSourceType)(::windows::core::Interface::as_raw(self), edatasourcetype).ok() } pub unsafe fn DataSourceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataSourceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4947,7 +4947,7 @@ impl ISystemMonitor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SqlDsnName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SqlDsnName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4961,7 +4961,7 @@ impl ISystemMonitor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SqlLogSetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SqlLogSetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5131,28 +5131,28 @@ pub struct ISystemMonitor_Vtbl { pub struct ISystemMonitor2(::windows::core::IUnknown); impl ISystemMonitor2 { pub unsafe fn Appearance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Appearance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppearance(&self, iappearance: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetAppearance)(::windows::core::Interface::as_raw(self), iappearance).ok() } pub unsafe fn BackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBackColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn BorderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BorderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBorderStyle(&self, iborderstyle: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBorderStyle)(::windows::core::Interface::as_raw(self), iborderstyle).ok() } pub unsafe fn ForeColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ForeColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetForeColor(&self, color: u32) -> ::windows::core::Result<()> { @@ -5161,7 +5161,7 @@ impl ISystemMonitor2 { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5175,77 +5175,77 @@ impl ISystemMonitor2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Counters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Counters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowVerticalGrid(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetShowVerticalGrid)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowVerticalGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowVerticalGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowHorizontalGrid(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetShowHorizontalGrid)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowHorizontalGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowHorizontalGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowLegend(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetShowLegend)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowLegend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowLegend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowScaleLabels(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetShowScaleLabels)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowScaleLabels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowScaleLabels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowValueBar(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetShowValueBar)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowValueBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowValueBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumScale(&self, ivalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaximumScale)(::windows::core::Interface::as_raw(self), ivalue).ok() } pub unsafe fn MaximumScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaximumScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinimumScale(&self, ivalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMinimumScale)(::windows::core::Interface::as_raw(self), ivalue).ok() } pub unsafe fn MinimumScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinimumScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUpdateInterval(&self, fvalue: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetUpdateInterval)(::windows::core::Interface::as_raw(self), fvalue).ok() } pub unsafe fn UpdateInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UpdateInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDisplayType)(::windows::core::Interface::as_raw(self), edisplaytype).ok() } pub unsafe fn DisplayType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DisplayType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetManualUpdate(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetManualUpdate)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ManualUpdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ManualUpdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5259,7 +5259,7 @@ impl ISystemMonitor2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GraphTitle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GraphTitle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5273,7 +5273,7 @@ impl ISystemMonitor2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn YAxisLabel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.YAxisLabel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CollectSample(&self) -> ::windows::core::Result<()> { @@ -5289,7 +5289,7 @@ impl ISystemMonitor2 { (::windows::core::Interface::vtable(self).base__.DisplayProperties)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Counter(&self, iindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Counter)(::windows::core::Interface::as_raw(self), iindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5298,7 +5298,7 @@ impl ISystemMonitor2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddCounter)(::windows::core::Interface::as_raw(self), bspath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteCounter<'a, P0>(&self, pctr: P0) -> ::windows::core::Result<()> @@ -5308,7 +5308,7 @@ impl ISystemMonitor2 { (::windows::core::Interface::vtable(self).base__.DeleteCounter)(::windows::core::Interface::as_raw(self), pctr.into().abi()).ok() } pub unsafe fn BackColorCtl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BackColorCtl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColorCtl(&self, color: u32) -> ::windows::core::Result<()> { @@ -5325,46 +5325,46 @@ impl ISystemMonitor2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LogFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogViewStart(&self, starttime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogViewStart)(::windows::core::Interface::as_raw(self), starttime).ok() } pub unsafe fn LogViewStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogViewStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogViewStop(&self, stoptime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogViewStop)(::windows::core::Interface::as_raw(self), stoptime).ok() } pub unsafe fn LogViewStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogViewStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GridColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GridColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGridColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetGridColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn TimeBarColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TimeBarColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTimeBarColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetTimeBarColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn Highlight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Highlight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHighlight(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetHighlight)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowToolbar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowToolbar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowToolbar(&self, bstate: i16) -> ::windows::core::Result<()> { @@ -5383,41 +5383,41 @@ impl ISystemMonitor2 { (::windows::core::Interface::vtable(self).base__.SetReadOnly)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReportValueType(&self, ereportvaluetype: ReportValueTypeConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetReportValueType)(::windows::core::Interface::as_raw(self), ereportvaluetype).ok() } pub unsafe fn ReportValueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReportValueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMonitorDuplicateInstances(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMonitorDuplicateInstances)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn MonitorDuplicateInstances(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MonitorDuplicateInstances)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplayFilter(&self, ivalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDisplayFilter)(::windows::core::Interface::as_raw(self), ivalue).ok() } pub unsafe fn DisplayFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DisplayFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LogFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDataSourceType(&self, edatasourcetype: DataSourceTypeConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDataSourceType)(::windows::core::Interface::as_raw(self), edatasourcetype).ok() } pub unsafe fn DataSourceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataSourceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5431,7 +5431,7 @@ impl ISystemMonitor2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SqlDsnName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SqlDsnName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5445,42 +5445,42 @@ impl ISystemMonitor2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SqlLogSetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SqlLogSetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableDigitGrouping(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnableDigitGrouping)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn EnableDigitGrouping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableDigitGrouping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableToolTips(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnableToolTips)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn EnableToolTips(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableToolTips)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowTimeAxisLabels(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowTimeAxisLabels)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowTimeAxisLabels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowTimeAxisLabels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChartScroll(&self, bscroll: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetChartScroll)(::windows::core::Interface::as_raw(self), bscroll).ok() } pub unsafe fn ChartScroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChartScroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDataPointCount(&self, inewcount: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDataPointCount)(::windows::core::Interface::as_raw(self), inewcount).ok() } pub unsafe fn DataPointCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataPointCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScaleToFit(&self, bselectedcountersonly: i16) -> ::windows::core::Result<()> { @@ -5506,11 +5506,11 @@ impl ISystemMonitor2 { (::windows::core::Interface::vtable(self).ClearData)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn LogSourceStartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogSourceStartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LogSourceStopTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogSourceStopTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogViewRange(&self, starttime: f64, stoptime: f64) -> ::windows::core::Result<()> { @@ -5689,7 +5689,7 @@ impl ITraceDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataCollectorSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5701,13 +5701,13 @@ impl ITraceDataCollector { (::windows::core::Interface::vtable(self).base__.SetDataCollectorSet)(::windows::core::Interface::as_raw(self), group.into().abi()).ok() } pub unsafe fn DataCollectorType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataCollectorType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5719,7 +5719,7 @@ impl ITraceDataCollector { (::windows::core::Interface::vtable(self).base__.SetFileName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn FileNameFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::core::Result<()> { @@ -5728,7 +5728,7 @@ impl ITraceDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FileNameFormatPattern(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FileNameFormatPattern)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5742,7 +5742,7 @@ impl ITraceDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LatestOutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LatestOutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5754,21 +5754,21 @@ impl ITraceDataCollector { (::windows::core::Interface::vtable(self).base__.SetLatestOutputLocation)(::windows::core::Interface::as_raw(self), path.into().abi()).ok() } pub unsafe fn LogAppend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogAppend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogAppend)(::windows::core::Interface::as_raw(self), append).ok() } pub unsafe fn LogCircular(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogCircular)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLogCircular)(::windows::core::Interface::as_raw(self), circular).ok() } pub unsafe fn LogOverwrite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LogOverwrite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::core::Result<()> { @@ -5777,7 +5777,7 @@ impl ITraceDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5791,11 +5791,11 @@ impl ITraceDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OutputLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OutputLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, index: i32) -> ::windows::core::Result<()> { @@ -5804,7 +5804,7 @@ impl ITraceDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Xml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5813,126 +5813,126 @@ impl ITraceDataCollector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetXml)(::windows::core::Interface::as_raw(self), xml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOutputLocation)(::windows::core::Interface::as_raw(self), latest, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BufferSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BufferSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBufferSize(&self, size: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBufferSize)(::windows::core::Interface::as_raw(self), size).ok() } pub unsafe fn BuffersLost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BuffersLost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBuffersLost(&self, buffers: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBuffersLost)(::windows::core::Interface::as_raw(self), buffers).ok() } pub unsafe fn BuffersWritten(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BuffersWritten)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBuffersWritten(&self, buffers: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBuffersWritten)(::windows::core::Interface::as_raw(self), buffers).ok() } pub unsafe fn ClockType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClockType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClockType(&self, clock: ClockType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetClockType)(::windows::core::Interface::as_raw(self), clock).ok() } pub unsafe fn EventsLost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventsLost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventsLost(&self, events: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEventsLost)(::windows::core::Interface::as_raw(self), events).ok() } pub unsafe fn ExtendedModes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedModes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetExtendedModes(&self, mode: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetExtendedModes)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn FlushTimer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FlushTimer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlushTimer(&self, seconds: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFlushTimer)(::windows::core::Interface::as_raw(self), seconds).ok() } pub unsafe fn FreeBuffers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FreeBuffers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFreeBuffers(&self, buffers: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFreeBuffers)(::windows::core::Interface::as_raw(self), buffers).ok() } pub unsafe fn Guid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Guid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetGuid(&self, guid: ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid)).ok() } pub unsafe fn IsKernelTrace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsKernelTrace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaximumBuffers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaximumBuffers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumBuffers(&self, buffers: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaximumBuffers)(::windows::core::Interface::as_raw(self), buffers).ok() } pub unsafe fn MinimumBuffers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinimumBuffers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinimumBuffers(&self, buffers: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinimumBuffers)(::windows::core::Interface::as_raw(self), buffers).ok() } pub unsafe fn NumberOfBuffers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfBuffers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNumberOfBuffers(&self, buffers: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNumberOfBuffers)(::windows::core::Interface::as_raw(self), buffers).ok() } pub unsafe fn PreallocateFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreallocateFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPreallocateFile(&self, allocate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPreallocateFile)(::windows::core::Interface::as_raw(self), allocate).ok() } pub unsafe fn ProcessMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProcessMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProcessMode(&self, process: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProcessMode)(::windows::core::Interface::as_raw(self), process).ok() } pub unsafe fn RealTimeBuffersLost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RealTimeBuffersLost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRealTimeBuffersLost(&self, buffers: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRealTimeBuffersLost)(::windows::core::Interface::as_raw(self), buffers).ok() } pub unsafe fn SessionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSessionId(&self, id: u64) -> ::windows::core::Result<()> { @@ -5941,7 +5941,7 @@ impl ITraceDataCollector { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SessionName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5953,14 +5953,14 @@ impl ITraceDataCollector { (::windows::core::Interface::vtable(self).SetSessionName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn SessionThreadId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionThreadId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSessionThreadId(&self, tid: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSessionThreadId)(::windows::core::Interface::as_raw(self), tid).ok() } pub unsafe fn StreamMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StreamMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamMode(&self, mode: StreamMode) -> ::windows::core::Result<()> { @@ -5969,7 +5969,7 @@ impl ITraceDataCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TraceDataProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TraceDataProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6116,7 +6116,7 @@ impl ITraceDataProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6128,7 +6128,7 @@ impl ITraceDataProvider { (::windows::core::Interface::vtable(self).SetDisplayName)(::windows::core::Interface::as_raw(self), name.into().abi()).ok() } pub unsafe fn Guid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Guid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetGuid(&self, guid: ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -6137,36 +6137,36 @@ impl ITraceDataProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Level(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Level)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KeywordsAny(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeywordsAny)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KeywordsAll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeywordsAll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FilterEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FilterEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFilterEnabled(&self, filterenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFilterEnabled)(::windows::core::Interface::as_raw(self), filterenabled).ok() } pub unsafe fn FilterType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FilterType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFilterType(&self, ultype: u32) -> ::windows::core::Result<()> { @@ -6175,7 +6175,7 @@ impl ITraceDataProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilterData(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FilterData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6211,13 +6211,13 @@ impl ITraceDataProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSecurity(&self, securityinfo: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurity)(::windows::core::Interface::as_raw(self), securityinfo, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRegisteredProcesses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegisteredProcesses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6353,7 +6353,7 @@ pub struct ITraceDataProviderCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITraceDataProviderCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6362,11 +6362,11 @@ impl ITraceDataProviderCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6399,7 +6399,7 @@ impl ITraceDataProviderCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTraceDataProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTraceDataProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6524,7 +6524,7 @@ pub struct IValueMap(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IValueMap { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6533,17 +6533,17 @@ impl IValueMap { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6557,7 +6557,7 @@ impl IValueMap { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6569,7 +6569,7 @@ impl IValueMap { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ValueMapType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValueMapType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetValueMapType(&self, r#type: ValueMapType) -> ::windows::core::Result<()> { @@ -6605,7 +6605,7 @@ impl IValueMap { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateValueMapItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateValueMapItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6726,7 +6726,7 @@ impl IValueMapItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6738,7 +6738,7 @@ impl IValueMapItem { (::windows::core::Interface::vtable(self).SetDescription)(::windows::core::Interface::as_raw(self), description.into().abi()).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -6747,7 +6747,7 @@ impl IValueMapItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Key(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Key)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6761,7 +6761,7 @@ impl IValueMapItem { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6773,7 +6773,7 @@ impl IValueMapItem { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ValueMapType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValueMapType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetValueMapType(&self, r#type: ValueMapType) -> ::windows::core::Result<()> { @@ -11668,41 +11668,41 @@ impl ::core::fmt::Debug for WeekDays { pub struct _ICounterItemUnion(::windows::core::IUnknown); impl _ICounterItemUnion { pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn Color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, iwidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWidth)(::windows::core::Interface::as_raw(self), iwidth).ok() } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLineStyle(&self, ilinestyle: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLineStyle)(::windows::core::Interface::as_raw(self), ilinestyle).ok() } pub unsafe fn LineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScaleFactor(&self, iscale: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetScaleFactor)(::windows::core::Interface::as_raw(self), iscale).ok() } pub unsafe fn ScaleFactor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScaleFactor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValue(&self, value: *mut f64, status: *mut i32) -> ::windows::core::Result<()> { @@ -11715,20 +11715,20 @@ impl _ICounterItemUnion { (::windows::core::Interface::vtable(self).SetSelected)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn Selected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Selected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVisible(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVisible)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn Visible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Visible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataAt)(::windows::core::Interface::as_raw(self), iindex, iwhich, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11800,28 +11800,28 @@ pub struct _ICounterItemUnion_Vtbl { pub struct _ISystemMonitorUnion(::windows::core::IUnknown); impl _ISystemMonitorUnion { pub unsafe fn Appearance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Appearance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppearance(&self, iappearance: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAppearance)(::windows::core::Interface::as_raw(self), iappearance).ok() } pub unsafe fn BackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBackColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn BorderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BorderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBorderStyle(&self, iborderstyle: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBorderStyle)(::windows::core::Interface::as_raw(self), iborderstyle).ok() } pub unsafe fn ForeColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ForeColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetForeColor(&self, color: u32) -> ::windows::core::Result<()> { @@ -11830,7 +11830,7 @@ impl _ISystemMonitorUnion { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11844,77 +11844,77 @@ impl _ISystemMonitorUnion { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Counters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Counters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowVerticalGrid(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowVerticalGrid)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowVerticalGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowVerticalGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowHorizontalGrid(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowHorizontalGrid)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowHorizontalGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowHorizontalGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowLegend(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowLegend)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowLegend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowLegend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowScaleLabels(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowScaleLabels)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowScaleLabels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowScaleLabels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowValueBar(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowValueBar)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowValueBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowValueBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaximumScale(&self, ivalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaximumScale)(::windows::core::Interface::as_raw(self), ivalue).ok() } pub unsafe fn MaximumScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaximumScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinimumScale(&self, ivalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinimumScale)(::windows::core::Interface::as_raw(self), ivalue).ok() } pub unsafe fn MinimumScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinimumScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUpdateInterval(&self, fvalue: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUpdateInterval)(::windows::core::Interface::as_raw(self), fvalue).ok() } pub unsafe fn UpdateInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdateInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisplayType)(::windows::core::Interface::as_raw(self), edisplaytype).ok() } pub unsafe fn DisplayType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetManualUpdate(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetManualUpdate)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ManualUpdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ManualUpdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11928,7 +11928,7 @@ impl _ISystemMonitorUnion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GraphTitle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GraphTitle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11942,7 +11942,7 @@ impl _ISystemMonitorUnion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn YAxisLabel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).YAxisLabel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CollectSample(&self) -> ::windows::core::Result<()> { @@ -11958,7 +11958,7 @@ impl _ISystemMonitorUnion { (::windows::core::Interface::vtable(self).DisplayProperties)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Counter(&self, iindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Counter)(::windows::core::Interface::as_raw(self), iindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11967,7 +11967,7 @@ impl _ISystemMonitorUnion { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddCounter)(::windows::core::Interface::as_raw(self), bspath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteCounter<'a, P0>(&self, pctr: P0) -> ::windows::core::Result<()> @@ -11977,7 +11977,7 @@ impl _ISystemMonitorUnion { (::windows::core::Interface::vtable(self).DeleteCounter)(::windows::core::Interface::as_raw(self), pctr.into().abi()).ok() } pub unsafe fn BackColorCtl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackColorCtl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColorCtl(&self, color: u32) -> ::windows::core::Result<()> { @@ -11994,46 +11994,46 @@ impl _ISystemMonitorUnion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LogFileName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogViewStart(&self, starttime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogViewStart)(::windows::core::Interface::as_raw(self), starttime).ok() } pub unsafe fn LogViewStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogViewStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogViewStop(&self, stoptime: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLogViewStop)(::windows::core::Interface::as_raw(self), stoptime).ok() } pub unsafe fn LogViewStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogViewStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GridColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GridColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGridColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGridColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn TimeBarColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TimeBarColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTimeBarColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTimeBarColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn Highlight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Highlight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHighlight(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHighlight)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowToolbar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowToolbar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowToolbar(&self, bstate: i16) -> ::windows::core::Result<()> { @@ -12052,41 +12052,41 @@ impl _ISystemMonitorUnion { (::windows::core::Interface::vtable(self).SetReadOnly)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReportValueType(&self, ereportvaluetype: ReportValueTypeConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetReportValueType)(::windows::core::Interface::as_raw(self), ereportvaluetype).ok() } pub unsafe fn ReportValueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportValueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMonitorDuplicateInstances(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMonitorDuplicateInstances)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn MonitorDuplicateInstances(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MonitorDuplicateInstances)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplayFilter(&self, ivalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisplayFilter)(::windows::core::Interface::as_raw(self), ivalue).ok() } pub unsafe fn DisplayFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LogFiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogFiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDataSourceType(&self, edatasourcetype: DataSourceTypeConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDataSourceType)(::windows::core::Interface::as_raw(self), edatasourcetype).ok() } pub unsafe fn DataSourceType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataSourceType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12100,7 +12100,7 @@ impl _ISystemMonitorUnion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SqlDsnName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SqlDsnName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12114,42 +12114,42 @@ impl _ISystemMonitorUnion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SqlLogSetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SqlLogSetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableDigitGrouping(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnableDigitGrouping)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn EnableDigitGrouping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableDigitGrouping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableToolTips(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnableToolTips)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn EnableToolTips(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableToolTips)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowTimeAxisLabels(&self, bstate: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShowTimeAxisLabels)(::windows::core::Interface::as_raw(self), bstate).ok() } pub unsafe fn ShowTimeAxisLabels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowTimeAxisLabels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChartScroll(&self, bscroll: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetChartScroll)(::windows::core::Interface::as_raw(self), bscroll).ok() } pub unsafe fn ChartScroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChartScroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDataPointCount(&self, inewcount: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDataPointCount)(::windows::core::Interface::as_raw(self), inewcount).ok() } pub unsafe fn DataPointCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataPointCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScaleToFit(&self, bselectedcountersonly: i16) -> ::windows::core::Result<()> { @@ -12175,11 +12175,11 @@ impl _ISystemMonitorUnion { (::windows::core::Interface::vtable(self).ClearData)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn LogSourceStartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogSourceStartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LogSourceStopTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LogSourceStopTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLogViewRange(&self, starttime: f64, stoptime: f64) -> ::windows::core::Result<()> { 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 883e1bd1e8..2343458459 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs @@ -127,7 +127,7 @@ impl IRTCBuddy { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PresentityURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PresentityURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -141,7 +141,7 @@ impl IRTCBuddy { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -155,7 +155,7 @@ impl IRTCBuddy { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -167,20 +167,20 @@ impl IRTCBuddy { (::windows::core::Interface::vtable(self).base__.SetData)(::windows::core::Interface::as_raw(self), bstrdata.into().abi()).ok() } pub unsafe fn Persistent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Persistent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPersistent(&self, fpersistent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPersistent)(::windows::core::Interface::as_raw(self), fpersistent).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Notes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Notes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -251,7 +251,7 @@ impl IRTCBuddy2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PresentityURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PresentityURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -265,7 +265,7 @@ impl IRTCBuddy2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -279,7 +279,7 @@ impl IRTCBuddy2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -291,57 +291,57 @@ impl IRTCBuddy2 { (::windows::core::Interface::vtable(self).base__.base__.SetData)(::windows::core::Interface::as_raw(self), bstrdata.into().abi()).ok() } pub unsafe fn Persistent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Persistent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPersistent(&self, fpersistent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPersistent)(::windows::core::Interface::as_raw(self), fpersistent).ok() } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Notes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Notes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Refresh(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Refresh)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumerateGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Groups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Groups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_PresenceProperty(&self, enproperty: RTC_PRESENCE_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PresenceProperty)(::windows::core::Interface::as_raw(self), enproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumeratePresenceDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumeratePresenceDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PresenceDevices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PresenceDevices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SubscriptionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubscriptionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -439,7 +439,7 @@ pub struct IRTCBuddyEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyEvent { pub unsafe fn Buddy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Buddy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -518,21 +518,21 @@ pub struct IRTCBuddyEvent2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyEvent2 { pub unsafe fn Buddy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Buddy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EventType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -634,7 +634,7 @@ impl IRTCBuddyGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -658,19 +658,19 @@ impl IRTCBuddyGroup { (::windows::core::Interface::vtable(self).RemoveBuddy)(::windows::core::Interface::as_raw(self), pbuddy.into().abi()).ok() } pub unsafe fn EnumerateBuddies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateBuddies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Buddies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Buddies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -682,7 +682,7 @@ impl IRTCBuddyGroup { (::windows::core::Interface::vtable(self).SetData)(::windows::core::Interface::as_raw(self), bstrdata.into().abi()).ok() } pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -757,19 +757,19 @@ pub struct IRTCBuddyGroupEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyGroupEvent { pub unsafe fn EventType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Group(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Group)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Buddy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Buddy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -861,18 +861,18 @@ impl IRTCClient { (::windows::core::Interface::vtable(self).SetEventFilter)(::windows::core::Interface::as_raw(self), lfilter).ok() } pub unsafe fn EventFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPreferredMediaTypes(&self, lmediatypes: i32, fpersistent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPreferredMediaTypes)(::windows::core::Interface::as_raw(self), lmediatypes, fpersistent).ok() } pub unsafe fn PreferredMediaTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredMediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -882,40 +882,40 @@ impl IRTCClient { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IRTCProfile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSession)(::windows::core::Interface::as_raw(self), entype, bstrlocalphoneuri.into().abi(), pprofile.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListenForIncomingSessions(&self, enlisten: RTC_LISTEN_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetListenForIncomingSessions)(::windows::core::Interface::as_raw(self), enlisten).ok() } pub unsafe fn ListenForIncomingSessions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ListenForIncomingSessions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_NetworkAddresses(&self, ftcp: i16, fexternal: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_NetworkAddresses)(::windows::core::Interface::as_raw(self), ftcp, fexternal, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_Volume(&self, endevice: RTC_AUDIO_DEVICE, lvolume: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_Volume)(::windows::core::Interface::as_raw(self), endevice, lvolume).ok() } pub unsafe fn get_Volume(&self, endevice: RTC_AUDIO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Volume)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_AudioMuted(&self, endevice: RTC_AUDIO_DEVICE, fmuted: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_AudioMuted)(::windows::core::Interface::as_raw(self), endevice, fmuted).ok() } pub unsafe fn get_AudioMuted(&self, endevice: RTC_AUDIO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AudioMuted)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Media_DirectShow", feature = "Win32_System_Com"))] pub unsafe fn get_IVideoWindow(&self, endevice: RTC_VIDEO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_IVideoWindow)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -929,21 +929,21 @@ impl IRTCClient { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_PreferredAudioDevice(&self, endevice: RTC_AUDIO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PreferredAudioDevice)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_PreferredVolume(&self, endevice: RTC_AUDIO_DEVICE, lvolume: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_PreferredVolume)(::windows::core::Interface::as_raw(self), endevice, lvolume).ok() } pub unsafe fn get_PreferredVolume(&self, endevice: RTC_AUDIO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PreferredVolume)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPreferredAEC(&self, benable: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPreferredAEC)(::windows::core::Interface::as_raw(self), benable).ok() } pub unsafe fn PreferredAEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredAEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -957,29 +957,29 @@ impl IRTCClient { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PreferredVideoDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredVideoDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActiveMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActiveMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxBitrate(&self, lmaxbitrate: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxBitrate)(::windows::core::Interface::as_raw(self), lmaxbitrate).ok() } pub unsafe fn MaxBitrate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxBitrate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTemporalSpatialTradeOff(&self, lvalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTemporalSpatialTradeOff)(::windows::core::Interface::as_raw(self), lvalue).ok() } pub unsafe fn TemporalSpatialTradeOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TemporalSpatialTradeOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NetworkQuality(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkQuality)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartT120Applet(&self, enapplet: RTC_T120_APPLET) -> ::windows::core::Result<()> { @@ -989,13 +989,13 @@ impl IRTCClient { (::windows::core::Interface::vtable(self).StopT120Applets)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_IsT120AppletRunning(&self, enapplet: RTC_T120_APPLET) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_IsT120AppletRunning)(::windows::core::Interface::as_raw(self), enapplet, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalUserURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalUserURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1009,7 +1009,7 @@ impl IRTCClient { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalUserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalUserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1030,7 +1030,7 @@ impl IRTCClient { (::windows::core::Interface::vtable(self).InvokeTuningWizard)(::windows::core::Interface::as_raw(self), hwndparent).ok() } pub unsafe fn IsTuned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTuned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1166,18 +1166,18 @@ impl IRTCClient2 { (::windows::core::Interface::vtable(self).base__.SetEventFilter)(::windows::core::Interface::as_raw(self), lfilter).ok() } pub unsafe fn EventFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EventFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPreferredMediaTypes(&self, lmediatypes: i32, fpersistent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPreferredMediaTypes)(::windows::core::Interface::as_raw(self), lmediatypes, fpersistent).ok() } pub unsafe fn PreferredMediaTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PreferredMediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MediaCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1187,40 +1187,40 @@ impl IRTCClient2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IRTCProfile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSession)(::windows::core::Interface::as_raw(self), entype, bstrlocalphoneuri.into().abi(), pprofile.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListenForIncomingSessions(&self, enlisten: RTC_LISTEN_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetListenForIncomingSessions)(::windows::core::Interface::as_raw(self), enlisten).ok() } pub unsafe fn ListenForIncomingSessions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ListenForIncomingSessions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_NetworkAddresses(&self, ftcp: i16, fexternal: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_NetworkAddresses)(::windows::core::Interface::as_raw(self), ftcp, fexternal, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_Volume(&self, endevice: RTC_AUDIO_DEVICE, lvolume: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.put_Volume)(::windows::core::Interface::as_raw(self), endevice, lvolume).ok() } pub unsafe fn get_Volume(&self, endevice: RTC_AUDIO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Volume)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_AudioMuted(&self, endevice: RTC_AUDIO_DEVICE, fmuted: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.put_AudioMuted)(::windows::core::Interface::as_raw(self), endevice, fmuted).ok() } pub unsafe fn get_AudioMuted(&self, endevice: RTC_AUDIO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_AudioMuted)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Media_DirectShow", feature = "Win32_System_Com"))] pub unsafe fn get_IVideoWindow(&self, endevice: RTC_VIDEO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_IVideoWindow)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1234,21 +1234,21 @@ impl IRTCClient2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_PreferredAudioDevice(&self, endevice: RTC_AUDIO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_PreferredAudioDevice)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_PreferredVolume(&self, endevice: RTC_AUDIO_DEVICE, lvolume: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.put_PreferredVolume)(::windows::core::Interface::as_raw(self), endevice, lvolume).ok() } pub unsafe fn get_PreferredVolume(&self, endevice: RTC_AUDIO_DEVICE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_PreferredVolume)(::windows::core::Interface::as_raw(self), endevice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPreferredAEC(&self, benable: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPreferredAEC)(::windows::core::Interface::as_raw(self), benable).ok() } pub unsafe fn PreferredAEC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PreferredAEC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1262,29 +1262,29 @@ impl IRTCClient2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PreferredVideoDevice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PreferredVideoDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActiveMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ActiveMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxBitrate(&self, lmaxbitrate: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMaxBitrate)(::windows::core::Interface::as_raw(self), lmaxbitrate).ok() } pub unsafe fn MaxBitrate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxBitrate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTemporalSpatialTradeOff(&self, lvalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetTemporalSpatialTradeOff)(::windows::core::Interface::as_raw(self), lvalue).ok() } pub unsafe fn TemporalSpatialTradeOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TemporalSpatialTradeOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NetworkQuality(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NetworkQuality)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartT120Applet(&self, enapplet: RTC_T120_APPLET) -> ::windows::core::Result<()> { @@ -1294,13 +1294,13 @@ impl IRTCClient2 { (::windows::core::Interface::vtable(self).base__.StopT120Applets)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn get_IsT120AppletRunning(&self, enapplet: RTC_T120_APPLET) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_IsT120AppletRunning)(::windows::core::Interface::as_raw(self), enapplet, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalUserURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalUserURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1314,7 +1314,7 @@ impl IRTCClient2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalUserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalUserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1335,21 +1335,21 @@ impl IRTCClient2 { (::windows::core::Interface::vtable(self).base__.InvokeTuningWizard)(::windows::core::Interface::as_raw(self), hwndparent).ok() } pub unsafe fn IsTuned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsTuned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_AnswerMode(&self, entype: RTC_SESSION_TYPE, enmode: RTC_ANSWER_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_AnswerMode)(::windows::core::Interface::as_raw(self), entype, enmode).ok() } pub unsafe fn get_AnswerMode(&self, entype: RTC_SESSION_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AnswerMode)(::windows::core::Interface::as_raw(self), entype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InvokeTuningWizardEx(&self, hwndparent: isize, fallowaudio: i16, fallowvideo: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).InvokeTuningWizardEx)(::windows::core::Interface::as_raw(self), hwndparent, fallowaudio, fallowvideo).ok() } pub unsafe fn Version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1379,7 +1379,7 @@ impl IRTCClient2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IRTCProfile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSessionWithDescription)(::windows::core::Interface::as_raw(self), bstrcontenttype.into().abi(), bstrsessiondescription.into().abi(), pprofile.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSessionDescriptionManager<'a, P0>(&self, psessiondescriptionmanager: P0) -> ::windows::core::Result<()> @@ -1392,14 +1392,14 @@ impl IRTCClient2 { (::windows::core::Interface::vtable(self).put_PreferredSecurityLevel)(::windows::core::Interface::as_raw(self), ensecuritytype, ensecuritylevel).ok() } pub unsafe fn get_PreferredSecurityLevel(&self, ensecuritytype: RTC_SECURITY_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PreferredSecurityLevel)(::windows::core::Interface::as_raw(self), ensecuritytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_AllowedPorts(&self, ltransport: i32, enlistenmode: RTC_LISTEN_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_AllowedPorts)(::windows::core::Interface::as_raw(self), ltransport, enlistenmode).ok() } pub unsafe fn get_AllowedPorts(&self, ltransport: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_AllowedPorts)(::windows::core::Interface::as_raw(self), ltransport, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1487,11 +1487,11 @@ pub struct IRTCClientEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCClientEvent { pub unsafe fn EventType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Client(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Client)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1666,13 +1666,13 @@ impl IRTCClientPresence { (::windows::core::Interface::vtable(self).Import)(::windows::core::Interface::as_raw(self), varstorage.into().abi(), freplaceall).ok() } pub unsafe fn EnumerateBuddies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateBuddies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Buddies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Buddies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1681,7 +1681,7 @@ impl IRTCClientPresence { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Buddy)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1693,7 +1693,7 @@ impl IRTCClientPresence { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, IRTCProfile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBuddy)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), bstrusername.into().abi(), bstrdata.into().abi(), fpersistent, pprofile.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBuddy<'a, P0>(&self, pbuddy: P0) -> ::windows::core::Result<()> @@ -1703,13 +1703,13 @@ impl IRTCClientPresence { (::windows::core::Interface::vtable(self).RemoveBuddy)(::windows::core::Interface::as_raw(self), pbuddy.into().abi()).ok() } pub unsafe fn EnumerateWatchers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateWatchers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Watchers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Watchers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1718,7 +1718,7 @@ impl IRTCClientPresence { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Watcher)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1729,7 +1729,7 @@ impl IRTCClientPresence { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddWatcher)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), bstrusername.into().abi(), bstrdata.into().abi(), fblocked, fpersistent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveWatcher<'a, P0>(&self, pwatcher: P0) -> ::windows::core::Result<()> @@ -1747,14 +1747,14 @@ impl IRTCClientPresence { (::windows::core::Interface::vtable(self).SetLocalPresenceInfo)(::windows::core::Interface::as_raw(self), enstatus, bstrnotes.into().abi()).ok() } pub unsafe fn OfferWatcherMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OfferWatcherMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOfferWatcherMode(&self, enmode: RTC_OFFER_WATCHER_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOfferWatcherMode)(::windows::core::Interface::as_raw(self), enmode).ok() } pub unsafe fn PrivacyMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrivacyMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivacyMode(&self, enmode: RTC_PRIVACY_MODE) -> ::windows::core::Result<()> { @@ -1878,13 +1878,13 @@ impl IRTCClientPresence2 { (::windows::core::Interface::vtable(self).base__.Import)(::windows::core::Interface::as_raw(self), varstorage.into().abi(), freplaceall).ok() } pub unsafe fn EnumerateBuddies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateBuddies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Buddies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Buddies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1893,7 +1893,7 @@ impl IRTCClientPresence2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Buddy)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1905,7 +1905,7 @@ impl IRTCClientPresence2 { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, IRTCProfile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddBuddy)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), bstrusername.into().abi(), bstrdata.into().abi(), fpersistent, pprofile.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveBuddy<'a, P0>(&self, pbuddy: P0) -> ::windows::core::Result<()> @@ -1915,13 +1915,13 @@ impl IRTCClientPresence2 { (::windows::core::Interface::vtable(self).base__.RemoveBuddy)(::windows::core::Interface::as_raw(self), pbuddy.into().abi()).ok() } pub unsafe fn EnumerateWatchers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateWatchers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Watchers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Watchers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1930,7 +1930,7 @@ impl IRTCClientPresence2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Watcher)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1941,7 +1941,7 @@ impl IRTCClientPresence2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddWatcher)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), bstrusername.into().abi(), bstrdata.into().abi(), fblocked, fpersistent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveWatcher<'a, P0>(&self, pwatcher: P0) -> ::windows::core::Result<()> @@ -1959,14 +1959,14 @@ impl IRTCClientPresence2 { (::windows::core::Interface::vtable(self).base__.SetLocalPresenceInfo)(::windows::core::Interface::as_raw(self), enstatus, bstrnotes.into().abi()).ok() } pub unsafe fn OfferWatcherMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OfferWatcherMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOfferWatcherMode(&self, enmode: RTC_OFFER_WATCHER_MODE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOfferWatcherMode)(::windows::core::Interface::as_raw(self), enmode).ok() } pub unsafe fn PrivacyMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PrivacyMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPrivacyMode(&self, enmode: RTC_PRIVACY_MODE) -> ::windows::core::Result<()> { @@ -1992,7 +1992,7 @@ impl IRTCClientPresence2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IRTCProfile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddGroup)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), bstrdata.into().abi(), pprofile.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveGroup<'a, P0>(&self, pgroup: P0) -> ::windows::core::Result<()> @@ -2002,13 +2002,13 @@ impl IRTCClientPresence2 { (::windows::core::Interface::vtable(self).RemoveGroup)(::windows::core::Interface::as_raw(self), pgroup.into().abi()).ok() } pub unsafe fn EnumerateGroups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateGroups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Groups(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Groups)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2017,7 +2017,7 @@ impl IRTCClientPresence2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Group)(::windows::core::Interface::as_raw(self), bstrgroupname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2029,7 +2029,7 @@ impl IRTCClientPresence2 { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, IRTCProfile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddWatcherEx)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), bstrusername.into().abi(), bstrdata.into().abi(), enstate, fpersistent, enscope, pprofile.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2038,7 +2038,7 @@ impl IRTCClientPresence2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_WatcherEx)(::windows::core::Interface::as_raw(self), enmode, bstrpresentityuri.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2052,7 +2052,7 @@ impl IRTCClientPresence2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_PresenceProperty(&self, enproperty: RTC_PRESENCE_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PresenceProperty)(::windows::core::Interface::as_raw(self), enproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2083,7 +2083,7 @@ impl IRTCClientPresence2 { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, IRTCProfile>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddBuddyEx)(::windows::core::Interface::as_raw(self), bstrpresentityuri.into().abi(), bstrusername.into().abi(), bstrdata.into().abi(), fpersistent, ensubscriptiontype, pprofile.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2203,7 +2203,7 @@ impl IRTCClientProvisioning { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateProfile)(::windows::core::Interface::as_raw(self), bstrprofilexml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableProfile<'a, P0>(&self, pprofile: P0, lregisterflags: i32) -> ::windows::core::Result<()> @@ -2219,13 +2219,13 @@ impl IRTCClientProvisioning { (::windows::core::Interface::vtable(self).DisableProfile)(::windows::core::Interface::as_raw(self), pprofile.into().abi()).ok() } pub unsafe fn EnumerateProfiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateProfiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Profiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2240,7 +2240,7 @@ impl IRTCClientProvisioning { (::windows::core::Interface::vtable(self).GetProfile)(::windows::core::Interface::as_raw(self), bstruseraccount.into().abi(), bstruserpassword.into().abi(), bstruseruri.into().abi(), bstrserver.into().abi(), ltransport, lcookie).ok() } pub unsafe fn SessionCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2310,7 +2310,7 @@ impl IRTCClientProvisioning2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateProfile)(::windows::core::Interface::as_raw(self), bstrprofilexml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableProfile<'a, P0>(&self, pprofile: P0, lregisterflags: i32) -> ::windows::core::Result<()> @@ -2326,13 +2326,13 @@ impl IRTCClientProvisioning2 { (::windows::core::Interface::vtable(self).base__.DisableProfile)(::windows::core::Interface::as_raw(self), pprofile.into().abi()).ok() } pub unsafe fn EnumerateProfiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateProfiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Profiles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Profiles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2347,7 +2347,7 @@ impl IRTCClientProvisioning2 { (::windows::core::Interface::vtable(self).base__.GetProfile)(::windows::core::Interface::as_raw(self), bstruseraccount.into().abi(), bstruserpassword.into().abi(), bstruseruri.into().abi(), bstrserver.into().abi(), ltransport, lcookie).ok() } pub unsafe fn SessionCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableProfileEx<'a, P0>(&self, pprofile: P0, lregisterflags: i32, lroamingflags: i32) -> ::windows::core::Result<()> @@ -2420,17 +2420,17 @@ pub struct IRTCCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -2594,7 +2594,7 @@ impl IRTCEnumBuddies { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2656,7 +2656,7 @@ impl IRTCEnumGroups { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2718,7 +2718,7 @@ impl IRTCEnumParticipants { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2780,7 +2780,7 @@ impl IRTCEnumPresenceDevices { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2842,7 +2842,7 @@ impl IRTCEnumProfiles { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2904,7 +2904,7 @@ impl IRTCEnumUserSearchResults { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2966,7 +2966,7 @@ impl IRTCEnumWatchers { (::windows::core::Interface::vtable(self).Skip)(::windows::core::Interface::as_raw(self), celt).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3078,23 +3078,23 @@ pub struct IRTCInfoEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCInfoEvent { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Participant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Participant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Info(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Info)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InfoHeader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InfoHeader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3182,19 +3182,19 @@ pub struct IRTCIntensityEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCIntensityEvent { pub unsafe fn Level(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Level)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Min(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Min)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Max(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Max)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3276,15 +3276,15 @@ pub struct IRTCMediaEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCMediaEvent { pub unsafe fn MediaType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EventType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EventReason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventReason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3365,29 +3365,29 @@ pub struct IRTCMediaRequestEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCMediaRequestEvent { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProposedMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProposedMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Accept(&self, lmediatypes: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Accept)(::windows::core::Interface::as_raw(self), lmediatypes).ok() } pub unsafe fn get_RemotePreferredSecurityLevel(&self, ensecuritytype: RTC_SECURITY_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RemotePreferredSecurityLevel)(::windows::core::Interface::as_raw(self), ensecuritytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reject(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Reject)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3472,31 +3472,31 @@ pub struct IRTCMessagingEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCMessagingEvent { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Participant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Participant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EventType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MessageHeader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MessageHeader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3586,25 +3586,25 @@ impl IRTCParticipant { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Removable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Removable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3666,15 +3666,15 @@ pub struct IRTCParticipantStateChangeEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCParticipantStateChangeEvent { pub unsafe fn Participant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Participant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3839,7 +3839,7 @@ impl IRTCPresenceContact { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PresentityURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PresentityURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3853,7 +3853,7 @@ impl IRTCPresenceContact { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3867,7 +3867,7 @@ impl IRTCPresenceContact { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3879,7 +3879,7 @@ impl IRTCPresenceContact { (::windows::core::Interface::vtable(self).SetData)(::windows::core::Interface::as_raw(self), bstrdata.into().abi()).ok() } pub unsafe fn Persistent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Persistent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPersistent(&self, fpersistent: i16) -> ::windows::core::Result<()> { @@ -3959,13 +3959,13 @@ pub struct IRTCPresenceDataEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCPresenceDataEvent { pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4055,19 +4055,19 @@ pub struct IRTCPresenceDataEvent_Vtbl { pub struct IRTCPresenceDevice(::windows::core::IUnknown); impl IRTCPresenceDevice { pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Notes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Notes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_PresenceProperty(&self, enproperty: RTC_PRESENCE_PROPERTY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PresenceProperty)(::windows::core::Interface::as_raw(self), enproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4136,23 +4136,23 @@ pub struct IRTCPresencePropertyEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCPresencePropertyEvent { pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PresenceProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PresenceProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4240,13 +4240,13 @@ pub struct IRTCPresenceStatusEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCPresenceStatusEvent { pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4338,89 +4338,89 @@ impl IRTCProfile { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Key(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Key)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn XML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_ProviderURI(&self, enuri: RTC_PROVIDER_URI) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_ProviderURI)(::windows::core::Interface::as_raw(self), enuri, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClientBanner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientBanner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientMinVer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientMinVer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientCurVer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientCurVer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientUpdateURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientUpdateURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4434,11 +4434,11 @@ impl IRTCProfile { (::windows::core::Interface::vtable(self).SetCredentials)(::windows::core::Interface::as_raw(self), bstruseruri.into().abi(), bstruseraccount.into().abi(), bstrpassword.into().abi()).ok() } pub unsafe fn SessionCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4552,89 +4552,89 @@ impl IRTCProfile2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Key(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Key)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn XML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.XML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProviderName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_ProviderURI(&self, enuri: RTC_PROVIDER_URI) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_ProviderURI)(::windows::core::Interface::as_raw(self), enuri, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProviderData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProviderData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClientBanner(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientBanner)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientMinVer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientMinVer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientCurVer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientCurVer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientUpdateURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientUpdateURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4648,17 +4648,17 @@ impl IRTCProfile2 { (::windows::core::Interface::vtable(self).base__.SetCredentials)(::windows::core::Interface::as_raw(self), bstruseruri.into().abi(), bstruseraccount.into().abi(), bstrpassword.into().abi()).ok() } pub unsafe fn SessionCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Realm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Realm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4670,7 +4670,7 @@ impl IRTCProfile2 { (::windows::core::Interface::vtable(self).SetRealm)(::windows::core::Interface::as_raw(self), bstrrealm.into().abi()).ok() } pub unsafe fn AllowedAuth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowedAuth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowedAuth(&self, lallowedauth: i32) -> ::windows::core::Result<()> { @@ -4749,15 +4749,15 @@ pub struct IRTCProfileEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCProfileEvent { pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4838,19 +4838,19 @@ pub struct IRTCProfileEvent2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCProfileEvent2 { pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Cookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EventType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4947,7 +4947,7 @@ pub struct IRTCReInviteEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCReInviteEvent { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4963,7 +4963,7 @@ impl IRTCReInviteEvent { (::windows::core::Interface::vtable(self).Reject)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5057,21 +5057,21 @@ pub struct IRTCRegistrationStateChangeEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCRegistrationStateChangeEvent { pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5156,21 +5156,21 @@ pub struct IRTCRoamingEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCRoamingEvent { pub unsafe fn EventType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5253,25 +5253,25 @@ pub struct IRTCRoamingEvent_Vtbl { pub struct IRTCSession(::windows::core::IUnknown); impl IRTCSession { pub unsafe fn Client(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Client)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Participants(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Participants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Answer(&self) -> ::windows::core::Result<()> { @@ -5296,7 +5296,7 @@ impl IRTCSession { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddParticipant)(::windows::core::Interface::as_raw(self), bstraddress.into().abi(), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveParticipant<'a, P0>(&self, pparticipant: P0) -> ::windows::core::Result<()> @@ -5306,23 +5306,23 @@ impl IRTCSession { (::windows::core::Interface::vtable(self).RemoveParticipant)(::windows::core::Interface::as_raw(self), pparticipant.into().abi()).ok() } pub unsafe fn EnumerateParticipants(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateParticipants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanAddParticipants(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanAddParticipants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RedirectedUserURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RedirectedUserURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RedirectedUserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RedirectedUserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NextRedirectedUser(&self) -> ::windows::core::Result<()> { @@ -5441,25 +5441,25 @@ pub struct IRTCSession_Vtbl { pub struct IRTCSession2(::windows::core::IUnknown); impl IRTCSession2 { pub unsafe fn Client(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Client)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Participants(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Participants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Answer(&self) -> ::windows::core::Result<()> { @@ -5484,7 +5484,7 @@ impl IRTCSession2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddParticipant)(::windows::core::Interface::as_raw(self), bstraddress.into().abi(), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveParticipant<'a, P0>(&self, pparticipant: P0) -> ::windows::core::Result<()> @@ -5494,23 +5494,23 @@ impl IRTCSession2 { (::windows::core::Interface::vtable(self).base__.RemoveParticipant)(::windows::core::Interface::as_raw(self), pparticipant.into().abi()).ok() } pub unsafe fn EnumerateParticipants(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateParticipants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanAddParticipants(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanAddParticipants)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RedirectedUserURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RedirectedUserURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RedirectedUserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RedirectedUserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NextRedirectedUser(&self) -> ::windows::core::Result<()> { @@ -5555,11 +5555,11 @@ impl IRTCSession2 { (::windows::core::Interface::vtable(self).put_PreferredSecurityLevel)(::windows::core::Interface::as_raw(self), ensecuritytype, ensecuritylevel).ok() } pub unsafe fn get_PreferredSecurityLevel(&self, ensecuritytype: RTC_SECURITY_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_PreferredSecurityLevel)(::windows::core::Interface::as_raw(self), ensecuritytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSecurityEnabled(&self, ensecuritytype: RTC_SECURITY_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSecurityEnabled)(::windows::core::Interface::as_raw(self), ensecuritytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5689,7 +5689,7 @@ impl IRTCSessionCallControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReferredByURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReferredByURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5703,11 +5703,11 @@ impl IRTCSessionCallControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReferCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReferCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsReferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsReferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5843,21 +5843,21 @@ pub struct IRTCSessionOperationCompleteEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionOperationCompleteEvent { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5942,25 +5942,25 @@ pub struct IRTCSessionOperationCompleteEvent2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionOperationCompleteEvent2 { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Cookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Participant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Participant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6118,21 +6118,21 @@ pub struct IRTCSessionReferStatusEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionReferStatusEvent { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReferStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReferStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6217,25 +6217,25 @@ pub struct IRTCSessionReferredEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionReferredEvent { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReferredByURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReferredByURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReferToURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReferToURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReferCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReferCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Accept(&self) -> ::windows::core::Result<()> { @@ -6338,21 +6338,21 @@ pub struct IRTCSessionStateChangeEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionStateChangeEvent { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6437,33 +6437,33 @@ pub struct IRTCSessionStateChangeEvent2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionStateChangeEvent2 { pub unsafe fn Session(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Session)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MediaTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MediaTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_RemotePreferredSecurityLevel(&self, ensecuritytype: RTC_SECURITY_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_RemotePreferredSecurityLevel)(::windows::core::Interface::as_raw(self), ensecuritytype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsForked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsForked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6569,7 +6569,7 @@ pub struct IRTCSessionStateChangeEvent2_Vtbl { pub struct IRTCUserSearch(::windows::core::IUnknown); impl IRTCUserSearch { pub unsafe fn CreateQuery(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateQuery)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExecuteSearch<'a, P0, P1>(&self, pquery: P0, pprofile: P1, lcookie: isize) -> ::windows::core::Result<()> @@ -6641,20 +6641,20 @@ impl IRTCUserSearchQuery { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SearchTerm)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchTerms(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchTerms)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn put_SearchPreference(&self, enpreference: RTC_USER_SEARCH_PREFERENCE, lvalue: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).put_SearchPreference)(::windows::core::Interface::as_raw(self), enpreference, lvalue).ok() } pub unsafe fn get_SearchPreference(&self, enpreference: RTC_USER_SEARCH_PREFERENCE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_SearchPreference)(::windows::core::Interface::as_raw(self), enpreference, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6668,7 +6668,7 @@ impl IRTCUserSearchQuery { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6741,7 +6741,7 @@ impl IRTCUserSearchResult { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Value(&self, encolumn: RTC_USER_SEARCH_COLUMN) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Value)(::windows::core::Interface::as_raw(self), encolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6796,33 +6796,33 @@ pub struct IRTCUserSearchResultsEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCUserSearchResultsEvent { pub unsafe fn EnumerateResults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateResults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Results(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Results)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Query(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Query)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoreAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoreAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6910,7 +6910,7 @@ impl IRTCWatcher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PresentityURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PresentityURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6924,7 +6924,7 @@ impl IRTCWatcher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6938,7 +6938,7 @@ impl IRTCWatcher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6950,14 +6950,14 @@ impl IRTCWatcher { (::windows::core::Interface::vtable(self).base__.SetData)(::windows::core::Interface::as_raw(self), bstrdata.into().abi()).ok() } pub unsafe fn Persistent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Persistent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPersistent(&self, fpersistent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPersistent)(::windows::core::Interface::as_raw(self), fpersistent).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, enstate: RTC_WATCHER_STATE) -> ::windows::core::Result<()> { @@ -7028,7 +7028,7 @@ impl IRTCWatcher2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PresentityURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PresentityURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7042,7 +7042,7 @@ impl IRTCWatcher2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7056,7 +7056,7 @@ impl IRTCWatcher2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7068,25 +7068,25 @@ impl IRTCWatcher2 { (::windows::core::Interface::vtable(self).base__.base__.SetData)(::windows::core::Interface::as_raw(self), bstrdata.into().abi()).ok() } pub unsafe fn Persistent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Persistent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPersistent(&self, fpersistent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetPersistent)(::windows::core::Interface::as_raw(self), fpersistent).ok() } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, enstate: RTC_WATCHER_STATE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetState)(::windows::core::Interface::as_raw(self), enstate).ok() } pub unsafe fn Profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7169,7 +7169,7 @@ pub struct IRTCWatcherEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCWatcherEvent { pub unsafe fn Watcher(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Watcher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7248,15 +7248,15 @@ pub struct IRTCWatcherEvent2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCWatcherEvent2 { pub unsafe fn Watcher(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Watcher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EventType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StatusCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs index cf70dde712..3575f35fc5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs @@ -19,7 +19,7 @@ pub unsafe fn ApplicationRecoveryInProgress() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ApplicationRecoveryInProgress(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Recovery\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] 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 dd1394a091..ff61038c4b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs @@ -136,17 +136,17 @@ pub struct IRendezvousApplication_Vtbl { pub struct IRendezvousSession(::windows::core::IUnknown); impl IRendezvousSession { pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemoteUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoteUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] 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 771baf002b..2bf3afa87b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -705,7 +705,7 @@ impl IADsTSUserEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TerminalServicesProfilePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TerminalServicesProfilePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -719,7 +719,7 @@ impl IADsTSUserEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TerminalServicesHomeDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TerminalServicesHomeDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -733,7 +733,7 @@ impl IADsTSUserEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TerminalServicesHomeDrive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TerminalServicesHomeDrive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -745,70 +745,70 @@ impl IADsTSUserEx { (::windows::core::Interface::vtable(self).SetTerminalServicesHomeDrive)(::windows::core::Interface::as_raw(self), pnewval.into().abi()).ok() } pub unsafe fn AllowLogon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowLogon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowLogon(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowLogon)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn EnableRemoteControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnableRemoteControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnableRemoteControl(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnableRemoteControl)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn MaxDisconnectionTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxDisconnectionTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxDisconnectionTime(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxDisconnectionTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn MaxConnectionTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxConnectionTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxConnectionTime(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxConnectionTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn MaxIdleTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxIdleTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxIdleTime(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxIdleTime)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ReconnectionAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReconnectionAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetReconnectionAction(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetReconnectionAction)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn BrokenConnectionAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BrokenConnectionAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBrokenConnectionAction(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBrokenConnectionAction)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ConnectClientDrivesAtLogon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectClientDrivesAtLogon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectClientDrivesAtLogon(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetConnectClientDrivesAtLogon)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ConnectClientPrintersAtLogon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectClientPrintersAtLogon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectClientPrintersAtLogon(&self, newval: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetConnectClientPrintersAtLogon)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn DefaultToMainPrinter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultToMainPrinter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultToMainPrinter(&self, newval: i32) -> ::windows::core::Result<()> { @@ -817,7 +817,7 @@ impl IADsTSUserEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TerminalServicesWorkDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TerminalServicesWorkDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -831,7 +831,7 @@ impl IADsTSUserEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TerminalServicesInitialProgram(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TerminalServicesInitialProgram)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -980,13 +980,13 @@ impl IAudioDeviceEndpoint { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRTCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRTCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEventDrivenCapable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventDrivenCapable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteExclusiveModeParametersToSharedMemory(&self, htargetprocess: usize, hnsperiod: i64, hnsbufferduration: i64, u32latencycoefficient: u32, pu32sharedmemorysize: *mut u32, phsharedmemory: *mut usize) -> ::windows::core::Result<()> { @@ -1050,15 +1050,15 @@ impl IAudioEndpoint { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetFrameFormat(&self) -> ::windows::core::Result<*mut super::super::Media::Audio::WAVEFORMATEX> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::Media::Audio::WAVEFORMATEX>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::Media::Audio::WAVEFORMATEX>(result__) } pub unsafe fn GetFramesPerPacket(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFramesPerPacket)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLatency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLatency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStreamFlags(&self, streamflags: u32) -> ::windows::core::Result<()> { @@ -1384,19 +1384,19 @@ impl IRemoteDesktopClient { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Actions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Actions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TouchPointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TouchPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1542,7 +1542,7 @@ impl IRemoteDesktopClientActions { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSnapshot(&self, snapshotencoding: SnapshotEncodingType, snapshotformat: SnapshotFormatType, snapshotwidth: u32, snapshotheight: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSnapshot)(::windows::core::Interface::as_raw(self), snapshotencoding, snapshotformat, snapshotwidth, snapshotheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1637,7 +1637,7 @@ impl IRemoteDesktopClientSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RetrieveSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetrieveSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1646,7 +1646,7 @@ impl IRemoteDesktopClientSettings { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRdpProperty)(::windows::core::Interface::as_raw(self), propertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1752,21 +1752,21 @@ impl IRemoteDesktopClientTouchPointer { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), enabled).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventsEnabled(&self, eventsenabled: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEventsEnabled)(::windows::core::Interface::as_raw(self), eventsenabled).ok() } pub unsafe fn EventsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPointerSpeed(&self, pointerspeed: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPointerSpeed)(::windows::core::Interface::as_raw(self), pointerspeed).ok() } pub unsafe fn PointerSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PointerSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2215,7 +2215,7 @@ impl ITSGPolicyEngine { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsQuarantineEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsQuarantineEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2332,29 +2332,29 @@ impl ITsSbClientConnection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Domain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Domain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InitialProgram(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialProgram)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadBalanceResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadBalanceResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FarmName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FarmName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2364,7 +2364,7 @@ impl ITsSbClientConnection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PutContext)(::windows::core::Interface::as_raw(self), contextid.into().abi(), context.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2373,11 +2373,11 @@ impl ITsSbClientConnection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), contextid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Environment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Environment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn get_ConnectionError(&self) -> ::windows::core::Result<()> { @@ -2386,31 +2386,31 @@ impl ITsSbClientConnection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SamUserAccount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SamUserAccount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn ClientConnectionPropertySet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientConnectionPropertySet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsFirstAssignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFirstAssignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RdFarmType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RdFarmType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserSidString(&self) -> ::windows::core::Result<*mut i8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut i8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserSidString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut i8>(result__) } pub unsafe fn GetDisconnectedSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisconnectedSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2612,17 +2612,17 @@ impl ITsSbEnvironment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ServerWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn EnvironmentPropertySet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnvironmentPropertySet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2811,7 +2811,7 @@ impl ITsSbFilterPluginStore { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn EnumerateProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2885,7 +2885,7 @@ impl ITsSbGenericNotifySink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWaitTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWaitTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2946,7 +2946,7 @@ impl ITsSbGlobalStore { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryTarget)(::windows::core::Interface::as_raw(self), providername.into().abi(), targetname.into().abi(), farmname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2956,7 +2956,7 @@ impl ITsSbGlobalStore { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuerySessionBySessionId)(::windows::core::Interface::as_raw(self), providername.into().abi(), dwsessionid, targetname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3083,7 +3083,7 @@ impl ITsSbLoadBalanceResult { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3947,7 +3947,7 @@ impl ITsSbProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTargetObject)(::windows::core::Interface::as_raw(self), targetname.into().abi(), environmentname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3956,7 +3956,7 @@ impl ITsSbProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLoadBalanceResultObject)(::windows::core::Interface::as_raw(self), targetname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3967,19 +3967,19 @@ impl ITsSbProvider { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSessionObject)(::windows::core::Interface::as_raw(self), targetname.into().abi(), username.into().abi(), domain.into().abi(), sessionid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn CreatePluginPropertySet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePluginPropertySet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn CreateTargetPropertySetObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTargetPropertySetObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3988,15 +3988,15 @@ impl ITsSbProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEnvironmentObject)(::windows::core::Interface::as_raw(self), name.into().abi(), serverweight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResourcePluginStore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourcePluginStore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilterPluginStore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilterPluginStore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4017,13 +4017,13 @@ impl ITsSbProvider { (::windows::core::Interface::vtable(self).UnRegisterForNotification)(::windows::core::Interface::as_raw(self), notificationtype, resourcetomonitor.into().abi()).ok() } pub unsafe fn GetInstanceOfGlobalStore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstanceOfGlobalStore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn CreateEnvironmentPropertySetObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEnvironmentPropertySetObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4564,7 +4564,7 @@ impl ITsSbResourcePluginStore { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryTarget)(::windows::core::Interface::as_raw(self), targetname.into().abi(), farmname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4573,7 +4573,7 @@ impl ITsSbResourcePluginStore { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuerySessionBySessionId)(::windows::core::Interface::as_raw(self), dwsessionid, targetname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTargetToStore<'a, P0>(&self, ptarget: P0) -> ::windows::core::Result<()> @@ -4614,7 +4614,7 @@ impl ITsSbResourcePluginStore { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryEnvironment)(::windows::core::Interface::as_raw(self), environmentname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateEnvironments(&self, pdwcount: *mut u32, pval: *mut *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -4668,7 +4668,7 @@ impl ITsSbResourcePluginStore { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetTargetState)(::windows::core::Interface::as_raw(self), targetname.into().abi(), newstate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSessionState<'a, P0>(&self, sbsession: P0) -> ::windows::core::Result<()> @@ -4741,7 +4741,7 @@ impl ITsSbResourcePluginStore { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AcquireTargetLock)(::windows::core::Interface::as_raw(self), targetname.into().abi(), dwtimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ReleaseTargetLock<'a, P0>(&self, pcontext: P0) -> ::windows::core::Result<()> @@ -4757,7 +4757,7 @@ impl ITsSbResourcePluginStore { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TestAndSetServerState)(::windows::core::Interface::as_raw(self), poolname.into().abi(), serverfqdn.into().abi(), newstate, teststate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4776,7 +4776,7 @@ impl ITsSbResourcePluginStore { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServerState)(::windows::core::Interface::as_raw(self), poolname.into().abi(), serverfqdn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4977,13 +4977,13 @@ pub struct ITsSbServiceNotification_Vtbl { pub struct ITsSbSession(::windows::core::IUnknown); impl ITsSbSession { pub unsafe fn SessionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4997,17 +4997,17 @@ impl ITsSbSession { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Username(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Username)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Domain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Domain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetState(&self, state: TSSESSION_STATE) -> ::windows::core::Result<()> { @@ -5016,7 +5016,7 @@ impl ITsSbSession { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5027,7 +5027,7 @@ impl ITsSbSession { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisconnectTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisconnectTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5038,7 +5038,7 @@ impl ITsSbSession { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InitialProgram(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialProgram)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5050,14 +5050,14 @@ impl ITsSbSession { (::windows::core::Interface::vtable(self).SetInitialProgram)(::windows::core::Interface::as_raw(self), application.into().abi()).ok() } pub unsafe fn ClientDisplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClientDisplay(&self, pclientdisplay: CLIENT_DISPLAY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetClientDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pclientdisplay)).ok() } pub unsafe fn ProtocolType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProtocolType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProtocolType(&self, val: u32) -> ::windows::core::Result<()> { @@ -5158,7 +5158,7 @@ impl ITsSbTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5172,7 +5172,7 @@ impl ITsSbTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FarmName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FarmName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5186,7 +5186,7 @@ impl ITsSbTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetFQDN(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetFQDN)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5200,7 +5200,7 @@ impl ITsSbTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetNetbios(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetNetbios)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5218,7 +5218,7 @@ impl ITsSbTarget { (::windows::core::Interface::vtable(self).put_IpAddresses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(sockaddr)), sockaddr.len() as _).ok() } pub unsafe fn TargetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTargetState(&self, state: TARGET_STATE) -> ::windows::core::Result<()> { @@ -5227,7 +5227,7 @@ impl ITsSbTarget { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn TargetPropertySet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetPropertySet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5241,7 +5241,7 @@ impl ITsSbTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EnvironmentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnvironmentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5253,15 +5253,15 @@ impl ITsSbTarget { (::windows::core::Interface::vtable(self).SetEnvironmentName)(::windows::core::Interface::as_raw(self), val.into().abi()).ok() } pub unsafe fn NumSessions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumSessions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumPendingConnections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumPendingConnections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TargetLoad(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetLoad)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5476,53 +5476,53 @@ impl ITsSbTaskInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StartTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EndTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Identifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Identifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Context(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Context)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Plugin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Plugin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5815,7 +5815,7 @@ pub struct ITsSbTaskPluginNotifySink_Vtbl { pub struct IWRdsEnhancedFastReconnectArbitrator(::windows::core::IUnknown); impl IWRdsEnhancedFastReconnectArbitrator { pub unsafe fn GetSessionForEnhancedFastReconnect(&self, psessionidarray: *const i32, dwsessioncount: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSessionForEnhancedFastReconnect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psessionidarray), dwsessioncount, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6006,7 +6006,7 @@ pub struct IWRdsGraphicsChannelEvents_Vtbl { pub struct IWRdsGraphicsChannelManager(::windows::core::IUnknown); impl IWRdsGraphicsChannelManager { pub unsafe fn CreateChannel(&self, pszchannelname: *const u8, channeltype: WRdsGraphicsChannelType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateChannel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pszchannelname), channeltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6056,7 +6056,7 @@ pub struct IWRdsGraphicsChannelManager_Vtbl { pub struct IWRdsProtocolConnection(::windows::core::IUnknown); impl IWRdsProtocolConnection { pub unsafe fn GetLogonErrorRedirector(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogonErrorRedirector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptConnection(&self) -> ::windows::core::Result<()> { @@ -6065,22 +6065,22 @@ impl IWRdsProtocolConnection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetClientData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClientMonitorData(&self, pnummonitors: *mut u32, pprimarymonitor: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetClientMonitorData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnummonitors), ::core::mem::transmute(pprimarymonitor)).ok() } pub unsafe fn GetUserCredentials(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserCredentials)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLicenseConnection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLicenseConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AuthenticateClientToSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticateClientToSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6099,7 +6099,7 @@ impl IWRdsProtocolConnection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetVideoHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVideoHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConnectNotify(&self, sessionid: u32) -> ::windows::core::Result<()> { @@ -6144,11 +6144,11 @@ impl IWRdsProtocolConnection { (::windows::core::Interface::vtable(self).Close)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetProtocolStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocolStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastInputTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastInputTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetErrorInfo(&self, ulerror: u32) -> ::windows::core::Result<()> { @@ -6161,14 +6161,14 @@ impl IWRdsProtocolConnection { P0: ::std::convert::Into<::windows::core::PCSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVirtualChannel)(::windows::core::Interface::as_raw(self), szendpointname.into(), bstatic.into(), requestedpriority, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryProperty(&self, querytype: ::windows::core::GUID, ppropertyentriesin: &[WTS_PROPERTY_VALUE], ppropertyentriesout: &mut [WTS_PROPERTY_VALUE]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).QueryProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(querytype), ppropertyentriesin.len() as _, ppropertyentriesout.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppropertyentriesin)), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ppropertyentriesout))).ok() } pub unsafe fn GetShadowConnection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShadowConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyCommandProcessCreated(&self, sessionid: u32) -> ::windows::core::Result<()> { @@ -6280,7 +6280,7 @@ impl IWRdsProtocolConnectionCallback { (::windows::core::Interface::vtable(self).RedrawWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rect)).ok() } pub unsafe fn GetConnectionId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectionId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6337,7 +6337,7 @@ impl IWRdsProtocolConnectionSettings { (::windows::core::Interface::vtable(self).SetConnectionSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propertyid), ::core::mem::transmute(ppropertyentriesin)).ok() } pub unsafe fn GetConnectionSetting(&self, propertyid: ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnectionSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propertyid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6454,7 +6454,7 @@ pub struct IWRdsProtocolLicenseConnection_Vtbl { pub struct IWRdsProtocolListener(::windows::core::IUnknown); impl IWRdsProtocolListener { pub unsafe fn GetSettings(&self, wrdslistenersettinglevel: WRDS_LISTENER_SETTING_LEVEL) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSettings)(::windows::core::Interface::as_raw(self), wrdslistenersettinglevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn StartListen<'a, P0>(&self, pcallback: P0) -> ::windows::core::Result<()> @@ -6520,7 +6520,7 @@ impl IWRdsProtocolListenerCallback { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWRdsProtocolConnection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnConnected)(::windows::core::Interface::as_raw(self), pconnection.into().abi(), ::core::mem::transmute(pwrdsconnectionsettings), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6579,7 +6579,7 @@ impl IWRdsProtocolLogonErrorRedirector { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RedirectStatus)(::windows::core::Interface::as_raw(self), pszmessage.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RedirectMessage<'a, P0, P1>(&self, pszcaption: P0, pszmessage: P1, utype: u32) -> ::windows::core::Result @@ -6587,7 +6587,7 @@ impl IWRdsProtocolLogonErrorRedirector { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RedirectMessage)(::windows::core::Interface::as_raw(self), pszcaption.into(), pszmessage.into(), utype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RedirectLogonError<'a, P0, P1>(&self, ntsstatus: i32, ntssubstatus: i32, pszcaption: P0, pszmessage: P1, utype: u32) -> ::windows::core::Result @@ -6595,7 +6595,7 @@ impl IWRdsProtocolLogonErrorRedirector { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RedirectLogonError)(::windows::core::Interface::as_raw(self), ntsstatus, ntssubstatus, pszcaption.into(), pszmessage.into(), utype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6659,7 +6659,7 @@ impl IWRdsProtocolManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateListener)(::windows::core::Interface::as_raw(self), wszlistenername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyServiceStateChange(&self, ptsservicestatechange: *const WTS_SERVICE_STATE) -> ::windows::core::Result<()> { @@ -6744,7 +6744,7 @@ impl IWRdsProtocolSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSettings(&self, wrdssettingtype: WRDS_SETTING_TYPE, wrdssettinglevel: WRDS_SETTING_LEVEL) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSettings)(::windows::core::Interface::as_raw(self), wrdssettingtype, wrdssettinglevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7007,7 +7007,7 @@ impl IWTSBitmapRenderService { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWTSBitmapRendererCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMappedRenderer)(::windows::core::Interface::as_raw(self), mappingid, pmappedrenderercallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7060,7 +7060,7 @@ impl IWTSBitmapRenderer { (::windows::core::Interface::vtable(self).Render)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(imageformat), dwwidth, dwheight, cbstride, pimagebuffer.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pimagebuffer))).ok() } pub unsafe fn GetRendererStatistics(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRendererStatistics)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveMapping(&self) -> ::windows::core::Result<()> { @@ -7171,7 +7171,7 @@ impl IWTSListener { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetConfiguration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConfiguration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7346,7 +7346,7 @@ pub struct IWTSPlugin_Vtbl { pub struct IWTSPluginServiceProvider(::windows::core::IUnknown); impl IWTSPluginServiceProvider { pub unsafe fn GetService(&self, serviceid: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(serviceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -7396,7 +7396,7 @@ pub struct IWTSPluginServiceProvider_Vtbl { pub struct IWTSProtocolConnection(::windows::core::IUnknown); impl IWTSProtocolConnection { pub unsafe fn GetLogonErrorRedirector(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLogonErrorRedirector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7410,19 +7410,19 @@ impl IWTSProtocolConnection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetClientData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUserCredentials(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserCredentials)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLicenseConnection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLicenseConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AuthenticateClientToSession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticateClientToSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifySessionId(&self, sessionid: *const WTS_SESSION_ID) -> ::windows::core::Result<()> { @@ -7477,11 +7477,11 @@ impl IWTSProtocolConnection { (::windows::core::Interface::vtable(self).Close)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetProtocolStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtocolStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastInputTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastInputTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetErrorInfo(&self, ulerror: u32) -> ::windows::core::Result<()> { @@ -7497,14 +7497,14 @@ impl IWTSProtocolConnection { P0: ::std::convert::Into<::windows::core::PCSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateVirtualChannel)(::windows::core::Interface::as_raw(self), szendpointname.into(), bstatic.into(), requestedpriority, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryProperty(&self, querytype: ::windows::core::GUID, ppropertyentriesin: &[WTS_PROPERTY_VALUE], ppropertyentriesout: &mut [WTS_PROPERTY_VALUE]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).QueryProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(querytype), ppropertyentriesin.len() as _, ppropertyentriesout.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppropertyentriesin)), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ppropertyentriesout))).ok() } pub unsafe fn GetShadowConnection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShadowConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7790,7 +7790,7 @@ impl IWTSProtocolListenerCallback { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWTSProtocolConnection>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnConnected)(::windows::core::Interface::as_raw(self), pconnection.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7846,7 +7846,7 @@ impl IWTSProtocolLogonErrorRedirector { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RedirectStatus)(::windows::core::Interface::as_raw(self), pszmessage.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RedirectMessage<'a, P0, P1>(&self, pszcaption: P0, pszmessage: P1, utype: u32) -> ::windows::core::Result @@ -7854,7 +7854,7 @@ impl IWTSProtocolLogonErrorRedirector { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RedirectMessage)(::windows::core::Interface::as_raw(self), pszcaption.into(), pszmessage.into(), utype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RedirectLogonError<'a, P0, P1>(&self, ntsstatus: i32, ntssubstatus: i32, pszcaption: P0, pszmessage: P1, utype: u32) -> ::windows::core::Result @@ -7862,7 +7862,7 @@ impl IWTSProtocolLogonErrorRedirector { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RedirectLogonError)(::windows::core::Interface::as_raw(self), ntsstatus, ntssubstatus, pszcaption.into(), pszmessage.into(), utype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7918,7 +7918,7 @@ impl IWTSProtocolManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateListener)(::windows::core::Interface::as_raw(self), wszlistenername.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyServiceStateChange(&self, ptsservicestatechange: *const WTS_SERVICE_STATE) -> ::windows::core::Result<()> { @@ -8105,7 +8105,7 @@ pub struct IWTSProtocolShadowConnection_Vtbl { pub struct IWTSSBPlugin(::windows::core::IUnknown); impl IWTSSBPlugin { pub unsafe fn Initialize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WTSSBX_MachineChangeNotification(&self, notificationtype: WTSSBX_NOTIFICATION_TYPE, machineid: i32, pmachineinfo: *const WTSSBX_MACHINE_INFO) -> ::windows::core::Result<()> { @@ -8303,7 +8303,7 @@ impl IWTSVirtualChannelManager { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWTSListenerCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateListener)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pszchannelname), uflags, plistenercallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8355,7 +8355,7 @@ impl IWorkspace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWorkspaceNames(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWorkspaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8367,7 +8367,7 @@ impl IWorkspace { (::windows::core::Interface::vtable(self).StartRemoteApplication)(::windows::core::Interface::as_raw(self), bstrworkspaceid.into().abi(), ::core::mem::transmute(psaparams)).ok() } pub unsafe fn GetProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8427,7 +8427,7 @@ impl IWorkspace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWorkspaceNames(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWorkspaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8439,7 +8439,7 @@ impl IWorkspace2 { (::windows::core::Interface::vtable(self).base__.StartRemoteApplication)(::windows::core::Interface::as_raw(self), bstrworkspaceid.into().abi(), ::core::mem::transmute(psaparams)).ok() } pub unsafe fn GetProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8520,7 +8520,7 @@ impl IWorkspace3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWorkspaceNames(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWorkspaceNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8532,7 +8532,7 @@ impl IWorkspace3 { (::windows::core::Interface::vtable(self).base__.base__.StartRemoteApplication)(::windows::core::Interface::as_raw(self), bstrworkspaceid.into().abi(), ::core::mem::transmute(psaparams)).ok() } pub unsafe fn GetProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8553,7 +8553,7 @@ impl IWorkspace3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClaimsToken2)(::windows::core::Interface::as_raw(self), bstrclaimshint.into().abi(), bstruserhint.into().abi(), claimcookie, hwndcreduiparent, ::core::mem::transmute(rectcreduiparent), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8651,13 +8651,13 @@ impl IWorkspaceClientExt { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetResourceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetResourceDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IssueDisconnect(&self) -> ::windows::core::Result<()> { @@ -8721,7 +8721,7 @@ impl IWorkspaceRegistration { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWorkspaceClientExt>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddResource)(::windows::core::Interface::as_raw(self), punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveResource(&self, dwcookieconnection: u32) -> ::windows::core::Result<()> { @@ -8778,7 +8778,7 @@ impl IWorkspaceRegistration2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWorkspaceClientExt>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddResource)(::windows::core::Interface::as_raw(self), punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveResource(&self, dwcookieconnection: u32) -> ::windows::core::Result<()> { @@ -8876,7 +8876,7 @@ impl IWorkspaceReportMessage { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsErrorMessageRegistered)(::windows::core::Interface::as_raw(self), bstrwkspid.into().abi(), dwerrortype, bstrerrormessagetype.into().abi(), dwerrorcode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8967,7 +8967,7 @@ impl IWorkspaceResTypeRegistry { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRegisteredFileExtensions(&self, fmachinewide: i16) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegisteredFileExtensions)(::windows::core::Interface::as_raw(self), fmachinewide, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8976,7 +8976,7 @@ impl IWorkspaceResTypeRegistry { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceTypeInfo)(::windows::core::Interface::as_raw(self), fmachinewide, bstrfileextension.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9107,11 +9107,11 @@ impl IWorkspaceScriptable { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWorkspaceCredentialSpecified)(::windows::core::Interface::as_raw(self), bstrworkspaceid.into().abi(), bcountunauthenticatedcredentials, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsWorkspaceSSOEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWorkspaceSSOEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9263,11 +9263,11 @@ impl IWorkspaceScriptable2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsWorkspaceCredentialSpecified)(::windows::core::Interface::as_raw(self), bstrworkspaceid.into().abi(), bcountunauthenticatedcredentials, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsWorkspaceSSOEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsWorkspaceSSOEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9443,11 +9443,11 @@ impl IWorkspaceScriptable3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsWorkspaceCredentialSpecified)(::windows::core::Interface::as_raw(self), bstrworkspaceid.into().abi(), bcountunauthenticatedcredentials, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsWorkspaceSSOEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsWorkspaceSSOEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9636,23 +9636,23 @@ impl ItsPubPlugin { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResource)(::windows::core::Interface::as_raw(self), alias.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCacheLastUpdateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCacheLastUpdateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pluginName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pluginName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pluginVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pluginVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResolveResource<'a, P0, P1>(&self, resourcetype: *mut u32, resourcelocation: ::windows::core::PWSTR, endpointname: ::windows::core::PWSTR, userid: P0, alias: P1) -> ::windows::core::Result<()> @@ -9729,23 +9729,23 @@ impl ItsPubPlugin2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetResource)(::windows::core::Interface::as_raw(self), alias.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCacheLastUpdateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCacheLastUpdateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pluginName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.pluginName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pluginVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.pluginVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResolveResource<'a, P0, P1>(&self, resourcetype: *mut u32, resourcelocation: ::windows::core::PWSTR, endpointname: ::windows::core::PWSTR, userid: P0, alias: P1) -> ::windows::core::Result<()> @@ -9765,7 +9765,7 @@ impl ItsPubPlugin2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResource2)(::windows::core::Interface::as_raw(self), alias.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResolvePersonalDesktop<'a, P0, P1>(&self, userid: P0, poolid: P1, epdresolutiontype: TSPUB_PLUGIN_PD_RESOLUTION_TYPE, ppdassignmenttype: *mut TSPUB_PLUGIN_PD_ASSIGNMENT_TYPE, endpointname: ::windows::core::PWSTR) -> ::windows::core::Result<()> 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 c4a9306464..5ff6ebdb55 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -1033,25 +1033,25 @@ impl IWSMan { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSession)(::windows::core::Interface::as_raw(self), connection.into().abi(), flags, connectionoptions.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateConnectionOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateConnectionOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CommandLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CommandLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1147,7 +1147,7 @@ impl IWSManConnectionOptions { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1255,7 +1255,7 @@ impl IWSManConnectionOptionsEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1277,7 +1277,7 @@ impl IWSManConnectionOptionsEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CertificateThumbprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CertificateThumbprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1391,7 +1391,7 @@ impl IWSManConnectionOptionsEx2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1413,7 +1413,7 @@ impl IWSManConnectionOptionsEx2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CertificateThumbprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CertificateThumbprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1434,31 +1434,31 @@ impl IWSManConnectionOptionsEx2 { (::windows::core::Interface::vtable(self).SetProxy)(::windows::core::Interface::as_raw(self), accesstype, authenticationmechanism, username.into().abi(), password.into().abi()).ok() } pub unsafe fn ProxyIEConfig(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyIEConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyWinHttpConfig(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyWinHttpConfig)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyAutoDetect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyAutoDetect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyNoProxyServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyNoProxyServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyAuthenticationUseNegotiate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyAuthenticationUseNegotiate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyAuthenticationUseBasic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyAuthenticationUseBasic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyAuthenticationUseDigest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyAuthenticationUseDigest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1585,17 +1585,17 @@ impl IWSManEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReadItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AtEndOfStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AtEndOfStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1688,25 +1688,25 @@ impl IWSManEx { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSession)(::windows::core::Interface::as_raw(self), connection.into().abi(), flags, connectionoptions.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateConnectionOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateConnectionOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CommandLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CommandLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1715,85 +1715,85 @@ impl IWSManEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateResourceLocator)(::windows::core::Interface::as_raw(self), strresourcelocator.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUTF8(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUTF8)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagCredUsernamePassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagCredUsernamePassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagSkipCACheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagSkipCACheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagSkipCNCheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagSkipCNCheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseDigest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUseDigest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseNegotiate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUseNegotiate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseBasic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUseBasic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseKerberos(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUseKerberos)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagNoEncryption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagNoEncryption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagEnableSPNServerPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagEnableSPNServerPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseNoAuthentication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUseNoAuthentication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagNonXmlText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationFlagNonXmlText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagReturnEPR(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationFlagReturnEPR)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagReturnObjectAndEPR(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationFlagReturnObjectAndEPR)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetErrorMessage(&self, errornumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorMessage)(::windows::core::Interface::as_raw(self), errornumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagHierarchyDeep(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationFlagHierarchyDeep)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagHierarchyShallow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationFlagHierarchyShallow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationFlagHierarchyDeepBasePropsOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagReturnObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationFlagReturnObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1921,25 +1921,25 @@ impl IWSManEx2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateSession)(::windows::core::Interface::as_raw(self), connection.into().abi(), flags, connectionoptions.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateConnectionOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateConnectionOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CommandLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CommandLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1948,89 +1948,89 @@ impl IWSManEx2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateResourceLocator)(::windows::core::Interface::as_raw(self), strresourcelocator.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUTF8(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagUTF8)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagCredUsernamePassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagCredUsernamePassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagSkipCACheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagSkipCACheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagSkipCNCheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagSkipCNCheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseDigest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagUseDigest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseNegotiate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagUseNegotiate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseBasic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagUseBasic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseKerberos(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagUseKerberos)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagNoEncryption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagNoEncryption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagEnableSPNServerPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagEnableSPNServerPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseNoAuthentication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagUseNoAuthentication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagNonXmlText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerationFlagNonXmlText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagReturnEPR(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerationFlagReturnEPR)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagReturnObjectAndEPR(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerationFlagReturnObjectAndEPR)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetErrorMessage(&self, errornumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetErrorMessage)(::windows::core::Interface::as_raw(self), errornumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagHierarchyDeep(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerationFlagHierarchyDeep)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagHierarchyShallow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerationFlagHierarchyShallow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerationFlagHierarchyDeepBasePropsOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagReturnObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerationFlagReturnObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseClientCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUseClientCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2151,25 +2151,25 @@ impl IWSManEx3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSession)(::windows::core::Interface::as_raw(self), connection.into().abi(), flags, connectionoptions.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateConnectionOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateConnectionOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CommandLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CommandLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2178,117 +2178,117 @@ impl IWSManEx3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateResourceLocator)(::windows::core::Interface::as_raw(self), strresourcelocator.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUTF8(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagUTF8)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagCredUsernamePassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagCredUsernamePassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagSkipCACheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagSkipCACheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagSkipCNCheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagSkipCNCheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseDigest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagUseDigest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseNegotiate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagUseNegotiate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseBasic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagUseBasic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseKerberos(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagUseKerberos)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagNoEncryption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagNoEncryption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagEnableSPNServerPort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagEnableSPNServerPort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseNoAuthentication(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SessionFlagUseNoAuthentication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagNonXmlText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumerationFlagNonXmlText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagReturnEPR(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumerationFlagReturnEPR)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagReturnObjectAndEPR(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumerationFlagReturnObjectAndEPR)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetErrorMessage(&self, errornumber: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetErrorMessage)(::windows::core::Interface::as_raw(self), errornumber, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagHierarchyDeep(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumerationFlagHierarchyDeep)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagHierarchyShallow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumerationFlagHierarchyShallow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumerationFlagHierarchyDeepBasePropsOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagReturnObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EnumerationFlagReturnObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseClientCertificate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SessionFlagUseClientCertificate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUTF16(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUTF16)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseCredSsp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUseCredSsp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagAssociationInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationFlagAssociationInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerationFlagAssociatedInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationFlagAssociatedInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagSkipRevocationCheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagSkipRevocationCheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagAllowNegotiateImplicitCredentials(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagAllowNegotiateImplicitCredentials)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SessionFlagUseSsl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SessionFlagUseSsl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2433,7 +2433,7 @@ impl IWSManInternal { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConfigSDDL)(::windows::core::Interface::as_raw(self), session.into().abi(), resourceuri.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2525,7 +2525,7 @@ impl IWSManResourceLocator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ResourceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResourceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2543,7 +2543,7 @@ impl IWSManResourceLocator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FragmentPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FragmentPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2557,7 +2557,7 @@ impl IWSManResourceLocator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FragmentDialect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FragmentDialect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2589,7 +2589,7 @@ impl IWSManResourceLocator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MustUnderstandOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MustUnderstandOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClearOptions(&self) -> ::windows::core::Result<()> { @@ -2598,7 +2598,7 @@ impl IWSManResourceLocator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2771,7 +2771,7 @@ impl IWSManSession { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Get)(::windows::core::Interface::as_raw(self), resourceuri.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2781,7 +2781,7 @@ impl IWSManSession { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Put)(::windows::core::Interface::as_raw(self), resourceuri.into().abi(), resource.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2791,7 +2791,7 @@ impl IWSManSession { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), resourceuri.into().abi(), resource.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2810,7 +2810,7 @@ impl IWSManSession { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Invoke2)(::windows::core::Interface::as_raw(self), actionuri.into().abi(), resourceuri.into().abi(), parameters.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2821,30 +2821,30 @@ impl IWSManSession { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enumerate)(::windows::core::Interface::as_raw(self), resourceuri.into().abi(), filter.into().abi(), dialect.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Identify(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Identify)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BatchItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BatchItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBatchItems(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBatchItems)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Timeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Timeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTimeout(&self, value: i32) -> ::windows::core::Result<()> { 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 b9f954ea36..38466d3ec8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -7138,15 +7138,15 @@ pub const DataLinks: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x pub struct DataSource(::windows::core::IUnknown); impl DataSource { pub unsafe fn getDataMember(&self, bstrdm: *const u16, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getDataMember)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(bstrdm), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn getDataMemberName(&self, lindex: i32) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getDataMemberName)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn getDataMemberCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getDataMemberCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn addDataSourceListener<'a, P0>(&self, pdsl: P0) -> ::windows::core::Result<()> @@ -8459,7 +8459,7 @@ impl ::core::default::Default for HITRANGE { pub struct IAccessor(::windows::core::IUnknown); impl IAccessor { pub unsafe fn AddRefAccessor(&self, haccessor: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddRefAccessor)(::windows::core::Interface::as_raw(self), haccessor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8473,7 +8473,7 @@ impl IAccessor { (::windows::core::Interface::vtable(self).GetBindings)(::windows::core::Interface::as_raw(self), haccessor, ::core::mem::transmute(pdwaccessorflags), ::core::mem::transmute(pcbindings), ::core::mem::transmute(prgbindings)).ok() } pub unsafe fn ReleaseAccessor(&self, haccessor: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReleaseAccessor)(::windows::core::Interface::as_raw(self), haccessor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8708,11 +8708,11 @@ pub struct IBindResource_Vtbl { pub struct IChapteredRowset(::windows::core::IUnknown); impl IChapteredRowset { pub unsafe fn AddRefChapter(&self, hchapter: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddRefChapter)(::windows::core::Interface::as_raw(self), hchapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReleaseChapter(&self, hchapter: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReleaseChapter)(::windows::core::Interface::as_raw(self), hchapter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8846,7 +8846,7 @@ impl IColumnMapperCreator { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnMapper)(::windows::core::Interface::as_raw(self), wcsmachinename.into(), wcscatalogname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9113,7 +9113,7 @@ impl ICommand { (::windows::core::Interface::vtable(self).Execute)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(pparams), ::core::mem::transmute(pcrowsaffected), ::core::mem::transmute(pprowset)).ok() } pub unsafe fn GetDBSession(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDBSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -9514,7 +9514,7 @@ impl ICommandText { (::windows::core::Interface::vtable(self).base__.Execute)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(pparams), ::core::mem::transmute(pcrowsaffected), ::core::mem::transmute(pprowset)).ok() } pub unsafe fn GetDBSession(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDBSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCommandText(&self, pguiddialect: *mut ::windows::core::GUID, ppwszcommand: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { @@ -9708,7 +9708,7 @@ impl ICondition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9736,13 +9736,13 @@ impl ICondition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSizeMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSizeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Search_Common\"`*"] #[cfg(feature = "Win32_System_Search_Common")] pub unsafe fn GetConditionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConditionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubConditions(&self) -> ::windows::core::Result @@ -9758,11 +9758,11 @@ impl ICondition { (::windows::core::Interface::vtable(self).GetComparisonInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppszpropertyname), ::core::mem::transmute(pcop), ::core::mem::transmute(ppropvar)).ok() } pub unsafe fn GetValueType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetValueNormalization(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValueNormalization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetInputTerms(&self, pppropertyterm: *mut ::core::option::Option, ppoperationterm: *mut ::core::option::Option, ppvalueterm: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -9771,7 +9771,7 @@ impl ICondition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9885,7 +9885,7 @@ impl ICondition2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9913,13 +9913,13 @@ impl ICondition2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSizeMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSizeMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Search_Common\"`*"] #[cfg(feature = "Win32_System_Search_Common")] pub unsafe fn GetConditionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetConditionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubConditions(&self) -> ::windows::core::Result @@ -9935,11 +9935,11 @@ impl ICondition2 { (::windows::core::Interface::vtable(self).base__.GetComparisonInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppszpropertyname), ::core::mem::transmute(pcop), ::core::mem::transmute(ppropvar)).ok() } pub unsafe fn GetValueType(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetValueNormalization(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValueNormalization)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetInputTerms(&self, pppropertyterm: *mut ::core::option::Option, ppoperationterm: *mut ::core::option::Option, ppvalueterm: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -9948,11 +9948,11 @@ impl ICondition2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLocale(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLocale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -10080,7 +10080,7 @@ impl IConditionFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, ICondition>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MakeNot)(::windows::core::Interface::as_raw(self), pcsub.into().abi(), fsimplify.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Search_Common\"`*"] @@ -10090,7 +10090,7 @@ impl IConditionFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IEnumUnknown>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MakeAndOr)(::windows::core::Interface::as_raw(self), ct, peusubs.into().abi(), fsimplify.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`*"] @@ -10104,7 +10104,7 @@ impl IConditionFactory { P4: ::std::convert::Into<::windows::core::InParam<'a, IRichChunk>>, P5: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MakeLeaf)(::windows::core::Interface::as_raw(self), pszpropertyname.into(), cop, pszvaluetype.into(), ::core::mem::transmute(ppropvar), ppropertynameterm.into().abi(), poperationterm.into().abi(), pvalueterm.into().abi(), fexpand.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10113,7 +10113,7 @@ impl IConditionFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, ICondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Resolve)(::windows::core::Interface::as_raw(self), pc.into().abi(), sqro, ::core::mem::transmute(pstreferencetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10184,7 +10184,7 @@ impl IConditionFactory2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ICondition>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MakeNot)(::windows::core::Interface::as_raw(self), pcsub.into().abi(), fsimplify.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Search_Common\"`*"] @@ -10194,7 +10194,7 @@ impl IConditionFactory2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IEnumUnknown>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MakeAndOr)(::windows::core::Interface::as_raw(self), ct, peusubs.into().abi(), fsimplify.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`*"] @@ -10208,7 +10208,7 @@ impl IConditionFactory2 { P4: ::std::convert::Into<::windows::core::InParam<'a, IRichChunk>>, P5: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MakeLeaf)(::windows::core::Interface::as_raw(self), pszpropertyname.into(), cop, pszvaluetype.into(), ::core::mem::transmute(ppropvar), ppropertynameterm.into().abi(), poperationterm.into().abi(), pvalueterm.into().abi(), fexpand.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10217,7 +10217,7 @@ impl IConditionFactory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ICondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Resolve)(::windows::core::Interface::as_raw(self), pc.into().abi(), sqro, ::core::mem::transmute(pstreferencetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10446,7 +10446,7 @@ impl IConditionGenerator { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultPhrase)(::windows::core::Interface::as_raw(self), pszvaluetype.into(), ::core::mem::transmute(ppropvar), fuseenglish.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -10811,7 +10811,7 @@ impl IDBCreateCommand { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCommand)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -10864,7 +10864,7 @@ impl IDBCreateSession { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSession)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -10993,7 +10993,7 @@ pub struct IDBDataSourceAdmin_Vtbl { pub struct IDBInfo(::windows::core::IUnknown); impl IDBInfo { pub unsafe fn GetKeywords(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeywords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11122,7 +11122,7 @@ impl IDBPromptInitialize { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PromptFileName)(::windows::core::Interface::as_raw(self), hwndparent.into(), dwpromptoptions, pwszinitialdirectory.into(), pwszinitialfile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -11254,7 +11254,7 @@ impl IDBSchemaCommand { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCommand)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(rguidschema), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSchemas(&self, pcschemas: *mut u32, prgschemas: *mut *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -11615,7 +11615,7 @@ impl IDataInitialize { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInitializationString)(::windows::core::Interface::as_raw(self), pdatasource.into().abi(), fincludepassword, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn CreateDBInstance<'a, P0, P1>(&self, clsidprovider: *const ::windows::core::GUID, punkouter: P0, dwclsctx: u32, pwszreserved: P1, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> @@ -11623,7 +11623,7 @@ impl IDataInitialize { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDBInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsidprovider), punkouter.into().abi(), dwclsctx, pwszreserved.into(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11639,7 +11639,7 @@ impl IDataInitialize { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadStringFromStorage)(::windows::core::Interface::as_raw(self), pwszfilename.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn WriteStringToStorage<'a, P0, P1>(&self, pwszfilename: P0, pwszinitializationstring: P1, dwcreationdisposition: u32) -> ::windows::core::Result<()> @@ -11706,7 +11706,7 @@ pub struct IDataSourceLocator(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataSourceLocator { pub unsafe fn hWnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hWnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SethWnd(&self, hwndparent: i64) -> ::windows::core::Result<()> { @@ -11715,7 +11715,7 @@ impl IDataSourceLocator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn PromptNew(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PromptNew)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11806,11 +11806,11 @@ pub struct IDataSourceLocator_Vtbl { pub struct IEntity(::windows::core::IUnknown); impl IEntity { pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Base(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Base)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Relationships(&self) -> ::windows::core::Result @@ -11824,7 +11824,7 @@ impl IEntity { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelationship)(::windows::core::Interface::as_raw(self), pszrelationname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MetaData(&self) -> ::windows::core::Result @@ -11845,11 +11845,11 @@ impl IEntity { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamedEntity)(::windows::core::Interface::as_raw(self), pszvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultPhrase(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -11917,11 +11917,11 @@ impl IEnumItemProperties { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11987,7 +11987,7 @@ impl IEnumSearchRoots { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12049,7 +12049,7 @@ impl IEnumSearchScopeRules { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12111,11 +12111,11 @@ impl IEnumSubscription { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12244,27 +12244,27 @@ impl IErrorRecords { (::windows::core::Interface::vtable(self).AddErrorRecord)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(perrorinfo), dwlookupid, ::core::mem::transmute(pdispparams), punkcustomerror.into().abi(), dwdynamicerrorid).ok() } pub unsafe fn GetBasicErrorInfo(&self, ulrecordnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBasicErrorInfo)(::windows::core::Interface::as_raw(self), ulrecordnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCustomErrorObject(&self, ulrecordnum: u32, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCustomErrorObject)(::windows::core::Interface::as_raw(self), ulrecordnum, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetErrorInfo(&self, ulrecordnum: u32, lcid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorInfo)(::windows::core::Interface::as_raw(self), ulrecordnum, lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetErrorParameters(&self, ulrecordnum: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorParameters)(::windows::core::Interface::as_raw(self), ulrecordnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecordCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRecordCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12328,7 +12328,7 @@ pub struct IErrorRecords_Vtbl { pub struct IGetDataSource(::windows::core::IUnknown); impl IGetDataSource { pub unsafe fn GetDataSource(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -12381,11 +12381,11 @@ impl IGetRow { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRowFromHROW)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), hrow, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetURLFromHROW(&self, hrow: usize) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURLFromHROW)(::windows::core::Interface::as_raw(self), hrow, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -12436,7 +12436,7 @@ pub struct IGetRow_Vtbl { pub struct IGetSession(::windows::core::IUnknown); impl IGetSession { pub unsafe fn GetSession(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -12486,7 +12486,7 @@ pub struct IGetSession_Vtbl { pub struct IGetSourceRow(::windows::core::IUnknown); impl IGetSourceRow { pub unsafe fn GetSourceRow(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceRow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -12861,7 +12861,7 @@ impl IMDDataset { (::windows::core::Interface::vtable(self).GetCellData)(::windows::core::Interface::as_raw(self), haccessor, ulstartcell, ulendcell, ::core::mem::transmute(pdata)).ok() } pub unsafe fn GetSpecification(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpecification)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -13219,11 +13219,11 @@ impl ::core::fmt::Debug for INTERVAL_LIMIT_KIND { pub struct INamedEntity(::windows::core::IUnknown); impl INamedEntity { pub unsafe fn GetValue(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn DefaultPhrase(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -13419,19 +13419,19 @@ impl IOpLockStatus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOplockValid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOplockValid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsOplockBroken(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOplockBroken)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOplockEventHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOplockEventHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13552,7 +13552,7 @@ impl IParentRowset { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChildRowset)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), iordinal, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -13662,7 +13662,7 @@ impl IProvideMoniker { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMoniker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMoniker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13721,7 +13721,7 @@ impl IQueryParser { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IEnumUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parse)(::windows::core::Interface::as_raw(self), pszinputstring.into(), pcustomproperties.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -13732,7 +13732,7 @@ impl IQueryParser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetOption(&self, option: STRUCTURED_QUERY_SINGLE_OPTION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOption)(::windows::core::Interface::as_raw(self), option, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -13744,7 +13744,7 @@ impl IQueryParser { (::windows::core::Interface::vtable(self).SetMultiOption)(::windows::core::Interface::as_raw(self), option, pszoptionkey.into(), ::core::mem::transmute(poptionvalue)).ok() } pub unsafe fn GetSchemaProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSchemaProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13754,7 +13754,7 @@ impl IQueryParser { P0: ::std::convert::Into<::windows::core::InParam<'a, ICondition>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RestateToString)(::windows::core::Interface::as_raw(self), pcondition.into().abi(), fuseenglish.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn ParsePropertyValue<'a, P0, P1>(&self, pszpropertyname: P0, pszinputstring: P1) -> ::windows::core::Result @@ -13762,7 +13762,7 @@ impl IQueryParser { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParsePropertyValue)(::windows::core::Interface::as_raw(self), pszpropertyname.into(), pszinputstring.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13929,7 +13929,7 @@ impl IQuerySolution { P0: ::std::convert::Into<::windows::core::InParam<'a, ICondition>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MakeNot)(::windows::core::Interface::as_raw(self), pcsub.into().abi(), fsimplify.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Search_Common\"`*"] @@ -13939,7 +13939,7 @@ impl IQuerySolution { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IEnumUnknown>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MakeAndOr)(::windows::core::Interface::as_raw(self), ct, peusubs.into().abi(), fsimplify.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`*"] @@ -13953,7 +13953,7 @@ impl IQuerySolution { P4: ::std::convert::Into<::windows::core::InParam<'a, IRichChunk>>, P5: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MakeLeaf)(::windows::core::Interface::as_raw(self), pszpropertyname.into(), cop, pszvaluetype.into(), ::core::mem::transmute(ppropvar), ppropertynameterm.into().abi(), poperationterm.into().abi(), pvalueterm.into().abi(), fexpand.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13962,7 +13962,7 @@ impl IQuerySolution { where P0: ::std::convert::Into<::windows::core::InParam<'a, ICondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Resolve)(::windows::core::Interface::as_raw(self), pc.into().abi(), sqro, ::core::mem::transmute(pstreferencetime), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14103,7 +14103,7 @@ impl IRegisterProvider { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURLMapping)(::windows::core::Interface::as_raw(self), pwszurl.into(), dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetURLMapping<'a, P0>(&self, pwszurl: P0, dwreserved: usize, rclsidprovider: *const ::windows::core::GUID) -> ::windows::core::Result<()> @@ -14167,17 +14167,17 @@ pub struct IRegisterProvider_Vtbl { pub struct IRelationship(::windows::core::IUnknown); impl IRelationship { pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsReal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsReal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Destination(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Destination)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MetaData(&self) -> ::windows::core::Result @@ -14188,7 +14188,7 @@ impl IRelationship { (::windows::core::Interface::vtable(self).MetaData)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn DefaultPhrase(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultPhrase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -14312,7 +14312,7 @@ impl IRow { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Open)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(pcolumnid), ::core::mem::transmute(rguidcolumntype), dwbindflags, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -14430,7 +14430,7 @@ impl IRowPosition { (::windows::core::Interface::vtable(self).GetRowPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(phchapter), ::core::mem::transmute(phrow), ::core::mem::transmute(pdwpositionflags)).ok() } pub unsafe fn GetRowset(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRowset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Initialize<'a, P0>(&self, prowset: P0) -> ::windows::core::Result<()> @@ -15426,11 +15426,11 @@ impl IRowsetInfo { (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), rgpropertyidsets.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgpropertyidsets)), ::core::mem::transmute(pcpropertysets), ::core::mem::transmute(prgpropertysets)).ok() } pub unsafe fn GetReferencedRowset(&self, iordinal: usize, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReferencedRowset)(::windows::core::Interface::as_raw(self), iordinal, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetSpecification(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpecification)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -15677,7 +15677,7 @@ impl IRowsetNextRowset { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextRowset)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -16237,7 +16237,7 @@ impl IRowsetView { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateView)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetView(&self, hchapter: usize, riid: *const ::windows::core::GUID, phchaptersource: *mut usize, ppview: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> { @@ -16760,7 +16760,7 @@ impl ISchemaLocalizerSupport { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Localize)(::windows::core::Interface::as_raw(self), pszglobalstring.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -16883,14 +16883,14 @@ impl ISchemaProvider { (::windows::core::Interface::vtable(self).Entities)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn RootEntity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootEntity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEntity<'a, P0>(&self, pszentityname: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntity)(::windows::core::Interface::as_raw(self), pszentityname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MetaData(&self) -> ::windows::core::Result @@ -17083,7 +17083,7 @@ pub struct IScopedOperations_Vtbl { pub struct ISearchCatalogManager(::windows::core::IUnknown); impl ISearchCatalogManager { pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -17092,7 +17092,7 @@ impl ISearchCatalogManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::StructuredStorage::PROPVARIANT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameter)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::StructuredStorage::PROPVARIANT>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -17128,36 +17128,36 @@ impl ISearchCatalogManager { (::windows::core::Interface::vtable(self).SetConnectTimeout)(::windows::core::Interface::as_raw(self), dwconnecttimeout).ok() } pub unsafe fn ConnectTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDataTimeout(&self, dwdatatimeout: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDataTimeout)(::windows::core::Interface::as_raw(self), dwdatatimeout).ok() } pub unsafe fn DataTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfItemsToIndex(&self, plincrementalcount: *mut i32, plnotificationqueue: *mut i32, plhighpriorityqueue: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).NumberOfItemsToIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plincrementalcount), ::core::mem::transmute(plnotificationqueue), ::core::mem::transmute(plhighpriorityqueue)).ok() } pub unsafe fn URLBeingIndexed(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).URLBeingIndexed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetURLIndexingState<'a, P0>(&self, pszurl: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURLIndexingState)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPersistentItemsChangedSink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPersistentItemsChangedSink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterViewForNotification<'a, P0, P1>(&self, pszview: P0, pviewchangedsink: P1) -> ::windows::core::Result @@ -17165,7 +17165,7 @@ impl ISearchCatalogManager { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, ISearchViewChangedSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterViewForNotification)(::windows::core::Interface::as_raw(self), pszview.into(), pviewchangedsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemsChangedSink<'a, P0>(&self, pisearchnotifyinlinesite: P0, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void, pguidcatalogresetsignature: *mut ::windows::core::GUID, pguidcheckpointsignature: *mut ::windows::core::GUID, pdwlastcheckpointnumber: *mut u32) -> ::windows::core::Result<()> @@ -17189,11 +17189,11 @@ impl ISearchCatalogManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumerateExcludedExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateExcludedExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQueryHelper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQueryHelper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17207,11 +17207,11 @@ impl ISearchCatalogManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DiacriticSensitivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DiacriticSensitivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCrawlScopeManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCrawlScopeManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17304,7 +17304,7 @@ pub struct ISearchCatalogManager_Vtbl { pub struct ISearchCatalogManager2(::windows::core::IUnknown); impl ISearchCatalogManager2 { pub unsafe fn Name(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -17313,7 +17313,7 @@ impl ISearchCatalogManager2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::StructuredStorage::PROPVARIANT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParameter)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::StructuredStorage::PROPVARIANT>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -17349,36 +17349,36 @@ impl ISearchCatalogManager2 { (::windows::core::Interface::vtable(self).base__.SetConnectTimeout)(::windows::core::Interface::as_raw(self), dwconnecttimeout).ok() } pub unsafe fn ConnectTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ConnectTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDataTimeout(&self, dwdatatimeout: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetDataTimeout)(::windows::core::Interface::as_raw(self), dwdatatimeout).ok() } pub unsafe fn DataTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NumberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfItemsToIndex(&self, plincrementalcount: *mut i32, plnotificationqueue: *mut i32, plhighpriorityqueue: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.NumberOfItemsToIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(plincrementalcount), ::core::mem::transmute(plnotificationqueue), ::core::mem::transmute(plhighpriorityqueue)).ok() } pub unsafe fn URLBeingIndexed(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.URLBeingIndexed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetURLIndexingState<'a, P0>(&self, pszurl: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetURLIndexingState)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPersistentItemsChangedSink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPersistentItemsChangedSink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterViewForNotification<'a, P0, P1>(&self, pszview: P0, pviewchangedsink: P1) -> ::windows::core::Result @@ -17386,7 +17386,7 @@ impl ISearchCatalogManager2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, ISearchViewChangedSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterViewForNotification)(::windows::core::Interface::as_raw(self), pszview.into(), pviewchangedsink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemsChangedSink<'a, P0>(&self, pisearchnotifyinlinesite: P0, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void, pguidcatalogresetsignature: *mut ::windows::core::GUID, pguidcheckpointsignature: *mut ::windows::core::GUID, pdwlastcheckpointnumber: *mut u32) -> ::windows::core::Result<()> @@ -17410,11 +17410,11 @@ impl ISearchCatalogManager2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumerateExcludedExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateExcludedExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetQueryHelper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetQueryHelper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17428,11 +17428,11 @@ impl ISearchCatalogManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DiacriticSensitivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DiacriticSensitivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCrawlScopeManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCrawlScopeManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PrioritizeMatchingURLs<'a, P0>(&self, pszpattern: P0, dwprioritizeflags: PRIORITIZE_FLAGS) -> ::windows::core::Result<()> @@ -17524,7 +17524,7 @@ impl ISearchCrawlScopeManager { (::windows::core::Interface::vtable(self).RemoveRoot)(::windows::core::Interface::as_raw(self), pszurl.into()).ok() } pub unsafe fn EnumerateRoots(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17555,7 +17555,7 @@ impl ISearchCrawlScopeManager { (::windows::core::Interface::vtable(self).RemoveScopeRule)(::windows::core::Interface::as_raw(self), pszrule.into()).ok() } pub unsafe fn EnumerateScopeRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateScopeRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17564,7 +17564,7 @@ impl ISearchCrawlScopeManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasParentScopeRule)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17573,7 +17573,7 @@ impl ISearchCrawlScopeManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasChildScopeRule)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17582,7 +17582,7 @@ impl ISearchCrawlScopeManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncludedInCrawlScope)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17603,7 +17603,7 @@ impl ISearchCrawlScopeManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentScopeVersionId)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveDefaultScopeRule<'a, P0>(&self, pszurl: P0) -> ::windows::core::Result<()> @@ -17716,7 +17716,7 @@ impl ISearchCrawlScopeManager2 { (::windows::core::Interface::vtable(self).base__.RemoveRoot)(::windows::core::Interface::as_raw(self), pszurl.into()).ok() } pub unsafe fn EnumerateRoots(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17747,7 +17747,7 @@ impl ISearchCrawlScopeManager2 { (::windows::core::Interface::vtable(self).base__.RemoveScopeRule)(::windows::core::Interface::as_raw(self), pszrule.into()).ok() } pub unsafe fn EnumerateScopeRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumerateScopeRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17756,7 +17756,7 @@ impl ISearchCrawlScopeManager2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HasParentScopeRule)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17765,7 +17765,7 @@ impl ISearchCrawlScopeManager2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HasChildScopeRule)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17774,7 +17774,7 @@ impl ISearchCrawlScopeManager2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IncludedInCrawlScope)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17795,7 +17795,7 @@ impl ISearchCrawlScopeManager2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParentScopeVersionId)(::windows::core::Interface::as_raw(self), pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveDefaultScopeRule<'a, P0>(&self, pszurl: P0) -> ::windows::core::Result<()> @@ -17952,7 +17952,7 @@ impl ISearchLanguageSupport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDiacriticSensitivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDiacriticSensitivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadWordBreaker(&self, lcid: u32, riid: *const ::windows::core::GUID, ppwordbreaker: *mut *mut ::core::ffi::c_void, plcidused: *mut u32) -> ::windows::core::Result<()> { @@ -17962,7 +17962,7 @@ impl ISearchLanguageSupport { (::windows::core::Interface::vtable(self).LoadStemmer)(::windows::core::Interface::as_raw(self), lcid, ::core::mem::transmute(riid), ::core::mem::transmute(ppstemmer), ::core::mem::transmute(plcidused)).ok() } pub unsafe fn IsPrefixNormalized(&self, pwcsquerytoken: &[u16], pwcsdocumenttoken: &[u16]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPrefixNormalized)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pwcsquerytoken)), pwcsquerytoken.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pwcsdocumenttoken)), pwcsdocumenttoken.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18022,7 +18022,7 @@ pub struct ISearchLanguageSupport_Vtbl { pub struct ISearchManager(::windows::core::IUnknown); impl ISearchManager { pub unsafe fn GetIndexerVersionStr(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndexerVersionStr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetIndexerVersion(&self, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::core::Result<()> { @@ -18034,7 +18034,7 @@ impl ISearchManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::StructuredStorage::PROPVARIANT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameter)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::StructuredStorage::PROPVARIANT>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -18046,11 +18046,11 @@ impl ISearchManager { (::windows::core::Interface::vtable(self).SetParameter)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn ProxyName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn BypassList(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BypassList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18067,11 +18067,11 @@ impl ISearchManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCatalog)(::windows::core::Interface::as_raw(self), pszcatalog.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserAgent(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserAgent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetUserAgent<'a, P0>(&self, pszuseragent: P0) -> ::windows::core::Result<()> @@ -18081,17 +18081,17 @@ impl ISearchManager { (::windows::core::Interface::vtable(self).SetUserAgent)(::windows::core::Interface::as_raw(self), pszuseragent.into()).ok() } pub unsafe fn UseProxy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalBypass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocalBypass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PortNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PortNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18165,7 +18165,7 @@ pub struct ISearchManager_Vtbl { pub struct ISearchManager2(::windows::core::IUnknown); impl ISearchManager2 { pub unsafe fn GetIndexerVersionStr(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIndexerVersionStr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetIndexerVersion(&self, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::core::Result<()> { @@ -18177,7 +18177,7 @@ impl ISearchManager2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::StructuredStorage::PROPVARIANT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParameter)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::StructuredStorage::PROPVARIANT>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -18189,11 +18189,11 @@ impl ISearchManager2 { (::windows::core::Interface::vtable(self).base__.SetParameter)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(pvalue)).ok() } pub unsafe fn ProxyName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProxyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn BypassList(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BypassList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18210,11 +18210,11 @@ impl ISearchManager2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCatalog)(::windows::core::Interface::as_raw(self), pszcatalog.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserAgent(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserAgent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetUserAgent<'a, P0>(&self, pszuseragent: P0) -> ::windows::core::Result<()> @@ -18224,24 +18224,24 @@ impl ISearchManager2 { (::windows::core::Interface::vtable(self).base__.SetUserAgent)(::windows::core::Interface::as_raw(self), pszuseragent.into()).ok() } pub unsafe fn UseProxy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UseProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocalBypass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocalBypass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PortNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PortNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCatalog<'a, P0>(&self, pszcatalog: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCatalog)(::windows::core::Interface::as_raw(self), pszcatalog.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteCatalog<'a, P0>(&self, pszcatalog: P0) -> ::windows::core::Result<()> @@ -18663,35 +18663,35 @@ pub struct ISearchProtocolThreadContext_Vtbl { pub struct ISearchQueryHelper(::windows::core::IUnknown); impl ISearchQueryHelper { pub unsafe fn ConnectionString(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectionString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetQueryContentLocale(&self, lcid: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQueryContentLocale)(::windows::core::Interface::as_raw(self), lcid).ok() } pub unsafe fn QueryContentLocale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryContentLocale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQueryKeywordLocale(&self, lcid: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQueryKeywordLocale)(::windows::core::Interface::as_raw(self), lcid).ok() } pub unsafe fn QueryKeywordLocale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryKeywordLocale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQueryTermExpansion(&self, expandterms: SEARCH_TERM_EXPANSION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQueryTermExpansion)(::windows::core::Interface::as_raw(self), expandterms).ok() } pub unsafe fn QueryTermExpansion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryTermExpansion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQuerySyntax(&self, querysyntax: SEARCH_QUERY_SYNTAX) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetQuerySyntax)(::windows::core::Interface::as_raw(self), querysyntax).ok() } pub unsafe fn QuerySyntax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuerySyntax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetQueryContentProperties<'a, P0>(&self, pszcontentproperties: P0) -> ::windows::core::Result<()> @@ -18701,7 +18701,7 @@ impl ISearchQueryHelper { (::windows::core::Interface::vtable(self).SetQueryContentProperties)(::windows::core::Interface::as_raw(self), pszcontentproperties.into()).ok() } pub unsafe fn QueryContentProperties(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryContentProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetQuerySelectColumns<'a, P0>(&self, pszselectcolumns: P0) -> ::windows::core::Result<()> @@ -18711,7 +18711,7 @@ impl ISearchQueryHelper { (::windows::core::Interface::vtable(self).SetQuerySelectColumns)(::windows::core::Interface::as_raw(self), pszselectcolumns.into()).ok() } pub unsafe fn QuerySelectColumns(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuerySelectColumns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetQueryWhereRestrictions<'a, P0>(&self, pszrestrictions: P0) -> ::windows::core::Result<()> @@ -18721,7 +18721,7 @@ impl ISearchQueryHelper { (::windows::core::Interface::vtable(self).SetQueryWhereRestrictions)(::windows::core::Interface::as_raw(self), pszrestrictions.into()).ok() } pub unsafe fn QueryWhereRestrictions(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryWhereRestrictions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetQuerySorting<'a, P0>(&self, pszsorting: P0) -> ::windows::core::Result<()> @@ -18731,14 +18731,14 @@ impl ISearchQueryHelper { (::windows::core::Interface::vtable(self).SetQuerySorting)(::windows::core::Interface::as_raw(self), pszsorting.into()).ok() } pub unsafe fn QuerySorting(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QuerySorting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GenerateSQLFromUserQuery<'a, P0>(&self, pszquery: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GenerateSQLFromUserQuery)(::windows::core::Interface::as_raw(self), pszquery.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -18750,7 +18750,7 @@ impl ISearchQueryHelper { (::windows::core::Interface::vtable(self).SetQueryMaxResults)(::windows::core::Interface::as_raw(self), cmaxresults).ok() } pub unsafe fn QueryMaxResults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryMaxResults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18904,7 +18904,7 @@ impl ISearchRoot { (::windows::core::Interface::vtable(self).SetSchedule)(::windows::core::Interface::as_raw(self), psztaskarg.into()).ok() } pub unsafe fn Schedule(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Schedule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetRootURL<'a, P0>(&self, pszurl: P0) -> ::windows::core::Result<()> @@ -18914,7 +18914,7 @@ impl ISearchRoot { (::windows::core::Interface::vtable(self).SetRootURL)(::windows::core::Interface::as_raw(self), pszurl.into()).ok() } pub unsafe fn RootURL(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18928,7 +18928,7 @@ impl ISearchRoot { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsHierarchical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsHierarchical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18942,7 +18942,7 @@ impl ISearchRoot { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProvidesNotifications(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProvidesNotifications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18956,21 +18956,21 @@ impl ISearchRoot { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UseNotificationsOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseNotificationsOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnumerationDepth(&self, dwdepth: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnumerationDepth)(::windows::core::Interface::as_raw(self), dwdepth).ok() } pub unsafe fn EnumerationDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerationDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHostDepth(&self, dwdepth: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHostDepth)(::windows::core::Interface::as_raw(self), dwdepth).ok() } pub unsafe fn HostDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HostDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18984,14 +18984,14 @@ impl ISearchRoot { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FollowDirectories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FollowDirectories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticationType(&self, authtype: AUTH_TYPE) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAuthenticationType)(::windows::core::Interface::as_raw(self), authtype).ok() } pub unsafe fn AuthenticationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUser<'a, P0>(&self, pszuser: P0) -> ::windows::core::Result<()> @@ -19001,7 +19001,7 @@ impl ISearchRoot { (::windows::core::Interface::vtable(self).SetUser)(::windows::core::Interface::as_raw(self), pszuser.into()).ok() } pub unsafe fn User(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).User)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetPassword<'a, P0>(&self, pszpassword: P0) -> ::windows::core::Result<()> @@ -19011,7 +19011,7 @@ impl ISearchRoot { (::windows::core::Interface::vtable(self).SetPassword)(::windows::core::Interface::as_raw(self), pszpassword.into()).ok() } pub unsafe fn Password(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Password)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -19106,23 +19106,23 @@ pub struct ISearchRoot_Vtbl { pub struct ISearchScopeRule(::windows::core::IUnknown); impl ISearchScopeRule { pub unsafe fn PatternOrURL(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PatternOrURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsIncluded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsIncluded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FollowFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FollowFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19602,11 +19602,11 @@ pub struct IStemmer_Vtbl { pub struct ISubscriptionItem(::windows::core::IUnknown); impl ISubscriptionItem { pub unsafe fn GetCookie(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSubscriptionItemInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubscriptionItemInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSubscriptionItemInfo(&self, psubscriptioniteminfo: *const SUBSCRIPTIONITEMINFO) -> ::windows::core::Result<()> { @@ -19623,7 +19623,7 @@ impl ISubscriptionItem { (::windows::core::Interface::vtable(self).WriteProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ncount), ::core::mem::transmute(rgwszname), ::core::mem::transmute(rgvalue)).ok() } pub unsafe fn EnumProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NotifyChanged(&self) -> ::windows::core::Result<()> { @@ -19711,7 +19711,7 @@ impl ISubscriptionMgr { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSubscribed)(::windows::core::Interface::as_raw(self), pwszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19720,13 +19720,13 @@ impl ISubscriptionMgr { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubscriptionInfo)(::windows::core::Interface::as_raw(self), pwszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDefaultInfo(&self, subtype: SUBSCRIPTIONTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultInfo)(::windows::core::Interface::as_raw(self), subtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19843,7 +19843,7 @@ impl ISubscriptionMgr2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSubscribed)(::windows::core::Interface::as_raw(self), pwszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19852,13 +19852,13 @@ impl ISubscriptionMgr2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSubscriptionInfo)(::windows::core::Interface::as_raw(self), pwszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDefaultInfo(&self, subtype: SUBSCRIPTIONTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultInfo)(::windows::core::Interface::as_raw(self), subtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19884,18 +19884,18 @@ impl ISubscriptionMgr2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemFromURL)(::windows::core::Interface::as_raw(self), pwszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemFromCookie(&self, psubscriptioncookie: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemFromCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psubscriptioncookie), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSubscriptionRunState(&self, dwnumcookies: u32, pcookies: *const ::windows::core::GUID, pdwrunstate: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetSubscriptionRunState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(dwnumcookies), ::core::mem::transmute(pcookies), ::core::mem::transmute(pdwrunstate)).ok() } pub unsafe fn EnumSubscriptions(&self, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumSubscriptions)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateItems(&self, dwflags: u32, pcookies: &[::windows::core::GUID]) -> ::windows::core::Result<()> { @@ -20055,7 +20055,7 @@ impl ITableCreation { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AddColumn(&self, ptableid: *const super::super::Storage::IndexServer::DBID, pcolumndesc: *const DBCOLUMNDESC) -> ::windows::core::Result<*mut super::super::Storage::IndexServer::DBID> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::Storage::IndexServer::DBID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptableid), ::core::mem::transmute(pcolumndesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::Storage::IndexServer::DBID>(result__) } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -20148,7 +20148,7 @@ impl ITableDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AddColumn(&self, ptableid: *const super::super::Storage::IndexServer::DBID, pcolumndesc: *const DBCOLUMNDESC) -> ::windows::core::Result<*mut super::super::Storage::IndexServer::DBID> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::Storage::IndexServer::DBID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptableid), ::core::mem::transmute(pcolumndesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::Storage::IndexServer::DBID>(result__) } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -20233,7 +20233,7 @@ impl ITableDefinitionWithConstraints { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AddColumn(&self, ptableid: *const super::super::Storage::IndexServer::DBID, pcolumndesc: *const DBCOLUMNDESC) -> ::windows::core::Result<*mut super::super::Storage::IndexServer::DBID> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::Storage::IndexServer::DBID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AddColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptableid), ::core::mem::transmute(pcolumndesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::Storage::IndexServer::DBID>(result__) } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -20470,7 +20470,7 @@ impl ITransactionJoin { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn GetOptionsObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionsObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -20557,13 +20557,13 @@ impl ITransactionLocal { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn GetTransactionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTransactionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn GetOptionsObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptionsObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -20572,7 +20572,7 @@ impl ITransactionLocal { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::DistributedTransactionCoordinator::ITransactionOptions>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartTransaction)(::windows::core::Interface::as_raw(self), isolevel, isoflags, potheroptions.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20658,7 +20658,7 @@ impl ITransactionObject { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn GetTransactionObject(&self, ultransactionlevel: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransactionObject)(::windows::core::Interface::as_raw(self), ultransactionlevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21002,7 +21002,7 @@ impl IUrlAccessor { (::windows::core::Interface::vtable(self).GetDocFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wszdocformat), dwsize, ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetHost(&self, wszhost: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21012,13 +21012,13 @@ impl IUrlAccessor { (::windows::core::Interface::vtable(self).IsDirectory)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileName(&self, wszfilename: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21031,19 +21031,19 @@ impl IUrlAccessor { (::windows::core::Interface::vtable(self).GetRedirectedURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wszredirectedurl), dwsize, ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetSecurityProvider(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BindToStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BindToStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] #[cfg(feature = "Win32_Storage_IndexServer")] pub unsafe fn BindToFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BindToFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21125,7 +21125,7 @@ impl IUrlAccessor2 { (::windows::core::Interface::vtable(self).base__.GetDocFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wszdocformat), dwsize, ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetHost(&self, wszhost: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21135,13 +21135,13 @@ impl IUrlAccessor2 { (::windows::core::Interface::vtable(self).base__.IsDirectory)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileName(&self, wszfilename: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21154,19 +21154,19 @@ impl IUrlAccessor2 { (::windows::core::Interface::vtable(self).base__.GetRedirectedURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wszredirectedurl), dwsize, ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetSecurityProvider(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSecurityProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BindToStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BindToStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] #[cfg(feature = "Win32_Storage_IndexServer")] pub unsafe fn BindToFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BindToFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayUrl(&self, wszdocurl: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21250,7 +21250,7 @@ impl IUrlAccessor3 { (::windows::core::Interface::vtable(self).base__.base__.GetDocFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wszdocformat), dwsize, ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetHost(&self, wszhost: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21260,13 +21260,13 @@ impl IUrlAccessor3 { (::windows::core::Interface::vtable(self).base__.base__.IsDirectory)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileName(&self, wszfilename: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21279,19 +21279,19 @@ impl IUrlAccessor3 { (::windows::core::Interface::vtable(self).base__.base__.GetRedirectedURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wszredirectedurl), dwsize, ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetSecurityProvider(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSecurityProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BindToStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BindToStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] #[cfg(feature = "Win32_Storage_IndexServer")] pub unsafe fn BindToFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BindToFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayUrl(&self, wszdocurl: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21399,7 +21399,7 @@ impl IUrlAccessor4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetDocFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wszdocformat), dwsize, ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetHost(&self, wszhost: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21409,13 +21409,13 @@ impl IUrlAccessor4 { (::windows::core::Interface::vtable(self).base__.base__.base__.IsDirectory)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetLastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFileName(&self, wszfilename: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21428,19 +21428,19 @@ impl IUrlAccessor4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetRedirectedURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(wszredirectedurl), dwsize, ::core::mem::transmute(pdwlength)).ok() } pub unsafe fn GetSecurityProvider(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetSecurityProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BindToStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.BindToStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] #[cfg(feature = "Win32_Storage_IndexServer")] pub unsafe fn BindToFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.BindToFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayUrl(&self, wszdocurl: ::windows::core::PWSTR, dwsize: u32, pdwlength: *mut u32) -> ::windows::core::Result<()> { @@ -21463,13 +21463,13 @@ impl IUrlAccessor4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ShouldIndexItemContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShouldIndexItemContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn ShouldIndexProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShouldIndexProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21571,11 +21571,11 @@ pub struct IUrlAccessor4_Vtbl { pub struct IViewChapter(::windows::core::IUnknown); impl IViewChapter { pub unsafe fn GetSpecification(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpecification)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn OpenViewChapter(&self, hsource: usize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenViewChapter)(::windows::core::Interface::as_raw(self), hsource, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21688,14 +21688,14 @@ pub struct IViewFilter_Vtbl { pub struct IViewRowset(::windows::core::IUnknown); impl IViewRowset { pub unsafe fn GetSpecification(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpecification)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn OpenViewRowset<'a, P0>(&self, punkouter: P0, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenViewRowset)(::windows::core::Interface::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -23114,21 +23114,21 @@ pub const ODBC_VS_FLAG_UNICODE_COR: i32 = 2i32; pub struct OLEDBSimpleProvider(::windows::core::IUnknown); impl OLEDBSimpleProvider { pub unsafe fn getRowCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getRowCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getColumnCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getColumnCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getRWStatus(&self, irow: isize, icolumn: isize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getRWStatus)(::windows::core::Interface::as_raw(self), irow, icolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn getVariant(&self, irow: isize, icolumn: isize, format: OSPFORMAT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getVariant)(::windows::core::Interface::as_raw(self), irow, icolumn, format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -23142,15 +23142,15 @@ impl OLEDBSimpleProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getLocale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getLocale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteRows(&self, irow: isize, crows: isize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).deleteRows)(::windows::core::Interface::as_raw(self), irow, crows, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn insertRows(&self, irow: isize, crows: isize) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertRows)(::windows::core::Interface::as_raw(self), irow, crows, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -23159,7 +23159,7 @@ impl OLEDBSimpleProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).find)(::windows::core::Interface::as_raw(self), irowstart, icolumn, val.into().abi(), findflags, comptype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn addOLEDBSimpleProviderListener<'a, P0>(&self, pospilistener: P0) -> ::windows::core::Result<()> @@ -23177,11 +23177,11 @@ impl OLEDBSimpleProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn isAsync(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isAsync)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getEstimatedRows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getEstimatedRows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn stopTransfer(&self) -> ::windows::core::Result<()> { 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 4cb5fc9d22..cd9f40b285 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs @@ -94,13 +94,13 @@ impl IWSCProductList { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), provider).ok() } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -186,39 +186,39 @@ impl IWscProduct { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProductState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SignatureStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignatureStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemediationPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemediationPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductStateTimestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductStateTimestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductIsDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProductIsDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -320,63 +320,63 @@ impl IWscProduct2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProductName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProductState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProductState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SignatureStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SignatureStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemediationPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RemediationPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductStateTimestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProductStateTimestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProductGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductIsDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProductIsDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AntivirusScanSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AntivirusScanSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AntivirusSettingsSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AntivirusSettingsSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AntivirusProtectionUpdateSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AntivirusProtectionUpdateSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirewallDomainProfileSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirewallDomainProfileSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirewallPrivateProfileSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirewallPrivateProfileSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirewallPublicProfileSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirewallPublicProfileSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -480,67 +480,67 @@ impl IWscProduct3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProductName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProductState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProductState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SignatureStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SignatureStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RemediationPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RemediationPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductStateTimestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProductStateTimestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProductGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProductIsDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProductIsDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AntivirusScanSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AntivirusScanSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AntivirusSettingsSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AntivirusSettingsSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AntivirusProtectionUpdateSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AntivirusProtectionUpdateSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirewallDomainProfileSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FirewallDomainProfileSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirewallPrivateProfileSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FirewallPrivateProfileSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirewallPublicProfileSubstatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FirewallPublicProfileSubstatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AntivirusDaysUntilExpired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AntivirusDaysUntilExpired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -847,7 +847,7 @@ pub unsafe fn WscGetAntiMalwareUri() -> ::windows::core::Result<::windows::core: extern "system" { fn WscGetAntiMalwareUri(ppszuri: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WscGetAntiMalwareUri(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] 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 1fbbec665b..687ad57666 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs @@ -3,7 +3,7 @@ pub struct IWsbApplicationAsync(::windows::core::IUnknown); impl IWsbApplicationAsync { pub unsafe fn QueryStatus(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn Abort(&self) -> ::windows::core::Result<()> { @@ -62,7 +62,7 @@ impl IWsbApplicationBackupSupport { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckConsistency)(::windows::core::Interface::as_raw(self), wszwritermetadata.into(), wszcomponentname.into(), wszcomponentlogicalpath.into(), ::core::mem::transmute(cvolumes), ::core::mem::transmute(rgwszsourcevolumepath), ::core::mem::transmute(rgwszsnapshotvolumepath), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -137,7 +137,7 @@ impl IWsbApplicationRestoreSupport { (::windows::core::Interface::vtable(self).OrderComponents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ccomponents), ::core::mem::transmute(rgcomponentname), ::core::mem::transmute(rgcomponentlogicalpaths), ::core::mem::transmute(prgcomponentname), ::core::mem::transmute(prgcomponentlogicalpath)).ok() } pub unsafe fn IsRollForwardSupported(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRollForwardSupported)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 5fe465ec43..017c484fac 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs @@ -5,13 +5,13 @@ impl IItemEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Current(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Current)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MoveNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { @@ -93,11 +93,11 @@ impl ISettingsContext { (::windows::core::Interface::vtable(self).SetUserData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(puserdata)).ok() } pub unsafe fn GetUserData(&self) -> ::windows::core::Result<*mut ::core::ffi::c_void> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut ::core::ffi::c_void>(result__) } pub unsafe fn GetNamespaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamespaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoredSettings<'a, P0>(&self, pidentity: P0, ppaddedsettings: *mut ::core::option::Option, ppmodifiedsettings: *mut ::core::option::Option, ppdeletedsettings: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -172,28 +172,28 @@ pub struct ISettingsContext_Vtbl { pub struct ISettingsEngine(::windows::core::IUnknown); impl ISettingsEngine { pub unsafe fn GetNamespaces(&self, flags: WcmNamespaceEnumerationFlags, reserved: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamespaces)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(reserved), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNamespace<'a, P0>(&self, settingsid: P0, access: WcmNamespaceAccess, reserved: *const ::core::ffi::c_void) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ISettingsIdentity>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamespace)(::windows::core::Interface::as_raw(self), settingsid.into().abi(), access, ::core::mem::transmute(reserved), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetErrorDescription(&self, hresult: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorDescription)(::windows::core::Interface::as_raw(self), hresult, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSettingsIdentity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSettingsIdentity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoreStatus(&self, reserved: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStoreStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reserved), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadStore(&self, flags: u32) -> ::windows::core::Result<()> { @@ -210,7 +210,7 @@ impl ISettingsEngine { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IStream>>, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterNamespace)(::windows::core::Interface::as_raw(self), settingsid.into().abi(), stream.into().abi(), pushsettings.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -223,11 +223,11 @@ impl ISettingsEngine { (::windows::core::Interface::vtable(self).UnregisterNamespace)(::windows::core::Interface::as_raw(self), settingsid.into().abi(), removesettings.into()).ok() } pub unsafe fn CreateTargetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTargetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTargetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTargetInfo<'a, P0>(&self, target: P0) -> ::windows::core::Result<()> @@ -237,7 +237,7 @@ impl ISettingsEngine { (::windows::core::Interface::vtable(self).SetTargetInfo)(::windows::core::Interface::as_raw(self), target.into().abi()).ok() } pub unsafe fn CreateSettingsContext(&self, flags: u32, reserved: *const ::core::ffi::c_void) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSettingsContext)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(reserved), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSettingsContext<'a, P0>(&self, settingscontext: P0) -> ::windows::core::Result<()> @@ -253,7 +253,7 @@ impl ISettingsEngine { (::windows::core::Interface::vtable(self).ApplySettingsContext)(::windows::core::Interface::as_raw(self), settingscontext.into().abi(), ::core::mem::transmute(pppwzidentities), ::core::mem::transmute(pcidentities)).ok() } pub unsafe fn GetSettingsContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSettingsContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -332,7 +332,7 @@ impl ISettingsIdentity { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reserved), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttribute<'a, P0, P1>(&self, reserved: *const ::core::ffi::c_void, name: P0, value: P1) -> ::windows::core::Result<()> @@ -343,7 +343,7 @@ impl ISettingsIdentity { (::windows::core::Interface::vtable(self).SetAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(reserved), name.into(), value.into()).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, flags: u32) -> ::windows::core::Result<()> { @@ -404,13 +404,13 @@ impl ISettingsItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -419,11 +419,11 @@ impl ISettingsItem { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(value)).ok() } pub unsafe fn GetSettingType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSettingType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValueRaw(&self, data: *mut *mut u8, datasize: *mut u32) -> ::windows::core::Result<()> { @@ -435,32 +435,32 @@ impl ISettingsItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Children(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Children)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChild<'a, P0>(&self, name: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChild)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSettingByPath<'a, P0>(&self, path: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSettingByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSettingByPath<'a, P0>(&self, path: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSettingByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveSettingByPath<'a, P0>(&self, path: P0) -> ::windows::core::Result<()> @@ -477,7 +477,7 @@ impl ISettingsItem { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CreateListElement(&self, keydata: *const super::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateListElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(keydata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveListElement<'a, P0>(&self, elementname: P0) -> ::windows::core::Result<()> @@ -487,7 +487,7 @@ impl ISettingsItem { (::windows::core::Interface::vtable(self).RemoveListElement)(::windows::core::Interface::as_raw(self), elementname.into()).ok() } pub unsafe fn Attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -496,29 +496,29 @@ impl ISettingsItem { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttribute)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRestrictionFacets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestrictionFacets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetRestriction(&self, restrictionfacet: WcmRestrictionFacets) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestriction)(::windows::core::Interface::as_raw(self), restrictionfacet, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetKeyValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -619,11 +619,11 @@ pub struct ISettingsItem_Vtbl { pub struct ISettingsNamespace(::windows::core::IUnknown); impl ISettingsNamespace { pub unsafe fn GetIdentity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIdentity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -632,21 +632,21 @@ impl ISettingsNamespace { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self), pushsettings.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSettingByPath<'a, P0>(&self, path: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSettingByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSettingByPath<'a, P0>(&self, path: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSettingByPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveSettingByPath<'a, P0>(&self, path: P0) -> ::windows::core::Result<()> @@ -661,7 +661,7 @@ impl ISettingsNamespace { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttribute)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -725,31 +725,31 @@ impl ISettingsResult { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorCode(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetContextDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContextDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColumn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -813,7 +813,7 @@ pub struct ISettingsResult_Vtbl { pub struct ITargetInfo(::windows::core::IUnknown); impl ITargetInfo { pub unsafe fn GetTargetMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTargetMode(&self, targetmode: WcmTargetMode) -> ::windows::core::Result<()> { @@ -822,7 +822,7 @@ impl ITargetInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTemporaryStoreLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTemporaryStoreLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTemporaryStoreLocation<'a, P0>(&self, temporarystorelocation: P0) -> ::windows::core::Result<()> @@ -834,7 +834,7 @@ impl ITargetInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTargetID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTargetID(&self, targetid: ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -843,7 +843,7 @@ impl ITargetInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTargetProcessorArchitecture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetProcessorArchitecture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTargetProcessorArchitecture<'a, P0>(&self, processorarchitecture: P0) -> ::windows::core::Result<()> @@ -859,7 +859,7 @@ impl ITargetInfo { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), offline.into(), property.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -873,7 +873,7 @@ impl ITargetInfo { (::windows::core::Interface::vtable(self).SetProperty)(::windows::core::Interface::as_raw(self), offline.into(), property.into(), value.into()).ok() } pub unsafe fn GetEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -883,7 +883,7 @@ impl ITargetInfo { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpandTarget)(::windows::core::Interface::as_raw(self), offline.into(), location.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -893,7 +893,7 @@ impl ITargetInfo { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpandTargetPath)(::windows::core::Interface::as_raw(self), offline.into(), location.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModulePath<'a, P0, P1>(&self, module: P0, path: P1) -> ::windows::core::Result<()> @@ -909,7 +909,7 @@ impl ITargetInfo { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadModule)(::windows::core::Interface::as_raw(self), module.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWow64Context<'a, P0>(&self, installermodule: P0, wow64context: *const u8) -> ::windows::core::Result<()> @@ -925,7 +925,7 @@ impl ITargetInfo { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TranslateWow64)(::windows::core::Interface::as_raw(self), clientarchitecture.into(), value.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSchemaHiveLocation<'a, P0>(&self, pwzhivedir: P0) -> ::windows::core::Result<()> @@ -937,7 +937,7 @@ impl ITargetInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSchemaHiveLocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSchemaHiveLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSchemaHiveMountName<'a, P0>(&self, pwzmountname: P0) -> ::windows::core::Result<()> @@ -949,7 +949,7 @@ impl ITargetInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSchemaHiveMountName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSchemaHiveMountName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 c33ad97e34..6bb2502518 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs @@ -246,11 +246,11 @@ pub struct ISideShowCapabilities_Vtbl { pub struct ISideShowCapabilitiesCollection(::windows::core::IUnknown); impl ISideShowCapabilitiesCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, in_dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), in_dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -307,13 +307,13 @@ impl ISideShowContent { (::windows::core::Interface::vtable(self).GetContent)(::windows::core::Interface::as_raw(self), in_picapabilities.into().abi(), ::core::mem::transmute(out_pdwsize), ::core::mem::transmute(out_ppbdata)).ok() } pub unsafe fn ContentId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContentId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DifferentiateContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DifferentiateContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -386,7 +386,7 @@ impl ISideShowContentManager { (::windows::core::Interface::vtable(self).SetEventSink)(::windows::core::Interface::as_raw(self), in_pievents.into().abi()).ok() } pub unsafe fn GetDeviceCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -440,7 +440,7 @@ pub struct ISideShowContentManager_Vtbl { pub struct ISideShowEvents(::windows::core::IUnknown); impl ISideShowEvents { pub unsafe fn ContentMissing(&self, in_contentid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContentMissing)(::windows::core::Interface::as_raw(self), in_contentid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ApplicationEvent<'a, P0>(&self, in_picapabilities: P0, in_dweventid: u32, in_pbeventdata: &[u8]) -> ::windows::core::Result<()> @@ -586,14 +586,14 @@ pub struct ISideShowKeyCollection_Vtbl { pub struct ISideShowNotification(::windows::core::IUnknown); impl ISideShowNotification { pub unsafe fn NotificationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NotificationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotificationId(&self, in_notificationid: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNotificationId)(::windows::core::Interface::as_raw(self), in_notificationid).ok() } pub unsafe fn Title(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTitle<'a, P0>(&self, in_pwsztitle: P0) -> ::windows::core::Result<()> @@ -603,7 +603,7 @@ impl ISideShowNotification { (::windows::core::Interface::vtable(self).SetTitle)(::windows::core::Interface::as_raw(self), in_pwsztitle.into()).ok() } pub unsafe fn Message(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetMessage<'a, P0>(&self, in_pwszmessage: P0) -> ::windows::core::Result<()> @@ -615,7 +615,7 @@ impl ISideShowNotification { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -629,7 +629,7 @@ impl ISideShowNotification { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExpirationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpirationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -840,11 +840,11 @@ pub struct ISideShowPropVariantCollection_Vtbl { pub struct ISideShowSession(::windows::core::IUnknown); impl ISideShowSession { pub unsafe fn RegisterContent(&self, in_applicationid: *const ::windows::core::GUID, in_endpointid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(in_applicationid), ::core::mem::transmute(in_endpointid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterNotifications(&self, in_applicationid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterNotifications)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(in_applicationid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs index 039fe0a487..86f33aef37 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs @@ -110,7 +110,7 @@ where extern "system" { fn WslLaunch(distributionname: ::windows::core::PCWSTR, command: ::windows::core::PCWSTR, usecurrentworkingdirectory: super::super::Foundation::BOOL, stdin: super::super::Foundation::HANDLE, stdout: super::super::Foundation::HANDLE, stderr: super::super::Foundation::HANDLE, process: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WslLaunch(distributionname.into(), command.into(), usecurrentworkingdirectory.into(), stdin.into(), stdout.into(), stderr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`, `\"Win32_Foundation\"`*"] @@ -126,7 +126,7 @@ where extern "system" { fn WslLaunchInteractive(distributionname: ::windows::core::PCWSTR, command: ::windows::core::PCWSTR, usecurrentworkingdirectory: super::super::Foundation::BOOL, exitcode: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WslLaunchInteractive(distributionname.into(), command.into(), usecurrentworkingdirectory.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs index f4d3c40190..69d85e318b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs @@ -578,7 +578,7 @@ pub unsafe fn GetIntegratedDisplaySize() -> ::windows::core::Result { extern "system" { fn GetIntegratedDisplaySize(sizeininches: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetIntegratedDisplaySize(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] @@ -1036,7 +1036,7 @@ pub unsafe fn IsWow64GuestMachineSupported(wowguestmachine: IMAGE_FILE_MACHINE) extern "system" { fn IsWow64GuestMachineSupported(wowguestmachine: IMAGE_FILE_MACHINE, machineissupported: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IsWow64GuestMachineSupported(wowguestmachine, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] 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 cb9ec6a5d6..b49995b9a6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs @@ -141,11 +141,11 @@ impl IActionCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -164,7 +164,7 @@ impl IActionCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Create(&self, r#type: TASK_ACTION_TYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -315,7 +315,7 @@ impl IBootTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -653,7 +653,7 @@ impl IDailyTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -940,7 +940,7 @@ impl IEmailAction { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HeaderFields(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HeaderFields)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1154,7 +1154,7 @@ impl IEnumWorkItems { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1227,7 +1227,7 @@ impl IEventTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1312,7 +1312,7 @@ impl IEventTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValueQueries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ValueQueries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1934,7 +1934,7 @@ impl IIdleTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2101,7 +2101,7 @@ impl ILogonTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2434,7 +2434,7 @@ impl IMonthlyDOWTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2654,7 +2654,7 @@ impl IMonthlyTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3248,7 +3248,7 @@ impl IProvideTaskPage { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPage)(::windows::core::Interface::as_raw(self), tptype, fpersistchanges.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3305,21 +3305,21 @@ impl IRegisteredTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -3331,7 +3331,7 @@ impl IRegisteredTask { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Run)(::windows::core::Interface::as_raw(self), params.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3341,47 +3341,47 @@ impl IRegisteredTask { P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RunEx)(::windows::core::Interface::as_raw(self), params.into().abi(), flags, sessionid, user.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInstances(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstances)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastRunTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastRunTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastTaskResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastTaskResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NumberOfMissedRuns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NumberOfMissedRuns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NextRunTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NextRunTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Definition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Definition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Xml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Xml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSecurityDescriptor(&self, securityinformation: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityDescriptor)(::windows::core::Interface::as_raw(self), securityinformation, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3523,7 +3523,7 @@ pub struct IRegisteredTaskCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRegisteredTaskCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3532,11 +3532,11 @@ impl IRegisteredTaskCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -3901,7 +3901,7 @@ impl IRegistrationTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4197,29 +4197,29 @@ impl IRunningTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InstanceGuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstanceGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Stop(&self) -> ::windows::core::Result<()> { @@ -4229,7 +4229,7 @@ impl IRunningTask { (::windows::core::Interface::vtable(self).Refresh)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnginePID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnginePID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4327,7 +4327,7 @@ pub struct IRunningTaskCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRunningTaskCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4336,11 +4336,11 @@ impl IRunningTaskCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -4428,15 +4428,15 @@ impl IScheduledWorkItem { (::windows::core::Interface::vtable(self).DeleteTrigger)(::windows::core::Interface::as_raw(self), itrigger).ok() } pub unsafe fn GetTriggerCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTriggerCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTrigger(&self, itrigger: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTrigger)(::windows::core::Interface::as_raw(self), itrigger, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTriggerString(&self, itrigger: u16) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTriggerString)(::windows::core::Interface::as_raw(self), itrigger, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4472,15 +4472,15 @@ impl IScheduledWorkItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMostRecentRunTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMostRecentRunTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetComment<'a, P0>(&self, pwszcomment: P0) -> ::windows::core::Result<()> @@ -4490,7 +4490,7 @@ impl IScheduledWorkItem { (::windows::core::Interface::vtable(self).SetComment)(::windows::core::Interface::as_raw(self), pwszcomment.into()).ok() } pub unsafe fn GetComment(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetCreator<'a, P0>(&self, pwszcreator: P0) -> ::windows::core::Result<()> @@ -4500,7 +4500,7 @@ impl IScheduledWorkItem { (::windows::core::Interface::vtable(self).SetCreator)(::windows::core::Interface::as_raw(self), pwszcreator.into()).ok() } pub unsafe fn GetCreator(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCreator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetWorkItemData(&self, cbdata: u16, rgbdata: *const u8) -> ::windows::core::Result<()> { @@ -4513,21 +4513,21 @@ impl IScheduledWorkItem { (::windows::core::Interface::vtable(self).SetErrorRetryCount)(::windows::core::Interface::as_raw(self), wretrycount).ok() } pub unsafe fn GetErrorRetryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorRetryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetErrorRetryInterval(&self, wretryinterval: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetErrorRetryInterval)(::windows::core::Interface::as_raw(self), wretryinterval).ok() } pub unsafe fn GetErrorRetryInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorRetryInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, dwflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAccountInformation<'a, P0, P1>(&self, pwszaccountname: P0, pwszpassword: P1) -> ::windows::core::Result<()> @@ -4538,7 +4538,7 @@ impl IScheduledWorkItem { (::windows::core::Interface::vtable(self).SetAccountInformation)(::windows::core::Interface::as_raw(self), pwszaccountname.into(), pwszpassword.into()).ok() } pub unsafe fn GetAccountInformation(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccountInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -4648,7 +4648,7 @@ impl ISessionStateChangeTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5001,15 +5001,15 @@ impl ITask { (::windows::core::Interface::vtable(self).base__.DeleteTrigger)(::windows::core::Interface::as_raw(self), itrigger).ok() } pub unsafe fn GetTriggerCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTriggerCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTrigger(&self, itrigger: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTrigger)(::windows::core::Interface::as_raw(self), itrigger, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTriggerString(&self, itrigger: u16) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTriggerString)(::windows::core::Interface::as_raw(self), itrigger, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5045,15 +5045,15 @@ impl ITask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMostRecentRunTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMostRecentRunTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetExitCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExitCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetComment<'a, P0>(&self, pwszcomment: P0) -> ::windows::core::Result<()> @@ -5063,7 +5063,7 @@ impl ITask { (::windows::core::Interface::vtable(self).base__.SetComment)(::windows::core::Interface::as_raw(self), pwszcomment.into()).ok() } pub unsafe fn GetComment(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetComment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetCreator<'a, P0>(&self, pwszcreator: P0) -> ::windows::core::Result<()> @@ -5073,7 +5073,7 @@ impl ITask { (::windows::core::Interface::vtable(self).base__.SetCreator)(::windows::core::Interface::as_raw(self), pwszcreator.into()).ok() } pub unsafe fn GetCreator(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCreator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetWorkItemData(&self, cbdata: u16, rgbdata: *const u8) -> ::windows::core::Result<()> { @@ -5086,21 +5086,21 @@ impl ITask { (::windows::core::Interface::vtable(self).base__.SetErrorRetryCount)(::windows::core::Interface::as_raw(self), wretrycount).ok() } pub unsafe fn GetErrorRetryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetErrorRetryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetErrorRetryInterval(&self, wretryinterval: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetErrorRetryInterval)(::windows::core::Interface::as_raw(self), wretryinterval).ok() } pub unsafe fn GetErrorRetryInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetErrorRetryInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, dwflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAccountInformation<'a, P0, P1>(&self, pwszaccountname: P0, pwszpassword: P1) -> ::windows::core::Result<()> @@ -5111,7 +5111,7 @@ impl ITask { (::windows::core::Interface::vtable(self).base__.SetAccountInformation)(::windows::core::Interface::as_raw(self), pwszaccountname.into(), pwszpassword.into()).ok() } pub unsafe fn GetAccountInformation(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAccountInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetApplicationName<'a, P0>(&self, pwszapplicationname: P0) -> ::windows::core::Result<()> @@ -5121,7 +5121,7 @@ impl ITask { (::windows::core::Interface::vtable(self).SetApplicationName)(::windows::core::Interface::as_raw(self), pwszapplicationname.into()).ok() } pub unsafe fn GetApplicationName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplicationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetParameters<'a, P0>(&self, pwszparameters: P0) -> ::windows::core::Result<()> @@ -5131,7 +5131,7 @@ impl ITask { (::windows::core::Interface::vtable(self).SetParameters)(::windows::core::Interface::as_raw(self), pwszparameters.into()).ok() } pub unsafe fn GetParameters(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetWorkingDirectory<'a, P0>(&self, pwszworkingdirectory: P0) -> ::windows::core::Result<()> @@ -5141,28 +5141,28 @@ impl ITask { (::windows::core::Interface::vtable(self).SetWorkingDirectory)(::windows::core::Interface::as_raw(self), pwszworkingdirectory.into()).ok() } pub unsafe fn GetWorkingDirectory(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWorkingDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetPriority(&self, dwpriority: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPriority)(::windows::core::Interface::as_raw(self), dwpriority).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTaskFlags(&self, dwflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTaskFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetTaskFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTaskFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxRunTime(&self, dwmaxruntimems: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxRunTime)(::windows::core::Interface::as_raw(self), dwmaxruntimems).ok() } pub unsafe fn GetMaxRunTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxRunTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5242,7 +5242,7 @@ impl ITaskDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RegistrationInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegistrationInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5256,7 +5256,7 @@ impl ITaskDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Triggers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Triggers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5270,7 +5270,7 @@ impl ITaskDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5297,7 +5297,7 @@ impl ITaskDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Principal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Principal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5311,7 +5311,7 @@ impl ITaskDefinition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Actions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Actions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5468,13 +5468,13 @@ impl ITaskFolder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5483,13 +5483,13 @@ impl ITaskFolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolder)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFolders(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolders)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5499,7 +5499,7 @@ impl ITaskFolder { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFolder)(::windows::core::Interface::as_raw(self), subfoldername.into().abi(), sddl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5516,13 +5516,13 @@ impl ITaskFolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTask)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTasks(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTasks)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5543,7 +5543,7 @@ impl ITaskFolder { P3: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, P4: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterTask)(::windows::core::Interface::as_raw(self), path.into().abi(), xmltext.into().abi(), flags, userid.into().abi(), password.into().abi(), logontype, sddl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5556,13 +5556,13 @@ impl ITaskFolder { P3: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, P4: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterTaskDefinition)(::windows::core::Interface::as_raw(self), path.into().abi(), pdefinition.into().abi(), flags, userid.into().abi(), password.into().abi(), logontype, sddl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSecurityDescriptor(&self, securityinformation: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSecurityDescriptor)(::windows::core::Interface::as_raw(self), securityinformation, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5700,7 +5700,7 @@ pub struct ITaskFolderCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskFolderCollection { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5709,11 +5709,11 @@ impl ITaskFolderCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -5804,7 +5804,7 @@ impl ITaskHandler { (::windows::core::Interface::vtable(self).Start)(::windows::core::Interface::as_raw(self), phandlerservices.into().abi(), data.into().abi()).ok() } pub unsafe fn Stop(&self) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Stop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn Pause(&self) -> ::windows::core::Result<()> { @@ -5934,11 +5934,11 @@ impl ITaskNamedValueCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5948,7 +5948,7 @@ impl ITaskNamedValueCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), name.into().abi(), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Remove(&self, index: i32) -> ::windows::core::Result<()> { @@ -6164,18 +6164,18 @@ impl ITaskScheduler { (::windows::core::Interface::vtable(self).SetTargetComputer)(::windows::core::Interface::as_raw(self), pwszcomputer.into()).ok() } pub unsafe fn GetTargetComputer(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetComputer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn Enum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Activate<'a, P0>(&self, pwszname: P0, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Activate)(::windows::core::Interface::as_raw(self), pwszname.into(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Delete<'a, P0>(&self, pwszname: P0) -> ::windows::core::Result<()> @@ -6188,7 +6188,7 @@ impl ITaskScheduler { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NewWorkItem)(::windows::core::Interface::as_raw(self), pwsztaskname.into(), ::core::mem::transmute(rclsid), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn AddWorkItem<'a, P0, P1>(&self, pwsztaskname: P0, pworkitem: P1) -> ::windows::core::Result<()> @@ -6265,19 +6265,19 @@ impl ITaskService { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolder)(::windows::core::Interface::as_raw(self), path.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRunningTasks(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRunningTasks)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NewTask(&self, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NewTask)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6292,29 +6292,29 @@ impl ITaskService { (::windows::core::Interface::vtable(self).Connect)(::windows::core::Interface::as_raw(self), servername.into().abi(), user.into().abi(), domain.into().abi(), password.into().abi()).ok() } pub unsafe fn Connected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Connected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TargetServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TargetServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ConnectedUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectedUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ConnectedDomain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectedDomain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HighestVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HighestVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6548,7 +6548,7 @@ impl ITaskSettings { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IdleSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IdleSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6574,7 +6574,7 @@ impl ITaskSettings { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NetworkSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NetworkSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6952,7 +6952,7 @@ impl ITaskSettings3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IdleSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IdleSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6978,7 +6978,7 @@ impl ITaskSettings3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NetworkSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NetworkSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7004,7 +7004,7 @@ impl ITaskSettings3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MaintenanceSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaintenanceSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7018,7 +7018,7 @@ impl ITaskSettings3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateMaintenanceSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMaintenanceSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Volatile(&self, pvolatile: *mut i16) -> ::windows::core::Result<()> { @@ -7139,11 +7139,11 @@ impl ITaskTrigger { (::windows::core::Interface::vtable(self).SetTrigger)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptrigger)).ok() } pub unsafe fn GetTrigger(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTrigger)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTriggerString(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTriggerString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -7197,7 +7197,7 @@ impl ITaskVariables { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7211,7 +7211,7 @@ impl ITaskVariables { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7292,7 +7292,7 @@ impl ITimeTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7480,7 +7480,7 @@ impl ITrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7659,17 +7659,17 @@ impl ITriggerCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Create(&self, r#type: TASK_TRIGGER_TYPE2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7791,7 +7791,7 @@ impl IWeeklyTrigger { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Repetition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] 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 060e08adc6..b9847922a9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs @@ -1516,7 +1516,7 @@ pub unsafe fn GetMachineTypeAttributes(machine: u16) -> ::windows::core::Result< extern "system" { fn GetMachineTypeAttributes(machine: u16, machinetypeattributes: *mut MACHINE_ATTRIBUTES) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetMachineTypeAttributes(machine, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] @@ -1914,7 +1914,7 @@ where extern "system" { fn GetThreadDescription(hthread: super::super::Foundation::HANDLE, ppszthreaddescription: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThreadDescription(hthread.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] 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 d0e13de64e..6f7988c866 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs @@ -14,7 +14,7 @@ impl ICatalog { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCollection)(::windows::core::Interface::as_raw(self), bstrcollname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -23,7 +23,7 @@ impl ICatalog { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Connect)(::windows::core::Interface::as_raw(self), bstrconnectstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MajorVersion(&self, retval: *mut i32) -> ::windows::core::Result<()> { 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 95b0b7efb8..98d6070a25 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs @@ -334,11 +334,11 @@ impl IAutomaticUpdates { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ServiceEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableService(&self) -> ::windows::core::Result<()> { @@ -443,11 +443,11 @@ impl IAutomaticUpdates2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Settings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Settings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ServiceEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableService(&self) -> ::windows::core::Result<()> { @@ -456,7 +456,7 @@ impl IAutomaticUpdates2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Results(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Results)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -558,13 +558,13 @@ impl IAutomaticUpdatesResults { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LastSearchSuccessDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastSearchSuccessDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn LastInstallationSuccessDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastInstallationSuccessDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -650,29 +650,29 @@ pub struct IAutomaticUpdatesSettings(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesSettings { pub unsafe fn NotificationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NotificationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotificationLevel(&self, value: AutomaticUpdatesNotificationLevel) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNotificationLevel)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Required(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Required)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScheduledInstallationDay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScheduledInstallationDay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduledInstallationDay(&self, value: AutomaticUpdatesScheduledInstallationDay) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetScheduledInstallationDay)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ScheduledInstallationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScheduledInstallationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduledInstallationTime(&self, value: i32) -> ::windows::core::Result<()> { @@ -769,29 +769,29 @@ pub struct IAutomaticUpdatesSettings2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesSettings2 { pub unsafe fn NotificationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NotificationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotificationLevel(&self, value: AutomaticUpdatesNotificationLevel) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetNotificationLevel)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Required(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Required)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScheduledInstallationDay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ScheduledInstallationDay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduledInstallationDay(&self, value: AutomaticUpdatesScheduledInstallationDay) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetScheduledInstallationDay)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ScheduledInstallationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ScheduledInstallationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduledInstallationTime(&self, value: i32) -> ::windows::core::Result<()> { @@ -804,14 +804,14 @@ impl IAutomaticUpdatesSettings2 { (::windows::core::Interface::vtable(self).base__.Save)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IncludeRecommendedUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncludeRecommendedUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIncludeRecommendedUpdates(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIncludeRecommendedUpdates)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn CheckPermission(&self, usertype: AutomaticUpdatesUserType, permissiontype: AutomaticUpdatesPermissionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckPermission)(::windows::core::Interface::as_raw(self), usertype, permissiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -910,29 +910,29 @@ pub struct IAutomaticUpdatesSettings3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesSettings3 { pub unsafe fn NotificationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NotificationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotificationLevel(&self, value: AutomaticUpdatesNotificationLevel) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetNotificationLevel)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Required(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Required)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScheduledInstallationDay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ScheduledInstallationDay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduledInstallationDay(&self, value: AutomaticUpdatesScheduledInstallationDay) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetScheduledInstallationDay)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ScheduledInstallationTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ScheduledInstallationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScheduledInstallationTime(&self, value: i32) -> ::windows::core::Result<()> { @@ -945,25 +945,25 @@ impl IAutomaticUpdatesSettings3 { (::windows::core::Interface::vtable(self).base__.base__.Save)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IncludeRecommendedUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IncludeRecommendedUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIncludeRecommendedUpdates(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetIncludeRecommendedUpdates)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn CheckPermission(&self, usertype: AutomaticUpdatesUserType, permissiontype: AutomaticUpdatesPermissionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckPermission)(::windows::core::Interface::as_raw(self), usertype, permissiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NonAdministratorsElevated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NonAdministratorsElevated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNonAdministratorsElevated(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNonAdministratorsElevated)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn FeaturedUpdatesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FeaturedUpdatesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFeaturedUpdatesEnabled(&self, value: i16) -> ::windows::core::Result<()> { @@ -1086,53 +1086,53 @@ impl ICategory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CategoryID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CategoryID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Children(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Children)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Order(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Order)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Updates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1245,15 +1245,15 @@ impl ICategoryCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1470,17 +1470,17 @@ impl IDownloadJob { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AsyncState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AsyncState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsCompleted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCompleted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Updates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CleanUp(&self) -> ::windows::core::Result<()> { @@ -1489,7 +1489,7 @@ impl IDownloadJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestAbort(&self) -> ::windows::core::Result<()> { @@ -1587,47 +1587,47 @@ impl IDownloadProgress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentUpdateBytesDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentUpdateBytesDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentUpdateBytesToDownload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentUpdateBytesToDownload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentUpdateIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentUpdateIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PercentComplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PercentComplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TotalBytesDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalBytesDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TotalBytesToDownload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TotalBytesToDownload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUpdateResult(&self, updateindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpdateResult)(::windows::core::Interface::as_raw(self), updateindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentUpdateDownloadPhase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentUpdateDownloadPhase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentUpdatePercentComplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentUpdatePercentComplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1789,7 +1789,7 @@ impl IDownloadProgressChangedCallbackArgs { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Progress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Progress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1871,17 +1871,17 @@ pub struct IDownloadResult(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDownloadResult { pub unsafe fn HResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUpdateResult(&self, updateindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpdateResult)(::windows::core::Interface::as_raw(self), updateindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1967,21 +1967,21 @@ impl IImageInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AltText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AltText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Source(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Source)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2156,19 +2156,19 @@ pub struct IInstallationBehavior(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationBehavior { pub unsafe fn CanRequestUserInput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanRequestUserInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Impact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Impact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RebootBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequiresNetworkConnectivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequiresNetworkConnectivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2383,17 +2383,17 @@ impl IInstallationJob { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AsyncState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AsyncState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsCompleted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCompleted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Updates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CleanUp(&self) -> ::windows::core::Result<()> { @@ -2402,7 +2402,7 @@ impl IInstallationJob { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProgress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestAbort(&self) -> ::windows::core::Result<()> { @@ -2498,21 +2498,21 @@ pub struct IInstallationProgress(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationProgress { pub unsafe fn CurrentUpdateIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentUpdateIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentUpdatePercentComplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentUpdatePercentComplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PercentComplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PercentComplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUpdateResult(&self, updateindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpdateResult)(::windows::core::Interface::as_raw(self), updateindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2657,7 +2657,7 @@ impl IInstallationProgressChangedCallbackArgs { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Progress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Progress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2739,21 +2739,21 @@ pub struct IInstallationResult(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationResult { pub unsafe fn HResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUpdateResult(&self, updateindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpdateResult)(::windows::core::Interface::as_raw(self), updateindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2840,21 +2840,21 @@ impl IInvalidProductLicenseException { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Context(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Context)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Product(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Product)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3087,11 +3087,11 @@ impl ISearchJob { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn AsyncState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AsyncState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsCompleted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCompleted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CleanUp(&self) -> ::windows::core::Result<()> { @@ -3182,25 +3182,25 @@ pub struct ISearchResult(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISearchResult { pub unsafe fn ResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootCategories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RootCategories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Updates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Warnings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Warnings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3293,7 +3293,7 @@ impl IStringCollection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3305,15 +3305,15 @@ impl IStringCollection { (::windows::core::Interface::vtable(self).put_Item)(::windows::core::Interface::as_raw(self), index, value.into().abi()).ok() } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3322,7 +3322,7 @@ impl IStringCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { @@ -3331,7 +3331,7 @@ impl IStringCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Copy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Copy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3447,11 +3447,11 @@ impl ISystemInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OemHardwareSupportLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OemHardwareSupportLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3536,213 +3536,213 @@ impl IUpdate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3754,13 +3754,13 @@ impl IUpdate { (::windows::core::Interface::vtable(self).CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3960,213 +3960,213 @@ impl IUpdate2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4178,27 +4178,27 @@ impl IUpdate2 { (::windows::core::Interface::vtable(self).base__.CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CveIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4314,213 +4314,213 @@ impl IUpdate3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4532,27 +4532,27 @@ impl IUpdate3 { (::windows::core::Interface::vtable(self).base__.base__.CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CveIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4564,7 +4564,7 @@ impl IUpdate3 { (::windows::core::Interface::vtable(self).base__.CopyToCache)(::windows::core::Interface::as_raw(self), pfiles.into().abi()).ok() } pub unsafe fn BrowseOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BrowseOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4681,213 +4681,213 @@ impl IUpdate4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4899,27 +4899,27 @@ impl IUpdate4 { (::windows::core::Interface::vtable(self).base__.base__.base__.CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CveIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4931,11 +4931,11 @@ impl IUpdate4 { (::windows::core::Interface::vtable(self).base__.base__.CopyToCache)(::windows::core::Interface::as_raw(self), pfiles.into().abi()).ok() } pub unsafe fn BrowseOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BrowseOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PerUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PerUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5070,213 +5070,213 @@ impl IUpdate5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5288,27 +5288,27 @@ impl IUpdate5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CveIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5320,19 +5320,19 @@ impl IUpdate5 { (::windows::core::Interface::vtable(self).base__.base__.base__.CopyToCache)(::windows::core::Interface::as_raw(self), pfiles.into().abi()).ok() } pub unsafe fn BrowseOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BrowseOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PerUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PerUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoDownload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoDownload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5486,7 +5486,7 @@ impl IUpdateCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5498,15 +5498,15 @@ impl IUpdateCollection { (::windows::core::Interface::vtable(self).put_Item)(::windows::core::Interface::as_raw(self), index, value.into().abi()).ok() } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5515,7 +5515,7 @@ impl IUpdateCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUpdate>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { @@ -5524,7 +5524,7 @@ impl IUpdateCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Copy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Copy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5640,7 +5640,7 @@ impl IUpdateDownloadContent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5724,11 +5724,11 @@ impl IUpdateDownloadContent2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DownloadUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDeltaCompressedContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDeltaCompressedContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5827,15 +5827,15 @@ impl IUpdateDownloadContentCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5919,11 +5919,11 @@ pub struct IUpdateDownloadResult(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloadResult { pub unsafe fn HResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6005,7 +6005,7 @@ impl IUpdateDownloader { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6017,14 +6017,14 @@ impl IUpdateDownloader { (::windows::core::Interface::vtable(self).SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IsForced(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsForced)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsForced(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIsForced)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Priority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Priority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPriority(&self, value: DownloadPriority) -> ::windows::core::Result<()> { @@ -6033,7 +6033,7 @@ impl IUpdateDownloader { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Updates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6052,13 +6052,13 @@ impl IUpdateDownloader { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginDownload)(::windows::core::Interface::as_raw(self), onprogresschanged.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Download(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Download)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6067,7 +6067,7 @@ impl IUpdateDownloader { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDownloadJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndDownload)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6179,15 +6179,15 @@ impl IUpdateException { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Context(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Context)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6273,15 +6273,15 @@ impl IUpdateExceptionCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6365,75 +6365,75 @@ pub struct IUpdateHistoryEntry(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateHistoryEntry { pub unsafe fn Operation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Operation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Date(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Date)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UpdateIdentity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdateIdentity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnmappedResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UnmappedResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ServerSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6549,81 +6549,81 @@ pub struct IUpdateHistoryEntry2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateHistoryEntry2 { pub unsafe fn Operation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Operation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Date(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Date)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UpdateIdentity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UpdateIdentity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnmappedResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UnmappedResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ServerSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServerSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6725,15 +6725,15 @@ impl IUpdateHistoryEntryCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6817,13 +6817,13 @@ pub struct IUpdateIdentity(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateIdentity { pub unsafe fn RevisionNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RevisionNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UpdateID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdateID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6906,15 +6906,15 @@ pub struct IUpdateInstallationResult(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateInstallationResult { pub unsafe fn HResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResultCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6997,7 +6997,7 @@ impl IUpdateInstaller { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7009,7 +7009,7 @@ impl IUpdateInstaller { (::windows::core::Interface::vtable(self).SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IsForced(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsForced)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsForced(&self, value: i16) -> ::windows::core::Result<()> { @@ -7018,7 +7018,7 @@ impl IUpdateInstaller { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ParentHwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentHwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7036,13 +7036,13 @@ impl IUpdateInstaller { (::windows::core::Interface::vtable(self).SetParentWindow)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Updates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7061,7 +7061,7 @@ impl IUpdateInstaller { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginInstall)(::windows::core::Interface::as_raw(self), onprogresschanged.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7072,7 +7072,7 @@ impl IUpdateInstaller { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginUninstall)(::windows::core::Interface::as_raw(self), onprogresschanged.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7081,7 +7081,7 @@ impl IUpdateInstaller { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInstallationJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndInstall)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7090,13 +7090,13 @@ impl IUpdateInstaller { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInstallationJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndUninstall)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Install(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Install)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7105,28 +7105,28 @@ impl IUpdateInstaller { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RunWizard)(::windows::core::Interface::as_raw(self), dialogtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBusy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsBusy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Uninstall(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Uninstall)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllowSourcePrompts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowSourcePrompts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowSourcePrompts(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllowSourcePrompts)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn RebootRequiredBeforeInstallation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RebootRequiredBeforeInstallation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7266,7 +7266,7 @@ impl IUpdateInstaller2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7278,7 +7278,7 @@ impl IUpdateInstaller2 { (::windows::core::Interface::vtable(self).base__.SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IsForced(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsForced)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsForced(&self, value: i16) -> ::windows::core::Result<()> { @@ -7287,7 +7287,7 @@ impl IUpdateInstaller2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ParentHwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParentHwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7305,13 +7305,13 @@ impl IUpdateInstaller2 { (::windows::core::Interface::vtable(self).base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Updates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7330,7 +7330,7 @@ impl IUpdateInstaller2 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BeginInstall)(::windows::core::Interface::as_raw(self), onprogresschanged.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7341,7 +7341,7 @@ impl IUpdateInstaller2 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BeginUninstall)(::windows::core::Interface::as_raw(self), onprogresschanged.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7350,7 +7350,7 @@ impl IUpdateInstaller2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInstallationJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndInstall)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7359,13 +7359,13 @@ impl IUpdateInstaller2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInstallationJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndUninstall)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Install(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Install)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7374,32 +7374,32 @@ impl IUpdateInstaller2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RunWizard)(::windows::core::Interface::as_raw(self), dialogtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBusy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsBusy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Uninstall(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Uninstall)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllowSourcePrompts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AllowSourcePrompts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowSourcePrompts(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetAllowSourcePrompts)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn RebootRequiredBeforeInstallation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RebootRequiredBeforeInstallation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ForceQuiet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ForceQuiet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetForceQuiet(&self, value: i16) -> ::windows::core::Result<()> { @@ -7502,7 +7502,7 @@ impl IUpdateInstaller3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7514,7 +7514,7 @@ impl IUpdateInstaller3 { (::windows::core::Interface::vtable(self).base__.base__.SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IsForced(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsForced)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsForced(&self, value: i16) -> ::windows::core::Result<()> { @@ -7523,7 +7523,7 @@ impl IUpdateInstaller3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ParentHwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ParentHwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7541,13 +7541,13 @@ impl IUpdateInstaller3 { (::windows::core::Interface::vtable(self).base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Updates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7566,7 +7566,7 @@ impl IUpdateInstaller3 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BeginInstall)(::windows::core::Interface::as_raw(self), onprogresschanged.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7577,7 +7577,7 @@ impl IUpdateInstaller3 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BeginUninstall)(::windows::core::Interface::as_raw(self), onprogresschanged.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7586,7 +7586,7 @@ impl IUpdateInstaller3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInstallationJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EndInstall)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7595,13 +7595,13 @@ impl IUpdateInstaller3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInstallationJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EndUninstall)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Install(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Install)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7610,39 +7610,39 @@ impl IUpdateInstaller3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RunWizard)(::windows::core::Interface::as_raw(self), dialogtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBusy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsBusy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Uninstall(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Uninstall)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllowSourcePrompts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AllowSourcePrompts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowSourcePrompts(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetAllowSourcePrompts)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn RebootRequiredBeforeInstallation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RebootRequiredBeforeInstallation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ForceQuiet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ForceQuiet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetForceQuiet(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetForceQuiet)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn AttemptCloseAppsIfNecessary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttemptCloseAppsIfNecessary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttemptCloseAppsIfNecessary(&self, value: i16) -> ::windows::core::Result<()> { @@ -7763,7 +7763,7 @@ impl IUpdateInstaller4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7775,7 +7775,7 @@ impl IUpdateInstaller4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IsForced(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsForced)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsForced(&self, value: i16) -> ::windows::core::Result<()> { @@ -7784,7 +7784,7 @@ impl IUpdateInstaller4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ParentHwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ParentHwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7802,13 +7802,13 @@ impl IUpdateInstaller4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetParentWindow)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ParentWindow(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ParentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Updates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7827,7 +7827,7 @@ impl IUpdateInstaller4 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.BeginInstall)(::windows::core::Interface::as_raw(self), onprogresschanged.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7838,7 +7838,7 @@ impl IUpdateInstaller4 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.BeginUninstall)(::windows::core::Interface::as_raw(self), onprogresschanged.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7847,7 +7847,7 @@ impl IUpdateInstaller4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInstallationJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EndInstall)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7856,13 +7856,13 @@ impl IUpdateInstaller4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInstallationJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EndUninstall)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Install(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Install)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7871,39 +7871,39 @@ impl IUpdateInstaller4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RunWizard)(::windows::core::Interface::as_raw(self), dialogtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBusy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsBusy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Uninstall(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Uninstall)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AllowSourcePrompts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AllowSourcePrompts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllowSourcePrompts(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetAllowSourcePrompts)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn RebootRequiredBeforeInstallation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RebootRequiredBeforeInstallation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ForceQuiet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ForceQuiet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetForceQuiet(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetForceQuiet)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn AttemptCloseAppsIfNecessary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AttemptCloseAppsIfNecessary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttemptCloseAppsIfNecessary(&self, value: i16) -> ::windows::core::Result<()> { @@ -8091,7 +8091,7 @@ pub struct IUpdateSearcher(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateSearcher { pub unsafe fn CanAutomaticallyUpgradeService(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanAutomaticallyUpgradeService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCanAutomaticallyUpgradeService(&self, value: i16) -> ::windows::core::Result<()> { @@ -8100,7 +8100,7 @@ impl IUpdateSearcher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8112,14 +8112,14 @@ impl IUpdateSearcher { (::windows::core::Interface::vtable(self).SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IncludePotentiallySupersededUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncludePotentiallySupersededUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIncludePotentiallySupersededUpdates(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIncludePotentiallySupersededUpdates)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ServerSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServerSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetServerSelection(&self, value: ServerSelection) -> ::windows::core::Result<()> { @@ -8133,7 +8133,7 @@ impl IUpdateSearcher { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BeginSearch)(::windows::core::Interface::as_raw(self), criteria.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8142,7 +8142,7 @@ impl IUpdateSearcher { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISearchJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndSearch)(::windows::core::Interface::as_raw(self), searchjob.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8151,13 +8151,13 @@ impl IUpdateSearcher { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EscapeString)(::windows::core::Interface::as_raw(self), unescaped.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryHistory(&self, startindex: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHistory)(::windows::core::Interface::as_raw(self), startindex, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8166,24 +8166,24 @@ impl IUpdateSearcher { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Search)(::windows::core::Interface::as_raw(self), criteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Online(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Online)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOnline(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOnline)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetTotalHistoryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTotalHistoryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8314,7 +8314,7 @@ pub struct IUpdateSearcher2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateSearcher2 { pub unsafe fn CanAutomaticallyUpgradeService(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanAutomaticallyUpgradeService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCanAutomaticallyUpgradeService(&self, value: i16) -> ::windows::core::Result<()> { @@ -8323,7 +8323,7 @@ impl IUpdateSearcher2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8335,14 +8335,14 @@ impl IUpdateSearcher2 { (::windows::core::Interface::vtable(self).base__.SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IncludePotentiallySupersededUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IncludePotentiallySupersededUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIncludePotentiallySupersededUpdates(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetIncludePotentiallySupersededUpdates)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ServerSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServerSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetServerSelection(&self, value: ServerSelection) -> ::windows::core::Result<()> { @@ -8356,7 +8356,7 @@ impl IUpdateSearcher2 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BeginSearch)(::windows::core::Interface::as_raw(self), criteria.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8365,7 +8365,7 @@ impl IUpdateSearcher2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISearchJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndSearch)(::windows::core::Interface::as_raw(self), searchjob.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8374,13 +8374,13 @@ impl IUpdateSearcher2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EscapeString)(::windows::core::Interface::as_raw(self), unescaped.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryHistory(&self, startindex: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryHistory)(::windows::core::Interface::as_raw(self), startindex, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8389,24 +8389,24 @@ impl IUpdateSearcher2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Search)(::windows::core::Interface::as_raw(self), criteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Online(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Online)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOnline(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOnline)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetTotalHistoryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTotalHistoryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8418,7 +8418,7 @@ impl IUpdateSearcher2 { (::windows::core::Interface::vtable(self).base__.SetServiceID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IgnoreDownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IgnoreDownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIgnoreDownloadPriority(&self, value: i16) -> ::windows::core::Result<()> { @@ -8519,7 +8519,7 @@ pub struct IUpdateSearcher3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateSearcher3 { pub unsafe fn CanAutomaticallyUpgradeService(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CanAutomaticallyUpgradeService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCanAutomaticallyUpgradeService(&self, value: i16) -> ::windows::core::Result<()> { @@ -8528,7 +8528,7 @@ impl IUpdateSearcher3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8540,14 +8540,14 @@ impl IUpdateSearcher3 { (::windows::core::Interface::vtable(self).base__.base__.SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IncludePotentiallySupersededUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IncludePotentiallySupersededUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIncludePotentiallySupersededUpdates(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetIncludePotentiallySupersededUpdates)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ServerSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ServerSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetServerSelection(&self, value: ServerSelection) -> ::windows::core::Result<()> { @@ -8561,7 +8561,7 @@ impl IUpdateSearcher3 { P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BeginSearch)(::windows::core::Interface::as_raw(self), criteria.into().abi(), oncompleted.into().abi(), state.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8570,7 +8570,7 @@ impl IUpdateSearcher3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISearchJob>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EndSearch)(::windows::core::Interface::as_raw(self), searchjob.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8579,13 +8579,13 @@ impl IUpdateSearcher3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EscapeString)(::windows::core::Interface::as_raw(self), unescaped.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryHistory(&self, startindex: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.QueryHistory)(::windows::core::Interface::as_raw(self), startindex, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8594,24 +8594,24 @@ impl IUpdateSearcher3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Search)(::windows::core::Interface::as_raw(self), criteria.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Online(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Online)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOnline(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetOnline)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetTotalHistoryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTotalHistoryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8623,14 +8623,14 @@ impl IUpdateSearcher3 { (::windows::core::Interface::vtable(self).base__.base__.SetServiceID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn IgnoreDownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IgnoreDownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIgnoreDownloadPriority(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetIgnoreDownloadPriority)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn SearchScope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchScope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSearchScope(&self, value: SearchScope) -> ::windows::core::Result<()> { @@ -8751,65 +8751,65 @@ impl IUpdateService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ContentValidationCert(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContentValidationCert)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExpirationDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpirationDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsManaged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsManaged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsRegisteredWithAU(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRegisteredWithAU)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IssueDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IssueDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OffersWindowsUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OffersWindowsUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RedirectUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RedirectUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsScanPackageService(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsScanPackageService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRegisterWithAU(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanRegisterWithAU)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetupPrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetupPrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8920,69 +8920,69 @@ impl IUpdateService2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ContentValidationCert(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ContentValidationCert)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExpirationDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExpirationDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsManaged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsManaged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsRegisteredWithAU(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRegisteredWithAU)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IssueDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IssueDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OffersWindowsUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OffersWindowsUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RedirectUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RedirectUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsScanPackageService(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsScanPackageService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRegisterWithAU(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanRegisterWithAU)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetupPrefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetupPrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDefaultAUService(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDefaultAUService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9081,15 +9081,15 @@ impl IUpdateServiceCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9175,7 +9175,7 @@ impl IUpdateServiceManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Services(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Services)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9185,7 +9185,7 @@ impl IUpdateServiceManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddService)(::windows::core::Interface::as_raw(self), serviceid.into().abi(), authorizationcabpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9219,7 +9219,7 @@ impl IUpdateServiceManager { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddScanPackageService)(::windows::core::Interface::as_raw(self), servicename.into().abi(), scanfilelocation.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9336,7 +9336,7 @@ impl IUpdateServiceManager2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Services(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Services)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9346,7 +9346,7 @@ impl IUpdateServiceManager2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddService)(::windows::core::Interface::as_raw(self), serviceid.into().abi(), authorizationcabpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9380,7 +9380,7 @@ impl IUpdateServiceManager2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddScanPackageService)(::windows::core::Interface::as_raw(self), servicename.into().abi(), scanfilelocation.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9395,7 +9395,7 @@ impl IUpdateServiceManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9412,7 +9412,7 @@ impl IUpdateServiceManager2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryServiceRegistration)(::windows::core::Interface::as_raw(self), serviceid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -9422,7 +9422,7 @@ impl IUpdateServiceManager2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddService2)(::windows::core::Interface::as_raw(self), serviceid.into().abi(), flags, authorizationcabpath.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9534,23 +9534,23 @@ pub struct IUpdateServiceRegistration(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateServiceRegistration { pub unsafe fn RegistrationState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegistrationState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ServiceID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPendingRegistrationWithAU(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPendingRegistrationWithAU)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Service(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Service)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9640,7 +9640,7 @@ impl IUpdateSession { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9652,13 +9652,13 @@ impl IUpdateSession { (::windows::core::Interface::vtable(self).SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn WebProxy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WebProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9672,19 +9672,19 @@ impl IUpdateSession { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateSearcher(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUpdateSearcher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateDownloader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUpdateDownloader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateInstaller(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUpdateInstaller)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9793,7 +9793,7 @@ impl IUpdateSession2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9805,13 +9805,13 @@ impl IUpdateSession2 { (::windows::core::Interface::vtable(self).base__.SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn WebProxy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WebProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9825,23 +9825,23 @@ impl IUpdateSession2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateSearcher(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateUpdateSearcher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateDownloader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateUpdateDownloader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateInstaller(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateUpdateInstaller)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserLocale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserLocale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUserLocale(&self, lcid: u32) -> ::windows::core::Result<()> { @@ -9944,7 +9944,7 @@ impl IUpdateSession3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClientApplicationID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ClientApplicationID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9956,13 +9956,13 @@ impl IUpdateSession3 { (::windows::core::Interface::vtable(self).base__.base__.SetClientApplicationID)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn WebProxy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.WebProxy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9976,23 +9976,23 @@ impl IUpdateSession3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateSearcher(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateUpdateSearcher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateDownloader(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateUpdateDownloader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateInstaller(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateUpdateInstaller)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UserLocale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UserLocale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUserLocale(&self, lcid: u32) -> ::windows::core::Result<()> { @@ -10001,7 +10001,7 @@ impl IUpdateSession3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateServiceManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateUpdateServiceManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10010,7 +10010,7 @@ impl IUpdateSession3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryHistory)(::windows::core::Interface::as_raw(self), criteria.into().abi(), startindex, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10134,7 +10134,7 @@ impl IWebProxy { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Address(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Address)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10148,7 +10148,7 @@ impl IWebProxy { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BypassList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BypassList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10160,20 +10160,20 @@ impl IWebProxy { (::windows::core::Interface::vtable(self).SetBypassList)(::windows::core::Interface::as_raw(self), value.into().abi()).ok() } pub unsafe fn BypassProxyOnLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BypassProxyOnLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBypassProxyOnLocal(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBypassProxyOnLocal)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn ReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UserName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10211,7 +10211,7 @@ impl IWebProxy { (::windows::core::Interface::vtable(self).PromptForCredentialsFromHwnd)(::windows::core::Interface::as_raw(self), parentwindow.into(), title.into().abi()).ok() } pub unsafe fn AutoDetect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoDetect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoDetect(&self, value: i16) -> ::windows::core::Result<()> { @@ -10335,213 +10335,213 @@ impl IWindowsDriverUpdate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10553,55 +10553,55 @@ impl IWindowsDriverUpdate { (::windows::core::Interface::vtable(self).base__.CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverHardwareID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverHardwareID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverManufacturer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DriverVerDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverVerDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceProblemNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceProblemNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10722,213 +10722,213 @@ impl IWindowsDriverUpdate2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10940,69 +10940,69 @@ impl IWindowsDriverUpdate2 { (::windows::core::Interface::vtable(self).base__.base__.CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DriverClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverHardwareID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DriverHardwareID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverManufacturer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DriverManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DriverModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DriverProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DriverVerDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DriverVerDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceProblemNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeviceProblemNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeviceStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CveIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11136,213 +11136,213 @@ impl IWindowsDriverUpdate3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11354,69 +11354,69 @@ impl IWindowsDriverUpdate3 { (::windows::core::Interface::vtable(self).base__.base__.base__.CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DriverClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverHardwareID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DriverHardwareID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverManufacturer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DriverManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DriverModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DriverProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DriverVerDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DriverVerDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceProblemNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DeviceProblemNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DeviceStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CveIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11428,7 +11428,7 @@ impl IWindowsDriverUpdate3 { (::windows::core::Interface::vtable(self).base__.CopyToCache)(::windows::core::Interface::as_raw(self), pfiles.into().abi()).ok() } pub unsafe fn BrowseOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BrowseOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11563,213 +11563,213 @@ impl IWindowsDriverUpdate4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11781,69 +11781,69 @@ impl IWindowsDriverUpdate4 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DriverClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverHardwareID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DriverHardwareID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverManufacturer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DriverManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DriverModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DriverProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DriverVerDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DriverVerDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceProblemNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DeviceProblemNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DeviceStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CveIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11855,17 +11855,17 @@ impl IWindowsDriverUpdate4 { (::windows::core::Interface::vtable(self).base__.base__.CopyToCache)(::windows::core::Interface::as_raw(self), pfiles.into().abi()).ok() } pub unsafe fn BrowseOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BrowseOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn WindowsDriverUpdateEntries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowsDriverUpdateEntries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PerUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PerUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12022,213 +12022,213 @@ impl IWindowsDriverUpdate5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelectOnWebSites(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.AutoSelectOnWebSites)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.BundledUpdates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanRequireSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CanRequireSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Categories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Deadline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Deadline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.DeltaCompressedContentAvailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.DeltaCompressedContentPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EulaAccepted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.EulaAccepted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn EulaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.EulaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HandlerID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.HandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Identity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.InstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBeta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsBeta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsDownloaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsDownloaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsHidden(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetIsHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsInstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsMandatory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsMandatory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsUninstallable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsUninstallable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastDeploymentChangeTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.LastDeploymentChangeTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MaxDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.MaxDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MinDownloadSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.MinDownloadSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.MoreInfoUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MsrcSeverity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.MsrcSeverity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedCpuSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RecommendedCpuSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RecommendedHardDiskSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecommendedMemory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RecommendedMemory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ReleaseNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ReleaseNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SecurityBulletinIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SupersededUpdateIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SupportUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SupportUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UninstallationNotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.UninstallationNotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.UninstallationBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.UninstallationSteps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.KBArticleIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AcceptEula(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.AcceptEula)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn DeploymentAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.DeploymentAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12240,69 +12240,69 @@ impl IWindowsDriverUpdate5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CopyFromCache)(::windows::core::Interface::as_raw(self), path.into().abi(), toextractcabfiles).ok() } pub unsafe fn DownloadPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.DownloadPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.DownloadContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DriverClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverHardwareID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DriverHardwareID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverManufacturer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DriverManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DriverModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DriverProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DriverVerDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DriverVerDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceProblemNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DeviceProblemNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DeviceStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RebootRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RebootRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsPresent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsPresent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CveIDs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12314,25 +12314,25 @@ impl IWindowsDriverUpdate5 { (::windows::core::Interface::vtable(self).base__.base__.base__.CopyToCache)(::windows::core::Interface::as_raw(self), pfiles.into().abi()).ok() } pub unsafe fn BrowseOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BrowseOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn WindowsDriverUpdateEntries(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WindowsDriverUpdateEntries)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PerUser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PerUser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AutoDownload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoDownload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12504,43 +12504,43 @@ impl IWindowsDriverUpdateEntry { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverHardwareID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverHardwareID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverManufacturer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverManufacturer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverModel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DriverProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DriverVerDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverVerDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceProblemNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceProblemNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12643,15 +12643,15 @@ impl IWindowsDriverUpdateEntryCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12740,7 +12740,7 @@ impl IWindowsUpdateAgentInfo { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfo)(::windows::core::Interface::as_raw(self), varinfoidentifier.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 92a80c6f0a..121ee75dc9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs @@ -5,7 +5,7 @@ impl IWaaSAssessor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetOSUpdateAssessment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOSUpdateAssessment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 bff171986a..b880a8358c 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 @@ -71,7 +71,7 @@ pub struct IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl { pub struct IWindowsDevicesAllJoynBusAttachmentInterop(::windows::core::IUnknown); impl IWindowsDevicesAllJoynBusAttachmentInterop { pub unsafe fn Win32Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Win32Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -216,7 +216,7 @@ impl IWindowsDevicesAllJoynBusObjectInterop { (::windows::core::Interface::vtable(self).AddPropertySetHandler)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(context), interfacename.into().abi(), callback).ok() } pub unsafe fn Win32Handle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Win32Handle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 7e99eb2082..cf94670ce5 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 @@ -8,7 +8,7 @@ impl ICompositionCapabilitiesInteropFactory { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetForWindow)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -264,7 +264,7 @@ pub struct ICompositionDrawingSurfaceInterop2_Vtbl { pub struct ICompositionGraphicsDeviceInterop(::windows::core::IUnknown); impl ICompositionGraphicsDeviceInterop { pub unsafe fn GetRenderingDevice(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenderingDevice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetRenderingDevice<'a, P0>(&self, value: P0) -> ::windows::core::Result<()> @@ -327,7 +327,7 @@ impl ICompositorDesktopInterop { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDesktopWindowTarget)(::windows::core::Interface::as_raw(self), hwndtarget.into(), istopmost.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnsureOnThread(&self, threadid: u32) -> ::windows::core::Result<()> { @@ -389,7 +389,7 @@ impl ICompositorInterop { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCompositionSurfaceForHandle)(::windows::core::Interface::as_raw(self), swapchain.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"UI_Composition\"`*"] @@ -398,7 +398,7 @@ impl ICompositorInterop { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCompositionSurfaceForSwapChain)(::windows::core::Interface::as_raw(self), swapchain.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"UI_Composition\"`*"] @@ -407,7 +407,7 @@ impl ICompositorInterop { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateGraphicsDevice)(::windows::core::Interface::as_raw(self), renderingdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -470,7 +470,7 @@ impl IDesktopWindowTargetInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Hwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Hwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).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 783b97b4bc..355235011a 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 @@ -9,7 +9,7 @@ where extern "system" { fn CreateDirect3D11DeviceFromDXGIDevice(dxgidevice: *mut ::core::ffi::c_void, graphicsdevice: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateDirect3D11DeviceFromDXGIDevice(dxgidevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IInspectable>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT_Direct3D11\"`, `\"Win32_Graphics_Dxgi\"`*"] @@ -23,7 +23,7 @@ where extern "system" { fn CreateDirect3D11SurfaceFromDXGISurface(dgxisurface: *mut ::core::ffi::c_void, graphicssurface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateDirect3D11SurfaceFromDXGISurface(dgxisurface.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IInspectable>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT_Direct3D11\"`*"] 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 4f55c00e0a..669eaccd9f 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 @@ -9,7 +9,7 @@ impl IDisplayDeviceInterop { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IInspectable>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSharedHandle)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(psecurityattributes), access, name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18,7 +18,7 @@ impl IDisplayDeviceInterop { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenSharedHandle)(::windows::core::Interface::as_raw(self), nthandle.into(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut ::core::ffi::c_void>(result__) } } @@ -77,11 +77,11 @@ impl IDisplayPathInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CreateSourcePresentationHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSourcePresentationHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).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 3ec854b495..c1295ae1ce 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 @@ -50,7 +50,7 @@ impl IGeometrySource2DInterop { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D")] pub unsafe fn GetGeometry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGeometry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] @@ -59,7 +59,7 @@ impl IGeometrySource2DInterop { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::super::Graphics::Direct2D::ID2D1Factory>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TryGetGeometryUsingFactory)(::windows::core::Interface::as_raw(self), factory.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116,7 +116,7 @@ pub struct IGeometrySource2DInterop_Vtbl { pub struct IGraphicsEffectD2D1Interop(::windows::core::IUnknown); impl IGraphicsEffectD2D1Interop { pub unsafe fn GetEffectId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetNamedPropertyMapping<'a, P0>(&self, name: P0, index: *mut u32, mapping: *mut GRAPHICS_EFFECT_PROPERTY_MAPPING) -> ::windows::core::Result<()> @@ -126,23 +126,23 @@ impl IGraphicsEffectD2D1Interop { (::windows::core::Interface::vtable(self).GetNamedPropertyMapping)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(index), ::core::mem::transmute(mapping)).ok() } pub unsafe fn GetPropertyCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Foundation\"`*"] #[cfg(feature = "Foundation")] pub unsafe fn GetProperty(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Graphics_Effects\"`*"] #[cfg(feature = "Graphics_Effects")] pub unsafe fn GetSource(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSource)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).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 875e85e252..1c0f1cab94 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 @@ -8,7 +8,7 @@ impl IHolographicCameraInterop { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Graphics::Direct3D12::ID3D12Device>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDirect3D12BackBufferResource)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(ptexture2ddesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -18,7 +18,7 @@ impl IHolographicCameraInterop { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Graphics::Direct3D12::ID3D12Device>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Graphics::Direct3D12::ID3D12ProtectedResourceSession>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDirect3D12HardwareProtectedBackBufferResource)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(ptexture2ddesc), pprotectedresourcesession.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -221,7 +221,7 @@ impl IHolographicQuadLayerInterop { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Graphics::Direct3D12::ID3D12Device>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDirect3D12ContentBufferResource)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(ptexture2ddesc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -231,7 +231,7 @@ impl IHolographicQuadLayerInterop { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Graphics::Direct3D12::ID3D12Device>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Graphics::Direct3D12::ID3D12ProtectedResourceSession>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDirect3D12HardwareProtectedContentBufferResource)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), ::core::mem::transmute(ptexture2ddesc), pprotectedresourcesession.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] 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 c3ad24f336..f4190235f7 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 @@ -8,7 +8,7 @@ impl IIsolatedEnvironmentInterop { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHostHwndInterop)(::windows::core::Interface::as_raw(self), containerhwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 19257dfb25..cfebd30f6f 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 @@ -8,7 +8,7 @@ impl ILearningModelDeviceFactoryNative { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Graphics::Direct3D12::ID3D12CommandQueue>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFromD3D12CommandQueue)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -63,7 +63,7 @@ impl ILearningModelOperatorProviderNative { #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[cfg(feature = "Win32_AI_MachineLearning_WinML")] pub unsafe fn GetRegistry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegistry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -170,7 +170,7 @@ impl ITensorNative { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn GetD3D12Resource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetD3D12Resource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 69dadfa966..dcda178041 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 @@ -125,7 +125,7 @@ where extern "system" { fn PdfCreateRenderer(pdevice: *mut ::core::ffi::c_void, pprenderer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PdfCreateRenderer(pdevice.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[cfg(feature = "implement")] 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 ae2505d840..ab6390b9b5 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 @@ -93,19 +93,19 @@ impl IPrintWorkflowConfigurationNative { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Graphics_Printing", feature = "Win32_System_Com"))] pub unsafe fn PrinterQueue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrinterQueue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Graphics_Printing", feature = "Win32_System_Com"))] pub unsafe fn DriverProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DriverProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Graphics_Printing", feature = "Win32_System_Com"))] pub unsafe fn UserProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UserProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -174,7 +174,7 @@ impl IPrintWorkflowObjectModelSourceFileContentNative { #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[cfg(feature = "Win32_Storage_Xps")] pub unsafe fn ObjectFactory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -230,7 +230,7 @@ impl IPrintWorkflowXpsObjectModelTargetPackageNative { #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[cfg(feature = "Win32_Storage_Xps")] pub unsafe fn DocumentPackageTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DocumentPackageTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 3aaee1f40b..493b482b05 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 @@ -272,7 +272,7 @@ pub struct IOplockBreakingHandler_Vtbl { pub struct IRandomAccessStreamFileAccessMode(::windows::core::IUnknown); impl IRandomAccessStreamFileAccessMode { pub unsafe fn GetMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -328,7 +328,7 @@ impl IStorageFolderHandleAccess { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IOplockBreakingHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), filename.into(), creationoptions, accessoptions, sharingoptions, options, oplockbreakinghandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -386,7 +386,7 @@ impl IStorageItemHandleAccess { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOplockBreakingHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Create)(::windows::core::Interface::as_raw(self), accessoptions, sharingoptions, options, oplockbreakinghandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -491,7 +491,7 @@ impl IUnbufferedFileHandleProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUnbufferedFileHandleOplockCallback>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OpenUnbufferedFileHandle)(::windows::core::Interface::as_raw(self), oplockbreakcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloseUnbufferedFileHandle(&self) -> ::windows::core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Xaml/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Xaml/mod.rs index 783962c08b..9646ddb4d2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Xaml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Xaml/mod.rs @@ -15,7 +15,7 @@ impl IDesktopWindowXamlSourceNative { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -82,7 +82,7 @@ impl IDesktopWindowXamlSourceNative2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -219,7 +219,7 @@ impl IReferenceTracker { (::windows::core::Interface::vtable(self).FindTrackerTargets)(::windows::core::Interface::as_raw(self), callback.into().abi()).ok() } pub unsafe fn GetReferenceTrackerManager(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReferenceTrackerManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddRefFromTrackerSource(&self) -> ::windows::core::Result<()> { @@ -340,7 +340,7 @@ impl IReferenceTrackerHost { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTrackerTarget)(::windows::core::Interface::as_raw(self), unknown.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddMemoryPressure(&self, bytesallocated: u64) -> ::windows::core::Result<()> { @@ -919,7 +919,7 @@ pub struct ISwapChainPanelNative2_Vtbl { pub struct ITrackerOwner(::windows::core::IUnknown); impl ITrackerOwner { pub unsafe fn CreateTrackerHandle(&self) -> ::windows::core::Result<*mut TrackerHandle__> { - let mut result__ = ::core::mem::MaybeUninit::<*mut TrackerHandle__>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTrackerHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut TrackerHandle__>(result__) } pub unsafe fn DeleteTrackerHandle(&self, handle: *const TrackerHandle__) -> ::windows::core::Result<()> { @@ -1005,7 +1005,7 @@ impl IVirtualSurfaceImageSourceNative { (::windows::core::Interface::vtable(self).Invalidate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(updaterect)).ok() } pub unsafe fn GetUpdateRectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpdateRectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1016,7 +1016,7 @@ impl IVirtualSurfaceImageSourceNative { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetVisibleBounds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisibleBounds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterForUpdatesNeeded<'a, P0>(&self, callback: P0) -> ::windows::core::Result<()> 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 5a26aace03..9e44c135d5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs @@ -232,7 +232,7 @@ pub unsafe fn CoDecodeProxy(dwclientpid: u32, ui64proxyaddress: u64) -> ::window extern "system" { fn CoDecodeProxy(dwclientpid: u32, ui64proxyaddress: u64, pserverinformation: *mut ServerInformation) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoDecodeProxy(dwclientpid, ui64proxyaddress, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -270,7 +270,7 @@ pub unsafe fn CreateDispatcherQueueController(options: DispatcherQueueOptions) - extern "system" { fn CreateDispatcherQueueController(options: DispatcherQueueOptions, dispatcherqueuecontroller: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateDispatcherQueueController(::core::mem::transmute(options), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -441,7 +441,7 @@ pub unsafe fn GetRestrictedErrorInfo() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetRestrictedErrorInfo(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(transparent)] @@ -689,7 +689,7 @@ pub struct IAccountsSettingsPaneInterop_Vtbl { pub struct IActivationFactory(::windows::core::IUnknown); impl IActivationFactory { pub unsafe fn ActivateInstance(&self) -> ::windows::core::Result<::windows::core::IInspectable> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IInspectable>(result__) } } @@ -909,7 +909,7 @@ pub struct IAppServiceConnectionExtendedExecution_Vtbl { pub struct IBufferByteAccess(::windows::core::IUnknown); impl IBufferByteAccess { pub unsafe fn Buffer(&self) -> ::windows::core::Result<*mut u8> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u8>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Buffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u8>(result__) } } @@ -975,7 +975,7 @@ impl ICastingController { where P0: ::std::convert::Into<::windows::core::InParam<'a, ICastingEventHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), eventhandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnAdvise(&self, cookie: u32) -> ::windows::core::Result<()> { @@ -1088,13 +1088,13 @@ pub struct ICastingEventHandler_Vtbl { pub struct ICastingSourceInfo(::windows::core::IUnknown); impl ICastingSourceInfo { pub unsafe fn GetController(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetController)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1204,31 +1204,31 @@ pub struct ICoreInputInterop_Vtbl { pub struct ICoreWindowAdapterInterop(::windows::core::IUnknown); impl ICoreWindowAdapterInterop { pub unsafe fn AppActivationClientAdapter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AppActivationClientAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ApplicationViewClientAdapter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplicationViewClientAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn CoreApplicationViewClientAdapter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoreApplicationViewClientAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn HoloViewClientAdapter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HoloViewClientAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn PositionerClientAdapter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PositionerClientAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SystemNavigationClientAdapter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SystemNavigationClientAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn TitleBarClientAdapter(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TitleBarClientAdapter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetWindowClientAdapter<'a, P0>(&self, value: P0) -> ::windows::core::Result<()> @@ -1315,7 +1315,7 @@ impl ICoreWindowComponentInterop { (::windows::core::Interface::vtable(self).ConfigureComponentInput)(::windows::core::Interface::as_raw(self), hostviewinstanceid, hwndhost.into(), inputsourcevisual.into().abi()).ok() } pub unsafe fn GetViewInstanceId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewInstanceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1371,7 +1371,7 @@ impl ICoreWindowInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMessageHandled(&self, value: u8) -> ::windows::core::Result<()> { @@ -1428,11 +1428,11 @@ pub struct ICoreWindowInterop_Vtbl { pub struct ICorrelationVectorInformation(::windows::core::IUnknown); impl ICorrelationVectorInformation { pub unsafe fn LastCorrelationVectorForThread(&self) -> ::windows::core::Result<::windows::core::HSTRING> { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastCorrelationVectorForThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } pub unsafe fn NextCorrelationVectorForThread(&self) -> ::windows::core::Result<::windows::core::HSTRING> { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NextCorrelationVectorForThread)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } pub unsafe fn SetNextCorrelationVectorForThread<'a, P0>(&self, cv: P0) -> ::windows::core::Result<()> @@ -1505,7 +1505,7 @@ pub struct ICorrelationVectorInformation_Vtbl { pub struct ICorrelationVectorSource(::windows::core::IUnknown); impl ICorrelationVectorSource { pub unsafe fn CorrelationVector(&self) -> ::windows::core::Result<::windows::core::HSTRING> { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CorrelationVector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } } @@ -1777,7 +1777,7 @@ pub struct IInputPaneInterop_Vtbl { pub struct ILanguageExceptionErrorInfo(::windows::core::IUnknown); impl ILanguageExceptionErrorInfo { pub unsafe fn GetLanguageException(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguageException)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -1827,11 +1827,11 @@ pub struct ILanguageExceptionErrorInfo_Vtbl { pub struct ILanguageExceptionErrorInfo2(::windows::core::IUnknown); impl ILanguageExceptionErrorInfo2 { pub unsafe fn GetLanguageException(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguageException)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetPreviousLanguageExceptionErrorInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousLanguageExceptionErrorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CapturePropagationContext<'a, P0>(&self, languageexception: P0) -> ::windows::core::Result<()> @@ -1841,7 +1841,7 @@ impl ILanguageExceptionErrorInfo2 { (::windows::core::Interface::vtable(self).CapturePropagationContext)(::windows::core::Interface::as_raw(self), languageexception.into().abi()).ok() } pub unsafe fn GetPropagationContextHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropagationContextHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1957,7 +1957,7 @@ pub struct ILanguageExceptionStackBackTrace_Vtbl { pub struct ILanguageExceptionTransform(::windows::core::IUnknown); impl ILanguageExceptionTransform { pub unsafe fn GetTransformedRestrictedErrorInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTransformedRestrictedErrorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2213,7 +2213,7 @@ impl IRestrictedErrorInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2401,7 +2401,7 @@ impl IShareWindowCommandEventArgsInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3078,7 +3078,7 @@ pub struct IWeakReference_Vtbl { pub struct IWeakReferenceSource(::windows::core::IUnknown); impl IWeakReferenceSource { pub unsafe fn GetWeakReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWeakReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3371,7 +3371,7 @@ where extern "system" { fn RoActivateInstance(activatableclassid: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, instance: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoActivateInstance(activatableclassid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IInspectable>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3437,7 +3437,7 @@ where extern "system" { fn RoGetAgileReference(options: AgileReferenceOptions, riid: *const ::windows::core::GUID, punk: *mut ::core::ffi::c_void, ppagilereference: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoGetAgileReference(options, ::core::mem::transmute(riid), punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3447,7 +3447,7 @@ pub unsafe fn RoGetApartmentIdentifier() -> ::windows::core::Result { extern "system" { fn RoGetApartmentIdentifier(apartmentidentifier: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoGetApartmentIdentifier(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_System_Com_Marshal\"`*"] @@ -3458,7 +3458,7 @@ pub unsafe fn RoGetBufferMarshaler() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoGetBufferMarshaler(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3468,7 +3468,7 @@ pub unsafe fn RoGetErrorReportingFlags() -> ::windows::core::Result { extern "system" { fn RoGetErrorReportingFlags(pflags: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoGetErrorReportingFlags(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3478,7 +3478,7 @@ pub unsafe fn RoGetMatchingRestrictedErrorInfo(hrin: ::windows::core::HRESULT) - extern "system" { fn RoGetMatchingRestrictedErrorInfo(hrin: ::windows::core::HRESULT, pprestrictederrorinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoGetMatchingRestrictedErrorInfo(hrin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3530,7 +3530,7 @@ pub unsafe fn RoInspectThreadErrorInfo(targettebaddress: usize, machine: u16, re extern "system" { fn RoInspectThreadErrorInfo(targettebaddress: usize, machine: u16, readmemorycallback: *mut ::core::ffi::c_void, context: *const ::core::ffi::c_void, targeterrorinfoaddress: *mut usize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoInspectThreadErrorInfo(targettebaddress, machine, ::core::mem::transmute(readmemorycallback), ::core::mem::transmute(context), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] @@ -3589,7 +3589,7 @@ pub unsafe fn RoRegisterActivationFactories(activatableclassids: *const ::window extern "system" { fn RoRegisterActivationFactories(activatableclassids: *const ::core::mem::ManuallyDrop<::windows::core::HSTRING>, activationfactorycallbacks: *const isize, count: u32, cookie: *mut isize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoRegisterActivationFactories(::core::mem::transmute(activatableclassids), ::core::mem::transmute(activationfactorycallbacks), ::core::mem::transmute(count), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3639,7 +3639,7 @@ where extern "system" { fn RoResolveRestrictedErrorInfoReference(reference: ::windows::core::PCWSTR, pprestrictederrorinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoResolveRestrictedErrorInfoReference(reference.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3788,7 +3788,7 @@ where extern "system" { fn WindowsCompareStringOrdinal(string1: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, string2: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, result: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsCompareStringOrdinal(string1.into().abi(), string2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3802,7 +3802,7 @@ where extern "system" { fn WindowsConcatString(string1: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, string2: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, newstring: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsConcatString(string1.into().abi(), string2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3812,7 +3812,7 @@ pub unsafe fn WindowsCreateString(sourcestring: &[u16]) -> ::windows::core::Resu extern "system" { fn WindowsCreateString(sourcestring: ::windows::core::PCWSTR, length: u32, string: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsCreateString(::core::mem::transmute(::windows::core::as_ptr_or_null(sourcestring)), sourcestring.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3861,7 +3861,7 @@ where extern "system" { fn WindowsDuplicateString(string: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, newstring: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsDuplicateString(string.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3938,7 +3938,7 @@ where extern "system" { fn WindowsPromoteStringBuffer(bufferhandle: HSTRING_BUFFER, string: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsPromoteStringBuffer(bufferhandle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3953,7 +3953,7 @@ where extern "system" { fn WindowsReplaceString(string: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, stringreplaced: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, stringreplacewith: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, newstring: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsReplaceString(string.into().abi(), stringreplaced.into().abi(), stringreplacewith.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] @@ -3967,7 +3967,7 @@ where extern "system" { fn WindowsStringHasEmbeddedNull(string: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, hasembednull: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsStringHasEmbeddedNull(string.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3980,7 +3980,7 @@ where extern "system" { fn WindowsSubstring(string: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, startindex: u32, newstring: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsSubstring(string.into().abi(), startindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -3993,7 +3993,7 @@ where extern "system" { fn WindowsSubstringWithSpecifiedLength(string: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, startindex: u32, length: u32, newstring: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsSubstringWithSpecifiedLength(string.into().abi(), startindex, length, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -4007,7 +4007,7 @@ where extern "system" { fn WindowsTrimStringEnd(string: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, trimstring: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, newstring: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsTrimStringEnd(string.into().abi(), trimstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -4021,7 +4021,7 @@ where extern "system" { fn WindowsTrimStringStart(string: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, trimstring: ::core::mem::ManuallyDrop<::windows::core::HSTRING>, newstring: *mut ::core::mem::ManuallyDrop<::windows::core::HSTRING>) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowsTrimStringStart(string.into().abi(), trimstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HSTRING>(result__) } #[repr(C)] 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 59585973e1..342bc829a4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -2947,26 +2947,26 @@ impl ICameraUIControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Suspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Suspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resume(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Resume)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCurrentViewType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentViewType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetActiveItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelectedItems(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } pub unsafe fn RemoveCapturedItem<'a, P0>(&self, pszpath: P0) -> ::windows::core::Result<()> @@ -3173,7 +3173,7 @@ pub struct IClipServiceNotificationHelper_Vtbl { pub struct IContainerActivationHelper(::windows::core::IUnknown); impl IContainerActivationHelper { pub unsafe fn CanActivateClientVM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanActivateClientVM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3439,7 +3439,7 @@ impl IEditionUpgradeHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanUpgrade(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanUpgrade)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateOperatingSystem<'a, P0>(&self, contentid: P0) -> ::windows::core::Result<()> @@ -3452,13 +3452,13 @@ impl IEditionUpgradeHelper { (::windows::core::Interface::vtable(self).ShowProductKeyUI)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetOsProductContentId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOsProductContentId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGenuineLocalStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGenuineLocalStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4117,7 +4117,7 @@ impl IWindowsLockModeHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5151,7 +5151,7 @@ pub unsafe fn QueryAuxiliaryCounterFrequency() -> ::windows::core::Result { extern "system" { fn QueryAuxiliaryCounterFrequency(lpauxiliarycounterfrequency: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); QueryAuxiliaryCounterFrequency(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -7664,7 +7664,7 @@ pub unsafe fn WldpIsDynamicCodePolicyEnabled() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WldpIsDynamicCodePolicyEnabled(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] 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 c2a340a8f0..55f4577d56 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs @@ -192,19 +192,19 @@ pub struct IAsynchronousDataRetriever_Vtbl { pub struct IChangeConflict(::windows::core::IUnknown); impl IChangeConflict { pub unsafe fn GetDestinationProviderConflictingChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDestinationProviderConflictingChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceProviderConflictingChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceProviderConflictingChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDestinationProviderConflictingData(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDestinationProviderConflictingData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetSourceProviderConflictingData(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceProviderConflictingData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetResolveActionForChange(&self, presolveaction: *mut SYNC_RESOLVE_ACTION) -> ::windows::core::Result<()> { @@ -523,7 +523,7 @@ impl ICombinedFilterInfo { (::windows::core::Interface::vtable(self).GetFilterCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwfiltercount)).ok() } pub unsafe fn GetFilterInfo(&self, dwfilterindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilterInfo)(::windows::core::Interface::as_raw(self), dwfilterindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilterCombinationType(&self, pfiltercombinationtype: *mut FILTER_COMBINATION_TYPE) -> ::windows::core::Result<()> { @@ -593,27 +593,27 @@ pub struct ICombinedFilterInfo_Vtbl { pub struct IConstraintConflict(::windows::core::IUnknown); impl IConstraintConflict { pub unsafe fn GetDestinationProviderConflictingChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDestinationProviderConflictingChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceProviderConflictingChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceProviderConflictingChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDestinationProviderOriginalChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDestinationProviderOriginalChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDestinationProviderConflictingData(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDestinationProviderConflictingData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetSourceProviderConflictingData(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceProviderConflictingData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetDestinationProviderOriginalData(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDestinationProviderOriginalData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetConstraintResolveActionForChange(&self, pconstraintresolveaction: *mut SYNC_CONSTRAINT_RESOLVE_ACTION) -> ::windows::core::Result<()> { @@ -868,7 +868,7 @@ impl ICustomFilterInfo { (::windows::core::Interface::vtable(self).base__.Serialize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbbuffer), ::core::mem::transmute(pcbbuffer)).ok() } pub unsafe fn GetSyncFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1078,7 +1078,7 @@ impl IEnumChangeUnitExceptions { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1140,7 +1140,7 @@ impl IEnumClockVector { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1202,7 +1202,7 @@ impl IEnumFeedClockVector { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1313,7 +1313,7 @@ impl IEnumRangeExceptions { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1375,7 +1375,7 @@ impl IEnumSingleItemExceptions { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1437,7 +1437,7 @@ impl IEnumSyncChangeUnits { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1499,7 +1499,7 @@ impl IEnumSyncChanges { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1563,7 +1563,7 @@ impl IEnumSyncProviderConfigUIInfos { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1630,7 +1630,7 @@ impl IEnumSyncProviderInfos { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1848,7 +1848,7 @@ impl IFilterKeyMap { (::windows::core::Interface::vtable(self).AddFilter)(::windows::core::Interface::as_raw(self), pisyncfilter.into().abi(), ::core::mem::transmute(pdwfilterkey)).ok() } pub unsafe fn GetFilter(&self, dwfilterkey: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilter)(::windows::core::Interface::as_raw(self), dwfilterkey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Serialize(&self, pbfilterkeymap: *mut u8, pcbfilterkeymap: *mut u32) -> ::windows::core::Result<()> { @@ -2148,11 +2148,11 @@ impl IForgottenKnowledge { (::windows::core::Interface::vtable(self).base__.GetScopeVector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(ppunk)).ok() } pub unsafe fn GetReplicaKeyMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetReplicaKeyMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertVersion<'a, P0>(&self, pknowledgein: P0, pbcurrentownerid: *const u8, pversionin: *const SYNC_VERSION, pbnewownerid: *mut u8, pcbidsize: *mut u32, pversionout: *mut SYNC_VERSION) -> ::windows::core::Result<()> @@ -2165,7 +2165,7 @@ impl IForgottenKnowledge { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MapRemoteToLocal)(::windows::core::Interface::as_raw(self), premoteknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Union<'a, P0>(&self, pknowledge: P0) -> ::windows::core::Result<()> @@ -2175,15 +2175,15 @@ impl IForgottenKnowledge { (::windows::core::Interface::vtable(self).base__.Union)(::windows::core::Interface::as_raw(self), pknowledge.into().abi()).ok() } pub unsafe fn ProjectOntoItem(&self, pbitemid: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProjectOntoItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbitemid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProjectOntoChangeUnit(&self, pbitemid: *const u8, pbchangeunitid: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProjectOntoChangeUnit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pbchangeunitid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProjectOntoRange(&self, psrngsyncrange: *const SYNC_RANGE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProjectOntoRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psrngsyncrange), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExcludeItem(&self, pbitemid: *const u8) -> ::windows::core::Result<()> { @@ -2402,7 +2402,7 @@ pub struct IKnowledgeSyncProvider_Vtbl { pub struct ILoadChangeContext(::windows::core::IUnknown); impl ILoadChangeContext { pub unsafe fn GetSyncChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRecoverableErrorOnChange<'a, P0>(&self, hrerror: ::windows::core::HRESULT, perrordata: P0) -> ::windows::core::Result<()> @@ -2582,7 +2582,7 @@ impl IRecoverableError { (::windows::core::Interface::vtable(self).GetProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pproviderrole)).ok() } pub unsafe fn GetChangeWithRecoverableError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChangeWithRecoverableError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRecoverableErrorDataForChange(&self, phrerror: *mut ::windows::core::HRESULT, pperrordata: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -2720,7 +2720,7 @@ impl IRegisteredSyncProvider { (::windows::core::Interface::vtable(self).Init)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidinstanceid), ::core::mem::transmute(pguidcontenttype), pcontextpropertystore.into().abi()).ok() } pub unsafe fn GetInstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstanceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { @@ -3229,15 +3229,15 @@ impl ISyncChange { (::windows::core::Interface::vtable(self).GetWorkEstimate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwwork)).ok() } pub unsafe fn GetChangeUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChangeUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMadeWithKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMadeWithKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWorkEstimate(&self, dwwork: u32) -> ::windows::core::Result<()> { @@ -3299,7 +3299,7 @@ pub struct ISyncChange_Vtbl { pub struct ISyncChangeBatch(::windows::core::IUnknown); impl ISyncChangeBatch { pub unsafe fn GetChangeEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChangeEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3323,19 +3323,19 @@ impl ISyncChangeBatch { (::windows::core::Interface::vtable(self).base__.EndOrderedGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbupperbound), pmadewithknowledge.into().abi()).ok() } pub unsafe fn AddItemMetadataToGroup(&self, pbownerreplicaid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwflags: u32, dwworkforchange: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddItemMetadataToGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwflags, dwworkforchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLearnedKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisiteKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPrerequisiteKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceForgottenKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSourceForgottenKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastBatch(&self) -> ::windows::core::Result<()> { @@ -3366,7 +3366,7 @@ impl ISyncChangeBatch { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddLoggedConflict)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwflags, dwworkforchange, pconflictknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3436,7 +3436,7 @@ pub struct ISyncChangeBatch_Vtbl { pub struct ISyncChangeBatch2(::windows::core::IUnknown); impl ISyncChangeBatch2 { pub unsafe fn GetChangeEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetChangeEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3460,19 +3460,19 @@ impl ISyncChangeBatch2 { (::windows::core::Interface::vtable(self).base__.base__.EndOrderedGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbupperbound), pmadewithknowledge.into().abi()).ok() } pub unsafe fn AddItemMetadataToGroup(&self, pbownerreplicaid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwflags: u32, dwworkforchange: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AddItemMetadataToGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwflags, dwworkforchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLearnedKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisiteKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPrerequisiteKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceForgottenKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSourceForgottenKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastBatch(&self) -> ::windows::core::Result<()> { @@ -3503,18 +3503,18 @@ impl ISyncChangeBatch2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddLoggedConflict)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwflags, dwworkforchange, pconflictknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddMergeTombstoneMetadataToGroup(&self, pbownerreplicaid: *const u8, pbwinneritemid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwworkforchange: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddMergeTombstoneMetadataToGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbwinneritemid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwworkforchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddMergeTombstoneLoggedConflict<'a, P0>(&self, pbownerreplicaid: *const u8, pbwinneritemid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwworkforchange: u32, pconflictknowledge: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddMergeTombstoneLoggedConflict)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbwinneritemid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwworkforchange, pconflictknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3595,11 +3595,11 @@ pub struct ISyncChangeBatch2_Vtbl { pub struct ISyncChangeBatchAdvanced(::windows::core::IUnknown); impl ISyncChangeBatchAdvanced { pub unsafe fn GetFilterInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilterInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertFullEnumerationChangeBatchToRegularChangeBatch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConvertFullEnumerationChangeBatchToRegularChangeBatch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUpperBoundItemId(&self, pbitemid: *mut u8, pcbidsize: *mut u32) -> ::windows::core::Result<()> { @@ -3663,7 +3663,7 @@ pub struct ISyncChangeBatchAdvanced_Vtbl { pub struct ISyncChangeBatchBase(::windows::core::IUnknown); impl ISyncChangeBatchBase { pub unsafe fn GetChangeEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChangeEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3687,19 +3687,19 @@ impl ISyncChangeBatchBase { (::windows::core::Interface::vtable(self).EndOrderedGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbupperbound), pmadewithknowledge.into().abi()).ok() } pub unsafe fn AddItemMetadataToGroup(&self, pbownerreplicaid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwflags: u32, dwworkforchange: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddItemMetadataToGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwflags, dwworkforchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisiteKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrerequisiteKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceForgottenKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceForgottenKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastBatch(&self) -> ::windows::core::Result<()> { @@ -3777,7 +3777,7 @@ pub struct ISyncChangeBatchBase_Vtbl { pub struct ISyncChangeBatchBase2(::windows::core::IUnknown); impl ISyncChangeBatchBase2 { pub unsafe fn GetChangeEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChangeEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3801,19 +3801,19 @@ impl ISyncChangeBatchBase2 { (::windows::core::Interface::vtable(self).base__.EndOrderedGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbupperbound), pmadewithknowledge.into().abi()).ok() } pub unsafe fn AddItemMetadataToGroup(&self, pbownerreplicaid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwflags: u32, dwworkforchange: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddItemMetadataToGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwflags, dwworkforchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLearnedKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisiteKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPrerequisiteKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceForgottenKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSourceForgottenKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastBatch(&self) -> ::windows::core::Result<()> { @@ -3893,7 +3893,7 @@ pub struct ISyncChangeBatchBase2_Vtbl { pub struct ISyncChangeBatchWithFilterKeyMap(::windows::core::IUnknown); impl ISyncChangeBatchWithFilterKeyMap { pub unsafe fn GetFilterKeyMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilterKeyMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFilterKeyMap<'a, P0>(&self, pifilterkeymap: P0) -> ::windows::core::Result<()> @@ -3913,7 +3913,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteredReplicaLearnedKnowledge)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedFilterForgottenKnowledge<'a, P0, P1>(&self, pdestinationknowledge: P0, pnewmoveins: P1, dwfilterkey: u32) -> ::windows::core::Result @@ -3921,7 +3921,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedFilterForgottenKnowledge)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), dwfilterkey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilteredReplicaLearnedForgottenKnowledge<'a, P0, P1>(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> ::windows::core::Result @@ -3929,7 +3929,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteredReplicaLearnedForgottenKnowledge)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete<'a, P0, P1>(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> ::windows::core::Result @@ -3937,7 +3937,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete<'a, P0, P1>(&self, pdestinationknowledge: P0, pnewmoveins: P1, dwfilterkey: u32) -> ::windows::core::Result @@ -3945,7 +3945,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), dwfilterkey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4002,7 +4002,7 @@ pub struct ISyncChangeBatchWithFilterKeyMap_Vtbl { pub struct ISyncChangeBatchWithPrerequisite(::windows::core::IUnknown); impl ISyncChangeBatchWithPrerequisite { pub unsafe fn GetChangeEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChangeEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4026,19 +4026,19 @@ impl ISyncChangeBatchWithPrerequisite { (::windows::core::Interface::vtable(self).base__.EndOrderedGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbupperbound), pmadewithknowledge.into().abi()).ok() } pub unsafe fn AddItemMetadataToGroup(&self, pbownerreplicaid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwflags: u32, dwworkforchange: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddItemMetadataToGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwflags, dwworkforchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLearnedKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisiteKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPrerequisiteKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceForgottenKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSourceForgottenKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastBatch(&self) -> ::windows::core::Result<()> { @@ -4063,11 +4063,11 @@ impl ISyncChangeBatchWithPrerequisite { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedKnowledgeWithPrerequisite)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedForgottenKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedForgottenKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4183,7 +4183,7 @@ pub struct ISyncChangeBuilder_Vtbl { pub struct ISyncChangeUnit(::windows::core::IUnknown); impl ISyncChangeUnit { pub unsafe fn GetItemChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChangeUnitId(&self, pbchangeunitid: *mut u8, pcbidsize: *mut u32) -> ::windows::core::Result<()> { @@ -4254,7 +4254,7 @@ impl ISyncChangeWithFilterKeyMap { (::windows::core::Interface::vtable(self).GetAllChangeUnitsPresentFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfallchangeunitspresent)).ok() } pub unsafe fn GetFilterForgottenKnowledge(&self, dwfilterkey: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilterForgottenKnowledge)(::windows::core::Interface::as_raw(self), dwfilterkey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilteredReplicaLearnedKnowledge<'a, P0, P1>(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> ::windows::core::Result @@ -4262,7 +4262,7 @@ impl ISyncChangeWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteredReplicaLearnedKnowledge)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedFilterForgottenKnowledge<'a, P0, P1>(&self, pdestinationknowledge: P0, pnewmoveins: P1, dwfilterkey: u32) -> ::windows::core::Result @@ -4270,7 +4270,7 @@ impl ISyncChangeWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedFilterForgottenKnowledge)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), dwfilterkey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilteredReplicaLearnedForgottenKnowledge<'a, P0, P1>(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> ::windows::core::Result @@ -4278,7 +4278,7 @@ impl ISyncChangeWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteredReplicaLearnedForgottenKnowledge)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete<'a, P0, P1>(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> ::windows::core::Result @@ -4286,7 +4286,7 @@ impl ISyncChangeWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete<'a, P0, P1>(&self, pdestinationknowledge: P0, pnewmoveins: P1, dwfilterkey: u32) -> ::windows::core::Result @@ -4294,7 +4294,7 @@ impl ISyncChangeWithFilterKeyMap { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumItemIds>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), dwfilterkey, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4358,14 +4358,14 @@ pub struct ISyncChangeWithFilterKeyMap_Vtbl { pub struct ISyncChangeWithPrerequisite(::windows::core::IUnknown); impl ISyncChangeWithPrerequisite { pub unsafe fn GetPrerequisiteKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrerequisiteKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedKnowledgeWithPrerequisite<'a, P0>(&self, pdestinationknowledge: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedKnowledgeWithPrerequisite)(::windows::core::Interface::as_raw(self), pdestinationknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4472,7 +4472,7 @@ impl ISyncDataConverter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumSyncChanges>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConvertDataRetrieverFromProviderFormat)(::windows::core::Interface::as_raw(self), punkdataretrieverin.into().abi(), penumsyncchanges.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ConvertDataRetrieverToProviderFormat<'a, P0, P1>(&self, punkdataretrieverin: P0, penumsyncchanges: P1) -> ::windows::core::Result<::windows::core::IUnknown> @@ -4480,7 +4480,7 @@ impl ISyncDataConverter { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IEnumSyncChanges>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConvertDataRetrieverToProviderFormat)(::windows::core::Interface::as_raw(self), punkdataretrieverin.into().abi(), penumsyncchanges.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ConvertDataFromProviderFormat<'a, P0, P1>(&self, pdatacontext: P0, punkdatain: P1) -> ::windows::core::Result<::windows::core::IUnknown> @@ -4488,7 +4488,7 @@ impl ISyncDataConverter { P0: ::std::convert::Into<::windows::core::InParam<'a, ILoadChangeContext>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConvertDataFromProviderFormat)(::windows::core::Interface::as_raw(self), pdatacontext.into().abi(), punkdatain.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ConvertDataToProviderFormat<'a, P0, P1>(&self, pdatacontext: P0, punkdataout: P1) -> ::windows::core::Result<::windows::core::IUnknown> @@ -4496,7 +4496,7 @@ impl ISyncDataConverter { P0: ::std::convert::Into<::windows::core::InParam<'a, ILoadChangeContext>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConvertDataToProviderFormat)(::windows::core::Interface::as_raw(self), pdatacontext.into().abi(), punkdataout.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -4605,7 +4605,7 @@ pub struct ISyncFilter_Vtbl { pub struct ISyncFilterDeserializer(::windows::core::IUnknown); impl ISyncFilterDeserializer { pub unsafe fn DeserializeSyncFilter(&self, pbsyncfilter: *const u8, dwcbsyncfilter: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeserializeSyncFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbsyncfilter), dwcbsyncfilter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4771,11 +4771,11 @@ pub struct ISyncFilterInfo2_Vtbl { pub struct ISyncFullEnumerationChange(::windows::core::IUnknown); impl ISyncFullEnumerationChange { pub unsafe fn GetLearnedKnowledgeAfterRecoveryComplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedKnowledgeAfterRecoveryComplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedForgottenKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedForgottenKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4826,7 +4826,7 @@ pub struct ISyncFullEnumerationChange_Vtbl { pub struct ISyncFullEnumerationChangeBatch(::windows::core::IUnknown); impl ISyncFullEnumerationChangeBatch { pub unsafe fn GetChangeEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChangeEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4850,19 +4850,19 @@ impl ISyncFullEnumerationChangeBatch { (::windows::core::Interface::vtable(self).base__.EndOrderedGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbupperbound), pmadewithknowledge.into().abi()).ok() } pub unsafe fn AddItemMetadataToGroup(&self, pbownerreplicaid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwflags: u32, dwworkforchange: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddItemMetadataToGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwflags, dwworkforchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLearnedKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisiteKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPrerequisiteKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceForgottenKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSourceForgottenKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastBatch(&self) -> ::windows::core::Result<()> { @@ -4878,7 +4878,7 @@ impl ISyncFullEnumerationChangeBatch { (::windows::core::Interface::vtable(self).base__.Serialize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbchangebatch), ::core::mem::transmute(pcbchangebatch)).ok() } pub unsafe fn GetLearnedKnowledgeAfterRecoveryComplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLearnedKnowledgeAfterRecoveryComplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClosedLowerBoundItemId(&self, pbclosedlowerbounditemid: *mut u8, pcbidsize: *mut u32) -> ::windows::core::Result<()> { @@ -4951,7 +4951,7 @@ pub struct ISyncFullEnumerationChangeBatch_Vtbl { pub struct ISyncFullEnumerationChangeBatch2(::windows::core::IUnknown); impl ISyncFullEnumerationChangeBatch2 { pub unsafe fn GetChangeEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetChangeEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4975,19 +4975,19 @@ impl ISyncFullEnumerationChangeBatch2 { (::windows::core::Interface::vtable(self).base__.base__.EndOrderedGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbupperbound), pmadewithknowledge.into().abi()).ok() } pub unsafe fn AddItemMetadataToGroup(&self, pbownerreplicaid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwflags: u32, dwworkforchange: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AddItemMetadataToGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwflags, dwworkforchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLearnedKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetLearnedKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPrerequisiteKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPrerequisiteKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceForgottenKnowledge(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSourceForgottenKnowledge)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLastBatch(&self) -> ::windows::core::Result<()> { @@ -5003,7 +5003,7 @@ impl ISyncFullEnumerationChangeBatch2 { (::windows::core::Interface::vtable(self).base__.base__.Serialize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbchangebatch), ::core::mem::transmute(pcbchangebatch)).ok() } pub unsafe fn GetLearnedKnowledgeAfterRecoveryComplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLearnedKnowledgeAfterRecoveryComplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetClosedLowerBoundItemId(&self, pbclosedlowerbounditemid: *mut u8, pcbidsize: *mut u32) -> ::windows::core::Result<()> { @@ -5013,7 +5013,7 @@ impl ISyncFullEnumerationChangeBatch2 { (::windows::core::Interface::vtable(self).base__.GetClosedUpperBoundItemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbclosedupperbounditemid), ::core::mem::transmute(pcbidsize)).ok() } pub unsafe fn AddMergeTombstoneMetadataToGroup(&self, pbownerreplicaid: *const u8, pbwinneritemid: *const u8, pbitemid: *const u8, pchangeversion: *const SYNC_VERSION, pcreationversion: *const SYNC_VERSION, dwworkforchange: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddMergeTombstoneMetadataToGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbownerreplicaid), ::core::mem::transmute(pbwinneritemid), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pchangeversion), ::core::mem::transmute(pcreationversion), dwworkforchange, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5116,11 +5116,11 @@ impl ISyncKnowledge { (::windows::core::Interface::vtable(self).GetScopeVector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(ppunk)).ok() } pub unsafe fn GetReplicaKeyMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReplicaKeyMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertVersion<'a, P0>(&self, pknowledgein: P0, pbcurrentownerid: *const u8, pversionin: *const SYNC_VERSION, pbnewownerid: *mut u8, pcbidsize: *mut u32, pversionout: *mut SYNC_VERSION) -> ::windows::core::Result<()> @@ -5133,7 +5133,7 @@ impl ISyncKnowledge { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapRemoteToLocal)(::windows::core::Interface::as_raw(self), premoteknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Union<'a, P0>(&self, pknowledge: P0) -> ::windows::core::Result<()> @@ -5143,15 +5143,15 @@ impl ISyncKnowledge { (::windows::core::Interface::vtable(self).Union)(::windows::core::Interface::as_raw(self), pknowledge.into().abi()).ok() } pub unsafe fn ProjectOntoItem(&self, pbitemid: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProjectOntoItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbitemid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProjectOntoChangeUnit(&self, pbitemid: *const u8, pbchangeunitid: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProjectOntoChangeUnit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pbchangeunitid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProjectOntoRange(&self, psrngsyncrange: *const SYNC_RANGE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProjectOntoRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psrngsyncrange), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExcludeItem(&self, pbitemid: *const u8) -> ::windows::core::Result<()> { @@ -5283,11 +5283,11 @@ impl ISyncKnowledge2 { (::windows::core::Interface::vtable(self).base__.GetScopeVector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(ppunk)).ok() } pub unsafe fn GetReplicaKeyMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetReplicaKeyMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConvertVersion<'a, P0>(&self, pknowledgein: P0, pbcurrentownerid: *const u8, pversionin: *const SYNC_VERSION, pbnewownerid: *mut u8, pcbidsize: *mut u32, pversionout: *mut SYNC_VERSION) -> ::windows::core::Result<()> @@ -5300,7 +5300,7 @@ impl ISyncKnowledge2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MapRemoteToLocal)(::windows::core::Interface::as_raw(self), premoteknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Union<'a, P0>(&self, pknowledge: P0) -> ::windows::core::Result<()> @@ -5310,15 +5310,15 @@ impl ISyncKnowledge2 { (::windows::core::Interface::vtable(self).base__.Union)(::windows::core::Interface::as_raw(self), pknowledge.into().abi()).ok() } pub unsafe fn ProjectOntoItem(&self, pbitemid: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProjectOntoItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbitemid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProjectOntoChangeUnit(&self, pbitemid: *const u8, pbchangeunitid: *const u8) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProjectOntoChangeUnit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbitemid), ::core::mem::transmute(pbchangeunitid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProjectOntoRange(&self, psrngsyncrange: *const SYNC_RANGE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProjectOntoRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psrngsyncrange), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExcludeItem(&self, pbitemid: *const u8) -> ::windows::core::Result<()> { @@ -5360,7 +5360,7 @@ impl ISyncKnowledge2 { (::windows::core::Interface::vtable(self).GetIdParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidparameters)).ok() } pub unsafe fn ProjectOntoColumnSet(&self, ppcolumns: *const *const u8, count: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProjectOntoColumnSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppcolumns), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SerializeWithOptions(&self, targetformatversion: SYNC_SERIALIZATION_VERSION, dwflags: u32, pbbuffer: *mut u8, pdwserializedsize: *mut u32) -> ::windows::core::Result<()> { @@ -5398,14 +5398,14 @@ impl ISyncKnowledge2 { P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProjectOntoKnowledgeWithPrerequisite)(::windows::core::Interface::as_raw(self), pprerequisiteknowledge.into().abi(), ptemplateknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Complement<'a, P0>(&self, psyncknowledge: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncKnowledge>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Complement)(::windows::core::Interface::as_raw(self), psyncknowledge.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IntersectsWithKnowledge<'a, P0>(&self, psyncknowledge: P0) -> ::windows::core::Result<()> @@ -5415,7 +5415,7 @@ impl ISyncKnowledge2 { (::windows::core::Interface::vtable(self).IntersectsWithKnowledge)(::windows::core::Interface::as_raw(self), psyncknowledge.into().abi()).ok() } pub unsafe fn GetKnowledgeCookie(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKnowledgeCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn CompareToKnowledgeCookie<'a, P0>(&self, pknowledgecookie: P0, presult: *mut KNOWLEDGE_COOKIE_COMPARISON_RESULT) -> ::windows::core::Result<()> @@ -5615,7 +5615,7 @@ impl ISyncProviderConfigUI { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetRegisteredProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegisteredProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -5625,7 +5625,7 @@ impl ISyncProviderConfigUI { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAndRegisterNewSyncProvider)(::windows::core::Interface::as_raw(self), hwndparent.into(), punkcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -5704,19 +5704,19 @@ impl ISyncProviderConfigUIInfo { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetAt(&self, iprop: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAt)(::windows::core::Interface::as_raw(self), iprop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -5730,7 +5730,7 @@ impl ISyncProviderConfigUIInfo { (::windows::core::Interface::vtable(self).base__.Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSyncProviderConfigUI(&self, dwclscontext: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncProviderConfigUI)(::windows::core::Interface::as_raw(self), dwclscontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5811,19 +5811,19 @@ impl ISyncProviderInfo { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetAt(&self, iprop: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAt)(::windows::core::Interface::as_raw(self), iprop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -5837,7 +5837,7 @@ impl ISyncProviderInfo { (::windows::core::Interface::vtable(self).base__.Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSyncProvider(&self, dwclscontext: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncProvider)(::windows::core::Interface::as_raw(self), dwclscontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5916,20 +5916,20 @@ impl ISyncProviderRegistration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn CreateSyncProviderConfigUIRegistrationInstance(&self, pconfiguiconfig: *const SyncProviderConfigUIConfiguration) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSyncProviderConfigUIRegistrationInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pconfiguiconfig), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterSyncProviderConfigUI(&self, pguidinstanceid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).UnregisterSyncProviderConfigUI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidinstanceid)).ok() } pub unsafe fn EnumerateSyncProviderConfigUIs(&self, pguidcontenttype: *const ::windows::core::GUID, dwsupportedarchitecture: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateSyncProviderConfigUIs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidcontenttype), dwsupportedarchitecture, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn CreateSyncProviderRegistrationInstance(&self, pproviderconfiguration: *const SyncProviderConfiguration) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSyncProviderRegistrationInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pproviderconfiguration), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterSyncProvider(&self, pguidinstanceid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -5938,35 +5938,35 @@ impl ISyncProviderRegistration { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetSyncProviderConfigUIInfoforProvider(&self, pguidproviderinstanceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncProviderConfigUIInfoforProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidproviderinstanceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumerateSyncProviders(&self, pguidcontenttype: *const ::windows::core::GUID, dwstateflagstofiltermask: u32, dwstateflagstofilter: u32, refproviderclsid: *const ::windows::core::GUID, dwsupportedarchitecture: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumerateSyncProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidcontenttype), dwstateflagstofiltermask, dwstateflagstofilter, ::core::mem::transmute(refproviderclsid), dwsupportedarchitecture, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetSyncProviderInfo(&self, pguidinstanceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncProviderInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidinstanceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSyncProviderFromInstanceId(&self, pguidinstanceid: *const ::windows::core::GUID, dwclscontext: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncProviderFromInstanceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidinstanceid), dwclscontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetSyncProviderConfigUIInfo(&self, pguidinstanceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncProviderConfigUIInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidinstanceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSyncProviderConfigUIFromInstanceId(&self, pguidinstanceid: *const ::windows::core::GUID, dwclscontext: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncProviderConfigUIFromInstanceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidinstanceid), dwclscontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSyncProviderState(&self, pguidinstanceid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncProviderState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidinstanceid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSyncProviderState(&self, pguidinstanceid: *const ::windows::core::GUID, dwstateflagsmask: u32, dwstateflags: u32) -> ::windows::core::Result<()> { @@ -5991,7 +5991,7 @@ impl ISyncProviderRegistration { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChange)(::windows::core::Interface::as_raw(self), hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6080,11 +6080,11 @@ pub struct ISyncProviderRegistration_Vtbl { pub struct ISyncRegistrationChange(::windows::core::IUnknown); impl ISyncRegistrationChange { pub unsafe fn GetEvent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInstanceId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstanceId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -6135,7 +6135,7 @@ pub struct ISyncRegistrationChange_Vtbl { pub struct ISyncSessionExtendedErrorInfo(::windows::core::IUnknown); impl ISyncSessionExtendedErrorInfo { pub unsafe fn GetSyncProviderWithError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncProviderWithError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6370,7 +6370,7 @@ impl ISynchronousDataRetriever { where P0: ::std::convert::Into<::windows::core::InParam<'a, ILoadChangeContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadChangeData)(::windows::core::Interface::as_raw(self), ploadchangecontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } 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 20514dd11a..02c149f7b8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -76,7 +76,7 @@ impl IEnumWbemClassObject { ::core::mem::transmute((::windows::core::Interface::vtable(self).NextAsync)(::windows::core::Interface::as_raw(self), ucount, psink.into().abi())) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Skip(&self, ltimeout: i32, ncount: u32) -> ::windows::core::HRESULT { @@ -212,7 +212,7 @@ impl ISWbemDateTime { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -224,126 +224,126 @@ impl ISWbemDateTime { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), strvalue.into().abi()).ok() } pub unsafe fn Year(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Year)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetYear(&self, iyear: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetYear)(::windows::core::Interface::as_raw(self), iyear).ok() } pub unsafe fn YearSpecified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).YearSpecified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetYearSpecified(&self, byearspecified: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetYearSpecified)(::windows::core::Interface::as_raw(self), byearspecified).ok() } pub unsafe fn Month(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Month)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMonth(&self, imonth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMonth)(::windows::core::Interface::as_raw(self), imonth).ok() } pub unsafe fn MonthSpecified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MonthSpecified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMonthSpecified(&self, bmonthspecified: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMonthSpecified)(::windows::core::Interface::as_raw(self), bmonthspecified).ok() } pub unsafe fn Day(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Day)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDay(&self, iday: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDay)(::windows::core::Interface::as_raw(self), iday).ok() } pub unsafe fn DaySpecified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DaySpecified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDaySpecified(&self, bdayspecified: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDaySpecified)(::windows::core::Interface::as_raw(self), bdayspecified).ok() } pub unsafe fn Hours(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Hours)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHours(&self, ihours: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHours)(::windows::core::Interface::as_raw(self), ihours).ok() } pub unsafe fn HoursSpecified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HoursSpecified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHoursSpecified(&self, bhoursspecified: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHoursSpecified)(::windows::core::Interface::as_raw(self), bhoursspecified).ok() } pub unsafe fn Minutes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Minutes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinutes(&self, iminutes: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinutes)(::windows::core::Interface::as_raw(self), iminutes).ok() } pub unsafe fn MinutesSpecified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinutesSpecified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinutesSpecified(&self, bminutesspecified: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMinutesSpecified)(::windows::core::Interface::as_raw(self), bminutesspecified).ok() } pub unsafe fn Seconds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Seconds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSeconds(&self, iseconds: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSeconds)(::windows::core::Interface::as_raw(self), iseconds).ok() } pub unsafe fn SecondsSpecified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SecondsSpecified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSecondsSpecified(&self, bsecondsspecified: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSecondsSpecified)(::windows::core::Interface::as_raw(self), bsecondsspecified).ok() } pub unsafe fn Microseconds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Microseconds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMicroseconds(&self, imicroseconds: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMicroseconds)(::windows::core::Interface::as_raw(self), imicroseconds).ok() } pub unsafe fn MicrosecondsSpecified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MicrosecondsSpecified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMicrosecondsSpecified(&self, bmicrosecondsspecified: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMicrosecondsSpecified)(::windows::core::Interface::as_raw(self), bmicrosecondsspecified).ok() } pub unsafe fn UTC(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UTC)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUTC(&self, iutc: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUTC)(::windows::core::Interface::as_raw(self), iutc).ok() } pub unsafe fn UTCSpecified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UTCSpecified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUTCSpecified(&self, butcspecified: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUTCSpecified)(::windows::core::Interface::as_raw(self), butcspecified).ok() } pub unsafe fn IsInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsInterval(&self, bisinterval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIsInterval)(::windows::core::Interface::as_raw(self), bisinterval).ok() } pub unsafe fn GetVarDate(&self, bislocal: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVarDate)(::windows::core::Interface::as_raw(self), bislocal, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVarDate(&self, dvardate: f64, bislocal: i16) -> ::windows::core::Result<()> { @@ -352,7 +352,7 @@ impl ISWbemDateTime { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFileTime(&self, bislocal: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileTime)(::windows::core::Interface::as_raw(self), bislocal, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -492,13 +492,13 @@ impl ISWbemEventSource { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NextEvent(&self, itimeoutms: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NextEvent)(::windows::core::Interface::as_raw(self), itimeoutms, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -589,7 +589,7 @@ impl ISWbemLastError { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Put_)(::windows::core::Interface::as_raw(self), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -626,7 +626,7 @@ impl ISWbemLastError { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Instances_)(::windows::core::Interface::as_raw(self), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -645,7 +645,7 @@ impl ISWbemLastError { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Subclasses_)(::windows::core::Interface::as_raw(self), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -670,7 +670,7 @@ impl ISWbemLastError { P5: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Associators_)(::windows::core::Interface::as_raw(self), strassocclass.into().abi(), strresultclass.into().abi(), strresultrole.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredassocqualifier.into().abi(), strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -698,7 +698,7 @@ impl ISWbemLastError { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.References_)(::windows::core::Interface::as_raw(self), strresultclass.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -722,7 +722,7 @@ impl ISWbemLastError { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExecMethod_)(::windows::core::Interface::as_raw(self), strmethodname.into().abi(), objwbeminparameters.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -740,25 +740,25 @@ impl ISWbemLastError { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetObjectText_(&self, iflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetObjectText_)(::windows::core::Interface::as_raw(self), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SpawnDerivedClass_(&self, iflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SpawnDerivedClass_)(::windows::core::Interface::as_raw(self), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SpawnInstance_(&self, iflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SpawnInstance_)(::windows::core::Interface::as_raw(self), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -767,43 +767,43 @@ impl ISWbemLastError { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareTo_)(::windows::core::Interface::as_raw(self), objwbemobject.into().abi(), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Qualifiers_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Properties_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Methods_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Methods_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Derivation_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Derivation_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Path_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Security_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -910,13 +910,13 @@ impl ISWbemLocator { P5: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectServer)(::windows::core::Interface::as_raw(self), strserver.into().abi(), strnamespace.into().abi(), struser.into().abi(), strpassword.into().abi(), strlocale.into().abi(), strauthority.into().abi(), isecurityflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1004,31 +1004,31 @@ impl ISWbemMethod { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Origin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Origin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn InParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutParameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OutParameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Qualifiers_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1126,7 +1126,7 @@ pub struct ISWbemMethodSet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemMethodSet { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1135,11 +1135,11 @@ impl ISWbemMethodSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), strname.into().abi(), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1225,7 +1225,7 @@ impl ISWbemNamedValue { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1236,7 +1236,7 @@ impl ISWbemNamedValue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1326,7 +1326,7 @@ pub struct ISWbemNamedValueSet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemNamedValueSet { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1335,11 +1335,11 @@ impl ISWbemNamedValueSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), strname.into().abi(), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1348,7 +1348,7 @@ impl ISWbemNamedValueSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), strname.into().abi(), ::core::mem::transmute(varvalue), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1362,7 +1362,7 @@ impl ISWbemNamedValueSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteAll(&self) -> ::windows::core::Result<()> { @@ -1467,7 +1467,7 @@ impl ISWbemObject { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Put_)(::windows::core::Interface::as_raw(self), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1504,7 +1504,7 @@ impl ISWbemObject { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Instances_)(::windows::core::Interface::as_raw(self), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1523,7 +1523,7 @@ impl ISWbemObject { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Subclasses_)(::windows::core::Interface::as_raw(self), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1548,7 +1548,7 @@ impl ISWbemObject { P5: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Associators_)(::windows::core::Interface::as_raw(self), strassocclass.into().abi(), strresultclass.into().abi(), strresultrole.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredassocqualifier.into().abi(), strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1576,7 +1576,7 @@ impl ISWbemObject { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).References_)(::windows::core::Interface::as_raw(self), strresultclass.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1600,7 +1600,7 @@ impl ISWbemObject { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecMethod_)(::windows::core::Interface::as_raw(self), strmethodname.into().abi(), objwbeminparameters.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1618,25 +1618,25 @@ impl ISWbemObject { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetObjectText_(&self, iflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectText_)(::windows::core::Interface::as_raw(self), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SpawnDerivedClass_(&self, iflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpawnDerivedClass_)(::windows::core::Interface::as_raw(self), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SpawnInstance_(&self, iflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpawnInstance_)(::windows::core::Interface::as_raw(self), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1645,43 +1645,43 @@ impl ISWbemObject { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareTo_)(::windows::core::Interface::as_raw(self), objwbemobject.into().abi(), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Qualifiers_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Properties_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Methods_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Methods_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Derivation_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Derivation_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Path_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1864,7 +1864,7 @@ impl ISWbemObjectEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Put_)(::windows::core::Interface::as_raw(self), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1901,7 +1901,7 @@ impl ISWbemObjectEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Instances_)(::windows::core::Interface::as_raw(self), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1920,7 +1920,7 @@ impl ISWbemObjectEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Subclasses_)(::windows::core::Interface::as_raw(self), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1945,7 +1945,7 @@ impl ISWbemObjectEx { P5: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P6: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Associators_)(::windows::core::Interface::as_raw(self), strassocclass.into().abi(), strresultclass.into().abi(), strresultrole.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredassocqualifier.into().abi(), strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1973,7 +1973,7 @@ impl ISWbemObjectEx { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.References_)(::windows::core::Interface::as_raw(self), strresultclass.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1997,7 +1997,7 @@ impl ISWbemObjectEx { P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExecMethod_)(::windows::core::Interface::as_raw(self), strmethodname.into().abi(), objwbeminparameters.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2015,25 +2015,25 @@ impl ISWbemObjectEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetObjectText_(&self, iflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetObjectText_)(::windows::core::Interface::as_raw(self), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SpawnDerivedClass_(&self, iflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SpawnDerivedClass_)(::windows::core::Interface::as_raw(self), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SpawnInstance_(&self, iflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SpawnInstance_)(::windows::core::Interface::as_raw(self), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2042,43 +2042,43 @@ impl ISWbemObjectEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareTo_)(::windows::core::Interface::as_raw(self), objwbemobject.into().abi(), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Qualifiers_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Properties_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Methods_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Methods_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Derivation_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Derivation_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Path_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Security_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2092,7 +2092,7 @@ impl ISWbemObjectEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SystemProperties_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SystemProperties_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2101,7 +2101,7 @@ impl ISWbemObjectEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText_)(::windows::core::Interface::as_raw(self), iobjecttextformat, iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2224,7 +2224,7 @@ impl ISWbemObjectPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2238,7 +2238,7 @@ impl ISWbemObjectPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RelPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RelPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2252,7 +2252,7 @@ impl ISWbemObjectPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Server(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Server)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2266,7 +2266,7 @@ impl ISWbemObjectPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Namespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Namespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2280,13 +2280,13 @@ impl ISWbemObjectPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ParentNamespace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentNamespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2300,7 +2300,7 @@ impl ISWbemObjectPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Class(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Class)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2312,14 +2312,14 @@ impl ISWbemObjectPath { (::windows::core::Interface::vtable(self).SetClass)(::windows::core::Interface::as_raw(self), strclass.into().abi()).ok() } pub unsafe fn IsClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAsClass(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAsClass)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsSingleton(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSingleton)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAsSingleton(&self) -> ::windows::core::Result<()> { @@ -2328,19 +2328,19 @@ impl ISWbemObjectPath { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Keys(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Keys)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Locale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Locale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2354,7 +2354,7 @@ impl ISWbemObjectPath { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Authority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Authority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2520,7 +2520,7 @@ pub struct ISWbemObjectSet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemObjectSet { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2529,23 +2529,23 @@ impl ISWbemObjectSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), strobjectpath.into().abi(), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ItemIndex(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemIndex)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2637,7 +2637,7 @@ pub struct ISWbemPrivilege(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemPrivilege { pub unsafe fn IsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsEnabled(&self, bisenabled: i16) -> ::windows::core::Result<()> { @@ -2646,17 +2646,17 @@ impl ISWbemPrivilege { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Identifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Identifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2745,23 +2745,23 @@ pub struct ISWbemPrivilegeSet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemPrivilegeSet { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, iprivilege: WbemPrivilegeEnum) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), iprivilege, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Add(&self, iprivilege: WbemPrivilegeEnum, bisenabled: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), iprivilege, bisenabled, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Remove(&self, iprivilege: WbemPrivilegeEnum) -> ::windows::core::Result<()> { @@ -2776,7 +2776,7 @@ impl ISWbemPrivilegeSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddAsString)(::windows::core::Interface::as_raw(self), strprivilege.into().abi(), bisenabled, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2872,7 +2872,7 @@ impl ISWbemProperty { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2883,31 +2883,31 @@ impl ISWbemProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Origin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Origin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CIMType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CIMType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Qualifiers_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsArray(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3008,7 +3008,7 @@ pub struct ISWbemPropertySet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemPropertySet { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3017,11 +3017,11 @@ impl ISWbemPropertySet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), strname.into().abi(), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3030,7 +3030,7 @@ impl ISWbemPropertySet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), strname.into().abi(), icimtype, bisarray, iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3132,7 +3132,7 @@ impl ISWbemQualifier { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3143,36 +3143,36 @@ impl ISWbemQualifier { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLocal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PropagatesToSubclass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropagatesToSubclass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropagatesToSubclass(&self, bpropagatestosubclass: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPropagatesToSubclass)(::windows::core::Interface::as_raw(self), bpropagatestosubclass).ok() } pub unsafe fn PropagatesToInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropagatesToInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPropagatesToInstance(&self, bpropagatestoinstance: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPropagatesToInstance)(::windows::core::Interface::as_raw(self), bpropagatestoinstance).ok() } pub unsafe fn IsOverridable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsOverridable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIsOverridable(&self, bisoverridable: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIsOverridable)(::windows::core::Interface::as_raw(self), bisoverridable).ok() } pub unsafe fn IsAmended(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAmended)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3270,7 +3270,7 @@ pub struct ISWbemQualifierSet(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemQualifierSet { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3279,11 +3279,11 @@ impl ISWbemQualifierSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), name.into().abi(), iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3292,7 +3292,7 @@ impl ISWbemQualifierSet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), strname.into().abi(), ::core::mem::transmute(varval), bpropagatestosubclass, bpropagatestoinstance, bisoverridable, iflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3392,29 +3392,29 @@ pub struct ISWbemRefreshableItem(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemRefreshableItem { pub unsafe fn Index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Refresher(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Refresher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Object(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Object)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ObjectSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Remove(&self, iflags: i32) -> ::windows::core::Result<()> { @@ -3510,17 +3510,17 @@ pub struct ISWbemRefresher(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemRefresher { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, iindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), iindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3531,7 +3531,7 @@ impl ISWbemRefresher { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), objwbemservices.into().abi(), bsinstancepath.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3542,7 +3542,7 @@ impl ISWbemRefresher { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddEnum)(::windows::core::Interface::as_raw(self), objwbemservices.into().abi(), bsclassname.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Remove(&self, iindex: i32, iflags: i32) -> ::windows::core::Result<()> { @@ -3552,7 +3552,7 @@ impl ISWbemRefresher { (::windows::core::Interface::vtable(self).Refresh)(::windows::core::Interface::as_raw(self), iflags).ok() } pub unsafe fn AutoReconnect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoReconnect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoReconnect(&self, bcount: i16) -> ::windows::core::Result<()> { @@ -3655,14 +3655,14 @@ pub struct ISWbemSecurity(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemSecurity { pub unsafe fn ImpersonationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImpersonationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImpersonationLevel(&self, iimpersonationlevel: WbemImpersonationLevelEnum) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetImpersonationLevel)(::windows::core::Interface::as_raw(self), iimpersonationlevel).ok() } pub unsafe fn AuthenticationLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AuthenticationLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAuthenticationLevel(&self, iauthenticationlevel: WbemAuthenticationLevelEnum) -> ::windows::core::Result<()> { @@ -3671,7 +3671,7 @@ impl ISWbemSecurity { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Privileges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Privileges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3763,7 +3763,7 @@ impl ISWbemServices { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Get)(::windows::core::Interface::as_raw(self), strobjectpath.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3804,7 +3804,7 @@ impl ISWbemServices { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstancesOf)(::windows::core::Interface::as_raw(self), strclass.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3825,7 +3825,7 @@ impl ISWbemServices { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubclassesOf)(::windows::core::Interface::as_raw(self), strsuperclass.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3847,7 +3847,7 @@ impl ISWbemServices { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecQuery)(::windows::core::Interface::as_raw(self), strquery.into().abi(), strquerylanguage.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3875,7 +3875,7 @@ impl ISWbemServices { P6: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P7: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssociatorsOf)(::windows::core::Interface::as_raw(self), strobjectpath.into().abi(), strassocclass.into().abi(), strresultclass.into().abi(), strresultrole.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredassocqualifier.into().abi(), strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3905,7 +3905,7 @@ impl ISWbemServices { P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P4: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReferencesTo)(::windows::core::Interface::as_raw(self), strobjectpath.into().abi(), strresultclass.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3930,7 +3930,7 @@ impl ISWbemServices { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecNotificationQuery)(::windows::core::Interface::as_raw(self), strquery.into().abi(), strquerylanguage.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3954,7 +3954,7 @@ impl ISWbemServices { P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecMethod)(::windows::core::Interface::as_raw(self), strobjectpath.into().abi(), strmethodname.into().abi(), objwbeminparameters.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3973,7 +3973,7 @@ impl ISWbemServices { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Security_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4148,7 +4148,7 @@ impl ISWbemServicesEx { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Get)(::windows::core::Interface::as_raw(self), strobjectpath.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4189,7 +4189,7 @@ impl ISWbemServicesEx { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InstancesOf)(::windows::core::Interface::as_raw(self), strclass.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4210,7 +4210,7 @@ impl ISWbemServicesEx { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SubclassesOf)(::windows::core::Interface::as_raw(self), strsuperclass.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4232,7 +4232,7 @@ impl ISWbemServicesEx { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExecQuery)(::windows::core::Interface::as_raw(self), strquery.into().abi(), strquerylanguage.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4260,7 +4260,7 @@ impl ISWbemServicesEx { P6: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P7: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AssociatorsOf)(::windows::core::Interface::as_raw(self), strobjectpath.into().abi(), strassocclass.into().abi(), strresultclass.into().abi(), strresultrole.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredassocqualifier.into().abi(), strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4290,7 +4290,7 @@ impl ISWbemServicesEx { P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P4: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReferencesTo)(::windows::core::Interface::as_raw(self), strobjectpath.into().abi(), strresultclass.into().abi(), strrole.into().abi(), bclassesonly, bschemaonly, strrequiredqualifier.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4315,7 +4315,7 @@ impl ISWbemServicesEx { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExecNotificationQuery)(::windows::core::Interface::as_raw(self), strquery.into().abi(), strquerylanguage.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4339,7 +4339,7 @@ impl ISWbemServicesEx { P2: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExecMethod)(::windows::core::Interface::as_raw(self), strobjectpath.into().abi(), strmethodname.into().abi(), objwbeminparameters.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4358,7 +4358,7 @@ impl ISWbemServicesEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Security_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4368,7 +4368,7 @@ impl ISWbemServicesEx { P0: ::std::convert::Into<::windows::core::InParam<'a, ISWbemObjectEx>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Put)(::windows::core::Interface::as_raw(self), objwbemobject.into().abi(), iflags, objwbemnamedvalueset.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4635,7 +4635,7 @@ impl IUnsecuredApartment { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateObjectStub)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -4689,19 +4689,19 @@ impl IWMIExtension { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WMIObjectPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WMIObjectPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWMIObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWMIObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWMIServices(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWMIServices)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4980,21 +4980,21 @@ pub struct IWbemBackupRestoreEx_Vtbl { pub struct IWbemCallResult(::windows::core::IUnknown); impl IWbemCallResult { pub unsafe fn GetResultObject(&self, ltimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResultObject)(::windows::core::Interface::as_raw(self), ltimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetResultString(&self, ltimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResultString)(::windows::core::Interface::as_raw(self), ltimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetResultServices(&self, ltimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResultServices)(::windows::core::Interface::as_raw(self), ltimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCallStatus(&self, ltimeout: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCallStatus)(::windows::core::Interface::as_raw(self), ltimeout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5050,7 +5050,7 @@ pub struct IWbemCallResult_Vtbl { pub struct IWbemClassObject(::windows::core::IUnknown); impl IWbemClassObject { pub unsafe fn GetQualifierSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetQualifierSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5081,7 +5081,7 @@ impl IWbemClassObject { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNames)(::windows::core::Interface::as_raw(self), wszqualifiername.into(), lflags, ::core::mem::transmute(pqualifierval), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } pub unsafe fn BeginEnumeration(&self, lenumflags: i32) -> ::windows::core::Result<()> { @@ -5099,25 +5099,25 @@ impl IWbemClassObject { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyQualifierSet)(::windows::core::Interface::as_raw(self), wszproperty.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetObjectText(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectText)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpawnDerivedClass(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpawnDerivedClass)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpawnInstance(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SpawnInstance)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareTo<'a, P0>(&self, lflags: i32, pcompareto: P0) -> ::windows::core::Result<()> @@ -5132,7 +5132,7 @@ impl IWbemClassObject { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyOrigin)(::windows::core::Interface::as_raw(self), wszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InheritsFrom<'a, P0>(&self, strancestor: P0) -> ::windows::core::Result<()> @@ -5176,7 +5176,7 @@ impl IWbemClassObject { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMethodQualifierSet)(::windows::core::Interface::as_raw(self), wszmethod.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5185,7 +5185,7 @@ impl IWbemClassObject { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMethodOrigin)(::windows::core::Interface::as_raw(self), wszmethodname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5382,7 +5382,7 @@ impl IWbemClientTransport { P5: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P6: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectServer)(::windows::core::Interface::as_raw(self), straddresstype.into().abi(), abbinaryaddress.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(abbinaryaddress)), strnetworkresource.into().abi(), struser.into().abi(), strpassword.into().abi(), strlocale.into().abi(), lsecurityflags, strauthority.into().abi(), pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5645,13 +5645,13 @@ pub struct IWbemConstructClassObject_Vtbl { pub struct IWbemContext(::windows::core::IUnknown); impl IWbemContext { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNames(&self, lflags: i32) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNames)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } pub unsafe fn BeginEnumeration(&self, lflags: i32) -> ::windows::core::Result<()> { @@ -5679,7 +5679,7 @@ impl IWbemContext { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), wszname.into(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteValue<'a, P0>(&self, wszname: P0, lflags: i32) -> ::windows::core::Result<()> @@ -5775,14 +5775,14 @@ impl IWbemDecoupledBasicEventProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSink)(::windows::core::Interface::as_raw(self), a_flags, a_context.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetService<'a, P0>(&self, a_flags: i32, a_context: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetService)(::windows::core::Interface::as_raw(self), a_flags, a_context.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5912,7 +5912,7 @@ impl IWbemEventConsumerProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWbemClassObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindConsumer)(::windows::core::Interface::as_raw(self), plogicalconsumer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6137,7 +6137,7 @@ impl IWbemEventSink { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRestrictedSink)(::windows::core::Interface::as_raw(self), awszqueries.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(awszqueries)), pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBatchingParameters(&self, lflags: i32, dwmaxbuffersize: u32, dwmaxsendlatency: u32) -> ::windows::core::Result<()> { @@ -6281,7 +6281,7 @@ impl IWbemHiPerfProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWbemServices>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRefresher)(::windows::core::Interface::as_raw(self), pnamespace.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRefreshableObject<'a, P0, P1, P2, P3>(&self, pnamespace: P0, ptemplate: P1, prefresher: P2, lflags: i32, pcontext: P3, pprefreshable: *mut ::core::option::Option, plid: *mut i32) -> ::windows::core::Result<()> @@ -6307,7 +6307,7 @@ impl IWbemHiPerfProvider { P3: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, P4: ::std::convert::Into<::windows::core::InParam<'a, IWbemHiPerfEnum>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRefreshableEnum)(::windows::core::Interface::as_raw(self), pnamespace.into().abi(), wszclass.into(), prefresher.into().abi(), lflags, pcontext.into().abi(), phiperfenum.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetObjects<'a, P0, P1>(&self, pnamespace: P0, apobj: &mut [::core::option::Option], lflags: i32, pcontext: P1) -> ::windows::core::Result<()> @@ -6372,7 +6372,7 @@ impl IWbemLevel1Login { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EstablishPosition)(::windows::core::Interface::as_raw(self), wszlocalelist.into(), dwnumlocales, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RequestChallenge<'a, P0, P1>(&self, wsznetworkresource: P0, wszuser: P1) -> ::windows::core::Result @@ -6380,7 +6380,7 @@ impl IWbemLevel1Login { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestChallenge)(::windows::core::Interface::as_raw(self), wsznetworkresource.into(), wszuser.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WBEMLogin<'a, P0, P1>(&self, wszpreferredlocale: P0, accesstoken: *const u8, lflags: i32, pctx: P1) -> ::windows::core::Result @@ -6388,7 +6388,7 @@ impl IWbemLevel1Login { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WBEMLogin)(::windows::core::Interface::as_raw(self), wszpreferredlocale.into(), ::core::mem::transmute(accesstoken), lflags, pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NTLMLogin<'a, P0, P1, P2>(&self, wsznetworkresource: P0, wszpreferredlocale: P1, lflags: i32, pctx: P2) -> ::windows::core::Result @@ -6397,7 +6397,7 @@ impl IWbemLevel1Login { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NTLMLogin)(::windows::core::Interface::as_raw(self), wsznetworkresource.into(), wszpreferredlocale.into(), lflags, pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6460,7 +6460,7 @@ impl IWbemLocator { P4: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P5: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectServer)(::windows::core::Interface::as_raw(self), strnetworkresource.into().abi(), struser.into().abi(), strpassword.into().abi(), strlocale.into().abi(), lsecurityflags, strauthority.into().abi(), pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6513,7 +6513,7 @@ pub struct IWbemLocator_Vtbl { pub struct IWbemObjectAccess(::windows::core::IUnknown); impl IWbemObjectAccess { pub unsafe fn GetQualifierSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetQualifierSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6544,7 +6544,7 @@ impl IWbemObjectAccess { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNames)(::windows::core::Interface::as_raw(self), wszqualifiername.into(), lflags, ::core::mem::transmute(pqualifierval), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } pub unsafe fn BeginEnumeration(&self, lenumflags: i32) -> ::windows::core::Result<()> { @@ -6562,25 +6562,25 @@ impl IWbemObjectAccess { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyQualifierSet)(::windows::core::Interface::as_raw(self), wszproperty.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetObjectText(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetObjectText)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpawnDerivedClass(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SpawnDerivedClass)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SpawnInstance(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SpawnInstance)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareTo<'a, P0>(&self, lflags: i32, pcompareto: P0) -> ::windows::core::Result<()> @@ -6595,7 +6595,7 @@ impl IWbemObjectAccess { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyOrigin)(::windows::core::Interface::as_raw(self), wszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InheritsFrom<'a, P0>(&self, strancestor: P0) -> ::windows::core::Result<()> @@ -6639,7 +6639,7 @@ impl IWbemObjectAccess { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMethodQualifierSet)(::windows::core::Interface::as_raw(self), wszmethod.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6648,7 +6648,7 @@ impl IWbemObjectAccess { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMethodOrigin)(::windows::core::Interface::as_raw(self), wszmethodname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyHandle<'a, P0>(&self, wszpropertyname: P0, ptype: *mut i32, plhandle: *mut i32) -> ::windows::core::Result<()> @@ -6664,14 +6664,14 @@ impl IWbemObjectAccess { (::windows::core::Interface::vtable(self).ReadPropertyValue)(::windows::core::Interface::as_raw(self), lhandle, adata.len() as _, ::core::mem::transmute(plnumbytes), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(adata))).ok() } pub unsafe fn ReadDWORD(&self, lhandle: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadDWORD)(::windows::core::Interface::as_raw(self), lhandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteDWORD(&self, lhandle: i32, dw: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).WriteDWORD)(::windows::core::Interface::as_raw(self), lhandle, dw).ok() } pub unsafe fn ReadQWORD(&self, lhandle: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadQWORD)(::windows::core::Interface::as_raw(self), lhandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WriteQWORD(&self, lhandle: i32, pw: u64) -> ::windows::core::Result<()> { @@ -6847,7 +6847,7 @@ impl IWbemObjectSinkEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, IWbemClassObject>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WriteError)(::windows::core::Interface::as_raw(self), pobjerror.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6856,7 +6856,7 @@ impl IWbemObjectSinkEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PromptUser)(::windows::core::Interface::as_raw(self), strmessage.into().abi(), uprompttype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6961,7 +6961,7 @@ impl IWbemObjectTextSrc { P0: ::std::convert::Into<::windows::core::InParam<'a, IWbemClassObject>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), lflags, pobj.into().abi(), uobjtextformat, pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6971,7 +6971,7 @@ impl IWbemObjectTextSrc { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFromText)(::windows::core::Interface::as_raw(self), lflags, strtext.into().abi(), uobjtextformat, pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7037,7 +7037,7 @@ impl IWbemPath { (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(pubufflength), ::core::mem::transmute(psztext)).ok() } pub unsafe fn GetInfo(&self, urequestedinfo: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfo)(::windows::core::Interface::as_raw(self), urequestedinfo, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetServer<'a, P0>(&self, name: P0) -> ::windows::core::Result<()> @@ -7050,7 +7050,7 @@ impl IWbemPath { (::windows::core::Interface::vtable(self).GetServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(punamebuflength), ::core::mem::transmute(pname)).ok() } pub unsafe fn GetNamespaceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamespaceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNamespaceAt<'a, P0>(&self, uindex: u32, pszname: P0) -> ::windows::core::Result<()> @@ -7069,7 +7069,7 @@ impl IWbemPath { (::windows::core::Interface::vtable(self).RemoveAllNamespaces)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetScopeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScopeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScope<'a, P0>(&self, uindex: u32, pszclass: P0) -> ::windows::core::Result<()> @@ -7106,7 +7106,7 @@ impl IWbemPath { (::windows::core::Interface::vtable(self).GetClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pubufflength), ::core::mem::transmute(pszname)).ok() } pub unsafe fn GetKeyList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateClassPart<'a, P0>(&self, lflags: i32, name: P0) -> ::windows::core::Result<()> @@ -7236,7 +7236,7 @@ pub struct IWbemPath_Vtbl { pub struct IWbemPathKeyList(::windows::core::IUnknown); impl IWbemPathKeyList { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKey<'a, P0>(&self, wszname: P0, uflags: u32, ucimtype: u32, pkeyval: *const ::core::ffi::c_void) -> ::windows::core::Result<()> @@ -7274,7 +7274,7 @@ impl IWbemPathKeyList { (::windows::core::Interface::vtable(self).MakeSingleton)(::windows::core::Interface::as_raw(self), bset).ok() } pub unsafe fn GetInfo(&self, urequestedinfo: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfo)(::windows::core::Interface::as_raw(self), urequestedinfo, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetText(&self, lflags: i32, pubufflength: *mut u32, psztext: ::windows::core::PWSTR) -> ::windows::core::Result<()> { @@ -7350,7 +7350,7 @@ impl IWbemPropertyProvider { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), lflags, strlocale.into().abi(), strclassmapping.into().abi(), strinstmapping.into().abi(), strpropmapping.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7600,7 +7600,7 @@ impl IWbemQualifierSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNames(&self, lflags: i32) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNames)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::Com::SAFEARRAY>(result__) } pub unsafe fn BeginEnumeration(&self, lflags: i32) -> ::windows::core::Result<()> { @@ -7820,7 +7820,7 @@ impl IWbemServices { (::windows::core::Interface::vtable(self).CancelAsyncCall)(::windows::core::Interface::as_raw(self), psink.into().abi()).ok() } pub unsafe fn QueryObjectSink(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryObjectSink)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7883,7 +7883,7 @@ impl IWbemServices { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClassEnum)(::windows::core::Interface::as_raw(self), strsuperclass.into().abi(), lflags, pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7937,7 +7937,7 @@ impl IWbemServices { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstanceEnum)(::windows::core::Interface::as_raw(self), strfilter.into().abi(), lflags, pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7958,7 +7958,7 @@ impl IWbemServices { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecQuery)(::windows::core::Interface::as_raw(self), strquerylanguage.into().abi(), strquery.into().abi(), lflags, pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7980,7 +7980,7 @@ impl IWbemServices { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IWbemContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecNotificationQuery)(::windows::core::Interface::as_raw(self), strquerylanguage.into().abi(), strquery.into().abi(), lflags, pctx.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8191,13 +8191,13 @@ impl IWbemStatusCodeText { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetErrorCodeText(&self, hres: ::windows::core::HRESULT, localeid: u32, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorCodeText)(::windows::core::Interface::as_raw(self), hres, localeid, lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFacilityCodeText(&self, hres: ::windows::core::HRESULT, localeid: u32, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFacilityCodeText)(::windows::core::Interface::as_raw(self), hres, localeid, lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8358,7 +8358,7 @@ impl IWbemUnsecuredApartment { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateObjectStub)(::windows::core::Interface::as_raw(self), pobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn CreateSinkStub<'a, P0, P1>(&self, psink: P0, dwflags: u32, wszreserved: P1) -> ::windows::core::Result @@ -8366,7 +8366,7 @@ impl IWbemUnsecuredApartment { P0: ::std::convert::Into<::windows::core::InParam<'a, IWbemObjectSink>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSinkStub)(::windows::core::Interface::as_raw(self), psink.into().abi(), dwflags, wszreserved.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 43df087853..18029cd3f5 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs @@ -1822,11 +1822,11 @@ impl IAccessible { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn accParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn accChildCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accChildCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1835,7 +1835,7 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_accChild)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1844,7 +1844,7 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_accName)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1853,7 +1853,7 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_accValue)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1862,7 +1862,7 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_accDescription)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1871,7 +1871,7 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_accRole)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1880,7 +1880,7 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_accState)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1889,7 +1889,7 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_accHelp)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1906,19 +1906,19 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_accKeyboardShortcut)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn accFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn accSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1927,7 +1927,7 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_accDefaultAction)(::windows::core::Interface::as_raw(self), varchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1952,13 +1952,13 @@ impl IAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accNavigate)(::windows::core::Interface::as_raw(self), navdir, varstart.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn accHitTest(&self, xleft: i32, ytop: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accHitTest)(::windows::core::Interface::as_raw(self), xleft, ytop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2141,7 +2141,7 @@ pub struct IAccessible_Vtbl { pub struct IAccessibleEx(::windows::core::IUnknown); impl IAccessibleEx { pub unsafe fn GetObjectForChild(&self, idchild: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectForChild)(::windows::core::Interface::as_raw(self), idchild, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2152,14 +2152,14 @@ impl IAccessibleEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn ConvertReturnedElement<'a, P0>(&self, pin: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IRawElementProviderSimple>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConvertReturnedElement)(::windows::core::Interface::as_raw(self), pin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2220,7 +2220,7 @@ impl IAccessibleHandler { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AccessibleObjectFromID(&self, hwnd: i32, lobjectid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AccessibleObjectFromID)(::windows::core::Interface::as_raw(self), hwnd, lobjectid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2275,14 +2275,14 @@ impl IAccessibleHostingElementProviders { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEmbeddedFragmentRoots(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmbeddedFragmentRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetObjectIdForProvider<'a, P0>(&self, pprovider: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IRawElementProviderSimple>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectIdForProvider)(::windows::core::Interface::as_raw(self), pprovider.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2339,7 +2339,7 @@ impl IAccessibleWindowlessSite { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessibleHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AcquireObjectIdRange)(::windows::core::Interface::as_raw(self), rangesize, prangeowner.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReleaseObjectIdRange<'a, P0>(&self, rangebase: i32, prangeowner: P0) -> ::windows::core::Result<()> @@ -2354,13 +2354,13 @@ impl IAccessibleWindowlessSite { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessibleHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryObjectIdRanges)(::windows::core::Interface::as_raw(self), prangesowner.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetParentAccessible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentAccessible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2419,29 +2419,29 @@ pub struct IAccessibleWindowlessSite_Vtbl { pub struct IAnnotationProvider(::windows::core::IUnknown); impl IAnnotationProvider { pub unsafe fn AnnotationTypeId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AnnotationTypeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AnnotationTypeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AnnotationTypeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Author(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Author)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2504,7 +2504,7 @@ pub struct IAnnotationProvider_Vtbl { pub struct ICustomNavigationProvider(::windows::core::IUnknown); impl ICustomNavigationProvider { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Navigate)(::windows::core::Interface::as_raw(self), direction, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2557,7 +2557,7 @@ impl IDockProvider { (::windows::core::Interface::vtable(self).SetDockPosition)(::windows::core::Interface::as_raw(self), dockposition).ok() } pub unsafe fn DockPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DockPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2610,25 +2610,25 @@ impl IDragProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsGrabbed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsGrabbed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DropEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DropEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DropEffects(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DropEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetGrabbedItems(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGrabbedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -2695,13 +2695,13 @@ impl IDropTargetProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DropTargetEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DropTargetEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DropTargetEffects(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DropTargetEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -2764,7 +2764,7 @@ impl IExpandCollapseProvider { (::windows::core::Interface::vtable(self).Collapse)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ExpandCollapseState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpandCollapseState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2816,23 +2816,23 @@ pub struct IExpandCollapseProvider_Vtbl { pub struct IGridItemProvider(::windows::core::IUnknown); impl IGridItemProvider { pub unsafe fn Row(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Row)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Column(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Column)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RowSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RowSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ColumnSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ColumnSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContainingGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContainingGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2886,15 +2886,15 @@ pub struct IGridItemProvider_Vtbl { pub struct IGridProvider(::windows::core::IUnknown); impl IGridProvider { pub unsafe fn GetItem(&self, row: i32, column: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), row, column, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RowCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RowCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ColumnCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ColumnCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3003,7 +3003,7 @@ impl IItemContainerProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, IRawElementProviderSimple>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindItemByProperty)(::windows::core::Interface::as_raw(self), pstartafter.into().abi(), propertyid, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3070,61 +3070,61 @@ impl ILegacyIAccessibleProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetIAccessible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIAccessible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChildId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChildId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Role(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Role)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Help(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Help)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn KeyboardShortcut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeyboardShortcut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3213,20 +3213,20 @@ impl IMultipleViewProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewName(&self, viewid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewName)(::windows::core::Interface::as_raw(self), viewid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentView(&self, viewid: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentView)(::windows::core::Interface::as_raw(self), viewid).ok() } pub unsafe fn CurrentView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSupportedViews(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedViews)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -3285,7 +3285,7 @@ pub struct IMultipleViewProvider_Vtbl { pub struct IObjectModelProvider(::windows::core::IUnknown); impl IObjectModelProvider { pub unsafe fn GetUnderlyingObjectModel(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnderlyingObjectModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -3473,29 +3473,29 @@ impl IRangeValueProvider { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Maximum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Maximum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Minimum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Minimum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LargeChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LargeChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SmallChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SmallChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3617,30 +3617,30 @@ pub struct IRawElementProviderAdviseEvents_Vtbl { pub struct IRawElementProviderFragment(::windows::core::IUnknown); impl IRawElementProviderFragment { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Navigate)(::windows::core::Interface::as_raw(self), direction, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn BoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEmbeddedFragmentRoots(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmbeddedFragmentRoots)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn SetFocus(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFocus)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn FragmentRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FragmentRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3701,11 +3701,11 @@ pub struct IRawElementProviderFragment_Vtbl { pub struct IRawElementProviderFragmentRoot(::windows::core::IUnknown); impl IRawElementProviderFragmentRoot { pub unsafe fn ElementProviderFromPoint(&self, x: f64, y: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElementProviderFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3758,7 +3758,7 @@ impl IRawElementProviderHostingAccessibles { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEmbeddedAccessibles(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmbeddedAccessibles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -3816,7 +3816,7 @@ impl IRawElementProviderHwndOverride { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOverrideProviderForHwnd)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3869,21 +3869,21 @@ pub struct IRawElementProviderHwndOverride_Vtbl { pub struct IRawElementProviderSimple(::windows::core::IUnknown); impl IRawElementProviderSimple { pub unsafe fn ProviderOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProviderOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPatternProvider(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPatternProvider)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HostRawElementProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HostRawElementProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3939,21 +3939,21 @@ pub struct IRawElementProviderSimple_Vtbl { pub struct IRawElementProviderSimple2(::windows::core::IUnknown); impl IRawElementProviderSimple2 { pub unsafe fn ProviderOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProviderOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPatternProvider(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPatternProvider)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HostRawElementProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HostRawElementProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -4021,21 +4021,21 @@ pub struct IRawElementProviderSimple2_Vtbl { pub struct IRawElementProviderSimple3(::windows::core::IUnknown); impl IRawElementProviderSimple3 { pub unsafe fn ProviderOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProviderOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPatternProvider(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPatternProvider)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HostRawElementProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HostRawElementProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -4044,7 +4044,7 @@ impl IRawElementProviderSimple3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetMetadataValue(&self, targetid: i32, metadataid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMetadataValue)(::windows::core::Interface::as_raw(self), targetid, metadataid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4127,13 +4127,13 @@ pub struct IRawElementProviderSimple3_Vtbl { pub struct IRawElementProviderWindowlessSite(::windows::core::IUnknown); impl IRawElementProviderWindowlessSite { pub unsafe fn GetAdjacentFragment(&self, direction: NavigateDirection) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdjacentFragment)(::windows::core::Interface::as_raw(self), direction, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeIdPrefix(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRuntimeIdPrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -4243,7 +4243,7 @@ impl IRicheditWindowlessAccessibility { where P0: ::std::convert::Into<::windows::core::InParam<'a, IRawElementProviderWindowlessSite>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateProvider)(::windows::core::Interface::as_raw(self), psite.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4348,31 +4348,31 @@ impl IScrollProvider { (::windows::core::Interface::vtable(self).SetScrollPercent)(::windows::core::Interface::as_raw(self), horizontalpercent, verticalpercent).ok() } pub unsafe fn HorizontalScrollPercent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HorizontalScrollPercent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VerticalScrollPercent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VerticalScrollPercent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HorizontalViewSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HorizontalViewSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VerticalViewSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VerticalViewSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HorizontallyScrollable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HorizontallyScrollable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn VerticallyScrollable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VerticallyScrollable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4446,11 +4446,11 @@ impl ISelectionItemProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SelectionContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectionContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4509,19 +4509,19 @@ impl ISelectionProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanSelectMultiple(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanSelectMultiple)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSelectionRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSelectionRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4584,35 +4584,35 @@ impl ISelectionProvider2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanSelectMultiple(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanSelectMultiple)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsSelectionRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSelectionRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FirstSelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FirstSelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LastSelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LastSelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentSelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4682,19 +4682,19 @@ impl ISpreadsheetItemProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Formula(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Formula)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAnnotationObjects(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -4758,7 +4758,7 @@ impl ISpreadsheetProvider { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemByName)(::windows::core::Interface::as_raw(self), name.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4808,39 +4808,39 @@ pub struct ISpreadsheetProvider_Vtbl { pub struct IStylesProvider(::windows::core::IUnknown); impl IStylesProvider { pub unsafe fn StyleId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StyleId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StyleName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StyleName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FillColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FillPatternStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillPatternStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Shape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Shape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FillPatternColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FillPatternColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExtendedProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4963,13 +4963,13 @@ impl ITableItemProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRowHeaderItems(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRowHeaderItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetColumnHeaderItems(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnHeaderItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -5028,17 +5028,17 @@ impl ITableProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRowHeaders(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRowHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetColumnHeaders(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn RowOrColumnMajor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RowOrColumnMajor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5096,11 +5096,11 @@ pub struct ITableProvider_Vtbl { pub struct ITextChildProvider(::windows::core::IUnknown); impl ITextChildProvider { pub unsafe fn TextContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TextContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5153,40 +5153,40 @@ impl ITextEditProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetVisibleRanges(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVisibleRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn RangeFromChild<'a, P0>(&self, childelement: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IRawElementProviderSimple>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromChild)(::windows::core::Interface::as_raw(self), childelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeFromPoint(&self, point: UiaPoint) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DocumentRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DocumentRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportedTextSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedTextSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActiveComposition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveComposition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConversionTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConversionTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5254,32 +5254,32 @@ impl ITextProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetVisibleRanges(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisibleRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn RangeFromChild<'a, P0>(&self, childelement: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IRawElementProviderSimple>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeFromChild)(::windows::core::Interface::as_raw(self), childelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeFromPoint(&self, point: UiaPoint) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DocumentRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DocumentRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportedTextSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedTextSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5342,39 +5342,39 @@ impl ITextProvider2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetVisibleRanges(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVisibleRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn RangeFromChild<'a, P0>(&self, childelement: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IRawElementProviderSimple>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromChild)(::windows::core::Interface::as_raw(self), childelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeFromPoint(&self, point: UiaPoint) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(point), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DocumentRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DocumentRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportedTextSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedTextSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeFromAnnotation<'a, P0>(&self, annotationelement: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IRawElementProviderSimple>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeFromAnnotation)(::windows::core::Interface::as_raw(self), annotationelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5448,7 +5448,7 @@ pub struct ITextProvider2_Vtbl { pub struct ITextRangeProvider(::windows::core::IUnknown); impl ITextRangeProvider { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5457,14 +5457,14 @@ impl ITextRangeProvider { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRangeProvider>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Compare)(::windows::core::Interface::as_raw(self), range.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareEndpoints<'a, P0>(&self, endpoint: TextPatternRangeEndpoint, targetrange: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRangeProvider>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareEndpoints)(::windows::core::Interface::as_raw(self), endpoint, targetrange.into().abi(), targetendpoint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExpandToEnclosingUnit(&self, unit: TextUnit) -> ::windows::core::Result<()> { @@ -5477,7 +5477,7 @@ impl ITextRangeProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindAttribute)(::windows::core::Interface::as_raw(self), attributeid, val.into().abi(), backward.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5488,37 +5488,37 @@ impl ITextRangeProvider { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindText)(::windows::core::Interface::as_raw(self), text.into().abi(), backward.into(), ignorecase.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetAttributeValue(&self, attributeid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeValue)(::windows::core::Interface::as_raw(self), attributeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingRectangles(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoundingRectangles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetEnclosingElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnclosingElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self, maxlength: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), maxlength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Move)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByUnit(&self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveEndpointByUnit)(::windows::core::Interface::as_raw(self), endpoint, unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByRange<'a, P0>(&self, endpoint: TextPatternRangeEndpoint, targetrange: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result<()> @@ -5547,7 +5547,7 @@ impl ITextRangeProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetChildren(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -5638,7 +5638,7 @@ pub struct ITextRangeProvider_Vtbl { pub struct ITextRangeProvider2(::windows::core::IUnknown); impl ITextRangeProvider2 { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5647,14 +5647,14 @@ impl ITextRangeProvider2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRangeProvider>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), range.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareEndpoints<'a, P0>(&self, endpoint: TextPatternRangeEndpoint, targetrange: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRangeProvider>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareEndpoints)(::windows::core::Interface::as_raw(self), endpoint, targetrange.into().abi(), targetendpoint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExpandToEnclosingUnit(&self, unit: TextUnit) -> ::windows::core::Result<()> { @@ -5667,7 +5667,7 @@ impl ITextRangeProvider2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindAttribute)(::windows::core::Interface::as_raw(self), attributeid, val.into().abi(), backward.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5678,37 +5678,37 @@ impl ITextRangeProvider2 { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindText)(::windows::core::Interface::as_raw(self), text.into().abi(), backward.into(), ignorecase.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetAttributeValue(&self, attributeid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAttributeValue)(::windows::core::Interface::as_raw(self), attributeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingRectangles(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBoundingRectangles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetEnclosingElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnclosingElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self, maxlength: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetText)(::windows::core::Interface::as_raw(self), maxlength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Move)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByUnit(&self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveEndpointByUnit)(::windows::core::Interface::as_raw(self), endpoint, unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByRange<'a, P0>(&self, endpoint: TextPatternRangeEndpoint, targetrange: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result<()> @@ -5737,7 +5737,7 @@ impl ITextRangeProvider2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetChildren(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -5808,7 +5808,7 @@ impl IToggleProvider { (::windows::core::Interface::vtable(self).Toggle)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ToggleState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ToggleState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5870,19 +5870,19 @@ impl ITransformProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanMove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanMove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanResize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanResize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanRotate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanRotate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5957,19 +5957,19 @@ impl ITransformProvider2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanMove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanMove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanResize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanResize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanRotate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanRotate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Zoom(&self, zoom: f64) -> ::windows::core::Result<()> { @@ -5978,19 +5978,19 @@ impl ITransformProvider2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanZoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanZoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ZoomLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ZoomLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ZoomMinimum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ZoomMinimum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ZoomMaximum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ZoomMaximum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ZoomByUnit(&self, zoomunit: ZoomUnit) -> ::windows::core::Result<()> { @@ -6072,17 +6072,17 @@ impl IUIAutomation { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareElements)(::windows::core::Interface::as_raw(self), el1.into().abi(), el2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn CompareRuntimeIds(&self, runtimeid1: *const super::super::System::Com::SAFEARRAY, runtimeid2: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareRuntimeIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(runtimeid1), ::core::mem::transmute(runtimeid2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6091,24 +6091,24 @@ impl IUIAutomation { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElementFromHandle)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ElementFromPoint(&self, pt: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElementFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFocusedElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6118,7 +6118,7 @@ impl IUIAutomation { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElementFromHandleBuildCache)(::windows::core::Interface::as_raw(self), hwnd.into(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6127,57 +6127,57 @@ impl IUIAutomation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElementFromPointBuildCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFocusedElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTreeWalker<'a, P0>(&self, pcondition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTreeWalker)(::windows::core::Interface::as_raw(self), pcondition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ControlViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContentViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RawViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RawViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ControlViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ContentViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCacheRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCacheRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTrueCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTrueCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFalseCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateFalseCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6186,7 +6186,7 @@ impl IUIAutomation { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePropertyCondition)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6195,7 +6195,7 @@ impl IUIAutomation { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePropertyConditionEx)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -6203,17 +6203,17 @@ impl IUIAutomation { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAndCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAndConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAndConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAndConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -6221,24 +6221,24 @@ impl IUIAutomation { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateOrCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateOrConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateOrConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateOrConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateNotCondition<'a, P0>(&self, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateNotCondition)(::windows::core::Interface::as_raw(self), condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAutomationEventHandler<'a, P0, P1, P2>(&self, eventid: i32, element: P0, scope: TreeScope, cacherequest: P1, handler: P2) -> ::windows::core::Result<()> @@ -6315,7 +6315,7 @@ impl IUIAutomation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IntNativeArrayToSafeArray(&self, array: &[i32]) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IntNativeArrayToSafeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(array)), array.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6326,7 +6326,7 @@ impl IUIAutomation { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn RectToVariant(&self, rc: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RectToVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6335,7 +6335,7 @@ impl IUIAutomation { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VariantToRect)(::windows::core::Interface::as_raw(self), var.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6347,23 +6347,23 @@ impl IUIAutomation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationProxyFactory>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateProxyFactoryEntry)(::windows::core::Interface::as_raw(self), factory.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyFactoryMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyFactoryMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPropertyProgrammaticName(&self, property: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyProgrammaticName)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPatternProgrammaticName(&self, pattern: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPatternProgrammaticName)(::windows::core::Interface::as_raw(self), pattern, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6388,15 +6388,15 @@ impl IUIAutomation { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CheckNotSupported)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReservedNotSupportedValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReservedNotSupportedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ReservedMixedAttributeValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReservedMixedAttributeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6405,7 +6405,7 @@ impl IUIAutomation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElementFromIAccessible)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6415,7 +6415,7 @@ impl IUIAutomation { P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElementFromIAccessibleBuildCache)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6594,17 +6594,17 @@ impl IUIAutomation2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareElements)(::windows::core::Interface::as_raw(self), el1.into().abi(), el2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn CompareRuntimeIds(&self, runtimeid1: *const super::super::System::Com::SAFEARRAY, runtimeid2: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareRuntimeIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(runtimeid1), ::core::mem::transmute(runtimeid2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRootElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6613,24 +6613,24 @@ impl IUIAutomation2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ElementFromHandle)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ElementFromPoint(&self, pt: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ElementFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFocusedElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRootElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6640,7 +6640,7 @@ impl IUIAutomation2 { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ElementFromHandleBuildCache)(::windows::core::Interface::as_raw(self), hwnd.into(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6649,57 +6649,57 @@ impl IUIAutomation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ElementFromPointBuildCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFocusedElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTreeWalker<'a, P0>(&self, pcondition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTreeWalker)(::windows::core::Interface::as_raw(self), pcondition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ControlViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ContentViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RawViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RawViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ControlViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ContentViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCacheRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateCacheRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTrueCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateTrueCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFalseCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateFalseCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6708,7 +6708,7 @@ impl IUIAutomation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePropertyCondition)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6717,7 +6717,7 @@ impl IUIAutomation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreatePropertyConditionEx)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -6725,17 +6725,17 @@ impl IUIAutomation2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateAndCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAndConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateAndConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateAndConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -6743,24 +6743,24 @@ impl IUIAutomation2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOrCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateOrConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOrConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateOrConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateNotCondition<'a, P0>(&self, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateNotCondition)(::windows::core::Interface::as_raw(self), condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAutomationEventHandler<'a, P0, P1, P2>(&self, eventid: i32, element: P0, scope: TreeScope, cacherequest: P1, handler: P2) -> ::windows::core::Result<()> @@ -6837,7 +6837,7 @@ impl IUIAutomation2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IntNativeArrayToSafeArray(&self, array: &[i32]) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IntNativeArrayToSafeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(array)), array.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6848,7 +6848,7 @@ impl IUIAutomation2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn RectToVariant(&self, rc: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RectToVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6857,7 +6857,7 @@ impl IUIAutomation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.VariantToRect)(::windows::core::Interface::as_raw(self), var.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6869,23 +6869,23 @@ impl IUIAutomation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationProxyFactory>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateProxyFactoryEntry)(::windows::core::Interface::as_raw(self), factory.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyFactoryMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ProxyFactoryMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPropertyProgrammaticName(&self, property: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyProgrammaticName)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPatternProgrammaticName(&self, pattern: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPatternProgrammaticName)(::windows::core::Interface::as_raw(self), pattern, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6910,15 +6910,15 @@ impl IUIAutomation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CheckNotSupported)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReservedNotSupportedValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReservedNotSupportedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ReservedMixedAttributeValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReservedMixedAttributeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6927,7 +6927,7 @@ impl IUIAutomation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ElementFromIAccessible)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6937,13 +6937,13 @@ impl IUIAutomation2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ElementFromIAccessibleBuildCache)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AutoSetFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoSetFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6955,14 +6955,14 @@ impl IUIAutomation2 { (::windows::core::Interface::vtable(self).SetAutoSetFocus)(::windows::core::Interface::as_raw(self), autosetfocus.into()).ok() } pub unsafe fn ConnectionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetConnectionTimeout)(::windows::core::Interface::as_raw(self), timeout).ok() } pub unsafe fn TransactionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransactionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransactionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -7047,17 +7047,17 @@ impl IUIAutomation3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CompareElements)(::windows::core::Interface::as_raw(self), el1.into().abi(), el2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn CompareRuntimeIds(&self, runtimeid1: *const super::super::System::Com::SAFEARRAY, runtimeid2: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CompareRuntimeIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(runtimeid1), ::core::mem::transmute(runtimeid2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRootElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7066,24 +7066,24 @@ impl IUIAutomation3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ElementFromHandle)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ElementFromPoint(&self, pt: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ElementFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFocusedElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRootElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7093,7 +7093,7 @@ impl IUIAutomation3 { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ElementFromHandleBuildCache)(::windows::core::Interface::as_raw(self), hwnd.into(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7102,57 +7102,57 @@ impl IUIAutomation3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ElementFromPointBuildCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFocusedElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTreeWalker<'a, P0>(&self, pcondition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTreeWalker)(::windows::core::Interface::as_raw(self), pcondition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ControlViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ContentViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RawViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RawViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ControlViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ContentViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCacheRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateCacheRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTrueCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateTrueCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFalseCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateFalseCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7161,7 +7161,7 @@ impl IUIAutomation3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreatePropertyCondition)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7170,7 +7170,7 @@ impl IUIAutomation3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreatePropertyConditionEx)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -7178,17 +7178,17 @@ impl IUIAutomation3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateAndCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAndConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateAndConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateAndConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -7196,24 +7196,24 @@ impl IUIAutomation3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateOrCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateOrConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateOrConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateOrConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateNotCondition<'a, P0>(&self, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateNotCondition)(::windows::core::Interface::as_raw(self), condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAutomationEventHandler<'a, P0, P1, P2>(&self, eventid: i32, element: P0, scope: TreeScope, cacherequest: P1, handler: P2) -> ::windows::core::Result<()> @@ -7290,7 +7290,7 @@ impl IUIAutomation3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IntNativeArrayToSafeArray(&self, array: &[i32]) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IntNativeArrayToSafeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(array)), array.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7301,7 +7301,7 @@ impl IUIAutomation3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn RectToVariant(&self, rc: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RectToVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7310,7 +7310,7 @@ impl IUIAutomation3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.VariantToRect)(::windows::core::Interface::as_raw(self), var.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7322,23 +7322,23 @@ impl IUIAutomation3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationProxyFactory>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateProxyFactoryEntry)(::windows::core::Interface::as_raw(self), factory.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyFactoryMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ProxyFactoryMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPropertyProgrammaticName(&self, property: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPropertyProgrammaticName)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPatternProgrammaticName(&self, pattern: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPatternProgrammaticName)(::windows::core::Interface::as_raw(self), pattern, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7363,15 +7363,15 @@ impl IUIAutomation3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CheckNotSupported)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReservedNotSupportedValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ReservedNotSupportedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ReservedMixedAttributeValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ReservedMixedAttributeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7380,7 +7380,7 @@ impl IUIAutomation3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ElementFromIAccessible)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7390,13 +7390,13 @@ impl IUIAutomation3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ElementFromIAccessibleBuildCache)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AutoSetFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AutoSetFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7408,14 +7408,14 @@ impl IUIAutomation3 { (::windows::core::Interface::vtable(self).base__.SetAutoSetFocus)(::windows::core::Interface::as_raw(self), autosetfocus.into()).ok() } pub unsafe fn ConnectionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ConnectionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetConnectionTimeout)(::windows::core::Interface::as_raw(self), timeout).ok() } pub unsafe fn TransactionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TransactionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransactionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -7520,17 +7520,17 @@ impl IUIAutomation4 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CompareElements)(::windows::core::Interface::as_raw(self), el1.into().abi(), el2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn CompareRuntimeIds(&self, runtimeid1: *const super::super::System::Com::SAFEARRAY, runtimeid2: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CompareRuntimeIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(runtimeid1), ::core::mem::transmute(runtimeid2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetRootElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7539,24 +7539,24 @@ impl IUIAutomation4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ElementFromHandle)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ElementFromPoint(&self, pt: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ElementFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFocusedElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetRootElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7566,7 +7566,7 @@ impl IUIAutomation4 { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ElementFromHandleBuildCache)(::windows::core::Interface::as_raw(self), hwnd.into(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7575,57 +7575,57 @@ impl IUIAutomation4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ElementFromPointBuildCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFocusedElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTreeWalker<'a, P0>(&self, pcondition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTreeWalker)(::windows::core::Interface::as_raw(self), pcondition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ControlViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ContentViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RawViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RawViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ControlViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ContentViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCacheRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCacheRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTrueCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTrueCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFalseCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateFalseCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7634,7 +7634,7 @@ impl IUIAutomation4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreatePropertyCondition)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7643,7 +7643,7 @@ impl IUIAutomation4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreatePropertyConditionEx)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -7651,17 +7651,17 @@ impl IUIAutomation4 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateAndCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAndConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateAndConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateAndConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -7669,24 +7669,24 @@ impl IUIAutomation4 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateOrCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateOrConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateOrConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateOrConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateNotCondition<'a, P0>(&self, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateNotCondition)(::windows::core::Interface::as_raw(self), condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAutomationEventHandler<'a, P0, P1, P2>(&self, eventid: i32, element: P0, scope: TreeScope, cacherequest: P1, handler: P2) -> ::windows::core::Result<()> @@ -7763,7 +7763,7 @@ impl IUIAutomation4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IntNativeArrayToSafeArray(&self, array: &[i32]) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IntNativeArrayToSafeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(array)), array.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7774,7 +7774,7 @@ impl IUIAutomation4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn RectToVariant(&self, rc: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RectToVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7783,7 +7783,7 @@ impl IUIAutomation4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.VariantToRect)(::windows::core::Interface::as_raw(self), var.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7795,23 +7795,23 @@ impl IUIAutomation4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationProxyFactory>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CreateProxyFactoryEntry)(::windows::core::Interface::as_raw(self), factory.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyFactoryMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ProxyFactoryMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPropertyProgrammaticName(&self, property: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPropertyProgrammaticName)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPatternProgrammaticName(&self, pattern: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPatternProgrammaticName)(::windows::core::Interface::as_raw(self), pattern, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7836,15 +7836,15 @@ impl IUIAutomation4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CheckNotSupported)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReservedNotSupportedValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ReservedNotSupportedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ReservedMixedAttributeValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ReservedMixedAttributeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7853,7 +7853,7 @@ impl IUIAutomation4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ElementFromIAccessible)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7863,13 +7863,13 @@ impl IUIAutomation4 { P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ElementFromIAccessibleBuildCache)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AutoSetFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.AutoSetFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7881,14 +7881,14 @@ impl IUIAutomation4 { (::windows::core::Interface::vtable(self).base__.base__.SetAutoSetFocus)(::windows::core::Interface::as_raw(self), autosetfocus.into()).ok() } pub unsafe fn ConnectionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ConnectionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetConnectionTimeout)(::windows::core::Interface::as_raw(self), timeout).ok() } pub unsafe fn TransactionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TransactionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransactionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -8023,17 +8023,17 @@ impl IUIAutomation5 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CompareElements)(::windows::core::Interface::as_raw(self), el1.into().abi(), el2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn CompareRuntimeIds(&self, runtimeid1: *const super::super::System::Com::SAFEARRAY, runtimeid2: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CompareRuntimeIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(runtimeid1), ::core::mem::transmute(runtimeid2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetRootElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8042,24 +8042,24 @@ impl IUIAutomation5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ElementFromHandle)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ElementFromPoint(&self, pt: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ElementFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetFocusedElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetRootElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8069,7 +8069,7 @@ impl IUIAutomation5 { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ElementFromHandleBuildCache)(::windows::core::Interface::as_raw(self), hwnd.into(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8078,57 +8078,57 @@ impl IUIAutomation5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ElementFromPointBuildCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetFocusedElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTreeWalker<'a, P0>(&self, pcondition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTreeWalker)(::windows::core::Interface::as_raw(self), pcondition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ControlViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ContentViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RawViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RawViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ControlViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ContentViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCacheRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCacheRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTrueCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTrueCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFalseCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateFalseCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8137,7 +8137,7 @@ impl IUIAutomation5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreatePropertyCondition)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8146,7 +8146,7 @@ impl IUIAutomation5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreatePropertyConditionEx)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -8154,17 +8154,17 @@ impl IUIAutomation5 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateAndCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAndConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateAndConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateAndConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -8172,24 +8172,24 @@ impl IUIAutomation5 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateOrCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateOrConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateOrConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateOrConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateNotCondition<'a, P0>(&self, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateNotCondition)(::windows::core::Interface::as_raw(self), condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAutomationEventHandler<'a, P0, P1, P2>(&self, eventid: i32, element: P0, scope: TreeScope, cacherequest: P1, handler: P2) -> ::windows::core::Result<()> @@ -8266,7 +8266,7 @@ impl IUIAutomation5 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IntNativeArrayToSafeArray(&self, array: &[i32]) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IntNativeArrayToSafeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(array)), array.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8277,7 +8277,7 @@ impl IUIAutomation5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn RectToVariant(&self, rc: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RectToVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8286,7 +8286,7 @@ impl IUIAutomation5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.VariantToRect)(::windows::core::Interface::as_raw(self), var.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8298,23 +8298,23 @@ impl IUIAutomation5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationProxyFactory>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateProxyFactoryEntry)(::windows::core::Interface::as_raw(self), factory.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyFactoryMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ProxyFactoryMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPropertyProgrammaticName(&self, property: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetPropertyProgrammaticName)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPatternProgrammaticName(&self, pattern: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetPatternProgrammaticName)(::windows::core::Interface::as_raw(self), pattern, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8339,15 +8339,15 @@ impl IUIAutomation5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CheckNotSupported)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReservedNotSupportedValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ReservedNotSupportedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ReservedMixedAttributeValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ReservedMixedAttributeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8356,7 +8356,7 @@ impl IUIAutomation5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ElementFromIAccessible)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8366,13 +8366,13 @@ impl IUIAutomation5 { P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ElementFromIAccessibleBuildCache)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AutoSetFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.AutoSetFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8384,14 +8384,14 @@ impl IUIAutomation5 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetAutoSetFocus)(::windows::core::Interface::as_raw(self), autosetfocus.into()).ok() } pub unsafe fn ConnectionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ConnectionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetConnectionTimeout)(::windows::core::Interface::as_raw(self), timeout).ok() } pub unsafe fn TransactionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.TransactionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransactionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -8556,17 +8556,17 @@ impl IUIAutomation6 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CompareElements)(::windows::core::Interface::as_raw(self), el1.into().abi(), el2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn CompareRuntimeIds(&self, runtimeid1: *const super::super::System::Com::SAFEARRAY, runtimeid2: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CompareRuntimeIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(runtimeid1), ::core::mem::transmute(runtimeid2), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetRootElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8575,24 +8575,24 @@ impl IUIAutomation6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ElementFromHandle)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ElementFromPoint(&self, pt: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ElementFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetFocusedElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRootElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetRootElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8602,7 +8602,7 @@ impl IUIAutomation6 { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ElementFromHandleBuildCache)(::windows::core::Interface::as_raw(self), hwnd.into(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8611,57 +8611,57 @@ impl IUIAutomation6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ElementFromPointBuildCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedElementBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetFocusedElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTreeWalker<'a, P0>(&self, pcondition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTreeWalker)(::windows::core::Interface::as_raw(self), pcondition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ControlViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ContentViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewWalker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RawViewWalker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RawViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RawViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ControlViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ControlViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ContentViewCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ContentViewCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCacheRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCacheRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateTrueCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTrueCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateFalseCondition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateFalseCondition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8670,7 +8670,7 @@ impl IUIAutomation6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePropertyCondition)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8679,7 +8679,7 @@ impl IUIAutomation6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePropertyConditionEx)(::windows::core::Interface::as_raw(self), propertyid, value.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -8687,17 +8687,17 @@ impl IUIAutomation6 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateAndCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAndConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateAndConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAndConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateAndConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrCondition<'a, P0, P1>(&self, condition1: P0, condition2: P1) -> ::windows::core::Result @@ -8705,24 +8705,24 @@ impl IUIAutomation6 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateOrCondition)(::windows::core::Interface::as_raw(self), condition1.into().abi(), condition2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateOrConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateOrConditionFromArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(conditions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateOrConditionFromNativeArray(&self, conditions: &[::core::option::Option]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateOrConditionFromNativeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(conditions)), conditions.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateNotCondition<'a, P0>(&self, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateNotCondition)(::windows::core::Interface::as_raw(self), condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddAutomationEventHandler<'a, P0, P1, P2>(&self, eventid: i32, element: P0, scope: TreeScope, cacherequest: P1, handler: P2) -> ::windows::core::Result<()> @@ -8799,7 +8799,7 @@ impl IUIAutomation6 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn IntNativeArrayToSafeArray(&self, array: &[i32]) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IntNativeArrayToSafeArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(array)), array.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8810,7 +8810,7 @@ impl IUIAutomation6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn RectToVariant(&self, rc: super::super::Foundation::RECT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RectToVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8819,7 +8819,7 @@ impl IUIAutomation6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.VariantToRect)(::windows::core::Interface::as_raw(self), var.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8831,23 +8831,23 @@ impl IUIAutomation6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationProxyFactory>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateProxyFactoryEntry)(::windows::core::Interface::as_raw(self), factory.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProxyFactoryMapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ProxyFactoryMapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPropertyProgrammaticName(&self, property: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetPropertyProgrammaticName)(::windows::core::Interface::as_raw(self), property, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPatternProgrammaticName(&self, pattern: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetPatternProgrammaticName)(::windows::core::Interface::as_raw(self), pattern, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8872,15 +8872,15 @@ impl IUIAutomation6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CheckNotSupported)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReservedNotSupportedValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ReservedNotSupportedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ReservedMixedAttributeValue(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ReservedMixedAttributeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8889,7 +8889,7 @@ impl IUIAutomation6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ElementFromIAccessible)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8899,13 +8899,13 @@ impl IUIAutomation6 { P0: ::std::convert::Into<::windows::core::InParam<'a, IAccessible>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ElementFromIAccessibleBuildCache)(::windows::core::Interface::as_raw(self), accessible.into().abi(), childid, cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AutoSetFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.AutoSetFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8917,14 +8917,14 @@ impl IUIAutomation6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetAutoSetFocus)(::windows::core::Interface::as_raw(self), autosetfocus.into()).ok() } pub unsafe fn ConnectionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ConnectionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetConnectionTimeout)(::windows::core::Interface::as_raw(self), timeout).ok() } pub unsafe fn TransactionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.TransactionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransactionTimeout(&self, timeout: u32) -> ::windows::core::Result<()> { @@ -8976,7 +8976,7 @@ impl IUIAutomation6 { (::windows::core::Interface::vtable(self).base__.RemoveNotificationEventHandler)(::windows::core::Interface::as_raw(self), element.into().abi(), handler.into().abi()).ok() } pub unsafe fn CreateEventHandlerGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEventHandlerGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddEventHandlerGroup<'a, P0, P1>(&self, element: P0, handlergroup: P1) -> ::windows::core::Result<()> @@ -8994,14 +8994,14 @@ impl IUIAutomation6 { (::windows::core::Interface::vtable(self).RemoveEventHandlerGroup)(::windows::core::Interface::as_raw(self), element.into().abi(), handlergroup.into().abi()).ok() } pub unsafe fn ConnectionRecoveryBehavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConnectionRecoveryBehavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetConnectionRecoveryBehavior(&self, connectionrecoverybehavioroptions: ConnectionRecoveryBehaviorOptions) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetConnectionRecoveryBehavior)(::windows::core::Interface::as_raw(self), connectionrecoverybehavioroptions).ok() } pub unsafe fn CoalesceEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CoalesceEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCoalesceEvents(&self, coalesceeventsoptions: CoalesceEventsOptions) -> ::windows::core::Result<()> { @@ -9205,7 +9205,7 @@ pub struct IUIAutomationActiveTextPositionChangedEventHandler_Vtbl { pub struct IUIAutomationAndCondition(::windows::core::IUnknown); impl IUIAutomationAndCondition { pub unsafe fn ChildCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChildCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChildrenAsNativeArray(&self, childarray: *mut *mut ::core::option::Option, childarraycount: *mut i32) -> ::windows::core::Result<()> { @@ -9214,7 +9214,7 @@ impl IUIAutomationAndCondition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetChildren(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -9284,55 +9284,55 @@ pub struct IUIAutomationAndCondition_Vtbl { pub struct IUIAutomationAnnotationPattern(::windows::core::IUnknown); impl IUIAutomationAnnotationPattern { pub unsafe fn CurrentAnnotationTypeId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAnnotationTypeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAnnotationTypeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAnnotationTypeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAuthor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAuthor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentDateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedAnnotationTypeId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAnnotationTypeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAnnotationTypeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAnnotationTypeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAuthor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAuthor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedDateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedDateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9411,7 +9411,7 @@ impl IUIAutomationBoolCondition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BooleanValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BooleanValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9485,18 +9485,18 @@ impl IUIAutomationCacheRequest { (::windows::core::Interface::vtable(self).AddPattern)(::windows::core::Interface::as_raw(self), patternid).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TreeScope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TreeScope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTreeScope(&self, scope: TreeScope) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTreeScope)(::windows::core::Interface::as_raw(self), scope).ok() } pub unsafe fn TreeFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TreeFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTreeFilter<'a, P0>(&self, filter: P0) -> ::windows::core::Result<()> @@ -9506,7 +9506,7 @@ impl IUIAutomationCacheRequest { (::windows::core::Interface::vtable(self).SetTreeFilter)(::windows::core::Interface::as_raw(self), filter.into().abi()).ok() } pub unsafe fn AutomationElementMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutomationElementMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutomationElementMode(&self, mode: AutomationElementMode) -> ::windows::core::Result<()> { @@ -9668,7 +9668,7 @@ pub struct IUIAutomationCondition_Vtbl { pub struct IUIAutomationCustomNavigationPattern(::windows::core::IUnknown); impl IUIAutomationCustomNavigationPattern { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Navigate)(::windows::core::Interface::as_raw(self), direction, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9721,11 +9721,11 @@ impl IUIAutomationDockPattern { (::windows::core::Interface::vtable(self).SetDockPosition)(::windows::core::Interface::as_raw(self), dockpos).ok() } pub unsafe fn CurrentDockPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDockPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDockPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedDockPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9779,45 +9779,45 @@ impl IUIAutomationDragPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsGrabbed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsGrabbed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsGrabbed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsGrabbed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentDropEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDropEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedDropEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedDropEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentDropEffects(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDropEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedDropEffects(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedDropEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetCurrentGrabbedItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentGrabbedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedGrabbedItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedGrabbedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9894,25 +9894,25 @@ impl IUIAutomationDropTargetPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentDropTargetEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDropTargetEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedDropTargetEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedDropTargetEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentDropTargetEffects(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDropTargetEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedDropTargetEffects(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedDropTargetEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -9982,21 +9982,21 @@ impl IUIAutomationElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn FindFirst<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirst)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAll<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindAll)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -10004,7 +10004,7 @@ impl IUIAutomationElement { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -10012,20 +10012,20 @@ impl IUIAutomationElement { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindAllBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildUpdatedCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BuildUpdatedCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10034,13 +10034,13 @@ impl IUIAutomationElement { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10049,7 +10049,7 @@ impl IUIAutomationElement { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPatternAs(&self, patternid: i32) -> ::windows::core::Result @@ -10067,371 +10067,371 @@ impl IUIAutomationElement { (::windows::core::Interface::vtable(self).GetCachedPatternAs)(::windows::core::Interface::as_raw(self), patternid, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10734,21 +10734,21 @@ impl IUIAutomationElement2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn FindFirst<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindFirst)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAll<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindAll)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -10756,7 +10756,7 @@ impl IUIAutomationElement2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindFirstBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -10764,20 +10764,20 @@ impl IUIAutomationElement2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindAllBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildUpdatedCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BuildUpdatedCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10786,13 +10786,13 @@ impl IUIAutomationElement2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCachedPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -10801,7 +10801,7 @@ impl IUIAutomationElement2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCachedPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPatternAs(&self, patternid: i32) -> ::windows::core::Result @@ -10819,371 +10819,371 @@ impl IUIAutomationElement2 { (::windows::core::Interface::vtable(self).base__.GetCachedPatternAs)(::windows::core::Interface::as_raw(self), patternid, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCachedPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCachedParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCachedChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11194,29 +11194,29 @@ impl IUIAutomationElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11297,21 +11297,21 @@ impl IUIAutomationElement3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn FindFirst<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindFirst)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAll<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindAll)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -11319,7 +11319,7 @@ impl IUIAutomationElement3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindFirstBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -11327,20 +11327,20 @@ impl IUIAutomationElement3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindAllBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildUpdatedCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BuildUpdatedCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCurrentPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11349,13 +11349,13 @@ impl IUIAutomationElement3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCurrentPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCachedPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11364,7 +11364,7 @@ impl IUIAutomationElement3 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCachedPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPatternAs(&self, patternid: i32) -> ::windows::core::Result @@ -11382,371 +11382,371 @@ impl IUIAutomationElement3 { (::windows::core::Interface::vtable(self).base__.base__.GetCachedPatternAs)(::windows::core::Interface::as_raw(self), patternid, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCurrentPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCachedPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCachedParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCachedChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11757,29 +11757,29 @@ impl IUIAutomationElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -11788,13 +11788,13 @@ impl IUIAutomationElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11887,21 +11887,21 @@ impl IUIAutomationElement4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn FindFirst<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FindFirst)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAll<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FindAll)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -11909,7 +11909,7 @@ impl IUIAutomationElement4 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FindFirstBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -11917,20 +11917,20 @@ impl IUIAutomationElement4 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FindAllBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildUpdatedCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.BuildUpdatedCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCurrentPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11939,13 +11939,13 @@ impl IUIAutomationElement4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCurrentPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCachedPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -11954,7 +11954,7 @@ impl IUIAutomationElement4 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCachedPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPatternAs(&self, patternid: i32) -> ::windows::core::Result @@ -11972,371 +11972,371 @@ impl IUIAutomationElement4 { (::windows::core::Interface::vtable(self).base__.base__.base__.GetCachedPatternAs)(::windows::core::Interface::as_raw(self), patternid, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCurrentPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCachedPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCachedParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetCachedChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12347,29 +12347,29 @@ impl IUIAutomationElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -12378,57 +12378,57 @@ impl IUIAutomationElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CurrentAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CachedAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12543,21 +12543,21 @@ impl IUIAutomationElement5 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn FindFirst<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.FindFirst)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAll<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.FindAll)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -12565,7 +12565,7 @@ impl IUIAutomationElement5 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.FindFirstBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -12573,20 +12573,20 @@ impl IUIAutomationElement5 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.FindAllBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildUpdatedCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.BuildUpdatedCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCurrentPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12595,13 +12595,13 @@ impl IUIAutomationElement5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCurrentPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCachedPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -12610,7 +12610,7 @@ impl IUIAutomationElement5 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCachedPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPatternAs(&self, patternid: i32) -> ::windows::core::Result @@ -12628,371 +12628,371 @@ impl IUIAutomationElement5 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCachedPatternAs)(::windows::core::Interface::as_raw(self), patternid, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCurrentPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCachedPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCachedParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCachedChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13003,29 +13003,29 @@ impl IUIAutomationElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -13034,77 +13034,77 @@ impl IUIAutomationElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CurrentAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CachedAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13228,21 +13228,21 @@ impl IUIAutomationElement6 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn FindFirst<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.FindFirst)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAll<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.FindAll)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -13250,7 +13250,7 @@ impl IUIAutomationElement6 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.FindFirstBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -13258,20 +13258,20 @@ impl IUIAutomationElement6 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.FindAllBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildUpdatedCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.BuildUpdatedCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCurrentPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13280,13 +13280,13 @@ impl IUIAutomationElement6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCurrentPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCachedPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13295,7 +13295,7 @@ impl IUIAutomationElement6 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCachedPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPatternAs(&self, patternid: i32) -> ::windows::core::Result @@ -13313,371 +13313,371 @@ impl IUIAutomationElement6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows::core::Interface::as_raw(self), patternid, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCurrentPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCachedPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCachedParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCachedChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13688,29 +13688,29 @@ impl IUIAutomationElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -13719,89 +13719,89 @@ impl IUIAutomationElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CurrentAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CachedAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFullDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFullDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFullDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedFullDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13938,21 +13938,21 @@ impl IUIAutomationElement7 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn FindFirst<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.FindFirst)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAll<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.FindAll)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -13960,7 +13960,7 @@ impl IUIAutomationElement7 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.FindFirstBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -13968,20 +13968,20 @@ impl IUIAutomationElement7 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.FindAllBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildUpdatedCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.BuildUpdatedCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCurrentPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13990,13 +13990,13 @@ impl IUIAutomationElement7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCurrentPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCachedPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14005,7 +14005,7 @@ impl IUIAutomationElement7 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCachedPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPatternAs(&self, patternid: i32) -> ::windows::core::Result @@ -14023,371 +14023,371 @@ impl IUIAutomationElement7 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows::core::Interface::as_raw(self), patternid, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCurrentPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCachedPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCachedParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCachedChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14398,29 +14398,29 @@ impl IUIAutomationElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -14429,89 +14429,89 @@ impl IUIAutomationElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CurrentAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CachedAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFullDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentFullDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFullDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedFullDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstWithOptions<'a, P0, P1>(&self, scope: TreeScope, condition: P0, traversaloptions: TreeTraversalOptions, root: P1) -> ::windows::core::Result @@ -14519,7 +14519,7 @@ impl IUIAutomationElement7 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstWithOptions)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllWithOptions<'a, P0, P1>(&self, scope: TreeScope, condition: P0, traversaloptions: TreeTraversalOptions, root: P1) -> ::windows::core::Result @@ -14527,7 +14527,7 @@ impl IUIAutomationElement7 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindAllWithOptions)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstWithOptionsBuildCache<'a, P0, P1, P2>(&self, scope: TreeScope, condition: P0, cacherequest: P1, traversaloptions: TreeTraversalOptions, root: P2) -> ::windows::core::Result @@ -14536,7 +14536,7 @@ impl IUIAutomationElement7 { P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFirstWithOptionsBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllWithOptionsBuildCache<'a, P0, P1, P2>(&self, scope: TreeScope, condition: P0, cacherequest: P1, traversaloptions: TreeTraversalOptions, root: P2) -> ::windows::core::Result @@ -14545,13 +14545,13 @@ impl IUIAutomationElement7 { P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindAllWithOptionsBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentMetadataValue(&self, targetid: i32, metadataid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentMetadataValue)(::windows::core::Interface::as_raw(self), targetid, metadataid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -14703,21 +14703,21 @@ impl IUIAutomationElement8 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn FindFirst<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.FindFirst)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAll<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.FindAll)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -14725,7 +14725,7 @@ impl IUIAutomationElement8 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.FindFirstBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -14733,20 +14733,20 @@ impl IUIAutomationElement8 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.FindAllBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildUpdatedCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.BuildUpdatedCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCurrentPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14755,13 +14755,13 @@ impl IUIAutomationElement8 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCurrentPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCachedPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14770,7 +14770,7 @@ impl IUIAutomationElement8 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCachedPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPatternAs(&self, patternid: i32) -> ::windows::core::Result @@ -14788,371 +14788,371 @@ impl IUIAutomationElement8 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows::core::Interface::as_raw(self), patternid, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCurrentPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCachedPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCachedParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCachedChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15163,29 +15163,29 @@ impl IUIAutomationElement8 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -15194,89 +15194,89 @@ impl IUIAutomationElement8 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CurrentAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CachedAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFullDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CurrentFullDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFullDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CachedFullDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstWithOptions<'a, P0, P1>(&self, scope: TreeScope, condition: P0, traversaloptions: TreeTraversalOptions, root: P1) -> ::windows::core::Result @@ -15284,7 +15284,7 @@ impl IUIAutomationElement8 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindFirstWithOptions)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllWithOptions<'a, P0, P1>(&self, scope: TreeScope, condition: P0, traversaloptions: TreeTraversalOptions, root: P1) -> ::windows::core::Result @@ -15292,7 +15292,7 @@ impl IUIAutomationElement8 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindAllWithOptions)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstWithOptionsBuildCache<'a, P0, P1, P2>(&self, scope: TreeScope, condition: P0, cacherequest: P1, traversaloptions: TreeTraversalOptions, root: P2) -> ::windows::core::Result @@ -15301,7 +15301,7 @@ impl IUIAutomationElement8 { P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindFirstWithOptionsBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllWithOptionsBuildCache<'a, P0, P1, P2>(&self, scope: TreeScope, condition: P0, cacherequest: P1, traversaloptions: TreeTraversalOptions, root: P2) -> ::windows::core::Result @@ -15310,21 +15310,21 @@ impl IUIAutomationElement8 { P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindAllWithOptionsBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentMetadataValue(&self, targetid: i32, metadataid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentMetadataValue)(::windows::core::Interface::as_raw(self), targetid, metadataid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentHeadingLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentHeadingLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedHeadingLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedHeadingLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15485,21 +15485,21 @@ impl IUIAutomationElement9 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetRuntimeId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn FindFirst<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.FindFirst)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAll<'a, P0>(&self, scope: TreeScope, condition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.FindAll)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -15507,7 +15507,7 @@ impl IUIAutomationElement9 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.FindFirstBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllBuildCache<'a, P0, P1>(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> ::windows::core::Result @@ -15515,20 +15515,20 @@ impl IUIAutomationElement9 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.FindAllBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BuildUpdatedCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.BuildUpdatedCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCurrentPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15537,13 +15537,13 @@ impl IUIAutomationElement9 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCurrentPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCachedPropertyValue(&self, propertyid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCachedPropertyValue)(::windows::core::Interface::as_raw(self), propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15552,7 +15552,7 @@ impl IUIAutomationElement9 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCachedPropertyValueEx)(::windows::core::Interface::as_raw(self), propertyid, ignoredefaultvalue.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentPatternAs(&self, patternid: i32) -> ::windows::core::Result @@ -15570,371 +15570,371 @@ impl IUIAutomationElement9 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows::core::Interface::as_raw(self), patternid, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCurrentPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedPattern(&self, patternid: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCachedPattern)(::windows::core::Interface::as_raw(self), patternid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCachedParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCachedParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCachedChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CurrentProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedProcessId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedProcessId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedControlType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedLocalizedControlType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAccessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedAccessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHasKeyboardFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedHasKeyboardFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsKeyboardFocusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedIsKeyboardFocusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedIsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAutomationId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedAutomationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelpText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedHelpText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCulture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedCulture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsControlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedIsControlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsContentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedIsContentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPassword(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedIsPassword)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedNativeWindowHandle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedNativeWindowHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedItemType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsOffscreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedIsOffscreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedOrientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFrameworkId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedFrameworkId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsRequiredForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedIsRequiredForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedItemStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedItemStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLabeledBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedLabeledBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedAriaRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedAriaProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedAriaProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDataValidForForm(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedIsDataValidForForm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedControllerFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedControllerFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedDescribedBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedDescribedBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedFlowsTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedProviderDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CachedProviderDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15945,29 +15945,29 @@ impl IUIAutomationElement9 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedOptimizeForVisualContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedOptimizeForVisualContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLiveSetting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedLiveSetting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CurrentFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFlowsFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CachedFlowsFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -15976,89 +15976,89 @@ impl IUIAutomationElement9 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CurrentIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsPeripheral(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CachedIsPeripheral)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CurrentAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CurrentAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedPositionInSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedPositionInSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedSizeOfSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedSizeOfSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CachedAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CachedAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CurrentLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedLocalizedLandmarkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CachedLocalizedLandmarkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFullDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CurrentFullDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFullDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CachedFullDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstWithOptions<'a, P0, P1>(&self, scope: TreeScope, condition: P0, traversaloptions: TreeTraversalOptions, root: P1) -> ::windows::core::Result @@ -16066,7 +16066,7 @@ impl IUIAutomationElement9 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindFirstWithOptions)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllWithOptions<'a, P0, P1>(&self, scope: TreeScope, condition: P0, traversaloptions: TreeTraversalOptions, root: P1) -> ::windows::core::Result @@ -16074,7 +16074,7 @@ impl IUIAutomationElement9 { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCondition>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindAllWithOptions)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindFirstWithOptionsBuildCache<'a, P0, P1, P2>(&self, scope: TreeScope, condition: P0, cacherequest: P1, traversaloptions: TreeTraversalOptions, root: P2) -> ::windows::core::Result @@ -16083,7 +16083,7 @@ impl IUIAutomationElement9 { P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindFirstWithOptionsBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindAllWithOptionsBuildCache<'a, P0, P1, P2>(&self, scope: TreeScope, condition: P0, cacherequest: P1, traversaloptions: TreeTraversalOptions, root: P2) -> ::windows::core::Result @@ -16092,33 +16092,33 @@ impl IUIAutomationElement9 { P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindAllWithOptionsBuildCache)(::windows::core::Interface::as_raw(self), scope, condition.into().abi(), cacherequest.into().abi(), traversaloptions, root.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetCurrentMetadataValue(&self, targetid: i32, metadataid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCurrentMetadataValue)(::windows::core::Interface::as_raw(self), targetid, metadataid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentHeadingLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentHeadingLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedHeadingLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedHeadingLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16295,11 +16295,11 @@ pub struct IUIAutomationElement9_Vtbl { pub struct IUIAutomationElementArray(::windows::core::IUnknown); impl IUIAutomationElementArray { pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetElement(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16509,11 +16509,11 @@ impl IUIAutomationExpandCollapsePattern { (::windows::core::Interface::vtable(self).Collapse)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn CurrentExpandCollapseState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentExpandCollapseState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedExpandCollapseState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedExpandCollapseState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16618,43 +16618,43 @@ pub struct IUIAutomationFocusChangedEventHandler_Vtbl { pub struct IUIAutomationGridItemPattern(::windows::core::IUnknown); impl IUIAutomationGridItemPattern { pub unsafe fn CurrentContainingGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentContainingGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentRow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentRow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentColumn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentRowSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentRowSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentColumnSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentColumnSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedContainingGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedContainingGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedRow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedRow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedColumn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedRowSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedRowSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedColumnSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedColumnSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16713,23 +16713,23 @@ pub struct IUIAutomationGridItemPattern_Vtbl { pub struct IUIAutomationGridPattern(::windows::core::IUnknown); impl IUIAutomationGridPattern { pub unsafe fn GetItem(&self, row: i32, column: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), row, column, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentRowCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentRowCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentColumnCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentColumnCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedRowCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedRowCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedColumnCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedColumnCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16838,7 +16838,7 @@ impl IUIAutomationItemContainerPattern { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindItemByProperty)(::windows::core::Interface::as_raw(self), pstartafter.into().abi(), propertyid, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16903,113 +16903,113 @@ impl IUIAutomationLegacyIAccessiblePattern { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), szvalue.into()).ok() } pub unsafe fn CurrentChildId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentChildId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHelp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentHelp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentKeyboardShortcut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentKeyboardShortcut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentDefaultAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentDefaultAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedChildId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedChildId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedRole(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedRole)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHelp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedHelp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedKeyboardShortcut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedKeyboardShortcut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedDefaultAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedDefaultAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetIAccessible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIAccessible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17123,30 +17123,30 @@ impl IUIAutomationMultipleViewPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewName(&self, view: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewName)(::windows::core::Interface::as_raw(self), view, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentView(&self, view: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentView)(::windows::core::Interface::as_raw(self), view).ok() } pub unsafe fn CurrentCurrentView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCurrentView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCurrentSupportedViews(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSupportedViews)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn CachedCurrentView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCurrentView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCachedSupportedViews(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedSupportedViews)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -17210,7 +17210,7 @@ pub struct IUIAutomationMultipleViewPattern_Vtbl { pub struct IUIAutomationNotCondition(::windows::core::IUnknown); impl IUIAutomationNotCondition { pub unsafe fn GetChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17334,7 +17334,7 @@ pub struct IUIAutomationNotificationEventHandler_Vtbl { pub struct IUIAutomationObjectModelPattern(::windows::core::IUnknown); impl IUIAutomationObjectModelPattern { pub unsafe fn GetUnderlyingObjectModel(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnderlyingObjectModel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -17384,7 +17384,7 @@ pub struct IUIAutomationObjectModelPattern_Vtbl { pub struct IUIAutomationOrCondition(::windows::core::IUnknown); impl IUIAutomationOrCondition { pub unsafe fn ChildCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChildCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChildrenAsNativeArray(&self, childarray: *mut *mut ::core::option::Option, childarraycount: *mut i32) -> ::windows::core::Result<()> { @@ -17393,7 +17393,7 @@ impl IUIAutomationOrCondition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetChildren(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -17466,7 +17466,7 @@ impl IUIAutomationPatternHandler { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationPatternInstance>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateClientWrapper)(::windows::core::Interface::as_raw(self), ppatterninstance.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Dispatch<'a, P0>(&self, ptarget: P0, index: u32, pparams: *const UIAutomationParameter, cparams: u32) -> ::windows::core::Result<()> @@ -17642,17 +17642,17 @@ pub struct IUIAutomationPropertyChangedEventHandler_Vtbl { pub struct IUIAutomationPropertyCondition(::windows::core::IUnknown); impl IUIAutomationPropertyCondition { pub unsafe fn PropertyId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PropertyValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PropertyConditionFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PropertyConditionFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17727,13 +17727,13 @@ impl IUIAutomationProxyFactory { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateProvider)(::windows::core::Interface::as_raw(self), hwnd.into(), idobject, idchild, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProxyFactoryId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyFactoryId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17790,37 +17790,37 @@ pub struct IUIAutomationProxyFactory_Vtbl { pub struct IUIAutomationProxyFactoryEntry(::windows::core::IUnknown); impl IUIAutomationProxyFactoryEntry { pub unsafe fn ProxyFactory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProxyFactory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClassName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClassName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ImageName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ImageName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AllowSubstringMatch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AllowSubstringMatch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanCheckBaseClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanCheckBaseClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn NeedsAdviseEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NeedsAdviseEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetClassName<'a, P0>(&self, classname: P0) -> ::windows::core::Result<()> @@ -17867,7 +17867,7 @@ impl IUIAutomationProxyFactoryEntry { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWinEventsForAutomationEvent(&self, eventid: i32, propertyid: i32) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWinEventsForAutomationEvent)(::windows::core::Interface::as_raw(self), eventid, propertyid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -17959,17 +17959,17 @@ pub struct IUIAutomationProxyFactoryEntry_Vtbl { pub struct IUIAutomationProxyFactoryMapping(::windows::core::IUnknown); impl IUIAutomationProxyFactoryMapping { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTable(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetEntry(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEntry)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -18064,55 +18064,55 @@ impl IUIAutomationRangeValuePattern { (::windows::core::Interface::vtable(self).SetValue)(::windows::core::Interface::as_raw(self), val).ok() } pub unsafe fn CurrentValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentMaximum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentMaximum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentMinimum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentMinimum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLargeChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentLargeChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSmallChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentSmallChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedMaximum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedMaximum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedMinimum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedMinimum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLargeChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedLargeChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedSmallChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedSmallChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18180,11 +18180,11 @@ pub struct IUIAutomationRangeValuePattern_Vtbl { pub struct IUIAutomationRegistrar(::windows::core::IUnknown); impl IUIAutomationRegistrar { pub unsafe fn RegisterProperty(&self, property: *const UIAutomationPropertyInfo) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(property), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterEvent(&self, event: *const UIAutomationEventInfo) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(event), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18299,59 +18299,59 @@ impl IUIAutomationScrollPattern { (::windows::core::Interface::vtable(self).SetScrollPercent)(::windows::core::Interface::as_raw(self), horizontalpercent, verticalpercent).ok() } pub unsafe fn CurrentHorizontalScrollPercent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentHorizontalScrollPercent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentVerticalScrollPercent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentVerticalScrollPercent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentHorizontalViewSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentHorizontalViewSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentVerticalViewSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentVerticalViewSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentHorizontallyScrollable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentHorizontallyScrollable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentVerticallyScrollable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentVerticallyScrollable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedHorizontalScrollPercent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedHorizontalScrollPercent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedVerticalScrollPercent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedVerticalScrollPercent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedHorizontalViewSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedHorizontalViewSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedVerticalViewSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedVerticalViewSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedHorizontallyScrollable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedHorizontallyScrollable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedVerticallyScrollable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedVerticallyScrollable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18437,21 +18437,21 @@ impl IUIAutomationSelectionItemPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentSelectionContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentSelectionContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedSelectionContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedSelectionContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18513,35 +18513,35 @@ pub struct IUIAutomationSelectionItemPattern_Vtbl { pub struct IUIAutomationSelectionPattern(::windows::core::IUnknown); impl IUIAutomationSelectionPattern { pub unsafe fn GetCurrentSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanSelectMultiple(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCanSelectMultiple)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsSelectionRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsSelectionRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanSelectMultiple(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCanSelectMultiple)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsSelectionRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsSelectionRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18608,67 +18608,67 @@ pub struct IUIAutomationSelectionPattern_Vtbl { pub struct IUIAutomationSelectionPattern2(::windows::core::IUnknown); impl IUIAutomationSelectionPattern2 { pub unsafe fn GetCurrentSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanSelectMultiple(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentCanSelectMultiple)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsSelectionRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentIsSelectionRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCachedSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanSelectMultiple(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedCanSelectMultiple)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsSelectionRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedIsSelectionRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFirstSelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFirstSelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentLastSelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentLastSelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCurrentSelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCurrentSelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFirstSelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedFirstSelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedLastSelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedLastSelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedCurrentSelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCurrentSelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18742,33 +18742,33 @@ impl IUIAutomationSpreadsheetItemPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFormula(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFormula)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCurrentAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFormula(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedFormula)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedAnnotationObjects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedAnnotationObjects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCachedAnnotationTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedAnnotationTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -18840,7 +18840,7 @@ impl IUIAutomationSpreadsheetPattern { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemByName)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18950,39 +18950,39 @@ pub struct IUIAutomationStructureChangedEventHandler_Vtbl { pub struct IUIAutomationStylesPattern(::windows::core::IUnknown); impl IUIAutomationStylesPattern { pub unsafe fn CurrentStyleId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentStyleId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentStyleName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentStyleName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFillColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFillColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentFillPatternStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFillPatternStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentShape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentShape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentFillPatternColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentFillPatternColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentExtendedProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentExtendedProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18991,39 +18991,39 @@ impl IUIAutomationStylesPattern { (::windows::core::Interface::vtable(self).GetCurrentExtendedPropertiesAsArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propertyarray), ::core::mem::transmute(propertycount)).ok() } pub unsafe fn CachedStyleId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedStyleId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedStyleName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedStyleName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFillColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedFillColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedFillPatternStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedFillPatternStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedShape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedShape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedFillPatternColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedFillPatternColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedExtendedProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedExtendedProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19176,19 +19176,19 @@ pub struct IUIAutomationSynchronizedInputPattern_Vtbl { pub struct IUIAutomationTableItemPattern(::windows::core::IUnknown); impl IUIAutomationTableItemPattern { pub unsafe fn GetCurrentRowHeaderItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentRowHeaderItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentColumnHeaderItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentColumnHeaderItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedRowHeaderItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedRowHeaderItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedColumnHeaderItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedColumnHeaderItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19241,27 +19241,27 @@ pub struct IUIAutomationTableItemPattern_Vtbl { pub struct IUIAutomationTablePattern(::windows::core::IUnknown); impl IUIAutomationTablePattern { pub unsafe fn GetCurrentRowHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentRowHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentColumnHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentColumnHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentRowOrColumnMajor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentRowOrColumnMajor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedRowHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedRowHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCachedColumnHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedColumnHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedRowOrColumnMajor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedRowOrColumnMajor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19316,11 +19316,11 @@ pub struct IUIAutomationTablePattern_Vtbl { pub struct IUIAutomationTextChildPattern(::windows::core::IUnknown); impl IUIAutomationTextChildPattern { pub unsafe fn TextContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TextContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19373,38 +19373,38 @@ impl IUIAutomationTextEditPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RangeFromPoint(&self, pt: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeFromChild<'a, P0>(&self, child: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromChild)(::windows::core::Interface::as_raw(self), child.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVisibleRanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVisibleRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DocumentRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DocumentRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportedTextSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedTextSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActiveComposition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveComposition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConversionTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConversionTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19529,30 +19529,30 @@ impl IUIAutomationTextPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RangeFromPoint(&self, pt: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeFromChild<'a, P0>(&self, child: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeFromChild)(::windows::core::Interface::as_raw(self), child.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVisibleRanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisibleRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DocumentRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DocumentRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportedTextSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedTextSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19612,37 +19612,37 @@ impl IUIAutomationTextPattern2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RangeFromPoint(&self, pt: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeFromChild<'a, P0>(&self, child: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromChild)(::windows::core::Interface::as_raw(self), child.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVisibleRanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetVisibleRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DocumentRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DocumentRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportedTextSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SupportedTextSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RangeFromAnnotation<'a, P0>(&self, annotation: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeFromAnnotation)(::windows::core::Interface::as_raw(self), annotation.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19716,7 +19716,7 @@ pub struct IUIAutomationTextPattern2_Vtbl { pub struct IUIAutomationTextRange(::windows::core::IUnknown); impl IUIAutomationTextRange { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19725,14 +19725,14 @@ impl IUIAutomationTextRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationTextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Compare)(::windows::core::Interface::as_raw(self), range.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareEndpoints<'a, P0>(&self, srcendpoint: TextPatternRangeEndpoint, range: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationTextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareEndpoints)(::windows::core::Interface::as_raw(self), srcendpoint, range.into().abi(), targetendpoint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExpandToEnclosingUnit(&self, textunit: TextUnit) -> ::windows::core::Result<()> { @@ -19745,7 +19745,7 @@ impl IUIAutomationTextRange { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindAttribute)(::windows::core::Interface::as_raw(self), attr, val.into().abi(), backward.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19756,37 +19756,37 @@ impl IUIAutomationTextRange { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindText)(::windows::core::Interface::as_raw(self), text.into().abi(), backward.into(), ignorecase.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetAttributeValue(&self, attr: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeValue)(::windows::core::Interface::as_raw(self), attr, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingRectangles(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoundingRectangles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetEnclosingElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnclosingElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self, maxlength: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), maxlength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Move)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByUnit(&self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveEndpointByUnit)(::windows::core::Interface::as_raw(self), endpoint, unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByRange<'a, P0>(&self, srcendpoint: TextPatternRangeEndpoint, range: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result<()> @@ -19813,7 +19813,7 @@ impl IUIAutomationTextRange { (::windows::core::Interface::vtable(self).ScrollIntoView)(::windows::core::Interface::as_raw(self), aligntotop.into()).ok() } pub unsafe fn GetChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19901,7 +19901,7 @@ pub struct IUIAutomationTextRange_Vtbl { pub struct IUIAutomationTextRange2(::windows::core::IUnknown); impl IUIAutomationTextRange2 { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19910,14 +19910,14 @@ impl IUIAutomationTextRange2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationTextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), range.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareEndpoints<'a, P0>(&self, srcendpoint: TextPatternRangeEndpoint, range: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationTextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareEndpoints)(::windows::core::Interface::as_raw(self), srcendpoint, range.into().abi(), targetendpoint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExpandToEnclosingUnit(&self, textunit: TextUnit) -> ::windows::core::Result<()> { @@ -19930,7 +19930,7 @@ impl IUIAutomationTextRange2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindAttribute)(::windows::core::Interface::as_raw(self), attr, val.into().abi(), backward.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19941,37 +19941,37 @@ impl IUIAutomationTextRange2 { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindText)(::windows::core::Interface::as_raw(self), text.into().abi(), backward.into(), ignorecase.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetAttributeValue(&self, attr: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAttributeValue)(::windows::core::Interface::as_raw(self), attr, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingRectangles(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBoundingRectangles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetEnclosingElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnclosingElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self, maxlength: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetText)(::windows::core::Interface::as_raw(self), maxlength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Move)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByUnit(&self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveEndpointByUnit)(::windows::core::Interface::as_raw(self), endpoint, unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByRange<'a, P0>(&self, srcendpoint: TextPatternRangeEndpoint, range: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result<()> @@ -19998,7 +19998,7 @@ impl IUIAutomationTextRange2 { (::windows::core::Interface::vtable(self).base__.ScrollIntoView)(::windows::core::Interface::as_raw(self), aligntotop.into()).ok() } pub unsafe fn GetChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -20066,7 +20066,7 @@ pub struct IUIAutomationTextRange2_Vtbl { pub struct IUIAutomationTextRange3(::windows::core::IUnknown); impl IUIAutomationTextRange3 { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20075,14 +20075,14 @@ impl IUIAutomationTextRange3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationTextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Compare)(::windows::core::Interface::as_raw(self), range.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareEndpoints<'a, P0>(&self, srcendpoint: TextPatternRangeEndpoint, range: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationTextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CompareEndpoints)(::windows::core::Interface::as_raw(self), srcendpoint, range.into().abi(), targetendpoint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ExpandToEnclosingUnit(&self, textunit: TextUnit) -> ::windows::core::Result<()> { @@ -20095,7 +20095,7 @@ impl IUIAutomationTextRange3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindAttribute)(::windows::core::Interface::as_raw(self), attr, val.into().abi(), backward.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20106,37 +20106,37 @@ impl IUIAutomationTextRange3 { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindText)(::windows::core::Interface::as_raw(self), text.into().abi(), backward.into(), ignorecase.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetAttributeValue(&self, attr: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetAttributeValue)(::windows::core::Interface::as_raw(self), attr, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingRectangles(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBoundingRectangles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn GetEnclosingElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEnclosingElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self, maxlength: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetText)(::windows::core::Interface::as_raw(self), maxlength, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Move)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByUnit(&self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveEndpointByUnit)(::windows::core::Interface::as_raw(self), endpoint, unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEndpointByRange<'a, P0>(&self, srcendpoint: TextPatternRangeEndpoint, range: P0, targetendpoint: TextPatternRangeEndpoint) -> ::windows::core::Result<()> @@ -20163,7 +20163,7 @@ impl IUIAutomationTextRange3 { (::windows::core::Interface::vtable(self).base__.base__.ScrollIntoView)(::windows::core::Interface::as_raw(self), aligntotop.into()).ok() } pub unsafe fn GetChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShowContextMenu(&self) -> ::windows::core::Result<()> { @@ -20173,20 +20173,20 @@ impl IUIAutomationTextRange3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnclosingElementBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChildrenBuildCache<'a, P0>(&self, cacherequest: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChildrenBuildCache)(::windows::core::Interface::as_raw(self), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAttributeValues(&self, attributeids: &[i32]) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeValues)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(attributeids)), attributeids.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } } @@ -20271,11 +20271,11 @@ pub struct IUIAutomationTextRange3_Vtbl { pub struct IUIAutomationTextRangeArray(::windows::core::IUnknown); impl IUIAutomationTextRangeArray { pub unsafe fn Length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetElement(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20329,11 +20329,11 @@ impl IUIAutomationTogglePattern { (::windows::core::Interface::vtable(self).Toggle)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn CurrentToggleState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentToggleState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedToggleState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedToggleState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20396,37 +20396,37 @@ impl IUIAutomationTransformPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanMove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCanMove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanResize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCanResize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanRotate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCanRotate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanMove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCanMove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanResize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCanResize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanRotate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCanRotate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20513,37 +20513,37 @@ impl IUIAutomationTransformPattern2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanMove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentCanMove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanResize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentCanResize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanRotate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentCanRotate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanMove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedCanMove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanResize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedCanResize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanRotate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CachedCanRotate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Zoom(&self, zoomvalue: f64) -> ::windows::core::Result<()> { @@ -20555,37 +20555,37 @@ impl IUIAutomationTransformPattern2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanZoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCanZoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanZoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCanZoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentZoomLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentZoomLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedZoomLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedZoomLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentZoomMinimum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentZoomMinimum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedZoomMinimum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedZoomMinimum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentZoomMaximum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentZoomMaximum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedZoomMaximum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedZoomMaximum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20668,42 +20668,42 @@ impl IUIAutomationTreeWalker { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentElement)(::windows::core::Interface::as_raw(self), element.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstChildElement<'a, P0>(&self, element: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFirstChildElement)(::windows::core::Interface::as_raw(self), element.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastChildElement<'a, P0>(&self, element: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastChildElement)(::windows::core::Interface::as_raw(self), element.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSiblingElement<'a, P0>(&self, element: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextSiblingElement)(::windows::core::Interface::as_raw(self), element.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreviousSiblingElement<'a, P0>(&self, element: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousSiblingElement)(::windows::core::Interface::as_raw(self), element.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NormalizeElement<'a, P0>(&self, element: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NormalizeElement)(::windows::core::Interface::as_raw(self), element.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParentElementBuildCache<'a, P0, P1>(&self, element: P0, cacherequest: P1) -> ::windows::core::Result @@ -20711,7 +20711,7 @@ impl IUIAutomationTreeWalker { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentElementBuildCache)(::windows::core::Interface::as_raw(self), element.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFirstChildElementBuildCache<'a, P0, P1>(&self, element: P0, cacherequest: P1) -> ::windows::core::Result @@ -20719,7 +20719,7 @@ impl IUIAutomationTreeWalker { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFirstChildElementBuildCache)(::windows::core::Interface::as_raw(self), element.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLastChildElementBuildCache<'a, P0, P1>(&self, element: P0, cacherequest: P1) -> ::windows::core::Result @@ -20727,7 +20727,7 @@ impl IUIAutomationTreeWalker { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastChildElementBuildCache)(::windows::core::Interface::as_raw(self), element.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNextSiblingElementBuildCache<'a, P0, P1>(&self, element: P0, cacherequest: P1) -> ::windows::core::Result @@ -20735,7 +20735,7 @@ impl IUIAutomationTreeWalker { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextSiblingElementBuildCache)(::windows::core::Interface::as_raw(self), element.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreviousSiblingElementBuildCache<'a, P0, P1>(&self, element: P0, cacherequest: P1) -> ::windows::core::Result @@ -20743,7 +20743,7 @@ impl IUIAutomationTreeWalker { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousSiblingElementBuildCache)(::windows::core::Interface::as_raw(self), element.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NormalizeElementBuildCache<'a, P0, P1>(&self, element: P0, cacherequest: P1) -> ::windows::core::Result @@ -20751,11 +20751,11 @@ impl IUIAutomationTreeWalker { P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IUIAutomationCacheRequest>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NormalizeElementBuildCache)(::windows::core::Interface::as_raw(self), element.into().abi(), cacherequest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Condition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Condition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20827,25 +20827,25 @@ impl IUIAutomationValuePattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20968,7 +20968,7 @@ impl IUIAutomationWindowPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WaitForInputIdle(&self, milliseconds: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitForInputIdle)(::windows::core::Interface::as_raw(self), milliseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWindowVisualState(&self, state: WindowVisualState) -> ::windows::core::Result<()> { @@ -20977,65 +20977,65 @@ impl IUIAutomationWindowPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanMaximize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCanMaximize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentCanMinimize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCanMinimize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsModal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsModal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CurrentIsTopmost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentIsTopmost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentWindowVisualState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentWindowVisualState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentWindowInteractionState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentWindowInteractionState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanMaximize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCanMaximize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedCanMinimize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedCanMinimize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsModal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsModal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CachedIsTopmost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedIsTopmost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedWindowVisualState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedWindowVisualState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CachedWindowInteractionState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CachedWindowInteractionState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21134,13 +21134,13 @@ impl IValueProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsReadOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsReadOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21255,39 +21255,39 @@ impl IWindowProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WaitForInputIdle(&self, milliseconds: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WaitForInputIdle)(::windows::core::Interface::as_raw(self), milliseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanMaximize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanMaximize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanMinimize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanMinimize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsModal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsModal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WindowVisualState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowVisualState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WindowInteractionState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowInteractionState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsTopmost(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTopmost)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21492,7 +21492,7 @@ where extern "system" { fn LegacyIAccessiblePattern_GetIAccessible(hobj: HUIAPATTERNOBJECT, paccessible: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); LegacyIAccessiblePattern_GetIAccessible(hobj.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -25349,7 +25349,7 @@ pub unsafe fn UiaGetReservedMixedAttributeValue() -> ::windows::core::Result<::w extern "system" { fn UiaGetReservedMixedAttributeValue(punkmixedattributevalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); UiaGetReservedMixedAttributeValue(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -25359,7 +25359,7 @@ pub unsafe fn UiaGetReservedNotSupportedValue() -> ::windows::core::Result<::win extern "system" { fn UiaGetReservedNotSupportedValue(punknotsupportedvalue: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); UiaGetReservedNotSupportedValue(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -25451,7 +25451,7 @@ where extern "system" { fn UiaHostProviderFromHwnd(hwnd: super::super::Foundation::HWND, ppprovider: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); UiaHostProviderFromHwnd(hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -25703,7 +25703,7 @@ where extern "system" { fn UiaProviderForNonClient(hwnd: super::super::Foundation::HWND, idobject: i32, idchild: i32, ppprovider: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); UiaProviderForNonClient(hwnd.into(), idobject, idchild, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -25717,7 +25717,7 @@ where extern "system" { fn UiaProviderFromIAccessible(paccessible: *mut ::core::ffi::c_void, idchild: i32, dwflags: u32, ppprovider: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); UiaProviderFromIAccessible(paccessible.into().abi(), idchild, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -26149,7 +26149,7 @@ where extern "system" { fn WindowFromAccessibleObject(param0: *mut ::core::ffi::c_void, phwnd: *mut super::super::Foundation::HWND) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WindowFromAccessibleObject(param0.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] 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 94ec1b9fd4..5d600587f9 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs @@ -9,19 +9,19 @@ impl IUIAnimationInterpolator { (::windows::core::Interface::vtable(self).SetDuration)(::windows::core::Interface::as_raw(self), duration).ok() } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFinalValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFinalValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InterpolateValue(&self, offset: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InterpolateValue)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InterpolateVelocity(&self, offset: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InterpolateVelocity)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDependencies(&self, initialvaluedependencies: *mut UI_ANIMATION_DEPENDENCIES, initialvelocitydependencies: *mut UI_ANIMATION_DEPENDENCIES, durationdependencies: *mut UI_ANIMATION_DEPENDENCIES) -> ::windows::core::Result<()> { @@ -80,7 +80,7 @@ pub struct IUIAnimationInterpolator_Vtbl { pub struct IUIAnimationInterpolator2(::windows::core::IUnknown); impl IUIAnimationInterpolator2 { pub unsafe fn GetDimension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDimension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialValueAndVelocity(&self, initialvalue: *const f64, initialvelocity: *const f64, cdimension: u32) -> ::windows::core::Result<()> { @@ -90,7 +90,7 @@ impl IUIAnimationInterpolator2 { (::windows::core::Interface::vtable(self).SetDuration)(::windows::core::Interface::as_raw(self), duration).ok() } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFinalValue(&self, value: &mut [f64]) -> ::windows::core::Result<()> { @@ -218,7 +218,7 @@ pub struct IUIAnimationLoopIterationChangeHandler2_Vtbl { pub struct IUIAnimationManager(::windows::core::IUnknown); impl IUIAnimationManager { pub unsafe fn CreateAnimationVariable(&self, initialvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAnimationVariable)(::windows::core::Interface::as_raw(self), initialvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScheduleTransition<'a, P0, P1>(&self, variable: P0, transition: P1, timenow: f64) -> ::windows::core::Result<()> @@ -229,7 +229,7 @@ impl IUIAnimationManager { (::windows::core::Interface::vtable(self).ScheduleTransition)(::windows::core::Interface::as_raw(self), variable.into().abi(), transition.into().abi(), timenow).ok() } pub unsafe fn CreateStoryboard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStoryboard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FinishAllStoryboards(&self, completiondeadline: f64) -> ::windows::core::Result<()> { @@ -239,25 +239,25 @@ impl IUIAnimationManager { (::windows::core::Interface::vtable(self).AbandonAllStoryboards)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Update(&self, timenow: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Update)(::windows::core::Interface::as_raw(self), timenow, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVariableFromTag<'a, P0>(&self, object: P0, id: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVariableFromTag)(::windows::core::Interface::as_raw(self), object.into().abi(), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoryboardFromTag<'a, P0>(&self, object: P0, id: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStoryboardFromTag)(::windows::core::Interface::as_raw(self), object.into().abi(), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAnimationMode(&self, mode: UI_ANIMATION_MODE) -> ::windows::core::Result<()> { @@ -370,11 +370,11 @@ pub struct IUIAnimationManager_Vtbl { pub struct IUIAnimationManager2(::windows::core::IUnknown); impl IUIAnimationManager2 { pub unsafe fn CreateAnimationVectorVariable(&self, initialvalue: &[f64]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAnimationVectorVariable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(initialvalue)), initialvalue.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAnimationVariable(&self, initialvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAnimationVariable)(::windows::core::Interface::as_raw(self), initialvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ScheduleTransition<'a, P0, P1>(&self, variable: P0, transition: P1, timenow: f64) -> ::windows::core::Result<()> @@ -385,7 +385,7 @@ impl IUIAnimationManager2 { (::windows::core::Interface::vtable(self).ScheduleTransition)(::windows::core::Interface::as_raw(self), variable.into().abi(), transition.into().abi(), timenow).ok() } pub unsafe fn CreateStoryboard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStoryboard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FinishAllStoryboards(&self, completiondeadline: f64) -> ::windows::core::Result<()> { @@ -395,29 +395,29 @@ impl IUIAnimationManager2 { (::windows::core::Interface::vtable(self).AbandonAllStoryboards)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Update(&self, timenow: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Update)(::windows::core::Interface::as_raw(self), timenow, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVariableFromTag<'a, P0>(&self, object: P0, id: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVariableFromTag)(::windows::core::Interface::as_raw(self), object.into().abi(), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoryboardFromTag<'a, P0>(&self, object: P0, id: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStoryboardFromTag)(::windows::core::Interface::as_raw(self), object.into().abi(), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EstimateNextEventTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EstimateNextEventTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAnimationMode(&self, mode: UI_ANIMATION_MODE) -> ::windows::core::Result<()> { @@ -805,14 +805,14 @@ impl IUIAnimationStoryboard { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddKeyframeAtOffset)(::windows::core::Interface::as_raw(self), existingkeyframe.into(), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddKeyframeAfterTransition<'a, P0>(&self, transition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAnimationTransition>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddKeyframeAfterTransition)(::windows::core::Interface::as_raw(self), transition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTransitionAtKeyframe<'a, P0, P1, P2>(&self, variable: P0, transition: P1, startkeyframe: P2) -> ::windows::core::Result<()> @@ -849,7 +849,7 @@ impl IUIAnimationStoryboard { (::windows::core::Interface::vtable(self).SetLongestAcceptableDelay)(::windows::core::Interface::as_raw(self), delay).ok() } pub unsafe fn Schedule(&self, timenow: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Schedule)(::windows::core::Interface::as_raw(self), timenow, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Conclude(&self) -> ::windows::core::Result<()> { @@ -871,11 +871,11 @@ impl IUIAnimationStoryboard { (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(object), ::core::mem::transmute(id)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetElapsedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElapsedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStoryboardEventHandler<'a, P0>(&self, handler: P0) -> ::windows::core::Result<()> @@ -957,14 +957,14 @@ impl IUIAnimationStoryboard2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddKeyframeAtOffset)(::windows::core::Interface::as_raw(self), existingkeyframe.into(), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddKeyframeAfterTransition<'a, P0>(&self, transition: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAnimationTransition2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddKeyframeAfterTransition)(::windows::core::Interface::as_raw(self), transition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTransitionAtKeyframe<'a, P0, P1, P2>(&self, variable: P0, transition: P1, startkeyframe: P2) -> ::windows::core::Result<()> @@ -1008,7 +1008,7 @@ impl IUIAnimationStoryboard2 { (::windows::core::Interface::vtable(self).SetSkipDuration)(::windows::core::Interface::as_raw(self), secondsduration).ok() } pub unsafe fn Schedule(&self, timenow: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Schedule)(::windows::core::Interface::as_raw(self), timenow, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Conclude(&self) -> ::windows::core::Result<()> { @@ -1030,11 +1030,11 @@ impl IUIAnimationStoryboard2 { (::windows::core::Interface::vtable(self).GetTag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(object), ::core::mem::transmute(id)).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetElapsedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElapsedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1256,7 +1256,7 @@ impl IUIAnimationTimer { (::windows::core::Interface::vtable(self).IsEnabled)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFrameRateThreshold(&self, framespersecond: u32) -> ::windows::core::Result<()> { @@ -1421,7 +1421,7 @@ pub struct IUIAnimationTimerEventHandler_Vtbl { pub struct IUIAnimationTimerUpdateHandler(::windows::core::IUnknown); impl IUIAnimationTimerUpdateHandler { pub unsafe fn OnUpdate(&self, timenow: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnUpdate)(::windows::core::Interface::as_raw(self), timenow, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTimerClientEventHandler<'a, P0>(&self, handler: P0) -> ::windows::core::Result<()> @@ -1491,7 +1491,7 @@ impl IUIAnimationTransition { (::windows::core::Interface::vtable(self).IsDurationKnown)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1544,7 +1544,7 @@ pub struct IUIAnimationTransition_Vtbl { pub struct IUIAnimationTransition2(::windows::core::IUnknown); impl IUIAnimationTransition2 { pub unsafe fn GetDimension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDimension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialValue(&self, value: f64) -> ::windows::core::Result<()> { @@ -1563,7 +1563,7 @@ impl IUIAnimationTransition2 { (::windows::core::Interface::vtable(self).IsDurationKnown)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1622,7 +1622,7 @@ impl IUIAnimationTransitionFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAnimationInterpolator>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransition)(::windows::core::Interface::as_raw(self), interpolator.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1675,7 +1675,7 @@ impl IUIAnimationTransitionFactory2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IUIAnimationInterpolator2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTransition)(::windows::core::Interface::as_raw(self), interpolator.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1725,51 +1725,51 @@ pub struct IUIAnimationTransitionFactory2_Vtbl { pub struct IUIAnimationTransitionLibrary(::windows::core::IUnknown); impl IUIAnimationTransitionLibrary { pub unsafe fn CreateInstantaneousTransition(&self, finalvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstantaneousTransition)(::windows::core::Interface::as_raw(self), finalvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateConstantTransition(&self, duration: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateConstantTransition)(::windows::core::Interface::as_raw(self), duration, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDiscreteTransition(&self, delay: f64, finalvalue: f64, hold: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDiscreteTransition)(::windows::core::Interface::as_raw(self), delay, finalvalue, hold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLinearTransition(&self, duration: f64, finalvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLinearTransition)(::windows::core::Interface::as_raw(self), duration, finalvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLinearTransitionFromSpeed(&self, speed: f64, finalvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLinearTransitionFromSpeed)(::windows::core::Interface::as_raw(self), speed, finalvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSinusoidalTransitionFromVelocity(&self, duration: f64, period: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSinusoidalTransitionFromVelocity)(::windows::core::Interface::as_raw(self), duration, period, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSinusoidalTransitionFromRange(&self, duration: f64, minimumvalue: f64, maximumvalue: f64, period: f64, slope: UI_ANIMATION_SLOPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSinusoidalTransitionFromRange)(::windows::core::Interface::as_raw(self), duration, minimumvalue, maximumvalue, period, slope, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAccelerateDecelerateTransition(&self, duration: f64, finalvalue: f64, accelerationratio: f64, decelerationratio: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAccelerateDecelerateTransition)(::windows::core::Interface::as_raw(self), duration, finalvalue, accelerationratio, decelerationratio, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateReversalTransition(&self, duration: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateReversalTransition)(::windows::core::Interface::as_raw(self), duration, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCubicTransition(&self, duration: f64, finalvalue: f64, finalvelocity: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCubicTransition)(::windows::core::Interface::as_raw(self), duration, finalvalue, finalvelocity, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSmoothStopTransition(&self, maximumduration: f64, finalvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSmoothStopTransition)(::windows::core::Interface::as_raw(self), maximumduration, finalvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateParabolicTransitionFromAcceleration(&self, finalvalue: f64, finalvelocity: f64, acceleration: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateParabolicTransitionFromAcceleration)(::windows::core::Interface::as_raw(self), finalvalue, finalvelocity, acceleration, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1830,79 +1830,79 @@ pub struct IUIAnimationTransitionLibrary_Vtbl { pub struct IUIAnimationTransitionLibrary2(::windows::core::IUnknown); impl IUIAnimationTransitionLibrary2 { pub unsafe fn CreateInstantaneousTransition(&self, finalvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstantaneousTransition)(::windows::core::Interface::as_raw(self), finalvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateInstantaneousVectorTransition(&self, finalvalue: &[f64]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstantaneousVectorTransition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(finalvalue)), finalvalue.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateConstantTransition(&self, duration: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateConstantTransition)(::windows::core::Interface::as_raw(self), duration, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDiscreteTransition(&self, delay: f64, finalvalue: f64, hold: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDiscreteTransition)(::windows::core::Interface::as_raw(self), delay, finalvalue, hold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateDiscreteVectorTransition(&self, delay: f64, finalvalue: &[f64], hold: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDiscreteVectorTransition)(::windows::core::Interface::as_raw(self), delay, ::core::mem::transmute(::windows::core::as_ptr_or_null(finalvalue)), finalvalue.len() as _, hold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLinearTransition(&self, duration: f64, finalvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLinearTransition)(::windows::core::Interface::as_raw(self), duration, finalvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLinearVectorTransition(&self, duration: f64, finalvalue: &[f64]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLinearVectorTransition)(::windows::core::Interface::as_raw(self), duration, ::core::mem::transmute(::windows::core::as_ptr_or_null(finalvalue)), finalvalue.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLinearTransitionFromSpeed(&self, speed: f64, finalvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLinearTransitionFromSpeed)(::windows::core::Interface::as_raw(self), speed, finalvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateLinearVectorTransitionFromSpeed(&self, speed: f64, finalvalue: &[f64]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateLinearVectorTransitionFromSpeed)(::windows::core::Interface::as_raw(self), speed, ::core::mem::transmute(::windows::core::as_ptr_or_null(finalvalue)), finalvalue.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSinusoidalTransitionFromVelocity(&self, duration: f64, period: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSinusoidalTransitionFromVelocity)(::windows::core::Interface::as_raw(self), duration, period, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSinusoidalTransitionFromRange(&self, duration: f64, minimumvalue: f64, maximumvalue: f64, period: f64, slope: UI_ANIMATION_SLOPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSinusoidalTransitionFromRange)(::windows::core::Interface::as_raw(self), duration, minimumvalue, maximumvalue, period, slope, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateAccelerateDecelerateTransition(&self, duration: f64, finalvalue: f64, accelerationratio: f64, decelerationratio: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateAccelerateDecelerateTransition)(::windows::core::Interface::as_raw(self), duration, finalvalue, accelerationratio, decelerationratio, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateReversalTransition(&self, duration: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateReversalTransition)(::windows::core::Interface::as_raw(self), duration, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCubicTransition(&self, duration: f64, finalvalue: f64, finalvelocity: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCubicTransition)(::windows::core::Interface::as_raw(self), duration, finalvalue, finalvelocity, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCubicVectorTransition(&self, duration: f64, finalvalue: *const f64, finalvelocity: *const f64, cdimension: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCubicVectorTransition)(::windows::core::Interface::as_raw(self), duration, ::core::mem::transmute(finalvalue), ::core::mem::transmute(finalvelocity), ::core::mem::transmute(cdimension), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSmoothStopTransition(&self, maximumduration: f64, finalvalue: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSmoothStopTransition)(::windows::core::Interface::as_raw(self), maximumduration, finalvalue, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateParabolicTransitionFromAcceleration(&self, finalvalue: f64, finalvelocity: f64, acceleration: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateParabolicTransitionFromAcceleration)(::windows::core::Interface::as_raw(self), finalvalue, finalvelocity, acceleration, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCubicBezierLinearTransition(&self, duration: f64, finalvalue: f64, x1: f64, y1: f64, x2: f64, y2: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCubicBezierLinearTransition)(::windows::core::Interface::as_raw(self), duration, finalvalue, x1, y1, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateCubicBezierLinearVectorTransition(&self, duration: f64, finalvalue: &[f64], x1: f64, y1: f64, x2: f64, y2: f64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateCubicBezierLinearVectorTransition)(::windows::core::Interface::as_raw(self), duration, ::core::mem::transmute(::windows::core::as_ptr_or_null(finalvalue)), finalvalue.len() as _, x1, y1, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1970,31 +1970,31 @@ pub struct IUIAnimationTransitionLibrary2_Vtbl { pub struct IUIAnimationVariable(::windows::core::IUnknown); impl IUIAnimationVariable { pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFinalValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFinalValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreviousValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIntegerValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFinalIntegerValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFinalIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreviousIntegerValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentStoryboard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentStoryboard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLowerBound(&self, bound: f64) -> ::windows::core::Result<()> { @@ -2087,11 +2087,11 @@ pub struct IUIAnimationVariable_Vtbl { pub struct IUIAnimationVariable2(::windows::core::IUnknown); impl IUIAnimationVariable2 { pub unsafe fn GetDimension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDimension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVectorValue(&self, value: &mut [f64]) -> ::windows::core::Result<()> { @@ -2111,42 +2111,42 @@ impl IUIAnimationVariable2 { (::windows::core::Interface::vtable(self).GetVectorCurve)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(animation)), animation.len() as _).ok() } pub unsafe fn GetFinalValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFinalValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFinalVectorValue(&self, finalvalue: &mut [f64]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetFinalVectorValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(finalvalue)), finalvalue.len() as _).ok() } pub unsafe fn GetPreviousValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreviousVectorValue(&self, previousvalue: &mut [f64]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPreviousVectorValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(previousvalue)), previousvalue.len() as _).ok() } pub unsafe fn GetIntegerValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIntegerVectorValue(&self, value: &mut [i32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetIntegerVectorValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(value)), value.len() as _).ok() } pub unsafe fn GetFinalIntegerValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFinalIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFinalIntegerVectorValue(&self, finalvalue: &mut [i32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetFinalIntegerVectorValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(finalvalue)), finalvalue.len() as _).ok() } pub unsafe fn GetPreviousIntegerValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousIntegerValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreviousIntegerVectorValue(&self, previousvalue: &mut [i32]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetPreviousIntegerVectorValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(previousvalue)), previousvalue.len() as _).ok() } pub unsafe fn GetCurrentStoryboard(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentStoryboard)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLowerBound(&self, bound: f64) -> ::windows::core::Result<()> { 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 9939c056d7..654b9357d5 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -993,7 +993,7 @@ pub unsafe fn ColorProfileGetDisplayDefault(scope: WCS_PROFILE_MANAGEMENT_SCOPE, extern "system" { fn ColorProfileGetDisplayDefault(scope: WCS_PROFILE_MANAGEMENT_SCOPE, targetadapterid: super::super::Foundation::LUID, sourceid: u32, profiletype: COLORPROFILETYPE, profilesubtype: COLORPROFILESUBTYPE, profilename: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ColorProfileGetDisplayDefault(scope, ::core::mem::transmute(targetadapterid), sourceid, profiletype, profilesubtype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -1014,7 +1014,7 @@ pub unsafe fn ColorProfileGetDisplayUserScope(targetadapterid: super::super::Fou extern "system" { fn ColorProfileGetDisplayUserScope(targetadapterid: super::super::Foundation::LUID, sourceid: u32, scope: *mut WCS_PROFILE_MANAGEMENT_SCOPE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ColorProfileGetDisplayUserScope(::core::mem::transmute(targetadapterid), sourceid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -2065,20 +2065,20 @@ impl IDeviceModelPlugIn { (::windows::core::Interface::vtable(self).Initialize)(::windows::core::Interface::as_raw(self), bstrxml.into().abi(), cnummodels, imodelposition).ok() } pub unsafe fn GetNumChannels(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumChannels)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeviceToColorimetricColors(&self, cchannels: u32, pdevicevalues: *const f32, pxyzcolors: &mut [XYZColorF]) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).DeviceToColorimetricColors)(::windows::core::Interface::as_raw(self), pxyzcolors.len() as _, cchannels, ::core::mem::transmute(pdevicevalues), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pxyzcolors))).ok() } pub unsafe fn ColorimetricToDeviceColors(&self, cchannels: u32, pxyzcolors: &[XYZColorF]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ColorimetricToDeviceColors)(::windows::core::Interface::as_raw(self), pxyzcolors.len() as _, cchannels, ::core::mem::transmute(::windows::core::as_ptr_or_null(pxyzcolors)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ColorimetricToDeviceColorsWithBlack(&self, ccolors: u32, cchannels: u32, pxyzcolors: *const XYZColorF, pblackinformation: *const BlackInformation) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ColorimetricToDeviceColorsWithBlack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ccolors), cchannels, ::core::mem::transmute(pxyzcolors), ::core::mem::transmute(pblackinformation), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransformDeviceModelInfo<'a, P0>(&self, imodelposition: u32, pidevicemodelother: P0) -> ::windows::core::Result<()> @@ -2088,7 +2088,7 @@ impl IDeviceModelPlugIn { (::windows::core::Interface::vtable(self).SetTransformDeviceModelInfo)(::windows::core::Interface::as_raw(self), imodelposition, pidevicemodelother.into().abi()).ok() } pub unsafe fn GetPrimarySamples(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrimarySamples)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGamutBoundaryMeshSize(&self, pnumvertices: *mut u32, pnumtriangles: *mut u32) -> ::windows::core::Result<()> { @@ -2098,7 +2098,7 @@ impl IDeviceModelPlugIn { (::windows::core::Interface::vtable(self).GetGamutBoundaryMesh)(::windows::core::Interface::as_raw(self), cchannels, cvertices, ptriangles.len() as _, ::core::mem::transmute(pvertices), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ptriangles))).ok() } pub unsafe fn GetNeutralAxisSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNeutralAxisSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNeutralAxis(&self, pxyzcolors: &mut [XYZColorF]) -> ::windows::core::Result<()> { 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 79061554a8..52bea5a62b 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 @@ -2031,7 +2031,7 @@ impl IRichEditOle { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetClientSite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientSite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetObjectCount(&self) -> i32 { @@ -2200,7 +2200,7 @@ impl IRichEditOleCallback { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetNewStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNewStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2487,34 +2487,34 @@ impl ITextDocument { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStoryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStoryRanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStoryRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSaved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSaved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSaved(&self, value: tomConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSaved)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetDefaultTabStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultTabStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultTabStop(&self, value: f32) -> ::windows::core::Result<()> { @@ -2534,11 +2534,11 @@ impl ITextDocument { (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), flags, codepage).ok() } pub unsafe fn Freeze(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Freeze)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unfreeze(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Unfreeze)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginEditCollection(&self) -> ::windows::core::Result<()> { @@ -2548,23 +2548,23 @@ impl ITextDocument { (::windows::core::Interface::vtable(self).EndEditCollection)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Undo(&self, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Undo)(::windows::core::Interface::as_raw(self), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Redo(&self, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Redo)(::windows::core::Interface::as_raw(self), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Range)(::windows::core::Interface::as_raw(self), cpactive, cpanchor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2684,34 +2684,34 @@ impl ITextDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStoryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStoryRanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStoryRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSaved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSaved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSaved(&self, value: tomConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSaved)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetDefaultTabStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultTabStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultTabStop(&self, value: f32) -> ::windows::core::Result<()> { @@ -2731,11 +2731,11 @@ impl ITextDocument2 { (::windows::core::Interface::vtable(self).base__.Save)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), flags, codepage).ok() } pub unsafe fn Freeze(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Freeze)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unfreeze(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Unfreeze)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginEditCollection(&self) -> ::windows::core::Result<()> { @@ -2745,27 +2745,27 @@ impl ITextDocument2 { (::windows::core::Interface::vtable(self).base__.EndEditCollection)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Undo(&self, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Undo)(::windows::core::Interface::as_raw(self), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Redo(&self, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Redo)(::windows::core::Interface::as_raw(self), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Range)(::windows::core::Interface::as_raw(self), cpactive, cpanchor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCaretType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaretType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCaretType(&self, value: i32) -> ::windows::core::Result<()> { @@ -2774,13 +2774,13 @@ impl ITextDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDisplays(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplays)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocumentFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2794,7 +2794,7 @@ impl ITextDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocumentPara(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentPara)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2806,20 +2806,20 @@ impl ITextDocument2 { (::windows::core::Interface::vtable(self).SetDocumentPara)(::windows::core::Interface::as_raw(self), ppara.into().abi()).ok() } pub unsafe fn GetEastAsianFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEastAsianFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGenerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGenerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIMEInProgress(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIMEInProgress)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetNotificationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotificationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotificationMode(&self, value: i32) -> ::windows::core::Result<()> { @@ -2828,25 +2828,25 @@ impl ITextDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStoryRanges2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStoryRanges2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypographyOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypographyOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AttachMsgFilter<'a, P0>(&self, pfilter: P0) -> ::windows::core::Result<()> @@ -2859,18 +2859,18 @@ impl ITextDocument2 { (::windows::core::Interface::vtable(self).CheckTextLimit)(::windows::core::Interface::as_raw(self), cch, ::core::mem::transmute(pcch)).ok() } pub unsafe fn GetCallManager(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCallManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetClientRect(&self, r#type: tomConstants, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetClientRect)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(pleft), ::core::mem::transmute(ptop), ::core::mem::transmute(pright), ::core::mem::transmute(pbottom)).ok() } pub unsafe fn GetEffectColor(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectColor)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImmContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImmContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2879,13 +2879,13 @@ impl ITextDocument2 { (::windows::core::Interface::vtable(self).GetPreferredFont)(::windows::core::Interface::as_raw(self), cp, charrep, options, curcharrep, curfontsize, ::core::mem::transmute(pbstr), ::core::mem::transmute(ppitchandfamily), ::core::mem::transmute(pnewfontsize)).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStrings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Notify(&self, notify: i32) -> ::windows::core::Result<()> { @@ -2894,13 +2894,13 @@ impl ITextDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Range2(&self, cpactive: i32, cpanchor: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Range2)(::windows::core::Interface::as_raw(self), cpactive, cpanchor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RangeFromPoint2(&self, x: i32, y: i32, r#type: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RangeFromPoint2)(::windows::core::Interface::as_raw(self), x, y, r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReleaseCallManager<'a, P0>(&self, pvoid: P0) -> ::windows::core::Result<()> @@ -2931,14 +2931,14 @@ impl ITextDocument2 { (::windows::core::Interface::vtable(self).UpdateWindow)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetMathProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMathProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMathProperties(&self, options: i32, mask: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMathProperties)(::windows::core::Interface::as_raw(self), options, mask).ok() } pub unsafe fn GetActiveStory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveStory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetActiveStory<'a, P0>(&self, pstory: P0) -> ::windows::core::Result<()> @@ -2948,15 +2948,15 @@ impl ITextDocument2 { (::windows::core::Interface::vtable(self).SetActiveStory)(::windows::core::Interface::as_raw(self), pstory.into().abi()).ok() } pub unsafe fn GetMainStory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMainStory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNewStory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNewStory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStory(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStory)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3134,34 +3134,34 @@ impl ITextDocument2Old { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoryCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStoryCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStoryRanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStoryRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSaved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSaved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSaved(&self, value: tomConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSaved)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetDefaultTabStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultTabStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultTabStop(&self, value: f32) -> ::windows::core::Result<()> { @@ -3181,11 +3181,11 @@ impl ITextDocument2Old { (::windows::core::Interface::vtable(self).base__.Save)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), flags, codepage).ok() } pub unsafe fn Freeze(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Freeze)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unfreeze(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Unfreeze)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginEditCollection(&self) -> ::windows::core::Result<()> { @@ -3195,23 +3195,23 @@ impl ITextDocument2Old { (::windows::core::Interface::vtable(self).base__.EndEditCollection)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Undo(&self, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Undo)(::windows::core::Interface::as_raw(self), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Redo(&self, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Redo)(::windows::core::Interface::as_raw(self), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Range)(::windows::core::Interface::as_raw(self), cpactive, cpanchor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RangeFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AttachMsgFilter<'a, P0>(&self, pfilter: P0) -> ::windows::core::Result<()> @@ -3224,18 +3224,18 @@ impl ITextDocument2Old { (::windows::core::Interface::vtable(self).SetEffectColor)(::windows::core::Interface::as_raw(self), index, cr).ok() } pub unsafe fn GetEffectColor(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEffectColor)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCaretType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaretType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCaretType(&self, carettype: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCaretType)(::windows::core::Interface::as_raw(self), carettype).ok() } pub unsafe fn GetImmContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImmContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReleaseImmContext(&self, context: i64) -> ::windows::core::Result<()> { @@ -3247,7 +3247,7 @@ impl ITextDocument2Old { (::windows::core::Interface::vtable(self).GetPreferredFont)(::windows::core::Interface::as_raw(self), cp, charrep, option, charrepcur, curfontsize, ::core::mem::transmute(pbstr), ::core::mem::transmute(ppitchandfamily), ::core::mem::transmute(pnewfontsize)).ok() } pub unsafe fn GetNotificationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNotificationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNotificationMode(&self, mode: i32) -> ::windows::core::Result<()> { @@ -3259,15 +3259,15 @@ impl ITextDocument2Old { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFEFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFEFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateWindow(&self) -> ::windows::core::Result<()> { @@ -3291,17 +3291,17 @@ impl ITextDocument2Old { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocumentFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocumentPara(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentPara)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCallManager(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCallManager)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn ReleaseCallManager<'a, P0>(&self, pvoid: P0) -> ::windows::core::Result<()> @@ -3441,7 +3441,7 @@ impl ITextFont { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3453,7 +3453,7 @@ impl ITextFont { (::windows::core::Interface::vtable(self).SetDuplicate)(::windows::core::Interface::as_raw(self), pfont.into().abi()).ok() } pub unsafe fn CanChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3462,91 +3462,91 @@ impl ITextFont { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextFont>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), pfont.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, value: tomConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStyle(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStyle)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetAllCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAllCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllCaps(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAllCaps)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAnimation(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAnimation)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetBackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColor(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBackColor)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetBold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBold(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBold)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetEmboss(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmboss)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEmboss(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEmboss)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetForeColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetForeColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetForeColor(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetForeColor)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHidden(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetEngrave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEngrave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEngrave(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEngrave)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetItalic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItalic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetItalic(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetItalic)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetKerning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKerning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKerning(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKerning)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetLanguageID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguageID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLanguageID(&self, value: i32) -> ::windows::core::Result<()> { @@ -3555,7 +3555,7 @@ impl ITextFont { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3567,84 +3567,84 @@ impl ITextFont { (::windows::core::Interface::vtable(self).SetName)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() } pub unsafe fn GetOutline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutline(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOutline)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPosition(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPosition)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetProtected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProtected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProtected(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetProtected)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetShadow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShadow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShadow(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetShadow)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSize(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSize)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSmallCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSmallCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmallCaps(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSmallCaps)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpacing(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSpacing)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetStrikeThrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrikeThrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrikeThrough(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStrikeThrough)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSubscript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubscript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSubscript(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSubscript)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSuperscript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSuperscript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuperscript(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSuperscript)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetUnderline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnderline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUnderline(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUnderline)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWeight(&self, value: i32) -> ::windows::core::Result<()> { @@ -3797,7 +3797,7 @@ impl ITextFont2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDuplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3809,7 +3809,7 @@ impl ITextFont2 { (::windows::core::Interface::vtable(self).base__.SetDuplicate)(::windows::core::Interface::as_raw(self), pfont.into().abi()).ok() } pub unsafe fn CanChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3818,91 +3818,91 @@ impl ITextFont2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextFont>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqual)(::windows::core::Interface::as_raw(self), pfont.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, value: tomConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStyle(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStyle)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetAllCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAllCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAllCaps(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetAllCaps)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAnimation(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetAnimation)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetBackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColor(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBackColor)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetBold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBold(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetBold)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetEmboss(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEmboss)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEmboss(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetEmboss)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetForeColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetForeColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetForeColor(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetForeColor)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHidden(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetHidden)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetEngrave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEngrave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEngrave(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetEngrave)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetItalic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItalic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetItalic(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetItalic)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetKerning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetKerning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKerning(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetKerning)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetLanguageID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguageID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLanguageID(&self, value: i32) -> ::windows::core::Result<()> { @@ -3911,7 +3911,7 @@ impl ITextFont2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3923,144 +3923,144 @@ impl ITextFont2 { (::windows::core::Interface::vtable(self).base__.SetName)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() } pub unsafe fn GetOutline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOutline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutline(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetOutline)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPosition(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPosition)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetProtected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProtected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetProtected(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetProtected)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetShadow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetShadow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShadow(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetShadow)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSize(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSize)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSmallCaps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSmallCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSmallCaps(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSmallCaps)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpacing(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSpacing)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetStrikeThrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStrikeThrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStrikeThrough(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStrikeThrough)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSubscript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSubscript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSubscript(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSubscript)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSuperscript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSuperscript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSuperscript(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSuperscript)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetUnderline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUnderline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUnderline(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetUnderline)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWeight(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetWeight)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAutoLigatures(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutoLigatures)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoLigatures(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoLigatures)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetAutospaceAlpha(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutospaceAlpha)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutospaceAlpha(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutospaceAlpha)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetAutospaceNumeric(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutospaceNumeric)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutospaceNumeric(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutospaceNumeric)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetAutospaceParens(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAutospaceParens)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutospaceParens(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutospaceParens)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCharRep(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCharRep)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCharRep(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCharRep)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCompressionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompressionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCompressionMode(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCompressionMode)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCookie(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCookie)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetDoubleStrike(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDoubleStrike)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDoubleStrike(&self, value: i32) -> ::windows::core::Result<()> { @@ -4069,7 +4069,7 @@ impl ITextFont2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuplicate2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4081,67 +4081,67 @@ impl ITextFont2 { (::windows::core::Interface::vtable(self).SetDuplicate2)(::windows::core::Interface::as_raw(self), pfont.into().abi()).ok() } pub unsafe fn GetLinkType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLinkType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMathZone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMathZone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMathZone(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMathZone)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetModWidthPairs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModWidthPairs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModWidthPairs(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetModWidthPairs)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetModWidthSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetModWidthSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModWidthSpace(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetModWidthSpace)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetOldNumbers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOldNumbers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOldNumbers(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOldNumbers)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetOverlapping(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOverlapping)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverlapping(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOverlapping)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetPositionSubSuper(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPositionSubSuper)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPositionSubSuper(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPositionSubSuper)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetScaling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScaling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScaling(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetScaling)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSpaceExtension(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpaceExtension)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpaceExtension(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSpaceExtension)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetUnderlinePositionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUnderlinePositionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUnderlinePositionMode(&self, value: i32) -> ::windows::core::Result<()> { @@ -4154,7 +4154,7 @@ impl ITextFont2 { (::windows::core::Interface::vtable(self).GetEffects2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvalue), ::core::mem::transmute(pmask)).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyInfo(&self, index: i32, ptype: *mut i32, pvalue: *mut i32) -> ::windows::core::Result<()> { @@ -4166,7 +4166,7 @@ impl ITextFont2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextFont2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual2)(::windows::core::Interface::as_raw(self), pfont.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEffects(&self, value: i32, mask: i32) -> ::windows::core::Result<()> { @@ -4483,7 +4483,7 @@ impl ITextHost { (::windows::core::Interface::vtable(self).TxGetScrollBars)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwscrollbar)).ok() } pub unsafe fn TxGetPasswordChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TxGetPasswordChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TxGetAcceleratorPos(&self, pcp: *mut i32) -> ::windows::core::Result<()> { @@ -4832,7 +4832,7 @@ impl ITextHost2 { (::windows::core::Interface::vtable(self).base__.TxGetScrollBars)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwscrollbar)).ok() } pub unsafe fn TxGetPasswordChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TxGetPasswordChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TxGetAcceleratorPos(&self, pcp: *mut i32) -> ::windows::core::Result<()> { @@ -5017,7 +5017,7 @@ impl ITextPara { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5029,7 +5029,7 @@ impl ITextPara { (::windows::core::Interface::vtable(self).SetDuplicate)(::windows::core::Interface::as_raw(self), ppara.into().abi()).ok() } pub unsafe fn CanChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5038,114 +5038,114 @@ impl ITextPara { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextPara>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), ppara.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStyle(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStyle)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlignment(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAlignment)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetHyphenation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHyphenation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHyphenation(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHyphenation)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetFirstLineIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFirstLineIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKeepTogether(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeepTogether)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeepTogether(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKeepTogether)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetKeepWithNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeepWithNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeepWithNext(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKeepWithNext)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetLeftIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLeftIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLineSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLineSpacingRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLineSpacingRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetListAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListAlignment(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetListAlignment)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetListLevelIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListLevelIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListLevelIndex(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetListLevelIndex)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetListStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListStart(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetListStart)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetListTab(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListTab)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListTab(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetListTab)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetListType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListType(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetListType)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetNoLineNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNoLineNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNoLineNumber(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetNoLineNumber)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetPageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPageBreakBefore(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPageBreakBefore)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetRightIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRightIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRightIndent(&self, value: f32) -> ::windows::core::Result<()> { @@ -5158,28 +5158,28 @@ impl ITextPara { (::windows::core::Interface::vtable(self).SetLineSpacing)(::windows::core::Interface::as_raw(self), rule, spacing).ok() } pub unsafe fn GetSpaceAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpaceAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpaceAfter(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSpaceAfter)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSpaceBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSpaceBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpaceBefore(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSpaceBefore)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetWidowControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWidowControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidowControl(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWidowControl)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetTabCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTabCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTab(&self, tbpos: f32, tbalign: i32, tbleader: i32) -> ::windows::core::Result<()> { @@ -5328,7 +5328,7 @@ impl ITextPara2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDuplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5340,7 +5340,7 @@ impl ITextPara2 { (::windows::core::Interface::vtable(self).base__.SetDuplicate)(::windows::core::Interface::as_raw(self), ppara.into().abi()).ok() } pub unsafe fn CanChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5349,114 +5349,114 @@ impl ITextPara2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextPara>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqual)(::windows::core::Interface::as_raw(self), ppara.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Reset)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStyle(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStyle)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlignment(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetAlignment)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetHyphenation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetHyphenation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHyphenation(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetHyphenation)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetFirstLineIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFirstLineIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKeepTogether(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetKeepTogether)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeepTogether(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetKeepTogether)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetKeepWithNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetKeepWithNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeepWithNext(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetKeepWithNext)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetLeftIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLeftIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLineSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLineSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLineSpacingRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLineSpacingRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetListAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetListAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListAlignment(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetListAlignment)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetListLevelIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetListLevelIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListLevelIndex(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetListLevelIndex)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetListStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetListStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListStart(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetListStart)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetListTab(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetListTab)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListTab(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetListTab)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetListType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetListType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetListType(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetListType)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetNoLineNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNoLineNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNoLineNumber(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetNoLineNumber)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetPageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPageBreakBefore(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetPageBreakBefore)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetRightIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRightIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRightIndent(&self, value: f32) -> ::windows::core::Result<()> { @@ -5469,28 +5469,28 @@ impl ITextPara2 { (::windows::core::Interface::vtable(self).base__.SetLineSpacing)(::windows::core::Interface::as_raw(self), rule, spacing).ok() } pub unsafe fn GetSpaceAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSpaceAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpaceAfter(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSpaceAfter)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSpaceBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSpaceBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpaceBefore(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetSpaceBefore)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetWidowControl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWidowControl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidowControl(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetWidowControl)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetTabCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTabCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddTab(&self, tbpos: f32, tbalign: i32, tbleader: i32) -> ::windows::core::Result<()> { @@ -5506,13 +5506,13 @@ impl ITextPara2 { (::windows::core::Interface::vtable(self).base__.GetTab)(::windows::core::Interface::as_raw(self), itab, ::core::mem::transmute(ptbpos), ::core::mem::transmute(ptbalign), ::core::mem::transmute(ptbleader)).ok() } pub unsafe fn GetBorders(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBorders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuplicate2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5524,28 +5524,28 @@ impl ITextPara2 { (::windows::core::Interface::vtable(self).SetDuplicate2)(::windows::core::Interface::as_raw(self), ppara.into().abi()).ok() } pub unsafe fn GetFontAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFontAlignment(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFontAlignment)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetHangingPunctuation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHangingPunctuation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHangingPunctuation(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHangingPunctuation)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetSnapToGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSnapToGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSnapToGrid(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSnapToGrid)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetTrimPunctuationAtStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTrimPunctuationAtStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTrimPunctuationAtStart(&self, value: i32) -> ::windows::core::Result<()> { @@ -5555,7 +5555,7 @@ impl ITextPara2 { (::windows::core::Interface::vtable(self).GetEffects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvalue), ::core::mem::transmute(pmask)).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5564,7 +5564,7 @@ impl ITextPara2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextPara2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual2)(::windows::core::Interface::as_raw(self), ppara.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEffects(&self, value: i32, mask: i32) -> ::windows::core::Result<()> { @@ -5693,7 +5693,7 @@ impl ITextRange { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5705,7 +5705,7 @@ impl ITextRange { (::windows::core::Interface::vtable(self).SetText)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() } pub unsafe fn GetChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChar(&self, char: i32) -> ::windows::core::Result<()> { @@ -5714,13 +5714,13 @@ impl ITextRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormattedText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5732,14 +5732,14 @@ impl ITextRange { (::windows::core::Interface::vtable(self).SetFormattedText)(::windows::core::Interface::as_raw(self), prange.into().abi()).ok() } pub unsafe fn GetStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStart(&self, cpfirst: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetStart)(::windows::core::Interface::as_raw(self), cpfirst).ok() } pub unsafe fn GetEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnd(&self, cplim: i32) -> ::windows::core::Result<()> { @@ -5748,7 +5748,7 @@ impl ITextRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5762,7 +5762,7 @@ impl ITextRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPara(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPara)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5774,22 +5774,22 @@ impl ITextRange { (::windows::core::Interface::vtable(self).SetPara)(::windows::core::Interface::as_raw(self), ppara.into().abi()).ok() } pub unsafe fn GetStoryLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStoryLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoryType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStoryType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Collapse(&self, bstart: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Collapse)(::windows::core::Interface::as_raw(self), bstart).ok() } pub unsafe fn Expand(&self, unit: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Expand)(::windows::core::Interface::as_raw(self), unit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIndex(&self, unit: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndex)(::windows::core::Interface::as_raw(self), unit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::core::Result<()> { @@ -5804,7 +5804,7 @@ impl ITextRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InRange)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5813,7 +5813,7 @@ impl ITextRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InStory)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5822,66 +5822,66 @@ impl ITextRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Select(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Select)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn StartOf(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartOf)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndOf(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndOf)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Move)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveStart(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveStart)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEnd(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveEnd)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveStartWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveEndWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveStartUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveEndUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5890,7 +5890,7 @@ impl ITextRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindText)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5899,7 +5899,7 @@ impl ITextRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindTextStart)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5908,23 +5908,23 @@ impl ITextRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindTextEnd)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Delete)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Cut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Copy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Copy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5935,11 +5935,11 @@ impl ITextRange { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanPaste)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChangeCase(&self, r#type: i32) -> ::windows::core::Result<()> { @@ -5955,7 +5955,7 @@ impl ITextRange { (::windows::core::Interface::vtable(self).ScrollIntoView)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetEmbeddedObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmbeddedObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -6161,7 +6161,7 @@ impl ITextRange2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6173,7 +6173,7 @@ impl ITextRange2 { (::windows::core::Interface::vtable(self).base__.base__.SetText)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() } pub unsafe fn GetChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChar(&self, char: i32) -> ::windows::core::Result<()> { @@ -6182,13 +6182,13 @@ impl ITextRange2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDuplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFormattedText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6200,14 +6200,14 @@ impl ITextRange2 { (::windows::core::Interface::vtable(self).base__.base__.SetFormattedText)(::windows::core::Interface::as_raw(self), prange.into().abi()).ok() } pub unsafe fn GetStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStart(&self, cpfirst: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetStart)(::windows::core::Interface::as_raw(self), cpfirst).ok() } pub unsafe fn GetEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnd(&self, cplim: i32) -> ::windows::core::Result<()> { @@ -6216,7 +6216,7 @@ impl ITextRange2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6230,7 +6230,7 @@ impl ITextRange2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPara(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPara)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6242,22 +6242,22 @@ impl ITextRange2 { (::windows::core::Interface::vtable(self).base__.base__.SetPara)(::windows::core::Interface::as_raw(self), ppara.into().abi()).ok() } pub unsafe fn GetStoryLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStoryLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoryType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetStoryType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Collapse(&self, bstart: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.Collapse)(::windows::core::Interface::as_raw(self), bstart).ok() } pub unsafe fn Expand(&self, unit: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Expand)(::windows::core::Interface::as_raw(self), unit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIndex(&self, unit: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetIndex)(::windows::core::Interface::as_raw(self), unit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::core::Result<()> { @@ -6272,7 +6272,7 @@ impl ITextRange2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InRange)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6281,7 +6281,7 @@ impl ITextRange2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InStory)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6290,66 +6290,66 @@ impl ITextRange2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsEqual)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Select(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.Select)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn StartOf(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.StartOf)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndOf(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EndOf)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Move)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveStart(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveStart)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEnd(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveEnd)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveStartWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveEndWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveStartUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveEndUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6358,7 +6358,7 @@ impl ITextRange2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindText)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6367,7 +6367,7 @@ impl ITextRange2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindTextStart)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6376,23 +6376,23 @@ impl ITextRange2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FindTextEnd)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Delete)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Cut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Cut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Copy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Copy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6403,11 +6403,11 @@ impl ITextRange2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CanPaste)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CanEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChangeCase(&self, r#type: i32) -> ::windows::core::Result<()> { @@ -6423,42 +6423,42 @@ impl ITextRange2 { (::windows::core::Interface::vtable(self).base__.base__.ScrollIntoView)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetEmbeddedObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetEmbeddedObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, flags: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveLeft(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveLeft)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveRight(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveRight)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveUp(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveUp)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveDown(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveDown)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HomeKey(&self, unit: tomConstants, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HomeKey)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndKey(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndKey)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6470,31 +6470,31 @@ impl ITextRange2 { (::windows::core::Interface::vtable(self).base__.TypeText)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() } pub unsafe fn GetCch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCells(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetColumn(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDuplicate2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFont2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFont2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6508,7 +6508,7 @@ impl ITextRange2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormattedText2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6520,7 +6520,7 @@ impl ITextRange2 { (::windows::core::Interface::vtable(self).SetFormattedText2)(::windows::core::Interface::as_raw(self), prange.into().abi()).ok() } pub unsafe fn GetGravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGravity(&self, value: i32) -> ::windows::core::Result<()> { @@ -6529,7 +6529,7 @@ impl ITextRange2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPara2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPara2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6543,21 +6543,21 @@ impl ITextRange2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStartPara(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStartPara)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTable(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6583,7 +6583,7 @@ impl ITextRange2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Find)(::windows::core::Interface::as_raw(self), prange.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChar2(&self, pchar: *mut i32, offset: i32) -> ::windows::core::Result<()> { @@ -6596,7 +6596,7 @@ impl ITextRange2 { (::windows::core::Interface::vtable(self).GetInlineObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptype), ::core::mem::transmute(palign), ::core::mem::transmute(pchar), ::core::mem::transmute(pchar1), ::core::mem::transmute(pchar2), ::core::mem::transmute(pcount), ::core::mem::transmute(ptexstyle), ::core::mem::transmute(pccol), ::core::mem::transmute(plevel)).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32, phit: *mut i32) -> ::windows::core::Result<()> { @@ -6608,7 +6608,7 @@ impl ITextRange2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText2(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText2)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HexToUnicode(&self) -> ::windows::core::Result<()> { @@ -6649,7 +6649,7 @@ impl ITextRange2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMathFunctionType)(::windows::core::Interface::as_raw(self), bstr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] @@ -6857,123 +6857,123 @@ pub struct ITextRow(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextRow { pub unsafe fn GetAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAlignment(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAlignment)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellCount(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellCount)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellCountCache(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellCountCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellCountCache(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellCountCache)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellIndex(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellIndex)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellMargin(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellMargin)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHeight(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHeight)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndent(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIndent)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetKeepTogether(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeepTogether)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeepTogether(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKeepTogether)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetKeepWithNext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeepWithNext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetKeepWithNext(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetKeepWithNext)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetNestLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNestLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRTL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRTL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRTL(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRTL)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellAlignment(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellAlignment)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellColorBack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellColorBack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellColorBack(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellColorBack)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellColorFore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellColorFore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellColorFore(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellColorFore)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellMergeFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellMergeFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellMergeFlags(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellMergeFlags)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellShading(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellShading)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellShading(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellShading)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellVerticalText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellVerticalText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellVerticalText(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCellVerticalText)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetCellWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCellWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCellWidth(&self, value: i32) -> ::windows::core::Result<()> { @@ -6995,11 +6995,11 @@ impl ITextRow { (::windows::core::Interface::vtable(self).Apply)(::windows::core::Interface::as_raw(self), crow, flags).ok() } pub unsafe fn CanChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Insert(&self, crow: i32) -> ::windows::core::Result<()> { @@ -7011,7 +7011,7 @@ impl ITextRow { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRow>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), prow.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self, value: i32) -> ::windows::core::Result<()> { @@ -7146,7 +7146,7 @@ impl ITextSelection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7158,7 +7158,7 @@ impl ITextSelection { (::windows::core::Interface::vtable(self).base__.SetText)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() } pub unsafe fn GetChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChar(&self, char: i32) -> ::windows::core::Result<()> { @@ -7167,13 +7167,13 @@ impl ITextSelection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDuplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFormattedText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7185,14 +7185,14 @@ impl ITextSelection { (::windows::core::Interface::vtable(self).base__.SetFormattedText)(::windows::core::Interface::as_raw(self), prange.into().abi()).ok() } pub unsafe fn GetStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStart(&self, cpfirst: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetStart)(::windows::core::Interface::as_raw(self), cpfirst).ok() } pub unsafe fn GetEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnd(&self, cplim: i32) -> ::windows::core::Result<()> { @@ -7201,7 +7201,7 @@ impl ITextSelection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7215,7 +7215,7 @@ impl ITextSelection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPara(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPara)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7227,22 +7227,22 @@ impl ITextSelection { (::windows::core::Interface::vtable(self).base__.SetPara)(::windows::core::Interface::as_raw(self), ppara.into().abi()).ok() } pub unsafe fn GetStoryLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStoryLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoryType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStoryType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Collapse(&self, bstart: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Collapse)(::windows::core::Interface::as_raw(self), bstart).ok() } pub unsafe fn Expand(&self, unit: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Expand)(::windows::core::Interface::as_raw(self), unit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIndex(&self, unit: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIndex)(::windows::core::Interface::as_raw(self), unit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::core::Result<()> { @@ -7257,7 +7257,7 @@ impl ITextSelection { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InRange)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7266,7 +7266,7 @@ impl ITextSelection { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InStory)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7275,66 +7275,66 @@ impl ITextSelection { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqual)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Select(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Select)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn StartOf(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StartOf)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndOf(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EndOf)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Move)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveStart(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveStart)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEnd(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveEnd)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveStartWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveEndWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveStartUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MoveEndUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7343,7 +7343,7 @@ impl ITextSelection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindText)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7352,7 +7352,7 @@ impl ITextSelection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindTextStart)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7361,23 +7361,23 @@ impl ITextSelection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindTextEnd)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Delete)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Cut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Cut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Copy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Copy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7388,11 +7388,11 @@ impl ITextSelection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanPaste)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChangeCase(&self, r#type: i32) -> ::windows::core::Result<()> { @@ -7408,42 +7408,42 @@ impl ITextSelection { (::windows::core::Interface::vtable(self).base__.ScrollIntoView)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetEmbeddedObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEmbeddedObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, flags: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveLeft(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveLeft)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveRight(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveRight)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveUp(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveUp)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveDown(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveDown)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HomeKey(&self, unit: tomConstants, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HomeKey)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndKey(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EndKey)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7562,7 +7562,7 @@ impl ITextSelection2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7574,7 +7574,7 @@ impl ITextSelection2 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetText)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() } pub unsafe fn GetChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChar(&self, char: i32) -> ::windows::core::Result<()> { @@ -7583,13 +7583,13 @@ impl ITextSelection2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetDuplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFormattedText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7601,14 +7601,14 @@ impl ITextSelection2 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetFormattedText)(::windows::core::Interface::as_raw(self), prange.into().abi()).ok() } pub unsafe fn GetStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStart(&self, cpfirst: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.SetStart)(::windows::core::Interface::as_raw(self), cpfirst).ok() } pub unsafe fn GetEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnd(&self, cplim: i32) -> ::windows::core::Result<()> { @@ -7617,7 +7617,7 @@ impl ITextSelection2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7631,7 +7631,7 @@ impl ITextSelection2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPara(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPara)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7643,22 +7643,22 @@ impl ITextSelection2 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetPara)(::windows::core::Interface::as_raw(self), ppara.into().abi()).ok() } pub unsafe fn GetStoryLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetStoryLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStoryType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetStoryType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Collapse(&self, bstart: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.Collapse)(::windows::core::Interface::as_raw(self), bstart).ok() } pub unsafe fn Expand(&self, unit: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Expand)(::windows::core::Interface::as_raw(self), unit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIndex(&self, unit: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetIndex)(::windows::core::Interface::as_raw(self), unit, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::core::Result<()> { @@ -7673,7 +7673,7 @@ impl ITextSelection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InRange)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7682,7 +7682,7 @@ impl ITextSelection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InStory)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7691,66 +7691,66 @@ impl ITextSelection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsEqual)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Select(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.Select)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn StartOf(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.StartOf)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndOf(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.EndOf)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Move)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveStart(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoveStart)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveEnd(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoveEnd)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoveWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoveStartWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoveEndWhile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoveUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoveStartUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.MoveEndUntil)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cset), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7759,7 +7759,7 @@ impl ITextSelection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FindText)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7768,7 +7768,7 @@ impl ITextSelection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FindTextStart)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7777,23 +7777,23 @@ impl ITextSelection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.FindTextEnd)(::windows::core::Interface::as_raw(self), bstr.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Delete(&self, unit: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Delete)(::windows::core::Interface::as_raw(self), unit, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Cut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Cut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Copy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Copy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7804,11 +7804,11 @@ impl ITextSelection2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CanPaste)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvar), format, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CanEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChangeCase(&self, r#type: i32) -> ::windows::core::Result<()> { @@ -7824,42 +7824,42 @@ impl ITextSelection2 { (::windows::core::Interface::vtable(self).base__.base__.base__.ScrollIntoView)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetEmbeddedObject(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetEmbeddedObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, flags: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetFlags)(::windows::core::Interface::as_raw(self), flags).ok() } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveLeft(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveLeft)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveRight(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveRight)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveUp(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveUp)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveDown(&self, unit: i32, count: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.MoveDown)(::windows::core::Interface::as_raw(self), unit, count, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HomeKey(&self, unit: tomConstants, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HomeKey)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EndKey(&self, unit: i32, extend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.EndKey)(::windows::core::Interface::as_raw(self), unit, extend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7871,31 +7871,31 @@ impl ITextSelection2 { (::windows::core::Interface::vtable(self).base__.base__.TypeText)(::windows::core::Interface::as_raw(self), bstr.into().abi()).ok() } pub unsafe fn GetCch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCells(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetColumn(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDuplicate2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFont2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFont2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7909,7 +7909,7 @@ impl ITextSelection2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFormattedText2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7921,7 +7921,7 @@ impl ITextSelection2 { (::windows::core::Interface::vtable(self).base__.SetFormattedText2)(::windows::core::Interface::as_raw(self), prange.into().abi()).ok() } pub unsafe fn GetGravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGravity(&self, value: i32) -> ::windows::core::Result<()> { @@ -7930,7 +7930,7 @@ impl ITextSelection2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPara2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPara2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7944,21 +7944,21 @@ impl ITextSelection2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStartPara(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStartPara)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTable(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7984,7 +7984,7 @@ impl ITextSelection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITextRange2>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Find)(::windows::core::Interface::as_raw(self), prange.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChar2(&self, pchar: *mut i32, offset: i32) -> ::windows::core::Result<()> { @@ -7997,7 +7997,7 @@ impl ITextSelection2 { (::windows::core::Interface::vtable(self).base__.GetInlineObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptype), ::core::mem::transmute(palign), ::core::mem::transmute(pchar), ::core::mem::transmute(pchar1), ::core::mem::transmute(pchar2), ::core::mem::transmute(pcount), ::core::mem::transmute(ptexstyle), ::core::mem::transmute(pccol), ::core::mem::transmute(plevel)).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32, phit: *mut i32) -> ::windows::core::Result<()> { @@ -8009,7 +8009,7 @@ impl ITextSelection2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText2(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetText2)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HexToUnicode(&self) -> ::windows::core::Result<()> { @@ -8050,7 +8050,7 @@ impl ITextSelection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMathFunctionType)(::windows::core::Interface::as_raw(self), bstr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] @@ -8277,7 +8277,7 @@ impl ITextServices { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn TxGetDropTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TxGetDropTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnTxPropertyBitsChange(&self, dwmask: u32, dwbits: u32) -> ::windows::core::Result<()> { @@ -8468,7 +8468,7 @@ impl ITextServices2 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn TxGetDropTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TxGetDropTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnTxPropertyBitsChange(&self, dwmask: u32, dwbits: u32) -> ::windows::core::Result<()> { @@ -8563,41 +8563,41 @@ pub struct ITextServices2_Vtbl { pub struct ITextStory(::windows::core::IUnknown); impl ITextStory { pub unsafe fn GetActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetActive(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetActive)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetDisplay(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetType(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetType)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRange(&self, cpactive: i32, cpanchor: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRange)(::windows::core::Interface::as_raw(self), cpactive, cpanchor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self, flags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFormattedText<'a, P0>(&self, punk: P0) -> ::windows::core::Result<()> @@ -8686,17 +8686,17 @@ pub struct ITextStoryRanges(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextStoryRanges { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8780,23 +8780,23 @@ pub struct ITextStoryRanges2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextStoryRanges2 { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item2(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item2)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8898,11 +8898,11 @@ impl ITextStrings { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8949,7 +8949,7 @@ impl ITextStrings { (::windows::core::Interface::vtable(self).EncodeFunction)(::windows::core::Interface::as_raw(self), r#type, align, char, char1, char2, count, texstyle, ccol, prange.into().abi()).ok() } pub unsafe fn GetCch(&self, istring: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCch)(::windows::core::Interface::as_raw(self), istring, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertNullStr(&self, istring: i32) -> ::windows::core::Result<()> { 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 c525d18068..ed1f0f554e 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -2903,7 +2903,7 @@ where extern "system" { fn DrawThemeEdge(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, pdestrect: *const super::super::Foundation::RECT, uedge: u32, uflags: u32, pcontentrect: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); DrawThemeEdge(htheme, hdc.into(), ipartid, istateid, ::core::mem::transmute(pdestrect), uedge, uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3884,7 +3884,7 @@ pub unsafe fn GetBufferedPaintTargetRect(hbufferedpaint: isize) -> ::windows::co extern "system" { fn GetBufferedPaintTargetRect(hbufferedpaint: isize, prc: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetBufferedPaintTargetRect(hbufferedpaint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -3982,7 +3982,7 @@ where extern "system" { fn GetThemeBackgroundContentRect(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, pboundingrect: *const super::super::Foundation::RECT, pcontentrect: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeBackgroundContentRect(htheme, hdc.into(), ipartid, istateid, ::core::mem::transmute(pboundingrect), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3996,7 +3996,7 @@ where extern "system" { fn GetThemeBackgroundExtent(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, pcontentrect: *const super::super::Foundation::RECT, pextentrect: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeBackgroundExtent(htheme, hdc.into(), ipartid, istateid, ::core::mem::transmute(pcontentrect), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4010,7 +4010,7 @@ where extern "system" { fn GetThemeBackgroundRegion(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, prect: *const super::super::Foundation::RECT, pregion: *mut super::super::Graphics::Gdi::HRGN) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeBackgroundRegion(htheme, hdc.into(), ipartid, istateid, ::core::mem::transmute(prect), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4021,7 +4021,7 @@ pub unsafe fn GetThemeBitmap(htheme: isize, ipartid: i32, istateid: i32, ipropid extern "system" { fn GetThemeBitmap(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, dwflags: GET_THEME_BITMAP_FLAGS, phbitmap: *mut super::super::Graphics::Gdi::HBITMAP) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeBitmap(htheme, ipartid, istateid, ipropid, dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -4032,7 +4032,7 @@ pub unsafe fn GetThemeBool(htheme: isize, ipartid: i32, istateid: i32, ipropid: extern "system" { fn GetThemeBool(htheme: isize, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, pfval: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeBool(htheme, ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -4042,7 +4042,7 @@ pub unsafe fn GetThemeColor(htheme: isize, ipartid: i32, istateid: i32, ipropid: extern "system" { fn GetThemeColor(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, pcolor: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeColor(htheme, ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -4065,7 +4065,7 @@ pub unsafe fn GetThemeEnumValue(htheme: isize, ipartid: i32, istateid: i32, ipro extern "system" { fn GetThemeEnumValue(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, pival: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeEnumValue(htheme, ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -4088,7 +4088,7 @@ where extern "system" { fn GetThemeFont(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, ipropid: i32, pfont: *mut super::super::Graphics::Gdi::LOGFONTW) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeFont(htheme, hdc.into(), ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -4098,7 +4098,7 @@ pub unsafe fn GetThemeInt(htheme: isize, ipartid: i32, istateid: i32, ipropid: i extern "system" { fn GetThemeInt(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, pival: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeInt(htheme, ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -4108,7 +4108,7 @@ pub unsafe fn GetThemeIntList(htheme: isize, ipartid: i32, istateid: i32, ipropi extern "system" { fn GetThemeIntList(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, pintlist: *mut INTLIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeIntList(htheme, ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4122,7 +4122,7 @@ where extern "system" { fn GetThemeMargins(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, ipropid: i32, prc: *const super::super::Foundation::RECT, pmargins: *mut MARGINS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeMargins(htheme, hdc.into(), ipartid, istateid, ipropid, ::core::mem::transmute(prc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4136,7 +4136,7 @@ where extern "system" { fn GetThemeMetric(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, ipropid: THEME_PROPERTY_SYMBOL_ID, pival: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeMetric(htheme, hdc.into(), ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4150,7 +4150,7 @@ where extern "system" { fn GetThemePartSize(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, prc: *const super::super::Foundation::RECT, esize: THEMESIZE, psz: *mut super::super::Foundation::SIZE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemePartSize(htheme, hdc.into(), ipartid, istateid, ::core::mem::transmute(prc), esize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -4161,7 +4161,7 @@ pub unsafe fn GetThemePosition(htheme: isize, ipartid: i32, istateid: i32, iprop extern "system" { fn GetThemePosition(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, ppoint: *mut super::super::Foundation::POINT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemePosition(htheme, ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -4171,7 +4171,7 @@ pub unsafe fn GetThemePropertyOrigin(htheme: isize, ipartid: i32, istateid: i32, extern "system" { fn GetThemePropertyOrigin(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, porigin: *mut PROPERTYORIGIN) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemePropertyOrigin(htheme, ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -4182,7 +4182,7 @@ pub unsafe fn GetThemeRect(htheme: isize, ipartid: i32, istateid: i32, ipropid: extern "system" { fn GetThemeRect(htheme: isize, ipartid: i32, istateid: i32, ipropid: i32, prect: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeRect(htheme, ipartid, istateid, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -4244,7 +4244,7 @@ pub unsafe fn GetThemeSysFont(htheme: isize, ifontid: THEME_PROPERTY_SYMBOL_ID) extern "system" { fn GetThemeSysFont(htheme: isize, ifontid: THEME_PROPERTY_SYMBOL_ID, plf: *mut super::super::Graphics::Gdi::LOGFONTW) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeSysFont(htheme, ifontid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -4254,7 +4254,7 @@ pub unsafe fn GetThemeSysInt(htheme: isize, iintid: i32) -> ::windows::core::Res extern "system" { fn GetThemeSysInt(htheme: isize, iintid: i32, pivalue: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeSysInt(htheme, iintid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -4286,7 +4286,7 @@ where extern "system" { fn GetThemeTextExtent(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, psztext: ::windows::core::PCWSTR, cchcharcount: i32, dwtextflags: u32, pboundingrect: *const super::super::Foundation::RECT, pextentrect: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeTextExtent(htheme, hdc.into(), ipartid, istateid, ::core::mem::transmute(::windows::core::as_ptr_or_null(psztext)), psztext.len() as _, dwtextflags, ::core::mem::transmute(pboundingrect), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4300,7 +4300,7 @@ where extern "system" { fn GetThemeTextMetrics(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, ptm: *mut super::super::Graphics::Gdi::TEXTMETRICW) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeTextMetrics(htheme, hdc.into(), ipartid, istateid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -4319,7 +4319,7 @@ pub unsafe fn GetThemeTransitionDuration(htheme: isize, ipartid: i32, istateidfr extern "system" { fn GetThemeTransitionDuration(htheme: isize, ipartid: i32, istateidfrom: i32, istateidto: i32, ipropid: i32, pdwduration: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetThemeTransitionDuration(htheme, ipartid, istateidfrom, istateidto, ipropid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -5182,7 +5182,7 @@ where extern "system" { fn HitTestThemeBackground(htheme: isize, hdc: super::super::Graphics::Gdi::HDC, ipartid: i32, istateid: i32, dwoptions: u32, prect: *const super::super::Foundation::RECT, hrgn: super::super::Graphics::Gdi::HRGN, pttest: super::super::Foundation::POINT, pwhittestcode: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HitTestThemeBackground(htheme, hdc.into(), ipartid, istateid, dwoptions, ::core::mem::transmute(prect), hrgn.into(), ::core::mem::transmute(pttest), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -5253,7 +5253,7 @@ impl IImageList { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), hbmimage.into(), hbmmask.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5262,7 +5262,7 @@ impl IImageList { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReplaceIcon)(::windows::core::Interface::as_raw(self), i, hicon.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverlayImage(&self, iimage: i32, ioverlay: i32) -> ::windows::core::Result<()> { @@ -5283,7 +5283,7 @@ impl IImageList { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddMasked)(::windows::core::Interface::as_raw(self), hbmimage.into(), crmask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -5297,13 +5297,13 @@ impl IImageList { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetIcon(&self, i: i32, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIcon)(::windows::core::Interface::as_raw(self), i, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetImageInfo(&self, i: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageInfo)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Copy<'a, P0>(&self, idst: i32, punksrc: P0, isrc: i32, uflags: u32) -> ::windows::core::Result<()> @@ -5324,7 +5324,7 @@ impl IImageList { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetImageRect(&self, i: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageRect)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIconSize(&self, cx: *mut i32, cy: *mut i32) -> ::windows::core::Result<()> { @@ -5334,18 +5334,18 @@ impl IImageList { (::windows::core::Interface::vtable(self).SetIconSize)(::windows::core::Interface::as_raw(self), cx, cy).ok() } pub unsafe fn GetImageCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImageCount(&self, unewcount: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetImageCount)(::windows::core::Interface::as_raw(self), unewcount).ok() } pub unsafe fn SetBkColor(&self, clrbk: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetBkColor)(::windows::core::Interface::as_raw(self), clrbk, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBkColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBkColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginDrag(&self, itrack: i32, dxhotspot: i32, dyhotspot: i32) -> ::windows::core::Result<()> { @@ -5393,11 +5393,11 @@ impl IImageList { (::windows::core::Interface::vtable(self).GetDragImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppt), ::core::mem::transmute(ppthotspot), ::core::mem::transmute(riid), ::core::mem::transmute(ppv)).ok() } pub unsafe fn GetItemFlags(&self, i: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemFlags)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOverlayImage(&self, ioverlay: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOverlayImage)(::windows::core::Interface::as_raw(self), ioverlay, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5517,7 +5517,7 @@ impl IImageList2 { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Add)(::windows::core::Interface::as_raw(self), hbmimage.into(), hbmmask.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5526,7 +5526,7 @@ impl IImageList2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ReplaceIcon)(::windows::core::Interface::as_raw(self), i, hicon.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOverlayImage(&self, iimage: i32, ioverlay: i32) -> ::windows::core::Result<()> { @@ -5547,7 +5547,7 @@ impl IImageList2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AddMasked)(::windows::core::Interface::as_raw(self), hbmimage.into(), crmask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -5561,13 +5561,13 @@ impl IImageList2 { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetIcon(&self, i: i32, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIcon)(::windows::core::Interface::as_raw(self), i, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetImageInfo(&self, i: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetImageInfo)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Copy<'a, P0>(&self, idst: i32, punksrc: P0, isrc: i32, uflags: u32) -> ::windows::core::Result<()> @@ -5588,7 +5588,7 @@ impl IImageList2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetImageRect(&self, i: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetImageRect)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIconSize(&self, cx: *mut i32, cy: *mut i32) -> ::windows::core::Result<()> { @@ -5598,18 +5598,18 @@ impl IImageList2 { (::windows::core::Interface::vtable(self).base__.SetIconSize)(::windows::core::Interface::as_raw(self), cx, cy).ok() } pub unsafe fn GetImageCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetImageCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetImageCount(&self, unewcount: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetImageCount)(::windows::core::Interface::as_raw(self), unewcount).ok() } pub unsafe fn SetBkColor(&self, clrbk: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetBkColor)(::windows::core::Interface::as_raw(self), clrbk, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBkColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBkColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginDrag(&self, itrack: i32, dxhotspot: i32, dyhotspot: i32) -> ::windows::core::Result<()> { @@ -5657,11 +5657,11 @@ impl IImageList2 { (::windows::core::Interface::vtable(self).base__.GetDragImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppt), ::core::mem::transmute(ppthotspot), ::core::mem::transmute(riid), ::core::mem::transmute(ppv)).ok() } pub unsafe fn GetItemFlags(&self, i: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemFlags)(::windows::core::Interface::as_raw(self), i, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOverlayImage(&self, ioverlay: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOverlayImage)(::windows::core::Interface::as_raw(self), ioverlay, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resize(&self, cxnewiconsize: i32, cynewiconsize: i32) -> ::windows::core::Result<()> { @@ -9156,7 +9156,7 @@ where extern "system" { fn LoadIconMetric(hinst: super::super::Foundation::HINSTANCE, pszname: ::windows::core::PCWSTR, lims: _LI_METRIC, phico: *mut super::WindowsAndMessaging::HICON) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); LoadIconMetric(hinst.into(), pszname.into(), lims, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -9171,7 +9171,7 @@ where extern "system" { fn LoadIconWithScaleDown(hinst: super::super::Foundation::HINSTANCE, pszname: ::windows::core::PCWSTR, cx: i32, cy: i32, phico: *mut super::WindowsAndMessaging::HICON) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); LoadIconWithScaleDown(hinst.into(), pszname.into(), cx, cy, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(C)] @@ -21986,7 +21986,7 @@ where extern "system" { fn TaskDialog(hwndowner: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszwindowtitle: ::windows::core::PCWSTR, pszmaininstruction: ::windows::core::PCWSTR, pszcontent: ::windows::core::PCWSTR, dwcommonbuttons: TASKDIALOG_COMMON_BUTTON_FLAGS, pszicon: ::windows::core::PCWSTR, pnbutton: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); TaskDialog(hwndowner.into(), hinstance.into(), pszwindowtitle.into(), pszmaininstruction.into(), pszcontent.into(), dwcommonbuttons, pszicon.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs index f49f163a66..1e84b01b84 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs @@ -365,7 +365,7 @@ where extern "system" { fn GetProcessDpiAwareness(hprocess: super::super::Foundation::HANDLE, value: *mut PROCESS_DPI_AWARENESS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetProcessDpiAwareness(hprocess.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] 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 f87e33a9a6..3dee64f870 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 @@ -734,15 +734,15 @@ impl IActiveIME { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRegisterWord)(::windows::core::Interface::as_raw(self), szreading.into(), dwstyle, szregister.into(), ::core::mem::transmute(pdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodePageA(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodePageA)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLangId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLangId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -938,15 +938,15 @@ impl IActiveIME2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumRegisterWord)(::windows::core::Interface::as_raw(self), szreading.into(), dwstyle, szregister.into(), ::core::mem::transmute(pdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCodePageA(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCodePageA)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLangId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLangId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sleep(&self) -> ::windows::core::Result<()> { @@ -1032,7 +1032,7 @@ impl IActiveIMMApp { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssociateContext)(::windows::core::Interface::as_raw(self), hwnd.into(), hime.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -1056,7 +1056,7 @@ impl IActiveIMMApp { #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub unsafe fn CreateContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1075,7 +1075,7 @@ impl IActiveIMMApp { P1: ::std::convert::Into<::windows::core::PCSTR>, P2: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRegisterWordA)(::windows::core::Interface::as_raw(self), hkl.into(), szreading.into(), dwstyle, szregister.into(), ::core::mem::transmute(pdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -1086,7 +1086,7 @@ impl IActiveIMMApp { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRegisterWordW)(::windows::core::Interface::as_raw(self), hkl.into(), szreading.into(), dwstyle, szregister.into(), ::core::mem::transmute(pdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] @@ -1145,7 +1145,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCandidateWindow)(::windows::core::Interface::as_raw(self), himc.into(), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1154,7 +1154,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompositionFontA)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1163,7 +1163,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompositionFontW)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1188,7 +1188,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompositionWindow)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -1197,7 +1197,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] @@ -1234,7 +1234,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultIMEWnd)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -1299,7 +1299,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), hkl.into(), fdwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -1324,7 +1324,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatusWindowPos)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1333,7 +1333,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVirtualKey)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -1343,7 +1343,7 @@ impl IActiveIMMApp { P0: ::std::convert::Into<::windows::core::PCSTR>, P1: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstallIMEA)(::windows::core::Interface::as_raw(self), szimefilename.into(), szlayouttext.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -1353,7 +1353,7 @@ impl IActiveIMMApp { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstallIMEW)(::windows::core::Interface::as_raw(self), szimefilename.into(), szlayouttext.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -1541,7 +1541,7 @@ impl IActiveIMMApp { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnDefWindowProc)(::windows::core::Interface::as_raw(self), hwnd.into(), msg, wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FilterClientWindows(&self, aaclasslist: *const u16, usize: u32) -> ::windows::core::Result<()> { @@ -1553,7 +1553,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodePageA)(::windows::core::Interface::as_raw(self), hkl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -1562,7 +1562,7 @@ impl IActiveIMMApp { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLangId)(::windows::core::Interface::as_raw(self), hkl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -1594,7 +1594,7 @@ impl IActiveIMMApp { (::windows::core::Interface::vtable(self).GetImeMenuItemsW)(::windows::core::Interface::as_raw(self), himc.into(), dwflags, dwtype, ::core::mem::transmute(pimeparentmenu), ::core::mem::transmute(pimemenu), dwsize, ::core::mem::transmute(pdwresult)).ok() } pub unsafe fn EnumInputContext(&self, idthread: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumInputContext)(::windows::core::Interface::as_raw(self), idthread, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1909,7 +1909,7 @@ impl IActiveIMMIME { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssociateContext)(::windows::core::Interface::as_raw(self), hwnd.into(), hime.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -1933,7 +1933,7 @@ impl IActiveIMMIME { #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub unsafe fn CreateContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1952,7 +1952,7 @@ impl IActiveIMMIME { P1: ::std::convert::Into<::windows::core::PCSTR>, P2: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRegisterWordA)(::windows::core::Interface::as_raw(self), hkl.into(), szreading.into(), dwstyle, szregister.into(), ::core::mem::transmute(pdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -1963,7 +1963,7 @@ impl IActiveIMMIME { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumRegisterWordW)(::windows::core::Interface::as_raw(self), hkl.into(), szreading.into(), dwstyle, szregister.into(), ::core::mem::transmute(pdata), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] @@ -2022,7 +2022,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCandidateWindow)(::windows::core::Interface::as_raw(self), himc.into(), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2031,7 +2031,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompositionFontA)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2040,7 +2040,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompositionFontW)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2065,7 +2065,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompositionWindow)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -2074,7 +2074,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] @@ -2111,7 +2111,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultIMEWnd)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -2176,7 +2176,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), hkl.into(), fdwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -2201,7 +2201,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatusWindowPos)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2210,7 +2210,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVirtualKey)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -2220,7 +2220,7 @@ impl IActiveIMMIME { P0: ::std::convert::Into<::windows::core::PCSTR>, P1: ::std::convert::Into<::windows::core::PCSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstallIMEA)(::windows::core::Interface::as_raw(self), szimefilename.into(), szlayouttext.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -2230,7 +2230,7 @@ impl IActiveIMMIME { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstallIMEW)(::windows::core::Interface::as_raw(self), szimefilename.into(), szlayouttext.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -2413,7 +2413,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut INPUTCONTEXT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LockIMC)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut INPUTCONTEXT>(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2430,13 +2430,13 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIMCLockCount)(::windows::core::Interface::as_raw(self), himc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] pub unsafe fn CreateIMCC(&self, dwsize: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateIMCC)(::windows::core::Interface::as_raw(self), dwsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2469,7 +2469,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReSizeIMCC)(::windows::core::Interface::as_raw(self), himcc.into(), dwsize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2478,7 +2478,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIMCCSize)(::windows::core::Interface::as_raw(self), himcc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2487,7 +2487,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIMCCLockCount)(::windows::core::Interface::as_raw(self), himcc.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -2509,7 +2509,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSoftKeyboard)(::windows::core::Interface::as_raw(self), utype, howner.into(), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2534,7 +2534,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodePageA)(::windows::core::Interface::as_raw(self), hkl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -2543,7 +2543,7 @@ impl IActiveIMMIME { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLangId)(::windows::core::Interface::as_raw(self), hkl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn KeybdEvent(&self, lgidime: u16, bvk: u8, bscan: u8, dwflags: u32, dwextrainfo: u32) -> ::windows::core::Result<()> { @@ -2584,7 +2584,7 @@ impl IActiveIMMIME { (::windows::core::Interface::vtable(self).GetImeMenuItemsW)(::windows::core::Interface::as_raw(self), himc.into(), dwflags, dwtype, ::core::mem::transmute(pimeparentmenu), ::core::mem::transmute(pimemenu), dwsize, ::core::mem::transmute(pdwresult)).ok() } pub unsafe fn EnumInputContext(&self, idthread: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumInputContext)(::windows::core::Interface::as_raw(self), idthread, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -2595,7 +2595,7 @@ impl IActiveIMMIME { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestMessageA)(::windows::core::Interface::as_raw(self), himc.into(), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -2606,7 +2606,7 @@ impl IActiveIMMIME { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestMessageW)(::windows::core::Interface::as_raw(self), himc.into(), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2617,7 +2617,7 @@ impl IActiveIMMIME { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendIMCA)(::windows::core::Interface::as_raw(self), hwnd.into(), umsg, wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2628,7 +2628,7 @@ impl IActiveIMMIME { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendIMCW)(::windows::core::Interface::as_raw(self), hwnd.into(), umsg, wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSleeping(&self) -> ::windows::core::Result<()> { @@ -3025,7 +3025,7 @@ impl IActiveIMMMessagePumpOwner { (::windows::core::Interface::vtable(self).OnTranslateMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmsg)).ok() } pub unsafe fn Pause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Pause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resume(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -3142,7 +3142,7 @@ pub struct IActiveIMMRegistrar_Vtbl { pub struct IEnumInputContext(::windows::core::IUnknown); impl IEnumInputContext { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3209,7 +3209,7 @@ pub struct IEnumInputContext_Vtbl { pub struct IEnumRegisterWordA(::windows::core::IUnknown); impl IEnumRegisterWordA { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, ulcount: u32, rgregisterword: *mut REGISTERWORDA, pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -3271,7 +3271,7 @@ pub struct IEnumRegisterWordA_Vtbl { pub struct IEnumRegisterWordW(::windows::core::IUnknown); impl IEnumRegisterWordW { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, ulcount: u32, rgregisterword: *mut REGISTERWORDW, pcfetched: *mut u32) -> ::windows::core::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 297b7ef4d4..93785b7c9e 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 @@ -332,154 +332,154 @@ unsafe impl ::windows::core::Abi for HTOUCHINPUT { pub struct IInertiaProcessor(::windows::core::IUnknown); impl IInertiaProcessor { pub unsafe fn InitialOriginX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialOriginX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialOriginX(&self, x: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInitialOriginX)(::windows::core::Interface::as_raw(self), x).ok() } pub unsafe fn InitialOriginY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialOriginY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialOriginY(&self, y: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInitialOriginY)(::windows::core::Interface::as_raw(self), y).ok() } pub unsafe fn InitialVelocityX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialVelocityX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialVelocityX(&self, x: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInitialVelocityX)(::windows::core::Interface::as_raw(self), x).ok() } pub unsafe fn InitialVelocityY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialVelocityY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialVelocityY(&self, y: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInitialVelocityY)(::windows::core::Interface::as_raw(self), y).ok() } pub unsafe fn InitialAngularVelocity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialAngularVelocity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialAngularVelocity(&self, velocity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInitialAngularVelocity)(::windows::core::Interface::as_raw(self), velocity).ok() } pub unsafe fn InitialExpansionVelocity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialExpansionVelocity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialExpansionVelocity(&self, velocity: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInitialExpansionVelocity)(::windows::core::Interface::as_raw(self), velocity).ok() } pub unsafe fn InitialRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialRadius(&self, radius: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInitialRadius)(::windows::core::Interface::as_raw(self), radius).ok() } pub unsafe fn BoundaryLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BoundaryLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBoundaryLeft(&self, left: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBoundaryLeft)(::windows::core::Interface::as_raw(self), left).ok() } pub unsafe fn BoundaryTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BoundaryTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBoundaryTop(&self, top: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBoundaryTop)(::windows::core::Interface::as_raw(self), top).ok() } pub unsafe fn BoundaryRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BoundaryRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBoundaryRight(&self, right: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBoundaryRight)(::windows::core::Interface::as_raw(self), right).ok() } pub unsafe fn BoundaryBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BoundaryBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBoundaryBottom(&self, bottom: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBoundaryBottom)(::windows::core::Interface::as_raw(self), bottom).ok() } pub unsafe fn ElasticMarginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElasticMarginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetElasticMarginLeft(&self, left: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetElasticMarginLeft)(::windows::core::Interface::as_raw(self), left).ok() } pub unsafe fn ElasticMarginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElasticMarginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetElasticMarginTop(&self, top: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetElasticMarginTop)(::windows::core::Interface::as_raw(self), top).ok() } pub unsafe fn ElasticMarginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElasticMarginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetElasticMarginRight(&self, right: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetElasticMarginRight)(::windows::core::Interface::as_raw(self), right).ok() } pub unsafe fn ElasticMarginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ElasticMarginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetElasticMarginBottom(&self, bottom: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetElasticMarginBottom)(::windows::core::Interface::as_raw(self), bottom).ok() } pub unsafe fn DesiredDisplacement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredDisplacement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredDisplacement(&self, displacement: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDesiredDisplacement)(::windows::core::Interface::as_raw(self), displacement).ok() } pub unsafe fn DesiredRotation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredRotation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredRotation(&self, rotation: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDesiredRotation)(::windows::core::Interface::as_raw(self), rotation).ok() } pub unsafe fn DesiredExpansion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredExpansion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredExpansion(&self, expansion: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDesiredExpansion)(::windows::core::Interface::as_raw(self), expansion).ok() } pub unsafe fn DesiredDeceleration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredDeceleration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredDeceleration(&self, deceleration: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDesiredDeceleration)(::windows::core::Interface::as_raw(self), deceleration).ok() } pub unsafe fn DesiredAngularDeceleration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredAngularDeceleration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredAngularDeceleration(&self, deceleration: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDesiredAngularDeceleration)(::windows::core::Interface::as_raw(self), deceleration).ok() } pub unsafe fn DesiredExpansionDeceleration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredExpansionDeceleration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredExpansionDeceleration(&self, deceleration: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDesiredExpansionDeceleration)(::windows::core::Interface::as_raw(self), deceleration).ok() } pub unsafe fn InitialTimestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InitialTimestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialTimestamp(&self, timestamp: u32) -> ::windows::core::Result<()> { @@ -491,13 +491,13 @@ impl IInertiaProcessor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Process(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Process)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ProcessTime(&self, timestamp: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProcessTime)(::windows::core::Interface::as_raw(self), timestamp, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Complete(&self) -> ::windows::core::Result<()> { @@ -607,28 +607,28 @@ pub struct IInertiaProcessor_Vtbl { pub struct IManipulationProcessor(::windows::core::IUnknown); impl IManipulationProcessor { pub unsafe fn SupportedManipulations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedManipulations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSupportedManipulations(&self, manipulations: MANIPULATION_PROCESSOR_MANIPULATIONS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSupportedManipulations)(::windows::core::Interface::as_raw(self), manipulations).ok() } pub unsafe fn PivotPointX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PivotPointX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPivotPointX(&self, pivotpointx: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPivotPointX)(::windows::core::Interface::as_raw(self), pivotpointx).ok() } pub unsafe fn PivotPointY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PivotPointY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPivotPointY(&self, pivotpointy: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPivotPointY)(::windows::core::Interface::as_raw(self), pivotpointy).ok() } pub unsafe fn PivotRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PivotRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPivotRadius(&self, pivotradius: f32) -> ::windows::core::Result<()> { @@ -656,23 +656,23 @@ impl IManipulationProcessor { (::windows::core::Interface::vtable(self).ProcessUpWithTime)(::windows::core::Interface::as_raw(self), manipulatorid, x, y, timestamp).ok() } pub unsafe fn GetVelocityX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVelocityX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVelocityY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVelocityY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExpansionVelocity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExpansionVelocity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAngularVelocity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAngularVelocity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MinimumScaleRotateRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MinimumScaleRotateRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMinimumScaleRotateRadius(&self, minradius: f32) -> ::windows::core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs index 75a0a64eef..15ef6447f1 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs @@ -157,7 +157,7 @@ pub unsafe fn CreateInteractionContext() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateInteractionContext(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -182,7 +182,7 @@ where extern "system" { fn GetCrossSlideParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, threshold: CROSS_SLIDE_THRESHOLD, distance: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetCrossSlideParameterInteractionContext(interactioncontext.into(), threshold, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -195,7 +195,7 @@ where extern "system" { fn GetHoldParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: HOLD_PARAMETER, value: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetHoldParameterInteractionContext(interactioncontext.into(), parameter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -208,7 +208,7 @@ where extern "system" { fn GetInertiaParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, inertiaparameter: INERTIA_PARAMETER, value: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetInertiaParameterInteractionContext(interactioncontext.into(), inertiaparameter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -233,7 +233,7 @@ where extern "system" { fn GetMouseWheelParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: MOUSE_WHEEL_PARAMETER, value: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetMouseWheelParameterInteractionContext(interactioncontext.into(), parameter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -246,7 +246,7 @@ where extern "system" { fn GetPropertyInteractionContext(interactioncontext: HINTERACTIONCONTEXT, contextproperty: INTERACTION_CONTEXT_PROPERTY, value: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetPropertyInteractionContext(interactioncontext.into(), contextproperty, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -260,7 +260,7 @@ where extern "system" { fn GetStateInteractionContext(interactioncontext: HINTERACTIONCONTEXT, pointerinfo: *const super::Input::Pointer::POINTER_INFO, state: *mut INTERACTION_STATE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetStateInteractionContext(interactioncontext.into(), ::core::mem::transmute(pointerinfo), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -273,7 +273,7 @@ where extern "system" { fn GetTapParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: TAP_PARAMETER, value: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetTapParameterInteractionContext(interactioncontext.into(), parameter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -286,7 +286,7 @@ where extern "system" { fn GetTranslationParameterInteractionContext(interactioncontext: HINTERACTIONCONTEXT, parameter: TRANSLATION_PARAMETER, value: *mut f32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetTranslationParameterInteractionContext(interactioncontext.into(), parameter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(transparent)] 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 dce815a6cc..24aeed2670 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs @@ -242,7 +242,7 @@ impl IEmptyVolumeCache { (::windows::core::Interface::vtable(self).ShowProperties)(::windows::core::Interface::as_raw(self), hwnd.into()).ok() } pub unsafe fn Deactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Deactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -331,7 +331,7 @@ impl IEmptyVolumeCache2 { (::windows::core::Interface::vtable(self).base__.ShowProperties)(::windows::core::Interface::as_raw(self), hwnd.into()).ok() } pub unsafe fn Deactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Deactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -479,7 +479,7 @@ impl IReconcilableObject { (::windows::core::Interface::vtable(self).Reconcile)(::windows::core::Interface::as_raw(self), pinitiator.into().abi(), dwflags, hwndowner.into(), hwndprogressfeedback.into(), rgpmkotherinput.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(rgpmkotherinput)), ::core::mem::transmute(ploutindex), pstgnewresidues.into().abi(), ::core::mem::transmute(pvreserved)).ok() } pub unsafe fn GetProgressFeedbackMaxEstimate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgressFeedbackMaxEstimate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 4344026de3..7c19cae398 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs @@ -9,7 +9,7 @@ impl IUIApplication { (::windows::core::Interface::vtable(self).OnViewChanged)(::windows::core::Interface::as_raw(self), viewid, typeid, view.into().abi(), verb, ureasoncode).ok() } pub unsafe fn OnCreateUICommand(&self, commandid: u32, typeid: UI_COMMANDTYPE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnCreateUICommand)(::windows::core::Interface::as_raw(self), commandid, typeid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDestroyUICommand<'a, P0>(&self, commandid: u32, typeid: UI_COMMANDTYPE, commandhandler: P0) -> ::windows::core::Result<()> @@ -67,11 +67,11 @@ pub struct IUIApplication_Vtbl { pub struct IUICollection(::windows::core::IUnknown); impl IUICollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItem(&self, index: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Add<'a, P0>(&self, item: P0) -> ::windows::core::Result<()> @@ -214,7 +214,7 @@ impl IUICommandHandler { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn UpdateProperty(&self, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdateProperty)(::windows::core::Interface::as_raw(self), commandid, ::core::mem::transmute(key), ::core::mem::transmute(currentvalue), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -447,7 +447,7 @@ impl IUIFramework { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetUICommandProperty(&self, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUICommandProperty)(::windows::core::Interface::as_raw(self), commandid, ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -538,7 +538,7 @@ impl IUIImage { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -596,7 +596,7 @@ impl IUIImageFromBitmap { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateImage)(::windows::core::Interface::as_raw(self), bitmap.into(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -649,7 +649,7 @@ pub struct IUIImageFromBitmap_Vtbl { pub struct IUIRibbon(::windows::core::IUnknown); impl IUIRibbon { pub unsafe fn GetHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -725,7 +725,7 @@ impl IUISimplePropertySet { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetValue(&self, key: *const super::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 5e106d2147..0d5fd9e3af 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 @@ -91,7 +91,7 @@ impl ::core::fmt::Debug for DEVICE_SCALE_FACTOR { pub struct IObjectArray(::windows::core::IUnknown); impl IObjectArray { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, uiindex: u32) -> ::windows::core::Result @@ -149,7 +149,7 @@ pub struct IObjectArray_Vtbl { pub struct IObjectCollection(::windows::core::IUnknown); impl IObjectCollection { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, uiindex: u32) -> ::windows::core::Result 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 bbda5b5cdd..cb17fa756b 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 @@ -418,7 +418,7 @@ impl INamedPropertyStore { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamedValue)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -430,13 +430,13 @@ impl INamedPropertyStore { (::windows::core::Interface::vtable(self).SetNamedValue)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(propvar)).ok() } pub unsafe fn GetNameCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNameCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNameAt(&self, iprop: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNameAt)(::windows::core::Interface::as_raw(self), iprop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -501,7 +501,7 @@ impl IObjectWithPropertyKey { (::windows::core::Interface::vtable(self).SetPropertyKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key)).ok() } pub unsafe fn GetPropertyKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -618,7 +618,7 @@ impl IPersistSerializedPropStorage2 { (::windows::core::Interface::vtable(self).base__.GetPropertyStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppsps), ::core::mem::transmute(pcb)).ok() } pub unsafe fn GetPropertyStorageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyStorageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyStorageBuffer(&self, psps: *mut SERIALIZEDPROPSTORAGE, cb: u32, pcbwritten: *mut u32) -> ::windows::core::Result<()> { @@ -690,13 +690,13 @@ impl IPropertyChange { (::windows::core::Interface::vtable(self).base__.SetPropertyKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key)).ok() } pub unsafe fn GetPropertyKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn ApplyToPropVariant(&self, propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplyToPropVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -764,7 +764,7 @@ pub struct IPropertyChange_Vtbl { pub struct IPropertyChangeArray(::windows::core::IUnknown); impl IPropertyChangeArray { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, iindex: u32) -> ::windows::core::Result @@ -851,51 +851,51 @@ pub struct IPropertyChangeArray_Vtbl { pub struct IPropertyDescription(::windows::core::IUnknown); impl IPropertyDescription { pub unsafe fn GetPropertyKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCanonicalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCanonicalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPropertyType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetEditInvitation(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEditInvitation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetTypeFlags(&self, mask: PROPDESC_TYPE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeFlags)(::windows::core::Interface::as_raw(self), mask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetViewFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultColumnWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultColumnWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColumnState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGroupingRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroupingRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRelativeDescriptionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelativeDescriptionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -904,7 +904,7 @@ impl IPropertyDescription { (::windows::core::Interface::vtable(self).GetRelativeDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } pub unsafe fn GetSortDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSortDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -913,11 +913,11 @@ impl IPropertyDescription { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSortDescriptionLabel)(::windows::core::Interface::as_raw(self), fdescending.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetAggregationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAggregationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Search_Common\"`*"] @@ -940,7 +940,7 @@ impl IPropertyDescription { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatForDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar), pdfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1033,51 +1033,51 @@ pub struct IPropertyDescription_Vtbl { pub struct IPropertyDescription2(::windows::core::IUnknown); impl IPropertyDescription2 { pub unsafe fn GetPropertyKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCanonicalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCanonicalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPropertyType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetEditInvitation(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEditInvitation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetTypeFlags(&self, mask: PROPDESC_TYPE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeFlags)(::windows::core::Interface::as_raw(self), mask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetViewFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultColumnWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultColumnWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColumnState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColumnState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGroupingRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGroupingRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRelativeDescriptionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRelativeDescriptionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1086,7 +1086,7 @@ impl IPropertyDescription2 { (::windows::core::Interface::vtable(self).base__.GetRelativeDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } pub unsafe fn GetSortDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSortDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1095,11 +1095,11 @@ impl IPropertyDescription2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSortDescriptionLabel)(::windows::core::Interface::as_raw(self), fdescending.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetAggregationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAggregationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Search_Common\"`*"] @@ -1122,7 +1122,7 @@ impl IPropertyDescription2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FormatForDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar), pdfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1133,7 +1133,7 @@ impl IPropertyDescription2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetImageReferenceForValue(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageReferenceForValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -1201,51 +1201,51 @@ pub struct IPropertyDescription2_Vtbl { pub struct IPropertyDescriptionAliasInfo(::windows::core::IUnknown); impl IPropertyDescriptionAliasInfo { pub unsafe fn GetPropertyKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCanonicalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCanonicalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPropertyType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetEditInvitation(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEditInvitation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetTypeFlags(&self, mask: PROPDESC_TYPE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeFlags)(::windows::core::Interface::as_raw(self), mask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetViewFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultColumnWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultColumnWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColumnState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColumnState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGroupingRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGroupingRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRelativeDescriptionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRelativeDescriptionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1254,7 +1254,7 @@ impl IPropertyDescriptionAliasInfo { (::windows::core::Interface::vtable(self).base__.GetRelativeDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } pub unsafe fn GetSortDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSortDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1263,11 +1263,11 @@ impl IPropertyDescriptionAliasInfo { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSortDescriptionLabel)(::windows::core::Interface::as_raw(self), fdescending.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetAggregationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAggregationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Search_Common\"`*"] @@ -1290,7 +1290,7 @@ impl IPropertyDescriptionAliasInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FormatForDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar), pdfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1375,7 +1375,7 @@ pub struct IPropertyDescriptionAliasInfo_Vtbl { pub struct IPropertyDescriptionList(::windows::core::IUnknown); impl IPropertyDescriptionList { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, ielem: u32) -> ::windows::core::Result @@ -1433,51 +1433,51 @@ pub struct IPropertyDescriptionList_Vtbl { pub struct IPropertyDescriptionRelatedPropertyInfo(::windows::core::IUnknown); impl IPropertyDescriptionRelatedPropertyInfo { pub unsafe fn GetPropertyKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCanonicalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCanonicalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPropertyType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetEditInvitation(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEditInvitation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetTypeFlags(&self, mask: PROPDESC_TYPE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeFlags)(::windows::core::Interface::as_raw(self), mask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetViewFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultColumnWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultColumnWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColumnState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColumnState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGroupingRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGroupingRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRelativeDescriptionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRelativeDescriptionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1486,7 +1486,7 @@ impl IPropertyDescriptionRelatedPropertyInfo { (::windows::core::Interface::vtable(self).base__.GetRelativeDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } pub unsafe fn GetSortDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSortDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1495,11 +1495,11 @@ impl IPropertyDescriptionRelatedPropertyInfo { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSortDescriptionLabel)(::windows::core::Interface::as_raw(self), fdescending.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetAggregationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAggregationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Search_Common\"`*"] @@ -1522,7 +1522,7 @@ impl IPropertyDescriptionRelatedPropertyInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FormatForDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar), pdfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1600,51 +1600,51 @@ pub struct IPropertyDescriptionRelatedPropertyInfo_Vtbl { pub struct IPropertyDescriptionSearchInfo(::windows::core::IUnknown); impl IPropertyDescriptionSearchInfo { pub unsafe fn GetPropertyKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCanonicalName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCanonicalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetPropertyType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetEditInvitation(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEditInvitation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetTypeFlags(&self, mask: PROPDESC_TYPE_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTypeFlags)(::windows::core::Interface::as_raw(self), mask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetViewFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultColumnWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultColumnWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColumnState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetColumnState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGroupingRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGroupingRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetRelativeDescriptionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRelativeDescriptionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1653,7 +1653,7 @@ impl IPropertyDescriptionSearchInfo { (::windows::core::Interface::vtable(self).base__.GetRelativeDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar1), ::core::mem::transmute(propvar2), ::core::mem::transmute(ppszdesc1), ::core::mem::transmute(ppszdesc2)).ok() } pub unsafe fn GetSortDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSortDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1662,11 +1662,11 @@ impl IPropertyDescriptionSearchInfo { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSortDescriptionLabel)(::windows::core::Interface::as_raw(self), fdescending.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetAggregationType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAggregationType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Search_Common\"`*"] @@ -1689,7 +1689,7 @@ impl IPropertyDescriptionSearchInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplay(&self, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FormatForDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar), pdfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1698,19 +1698,19 @@ impl IPropertyDescriptionSearchInfo { (::windows::core::Interface::vtable(self).base__.IsValueCanonical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvar)).ok() } pub unsafe fn GetSearchInfoFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSearchInfoFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetColumnIndexType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnIndexType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProjectionString(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProjectionString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMaxSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1778,29 +1778,29 @@ pub struct IPropertyDescriptionSearchInfo_Vtbl { pub struct IPropertyEnumType(::windows::core::IUnknown); impl IPropertyEnumType { pub unsafe fn GetEnumType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRangeMinValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRangeMinValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRangeSetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRangeSetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayText(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -1863,33 +1863,33 @@ pub struct IPropertyEnumType_Vtbl { pub struct IPropertyEnumType2(::windows::core::IUnknown); impl IPropertyEnumType2 { pub unsafe fn GetEnumType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEnumType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRangeMinValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRangeMinValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetRangeSetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRangeSetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayText(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetImageReference(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImageReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -1954,7 +1954,7 @@ pub struct IPropertyEnumType2_Vtbl { pub struct IPropertyEnumTypeList(::windows::core::IUnknown); impl IPropertyEnumTypeList { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, itype: u32) -> ::windows::core::Result @@ -1974,7 +1974,7 @@ impl IPropertyEnumTypeList { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FindMatchingIndex(&self, propvarcmp: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindMatchingIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propvarcmp), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2030,17 +2030,17 @@ pub struct IPropertyEnumTypeList_Vtbl { pub struct IPropertyStore(::windows::core::IUnknown); impl IPropertyStore { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, iprop: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), iprop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self, key: *const PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2108,17 +2108,17 @@ pub struct IPropertyStore_Vtbl { pub struct IPropertyStoreCache(::windows::core::IUnknown); impl IPropertyStoreCache { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, iprop: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAt)(::windows::core::Interface::as_raw(self), iprop, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn GetValue(&self, key: *const PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2130,7 +2130,7 @@ impl IPropertyStoreCache { (::windows::core::Interface::vtable(self).base__.Commit)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetState(&self, key: *const PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2365,7 +2365,7 @@ impl IPropertySystem { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe fn FormatForDisplayAlloc(&self, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FormatForDisplayAlloc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(propvar), pdff, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn RegisterPropertySchema<'a, P0>(&self, pszpath: P0) -> ::windows::core::Result<()> @@ -2508,11 +2508,11 @@ impl IPropertyUI { (::windows::core::Interface::vtable(self).GetPropertyDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fmtid), pid, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwsztext)), pwsztext.len() as _).ok() } pub unsafe fn GetDefaultWidth(&self, fmtid: *const ::windows::core::GUID, pid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fmtid), pid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFlags(&self, fmtid: *const ::windows::core::GUID, pid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(fmtid), pid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2585,7 +2585,7 @@ pub unsafe fn InitPropVariantFromBooleanVector(prgf: &[super::super::super::Foun extern "system" { fn InitPropVariantFromBooleanVector(prgf: *const super::super::super::Foundation::BOOL, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromBooleanVector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgf)), prgf.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2596,7 +2596,7 @@ pub unsafe fn InitPropVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32) extern "system" { fn InitPropVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromBuffer(::core::mem::transmute(pv), cb, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2607,7 +2607,7 @@ pub unsafe fn InitPropVariantFromCLSID(clsid: *const ::windows::core::GUID) -> : extern "system" { fn InitPropVariantFromCLSID(clsid: *const ::windows::core::GUID, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromCLSID(::core::mem::transmute(clsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2618,7 +2618,7 @@ pub unsafe fn InitPropVariantFromDoubleVector(prgn: &[f64]) -> ::windows::core:: extern "system" { fn InitPropVariantFromDoubleVector(prgn: *const f64, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromDoubleVector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2629,7 +2629,7 @@ pub unsafe fn InitPropVariantFromFileTime(pftin: *const super::super::super::Fou extern "system" { fn InitPropVariantFromFileTime(pftin: *const super::super::super::Foundation::FILETIME, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromFileTime(::core::mem::transmute(pftin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2640,7 +2640,7 @@ pub unsafe fn InitPropVariantFromFileTimeVector(prgft: &[super::super::super::Fo extern "system" { fn InitPropVariantFromFileTimeVector(prgft: *const super::super::super::Foundation::FILETIME, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromFileTimeVector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgft)), prgft.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2651,7 +2651,7 @@ pub unsafe fn InitPropVariantFromGUIDAsString(guid: *const ::windows::core::GUID extern "system" { fn InitPropVariantFromGUIDAsString(guid: *const ::windows::core::GUID, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromGUIDAsString(::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2662,7 +2662,7 @@ pub unsafe fn InitPropVariantFromInt16Vector(prgn: &[i16]) -> ::windows::core::R extern "system" { fn InitPropVariantFromInt16Vector(prgn: *const i16, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromInt16Vector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2673,7 +2673,7 @@ pub unsafe fn InitPropVariantFromInt32Vector(prgn: &[i32]) -> ::windows::core::R extern "system" { fn InitPropVariantFromInt32Vector(prgn: *const i32, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromInt32Vector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2684,7 +2684,7 @@ pub unsafe fn InitPropVariantFromInt64Vector(prgn: &[i64]) -> ::windows::core::R extern "system" { fn InitPropVariantFromInt64Vector(prgn: *const i64, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromInt64Vector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2695,7 +2695,7 @@ pub unsafe fn InitPropVariantFromPropVariantVectorElem(propvarin: *const super:: extern "system" { fn InitPropVariantFromPropVariantVectorElem(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromPropVariantVectorElem(::core::mem::transmute(propvarin), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2709,7 +2709,7 @@ where extern "system" { fn InitPropVariantFromResource(hinst: super::super::super::Foundation::HINSTANCE, id: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromResource(hinst.into(), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -2733,7 +2733,7 @@ where extern "system" { fn InitPropVariantFromStringAsVector(psz: ::windows::core::PCWSTR, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromStringAsVector(psz.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2744,7 +2744,7 @@ pub unsafe fn InitPropVariantFromStringVector(prgsz: &[::windows::core::PWSTR]) extern "system" { fn InitPropVariantFromStringVector(prgsz: *const ::windows::core::PWSTR, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromStringVector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgsz)), prgsz.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2755,7 +2755,7 @@ pub unsafe fn InitPropVariantFromUInt16Vector(prgn: &[u16]) -> ::windows::core:: extern "system" { fn InitPropVariantFromUInt16Vector(prgn: *const u16, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromUInt16Vector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2766,7 +2766,7 @@ pub unsafe fn InitPropVariantFromUInt32Vector(prgn: &[u32]) -> ::windows::core:: extern "system" { fn InitPropVariantFromUInt32Vector(prgn: *const u32, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromUInt32Vector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2777,7 +2777,7 @@ pub unsafe fn InitPropVariantFromUInt64Vector(prgn: &[u64]) -> ::windows::core:: extern "system" { fn InitPropVariantFromUInt64Vector(prgn: *const u64, celems: u32, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantFromUInt64Vector(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2788,7 +2788,7 @@ pub unsafe fn InitPropVariantVectorFromPropVariant(propvarsingle: *const super:: extern "system" { fn InitPropVariantVectorFromPropVariant(propvarsingle: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppropvarvector: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitPropVariantVectorFromPropVariant(::core::mem::transmute(propvarsingle), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2799,7 +2799,7 @@ pub unsafe fn InitVariantFromBooleanArray(prgf: &[super::super::super::Foundatio extern "system" { fn InitVariantFromBooleanArray(prgf: *const super::super::super::Foundation::BOOL, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromBooleanArray(::core::mem::transmute(::windows::core::as_ptr_or_null(prgf)), prgf.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2810,7 +2810,7 @@ pub unsafe fn InitVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32) -> extern "system" { fn InitVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromBuffer(::core::mem::transmute(pv), cb, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2821,7 +2821,7 @@ pub unsafe fn InitVariantFromDoubleArray(prgn: &[f64]) -> ::windows::core::Resul extern "system" { fn InitVariantFromDoubleArray(prgn: *const f64, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromDoubleArray(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2832,7 +2832,7 @@ pub unsafe fn InitVariantFromFileTime(pft: *const super::super::super::Foundatio extern "system" { fn InitVariantFromFileTime(pft: *const super::super::super::Foundation::FILETIME, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromFileTime(::core::mem::transmute(pft), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2843,7 +2843,7 @@ pub unsafe fn InitVariantFromFileTimeArray(prgft: &[super::super::super::Foundat extern "system" { fn InitVariantFromFileTimeArray(prgft: *const super::super::super::Foundation::FILETIME, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromFileTimeArray(::core::mem::transmute(::windows::core::as_ptr_or_null(prgft)), prgft.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2854,7 +2854,7 @@ pub unsafe fn InitVariantFromGUIDAsString(guid: *const ::windows::core::GUID) -> extern "system" { fn InitVariantFromGUIDAsString(guid: *const ::windows::core::GUID, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromGUIDAsString(::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2865,7 +2865,7 @@ pub unsafe fn InitVariantFromInt16Array(prgn: &[i16]) -> ::windows::core::Result extern "system" { fn InitVariantFromInt16Array(prgn: *const i16, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromInt16Array(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2876,7 +2876,7 @@ pub unsafe fn InitVariantFromInt32Array(prgn: &[i32]) -> ::windows::core::Result extern "system" { fn InitVariantFromInt32Array(prgn: *const i32, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromInt32Array(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2887,7 +2887,7 @@ pub unsafe fn InitVariantFromInt64Array(prgn: &[i64]) -> ::windows::core::Result extern "system" { fn InitVariantFromInt64Array(prgn: *const i64, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromInt64Array(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2901,7 +2901,7 @@ where extern "system" { fn InitVariantFromResource(hinst: super::super::super::Foundation::HINSTANCE, id: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromResource(hinst.into(), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -2912,7 +2912,7 @@ pub unsafe fn InitVariantFromStrRet(pstrret: *const super::Common::STRRET, pidl: extern "system" { fn InitVariantFromStrRet(pstrret: *const super::Common::STRRET, pidl: *const super::Common::ITEMIDLIST, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromStrRet(::core::mem::transmute(pstrret), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2923,7 +2923,7 @@ pub unsafe fn InitVariantFromStringArray(prgsz: &[::windows::core::PWSTR]) -> :: extern "system" { fn InitVariantFromStringArray(prgsz: *const ::windows::core::PWSTR, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromStringArray(::core::mem::transmute(::windows::core::as_ptr_or_null(prgsz)), prgsz.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2934,7 +2934,7 @@ pub unsafe fn InitVariantFromUInt16Array(prgn: &[u16]) -> ::windows::core::Resul extern "system" { fn InitVariantFromUInt16Array(prgn: *const u16, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromUInt16Array(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2945,7 +2945,7 @@ pub unsafe fn InitVariantFromUInt32Array(prgn: &[u32]) -> ::windows::core::Resul extern "system" { fn InitVariantFromUInt32Array(prgn: *const u32, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromUInt32Array(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2956,7 +2956,7 @@ pub unsafe fn InitVariantFromUInt64Array(prgn: &[u64]) -> ::windows::core::Resul extern "system" { fn InitVariantFromUInt64Array(prgn: *const u64, celems: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromUInt64Array(::core::mem::transmute(::windows::core::as_ptr_or_null(prgn)), prgn.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -2967,7 +2967,7 @@ pub unsafe fn InitVariantFromVariantArrayElem(varin: *const super::super::super: extern "system" { fn InitVariantFromVariantArrayElem(varin: *const super::super::super::System::Com::VARIANT, ielem: u32, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); InitVariantFromVariantArrayElem(::core::mem::transmute(varin), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -4325,7 +4325,7 @@ pub unsafe fn PSFormatForDisplayAlloc(key: *const PROPERTYKEY, propvar: *const s extern "system" { fn PSFormatForDisplayAlloc(key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSFormatForDisplayAlloc(::core::mem::transmute(key), ::core::mem::transmute(propvar), pdff, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -4339,7 +4339,7 @@ where extern "system" { fn PSFormatPropertyValue(pps: *mut ::core::ffi::c_void, ppd: *mut ::core::ffi::c_void, pdff: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSFormatPropertyValue(pps.into().abi(), ppd.into().abi(), pdff, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4350,7 +4350,7 @@ pub unsafe fn PSGetImageReferenceForValue(propkey: *const PROPERTYKEY, propvar: extern "system" { fn PSGetImageReferenceForValue(propkey: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszimageres: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSGetImageReferenceForValue(::core::mem::transmute(propkey), ::core::mem::transmute(propvar), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] @@ -4389,7 +4389,7 @@ pub unsafe fn PSGetNameFromPropertyKey(propkey: *const PROPERTYKEY) -> ::windows extern "system" { fn PSGetNameFromPropertyKey(propkey: *const PROPERTYKEY, ppszcanonicalname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSGetNameFromPropertyKey(::core::mem::transmute(propkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4403,7 +4403,7 @@ where extern "system" { fn PSGetNamedPropertyFromPropertyStorage(psps: *const SERIALIZEDPROPSTORAGE, cb: u32, pszname: ::windows::core::PCWSTR, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSGetNamedPropertyFromPropertyStorage(::core::mem::transmute(psps), cb, pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -4447,7 +4447,7 @@ pub unsafe fn PSGetPropertyFromPropertyStorage(psps: *const SERIALIZEDPROPSTORAG extern "system" { fn PSGetPropertyFromPropertyStorage(psps: *const SERIALIZEDPROPSTORAGE, cb: u32, rpkey: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSGetPropertyFromPropertyStorage(::core::mem::transmute(psps), cb, ::core::mem::transmute(rpkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -4460,7 +4460,7 @@ where extern "system" { fn PSGetPropertyKeyFromName(pszname: ::windows::core::PCWSTR, ppropkey: *mut PROPERTYKEY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSGetPropertyKeyFromName(pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -4484,7 +4484,7 @@ where extern "system" { fn PSGetPropertyValue(pps: *mut ::core::ffi::c_void, ppd: *mut ::core::ffi::c_void, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSGetPropertyValue(pps.into().abi(), ppd.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -4497,7 +4497,7 @@ where extern "system" { fn PSLookupPropertyHandlerCLSID(pszfilepath: ::windows::core::PCWSTR, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSLookupPropertyHandlerCLSID(pszfilepath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4526,7 +4526,7 @@ where extern "system" { fn PSPropertyBag_ReadBOOL(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadBOOL(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4541,7 +4541,7 @@ where extern "system" { fn PSPropertyBag_ReadBSTR(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut super::super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadBSTR(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4556,7 +4556,7 @@ where extern "system" { fn PSPropertyBag_ReadDWORD(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadDWORD(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4571,7 +4571,7 @@ where extern "system" { fn PSPropertyBag_ReadGUID(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadGUID(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4586,7 +4586,7 @@ where extern "system" { fn PSPropertyBag_ReadInt(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadInt(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4601,7 +4601,7 @@ where extern "system" { fn PSPropertyBag_ReadLONG(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadLONG(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4616,7 +4616,7 @@ where extern "system" { fn PSPropertyBag_ReadPOINTL(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut super::super::super::Foundation::POINTL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadPOINTL(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4631,7 +4631,7 @@ where extern "system" { fn PSPropertyBag_ReadPOINTS(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut super::super::super::Foundation::POINTS) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadPOINTS(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4646,7 +4646,7 @@ where extern "system" { fn PSPropertyBag_ReadPropertyKey(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut PROPERTYKEY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadPropertyKey(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4661,7 +4661,7 @@ where extern "system" { fn PSPropertyBag_ReadRECTL(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut super::super::super::Foundation::RECTL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadRECTL(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4676,7 +4676,7 @@ where extern "system" { fn PSPropertyBag_ReadSHORT(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadSHORT(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4705,7 +4705,7 @@ where extern "system" { fn PSPropertyBag_ReadStrAlloc(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadStrAlloc(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4720,7 +4720,7 @@ where extern "system" { fn PSPropertyBag_ReadStream(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadStream(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`*"] @@ -4749,7 +4749,7 @@ where extern "system" { fn PSPropertyBag_ReadULONGLONG(propbag: *mut ::core::ffi::c_void, propname: ::windows::core::PCWSTR, value: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyBag_ReadULONGLONG(propbag.into().abi(), propname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4991,7 +4991,7 @@ where extern "system" { fn PSPropertyKeyFromString(pszstring: ::windows::core::PCWSTR, pkey: *mut PROPERTYKEY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PSPropertyKeyFromString(pszstring.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -5188,7 +5188,7 @@ pub unsafe fn PropVariantGetBooleanElem(propvar: *const super::super::super::Sys extern "system" { fn PropVariantGetBooleanElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pfval: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetBooleanElem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5199,7 +5199,7 @@ pub unsafe fn PropVariantGetDoubleElem(propvar: *const super::super::super::Syst extern "system" { fn PropVariantGetDoubleElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetDoubleElem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5220,7 +5220,7 @@ pub unsafe fn PropVariantGetFileTimeElem(propvar: *const super::super::super::Sy extern "system" { fn PropVariantGetFileTimeElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pftval: *mut super::super::super::Foundation::FILETIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetFileTimeElem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5231,7 +5231,7 @@ pub unsafe fn PropVariantGetInt16Elem(propvar: *const super::super::super::Syste extern "system" { fn PropVariantGetInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetInt16Elem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5242,7 +5242,7 @@ pub unsafe fn PropVariantGetInt32Elem(propvar: *const super::super::super::Syste extern "system" { fn PropVariantGetInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetInt32Elem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5253,7 +5253,7 @@ pub unsafe fn PropVariantGetInt64Elem(propvar: *const super::super::super::Syste extern "system" { fn PropVariantGetInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetInt64Elem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5264,7 +5264,7 @@ pub unsafe fn PropVariantGetStringElem(propvar: *const super::super::super::Syst extern "system" { fn PropVariantGetStringElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, ppszval: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetStringElem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5275,7 +5275,7 @@ pub unsafe fn PropVariantGetUInt16Elem(propvar: *const super::super::super::Syst extern "system" { fn PropVariantGetUInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetUInt16Elem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5286,7 +5286,7 @@ pub unsafe fn PropVariantGetUInt32Elem(propvar: *const super::super::super::Syst extern "system" { fn PropVariantGetUInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetUInt32Elem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5297,7 +5297,7 @@ pub unsafe fn PropVariantGetUInt64Elem(propvar: *const super::super::super::Syst extern "system" { fn PropVariantGetUInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32, pnval: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantGetUInt64Elem(::core::mem::transmute(propvar), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5308,7 +5308,7 @@ pub unsafe fn PropVariantToBSTR(propvar: *const super::super::super::System::Com extern "system" { fn PropVariantToBSTR(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pbstrout: *mut super::super::super::Foundation::BSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToBSTR(::core::mem::transmute(propvar), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5319,7 +5319,7 @@ pub unsafe fn PropVariantToBoolean(propvarin: *const super::super::super::System extern "system" { fn PropVariantToBoolean(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pfret: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToBoolean(::core::mem::transmute(propvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5373,7 +5373,7 @@ pub unsafe fn PropVariantToDouble(propvarin: *const super::super::super::System: extern "system" { fn PropVariantToDouble(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdblret: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToDouble(::core::mem::transmute(propvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5414,7 +5414,7 @@ pub unsafe fn PropVariantToFileTime(propvar: *const super::super::super::System: extern "system" { fn PropVariantToFileTime(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstfout: PSTIME_FLAGS, pftout: *mut super::super::super::Foundation::FILETIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToFileTime(::core::mem::transmute(propvar), pstfout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5445,7 +5445,7 @@ pub unsafe fn PropVariantToGUID(propvar: *const super::super::super::System::Com extern "system" { fn PropVariantToGUID(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pguid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToGUID(::core::mem::transmute(propvar), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5456,7 +5456,7 @@ pub unsafe fn PropVariantToInt16(propvarin: *const super::super::super::System:: extern "system" { fn PropVariantToInt16(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, piret: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToInt16(::core::mem::transmute(propvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5497,7 +5497,7 @@ pub unsafe fn PropVariantToInt32(propvarin: *const super::super::super::System:: extern "system" { fn PropVariantToInt32(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, plret: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToInt32(::core::mem::transmute(propvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5538,7 +5538,7 @@ pub unsafe fn PropVariantToInt64(propvarin: *const super::super::super::System:: extern "system" { fn PropVariantToInt64(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pllret: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToInt64(::core::mem::transmute(propvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5579,7 +5579,7 @@ pub unsafe fn PropVariantToStrRet(propvar: *const super::super::super::System::C extern "system" { fn PropVariantToStrRet(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstrret: *mut super::Common::STRRET) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToStrRet(::core::mem::transmute(propvar), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5600,7 +5600,7 @@ pub unsafe fn PropVariantToStringAlloc(propvar: *const super::super::super::Syst extern "system" { fn PropVariantToStringAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ppszout: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToStringAlloc(::core::mem::transmute(propvar), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5644,7 +5644,7 @@ pub unsafe fn PropVariantToUInt16(propvarin: *const super::super::super::System: extern "system" { fn PropVariantToUInt16(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, puiret: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToUInt16(::core::mem::transmute(propvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5685,7 +5685,7 @@ pub unsafe fn PropVariantToUInt32(propvarin: *const super::super::super::System: extern "system" { fn PropVariantToUInt32(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pulret: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToUInt32(::core::mem::transmute(propvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5726,7 +5726,7 @@ pub unsafe fn PropVariantToUInt64(propvarin: *const super::super::super::System: extern "system" { fn PropVariantToUInt64(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pullret: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToUInt64(::core::mem::transmute(propvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5767,7 +5767,7 @@ pub unsafe fn PropVariantToVariant(ppropvar: *const super::super::super::System: extern "system" { fn PropVariantToVariant(ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pvar: *mut super::super::super::System::Com::VARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PropVariantToVariant(::core::mem::transmute(ppropvar), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5860,7 +5860,7 @@ where extern "system" { fn SHPropStgReadMultiple(pps: *mut ::core::ffi::c_void, ucodepage: u32, cpspec: u32, rgpspec: *const super::super::super::System::Com::StructuredStorage::PROPSPEC, rgvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHPropStgReadMultiple(pps.into().abi(), ucodepage, rgpspec.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgpspec)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -6042,7 +6042,7 @@ pub unsafe fn VariantGetBooleanElem(var: *const super::super::super::System::Com extern "system" { fn VariantGetBooleanElem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pfval: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantGetBooleanElem(::core::mem::transmute(var), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6053,7 +6053,7 @@ pub unsafe fn VariantGetDoubleElem(var: *const super::super::super::System::Com: extern "system" { fn VariantGetDoubleElem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantGetDoubleElem(::core::mem::transmute(var), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6074,7 +6074,7 @@ pub unsafe fn VariantGetInt16Elem(var: *const super::super::super::System::Com:: extern "system" { fn VariantGetInt16Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantGetInt16Elem(::core::mem::transmute(var), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6085,7 +6085,7 @@ pub unsafe fn VariantGetInt32Elem(var: *const super::super::super::System::Com:: extern "system" { fn VariantGetInt32Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantGetInt32Elem(::core::mem::transmute(var), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6096,7 +6096,7 @@ pub unsafe fn VariantGetInt64Elem(var: *const super::super::super::System::Com:: extern "system" { fn VariantGetInt64Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantGetInt64Elem(::core::mem::transmute(var), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6107,7 +6107,7 @@ pub unsafe fn VariantGetStringElem(var: *const super::super::super::System::Com: extern "system" { fn VariantGetStringElem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, ppszval: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantGetStringElem(::core::mem::transmute(var), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6118,7 +6118,7 @@ pub unsafe fn VariantGetUInt16Elem(var: *const super::super::super::System::Com: extern "system" { fn VariantGetUInt16Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantGetUInt16Elem(::core::mem::transmute(var), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6129,7 +6129,7 @@ pub unsafe fn VariantGetUInt32Elem(var: *const super::super::super::System::Com: extern "system" { fn VariantGetUInt32Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantGetUInt32Elem(::core::mem::transmute(var), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6140,7 +6140,7 @@ pub unsafe fn VariantGetUInt64Elem(var: *const super::super::super::System::Com: extern "system" { fn VariantGetUInt64Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32, pnval: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantGetUInt64Elem(::core::mem::transmute(var), ielem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6151,7 +6151,7 @@ pub unsafe fn VariantToBoolean(varin: *const super::super::super::System::Com::V extern "system" { fn VariantToBoolean(varin: *const super::super::super::System::Com::VARIANT, pfret: *mut super::super::super::Foundation::BOOL) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToBoolean(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6215,7 +6215,7 @@ pub unsafe fn VariantToDouble(varin: *const super::super::super::System::Com::VA extern "system" { fn VariantToDouble(varin: *const super::super::super::System::Com::VARIANT, pdblret: *mut f64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToDouble(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6256,7 +6256,7 @@ pub unsafe fn VariantToFileTime(varin: *const super::super::super::System::Com:: extern "system" { fn VariantToFileTime(varin: *const super::super::super::System::Com::VARIANT, stfout: PSTIME_FLAGS, pftout: *mut super::super::super::Foundation::FILETIME) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToFileTime(::core::mem::transmute(varin), stfout, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6267,7 +6267,7 @@ pub unsafe fn VariantToGUID(varin: *const super::super::super::System::Com::VARI extern "system" { fn VariantToGUID(varin: *const super::super::super::System::Com::VARIANT, pguid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToGUID(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6278,7 +6278,7 @@ pub unsafe fn VariantToInt16(varin: *const super::super::super::System::Com::VAR extern "system" { fn VariantToInt16(varin: *const super::super::super::System::Com::VARIANT, piret: *mut i16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToInt16(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6319,7 +6319,7 @@ pub unsafe fn VariantToInt32(varin: *const super::super::super::System::Com::VAR extern "system" { fn VariantToInt32(varin: *const super::super::super::System::Com::VARIANT, plret: *mut i32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToInt32(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6360,7 +6360,7 @@ pub unsafe fn VariantToInt64(varin: *const super::super::super::System::Com::VAR extern "system" { fn VariantToInt64(varin: *const super::super::super::System::Com::VARIANT, pllret: *mut i64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToInt64(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6401,7 +6401,7 @@ pub unsafe fn VariantToPropVariant(pvar: *const super::super::super::System::Com extern "system" { fn VariantToPropVariant(pvar: *const super::super::super::System::Com::VARIANT, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToPropVariant(::core::mem::transmute(pvar), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -6412,7 +6412,7 @@ pub unsafe fn VariantToStrRet(varin: *const super::super::super::System::Com::VA extern "system" { fn VariantToStrRet(varin: *const super::super::super::System::Com::VARIANT, pstrret: *mut super::Common::STRRET) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToStrRet(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6433,7 +6433,7 @@ pub unsafe fn VariantToStringAlloc(varin: *const super::super::super::System::Co extern "system" { fn VariantToStringAlloc(varin: *const super::super::super::System::Com::VARIANT, ppszbuf: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToStringAlloc(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6477,7 +6477,7 @@ pub unsafe fn VariantToUInt16(varin: *const super::super::super::System::Com::VA extern "system" { fn VariantToUInt16(varin: *const super::super::super::System::Com::VARIANT, puiret: *mut u16) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToUInt16(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6518,7 +6518,7 @@ pub unsafe fn VariantToUInt32(varin: *const super::super::super::System::Com::VA extern "system" { fn VariantToUInt32(varin: *const super::super::super::System::Com::VARIANT, pulret: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToUInt32(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6559,7 +6559,7 @@ pub unsafe fn VariantToUInt64(varin: *const super::super::super::System::Com::VA extern "system" { fn VariantToUInt64(varin: *const super::super::super::System::Com::VARIANT, pullret: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); VariantToUInt64(::core::mem::transmute(varin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6603,7 +6603,7 @@ where extern "system" { fn WinRTPropertyValueToPropVariant(punkpropertyvalue: *mut ::core::ffi::c_void, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); WinRTPropertyValueToPropVariant(punkpropertyvalue.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] 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 2cf17918af..cbb24c152b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -1499,7 +1499,7 @@ where extern "system" { fn AssocQueryKeyA(flags: u32, key: ASSOCKEY, pszassoc: ::windows::core::PCSTR, pszextra: ::windows::core::PCSTR, phkeyout: *mut super::super::System::Registry::HKEY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AssocQueryKeyA(flags, key, pszassoc.into(), pszextra.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] @@ -1514,7 +1514,7 @@ where extern "system" { fn AssocQueryKeyW(flags: u32, key: ASSOCKEY, pszassoc: ::windows::core::PCWSTR, pszextra: ::windows::core::PCWSTR, phkeyout: *mut super::super::System::Registry::HKEY) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); AssocQueryKeyW(flags, key, pszassoc.into(), pszextra.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2644,7 +2644,7 @@ where extern "system" { fn CDefFolderMenu_Create2(pidlfolder: *const Common::ITEMIDLIST, hwnd: super::super::Foundation::HWND, cidl: u32, apidl: *const *const Common::ITEMIDLIST, psf: *mut ::core::ffi::c_void, pfn: *mut ::core::ffi::c_void, nkeys: u32, ahkeys: *const super::super::System::Registry::HKEY, ppcm: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CDefFolderMenu_Create2(::core::mem::transmute(pidlfolder), hwnd.into(), apidl.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(apidl)), psf.into().abi(), ::core::mem::transmute(pfn), ahkeys.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ahkeys)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2754,7 +2754,7 @@ pub unsafe fn CIDLData_CreateFromIDArray(pidlfolder: *const Common::ITEMIDLIST, extern "system" { fn CIDLData_CreateFromIDArray(pidlfolder: *const Common::ITEMIDLIST, cidl: u32, apidl: *const *const Common::ITEMIDLIST, ppdtobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CIDLData_CreateFromIDArray(::core::mem::transmute(pidlfolder), apidl.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(apidl)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -2766,13 +2766,13 @@ impl CIE4ConnectionPoint { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetConnectionInterface(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetConnectionInterface)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetConnectionPointContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetConnectionPointContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2781,7 +2781,7 @@ impl CIE4ConnectionPoint { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Advise)(::windows::core::Interface::as_raw(self), punksink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2792,7 +2792,7 @@ impl CIE4ConnectionPoint { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumConnections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumConnections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5044,13 +5044,13 @@ impl DFConstraint { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8057,31 +8057,31 @@ impl Folder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ParentFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParentFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Items(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Items)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8090,7 +8090,7 @@ impl Folder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ParseName)(::windows::core::Interface::as_raw(self), bname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8126,7 +8126,7 @@ impl Folder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDetailsOf)(::windows::core::Interface::as_raw(self), vitem.into().abi(), icolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8246,31 +8246,31 @@ impl Folder2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ParentFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParentFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Items(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Items)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8279,7 +8279,7 @@ impl Folder2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ParseName)(::windows::core::Interface::as_raw(self), bname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8315,24 +8315,24 @@ impl Folder2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDetailsOf)(::windows::core::Interface::as_raw(self), vitem.into().abi(), icolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Self_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Self_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OfflineStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OfflineStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Synchronize(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Synchronize)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn HaveToShowWebViewBarricade(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HaveToShowWebViewBarricade)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DismissedWebViewBarricade(&self) -> ::windows::core::Result<()> { @@ -8441,31 +8441,31 @@ impl Folder3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ParentFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ParentFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Items(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Items)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -8474,7 +8474,7 @@ impl Folder3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ParseName)(::windows::core::Interface::as_raw(self), bname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8510,31 +8510,31 @@ impl Folder3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDetailsOf)(::windows::core::Interface::as_raw(self), vitem.into().abi(), icolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Self_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Self_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OfflineStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OfflineStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Synchronize(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Synchronize)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn HaveToShowWebViewBarricade(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HaveToShowWebViewBarricade)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DismissedWebViewBarricade(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.DismissedWebViewBarricade)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn ShowWebViewBarricade(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowWebViewBarricade)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowWebViewBarricade(&self, bshowwebviewbarricade: i16) -> ::windows::core::Result<()> { @@ -8655,19 +8655,19 @@ impl FolderItem { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8681,58 +8681,58 @@ impl FolderItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFileSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFileSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBrowsable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsBrowsable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ModifyDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ModifyDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModifyDate(&self, dt: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetModifyDate)(::windows::core::Interface::as_raw(self), dt).ok() } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Verbs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Verbs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8867,19 +8867,19 @@ impl FolderItem2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8893,58 +8893,58 @@ impl FolderItem2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsFileSystem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsFileSystem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsBrowsable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsBrowsable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ModifyDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ModifyDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetModifyDate(&self, dt: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetModifyDate)(::windows::core::Interface::as_raw(self), dt).ok() } pub unsafe fn Size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Verbs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Verbs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8970,7 +8970,7 @@ impl FolderItem2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedProperty)(::windows::core::Interface::as_raw(self), bstrpropname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9076,19 +9076,19 @@ impl FolderItemVerb { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DoIt(&self) -> ::windows::core::Result<()> { @@ -9182,19 +9182,19 @@ pub struct FolderItemVerbs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItemVerbs { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9203,11 +9203,11 @@ impl FolderItemVerbs { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -9299,19 +9299,19 @@ pub struct FolderItems(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItems { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9320,11 +9320,11 @@ impl FolderItems { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -9416,19 +9416,19 @@ pub struct FolderItems2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItems2 { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9437,11 +9437,11 @@ impl FolderItems2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9550,19 +9550,19 @@ pub struct FolderItems3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItems3 { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9571,11 +9571,11 @@ impl FolderItems3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9598,7 +9598,7 @@ impl FolderItems3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Verbs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Verbs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9830,7 +9830,7 @@ pub unsafe fn GetCurrentProcessExplicitAppUserModelID() -> ::windows::core::Resu extern "system" { fn GetCurrentProcessExplicitAppUserModelID(appid: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetCurrentProcessExplicitAppUserModelID(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -9956,7 +9956,7 @@ where extern "system" { fn GetScaleFactorForMonitor(hmon: super::super::Graphics::Gdi::HMONITOR, pscale: *mut Common::DEVICE_SCALE_FACTOR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetScaleFactorForMonitor(hmon.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -10993,7 +10993,7 @@ pub unsafe fn HlinkGetSpecialReference(ureference: u32) -> ::windows::core::Resu extern "system" { fn HlinkGetSpecialReference(ureference: u32, ppwzreference: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HlinkGetSpecialReference(ureference, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -11007,7 +11007,7 @@ where extern "system" { fn HlinkGetValueFromParams(pwzparams: ::windows::core::PCWSTR, pwzname: ::windows::core::PCWSTR, ppwzvalue: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HlinkGetValueFromParams(pwzparams.into(), pwzname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -11117,7 +11117,7 @@ where extern "system" { fn HlinkPreprocessMoniker(pibc: *mut ::core::ffi::c_void, pimkin: *mut ::core::ffi::c_void, ppimkout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HlinkPreprocessMoniker(pibc.into().abi(), pimkin.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -11226,7 +11226,7 @@ where extern "system" { fn HlinkTranslateURL(pwzurl: ::windows::core::PCWSTR, grfflags: u32, ppwztranslatedurl: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); HlinkTranslateURL(pwzurl.into(), grfflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -11313,7 +11313,7 @@ impl IACList2 { (::windows::core::Interface::vtable(self).SetOptions)(::windows::core::Interface::as_raw(self), dwflag).ok() } pub unsafe fn GetOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11580,7 +11580,7 @@ impl IActionProgress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryCancel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryCancel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetCancel(&self) -> ::windows::core::Result<()> { @@ -11706,27 +11706,27 @@ impl IAppActivationUIInfo { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetMonitor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMonitor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInvokePoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInvokePoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetShowCommand(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShowCommand)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetShowUI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShowUI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetKeyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11789,19 +11789,19 @@ pub struct IAppActivationUIInfo_Vtbl { pub struct IAppPublisher(::windows::core::IUnknown); impl IAppPublisher { pub unsafe fn GetNumberOfCategories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfCategories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCategories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOfApps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOfApps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumApps(&self, pappcategoryid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumApps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pappcategoryid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11859,20 +11859,20 @@ impl IAppVisibility { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAppVisibilityOnMonitor)(::windows::core::Interface::as_raw(self), hmonitor.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsLauncherVisible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLauncherVisible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Advise<'a, P0>(&self, pcallback: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IAppVisibilityEvents>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), pcallback.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -12007,7 +12007,7 @@ impl IApplicationActivationManager { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateApplication)(::windows::core::Interface::as_raw(self), appusermodelid.into(), arguments.into(), options, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActivateForFile<'a, P0, P1, P2>(&self, appusermodelid: P0, itemarray: P1, verb: P2) -> ::windows::core::Result @@ -12016,7 +12016,7 @@ impl IApplicationActivationManager { P1: ::std::convert::Into<::windows::core::InParam<'a, IShellItemArray>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateForFile)(::windows::core::Interface::as_raw(self), appusermodelid.into(), itemarray.into().abi(), verb.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActivateForProtocol<'a, P0, P1>(&self, appusermodelid: P0, itemarray: P1) -> ::windows::core::Result @@ -12024,7 +12024,7 @@ impl IApplicationActivationManager { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellItemArray>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ActivateForProtocol)(::windows::core::Interface::as_raw(self), appusermodelid.into(), itemarray.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12079,7 +12079,7 @@ impl IApplicationAssociationRegistration { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryCurrentDefault)(::windows::core::Interface::as_raw(self), pszquery.into(), atquerytype, alquerylevel, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12089,7 +12089,7 @@ impl IApplicationAssociationRegistration { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAppIsDefault)(::windows::core::Interface::as_raw(self), pszquery.into(), atquerytype, alquerylevel, pszappregistryname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12098,7 +12098,7 @@ impl IApplicationAssociationRegistration { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAppIsDefaultAll)(::windows::core::Interface::as_raw(self), alquerylevel, pszappregistryname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppAsDefault<'a, P0, P1>(&self, pszappregistryname: P0, pszset: P1, atsettype: ASSOCIATIONTYPE) -> ::windows::core::Result<()> @@ -12242,13 +12242,13 @@ impl IApplicationDesignModeSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ComputeApplicationSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ComputeApplicationSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub unsafe fn IsApplicationViewStateSupported(&self, viewstate: APPLICATION_VIEW_STATE, nativedisplaysizepixels: super::super::Foundation::SIZE, scalefactor: Common::DEVICE_SCALE_FACTOR) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsApplicationViewStateSupported)(::windows::core::Interface::as_raw(self), viewstate, ::core::mem::transmute(nativedisplaysizepixels), scalefactor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TriggerEdgeGesture(&self, edgegesturekind: EDGE_GESTURE_KIND) -> ::windows::core::Result<()> { @@ -12333,13 +12333,13 @@ impl IApplicationDesignModeSettings2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ComputeApplicationSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ComputeApplicationSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub unsafe fn IsApplicationViewStateSupported(&self, viewstate: APPLICATION_VIEW_STATE, nativedisplaysizepixels: super::super::Foundation::SIZE, scalefactor: Common::DEVICE_SCALE_FACTOR) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsApplicationViewStateSupported)(::windows::core::Interface::as_raw(self), viewstate, ::core::mem::transmute(nativedisplaysizepixels), scalefactor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TriggerEdgeGesture(&self, edgegesturekind: EDGE_GESTURE_KIND) -> ::windows::core::Result<()> { @@ -12373,7 +12373,7 @@ impl IApplicationDesignModeSettings2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetApplicationViewOrientation(&self, applicationsizepixels: super::super::Foundation::SIZE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplicationViewOrientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(applicationsizepixels), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12576,11 +12576,11 @@ pub struct IApplicationDocumentLists_Vtbl { pub struct IAssocHandler(::windows::core::IUnknown); impl IAssocHandler { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetUIName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUIName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetIconLocation(&self, ppszpath: *mut ::windows::core::PWSTR, pindex: *mut i32) -> ::windows::core::Result<()> { @@ -12609,7 +12609,7 @@ impl IAssocHandler { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInvoker)(::windows::core::Interface::as_raw(self), pdo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12765,7 +12765,7 @@ impl IAttachmentExecute { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Prompt)(::windows::core::Interface::as_raw(self), hwnd.into(), prompt, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Save(&self) -> ::windows::core::Result<()> { @@ -12778,7 +12778,7 @@ impl IAttachmentExecute { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Execute)(::windows::core::Interface::as_raw(self), hwnd.into(), pszverb.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12953,7 +12953,7 @@ impl IAutoComplete2 { (::windows::core::Interface::vtable(self).SetOptions)(::windows::core::Interface::as_raw(self), dwflag).ok() } pub unsafe fn GetOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13154,7 +13154,7 @@ impl IBandSite { (::windows::core::Interface::vtable(self).AddBand)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() } pub unsafe fn EnumBands(&self, uband: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumBands)(::windows::core::Interface::as_raw(self), uband, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -13290,7 +13290,7 @@ impl IBanneredBar { (::windows::core::Interface::vtable(self).SetIconSize)(::windows::core::Interface::as_raw(self), iicon).ok() } pub unsafe fn GetIconSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIconSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -13304,7 +13304,7 @@ impl IBanneredBar { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13363,7 +13363,7 @@ pub struct IBanneredBar_Vtbl { pub struct IBrowserFrameOptions(::windows::core::IUnknown); impl IBrowserFrameOptions { pub unsafe fn GetFrameOptions(&self, dwmask: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameOptions)(::windows::core::Interface::as_raw(self), dwmask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -13415,7 +13415,7 @@ impl IBrowserService { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetParentSite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentSite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -13438,11 +13438,11 @@ impl IBrowserService { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetOleObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOleObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTravelLog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTravelLog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13456,7 +13456,7 @@ impl IBrowserService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsControlWindowShown(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsControlWindowShown)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -13470,7 +13470,7 @@ impl IBrowserService { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IEParseDisplayName)(::windows::core::Interface::as_raw(self), uicp, pwszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn DisplayParseError<'a, P0>(&self, hres: ::windows::core::HRESULT, pwszpath: P0) -> ::windows::core::Result<()> @@ -13488,7 +13488,7 @@ impl IBrowserService { (::windows::core::Interface::vtable(self).SetNavigateState)(::windows::core::Interface::as_raw(self), bnstate).ok() } pub unsafe fn GetNavigateState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNavigateState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -13497,7 +13497,7 @@ impl IBrowserService { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NotifyRedirect)(::windows::core::Interface::as_raw(self), psv.into().abi(), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateWindowList(&self) -> ::windows::core::Result<()> { @@ -13510,7 +13510,7 @@ impl IBrowserService { (::windows::core::Interface::vtable(self).SetFlags)(::windows::core::Interface::as_raw(self), dwflags, dwflagmask).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanNavigateNow(&self) -> ::windows::core::Result<()> { @@ -13519,7 +13519,7 @@ impl IBrowserService { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetPidl(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPidl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -13531,7 +13531,7 @@ impl IBrowserService { ::core::mem::transmute((::windows::core::Interface::vtable(self).GetBrowserIndex)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetBrowserByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBrowserByIndex)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13559,7 +13559,7 @@ impl IBrowserService { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetSetCodePage(&self, pvarin: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSetCodePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13569,13 +13569,13 @@ impl IBrowserService { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnHttpEquiv)(::windows::core::Interface::as_raw(self), psv.into().abi(), fdone.into(), ::core::mem::transmute(pvarargin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13721,7 +13721,7 @@ impl IBrowserService2 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetParentSite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParentSite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -13744,11 +13744,11 @@ impl IBrowserService2 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetOleObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOleObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTravelLog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTravelLog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13762,7 +13762,7 @@ impl IBrowserService2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsControlWindowShown(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsControlWindowShown)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -13776,7 +13776,7 @@ impl IBrowserService2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IEParseDisplayName)(::windows::core::Interface::as_raw(self), uicp, pwszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn DisplayParseError<'a, P0>(&self, hres: ::windows::core::HRESULT, pwszpath: P0) -> ::windows::core::Result<()> @@ -13794,7 +13794,7 @@ impl IBrowserService2 { (::windows::core::Interface::vtable(self).base__.SetNavigateState)(::windows::core::Interface::as_raw(self), bnstate).ok() } pub unsafe fn GetNavigateState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNavigateState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -13803,7 +13803,7 @@ impl IBrowserService2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NotifyRedirect)(::windows::core::Interface::as_raw(self), psv.into().abi(), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateWindowList(&self) -> ::windows::core::Result<()> { @@ -13816,7 +13816,7 @@ impl IBrowserService2 { (::windows::core::Interface::vtable(self).base__.SetFlags)(::windows::core::Interface::as_raw(self), dwflags, dwflagmask).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanNavigateNow(&self) -> ::windows::core::Result<()> { @@ -13825,7 +13825,7 @@ impl IBrowserService2 { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetPidl(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPidl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -13837,7 +13837,7 @@ impl IBrowserService2 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.GetBrowserIndex)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetBrowserByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBrowserByIndex)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13865,7 +13865,7 @@ impl IBrowserService2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetSetCodePage(&self, pvarin: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSetCodePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -13875,13 +13875,13 @@ impl IBrowserService2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OnHttpEquiv)(::windows::core::Interface::as_raw(self), psv.into().abi(), fdone.into(), ::core::mem::transmute(pvarargin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13908,7 +13908,7 @@ impl IBrowserService2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13965,7 +13965,7 @@ impl IBrowserService2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateViewWindow)(::windows::core::Interface::as_raw(self), psvnew.into().abi(), psvold.into().abi(), ::core::mem::transmute(prcview), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBrowserPropSheetExt(&self, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -13974,13 +13974,13 @@ impl IBrowserService2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] pub unsafe fn GetBaseBrowserData(&self) -> ::windows::core::Result<*mut BASEBROWSERDATALH> { - let mut result__ = ::core::mem::MaybeUninit::<*mut BASEBROWSERDATALH>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBaseBrowserData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut BASEBROWSERDATALH>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -14460,7 +14460,7 @@ impl IBrowserService3 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetParentSite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetParentSite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -14483,11 +14483,11 @@ impl IBrowserService3 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetOleObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOleObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTravelLog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetTravelLog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14501,7 +14501,7 @@ impl IBrowserService3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsControlWindowShown(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsControlWindowShown)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -14515,7 +14515,7 @@ impl IBrowserService3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IEParseDisplayName)(::windows::core::Interface::as_raw(self), uicp, pwszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn DisplayParseError<'a, P0>(&self, hres: ::windows::core::HRESULT, pwszpath: P0) -> ::windows::core::Result<()> @@ -14533,7 +14533,7 @@ impl IBrowserService3 { (::windows::core::Interface::vtable(self).base__.base__.SetNavigateState)(::windows::core::Interface::as_raw(self), bnstate).ok() } pub unsafe fn GetNavigateState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNavigateState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -14542,7 +14542,7 @@ impl IBrowserService3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NotifyRedirect)(::windows::core::Interface::as_raw(self), psv.into().abi(), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateWindowList(&self) -> ::windows::core::Result<()> { @@ -14555,7 +14555,7 @@ impl IBrowserService3 { (::windows::core::Interface::vtable(self).base__.base__.SetFlags)(::windows::core::Interface::as_raw(self), dwflags, dwflagmask).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanNavigateNow(&self) -> ::windows::core::Result<()> { @@ -14564,7 +14564,7 @@ impl IBrowserService3 { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetPidl(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPidl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -14576,7 +14576,7 @@ impl IBrowserService3 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.GetBrowserIndex)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetBrowserByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBrowserByIndex)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14604,7 +14604,7 @@ impl IBrowserService3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetSetCodePage(&self, pvarin: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSetCodePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -14614,13 +14614,13 @@ impl IBrowserService3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.OnHttpEquiv)(::windows::core::Interface::as_raw(self), psv.into().abi(), fdone.into(), ::core::mem::transmute(pvarargin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14647,7 +14647,7 @@ impl IBrowserService3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14704,7 +14704,7 @@ impl IBrowserService3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateViewWindow)(::windows::core::Interface::as_raw(self), psvnew.into().abi(), psvold.into().abi(), ::core::mem::transmute(prcview), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBrowserPropSheetExt(&self, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -14713,13 +14713,13 @@ impl IBrowserService3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] pub unsafe fn GetBaseBrowserData(&self) -> ::windows::core::Result<*mut BASEBROWSERDATALH> { - let mut result__ = ::core::mem::MaybeUninit::<*mut BASEBROWSERDATALH>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBaseBrowserData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut BASEBROWSERDATALH>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -14986,7 +14986,7 @@ impl IBrowserService3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IEParseDisplayNameEx)(::windows::core::Interface::as_raw(self), uicp, pwszpath.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } } @@ -15075,7 +15075,7 @@ impl IBrowserService4 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetParentSite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetParentSite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -15098,11 +15098,11 @@ impl IBrowserService4 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetOleObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetOleObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTravelLog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetTravelLog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15116,7 +15116,7 @@ impl IBrowserService4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsControlWindowShown(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsControlWindowShown)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -15130,7 +15130,7 @@ impl IBrowserService4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IEParseDisplayName)(::windows::core::Interface::as_raw(self), uicp, pwszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn DisplayParseError<'a, P0>(&self, hres: ::windows::core::HRESULT, pwszpath: P0) -> ::windows::core::Result<()> @@ -15148,7 +15148,7 @@ impl IBrowserService4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetNavigateState)(::windows::core::Interface::as_raw(self), bnstate).ok() } pub unsafe fn GetNavigateState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetNavigateState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -15157,7 +15157,7 @@ impl IBrowserService4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.NotifyRedirect)(::windows::core::Interface::as_raw(self), psv.into().abi(), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UpdateWindowList(&self) -> ::windows::core::Result<()> { @@ -15170,7 +15170,7 @@ impl IBrowserService4 { (::windows::core::Interface::vtable(self).base__.base__.base__.SetFlags)(::windows::core::Interface::as_raw(self), dwflags, dwflagmask).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CanNavigateNow(&self) -> ::windows::core::Result<()> { @@ -15179,7 +15179,7 @@ impl IBrowserService4 { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetPidl(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPidl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -15191,7 +15191,7 @@ impl IBrowserService4 { ::core::mem::transmute((::windows::core::Interface::vtable(self).base__.base__.base__.GetBrowserIndex)(::windows::core::Interface::as_raw(self))) } pub unsafe fn GetBrowserByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetBrowserByIndex)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15219,7 +15219,7 @@ impl IBrowserService4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetSetCodePage(&self, pvarin: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetSetCodePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15229,13 +15229,13 @@ impl IBrowserService4 { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.OnHttpEquiv)(::windows::core::Interface::as_raw(self), psv.into().abi(), fdone.into(), ::core::mem::transmute(pvarargin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetPalette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetPalette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15262,7 +15262,7 @@ impl IBrowserService4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetViewRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15319,7 +15319,7 @@ impl IBrowserService4 { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateViewWindow)(::windows::core::Interface::as_raw(self), psvnew.into().abi(), psvold.into().abi(), ::core::mem::transmute(prcview), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateBrowserPropSheetExt(&self, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { @@ -15328,13 +15328,13 @@ impl IBrowserService4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetViewWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetViewWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] pub unsafe fn GetBaseBrowserData(&self) -> ::windows::core::Result<*mut BASEBROWSERDATALH> { - let mut result__ = ::core::mem::MaybeUninit::<*mut BASEBROWSERDATALH>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetBaseBrowserData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut BASEBROWSERDATALH>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -15601,7 +15601,7 @@ impl IBrowserService4 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IEParseDisplayNameEx)(::windows::core::Interface::as_raw(self), uicp, pwszpath.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15728,7 +15728,7 @@ impl ICDBurn { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasRecordableDrive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasRecordableDrive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15786,7 +15786,7 @@ pub struct ICDBurn_Vtbl { pub struct ICDBurnExt(::windows::core::IUnknown); impl ICDBurnExt { pub unsafe fn GetSupportedActionTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSupportedActionTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -15844,7 +15844,7 @@ impl ICategorizer { (::windows::core::Interface::vtable(self).GetCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(cidl), ::core::mem::transmute(apidl), ::core::mem::transmute(rgcategoryids)).ok() } pub unsafe fn GetCategoryInfo(&self, dwcategoryid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategoryInfo)(::windows::core::Interface::as_raw(self), dwcategoryid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareCategory(&self, csfflags: CATSORT_FLAGS, dwcategoryid1: u32, dwcategoryid2: u32) -> ::windows::core::Result<()> { @@ -15915,13 +15915,13 @@ impl ICategoryProvider { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetCategoryForSCID(&self, pscid: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategoryForSCID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pscid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategories(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCategories)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCategoryName(&self, pguid: *const ::windows::core::GUID, pszname: &mut [u16]) -> ::windows::core::Result<()> { @@ -16008,7 +16008,7 @@ impl IColumnManager { (::windows::core::Interface::vtable(self).GetColumnInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propkey), ::core::mem::transmute(pcmci)).ok() } pub unsafe fn GetColumnCount(&self, dwflags: CM_ENUM_FLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnCount)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -16089,13 +16089,13 @@ impl IColumnProvider { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetColumnInfo(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColumnInfo)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetItemData(&self, pscid: *const PropertiesSystem::PROPERTYKEY, pscd: *const SHCOLUMNDATA) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pscid), ::core::mem::transmute(pscd), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16274,7 +16274,7 @@ impl ICommDlgBrowser2 { (::windows::core::Interface::vtable(self).GetDefaultMenuText)(::windows::core::Interface::as_raw(self), ppshv.into().abi(), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(psztext)), psztext.len() as _).ok() } pub unsafe fn GetViewFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -16387,7 +16387,7 @@ impl ICommDlgBrowser3 { (::windows::core::Interface::vtable(self).base__.GetDefaultMenuText)(::windows::core::Interface::as_raw(self), ppshv.into().abi(), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(psztext)), psztext.len() as _).ok() } pub unsafe fn GetViewFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetViewFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -16554,7 +16554,7 @@ impl IConnectableCredentialProviderCredential { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDeselected(&self) -> ::windows::core::Result<()> { @@ -16564,13 +16564,13 @@ impl IConnectableCredentialProviderCredential { (::windows::core::Interface::vtable(self).base__.GetFieldState)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(pcpfs), ::core::mem::transmute(pcpfis)).ok() } pub unsafe fn GetStringValue(&self, dwfieldid: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmapValue(&self, dwfieldid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBitmapValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16579,14 +16579,14 @@ impl IConnectableCredentialProviderCredential { (::windows::core::Interface::vtable(self).base__.GetCheckboxValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(pbchecked), ::core::mem::transmute(ppszlabel)).ok() } pub unsafe fn GetSubmitButtonValue(&self, dwfieldid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSubmitButtonValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComboBoxValueCount(&self, dwfieldid: u32, pcitems: *mut u32, pdwselecteditem: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetComboBoxValueCount)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(pcitems), ::core::mem::transmute(pdwselecteditem)).ok() } pub unsafe fn GetComboBoxValueAt(&self, dwfieldid: u32, dwitem: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetComboBoxValueAt)(::windows::core::Interface::as_raw(self), dwfieldid, dwitem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetStringValue<'a, P0>(&self, dwfieldid: u32, psz: P0) -> ::windows::core::Result<()> @@ -16941,7 +16941,7 @@ impl IContextMenu3 { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HandleMenuMsg2)(::windows::core::Interface::as_raw(self), umsg, wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17260,7 +17260,7 @@ pub struct ICopyHookW_Vtbl { pub struct ICreateProcessInputs(::windows::core::IUnknown); impl ICreateProcessInputs { pub unsafe fn GetCreateFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCreateFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCreateFlags(&self, dwcreationflags: u32) -> ::windows::core::Result<()> { @@ -17408,11 +17408,11 @@ impl ICredentialProvider { (::windows::core::Interface::vtable(self).UnAdvise)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetFieldDescriptorCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldDescriptorCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFieldDescriptorAt(&self, dwindex: u32) -> ::windows::core::Result<*mut CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR> { - let mut result__ = ::core::mem::MaybeUninit::<*mut CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldDescriptorAt)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17421,7 +17421,7 @@ impl ICredentialProvider { (::windows::core::Interface::vtable(self).GetCredentialCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pdwcount), ::core::mem::transmute(pdwdefault), ::core::mem::transmute(pbautologonwithdefault)).ok() } pub unsafe fn GetCredentialAt(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCredentialAt)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17492,7 +17492,7 @@ impl ICredentialProviderCredential { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDeselected(&self) -> ::windows::core::Result<()> { @@ -17502,13 +17502,13 @@ impl ICredentialProviderCredential { (::windows::core::Interface::vtable(self).GetFieldState)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(pcpfs), ::core::mem::transmute(pcpfis)).ok() } pub unsafe fn GetStringValue(&self, dwfieldid: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmapValue(&self, dwfieldid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitmapValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17517,14 +17517,14 @@ impl ICredentialProviderCredential { (::windows::core::Interface::vtable(self).GetCheckboxValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(pbchecked), ::core::mem::transmute(ppszlabel)).ok() } pub unsafe fn GetSubmitButtonValue(&self, dwfieldid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubmitButtonValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComboBoxValueCount(&self, dwfieldid: u32, pcitems: *mut u32, pdwselecteditem: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetComboBoxValueCount)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(pcitems), ::core::mem::transmute(pdwselecteditem)).ok() } pub unsafe fn GetComboBoxValueAt(&self, dwfieldid: u32, dwitem: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComboBoxValueAt)(::windows::core::Interface::as_raw(self), dwfieldid, dwitem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetStringValue<'a, P0>(&self, dwfieldid: u32, psz: P0) -> ::windows::core::Result<()> @@ -17648,7 +17648,7 @@ impl ICredentialProviderCredential2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SetSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDeselected(&self) -> ::windows::core::Result<()> { @@ -17658,13 +17658,13 @@ impl ICredentialProviderCredential2 { (::windows::core::Interface::vtable(self).base__.GetFieldState)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(pcpfs), ::core::mem::transmute(pcpfis)).ok() } pub unsafe fn GetStringValue(&self, dwfieldid: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStringValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmapValue(&self, dwfieldid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBitmapValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17673,14 +17673,14 @@ impl ICredentialProviderCredential2 { (::windows::core::Interface::vtable(self).base__.GetCheckboxValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(pbchecked), ::core::mem::transmute(ppszlabel)).ok() } pub unsafe fn GetSubmitButtonValue(&self, dwfieldid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSubmitButtonValue)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComboBoxValueCount(&self, dwfieldid: u32, pcitems: *mut u32, pdwselecteditem: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.GetComboBoxValueCount)(::windows::core::Interface::as_raw(self), dwfieldid, ::core::mem::transmute(pcitems), ::core::mem::transmute(pdwselecteditem)).ok() } pub unsafe fn GetComboBoxValueAt(&self, dwfieldid: u32, dwitem: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetComboBoxValueAt)(::windows::core::Interface::as_raw(self), dwfieldid, dwitem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetStringValue<'a, P0>(&self, dwfieldid: u32, psz: P0) -> ::windows::core::Result<()> @@ -17716,7 +17716,7 @@ impl ICredentialProviderCredential2 { (::windows::core::Interface::vtable(self).base__.ReportResult)(::windows::core::Interface::as_raw(self), ntsstatus.into(), ntssubstatus.into(), ::core::mem::transmute(ppszoptionalstatustext), ::core::mem::transmute(pcpsioptionalstatusicon)).ok() } pub unsafe fn GetUserSid(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUserSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -17846,7 +17846,7 @@ impl ICredentialProviderCredentialEvents { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OnCreatingWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnCreatingWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -17979,7 +17979,7 @@ impl ICredentialProviderCredentialEvents2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OnCreatingWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OnCreatingWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeginFieldUpdates(&self) -> ::windows::core::Result<()> { @@ -18058,7 +18058,7 @@ pub struct ICredentialProviderCredentialEvents2_Vtbl { pub struct ICredentialProviderCredentialWithFieldOptions(::windows::core::IUnknown); impl ICredentialProviderCredentialWithFieldOptions { pub unsafe fn GetFieldOptions(&self, fieldid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFieldOptions)(::windows::core::Interface::as_raw(self), fieldid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18162,7 +18162,7 @@ impl ICredentialProviderFilter { (::windows::core::Interface::vtable(self).Filter)(::windows::core::Interface::as_raw(self), cpus, dwflags, ::core::mem::transmute(rgclsidproviders), ::core::mem::transmute(rgballow), ::core::mem::transmute(cproviders)).ok() } pub unsafe fn UpdateRemoteCredential(&self, pcpcsin: *const CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdateRemoteCredential)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcpcsin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18268,23 +18268,23 @@ pub struct ICredentialProviderSetUserArray_Vtbl { pub struct ICredentialProviderUser(::windows::core::IUnknown); impl ICredentialProviderUser { pub unsafe fn GetSid(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetProviderID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProviderID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetStringValue(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStringValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetValue(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18346,15 +18346,15 @@ impl ICredentialProviderUserArray { (::windows::core::Interface::vtable(self).SetProviderFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidprovidertofilterto)).ok() } pub unsafe fn GetAccountOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAccountOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAt(&self, userindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), userindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18409,11 +18409,11 @@ impl ICurrentItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -18677,7 +18677,7 @@ impl IDataObjectAsyncCapability { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAsyncMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAsyncMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -18691,7 +18691,7 @@ impl IDataObjectAsyncCapability { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InOperation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InOperation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -18770,7 +18770,7 @@ impl IDataObjectProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDataObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -19009,7 +19009,7 @@ impl IDefaultFolderMenuInitialize { (::windows::core::Interface::vtable(self).SetMenuRestrictions)(::windows::core::Interface::as_raw(self), dfmrvalues).ok() } pub unsafe fn GetMenuRestrictions(&self, dfmrmask: DEFAULT_FOLDER_MENU_RESTRICTIONS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMenuRestrictions)(::windows::core::Interface::as_raw(self), dfmrmask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHandlerClsid(&self, rclsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -19127,11 +19127,11 @@ impl IDelegateItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19199,7 +19199,7 @@ impl IDeskBand { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -19334,7 +19334,7 @@ impl IDeskBand2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -19373,7 +19373,7 @@ impl IDeskBand2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanRenderComposited(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanRenderComposited)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19387,7 +19387,7 @@ impl IDeskBand2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCompositionState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompositionState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19511,7 +19511,7 @@ pub struct IDeskBand2_Vtbl { pub struct IDeskBandInfo(::windows::core::IUnknown); impl IDeskBandInfo { pub unsafe fn GetDefaultBandWidth(&self, dwbandid: u32, dwviewmode: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultBandWidth)(::windows::core::Interface::as_raw(self), dwbandid, dwviewmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19565,7 +19565,7 @@ impl IDeskBar { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -19583,7 +19583,7 @@ impl IDeskBar { (::windows::core::Interface::vtable(self).SetClient)(::windows::core::Interface::as_raw(self), punkclient.into().abi()).ok() } pub unsafe fn GetClient(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19674,7 +19674,7 @@ impl IDeskBarClient { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -19700,7 +19700,7 @@ impl IDeskBarClient { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSize(&self, dwwhich: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), dwwhich, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19845,15 +19845,15 @@ impl IDesktopWallpaper { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWallpaper)(::windows::core::Interface::as_raw(self), monitorid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMonitorDevicePathAt(&self, monitorindex: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMonitorDevicePathAt)(::windows::core::Interface::as_raw(self), monitorindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMonitorDevicePathCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMonitorDevicePathCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19862,21 +19862,21 @@ impl IDesktopWallpaper { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMonitorRECT)(::windows::core::Interface::as_raw(self), monitorid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackgroundColor(&self, color: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBackgroundColor)(::windows::core::Interface::as_raw(self), color).ok() } pub unsafe fn GetBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPosition(&self, position: DESKTOP_WALLPAPER_POSITION) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetPosition)(::windows::core::Interface::as_raw(self), position).ok() } pub unsafe fn GetPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSlideshow<'a, P0>(&self, items: P0) -> ::windows::core::Result<()> @@ -19886,7 +19886,7 @@ impl IDesktopWallpaper { (::windows::core::Interface::vtable(self).SetSlideshow)(::windows::core::Interface::as_raw(self), items.into().abi()).ok() } pub unsafe fn GetSlideshow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSlideshow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSlideshowOptions(&self, options: DESKTOP_SLIDESHOW_OPTIONS, slideshowtick: u32) -> ::windows::core::Result<()> { @@ -19902,7 +19902,7 @@ impl IDesktopWallpaper { (::windows::core::Interface::vtable(self).AdvanceSlideshow)(::windows::core::Interface::as_raw(self), monitorid.into(), direction).ok() } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19983,7 +19983,7 @@ impl IDestinationStreamFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDestinationStream(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDestinationStream)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20038,11 +20038,11 @@ impl IDisplayItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20164,7 +20164,7 @@ impl IDockingWindow { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -20281,7 +20281,7 @@ impl IDockingWindowFrame { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -20391,7 +20391,7 @@ impl IDockingWindowSite { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -20408,7 +20408,7 @@ impl IDockingWindowSite { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBorderDW)(::windows::core::Interface::as_raw(self), punkobj.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20761,7 +20761,7 @@ impl IDynamicHWHandler { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDynamicInfo)(::windows::core::Interface::as_raw(self), pszdeviceid.into(), dwcontenttype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -20915,7 +20915,7 @@ impl IEnumACString { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NextItem(&self, pszurl: &mut [u16], pulsortindex: *mut u32) -> ::windows::core::Result<()> { @@ -20925,7 +20925,7 @@ impl IEnumACString { (::windows::core::Interface::vtable(self).SetEnumOptions)(::windows::core::Interface::as_raw(self), dwoptions).ok() } pub unsafe fn GetEnumOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21062,7 +21062,7 @@ impl IEnumExplorerCommand { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21124,7 +21124,7 @@ impl IEnumExtraSearch { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21188,7 +21188,7 @@ impl IEnumFullIDList { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21253,7 +21253,7 @@ impl IEnumHLITEM { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21317,7 +21317,7 @@ impl IEnumIDList { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21382,7 +21382,7 @@ impl IEnumObjects { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21435,7 +21435,7 @@ pub struct IEnumObjects_Vtbl { pub struct IEnumPublishedApps(::windows::core::IUnknown); impl IEnumPublishedApps { pub unsafe fn Next(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reset(&self) -> ::windows::core::Result<()> { @@ -21547,7 +21547,7 @@ impl IEnumResources { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21609,7 +21609,7 @@ impl IEnumShellItems { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21671,7 +21671,7 @@ impl IEnumSyncMgrConflict { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21733,7 +21733,7 @@ impl IEnumSyncMgrEvents { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21795,7 +21795,7 @@ impl IEnumSyncMgrSyncItems { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21857,7 +21857,7 @@ impl IEnumTravelLogEntry { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -21918,7 +21918,7 @@ impl IEnumerableView { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn CreateEnumIDListFromContents(&self, pidlfolder: *const Common::ITEMIDLIST, dwenumflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEnumIDListFromContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidlfolder), dwenumflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22064,7 +22064,7 @@ pub struct IExecuteCommand_Vtbl { pub struct IExecuteCommandApplicationHostEnvironment(::windows::core::IUnknown); impl IExecuteCommandApplicationHostEnvironment { pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22114,7 +22114,7 @@ pub struct IExecuteCommandApplicationHostEnvironment_Vtbl { pub struct IExecuteCommandHost(::windows::core::IUnknown); impl IExecuteCommandHost { pub unsafe fn GetUIMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUIMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22166,7 +22166,7 @@ impl IExpDispSupport { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FindConnectionPoint(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindConnectionPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -22239,7 +22239,7 @@ impl IExpDispSupportXP { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FindCIE4ConnectionPoint(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindCIE4ConnectionPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -22344,7 +22344,7 @@ impl IExplorerBrowser { where P0: ::std::convert::Into<::windows::core::InParam<'a, IExplorerBrowserEvents>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), psbe.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -22354,7 +22354,7 @@ impl IExplorerBrowser { (::windows::core::Interface::vtable(self).SetOptions)(::windows::core::Interface::as_raw(self), dwflag).ok() } pub unsafe fn GetOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -22541,25 +22541,25 @@ impl IExplorerCommand { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItemArray>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTitle)(::windows::core::Interface::as_raw(self), psiitemarray.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetIcon<'a, P0>(&self, psiitemarray: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItemArray>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIcon)(::windows::core::Interface::as_raw(self), psiitemarray.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetToolTip<'a, P0>(&self, psiitemarray: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItemArray>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetToolTip)(::windows::core::Interface::as_raw(self), psiitemarray.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetCanonicalName(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCanonicalName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22569,7 +22569,7 @@ impl IExplorerCommand { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItemArray>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), psiitemarray.into().abi(), foktobeslow.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -22582,11 +22582,11 @@ impl IExplorerCommand { (::windows::core::Interface::vtable(self).Invoke)(::windows::core::Interface::as_raw(self), psiitemarray.into().abi(), pbc.into().abi()).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumSubCommands(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumSubCommands)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22717,7 +22717,7 @@ impl IExplorerCommandState { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItemArray>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), psiitemarray.into().abi(), foktobeslow.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22770,7 +22770,7 @@ pub struct IExplorerCommandState_Vtbl { pub struct IExplorerPaneVisibility(::windows::core::IUnknown); impl IExplorerPaneVisibility { pub unsafe fn GetPaneState(&self, ep: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPaneState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ep), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23015,7 +23015,7 @@ impl IExtractImage { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn Extract(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Extract)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23079,13 +23079,13 @@ impl IExtractImage2 { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn Extract(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Extract)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDateStamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDateStamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23169,14 +23169,14 @@ impl IFileDialog { (::windows::core::Interface::vtable(self).SetFileTypeIndex)(::windows::core::Interface::as_raw(self), ifiletype).ok() } pub unsafe fn GetFileTypeIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileTypeIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Advise<'a, P0>(&self, pfde: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IFileDialogEvents>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), pfde.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -23186,7 +23186,7 @@ impl IFileDialog { (::windows::core::Interface::vtable(self).SetOptions)(::windows::core::Interface::as_raw(self), fos).ok() } pub unsafe fn GetOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultFolder<'a, P0>(&self, psi: P0) -> ::windows::core::Result<()> @@ -23202,11 +23202,11 @@ impl IFileDialog { (::windows::core::Interface::vtable(self).SetFolder)(::windows::core::Interface::as_raw(self), psi.into().abi()).ok() } pub unsafe fn GetFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileName<'a, P0>(&self, pszname: P0) -> ::windows::core::Result<()> @@ -23216,7 +23216,7 @@ impl IFileDialog { (::windows::core::Interface::vtable(self).SetFileName)(::windows::core::Interface::as_raw(self), pszname.into()).ok() } pub unsafe fn GetFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTitle<'a, P0>(&self, psztitle: P0) -> ::windows::core::Result<()> @@ -23238,7 +23238,7 @@ impl IFileDialog { (::windows::core::Interface::vtable(self).SetFileNameLabel)(::windows::core::Interface::as_raw(self), pszlabel.into()).ok() } pub unsafe fn GetResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddPlace<'a, P0>(&self, psi: P0, fdap: FDAP) -> ::windows::core::Result<()> @@ -23371,14 +23371,14 @@ impl IFileDialog2 { (::windows::core::Interface::vtable(self).base__.SetFileTypeIndex)(::windows::core::Interface::as_raw(self), ifiletype).ok() } pub unsafe fn GetFileTypeIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileTypeIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Advise<'a, P0>(&self, pfde: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IFileDialogEvents>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Advise)(::windows::core::Interface::as_raw(self), pfde.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -23388,7 +23388,7 @@ impl IFileDialog2 { (::windows::core::Interface::vtable(self).base__.SetOptions)(::windows::core::Interface::as_raw(self), fos).ok() } pub unsafe fn GetOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultFolder<'a, P0>(&self, psi: P0) -> ::windows::core::Result<()> @@ -23404,11 +23404,11 @@ impl IFileDialog2 { (::windows::core::Interface::vtable(self).base__.SetFolder)(::windows::core::Interface::as_raw(self), psi.into().abi()).ok() } pub unsafe fn GetFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileName<'a, P0>(&self, pszname: P0) -> ::windows::core::Result<()> @@ -23418,7 +23418,7 @@ impl IFileDialog2 { (::windows::core::Interface::vtable(self).base__.SetFileName)(::windows::core::Interface::as_raw(self), pszname.into()).ok() } pub unsafe fn GetFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTitle<'a, P0>(&self, psztitle: P0) -> ::windows::core::Result<()> @@ -23440,7 +23440,7 @@ impl IFileDialog2 { (::windows::core::Interface::vtable(self).base__.SetFileNameLabel)(::windows::core::Interface::as_raw(self), pszlabel.into()).ok() } pub unsafe fn GetResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddPlace<'a, P0>(&self, psi: P0, fdap: FDAP) -> ::windows::core::Result<()> @@ -23690,14 +23690,14 @@ impl IFileDialogCustomize { (::windows::core::Interface::vtable(self).SetControlLabel)(::windows::core::Interface::as_raw(self), dwidctl, pszlabel.into()).ok() } pub unsafe fn GetControlState(&self, dwidctl: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetControlState)(::windows::core::Interface::as_raw(self), dwidctl, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetControlState(&self, dwidctl: u32, dwstate: CDCONTROLSTATEF) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetControlState)(::windows::core::Interface::as_raw(self), dwidctl, dwstate).ok() } pub unsafe fn GetEditBoxText(&self, dwidctl: u32) -> ::windows::core::Result<*mut u16> { - let mut result__ = ::core::mem::MaybeUninit::<*mut u16>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEditBoxText)(::windows::core::Interface::as_raw(self), dwidctl, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut u16>(result__) } pub unsafe fn SetEditBoxText<'a, P0>(&self, dwidctl: u32, psztext: P0) -> ::windows::core::Result<()> @@ -23709,7 +23709,7 @@ impl IFileDialogCustomize { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCheckButtonState(&self, dwidctl: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCheckButtonState)(::windows::core::Interface::as_raw(self), dwidctl, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23733,14 +23733,14 @@ impl IFileDialogCustomize { (::windows::core::Interface::vtable(self).RemoveAllControlItems)(::windows::core::Interface::as_raw(self), dwidctl).ok() } pub unsafe fn GetControlItemState(&self, dwidctl: u32, dwiditem: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetControlItemState)(::windows::core::Interface::as_raw(self), dwidctl, dwiditem, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetControlItemState(&self, dwidctl: u32, dwiditem: u32, dwstate: CDCONTROLSTATEF) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetControlItemState)(::windows::core::Interface::as_raw(self), dwidctl, dwiditem, dwstate).ok() } pub unsafe fn GetSelectedControlItem(&self, dwidctl: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectedControlItem)(::windows::core::Interface::as_raw(self), dwidctl, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelectedControlItem(&self, dwidctl: u32, dwiditem: u32) -> ::windows::core::Result<()> { @@ -23875,7 +23875,7 @@ impl IFileDialogEvents { P0: ::std::convert::Into<::windows::core::InParam<'a, IFileDialog>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnShareViolation)(::windows::core::Interface::as_raw(self), pfd.into().abi(), psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnTypeChange<'a, P0>(&self, pfd: P0) -> ::windows::core::Result<()> @@ -23889,7 +23889,7 @@ impl IFileDialogEvents { P0: ::std::convert::Into<::windows::core::InParam<'a, IFileDialog>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnOverwrite)(::windows::core::Interface::as_raw(self), pfd.into().abi(), psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23945,21 +23945,21 @@ pub struct IFileDialogEvents_Vtbl { pub struct IFileIsInUse(::windows::core::IUnknown); impl IFileIsInUse { pub unsafe fn GetAppName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAppName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetUsage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUsage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSwitchToHWND(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSwitchToHWND)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloseFile(&self) -> ::windows::core::Result<()> { @@ -24035,14 +24035,14 @@ impl IFileOpenDialog { (::windows::core::Interface::vtable(self).base__.SetFileTypeIndex)(::windows::core::Interface::as_raw(self), ifiletype).ok() } pub unsafe fn GetFileTypeIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileTypeIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Advise<'a, P0>(&self, pfde: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IFileDialogEvents>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Advise)(::windows::core::Interface::as_raw(self), pfde.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -24052,7 +24052,7 @@ impl IFileOpenDialog { (::windows::core::Interface::vtable(self).base__.SetOptions)(::windows::core::Interface::as_raw(self), fos).ok() } pub unsafe fn GetOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultFolder<'a, P0>(&self, psi: P0) -> ::windows::core::Result<()> @@ -24068,11 +24068,11 @@ impl IFileOpenDialog { (::windows::core::Interface::vtable(self).base__.SetFolder)(::windows::core::Interface::as_raw(self), psi.into().abi()).ok() } pub unsafe fn GetFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileName<'a, P0>(&self, pszname: P0) -> ::windows::core::Result<()> @@ -24082,7 +24082,7 @@ impl IFileOpenDialog { (::windows::core::Interface::vtable(self).base__.SetFileName)(::windows::core::Interface::as_raw(self), pszname.into()).ok() } pub unsafe fn GetFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTitle<'a, P0>(&self, psztitle: P0) -> ::windows::core::Result<()> @@ -24104,7 +24104,7 @@ impl IFileOpenDialog { (::windows::core::Interface::vtable(self).base__.SetFileNameLabel)(::windows::core::Interface::as_raw(self), pszlabel.into()).ok() } pub unsafe fn GetResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddPlace<'a, P0>(&self, psi: P0, fdap: FDAP) -> ::windows::core::Result<()> @@ -24135,11 +24135,11 @@ impl IFileOpenDialog { (::windows::core::Interface::vtable(self).base__.SetFilter)(::windows::core::Interface::as_raw(self), pfilter.into().abi()).ok() } pub unsafe fn GetResults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelectedItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24223,7 +24223,7 @@ impl IFileOperation { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFileOperationProgressSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), pfops.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -24347,7 +24347,7 @@ impl IFileOperation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAnyOperationsAborted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAnyOperationsAborted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24428,7 +24428,7 @@ impl IFileOperation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IFileOperationProgressSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Advise)(::windows::core::Interface::as_raw(self), pfops.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -24552,7 +24552,7 @@ impl IFileOperation2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAnyOperationsAborted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAnyOperationsAborted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOperationFlags2(&self, operationflags2: FILE_OPERATION_FLAGS2) -> ::windows::core::Result<()> { @@ -24793,14 +24793,14 @@ impl IFileSaveDialog { (::windows::core::Interface::vtable(self).base__.SetFileTypeIndex)(::windows::core::Interface::as_raw(self), ifiletype).ok() } pub unsafe fn GetFileTypeIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileTypeIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Advise<'a, P0>(&self, pfde: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IFileDialogEvents>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Advise)(::windows::core::Interface::as_raw(self), pfde.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -24810,7 +24810,7 @@ impl IFileSaveDialog { (::windows::core::Interface::vtable(self).base__.SetOptions)(::windows::core::Interface::as_raw(self), fos).ok() } pub unsafe fn GetOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultFolder<'a, P0>(&self, psi: P0) -> ::windows::core::Result<()> @@ -24826,11 +24826,11 @@ impl IFileSaveDialog { (::windows::core::Interface::vtable(self).base__.SetFolder)(::windows::core::Interface::as_raw(self), psi.into().abi()).ok() } pub unsafe fn GetFolder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileName<'a, P0>(&self, pszname: P0) -> ::windows::core::Result<()> @@ -24840,7 +24840,7 @@ impl IFileSaveDialog { (::windows::core::Interface::vtable(self).base__.SetFileName)(::windows::core::Interface::as_raw(self), pszname.into()).ok() } pub unsafe fn GetFileName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFileName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTitle<'a, P0>(&self, psztitle: P0) -> ::windows::core::Result<()> @@ -24862,7 +24862,7 @@ impl IFileSaveDialog { (::windows::core::Interface::vtable(self).base__.SetFileNameLabel)(::windows::core::Interface::as_raw(self), pszlabel.into()).ok() } pub unsafe fn GetResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddPlace<'a, P0>(&self, psi: P0, fdap: FDAP) -> ::windows::core::Result<()> @@ -24918,7 +24918,7 @@ impl IFileSaveDialog { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -25037,19 +25037,19 @@ impl IFileSearchBand { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn QueryFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25146,7 +25146,7 @@ impl IFileSyncMergeHandler { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Merge)(::windows::core::Interface::as_raw(self), localfilepath.into(), serverfilepath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -25216,7 +25216,7 @@ impl IFileSystemBindData { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] pub unsafe fn GetFindData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFindData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25280,21 +25280,21 @@ impl IFileSystemBindData2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] pub unsafe fn GetFindData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFindData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFileID(&self, lifileid: i64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFileID)(::windows::core::Interface::as_raw(self), lifileid).ok() } pub unsafe fn GetFileID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetJunctionCLSID(&self, clsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetJunctionCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsid)).ok() } pub unsafe fn GetJunctionCLSID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetJunctionCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -25576,7 +25576,7 @@ pub struct IFolderFilterSite_Vtbl { pub struct IFolderView(::windows::core::IUnknown); impl IFolderView { pub unsafe fn GetCurrentViewMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentViewMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentViewMode(&self, viewmode: u32) -> ::windows::core::Result<()> { @@ -25592,11 +25592,11 @@ impl IFolderView { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn Item(&self, iitemindex: i32) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), iitemindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn ItemCount(&self, uflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ItemCount)(::windows::core::Interface::as_raw(self), uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Items(&self, uflags: u32) -> ::windows::core::Result @@ -25607,17 +25607,17 @@ impl IFolderView { (::windows::core::Interface::vtable(self).Items)(::windows::core::Interface::as_raw(self), uflags, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetSelectionMarkedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectionMarkedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFocusedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub unsafe fn GetItemPosition(&self, pidl: *const Common::ITEMIDLIST) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25628,7 +25628,7 @@ impl IFolderView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDefaultSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAutoArrange(&self) -> ::windows::core::Result<()> { @@ -25717,7 +25717,7 @@ pub struct IFolderView_Vtbl { pub struct IFolderView2(::windows::core::IUnknown); impl IFolderView2 { pub unsafe fn GetCurrentViewMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentViewMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentViewMode(&self, viewmode: u32) -> ::windows::core::Result<()> { @@ -25733,11 +25733,11 @@ impl IFolderView2 { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn Item(&self, iitemindex: i32) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Item)(::windows::core::Interface::as_raw(self), iitemindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn ItemCount(&self, uflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ItemCount)(::windows::core::Interface::as_raw(self), uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Items(&self, uflags: u32) -> ::windows::core::Result @@ -25748,17 +25748,17 @@ impl IFolderView2 { (::windows::core::Interface::vtable(self).base__.Items)(::windows::core::Interface::as_raw(self), uflags, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetSelectionMarkedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelectionMarkedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocusedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFocusedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] pub unsafe fn GetItemPosition(&self, pidl: *const Common::ITEMIDLIST) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25769,7 +25769,7 @@ impl IFolderView2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDefaultSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDefaultSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAutoArrange(&self) -> ::windows::core::Result<()> { @@ -25804,7 +25804,7 @@ impl IFolderView2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetViewProperty(&self, pidl: *const Common::ITEMIDLIST, propkey: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(propkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -25833,11 +25833,11 @@ impl IFolderView2 { (::windows::core::Interface::vtable(self).SetCurrentFolderFlags)(::windows::core::Interface::as_raw(self), dwmask, dwflags).ok() } pub unsafe fn GetCurrentFolderFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentFolderFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSortColumnCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSortColumnCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -25863,11 +25863,11 @@ impl IFolderView2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVisibleItem)(::windows::core::Interface::as_raw(self), istart, fprevious.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelectedItem(&self, istart: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectedItem)(::windows::core::Interface::as_raw(self), istart, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25876,13 +25876,13 @@ impl IFolderView2 { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection)(::windows::core::Interface::as_raw(self), fnoneimpliesfolder.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetSelectionState(&self, pidl: *const Common::ITEMIDLIST) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectionState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InvokeVerbOnSelection<'a, P0>(&self, pszverb: P0) -> ::windows::core::Result<()> @@ -25901,7 +25901,7 @@ impl IFolderView2 { (::windows::core::Interface::vtable(self).SetGroupSubsetCount)(::windows::core::Interface::as_raw(self), cvisiblerows).ok() } pub unsafe fn GetGroupSubsetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroupSubsetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26187,7 +26187,7 @@ impl IFolderViewOptions { (::windows::core::Interface::vtable(self).SetFolderViewOptions)(::windows::core::Interface::as_raw(self), fvomask, fvoflags).ok() } pub unsafe fn GetFolderViewOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolderViewOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26250,11 +26250,11 @@ impl IFolderViewSettings { (::windows::core::Interface::vtable(self).GetGroupByProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pkey), ::core::mem::transmute(pfgroupascending)).ok() } pub unsafe fn GetViewMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIconSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIconSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFolderFlags(&self, pfoldermask: *mut FOLDERFLAGS, pfolderflags: *mut FOLDERFLAGS) -> ::windows::core::Result<()> { @@ -26266,7 +26266,7 @@ impl IFolderViewSettings { (::windows::core::Interface::vtable(self).GetSortColumns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(rgsortcolumns)), rgsortcolumns.len() as _, ::core::mem::transmute(pccolumnsout)).ok() } pub unsafe fn GetGroupSubsetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGroupSubsetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26332,7 +26332,7 @@ impl IFrameworkInputPane { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IFrameworkInputPaneHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), pwindow.into().abi(), phandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26342,7 +26342,7 @@ impl IFrameworkInputPane { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, IFrameworkInputPaneHandler>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdviseWithHWND)(::windows::core::Interface::as_raw(self), hwnd.into(), phandler.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -26351,7 +26351,7 @@ impl IFrameworkInputPane { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26768,15 +26768,15 @@ pub struct IHandlerActivationHost_Vtbl { pub struct IHandlerInfo(::windows::core::IUnknown); impl IHandlerInfo { pub unsafe fn GetApplicationDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplicationDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetApplicationPublisher(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplicationPublisher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetApplicationIconReference(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplicationIconReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -26828,19 +26828,19 @@ pub struct IHandlerInfo_Vtbl { pub struct IHandlerInfo2(::windows::core::IUnknown); impl IHandlerInfo2 { pub unsafe fn GetApplicationDisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetApplicationDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetApplicationPublisher(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetApplicationPublisher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetApplicationIconReference(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetApplicationIconReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetApplicationId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplicationId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -26944,7 +26944,7 @@ impl IHlink { (::windows::core::Interface::vtable(self).SetFriendlyName)(::windows::core::Interface::as_raw(self), pwzfriendlyname.into()).ok() } pub unsafe fn GetFriendlyName(&self, grfhlfnamef: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFriendlyName)(::windows::core::Interface::as_raw(self), grfhlfnamef, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetTargetFrameName<'a, P0>(&self, pwztargetframename: P0) -> ::windows::core::Result<()> @@ -26954,11 +26954,11 @@ impl IHlink { (::windows::core::Interface::vtable(self).SetTargetFrameName)(::windows::core::Interface::as_raw(self), pwztargetframename.into()).ok() } pub unsafe fn GetTargetFrameName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetFrameName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetMiscStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMiscStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26978,7 +26978,7 @@ impl IHlink { (::windows::core::Interface::vtable(self).SetAdditionalParams)(::windows::core::Interface::as_raw(self), pwzadditionalparams.into()).ok() } pub unsafe fn GetAdditionalParams(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAdditionalParams)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -27056,7 +27056,7 @@ impl IHlinkBrowseContext { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IMoniker>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Register)(::windows::core::Interface::as_raw(self), reserved, piunk.into().abi(), pimk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -27066,7 +27066,7 @@ impl IHlinkBrowseContext { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IMoniker>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), pimk.into().abi(), fbindifrootregistered.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Revoke(&self, dwregister: u32) -> ::windows::core::Result<()> { @@ -27080,7 +27080,7 @@ impl IHlinkBrowseContext { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBrowseWindowInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBrowseWindowInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -27101,7 +27101,7 @@ impl IHlinkBrowseContext { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnNavigateHlink)(::windows::core::Interface::as_raw(self), grfhlnf, pimktarget.into().abi(), pwzlocation.into(), pwzfriendlyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -27115,14 +27115,14 @@ impl IHlinkBrowseContext { (::windows::core::Interface::vtable(self).UpdateHlink)(::windows::core::Interface::as_raw(self), uhlid, pimktarget.into().abi(), pwzlocation.into(), pwzfriendlyname.into()).ok() } pub unsafe fn EnumNavigationStack(&self, dwreserved: u32, grfhlfnamef: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumNavigationStack)(::windows::core::Interface::as_raw(self), dwreserved, grfhlfnamef, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryHlink(&self, grfhlqf: u32, uhlid: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).QueryHlink)(::windows::core::Interface::as_raw(self), grfhlqf, uhlid).ok() } pub unsafe fn GetHlink(&self, uhlid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHlink)(::windows::core::Interface::as_raw(self), uhlid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentHlink(&self, uhlid: u32) -> ::windows::core::Result<()> { @@ -27132,7 +27132,7 @@ impl IHlinkBrowseContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), piunkouter.into().abi(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Close(&self, reserved: u32) -> ::windows::core::Result<()> { @@ -27225,7 +27225,7 @@ impl IHlinkFrame { (::windows::core::Interface::vtable(self).SetBrowseContext)(::windows::core::Interface::as_raw(self), pihlbc.into().abi()).ok() } pub unsafe fn GetBrowseContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBrowseContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -27318,13 +27318,13 @@ pub struct IHlinkFrame_Vtbl { pub struct IHlinkSite(::windows::core::IUnknown); impl IHlinkSite { pub unsafe fn QueryService(&self, dwsitedata: u32, guidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryService)(::windows::core::Interface::as_raw(self), dwsitedata, ::core::mem::transmute(guidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMoniker(&self, dwsitedata: u32, dwassign: u32, dwwhich: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMoniker)(::windows::core::Interface::as_raw(self), dwsitedata, dwassign, dwwhich, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReadyToNavigate(&self, dwsitedata: u32, dwreserved: u32) -> ::windows::core::Result<()> { @@ -27395,7 +27395,7 @@ impl IHlinkTarget { (::windows::core::Interface::vtable(self).SetBrowseContext)(::windows::core::Interface::as_raw(self), pihlbc.into().abi()).ok() } pub unsafe fn GetBrowseContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBrowseContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Navigate<'a, P0>(&self, grfhlnf: u32, pwzjumplocation: P0) -> ::windows::core::Result<()> @@ -27410,14 +27410,14 @@ impl IHlinkTarget { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMoniker)(::windows::core::Interface::as_raw(self), pwzlocation.into(), dwassign, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFriendlyName<'a, P0>(&self, pwzlocation: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFriendlyName)(::windows::core::Interface::as_raw(self), pwzlocation.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -27476,7 +27476,7 @@ impl IHomeGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsMember(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMember)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27485,7 +27485,7 @@ impl IHomeGroup { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowSharingWizard)(::windows::core::Interface::as_raw(self), owner.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27597,11 +27597,11 @@ impl IIdentityName { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27671,7 +27671,7 @@ impl IImageRecompress { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::StructuredStorage::IStorage>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecompressImage)(::windows::core::Interface::as_raw(self), psi.into().abi(), cx, cy, iquality, pstg.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28541,7 +28541,7 @@ impl IItemNameLimits { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxLength)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28592,11 +28592,11 @@ pub struct IItemNameLimits_Vtbl { pub struct IKnownFolder(::windows::core::IUnknown); impl IKnownFolder { pub unsafe fn GetId(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetCategory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetShellItem(&self, dwflags: u32) -> ::windows::core::Result @@ -28607,7 +28607,7 @@ impl IKnownFolder { (::windows::core::Interface::vtable(self).GetShellItem)(::windows::core::Interface::as_raw(self), dwflags, &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetPath(&self, dwflags: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPath)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetPath<'a, P0>(&self, dwflags: u32, pszpath: P0) -> ::windows::core::Result<()> @@ -28619,19 +28619,19 @@ impl IKnownFolder { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self, dwflags: u32) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIDList)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetFolderType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetRedirectionCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRedirectionCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFolderDefinition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolderDefinition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28692,25 +28692,25 @@ pub struct IKnownFolder_Vtbl { pub struct IKnownFolderManager(::windows::core::IUnknown); impl IKnownFolderManager { pub unsafe fn FolderIdFromCsidl(&self, ncsidl: i32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FolderIdFromCsidl)(::windows::core::Interface::as_raw(self), ncsidl, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn FolderIdToCsidl(&self, rfid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FolderIdToCsidl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rfid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFolderIds(&self, ppkfid: *mut *mut ::windows::core::GUID, pcount: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetFolderIds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppkfid), ::core::mem::transmute(pcount)).ok() } pub unsafe fn GetFolder(&self, rfid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rfid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFolderByName<'a, P0>(&self, pszcanonicalname: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolderByName)(::windows::core::Interface::as_raw(self), pszcanonicalname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterFolder(&self, rfid: *const ::windows::core::GUID, pkfd: *const KNOWNFOLDER_DEFINITION) -> ::windows::core::Result<()> { @@ -28723,13 +28723,13 @@ impl IKnownFolderManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFolderFromPath)(::windows::core::Interface::as_raw(self), pszpath.into(), mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn FindFolderFromIDList(&self, pidl: *const Common::ITEMIDLIST) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFolderFromIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -28739,7 +28739,7 @@ impl IKnownFolderManager { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Redirect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rfid), hwnd.into(), flags, psztargetpath.into(), pexclusion.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pexclusion)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -28952,7 +28952,7 @@ where extern "system" { fn ILLoadFromStreamEx(pstm: *mut ::core::ffi::c_void, pidl: *mut *mut Common::ITEMIDLIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); ILLoadFromStreamEx(pstm.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -28985,7 +28985,7 @@ where pub struct ILaunchSourceAppUserModelId(::windows::core::IUnknown); impl ILaunchSourceAppUserModelId { pub unsafe fn GetAppUserModelId(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAppUserModelId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -29037,11 +29037,11 @@ impl ILaunchSourceViewSizePreference { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSourceViewToPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceViewToPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSourceViewSizePreference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceViewSizePreference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29097,7 +29097,7 @@ impl ILaunchTargetMonitor { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetMonitor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMonitor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29150,7 +29150,7 @@ pub struct ILaunchTargetMonitor_Vtbl { pub struct ILaunchTargetViewSizePreference(::windows::core::IUnknown); impl ILaunchTargetViewSizePreference { pub unsafe fn GetTargetViewSizePreference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetViewSizePreference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29386,7 +29386,7 @@ impl IMenuPopup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -29404,7 +29404,7 @@ impl IMenuPopup { (::windows::core::Interface::vtable(self).base__.SetClient)(::windows::core::Interface::as_raw(self), punkclient.into().abi()).ok() } pub unsafe fn GetClient(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29595,7 +29595,7 @@ impl INameSpaceTreeAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnGetDefaultAccessibilityAction)(::windows::core::Interface::as_raw(self), psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnDoDefaultAccessibilityAction<'a, P0>(&self, psi: P0) -> ::windows::core::Result<()> @@ -29610,7 +29610,7 @@ impl INameSpaceTreeAccessible { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnGetAccessibilityRole)(::windows::core::Interface::as_raw(self), psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29679,7 +29679,7 @@ impl INameSpaceTreeControl { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TreeAdvise)(::windows::core::Interface::as_raw(self), punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TreeUnadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -29709,7 +29709,7 @@ impl INameSpaceTreeControl { (::windows::core::Interface::vtable(self).RemoveAllRoots)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetRootItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRootItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetItemState<'a, P0>(&self, psi: P0, nstcismask: u32, nstcisflags: u32) -> ::windows::core::Result<()> @@ -29722,18 +29722,18 @@ impl INameSpaceTreeControl { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemState)(::windows::core::Interface::as_raw(self), psi.into().abi(), nstcismask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelectedItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemCustomState<'a, P0>(&self, psi: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemCustomState)(::windows::core::Interface::as_raw(self), psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetItemCustomState<'a, P0>(&self, psi: P0, istatenumber: i32) -> ::windows::core::Result<()> @@ -29758,13 +29758,13 @@ impl INameSpaceTreeControl { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextItem)(::windows::core::Interface::as_raw(self), psi.into().abi(), nstcgi, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HitTest(&self, ppt: *const super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HitTest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29773,7 +29773,7 @@ impl INameSpaceTreeControl { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemRect)(::windows::core::Interface::as_raw(self), psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CollapseAll(&self) -> ::windows::core::Result<()> { @@ -29864,7 +29864,7 @@ impl INameSpaceTreeControl2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TreeAdvise)(::windows::core::Interface::as_raw(self), punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TreeUnadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -29894,7 +29894,7 @@ impl INameSpaceTreeControl2 { (::windows::core::Interface::vtable(self).base__.RemoveAllRoots)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetRootItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRootItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetItemState<'a, P0>(&self, psi: P0, nstcismask: u32, nstcisflags: u32) -> ::windows::core::Result<()> @@ -29907,18 +29907,18 @@ impl INameSpaceTreeControl2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemState)(::windows::core::Interface::as_raw(self), psi.into().abi(), nstcismask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelectedItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelectedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemCustomState<'a, P0>(&self, psi: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemCustomState)(::windows::core::Interface::as_raw(self), psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetItemCustomState<'a, P0>(&self, psi: P0, istatenumber: i32) -> ::windows::core::Result<()> @@ -29943,13 +29943,13 @@ impl INameSpaceTreeControl2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNextItem)(::windows::core::Interface::as_raw(self), psi.into().abi(), nstcgi, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HitTest(&self, ppt: *const super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HitTest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppt), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29958,7 +29958,7 @@ impl INameSpaceTreeControl2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemRect)(::windows::core::Interface::as_raw(self), psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CollapseAll(&self) -> ::windows::core::Result<()> { @@ -29968,14 +29968,14 @@ impl INameSpaceTreeControl2 { (::windows::core::Interface::vtable(self).SetControlStyle)(::windows::core::Interface::as_raw(self), nstcsmask, nstcsstyle).ok() } pub unsafe fn GetControlStyle(&self, nstcsmask: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetControlStyle)(::windows::core::Interface::as_raw(self), nstcsmask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetControlStyle2(&self, nstcsmask: NSTCSTYLE2, nstcsstyle: NSTCSTYLE2) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetControlStyle2)(::windows::core::Interface::as_raw(self), nstcsmask, nstcsstyle).ok() } pub unsafe fn GetControlStyle2(&self, nstcsmask: NSTCSTYLE2) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetControlStyle2)(::windows::core::Interface::as_raw(self), nstcsmask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30048,7 +30048,7 @@ impl INameSpaceTreeControlCustomDraw { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrePaint)(::windows::core::Interface::as_raw(self), hdc.into(), ::core::mem::transmute(prc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -30425,7 +30425,7 @@ pub struct INameSpaceTreeControlEvents_Vtbl { pub struct INameSpaceTreeControlFolderCapabilities(::windows::core::IUnknown); impl INameSpaceTreeControlFolderCapabilities { pub unsafe fn GetFolderCapabilities(&self, nfcmask: NSTCFOLDERCAPABILITIES) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolderCapabilities)(::windows::core::Interface::as_raw(self), nfcmask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30792,13 +30792,13 @@ pub struct INamespaceWalkCB2_Vtbl { pub struct INetworkFolderInternal(::windows::core::IUnknown); impl INetworkFolderInternal { pub unsafe fn GetResourceDisplayType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceDisplayType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -30861,7 +30861,7 @@ pub struct INetworkFolderInternal_Vtbl { pub struct INewMenuClient(::windows::core::IUnknown); impl INewMenuClient { pub unsafe fn IncludeItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IncludeItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -31103,7 +31103,7 @@ impl INewWDEvents { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -31120,7 +31120,7 @@ impl INewWDEvents { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Property)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWizardButtons(&self, vfenableback: i16, vfenablenext: i16, vflastpage: i16) -> ::windows::core::Result<()> { @@ -31141,7 +31141,7 @@ impl INewWDEvents { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PassportAuthenticate)(::windows::core::Interface::as_raw(self), bstrsigninurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31472,7 +31472,7 @@ impl IObjectWithAppUserModelID { (::windows::core::Interface::vtable(self).SetAppID)(::windows::core::Interface::as_raw(self), pszappid.into()).ok() } pub unsafe fn GetAppID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAppID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -31574,7 +31574,7 @@ impl IObjectWithCancelEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCancelEvent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCancelEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31630,7 +31630,7 @@ impl IObjectWithFolderEnumMode { (::windows::core::Interface::vtable(self).SetMode)(::windows::core::Interface::as_raw(self), femode).ok() } pub unsafe fn GetMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31687,7 +31687,7 @@ impl IObjectWithProgID { (::windows::core::Interface::vtable(self).SetProgID)(::windows::core::Interface::as_raw(self), pszprogid.into()).ok() } pub unsafe fn GetProgID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProgID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -31812,7 +31812,7 @@ impl IOpenControlPanel { (::windows::core::Interface::vtable(self).GetPath)(::windows::core::Interface::as_raw(self), pszname.into(), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pszpath)), pszpath.len() as _).ok() } pub unsafe fn GetCurrentView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31966,7 +31966,7 @@ impl IOperationsProgressDialog { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetOperationStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOperationStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32103,7 +32103,7 @@ impl IPackageDebugSettings { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPackageExecutionState)(::windows::core::Interface::as_raw(self), packagefullname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterForPackageStateChanges<'a, P0, P1>(&self, packagefullname: P0, ppackageexecutionstatechangenotification: P1) -> ::windows::core::Result @@ -32111,7 +32111,7 @@ impl IPackageDebugSettings { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPackageExecutionStateChangeNotification>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterForPackageStateChanges)(::windows::core::Interface::as_raw(self), packagefullname.into(), ppackageexecutionstatechangenotification.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterForPackageStateChanges(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -32249,7 +32249,7 @@ impl IPackageDebugSettings2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPackageExecutionState)(::windows::core::Interface::as_raw(self), packagefullname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterForPackageStateChanges<'a, P0, P1>(&self, packagefullname: P0, ppackageexecutionstatechangenotification: P1) -> ::windows::core::Result @@ -32257,7 +32257,7 @@ impl IPackageDebugSettings2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, IPackageExecutionStateChangeNotification>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterForPackageStateChanges)(::windows::core::Interface::as_raw(self), packagefullname.into(), ppackageexecutionstatechangenotification.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnregisterForPackageStateChanges(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -32513,7 +32513,7 @@ impl IPersistFolder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -32602,7 +32602,7 @@ impl IPersistFolder2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -32613,7 +32613,7 @@ impl IPersistFolder2 { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetCurFolder(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } } @@ -32715,7 +32715,7 @@ impl IPersistFolder3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -32726,7 +32726,7 @@ impl IPersistFolder3 { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetCurFolder(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -32740,7 +32740,7 @@ impl IPersistFolder3 { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetFolderTargetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolderTargetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32864,7 +32864,7 @@ impl IPersistIDList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -32875,7 +32875,7 @@ impl IPersistIDList { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } } @@ -32983,7 +32983,7 @@ impl IPreviewHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -33058,7 +33058,7 @@ impl IPreviewHandlerFrame { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetWindowContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindowContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -33184,11 +33184,11 @@ impl IPreviewItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33258,7 +33258,7 @@ impl IPreviousVersionsInfo { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AreSnapshotsAvailable)(::windows::core::Interface::as_raw(self), pszpath.into(), foktobeslow.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33316,7 +33316,7 @@ impl IProfferService { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IServiceProvider>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ProfferService)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(serviceid), serviceprovider.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RevokeService(&self, cookie: u32) -> ::windows::core::Result<()> { @@ -33495,13 +33495,13 @@ pub struct IProgressDialog_Vtbl { pub struct IPropertyKeyStore(::windows::core::IUnknown); impl IPropertyKeyStore { pub unsafe fn GetKeyCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetKeyAt(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKeyAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -33589,19 +33589,19 @@ impl IPublishedApp { (::windows::core::Interface::vtable(self).base__.GetAppInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pai)).ok() } pub unsafe fn GetPossibleActions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPossibleActions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSlowAppInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSlowAppInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCachedSlowAppInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCachedSlowAppInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result<()> { @@ -33693,19 +33693,19 @@ impl IPublishedApp2 { (::windows::core::Interface::vtable(self).base__.base__.GetAppInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pai)).ok() } pub unsafe fn GetPossibleActions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetPossibleActions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSlowAppInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSlowAppInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCachedSlowAppInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCachedSlowAppInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result<()> { @@ -33819,13 +33819,13 @@ impl IPublishingWizard { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetFirstPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFirstPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetLastPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLastPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -33932,7 +33932,7 @@ impl IQueryAssociations { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetKey)(::windows::core::Interface::as_raw(self), flags, key, pszextra.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetData<'a, P0>(&self, flags: u32, data: ASSOCDATA, pszextra: P0, pvout: *mut ::core::ffi::c_void, pcbout: *mut u32) -> ::windows::core::Result<()> @@ -34057,7 +34057,7 @@ pub struct IQueryCancelAutoPlay_Vtbl { pub struct IQueryCodePage(::windows::core::IUnknown); impl IQueryCodePage { pub unsafe fn GetCodePage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCodePage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCodePage(&self, uicodepage: u32) -> ::windows::core::Result<()> { @@ -34230,11 +34230,11 @@ pub struct IQueryContinueWithStatus_Vtbl { pub struct IQueryInfo(::windows::core::IUnknown); impl IQueryInfo { pub unsafe fn GetInfoTip(&self, dwflags: QITIPF_FLAGS) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfoTip)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetInfoFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfoFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34297,7 +34297,7 @@ impl IRegTreeItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCheckState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCheckState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34364,11 +34364,11 @@ impl IRelatedItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34546,7 +34546,7 @@ impl IResultsFolder { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn AddIDList(&self, pidl: *const Common::ITEMIDLIST) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn RemoveItem<'a, P0>(&self, psi: P0) -> ::windows::core::Result<()> @@ -34759,49 +34759,49 @@ impl IScriptErrorList { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn canAdvanceError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).canAdvanceError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn canRetreatError(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).canRetreatError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getErrorLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getErrorLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getErrorChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getErrorChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getErrorCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getErrorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getErrorMsg(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getErrorMsg)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getErrorUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getErrorUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getAlwaysShowLockState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAlwaysShowLockState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getDetailsPaneOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getDetailsPaneOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34815,7 +34815,7 @@ impl IScriptErrorList { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getPerErrorDisplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPerErrorDisplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34947,7 +34947,7 @@ impl ISearchBoxInfo { (::windows::core::Interface::vtable(self).GetCondition)(::windows::core::Interface::as_raw(self), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetText(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -35000,17 +35000,17 @@ impl ISearchContext { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSearchUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSearchUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSearchText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSearchText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSearchStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSearchStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35126,7 +35126,7 @@ impl ISearchFolderItemFactory { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } } @@ -35207,17 +35207,17 @@ impl ISharedBitmap { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetSharedBitmap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSharedBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -35231,7 +35231,7 @@ impl ISharedBitmap { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn Detach(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Detach)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35306,7 +35306,7 @@ impl ISharingConfigurationManager { (::windows::core::Interface::vtable(self).ShareExists)(::windows::core::Interface::as_raw(self), dsid).ok() } pub unsafe fn GetSharePermissions(&self, dsid: DEF_SHARE_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSharePermissions)(::windows::core::Interface::as_raw(self), dsid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SharePrinters(&self) -> ::windows::core::Result<()> { @@ -35374,19 +35374,19 @@ impl IShellApp { (::windows::core::Interface::vtable(self).GetAppInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pai)).ok() } pub unsafe fn GetPossibleActions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPossibleActions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSlowAppInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSlowAppInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCachedSlowAppInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCachedSlowAppInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsInstalled(&self) -> ::windows::core::Result<()> { @@ -35453,7 +35453,7 @@ impl IShellBrowser { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -35516,13 +35516,13 @@ impl IShellBrowser { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetViewStateStream(&self, grfmode: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetViewStateStream)(::windows::core::Interface::as_raw(self), grfmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetControlWindow(&self, id: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetControlWindow)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -35532,13 +35532,13 @@ impl IShellBrowser { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SendControlMsg)(::windows::core::Interface::as_raw(self), id, umsg, wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn QueryActiveShellView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryActiveShellView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -35732,7 +35732,7 @@ impl IShellDetails { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetDetailsOf(&self, pidl: *const Common::ITEMIDLIST, icolumn: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDetailsOf)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), icolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ColumnClick(&self, icolumn: u32) -> ::windows::core::Result<()> { @@ -35793,13 +35793,13 @@ impl IShellDispatch { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35808,7 +35808,7 @@ impl IShellDispatch { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NameSpace)(::windows::core::Interface::as_raw(self), vdir.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35818,13 +35818,13 @@ impl IShellDispatch { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BrowseForFolder)(::windows::core::Interface::as_raw(self), hwnd, title.into().abi(), options, rootfolder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Windows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36020,13 +36020,13 @@ impl IShellDispatch2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36035,7 +36035,7 @@ impl IShellDispatch2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.NameSpace)(::windows::core::Interface::as_raw(self), vdir.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36045,13 +36045,13 @@ impl IShellDispatch2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BrowseForFolder)(::windows::core::Interface::as_raw(self), hwnd, title.into().abi(), options, rootfolder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Windows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36130,7 +36130,7 @@ impl IShellDispatch2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRestricted)(::windows::core::Interface::as_raw(self), group.into().abi(), restriction.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36161,7 +36161,7 @@ impl IShellDispatch2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSystemInformation)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36171,7 +36171,7 @@ impl IShellDispatch2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceStart)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36181,7 +36181,7 @@ impl IShellDispatch2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ServiceStop)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36190,7 +36190,7 @@ impl IShellDispatch2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsServiceRunning)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36199,7 +36199,7 @@ impl IShellDispatch2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanStartStopService)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36209,7 +36209,7 @@ impl IShellDispatch2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowBrowserBar)(::windows::core::Interface::as_raw(self), bstrclsid.into().abi(), bshow.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36343,13 +36343,13 @@ impl IShellDispatch3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36358,7 +36358,7 @@ impl IShellDispatch3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.NameSpace)(::windows::core::Interface::as_raw(self), vdir.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36368,13 +36368,13 @@ impl IShellDispatch3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BrowseForFolder)(::windows::core::Interface::as_raw(self), hwnd, title.into().abi(), options, rootfolder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Windows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36453,7 +36453,7 @@ impl IShellDispatch3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRestricted)(::windows::core::Interface::as_raw(self), group.into().abi(), restriction.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36484,7 +36484,7 @@ impl IShellDispatch3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSystemInformation)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36494,7 +36494,7 @@ impl IShellDispatch3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceStart)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36504,7 +36504,7 @@ impl IShellDispatch3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ServiceStop)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36513,7 +36513,7 @@ impl IShellDispatch3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsServiceRunning)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36522,7 +36522,7 @@ impl IShellDispatch3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CanStartStopService)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36532,7 +36532,7 @@ impl IShellDispatch3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowBrowserBar)(::windows::core::Interface::as_raw(self), bstrclsid.into().abi(), bshow.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36661,13 +36661,13 @@ impl IShellDispatch4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36676,7 +36676,7 @@ impl IShellDispatch4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.NameSpace)(::windows::core::Interface::as_raw(self), vdir.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36686,13 +36686,13 @@ impl IShellDispatch4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.BrowseForFolder)(::windows::core::Interface::as_raw(self), hwnd, title.into().abi(), options, rootfolder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.Windows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36771,7 +36771,7 @@ impl IShellDispatch4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsRestricted)(::windows::core::Interface::as_raw(self), group.into().abi(), restriction.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36802,7 +36802,7 @@ impl IShellDispatch4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSystemInformation)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36812,7 +36812,7 @@ impl IShellDispatch4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ServiceStart)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36822,7 +36822,7 @@ impl IShellDispatch4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ServiceStop)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36831,7 +36831,7 @@ impl IShellDispatch4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsServiceRunning)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36840,7 +36840,7 @@ impl IShellDispatch4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CanStartStopService)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36850,7 +36850,7 @@ impl IShellDispatch4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ShowBrowserBar)(::windows::core::Interface::as_raw(self), bstrclsid.into().abi(), bshow.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36874,11 +36874,11 @@ impl IShellDispatch4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExplorerPolicy)(::windows::core::Interface::as_raw(self), bstrpolicyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSetting(&self, lsetting: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSetting)(::windows::core::Interface::as_raw(self), lsetting, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -37019,13 +37019,13 @@ impl IShellDispatch5 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37034,7 +37034,7 @@ impl IShellDispatch5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.NameSpace)(::windows::core::Interface::as_raw(self), vdir.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37044,13 +37044,13 @@ impl IShellDispatch5 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.BrowseForFolder)(::windows::core::Interface::as_raw(self), hwnd, title.into().abi(), options, rootfolder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Windows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37129,7 +37129,7 @@ impl IShellDispatch5 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsRestricted)(::windows::core::Interface::as_raw(self), group.into().abi(), restriction.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37160,7 +37160,7 @@ impl IShellDispatch5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetSystemInformation)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37170,7 +37170,7 @@ impl IShellDispatch5 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ServiceStart)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37180,7 +37180,7 @@ impl IShellDispatch5 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ServiceStop)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37189,7 +37189,7 @@ impl IShellDispatch5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsServiceRunning)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37198,7 +37198,7 @@ impl IShellDispatch5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.CanStartStopService)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37208,7 +37208,7 @@ impl IShellDispatch5 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ShowBrowserBar)(::windows::core::Interface::as_raw(self), bstrclsid.into().abi(), bshow.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37232,11 +37232,11 @@ impl IShellDispatch5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ExplorerPolicy)(::windows::core::Interface::as_raw(self), bstrpolicyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSetting(&self, lsetting: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSetting)(::windows::core::Interface::as_raw(self), lsetting, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WindowSwitcher(&self) -> ::windows::core::Result<()> { @@ -37392,13 +37392,13 @@ impl IShellDispatch6 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37407,7 +37407,7 @@ impl IShellDispatch6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.NameSpace)(::windows::core::Interface::as_raw(self), vdir.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37417,13 +37417,13 @@ impl IShellDispatch6 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.BrowseForFolder)(::windows::core::Interface::as_raw(self), hwnd, title.into().abi(), options, rootfolder.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.Windows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37502,7 +37502,7 @@ impl IShellDispatch6 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsRestricted)(::windows::core::Interface::as_raw(self), group.into().abi(), restriction.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37533,7 +37533,7 @@ impl IShellDispatch6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetSystemInformation)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37543,7 +37543,7 @@ impl IShellDispatch6 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ServiceStart)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37553,7 +37553,7 @@ impl IShellDispatch6 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ServiceStop)(::windows::core::Interface::as_raw(self), servicename.into().abi(), persistent.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37562,7 +37562,7 @@ impl IShellDispatch6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsServiceRunning)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37571,7 +37571,7 @@ impl IShellDispatch6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CanStartStopService)(::windows::core::Interface::as_raw(self), servicename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37581,7 +37581,7 @@ impl IShellDispatch6 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ShowBrowserBar)(::windows::core::Interface::as_raw(self), bstrclsid.into().abi(), bshow.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37605,11 +37605,11 @@ impl IShellDispatch6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ExplorerPolicy)(::windows::core::Interface::as_raw(self), bstrpolicyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSetting(&self, lsetting: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetSetting)(::windows::core::Interface::as_raw(self), lsetting, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn WindowSwitcher(&self) -> ::windows::core::Result<()> { @@ -37874,15 +37874,15 @@ impl IShellFavoritesNameSpace { (::windows::core::Interface::vtable(self).MoveSelectionTo)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SubscriptionsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SubscriptionsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSubscriptionForSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSubscriptionForSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteSubscriptionForSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeleteSubscriptionForSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38058,7 +38058,7 @@ impl IShellFolder { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetDisplayNameOf(&self, pidl: *const Common::ITEMIDLIST, uflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayNameOf)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -38068,7 +38068,7 @@ impl IShellFolder { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetNameOf)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(pidl), pszname.into(), uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } } @@ -38230,7 +38230,7 @@ impl IShellFolder2 { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetDisplayNameOf(&self, pidl: *const Common::ITEMIDLIST, uflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayNameOf)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -38240,40 +38240,40 @@ impl IShellFolder2 { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SetNameOf)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(pidl), pszname.into(), uflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetDefaultSearchGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultSearchGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn EnumSearches(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumSearches)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultColumn(&self, dwres: u32, psort: *mut u32, pdisplay: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetDefaultColumn)(::windows::core::Interface::as_raw(self), dwres, ::core::mem::transmute(psort), ::core::mem::transmute(pdisplay)).ok() } pub unsafe fn GetDefaultColumnState(&self, icolumn: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultColumnState)(::windows::core::Interface::as_raw(self), icolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetDetailsEx(&self, pidl: *const Common::ITEMIDLIST, pscid: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDetailsEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(pscid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetDetailsOf(&self, pidl: *const Common::ITEMIDLIST, icolumn: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDetailsOf)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), icolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn MapColumnToSCID(&self, icolumn: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapColumnToSCID)(::windows::core::Interface::as_raw(self), icolumn, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38438,7 +38438,7 @@ impl IShellFolderView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetArrangeParam(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetArrangeParam)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ArrangeGrid(&self) -> ::windows::core::Result<()> { @@ -38453,7 +38453,7 @@ impl IShellFolderView { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn AddObject(&self, pidl: *const Common::ITEMIDLIST) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -38464,11 +38464,11 @@ impl IShellFolderView { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn RemoveObject(&self, pidl: *const Common::ITEMIDLIST) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoveObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetObjectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetObjectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetObjectCount(&self, ucount: u32, dwflags: u32) -> ::windows::core::Result<()> { @@ -38477,13 +38477,13 @@ impl IShellFolderView { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn UpdateObject(&self, pidlold: *const Common::ITEMIDLIST, pidlnew: *const Common::ITEMIDLIST) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UpdateObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidlold), ::core::mem::transmute(pidlnew), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn RefreshObject(&self, pidl: *const Common::ITEMIDLIST) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RefreshObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38495,7 +38495,7 @@ impl IShellFolderView { (::windows::core::Interface::vtable(self).SetRedraw)(::windows::core::Interface::as_raw(self), bredraw.into()).ok() } pub unsafe fn GetSelectedCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectedCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -38514,13 +38514,13 @@ impl IShellFolderView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDragPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDragPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDropPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDropPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -38561,14 +38561,14 @@ impl IShellFolderView { (::windows::core::Interface::vtable(self).SetPoints)(::windows::core::Interface::as_raw(self), pdataobject.into().abi()).ok() } pub unsafe fn GetItemSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCallback<'a, P0>(&self, pnewcb: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellFolderViewCB>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetCallback)(::windows::core::Interface::as_raw(self), pnewcb.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Select(&self, dwflags: SFVS_SELECT) -> ::windows::core::Result<()> { @@ -38775,31 +38775,31 @@ impl IShellFolderViewDual { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Folder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Folder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FocusedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FocusedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38815,17 +38815,17 @@ impl IShellFolderViewDual { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PopupItemMenu)(::windows::core::Interface::as_raw(self), pfi.into().abi(), vx.into().abi(), vy.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Script(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Script)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ViewOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ViewOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -38938,31 +38938,31 @@ impl IShellFolderViewDual2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Folder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Folder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SelectedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FocusedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FocusedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38978,21 +38978,21 @@ impl IShellFolderViewDual2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PopupItemMenu)(::windows::core::Interface::as_raw(self), pfi.into().abi(), vx.into().abi(), vy.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Script(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Script)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ViewOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ViewOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentViewMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentViewMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentViewMode(&self, viewmode: u32) -> ::windows::core::Result<()> { @@ -39099,31 +39099,31 @@ impl IShellFolderViewDual3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Folder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Folder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SelectedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn FocusedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.FocusedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39139,21 +39139,21 @@ impl IShellFolderViewDual3 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PopupItemMenu)(::windows::core::Interface::as_raw(self), pfi.into().abi(), vx.into().abi(), vy.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Script(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Script)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ViewOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ViewOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentViewMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentViewMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentViewMode(&self, viewmode: u32) -> ::windows::core::Result<()> { @@ -39165,7 +39165,7 @@ impl IShellFolderViewDual3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GroupBy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GroupBy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39177,7 +39177,7 @@ impl IShellFolderViewDual3 { (::windows::core::Interface::vtable(self).SetGroupBy)(::windows::core::Interface::as_raw(self), bstrgroupby.into().abi()).ok() } pub unsafe fn FolderFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FolderFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFolderFlags(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -39186,7 +39186,7 @@ impl IShellFolderViewDual3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SortColumns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SortColumns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39201,7 +39201,7 @@ impl IShellFolderViewDual3 { (::windows::core::Interface::vtable(self).SetIconSize)(::windows::core::Interface::as_raw(self), iiconsize).ok() } pub unsafe fn IconSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IconSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39347,7 +39347,7 @@ impl IShellIcon { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIconOf(&self, pidl: *const Common::ITEMIDLIST, flags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIconOf)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pidl), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39472,7 +39472,7 @@ impl IShellIconOverlayIdentifier { (::windows::core::Interface::vtable(self).GetOverlayInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pwsziconfile)), pwsziconfile.len() as _, ::core::mem::transmute(pindex), ::core::mem::transmute(pdwflags)).ok() } pub unsafe fn GetPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -39669,7 +39669,7 @@ impl IShellImageData { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetProperties(&self, dwmode: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperties)(::windows::core::Interface::as_raw(self), dwmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Rotate(&self, dwangle: u32) -> ::windows::core::Result<()> { @@ -39705,7 +39705,7 @@ impl IShellImageData { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellImageDataAbort>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterAbort)(::windows::core::Interface::as_raw(self), pabort.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CloneFrame(&self, ppimg: *mut *mut u8) -> ::windows::core::Result<()> { @@ -39851,14 +39851,14 @@ pub struct IShellImageDataAbort_Vtbl { pub struct IShellImageDataFactory(::windows::core::IUnknown); impl IShellImageDataFactory { pub unsafe fn CreateIShellImageData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateIShellImageData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateImageFromFile<'a, P0>(&self, pszpath: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateImageFromFile)(::windows::core::Interface::as_raw(self), pszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -39867,14 +39867,14 @@ impl IShellImageDataFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateImageFromStream)(::windows::core::Interface::as_raw(self), pstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDataFormatFromPath<'a, P0>(&self, pszpath: P0) -> ::windows::core::Result<::windows::core::GUID> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataFormatFromPath)(::windows::core::Interface::as_raw(self), pszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -39940,22 +39940,22 @@ impl IShellItem { (::windows::core::Interface::vtable(self).BindToHandler)(::windows::core::Interface::as_raw(self), pbc.into().abi(), ::core::mem::transmute(bhid), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName(&self, sigdnname: SIGDN) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), sigdnname, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetAttributes(&self, sfgaomask: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributes)(::windows::core::Interface::as_raw(self), sfgaomask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Compare<'a, P0>(&self, psi: P0, hint: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Compare)(::windows::core::Interface::as_raw(self), psi.into().abi(), hint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40022,22 +40022,22 @@ impl IShellItem2 { (::windows::core::Interface::vtable(self).base__.BindToHandler)(::windows::core::Interface::as_raw(self), pbc.into().abi(), ::core::mem::transmute(bhid), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayName(&self, sigdnname: SIGDN) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), sigdnname, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetAttributes(&self, sfgaomask: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetAttributes)(::windows::core::Interface::as_raw(self), sfgaomask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Compare<'a, P0>(&self, psi: P0, hint: u32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Compare)(::windows::core::Interface::as_raw(self), psi.into().abi(), hint, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -40088,49 +40088,49 @@ impl IShellItem2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetProperty(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetCLSID(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCLSID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetFileTime(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFileTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetInt32(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInt32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetString(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetUInt32(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUInt32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetUInt64(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUInt64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetBool(&self, key: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBool)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40274,19 +40274,19 @@ impl IShellItemArray { (::windows::core::Interface::vtable(self).GetPropertyDescriptionList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(keytype), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetAttributes(&self, attribflags: SIATTRIBFLAGS, sfgaomask: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributes)(::windows::core::Interface::as_raw(self), attribflags, sfgaomask, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemAt(&self, dwindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemAt)(::windows::core::Interface::as_raw(self), dwindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40360,7 +40360,7 @@ impl IShellItemFilter { where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnumFlagsForItem)(::windows::core::Interface::as_raw(self), psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40413,7 +40413,7 @@ impl IShellItemImageFactory { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetImage(&self, size: super::super::Foundation::SIZE, flags: SIIGBF) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(size), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40466,11 +40466,11 @@ pub struct IShellItemImageFactory_Vtbl { pub struct IShellItemResources(::windows::core::IUnknown); impl IShellItemResources { pub unsafe fn GetAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -40484,11 +40484,11 @@ impl IShellItemResources { (::windows::core::Interface::vtable(self).SetTimes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pftcreation), ::core::mem::transmute(pftwrite), ::core::mem::transmute(pftaccess)).ok() } pub unsafe fn GetResourceDescription(&self, pcsir: *const SHELL_ITEM_RESOURCE) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetResourceDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcsir), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn EnumResources(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumResources)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportsResource(&self, pcsir: *const SHELL_ITEM_RESOURCE) -> ::windows::core::Result<()> { @@ -40622,21 +40622,21 @@ impl IShellLibrary { (::windows::core::Interface::vtable(self).SetDefaultSaveFolder)(::windows::core::Interface::as_raw(self), dsft, psi.into().abi()).ok() } pub unsafe fn GetOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOptions(&self, lofmask: LIBRARYOPTIONFLAGS, lofoptions: LIBRARYOPTIONFLAGS) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOptions)(::windows::core::Interface::as_raw(self), lofmask, lofoptions).ok() } pub unsafe fn GetFolderType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFolderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetFolderType(&self, ftid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFolderType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ftid)).ok() } pub unsafe fn GetIcon(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn SetIcon<'a, P0>(&self, pszicon: P0) -> ::windows::core::Result<()> @@ -40653,14 +40653,14 @@ impl IShellLibrary { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self), psifoldertosavein.into().abi(), pszlibraryname.into(), lsf, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SaveInKnownFolder<'a, P0>(&self, kfidtosavein: *const ::windows::core::GUID, pszlibraryname: P0, lsf: LIBRARYSAVEFLAGS) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SaveInKnownFolder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(kfidtosavein), pszlibraryname.into(), lsf, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -40733,7 +40733,7 @@ impl IShellLinkA { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -40769,14 +40769,14 @@ impl IShellLinkA { (::windows::core::Interface::vtable(self).SetArguments)(::windows::core::Interface::as_raw(self), pszargs.into()).ok() } pub unsafe fn GetHotkey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHotkey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHotkey(&self, whotkey: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHotkey)(::windows::core::Interface::as_raw(self), whotkey).ok() } pub unsafe fn GetShowCmd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShowCmd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowCmd(&self, ishowcmd: i32) -> ::windows::core::Result<()> { @@ -40896,7 +40896,7 @@ impl IShellLinkDataList { (::windows::core::Interface::vtable(self).RemoveDataBlock)(::windows::core::Interface::as_raw(self), dwsig).ok() } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -40957,7 +40957,7 @@ impl IShellLinkDual { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -40971,7 +40971,7 @@ impl IShellLinkDual { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -40985,7 +40985,7 @@ impl IShellLinkDual { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WorkingDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WorkingDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -40999,7 +40999,7 @@ impl IShellLinkDual { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Arguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Arguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41011,14 +41011,14 @@ impl IShellLinkDual { (::windows::core::Interface::vtable(self).SetArguments)(::windows::core::Interface::as_raw(self), bs.into().abi()).ok() } pub unsafe fn Hotkey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Hotkey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHotkey(&self, ihk: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHotkey)(::windows::core::Interface::as_raw(self), ihk).ok() } pub unsafe fn ShowCommand(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowCommand)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowCommand(&self, ishowcommand: i32) -> ::windows::core::Result<()> { @@ -41174,7 +41174,7 @@ impl IShellLinkDual2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41188,7 +41188,7 @@ impl IShellLinkDual2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Description(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Description)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41202,7 +41202,7 @@ impl IShellLinkDual2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WorkingDirectory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.WorkingDirectory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41216,7 +41216,7 @@ impl IShellLinkDual2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Arguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Arguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41228,14 +41228,14 @@ impl IShellLinkDual2 { (::windows::core::Interface::vtable(self).base__.SetArguments)(::windows::core::Interface::as_raw(self), bs.into().abi()).ok() } pub unsafe fn Hotkey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Hotkey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHotkey(&self, ihk: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetHotkey)(::windows::core::Interface::as_raw(self), ihk).ok() } pub unsafe fn ShowCommand(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowCommand)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowCommand(&self, ishowcommand: i32) -> ::windows::core::Result<()> { @@ -41268,7 +41268,7 @@ impl IShellLinkDual2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41373,7 +41373,7 @@ impl IShellLinkW { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -41409,14 +41409,14 @@ impl IShellLinkW { (::windows::core::Interface::vtable(self).SetArguments)(::windows::core::Interface::as_raw(self), pszargs.into()).ok() } pub unsafe fn GetHotkey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHotkey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHotkey(&self, whotkey: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHotkey)(::windows::core::Interface::as_raw(self), whotkey).ok() } pub unsafe fn GetShowCmd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShowCmd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetShowCmd(&self, ishowcmd: i32) -> ::windows::core::Result<()> { @@ -41571,7 +41571,7 @@ impl IShellMenu { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMenuToolbar<'a, P0>(&self, punk: P0, dwflags: u32) -> ::windows::core::Result<()> @@ -41745,15 +41745,15 @@ impl IShellNameSpace { (::windows::core::Interface::vtable(self).base__.MoveSelectionTo)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn SubscriptionsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SubscriptionsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateSubscriptionForSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSubscriptionForSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DeleteSubscriptionForSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DeleteSubscriptionForSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41765,7 +41765,7 @@ impl IShellNameSpace { (::windows::core::Interface::vtable(self).base__.SetRoot)(::windows::core::Interface::as_raw(self), bstrfullpath.into().abi()).ok() } pub unsafe fn EnumOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnumOptions(&self, lval: i32) -> ::windows::core::Result<()> { @@ -41774,7 +41774,7 @@ impl IShellNameSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectedItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -41788,7 +41788,7 @@ impl IShellNameSpace { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41800,21 +41800,21 @@ impl IShellNameSpace { (::windows::core::Interface::vtable(self).SetRoot2)(::windows::core::Interface::as_raw(self), var.into().abi()).ok() } pub unsafe fn Depth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Depth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDepth(&self, idepth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDepth)(::windows::core::Interface::as_raw(self), idepth).ok() } pub unsafe fn Mode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Mode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMode(&self, umode: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMode)(::windows::core::Interface::as_raw(self), umode).ok() } pub unsafe fn Flags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Flags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFlags(&self, dwflags: u32) -> ::windows::core::Result<()> { @@ -41824,13 +41824,13 @@ impl IShellNameSpace { (::windows::core::Interface::vtable(self).SetTVFlags)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn TVFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TVFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Columns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Columns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41842,7 +41842,7 @@ impl IShellNameSpace { (::windows::core::Interface::vtable(self).SetColumns)(::windows::core::Interface::as_raw(self), bstrcolumns.into().abi()).ok() } pub unsafe fn CountViewTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CountViewTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetViewType(&self, itype: i32) -> ::windows::core::Result<()> { @@ -41851,7 +41851,7 @@ impl IShellNameSpace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelectedItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42287,7 +42287,7 @@ impl IShellUIHelper { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSubscribed)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42332,7 +42332,7 @@ impl IShellUIHelper { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowBrowserUI)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -42492,7 +42492,7 @@ impl IShellUIHelper2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSubscribed)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42537,7 +42537,7 @@ impl IShellUIHelper2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowBrowserUI)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42563,17 +42563,17 @@ impl IShellUIHelper2 { (::windows::core::Interface::vtable(self).CustomizeSettings)(::windows::core::Interface::as_raw(self), fsqm, fphishing, bstrlocale.into().abi()).ok() } pub unsafe fn SqmEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SqmEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhishingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PhishingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BrandImageUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BrandImageUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SkipTabsWelcome(&self) -> ::windows::core::Result<()> { @@ -42591,30 +42591,30 @@ impl IShellUIHelper2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSearchProviderInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSearchMigrated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSearchMigrated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultSearchProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultSearchProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).RunOnceRequiredSettingsComplete)(::windows::core::Interface::as_raw(self), fcomplete).ok() } pub unsafe fn RunOnceHasShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RunOnceHasShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchGuideUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SearchGuideUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -42783,7 +42783,7 @@ impl IShellUIHelper3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsSubscribed)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42828,7 +42828,7 @@ impl IShellUIHelper3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ShowBrowserUI)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42854,17 +42854,17 @@ impl IShellUIHelper3 { (::windows::core::Interface::vtable(self).base__.CustomizeSettings)(::windows::core::Interface::as_raw(self), fsqm, fphishing, bstrlocale.into().abi()).ok() } pub unsafe fn SqmEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SqmEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhishingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.PhishingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BrandImageUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.BrandImageUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SkipTabsWelcome(&self) -> ::windows::core::Result<()> { @@ -42882,30 +42882,30 @@ impl IShellUIHelper3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSearchProviderInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSearchMigrated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSearchMigrated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultSearchProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DefaultSearchProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.RunOnceRequiredSettingsComplete)(::windows::core::Interface::as_raw(self), fcomplete).ok() } pub unsafe fn RunOnceHasShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RunOnceHasShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchGuideUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.SearchGuideUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42923,11 +42923,11 @@ impl IShellUIHelper3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsServiceInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), verb.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InPrivateFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42952,7 +42952,7 @@ impl IShellUIHelper3 { (::windows::core::Interface::vtable(self).ContentDiscoveryReset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsSuggestedSitesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::core::Result<()> { @@ -43147,7 +43147,7 @@ impl IShellUIHelper4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsSubscribed)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43192,7 +43192,7 @@ impl IShellUIHelper4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.ShowBrowserUI)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43218,17 +43218,17 @@ impl IShellUIHelper4 { (::windows::core::Interface::vtable(self).base__.base__.CustomizeSettings)(::windows::core::Interface::as_raw(self), fsqm, fphishing, bstrlocale.into().abi()).ok() } pub unsafe fn SqmEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SqmEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhishingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.PhishingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BrandImageUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.BrandImageUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SkipTabsWelcome(&self) -> ::windows::core::Result<()> { @@ -43246,30 +43246,30 @@ impl IShellUIHelper4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsSearchProviderInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSearchMigrated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsSearchMigrated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultSearchProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.DefaultSearchProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.RunOnceRequiredSettingsComplete)(::windows::core::Interface::as_raw(self), fcomplete).ok() } pub unsafe fn RunOnceHasShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.RunOnceHasShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchGuideUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.SearchGuideUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43287,11 +43287,11 @@ impl IShellUIHelper4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsServiceInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), verb.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.InPrivateFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43316,7 +43316,7 @@ impl IShellUIHelper4 { (::windows::core::Interface::vtable(self).base__.ContentDiscoveryReset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsSuggestedSitesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::core::Result<()> { @@ -43337,7 +43337,7 @@ impl IShellUIHelper4 { (::windows::core::Interface::vtable(self).base__.ShowInPrivateHelp)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn msIsSiteMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msIsSiteMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::core::Result<()> { @@ -43350,7 +43350,7 @@ impl IShellUIHelper4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msSiteModeAddThumbBarButton)(::windows::core::Interface::as_raw(self), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43407,7 +43407,7 @@ impl IShellUIHelper4 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msSiteModeAddButtonStyle)(::windows::core::Interface::as_raw(self), uibuttonid.into().abi(), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43425,7 +43425,7 @@ impl IShellUIHelper4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msIsSiteModeFirstRun)(::windows::core::Interface::as_raw(self), fpreservestate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43438,11 +43438,11 @@ impl IShellUIHelper4 { (::windows::core::Interface::vtable(self).msAddTrackingProtectionList)(::windows::core::Interface::as_raw(self), url.into().abi(), bstrfiltername.into().abi()).ok() } pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTrackingProtectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msActiveXFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43658,7 +43658,7 @@ impl IShellUIHelper5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsSubscribed)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43703,7 +43703,7 @@ impl IShellUIHelper5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ShowBrowserUI)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43729,17 +43729,17 @@ impl IShellUIHelper5 { (::windows::core::Interface::vtable(self).base__.base__.base__.CustomizeSettings)(::windows::core::Interface::as_raw(self), fsqm, fphishing, bstrlocale.into().abi()).ok() } pub unsafe fn SqmEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SqmEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhishingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.PhishingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BrandImageUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.BrandImageUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SkipTabsWelcome(&self) -> ::windows::core::Result<()> { @@ -43757,30 +43757,30 @@ impl IShellUIHelper5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsSearchProviderInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSearchMigrated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsSearchMigrated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultSearchProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.DefaultSearchProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.RunOnceRequiredSettingsComplete)(::windows::core::Interface::as_raw(self), fcomplete).ok() } pub unsafe fn RunOnceHasShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.RunOnceHasShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchGuideUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.SearchGuideUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43798,11 +43798,11 @@ impl IShellUIHelper5 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsServiceInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), verb.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.InPrivateFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43827,7 +43827,7 @@ impl IShellUIHelper5 { (::windows::core::Interface::vtable(self).base__.base__.ContentDiscoveryReset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsSuggestedSitesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::core::Result<()> { @@ -43848,7 +43848,7 @@ impl IShellUIHelper5 { (::windows::core::Interface::vtable(self).base__.base__.ShowInPrivateHelp)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn msIsSiteMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.msIsSiteMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::core::Result<()> { @@ -43861,7 +43861,7 @@ impl IShellUIHelper5 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.msSiteModeAddThumbBarButton)(::windows::core::Interface::as_raw(self), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43918,7 +43918,7 @@ impl IShellUIHelper5 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.msSiteModeAddButtonStyle)(::windows::core::Interface::as_raw(self), uibuttonid.into().abi(), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43936,7 +43936,7 @@ impl IShellUIHelper5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.msIsSiteModeFirstRun)(::windows::core::Interface::as_raw(self), fpreservestate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43949,11 +43949,11 @@ impl IShellUIHelper5 { (::windows::core::Interface::vtable(self).base__.msAddTrackingProtectionList)(::windows::core::Interface::as_raw(self), url.into().abi(), bstrfiltername.into().abi()).ok() } pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.msTrackingProtectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.msActiveXFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43962,7 +43962,7 @@ impl IShellUIHelper5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msProvisionNetworks)(::windows::core::Interface::as_raw(self), bstrprovisioningxml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msReportSafeUrl(&self) -> ::windows::core::Result<()> { @@ -44179,7 +44179,7 @@ impl IShellUIHelper6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsSubscribed)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44224,7 +44224,7 @@ impl IShellUIHelper6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ShowBrowserUI)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44250,17 +44250,17 @@ impl IShellUIHelper6 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CustomizeSettings)(::windows::core::Interface::as_raw(self), fsqm, fphishing, bstrlocale.into().abi()).ok() } pub unsafe fn SqmEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SqmEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhishingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.PhishingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BrandImageUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.BrandImageUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SkipTabsWelcome(&self) -> ::windows::core::Result<()> { @@ -44278,30 +44278,30 @@ impl IShellUIHelper6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsSearchProviderInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSearchMigrated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsSearchMigrated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultSearchProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DefaultSearchProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RunOnceRequiredSettingsComplete)(::windows::core::Interface::as_raw(self), fcomplete).ok() } pub unsafe fn RunOnceHasShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RunOnceHasShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchGuideUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SearchGuideUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44319,11 +44319,11 @@ impl IShellUIHelper6 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsServiceInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), verb.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.InPrivateFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44348,7 +44348,7 @@ impl IShellUIHelper6 { (::windows::core::Interface::vtable(self).base__.base__.base__.ContentDiscoveryReset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.IsSuggestedSitesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::core::Result<()> { @@ -44369,7 +44369,7 @@ impl IShellUIHelper6 { (::windows::core::Interface::vtable(self).base__.base__.base__.ShowInPrivateHelp)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn msIsSiteMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.msIsSiteMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::core::Result<()> { @@ -44382,7 +44382,7 @@ impl IShellUIHelper6 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.msSiteModeAddThumbBarButton)(::windows::core::Interface::as_raw(self), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44439,7 +44439,7 @@ impl IShellUIHelper6 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.msSiteModeAddButtonStyle)(::windows::core::Interface::as_raw(self), uibuttonid.into().abi(), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44457,7 +44457,7 @@ impl IShellUIHelper6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.msIsSiteModeFirstRun)(::windows::core::Interface::as_raw(self), fpreservestate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44470,11 +44470,11 @@ impl IShellUIHelper6 { (::windows::core::Interface::vtable(self).base__.base__.msAddTrackingProtectionList)(::windows::core::Interface::as_raw(self), url.into().abi(), bstrfiltername.into().abi()).ok() } pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.msTrackingProtectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.msActiveXFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44483,7 +44483,7 @@ impl IShellUIHelper6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.msProvisionNetworks)(::windows::core::Interface::as_raw(self), bstrprovisioningxml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msReportSafeUrl(&self) -> ::windows::core::Result<()> { @@ -44536,7 +44536,7 @@ impl IShellUIHelper6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msPinnedSiteState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msPinnedSiteState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msEnableTileNotificationQueueForSquare150x150(&self, fchange: i16) -> ::windows::core::Result<()> { @@ -44820,7 +44820,7 @@ impl IShellUIHelper7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.IsSubscribed)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44865,7 +44865,7 @@ impl IShellUIHelper7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.ShowBrowserUI)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44891,17 +44891,17 @@ impl IShellUIHelper7 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CustomizeSettings)(::windows::core::Interface::as_raw(self), fsqm, fphishing, bstrlocale.into().abi()).ok() } pub unsafe fn SqmEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SqmEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhishingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.PhishingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BrandImageUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.BrandImageUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SkipTabsWelcome(&self) -> ::windows::core::Result<()> { @@ -44919,30 +44919,30 @@ impl IShellUIHelper7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsSearchProviderInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSearchMigrated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsSearchMigrated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultSearchProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.DefaultSearchProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RunOnceRequiredSettingsComplete)(::windows::core::Interface::as_raw(self), fcomplete).ok() } pub unsafe fn RunOnceHasShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.RunOnceHasShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchGuideUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SearchGuideUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44960,11 +44960,11 @@ impl IShellUIHelper7 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsServiceInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), verb.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.InPrivateFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44989,7 +44989,7 @@ impl IShellUIHelper7 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ContentDiscoveryReset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IsSuggestedSitesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::core::Result<()> { @@ -45010,7 +45010,7 @@ impl IShellUIHelper7 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ShowInPrivateHelp)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn msIsSiteMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.msIsSiteMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::core::Result<()> { @@ -45023,7 +45023,7 @@ impl IShellUIHelper7 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.msSiteModeAddThumbBarButton)(::windows::core::Interface::as_raw(self), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45080,7 +45080,7 @@ impl IShellUIHelper7 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.msSiteModeAddButtonStyle)(::windows::core::Interface::as_raw(self), uibuttonid.into().abi(), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45098,7 +45098,7 @@ impl IShellUIHelper7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.msIsSiteModeFirstRun)(::windows::core::Interface::as_raw(self), fpreservestate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45111,11 +45111,11 @@ impl IShellUIHelper7 { (::windows::core::Interface::vtable(self).base__.base__.base__.msAddTrackingProtectionList)(::windows::core::Interface::as_raw(self), url.into().abi(), bstrfiltername.into().abi()).ok() } pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.msTrackingProtectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.msActiveXFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45124,7 +45124,7 @@ impl IShellUIHelper7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.msProvisionNetworks)(::windows::core::Interface::as_raw(self), bstrprovisioningxml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msReportSafeUrl(&self) -> ::windows::core::Result<()> { @@ -45177,7 +45177,7 @@ impl IShellUIHelper7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msPinnedSiteState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.msPinnedSiteState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msEnableTileNotificationQueueForSquare150x150(&self, fchange: i16) -> ::windows::core::Result<()> { @@ -45239,7 +45239,7 @@ impl IShellUIHelper7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExperimentalFlag)(::windows::core::Interface::as_raw(self), bstrflagstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45256,7 +45256,7 @@ impl IShellUIHelper7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExperimentalValue)(::windows::core::Interface::as_raw(self), bstrvaluestring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetAllExperimentalFlagsAndValues(&self) -> ::windows::core::Result<()> { @@ -45268,7 +45268,7 @@ impl IShellUIHelper7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNeedIEAutoLaunchFlag)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45285,7 +45285,7 @@ impl IShellUIHelper7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasNeedIEAutoLaunchFlag)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45551,7 +45551,7 @@ impl IShellUIHelper8 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.IsSubscribed)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45596,7 +45596,7 @@ impl IShellUIHelper8 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.ShowBrowserUI)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45622,17 +45622,17 @@ impl IShellUIHelper8 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CustomizeSettings)(::windows::core::Interface::as_raw(self), fsqm, fphishing, bstrlocale.into().abi()).ok() } pub unsafe fn SqmEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.SqmEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhishingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.PhishingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BrandImageUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.BrandImageUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SkipTabsWelcome(&self) -> ::windows::core::Result<()> { @@ -45650,30 +45650,30 @@ impl IShellUIHelper8 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.IsSearchProviderInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSearchMigrated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.IsSearchMigrated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultSearchProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.DefaultSearchProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.RunOnceRequiredSettingsComplete)(::windows::core::Interface::as_raw(self), fcomplete).ok() } pub unsafe fn RunOnceHasShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.RunOnceHasShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchGuideUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.SearchGuideUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45691,11 +45691,11 @@ impl IShellUIHelper8 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsServiceInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), verb.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.InPrivateFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45720,7 +45720,7 @@ impl IShellUIHelper8 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ContentDiscoveryReset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.IsSuggestedSitesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::core::Result<()> { @@ -45741,7 +45741,7 @@ impl IShellUIHelper8 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.ShowInPrivateHelp)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn msIsSiteMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.msIsSiteMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::core::Result<()> { @@ -45754,7 +45754,7 @@ impl IShellUIHelper8 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.msSiteModeAddThumbBarButton)(::windows::core::Interface::as_raw(self), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45811,7 +45811,7 @@ impl IShellUIHelper8 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.msSiteModeAddButtonStyle)(::windows::core::Interface::as_raw(self), uibuttonid.into().abi(), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45829,7 +45829,7 @@ impl IShellUIHelper8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.msIsSiteModeFirstRun)(::windows::core::Interface::as_raw(self), fpreservestate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45842,11 +45842,11 @@ impl IShellUIHelper8 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.msAddTrackingProtectionList)(::windows::core::Interface::as_raw(self), url.into().abi(), bstrfiltername.into().abi()).ok() } pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.msTrackingProtectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.msActiveXFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45855,7 +45855,7 @@ impl IShellUIHelper8 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.msProvisionNetworks)(::windows::core::Interface::as_raw(self), bstrprovisioningxml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msReportSafeUrl(&self) -> ::windows::core::Result<()> { @@ -45908,7 +45908,7 @@ impl IShellUIHelper8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msPinnedSiteState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.msPinnedSiteState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msEnableTileNotificationQueueForSquare150x150(&self, fchange: i16) -> ::windows::core::Result<()> { @@ -45970,7 +45970,7 @@ impl IShellUIHelper8 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExperimentalFlag)(::windows::core::Interface::as_raw(self), bstrflagstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45987,7 +45987,7 @@ impl IShellUIHelper8 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExperimentalValue)(::windows::core::Interface::as_raw(self), bstrvaluestring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetAllExperimentalFlagsAndValues(&self) -> ::windows::core::Result<()> { @@ -45999,7 +45999,7 @@ impl IShellUIHelper8 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNeedIEAutoLaunchFlag)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46016,7 +46016,7 @@ impl IShellUIHelper8 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HasNeedIEAutoLaunchFlag)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46030,25 +46030,25 @@ impl IShellUIHelper8 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCVListData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCVListData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCVListLocalData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCVListLocalData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEMIEListData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEMIEListData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEMIEListLocalData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEMIEListLocalData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenFavoritesPane(&self) -> ::windows::core::Result<()> { @@ -46327,7 +46327,7 @@ impl IShellUIHelper9 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.IsSubscribed)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46372,7 +46372,7 @@ impl IShellUIHelper9 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.ShowBrowserUI)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(pvarin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46398,17 +46398,17 @@ impl IShellUIHelper9 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CustomizeSettings)(::windows::core::Interface::as_raw(self), fsqm, fphishing, bstrlocale.into().abi()).ok() } pub unsafe fn SqmEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.SqmEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PhishingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.PhishingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BrandImageUri(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.BrandImageUri)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SkipTabsWelcome(&self) -> ::windows::core::Result<()> { @@ -46426,30 +46426,30 @@ impl IShellUIHelper9 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.IsSearchProviderInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsSearchMigrated(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.IsSearchMigrated)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DefaultSearchProvider(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.DefaultSearchProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.RunOnceRequiredSettingsComplete)(::windows::core::Interface::as_raw(self), fcomplete).ok() } pub unsafe fn RunOnceHasShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.RunOnceHasShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SearchGuideUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.SearchGuideUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46467,11 +46467,11 @@ impl IShellUIHelper9 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.IsServiceInstalled)(::windows::core::Interface::as_raw(self), url.into().abi(), verb.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.InPrivateFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46496,7 +46496,7 @@ impl IShellUIHelper9 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.ContentDiscoveryReset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.IsSuggestedSitesEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::core::Result<()> { @@ -46517,7 +46517,7 @@ impl IShellUIHelper9 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.ShowInPrivateHelp)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn msIsSiteMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.msIsSiteMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::core::Result<()> { @@ -46530,7 +46530,7 @@ impl IShellUIHelper9 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.msSiteModeAddThumbBarButton)(::windows::core::Interface::as_raw(self), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46587,7 +46587,7 @@ impl IShellUIHelper9 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.msSiteModeAddButtonStyle)(::windows::core::Interface::as_raw(self), uibuttonid.into().abi(), bstriconurl.into().abi(), bstrtooltip.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46605,7 +46605,7 @@ impl IShellUIHelper9 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.msIsSiteModeFirstRun)(::windows::core::Interface::as_raw(self), fpreservestate, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46618,11 +46618,11 @@ impl IShellUIHelper9 { (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.msAddTrackingProtectionList)(::windows::core::Interface::as_raw(self), url.into().abi(), bstrfiltername.into().abi()).ok() } pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.msTrackingProtectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.msActiveXFilteringEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46631,7 +46631,7 @@ impl IShellUIHelper9 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.base__.msProvisionNetworks)(::windows::core::Interface::as_raw(self), bstrprovisioningxml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msReportSafeUrl(&self) -> ::windows::core::Result<()> { @@ -46684,7 +46684,7 @@ impl IShellUIHelper9 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msPinnedSiteState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.msPinnedSiteState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msEnableTileNotificationQueueForSquare150x150(&self, fchange: i16) -> ::windows::core::Result<()> { @@ -46746,7 +46746,7 @@ impl IShellUIHelper9 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetExperimentalFlag)(::windows::core::Interface::as_raw(self), bstrflagstring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46763,7 +46763,7 @@ impl IShellUIHelper9 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetExperimentalValue)(::windows::core::Interface::as_raw(self), bstrvaluestring.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResetAllExperimentalFlagsAndValues(&self) -> ::windows::core::Result<()> { @@ -46775,7 +46775,7 @@ impl IShellUIHelper9 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNeedIEAutoLaunchFlag)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46792,7 +46792,7 @@ impl IShellUIHelper9 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.HasNeedIEAutoLaunchFlag)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46806,25 +46806,25 @@ impl IShellUIHelper9 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCVListData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCVListData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCVListLocalData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCVListLocalData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEMIEListData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEMIEListData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEMIEListLocalData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEMIEListLocalData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OpenFavoritesPane(&self) -> ::windows::core::Result<()> { @@ -46842,7 +46842,7 @@ impl IShellUIHelper9 { (::windows::core::Interface::vtable(self).base__.LaunchInHVSI)(::windows::core::Interface::as_raw(self), bstrurl.into().abi()).ok() } pub unsafe fn GetOSSku(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOSSku)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47067,7 +47067,7 @@ impl IShellView { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -47104,14 +47104,14 @@ impl IShellView { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellBrowser>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateViewWindow)(::windows::core::Interface::as_raw(self), psvprevious.into().abi(), ::core::mem::transmute(pfs), psb.into().abi(), ::core::mem::transmute(prcview), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestroyViewWindow(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).DestroyViewWindow)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCurrentInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -47240,7 +47240,7 @@ impl IShellView2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -47277,14 +47277,14 @@ impl IShellView2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellBrowser>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateViewWindow)(::windows::core::Interface::as_raw(self), psvprevious.into().abi(), ::core::mem::transmute(pfs), psb.into().abi(), ::core::mem::transmute(prcview), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestroyViewWindow(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.DestroyViewWindow)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCurrentInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -47436,7 +47436,7 @@ impl IShellView3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.base__.GetWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -47473,14 +47473,14 @@ impl IShellView3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellBrowser>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateViewWindow)(::windows::core::Interface::as_raw(self), psvprevious.into().abi(), ::core::mem::transmute(pfs), psb.into().abi(), ::core::mem::transmute(prcview), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DestroyViewWindow(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.DestroyViewWindow)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetCurrentInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCurrentInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -47531,7 +47531,7 @@ impl IShellView3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellBrowser>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellView>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateViewWindow3)(::windows::core::Interface::as_raw(self), psbowner.into().abi(), psvprev.into().abi(), dwviewflags, dwmask, dwflags, fvmode, ::core::mem::transmute(pvid), ::core::mem::transmute(prcview), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47649,7 +47649,7 @@ pub struct IShellWindows(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellWindows { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -47658,11 +47658,11 @@ impl IShellWindows { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -47671,13 +47671,13 @@ impl IShellWindows { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Register)(::windows::core::Interface::as_raw(self), pid.into().abi(), hwnd, swclass, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn RegisterPending(&self, lthreadid: i32, pvarloc: *const super::super::System::Com::VARIANT, pvarlocroot: *const super::super::System::Com::VARIANT, swclass: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterPending)(::windows::core::Interface::as_raw(self), lthreadid, ::core::mem::transmute(pvarloc), ::core::mem::transmute(pvarlocroot), swclass, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Revoke(&self, lcookie: i32) -> ::windows::core::Result<()> { @@ -47804,17 +47804,17 @@ pub struct IShellWindows_Vtbl { pub struct ISortColumnArray(::windows::core::IUnknown); impl ISortColumnArray { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetAt(&self, index: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSortType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSortType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47946,7 +47946,7 @@ impl IStorageProviderBanners { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBanner)(::windows::core::Interface::as_raw(self), provideridentity.into(), subscriptionid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -48006,7 +48006,7 @@ impl IStorageProviderCopyHook { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CopyCallback)(::windows::core::Interface::as_raw(self), hwnd.into(), operation, flags, srcfile.into(), srcattribs, destfile.into(), destattribs, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48062,21 +48062,21 @@ impl IStorageProviderHandler { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyHandlerFromPath)(::windows::core::Interface::as_raw(self), path.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyHandlerFromUri<'a, P0>(&self, uri: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyHandlerFromUri)(::windows::core::Interface::as_raw(self), uri.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyHandlerFromFileId<'a, P0>(&self, fileid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyHandlerFromFileId)(::windows::core::Interface::as_raw(self), fileid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48130,7 +48130,7 @@ impl IStorageProviderPropertyHandler { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn RetrieveProperties(&self, propertiestoretrieve: &[PropertiesSystem::PROPERTYKEY]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RetrieveProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(propertiestoretrieve)), propertiestoretrieve.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -48209,7 +48209,7 @@ impl IStreamAsync { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Seek(&self, dlibmove: i64, dworigin: super::super::System::Com::STREAM_SEEK) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Seek)(::windows::core::Interface::as_raw(self), dlibmove, dworigin, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -48253,7 +48253,7 @@ impl IStreamAsync { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -48381,7 +48381,7 @@ pub struct IStreamAsync_Vtbl { pub struct IStreamUnbufferedInfo(::windows::core::IUnknown); impl IStreamUnbufferedInfo { pub unsafe fn GetSectorSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSectorSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48464,7 +48464,7 @@ where extern "system" { fn IStream_ReadPidl(pstm: *mut ::core::ffi::c_void, ppidlout: *mut *mut Common::ITEMIDLIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IStream_ReadPidl(pstm.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -48478,7 +48478,7 @@ where extern "system" { fn IStream_ReadStr(pstm: *mut ::core::ffi::c_void, ppsz: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IStream_ReadStr(pstm.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -48505,7 +48505,7 @@ where extern "system" { fn IStream_Size(pstm: *mut ::core::ffi::c_void, pui: *mut u64) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IStream_Size(pstm.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -48636,17 +48636,17 @@ impl ISyncMgrConflict { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetProperty(&self, propkey: *const PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(propkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetConflictIdInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConflictIdInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemsArray(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemsArray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Resolve<'a, P0>(&self, presolveinfo: P0) -> ::windows::core::Result<()> @@ -48724,7 +48724,7 @@ impl ISyncMgrConflictFolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncMgrConflict>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConflictIDList)(::windows::core::Interface::as_raw(self), pconflict.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } } @@ -48777,11 +48777,11 @@ pub struct ISyncMgrConflictFolder_Vtbl { pub struct ISyncMgrConflictItems(::windows::core::IUnknown); impl ISyncMgrConflictItems { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItem(&self, iindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), iindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48885,11 +48885,11 @@ pub struct ISyncMgrConflictPresenter_Vtbl { pub struct ISyncMgrConflictResolutionItems(::windows::core::IUnknown); impl ISyncMgrConflictResolutionItems { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItem(&self, iindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), iindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48943,7 +48943,7 @@ impl ISyncMgrConflictResolveInfo { (::windows::core::Interface::vtable(self).GetIterationInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pncurrentconflict), ::core::mem::transmute(pcconflicts), ::core::mem::transmute(pcremainingforapplytoall)).ok() } pub unsafe fn GetPresenterNextStep(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPresenterNextStep)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -48952,11 +48952,11 @@ impl ISyncMgrConflictResolveInfo { (::windows::core::Interface::vtable(self).GetPresenterChoice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pnpresenterchoice), ::core::mem::transmute(pfapplytoall)).ok() } pub unsafe fn GetItemChoiceCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemChoiceCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemChoice(&self, ichoice: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemChoice)(::windows::core::Interface::as_raw(self), ichoice, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPresenterNextStep(&self, npresenternextstep: SYNCMGR_PRESENTER_NEXT_STEP) -> ::windows::core::Result<()> { @@ -49037,7 +49037,7 @@ impl ISyncMgrConflictStore { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumConflicts)(::windows::core::Interface::as_raw(self), pszhandlerid.into(), pszitemid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -49059,7 +49059,7 @@ impl ISyncMgrConflictStore { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), pszhandlerid.into(), pszitemid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -49321,7 +49321,7 @@ impl ISyncMgrEnumItems { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -49377,49 +49377,49 @@ pub struct ISyncMgrEnumItems_Vtbl { pub struct ISyncMgrEvent(::windows::core::IUnknown); impl ISyncMgrEvent { pub unsafe fn GetEventID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetHandlerID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHandlerID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetItemID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetDescription(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLinkText(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLinkText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetLinkReference(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLinkReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetContext(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -49557,15 +49557,15 @@ pub struct ISyncMgrEventLinkUIOperation_Vtbl { pub struct ISyncMgrEventStore(::windows::core::IUnknown); impl ISyncMgrEventStore { pub unsafe fn GetEventEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEvent(&self, rguideventid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEvent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguideventid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveEvent(&self, pguideventids: &[::windows::core::GUID]) -> ::windows::core::Result<()> { @@ -49621,11 +49621,11 @@ pub struct ISyncMgrEventStore_Vtbl { pub struct ISyncMgrHandler(::windows::core::IUnknown); impl ISyncMgrHandler { pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetHandlerInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHandlerInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetObject(&self, rguidobjectid: *const ::windows::core::GUID) -> ::windows::core::Result @@ -49636,11 +49636,11 @@ impl ISyncMgrHandler { (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidobjectid), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPolicies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -49734,7 +49734,7 @@ impl ISyncMgrHandlerCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHandlerEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHandlerEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BindToHandler<'a, P0, T>(&self, pszhandlerid: P0) -> ::windows::core::Result @@ -49796,21 +49796,21 @@ pub struct ISyncMgrHandlerCollection_Vtbl { pub struct ISyncMgrHandlerInfo(::windows::core::IUnknown); impl ISyncMgrHandlerInfo { pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTypeLabel(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeLabel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetComment(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastSyncTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastSyncTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsActive(&self) -> ::windows::core::Result<()> { @@ -49938,29 +49938,29 @@ pub struct ISyncMgrRegister_Vtbl { pub struct ISyncMgrResolutionHandler(::windows::core::IUnknown); impl ISyncMgrResolutionHandler { pub unsafe fn QueryAbilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryAbilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn KeepOther<'a, P0>(&self, psiother: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeepOther)(::windows::core::Interface::as_raw(self), psiother.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn KeepRecent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeepRecent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveFromSyncSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RemoveFromSyncSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn KeepItems<'a, P0>(&self, parray: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ISyncMgrConflictResolutionItems>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeepItems)(::windows::core::Interface::as_raw(self), parray.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -50092,7 +50092,7 @@ impl ISyncMgrSessionCreator { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSession)(::windows::core::Interface::as_raw(self), pszhandlerid.into(), ::core::mem::transmute(::windows::core::as_ptr_or_null(ppszitemids)), ppszitemids.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -50163,7 +50163,7 @@ impl ISyncMgrSyncCallback { P4: ::std::convert::Into<::windows::core::PCWSTR>, P5: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReportEvent)(::windows::core::Interface::as_raw(self), pszitemid.into(), nlevel, nflags, pszname.into(), pszdescription.into(), pszlinktext.into(), pszlinkreference.into(), pszcontext.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn CanContinue<'a, P0>(&self, pszitemid: P0) -> ::windows::core::Result<()> @@ -50263,15 +50263,15 @@ pub struct ISyncMgrSyncCallback_Vtbl { pub struct ISyncMgrSyncItem(::windows::core::IUnknown); impl ISyncMgrSyncItem { pub unsafe fn GetItemID(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetItemInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetObject(&self, rguidobjectid: *const ::windows::core::GUID) -> ::windows::core::Result @@ -50282,11 +50282,11 @@ impl ISyncMgrSyncItem { (::windows::core::Interface::vtable(self).GetObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidobjectid), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPolicies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPolicies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -50360,15 +50360,15 @@ impl ISyncMgrSyncItemContainer { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncItem)(::windows::core::Interface::as_raw(self), pszitemid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSyncItemEnumerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncItemEnumerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSyncItemCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSyncItemCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -50420,17 +50420,17 @@ pub struct ISyncMgrSyncItemContainer_Vtbl { pub struct ISyncMgrSyncItemInfo(::windows::core::IUnknown); impl ISyncMgrSyncItemInfo { pub unsafe fn GetTypeLabel(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeLabel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetComment(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLastSyncTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastSyncTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsEnabled(&self) -> ::windows::core::Result<()> { @@ -50547,11 +50547,11 @@ impl ISyncMgrSynchronize { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetHandlerInfo(&self) -> ::windows::core::Result<*mut SYNCMGRHANDLERINFO> { - let mut result__ = ::core::mem::MaybeUninit::<*mut SYNCMGRHANDLERINFO>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHandlerInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut SYNCMGRHANDLERINFO>(result__) } pub unsafe fn EnumSyncMgrItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumSyncMgrItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemObject(&self, itemid: *const ::windows::core::GUID) -> ::windows::core::Result @@ -51760,7 +51760,7 @@ impl IThumbnailCapture { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CaptureThumbnail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmaxsize), phtmldoc2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -52089,7 +52089,7 @@ impl ITrackShellMenu { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe fn GetState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMenuToolbar<'a, P0>(&self, punk: P0, dwflags: u32) -> ::windows::core::Result<()> @@ -52342,7 +52342,7 @@ impl ITransferDestination { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITransferAdviseSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), psink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -52405,11 +52405,11 @@ impl ITransferMediumItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -52476,7 +52476,7 @@ impl ITransferSource { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITransferAdviseSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), psink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -52502,7 +52502,7 @@ impl ITransferSource { P1: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveItem)(::windows::core::Interface::as_raw(self), psi.into().abi(), psiparentdst.into().abi(), psznamedst.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RecycleItem<'a, P0, P1>(&self, psisource: P0, psiparentdest: P1, flags: u32) -> ::windows::core::Result @@ -52510,7 +52510,7 @@ impl ITransferSource { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecycleItem)(::windows::core::Interface::as_raw(self), psisource.into().abi(), psiparentdest.into().abi(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveItem<'a, P0>(&self, psisource: P0, flags: u32) -> ::windows::core::Result<()> @@ -52524,7 +52524,7 @@ impl ITransferSource { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RenameItem)(::windows::core::Interface::as_raw(self), psisource.into().abi(), psznewname.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LinkItem<'a, P0, P1, P2>(&self, psisource: P0, psiparentdest: P1, psznewname: P2, flags: u32) -> ::windows::core::Result @@ -52533,14 +52533,14 @@ impl ITransferSource { P1: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LinkItem)(::windows::core::Interface::as_raw(self), psisource.into().abi(), psiparentdest.into().abi(), psznewname.into(), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ApplyPropertiesToItem<'a, P0>(&self, psisource: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ApplyPropertiesToItem)(::windows::core::Interface::as_raw(self), psisource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultDestinationName<'a, P0, P1>(&self, psisource: P0, psiparentdest: P1) -> ::windows::core::Result<::windows::core::PWSTR> @@ -52548,7 +52548,7 @@ impl ITransferSource { P0: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IShellItem>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultDestinationName)(::windows::core::Interface::as_raw(self), psisource.into().abi(), psiparentdest.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn EnterFolder<'a, P0>(&self, psichildfolderdest: P0) -> ::windows::core::Result<()> @@ -52642,7 +52642,7 @@ impl ITravelEntry { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetPidl(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPidl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } } @@ -52734,7 +52734,7 @@ impl ITravelLog { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTravelEntry)(::windows::core::Interface::as_raw(self), punk.into().abi(), ioffset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -52743,7 +52743,7 @@ impl ITravelLog { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindTravelEntry)(::windows::core::Interface::as_raw(self), punk.into().abi(), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetToolTipText<'a, P0>(&self, punk: P0, ioffset: i32, idstemplate: i32, pwztext: &mut [u16]) -> ::windows::core::Result<()> @@ -52762,7 +52762,7 @@ impl ITravelLog { (::windows::core::Interface::vtable(self).InsertMenuEntries)(::windows::core::Interface::as_raw(self), punk.into().abi(), hmenu.into(), npos, idfirst, idlast, dwflags).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CountEntries<'a, P0>(&self, punk: P0) -> u32 @@ -52843,7 +52843,7 @@ pub struct ITravelLog_Vtbl { pub struct ITravelLogClient(::windows::core::IUnknown); impl ITravelLogClient { pub unsafe fn FindWindowByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindWindowByIndex)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -52852,7 +52852,7 @@ impl ITravelLogClient { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindowData)(::windows::core::Interface::as_raw(self), pstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LoadHistoryPosition<'a, P0>(&self, pszurllocation: P0, dwposition: u32) -> ::windows::core::Result<()> @@ -52913,11 +52913,11 @@ pub struct ITravelLogClient_Vtbl { pub struct ITravelLogEntry(::windows::core::IUnknown); impl ITravelLogEntry { pub unsafe fn GetTitle(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTitle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetURL(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -52976,7 +52976,7 @@ impl ITravelLogStg { P2: ::std::convert::Into<::windows::core::InParam<'a, ITravelLogEntry>>, P3: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEntry)(::windows::core::Interface::as_raw(self), pszurl.into(), psztitle.into(), ptlerelativeto.into().abi(), fprepend.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TravelTo<'a, P0>(&self, ptle: P0) -> ::windows::core::Result<()> @@ -52986,18 +52986,18 @@ impl ITravelLogStg { (::windows::core::Interface::vtable(self).TravelTo)(::windows::core::Interface::as_raw(self), ptle.into().abi()).ok() } pub unsafe fn EnumEntries(&self, flags: TLENUMF) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumEntries)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindEntries<'a, P0>(&self, flags: TLENUMF, pszurl: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindEntries)(::windows::core::Interface::as_raw(self), flags, pszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self, flags: TLENUMF) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveEntry<'a, P0>(&self, ptle: P0) -> ::windows::core::Result<()> @@ -53007,7 +53007,7 @@ impl ITravelLogStg { (::windows::core::Interface::vtable(self).RemoveEntry)(::windows::core::Interface::as_raw(self), ptle.into().abi()).ok() } pub unsafe fn GetRelativeEntry(&self, ioffset: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelativeEntry)(::windows::core::Interface::as_raw(self), ioffset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -53252,7 +53252,7 @@ impl IUniformResourceLocatorA { (::windows::core::Interface::vtable(self).SetURL)(::windows::core::Interface::as_raw(self), pcszurl.into(), dwinflags).ok() } pub unsafe fn GetURL(&self) -> ::windows::core::Result<::windows::core::PSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53318,7 +53318,7 @@ impl IUniformResourceLocatorW { (::windows::core::Interface::vtable(self).SetURL)(::windows::core::Interface::as_raw(self), pcszurl.into(), dwinflags).ok() } pub unsafe fn GetURL(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53405,7 +53405,7 @@ where extern "system" { fn IUnknown_GetWindow(punk: *mut ::core::ffi::c_void, phwnd: *mut super::super::Foundation::HWND) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); IUnknown_GetWindow(punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -53457,7 +53457,7 @@ impl IUpdateIDList { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IBindCtx>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Update)(::windows::core::Interface::as_raw(self), pbc.into().abi(), ::core::mem::transmute(pidlin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } } @@ -53512,11 +53512,11 @@ impl IUseToBrowseItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -53875,11 +53875,11 @@ impl IViewStateIdentityItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> ::windows::core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItemIDList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } pub unsafe fn GetItem(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -53948,7 +53948,7 @@ impl IVirtualDesktopManager { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsWindowOnCurrentVirtualDesktop)(::windows::core::Interface::as_raw(self), toplevelwindow.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53957,7 +53957,7 @@ impl IVirtualDesktopManager { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWindowDesktopId)(::windows::core::Interface::as_raw(self), toplevelwindow.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -54037,14 +54037,14 @@ impl IVisualProperties { (::windows::core::Interface::vtable(self).SetColor)(::windows::core::Interface::as_raw(self), vpcf, cr).ok() } pub unsafe fn GetColor(&self, vpcf: VPCOLORFLAGS) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetColor)(::windows::core::Interface::as_raw(self), vpcf, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetItemHeight(&self, cyiteminpixels: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetItemHeight)(::windows::core::Interface::as_raw(self), cyiteminpixels).ok() } pub unsafe fn GetItemHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -54058,7 +54058,7 @@ impl IVisualProperties { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTheme<'a, P0, P1>(&self, pszsubappname: P0, pszsubidlist: P1) -> ::windows::core::Result<()> @@ -54166,60 +54166,60 @@ impl IWebBrowser { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Container(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Container)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TopLevelContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TopLevelContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLeft(&self, left: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLeft)(::windows::core::Interface::as_raw(self), left).ok() } pub unsafe fn Top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTop(&self, top: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTop)(::windows::core::Interface::as_raw(self), top).ok() } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, width: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWidth)(::windows::core::Interface::as_raw(self), width).ok() } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHeight(&self, height: i32) -> ::windows::core::Result<()> { @@ -54228,17 +54228,17 @@ impl IWebBrowser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocationURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LocationURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Busy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Busy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -54401,60 +54401,60 @@ impl IWebBrowser2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Container(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Container)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TopLevelContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.TopLevelContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLeft(&self, left: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetLeft)(::windows::core::Interface::as_raw(self), left).ok() } pub unsafe fn Top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTop(&self, top: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetTop)(::windows::core::Interface::as_raw(self), top).ok() } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, width: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetWidth)(::windows::core::Interface::as_raw(self), width).ok() } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHeight(&self, height: i32) -> ::windows::core::Result<()> { @@ -54463,17 +54463,17 @@ impl IWebBrowser2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LocationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocationURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.LocationURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Busy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.Busy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Quit(&self) -> ::windows::core::Result<()> { @@ -54497,42 +54497,42 @@ impl IWebBrowser2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), property.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HWND(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.HWND)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FullName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FullName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Visible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Visible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVisible(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetVisible)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn StatusBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StatusBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStatusBar(&self, value: i16) -> ::windows::core::Result<()> { @@ -54541,7 +54541,7 @@ impl IWebBrowser2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -54553,21 +54553,21 @@ impl IWebBrowser2 { (::windows::core::Interface::vtable(self).base__.SetStatusText)(::windows::core::Interface::as_raw(self), statustext.into().abi()).ok() } pub unsafe fn ToolBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ToolBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetToolBar(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetToolBar)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn MenuBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.MenuBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMenuBar(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetMenuBar)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn FullScreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FullScreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFullScreen(&self, bfullscreen: i16) -> ::windows::core::Result<()> { @@ -54581,7 +54581,7 @@ impl IWebBrowser2 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn QueryStatusWB(&self, cmdid: super::super::System::Ole::OLECMDID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryStatusWB)(::windows::core::Interface::as_raw(self), cmdid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54597,53 +54597,53 @@ impl IWebBrowser2 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn ReadyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ReadyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Offline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Offline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOffline(&self, boffline: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetOffline)(::windows::core::Interface::as_raw(self), boffline).ok() } pub unsafe fn Silent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Silent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSilent(&self, bsilent: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSilent)(::windows::core::Interface::as_raw(self), bsilent).ok() } pub unsafe fn RegisterAsBrowser(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterAsBrowser)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRegisterAsBrowser(&self, bregister: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRegisterAsBrowser)(::windows::core::Interface::as_raw(self), bregister).ok() } pub unsafe fn RegisterAsDropTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterAsDropTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRegisterAsDropTarget(&self, bregister: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRegisterAsDropTarget)(::windows::core::Interface::as_raw(self), bregister).ok() } pub unsafe fn TheaterMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TheaterMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTheaterMode(&self, bregister: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTheaterMode)(::windows::core::Interface::as_raw(self), bregister).ok() } pub unsafe fn AddressBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddressBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAddressBar(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAddressBar)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn Resizable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Resizable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetResizable(&self, value: i16) -> ::windows::core::Result<()> { @@ -54827,60 +54827,60 @@ impl IWebBrowserApp { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Application)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Container(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Container)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TopLevelContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TopLevelContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLeft(&self, left: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetLeft)(::windows::core::Interface::as_raw(self), left).ok() } pub unsafe fn Top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTop(&self, top: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetTop)(::windows::core::Interface::as_raw(self), top).ok() } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, width: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetWidth)(::windows::core::Interface::as_raw(self), width).ok() } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHeight(&self, height: i32) -> ::windows::core::Result<()> { @@ -54889,17 +54889,17 @@ impl IWebBrowserApp { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LocationURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.LocationURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Busy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Busy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Quit(&self) -> ::windows::core::Result<()> { @@ -54923,42 +54923,42 @@ impl IWebBrowserApp { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), property.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HWND(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HWND)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FullName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FullName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Path(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Path)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Visible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Visible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVisible(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVisible)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn StatusBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStatusBar(&self, value: i16) -> ::windows::core::Result<()> { @@ -54967,7 +54967,7 @@ impl IWebBrowserApp { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StatusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StatusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -54979,21 +54979,21 @@ impl IWebBrowserApp { (::windows::core::Interface::vtable(self).SetStatusText)(::windows::core::Interface::as_raw(self), statustext.into().abi()).ok() } pub unsafe fn ToolBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ToolBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetToolBar(&self, value: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetToolBar)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn MenuBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MenuBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMenuBar(&self, value: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMenuBar)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn FullScreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FullScreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFullScreen(&self, bfullscreen: i16) -> ::windows::core::Result<()> { @@ -55141,13 +55141,13 @@ impl IWebWizardExtension { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetFirstPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFirstPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetLastPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLastPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInitialURL<'a, P0>(&self, pszurl: P0) -> ::windows::core::Result<()> @@ -55246,7 +55246,7 @@ impl IWebWizardHost { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55263,7 +55263,7 @@ impl IWebWizardHost { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).get_Property)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWizardButtons(&self, vfenableback: i16, vfenablenext: i16, vflastpage: i16) -> ::windows::core::Result<()> { @@ -55396,7 +55396,7 @@ impl IWebWizardHost2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55413,7 +55413,7 @@ impl IWebWizardHost2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.get_Property)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWizardButtons(&self, vfenableback: i16, vfenablenext: i16, vflastpage: i16) -> ::windows::core::Result<()> { @@ -55434,7 +55434,7 @@ impl IWebWizardHost2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SignString)(::windows::core::Interface::as_raw(self), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -55539,13 +55539,13 @@ impl IWizardExtension { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetFirstPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFirstPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetLastPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLastPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -55608,19 +55608,19 @@ impl IWizardSite { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetPreviousPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetNextPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetCancelledPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCancelledPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -59137,7 +59137,7 @@ where extern "system" { fn PathAllocCanonicalize(pszpathin: ::windows::core::PCWSTR, dwflags: u32, ppszpathout: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PathAllocCanonicalize(pszpathin.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -59151,7 +59151,7 @@ where extern "system" { fn PathAllocCombine(pszpathin: ::windows::core::PCWSTR, pszmore: ::windows::core::PCWSTR, dwflags: u32, ppszpathout: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PathAllocCombine(pszpathin.into(), pszmore.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -59338,7 +59338,7 @@ where extern "system" { fn PathCchFindExtension(pszpath: ::windows::core::PCWSTR, cchpath: usize, ppszext: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PathCchFindExtension(pszpath.into(), cchpath, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -59412,7 +59412,7 @@ where extern "system" { fn PathCchSkipRoot(pszpath: ::windows::core::PCWSTR, ppszrootend: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); PathCchSkipRoot(pszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -61497,7 +61497,7 @@ where extern "system" { fn RegisterScaleChangeEvent(hevent: super::super::Foundation::HANDLE, pdwcookie: *mut usize) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RegisterScaleChangeEvent(hevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -61511,7 +61511,7 @@ where extern "system" { fn RegisterScaleChangeNotifications(displaydevice: DISPLAY_DEVICE_TYPE, hwndnotify: super::super::Foundation::HWND, umsgnotify: u32, pdwcookie: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RegisterScaleChangeNotifications(displaydevice, hwndnotify.into(), umsgnotify, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -62478,7 +62478,7 @@ where extern "system" { fn SHAssocEnumHandlers(pszextra: ::windows::core::PCWSTR, affilter: ASSOC_FILTER, ppenumhandler: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHAssocEnumHandlers(pszextra.into(), affilter, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -62597,7 +62597,7 @@ where extern "system" { fn SHCLSIDFromString(psz: ::windows::core::PCWSTR, pclsid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCLSIDFromString(psz.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -63345,7 +63345,7 @@ where extern "system" { fn SHCreateDefaultPropertiesOp(psi: *mut ::core::ffi::c_void, ppfileop: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateDefaultPropertiesOp(psi.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -63510,7 +63510,7 @@ pub unsafe fn SHCreateQueryCancelAutoPlayMoniker() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateQueryCancelAutoPlayMoniker(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] @@ -63521,7 +63521,7 @@ pub unsafe fn SHCreateShellFolderView(pcsfv: *const SFV_CREATE) -> ::windows::co extern "system" { fn SHCreateShellFolderView(pcsfv: *const SFV_CREATE, ppsv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateShellFolderView(::core::mem::transmute(pcsfv), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -63532,7 +63532,7 @@ pub unsafe fn SHCreateShellFolderViewEx(pcsfv: *const CSFV) -> ::windows::core:: extern "system" { fn SHCreateShellFolderViewEx(pcsfv: *const CSFV, ppsv: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateShellFolderViewEx(::core::mem::transmute(pcsfv), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -63546,7 +63546,7 @@ where extern "system" { fn SHCreateShellItem(pidlparent: *const Common::ITEMIDLIST, psfparent: *mut ::core::ffi::c_void, pidl: *const Common::ITEMIDLIST, ppsi: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateShellItem(::core::mem::transmute(pidlparent), psfparent.into().abi(), ::core::mem::transmute(pidl), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -63560,7 +63560,7 @@ where extern "system" { fn SHCreateShellItemArray(pidlparent: *const Common::ITEMIDLIST, psf: *mut ::core::ffi::c_void, cidl: u32, ppidl: *const *const Common::ITEMIDLIST, ppsiitemarray: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateShellItemArray(::core::mem::transmute(pidlparent), psf.into().abi(), ppidl.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(ppidl)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -63584,7 +63584,7 @@ pub unsafe fn SHCreateShellItemArrayFromIDLists(rgpidl: &[*const Common::ITEMIDL extern "system" { fn SHCreateShellItemArrayFromIDLists(cidl: u32, rgpidl: *const *const Common::ITEMIDLIST, ppsiitemarray: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateShellItemArrayFromIDLists(rgpidl.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(rgpidl)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -63620,7 +63620,7 @@ pub unsafe fn SHCreateStdEnumFmtEtc(afmt: &[super::super::System::Com::FORMATETC extern "system" { fn SHCreateStdEnumFmtEtc(cfmt: u32, afmt: *const super::super::System::Com::FORMATETC, ppenumformatetc: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateStdEnumFmtEtc(afmt.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(afmt)), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -63634,7 +63634,7 @@ where extern "system" { fn SHCreateStreamOnFileA(pszfile: ::windows::core::PCSTR, grfmode: u32, ppstm: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateStreamOnFileA(pszfile.into(), grfmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -63650,7 +63650,7 @@ where extern "system" { fn SHCreateStreamOnFileEx(pszfile: ::windows::core::PCWSTR, grfmode: u32, dwattributes: u32, fcreate: super::super::Foundation::BOOL, pstmtemplate: *mut ::core::ffi::c_void, ppstm: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateStreamOnFileEx(pszfile.into(), grfmode, dwattributes, fcreate.into(), pstmtemplate.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -63664,7 +63664,7 @@ where extern "system" { fn SHCreateStreamOnFileW(pszfile: ::windows::core::PCWSTR, grfmode: u32, ppstm: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHCreateStreamOnFileW(pszfile.into(), grfmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] @@ -63972,7 +63972,7 @@ where extern "system" { fn SHDoDragDrop(hwnd: super::super::Foundation::HWND, pdata: *mut ::core::ffi::c_void, pdsrc: *mut ::core::ffi::c_void, dweffect: super::super::System::Ole::DROPEFFECT, pdweffect: *mut super::super::System::Ole::DROPEFFECT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHDoDragDrop(hwnd.into(), pdata.into().abi(), pdsrc.into().abi(), dweffect, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -65735,7 +65735,7 @@ pub unsafe fn SHGetDesktopFolder() -> ::windows::core::Result { extern "system" { fn SHGetDesktopFolder(ppshf: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetDesktopFolder(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -65774,7 +65774,7 @@ where extern "system" { fn SHGetDriveMedia(pszdrive: ::windows::core::PCWSTR, pdwmediacontent: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetDriveMedia(pszdrive.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -65815,7 +65815,7 @@ where extern "system" { fn SHGetFolderLocation(hwnd: super::super::Foundation::HWND, csidl: i32, htoken: super::super::Foundation::HANDLE, dwflags: u32, ppidl: *mut *mut Common::ITEMIDLIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetFolderLocation(hwnd.into(), csidl, htoken.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -65887,7 +65887,7 @@ where extern "system" { fn SHGetIDListFromObject(punk: *mut ::core::ffi::c_void, ppidl: *mut *mut Common::ITEMIDLIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetIDListFromObject(punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -65930,7 +65930,7 @@ pub unsafe fn SHGetInstanceExplorer() -> ::windows::core::Result<::windows::core extern "system" { fn SHGetInstanceExplorer(ppunk: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetInstanceExplorer(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -65978,7 +65978,7 @@ where extern "system" { fn SHGetKnownFolderIDList(rfid: *const ::windows::core::GUID, dwflags: u32, htoken: super::super::Foundation::HANDLE, ppidl: *mut *mut Common::ITEMIDLIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetKnownFolderIDList(::core::mem::transmute(rfid), dwflags, htoken.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -66005,7 +66005,7 @@ where extern "system" { fn SHGetKnownFolderPath(rfid: *const ::windows::core::GUID, dwflags: u32, htoken: super::super::Foundation::HANDLE, ppszpath: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetKnownFolderPath(::core::mem::transmute(rfid), dwflags, htoken.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -66028,7 +66028,7 @@ pub unsafe fn SHGetMalloc() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetMalloc(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -66039,7 +66039,7 @@ pub unsafe fn SHGetNameFromIDList(pidl: *const Common::ITEMIDLIST, sigdnname: SI extern "system" { fn SHGetNameFromIDList(pidl: *const Common::ITEMIDLIST, sigdnname: SIGDN, ppszname: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetNameFromIDList(::core::mem::transmute(pidl), sigdnname, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -66111,7 +66111,7 @@ where extern "system" { fn SHGetRealIDL(psf: *mut ::core::ffi::c_void, pidlsimple: *const Common::ITEMIDLIST, ppidlreal: *mut *mut Common::ITEMIDLIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetRealIDL(psf.into().abi(), ::core::mem::transmute(pidlsimple), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -66159,7 +66159,7 @@ where extern "system" { fn SHGetSpecialFolderLocation(hwnd: super::super::Foundation::HWND, csidl: i32, ppidl: *mut *mut Common::ITEMIDLIST) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut Common::ITEMIDLIST>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetSpecialFolderLocation(hwnd.into(), csidl, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut Common::ITEMIDLIST>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -66211,7 +66211,7 @@ where extern "system" { fn SHGetTemporaryPropertyForItem(psi: *mut ::core::ffi::c_void, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetTemporaryPropertyForItem(psi.into().abi(), ::core::mem::transmute(propkey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -66221,7 +66221,7 @@ pub unsafe fn SHGetThreadRef() -> ::windows::core::Result<::windows::core::IUnkn extern "system" { fn SHGetThreadRef(ppunk: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHGetThreadRef(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -66403,7 +66403,7 @@ where extern "system" { fn SHIsFileAvailableOffline(pwszpath: ::windows::core::PCWSTR, pdwstatus: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHIsFileAvailableOffline(pwszpath.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -67035,7 +67035,7 @@ pub unsafe fn SHQueryUserNotificationState() -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHQueryUserNotificationState(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -68200,7 +68200,7 @@ where extern "system" { fn SHStrDupA(psz: ::windows::core::PCSTR, ppwsz: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHStrDupA(psz.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -68213,7 +68213,7 @@ where extern "system" { fn SHStrDupW(psz: ::windows::core::PCWSTR, ppwsz: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); SHStrDupW(psz.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -71259,7 +71259,7 @@ pub unsafe fn Shell_NotifyIconGetRect(identifier: *const NOTIFYICONIDENTIFIER) - extern "system" { fn Shell_NotifyIconGetRect(identifier: *const NOTIFYICONIDENTIFIER, iconlocation: *mut super::super::Foundation::RECT) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); Shell_NotifyIconGetRect(::core::mem::transmute(identifier), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] 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 dd8421d68c..a1e7de3611 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs @@ -3138,7 +3138,7 @@ impl IDynamicRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3152,7 +3152,7 @@ impl IDynamicRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HWND(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HWND)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3166,7 +3166,7 @@ impl IDynamicRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClipRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClipRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3177,7 +3177,7 @@ impl IDynamicRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ClipRegion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClipRegion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3191,7 +3191,7 @@ impl IDynamicRenderer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawingAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DrawingAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3205,7 +3205,7 @@ impl IDynamicRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn DataCacheEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataCacheEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3450,7 +3450,7 @@ impl IGestureRecognizer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3462,7 +3462,7 @@ impl IGestureRecognizer { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), fenabled.into()).ok() } pub unsafe fn MaxStrokeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxStrokeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxStrokeCount(&self, cstrokes: i32) -> ::windows::core::Result<()> { @@ -3677,14 +3677,14 @@ pub struct IInkCollector(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCollector { pub unsafe fn hWnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hWnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SethWnd(&self, newwindow: isize) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SethWnd)(::windows::core::Interface::as_raw(self), newwindow).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, collecting: i16) -> ::windows::core::Result<()> { @@ -3693,7 +3693,7 @@ impl IInkCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultDrawingAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultDrawingAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3707,7 +3707,7 @@ impl IInkCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Renderer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Renderer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3721,7 +3721,7 @@ impl IInkCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3733,25 +3733,25 @@ impl IInkCollector { (::windows::core::Interface::vtable(self).putref_Ink)(::windows::core::Interface::as_raw(self), newink.into().abi()).ok() } pub unsafe fn AutoRedraw(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoRedraw)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoRedraw(&self, autoredraw: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoRedraw)(::windows::core::Interface::as_raw(self), autoredraw).ok() } pub unsafe fn CollectingInk(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CollectingInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CollectionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CollectionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCollectionMode(&self, mode: InkCollectionMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCollectionMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn DynamicRendering(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DynamicRendering)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDynamicRendering(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -3760,7 +3760,7 @@ impl IInkCollector { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DesiredPacketDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredPacketDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3774,7 +3774,7 @@ impl IInkCollector { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MouseIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MouseIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3794,7 +3794,7 @@ impl IInkCollector { (::windows::core::Interface::vtable(self).putref_MouseIcon)(::windows::core::Interface::as_raw(self), mouseicon.into().abi()).ok() } pub unsafe fn MousePointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MousePointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::core::Result<()> { @@ -3803,18 +3803,18 @@ impl IInkCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cursors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cursors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MarginX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MarginX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMarginX(&self, marginx: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMarginX)(::windows::core::Interface::as_raw(self), marginx).ok() } pub unsafe fn MarginY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MarginY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMarginY(&self, marginy: i32) -> ::windows::core::Result<()> { @@ -3823,11 +3823,11 @@ impl IInkCollector { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tablet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tablet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportHighContrastInk(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportHighContrastInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSupportHighContrastInk(&self, support: i16) -> ::windows::core::Result<()> { @@ -3837,7 +3837,7 @@ impl IInkCollector { (::windows::core::Interface::vtable(self).SetGestureStatus)(::windows::core::Interface::as_raw(self), gesture, listen).ok() } pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGestureStatus)(::windows::core::Interface::as_raw(self), gesture, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3865,7 +3865,7 @@ impl IInkCollector { (::windows::core::Interface::vtable(self).SetSingleTabletIntegratedMode)(::windows::core::Interface::as_raw(self), tablet.into().abi()).ok() } pub unsafe fn GetEventInterest(&self, eventid: InkCollectorEventInterest) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventInterest)(::windows::core::Interface::as_raw(self), eventid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::core::Result<()> { @@ -4036,21 +4036,21 @@ impl IInkCursor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Inverted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Inverted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawingAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DrawingAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4064,13 +4064,13 @@ impl IInkCursor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tablet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tablet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Buttons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Buttons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4172,17 +4172,17 @@ impl IInkCursorButton { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn State(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).State)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4269,11 +4269,11 @@ pub struct IInkCursorButtons(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCursorButtons { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4282,7 +4282,7 @@ impl IInkCursorButtons { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), identifier.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4366,17 +4366,17 @@ pub struct IInkCursors(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCursors { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4460,11 +4460,11 @@ pub struct IInkCustomStrokes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCustomStrokes { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4473,7 +4473,7 @@ impl IInkCustomStrokes { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), identifier.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -4588,17 +4588,17 @@ impl IInkDisp { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Strokes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExtendedProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Dirty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Dirty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDirty(&self, dirty: i16) -> ::windows::core::Result<()> { @@ -4607,13 +4607,13 @@ impl IInkDisp { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CustomStrokes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CustomStrokes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoundingBox)(::windows::core::Interface::as_raw(self), boundingboxmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4638,7 +4638,7 @@ impl IInkDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkStrokes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtractStrokes)(::windows::core::Interface::as_raw(self), strokes.into().abi(), extractflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4647,7 +4647,7 @@ impl IInkDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkRectangle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtractWithRectangle)(::windows::core::Interface::as_raw(self), rectangle.into().abi(), extractflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4661,13 +4661,13 @@ impl IInkDisp { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HitTestCircle)(::windows::core::Interface::as_raw(self), x, y, radius, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4676,7 +4676,7 @@ impl IInkDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkRectangle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HitTestWithRectangle)(::windows::core::Interface::as_raw(self), selectionrectangle.into().abi(), intersectpercent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4698,7 +4698,7 @@ impl IInkDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStrokes)(::windows::core::Interface::as_raw(self), strokeids.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4713,7 +4713,7 @@ impl IInkDisp { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Save(&self, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Save)(::windows::core::Interface::as_raw(self), persistenceformat, compressionmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -4731,7 +4731,7 @@ impl IInkDisp { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateStroke)(::windows::core::Interface::as_raw(self), packetdata.into().abi(), packetdescription.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4740,7 +4740,7 @@ impl IInkDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkRectangle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClipboardCopyWithRectangle)(::windows::core::Interface::as_raw(self), rectangle.into().abi(), clipboardformats, clipboardmodes, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4749,7 +4749,7 @@ impl IInkDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkStrokes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClipboardCopy)(::windows::core::Interface::as_raw(self), strokes.into().abi(), clipboardformats, clipboardmodes, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4758,7 +4758,7 @@ impl IInkDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanPaste)(::windows::core::Interface::as_raw(self), dataobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4767,7 +4767,7 @@ impl IInkDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ClipboardPaste)(::windows::core::Interface::as_raw(self), x, y, dataobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4941,7 +4941,7 @@ impl IInkDivider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Strokes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4955,7 +4955,7 @@ impl IInkDivider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecognizerContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecognizerContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4967,7 +4967,7 @@ impl IInkDivider { (::windows::core::Interface::vtable(self).putref_RecognizerContext)(::windows::core::Interface::as_raw(self), recognizercontext.into().abi()).ok() } pub unsafe fn LineHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LineHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLineHeight(&self, lineheight: i32) -> ::windows::core::Result<()> { @@ -4976,7 +4976,7 @@ impl IInkDivider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Divide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Divide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5078,13 +5078,13 @@ impl IInkDivisionResult { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Strokes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResultByType(&self, divisiontype: InkDivisionType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ResultByType)(::windows::core::Interface::as_raw(self), divisiontype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5172,23 +5172,23 @@ impl IInkDivisionUnit { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Strokes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DivisionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DivisionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn RecognizedString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecognizedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RotationTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RotationTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5279,17 +5279,17 @@ pub struct IInkDivisionUnits(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkDivisionUnits { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5373,63 +5373,63 @@ pub struct IInkDrawingAttributes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkDrawingAttributes { pub unsafe fn Color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColor(&self, newcolor: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetColor)(::windows::core::Interface::as_raw(self), newcolor).ok() } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetWidth(&self, newwidth: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetWidth)(::windows::core::Interface::as_raw(self), newwidth).ok() } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHeight(&self, newheight: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHeight)(::windows::core::Interface::as_raw(self), newheight).ok() } pub unsafe fn FitToCurve(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FitToCurve)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFitToCurve(&self, flag: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFitToCurve)(::windows::core::Interface::as_raw(self), flag).ok() } pub unsafe fn IgnorePressure(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IgnorePressure)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetIgnorePressure(&self, flag: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetIgnorePressure)(::windows::core::Interface::as_raw(self), flag).ok() } pub unsafe fn AntiAliased(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AntiAliased)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAntiAliased(&self, flag: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAntiAliased)(::windows::core::Interface::as_raw(self), flag).ok() } pub unsafe fn Transparency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Transparency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTransparency(&self, newtransparency: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTransparency)(::windows::core::Interface::as_raw(self), newtransparency).ok() } pub unsafe fn RasterOperation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RasterOperation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRasterOperation(&self, newrasteroperation: InkRasterOperation) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRasterOperation)(::windows::core::Interface::as_raw(self), newrasteroperation).ok() } pub unsafe fn PenTip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PenTip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPenTip(&self, newpentip: InkPenTip) -> ::windows::core::Result<()> { @@ -5438,13 +5438,13 @@ impl IInkDrawingAttributes { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExtendedProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5548,25 +5548,25 @@ pub struct IInkEdit(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkEdit { pub unsafe fn Status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UseMouseForInput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UseMouseForInput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetUseMouseForInput(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetUseMouseForInput)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn InkMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InkMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInkMode(&self, newval: InkMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInkMode)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn InkInsertMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InkInsertMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInkInsertMode(&self, newval: InkInsertMode) -> ::windows::core::Result<()> { @@ -5575,7 +5575,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawingAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DrawingAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5587,7 +5587,7 @@ impl IInkEdit { (::windows::core::Interface::vtable(self).putref_DrawingAttributes)(::windows::core::Interface::as_raw(self), newval.into().abi()).ok() } pub unsafe fn RecognitionTimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecognitionTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRecognitionTimeout(&self, newval: i32) -> ::windows::core::Result<()> { @@ -5596,7 +5596,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recognizer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recognizer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5610,7 +5610,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Factoid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Factoid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5624,7 +5624,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelInks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelInks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5636,7 +5636,7 @@ impl IInkEdit { (::windows::core::Interface::vtable(self).SetSelInks)(::windows::core::Interface::as_raw(self), selink.into().abi()).ok() } pub unsafe fn SelInksDisplayMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelInksDisplayMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelInksDisplayMode(&self, inkdisplaymode: InkDisplayMode) -> ::windows::core::Result<()> { @@ -5646,7 +5646,7 @@ impl IInkEdit { (::windows::core::Interface::vtable(self).Recognize)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGestureStatus)(::windows::core::Interface::as_raw(self), gesture, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::core::Result<()> { @@ -5656,31 +5656,31 @@ impl IInkEdit { (::windows::core::Interface::vtable(self).SetBackColor)(::windows::core::Interface::as_raw(self), clr).ok() } pub unsafe fn BackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Appearance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Appearance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAppearance(&self, pappearance: AppearanceConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAppearance)(::windows::core::Interface::as_raw(self), pappearance).ok() } pub unsafe fn BorderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BorderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBorderStyle(&self, pborderstyle: BorderStyleConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBorderStyle)(::windows::core::Interface::as_raw(self), pborderstyle).ok() } pub unsafe fn Hwnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Hwnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5694,7 +5694,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5708,7 +5708,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MouseIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MouseIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5728,49 +5728,49 @@ impl IInkEdit { (::windows::core::Interface::vtable(self).putref_MouseIcon)(::windows::core::Interface::as_raw(self), mouseicon.into().abi()).ok() } pub unsafe fn MousePointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MousePointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMousePointer)(::windows::core::Interface::as_raw(self), mousepointer).ok() } pub unsafe fn Locked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Locked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLocked(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLocked)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEnabled)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn MaxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMaxLength(&self, lmaxlength: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMaxLength)(::windows::core::Interface::as_raw(self), lmaxlength).ok() } pub unsafe fn MultiLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MultiLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMultiLine(&self, newval: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMultiLine)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn ScrollBars(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ScrollBars)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScrollBars(&self, newval: ScrollBarsConstants) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetScrollBars)(::windows::core::Interface::as_raw(self), newval).ok() } pub unsafe fn DisableNoScroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisableNoScroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisableNoScroll(&self, newval: i16) -> ::windows::core::Result<()> { @@ -5779,7 +5779,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelAlignment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelAlignment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5793,7 +5793,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelBold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelBold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5807,7 +5807,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelItalic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelItalic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5821,7 +5821,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelUnderline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelUnderline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5835,7 +5835,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5849,7 +5849,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelFontName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelFontName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5863,7 +5863,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelFontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelFontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5877,7 +5877,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelCharOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelCharOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -5891,7 +5891,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TextRTF(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TextRTF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5903,14 +5903,14 @@ impl IInkEdit { (::windows::core::Interface::vtable(self).SetTextRTF)(::windows::core::Interface::as_raw(self), pbstrtextrtf.into().abi()).ok() } pub unsafe fn SelStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelStart(&self, plselstart: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSelStart)(::windows::core::Interface::as_raw(self), plselstart).ok() } pub unsafe fn SelLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelLength(&self, plsellength: i32) -> ::windows::core::Result<()> { @@ -5919,7 +5919,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SelText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5933,7 +5933,7 @@ impl IInkEdit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SelRTF(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelRTF)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6210,11 +6210,11 @@ pub struct IInkExtendedProperties(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkExtendedProperties { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6223,7 +6223,7 @@ impl IInkExtendedProperties { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), identifier.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6233,7 +6233,7 @@ impl IInkExtendedProperties { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), guid.into().abi(), data.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6253,7 +6253,7 @@ impl IInkExtendedProperties { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoesPropertyExist)(::windows::core::Interface::as_raw(self), guid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6352,13 +6352,13 @@ impl IInkExtendedProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Guid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Guid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6456,11 +6456,11 @@ pub struct IInkGesture(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkGesture { pub unsafe fn Confidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Confidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHotPoint(&self, x: *mut i32, y: *mut i32) -> ::windows::core::Result<()> { @@ -6619,14 +6619,14 @@ pub struct IInkOverlay(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkOverlay { pub unsafe fn hWnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hWnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SethWnd(&self, newwindow: isize) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SethWnd)(::windows::core::Interface::as_raw(self), newwindow).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, collecting: i16) -> ::windows::core::Result<()> { @@ -6635,7 +6635,7 @@ impl IInkOverlay { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultDrawingAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultDrawingAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6649,7 +6649,7 @@ impl IInkOverlay { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Renderer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Renderer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6663,7 +6663,7 @@ impl IInkOverlay { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6675,25 +6675,25 @@ impl IInkOverlay { (::windows::core::Interface::vtable(self).putref_Ink)(::windows::core::Interface::as_raw(self), newink.into().abi()).ok() } pub unsafe fn AutoRedraw(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoRedraw)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoRedraw(&self, autoredraw: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoRedraw)(::windows::core::Interface::as_raw(self), autoredraw).ok() } pub unsafe fn CollectingInk(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CollectingInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CollectionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CollectionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCollectionMode(&self, mode: InkCollectionMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCollectionMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn DynamicRendering(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DynamicRendering)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDynamicRendering(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -6702,7 +6702,7 @@ impl IInkOverlay { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DesiredPacketDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredPacketDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6716,7 +6716,7 @@ impl IInkOverlay { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MouseIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MouseIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -6736,14 +6736,14 @@ impl IInkOverlay { (::windows::core::Interface::vtable(self).putref_MouseIcon)(::windows::core::Interface::as_raw(self), mouseicon.into().abi()).ok() } pub unsafe fn MousePointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MousePointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMousePointer)(::windows::core::Interface::as_raw(self), mousepointer).ok() } pub unsafe fn EditingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EditingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEditingMode(&self, editingmode: InkOverlayEditingMode) -> ::windows::core::Result<()> { @@ -6752,7 +6752,7 @@ impl IInkOverlay { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6764,21 +6764,21 @@ impl IInkOverlay { (::windows::core::Interface::vtable(self).SetSelection)(::windows::core::Interface::as_raw(self), selection.into().abi()).ok() } pub unsafe fn EraserMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EraserMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEraserMode(&self, erasermode: InkOverlayEraserMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEraserMode)(::windows::core::Interface::as_raw(self), erasermode).ok() } pub unsafe fn EraserWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EraserWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEraserWidth(&self, neweraserwidth: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEraserWidth)(::windows::core::Interface::as_raw(self), neweraserwidth).ok() } pub unsafe fn AttachMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttachMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttachMode(&self, attachmode: InkOverlayAttachMode) -> ::windows::core::Result<()> { @@ -6787,18 +6787,18 @@ impl IInkOverlay { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cursors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cursors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MarginX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MarginX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMarginX(&self, marginx: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMarginX)(::windows::core::Interface::as_raw(self), marginx).ok() } pub unsafe fn MarginY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MarginY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMarginY(&self, marginy: i32) -> ::windows::core::Result<()> { @@ -6807,25 +6807,25 @@ impl IInkOverlay { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tablet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tablet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportHighContrastInk(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportHighContrastInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSupportHighContrastInk(&self, support: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSupportHighContrastInk)(::windows::core::Interface::as_raw(self), support).ok() } pub unsafe fn SupportHighContrastSelectionUI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportHighContrastSelectionUI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSupportHighContrastSelectionUI(&self, support: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSupportHighContrastSelectionUI)(::windows::core::Interface::as_raw(self), support).ok() } pub unsafe fn HitTestSelection(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HitTestSelection)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6840,7 +6840,7 @@ impl IInkOverlay { (::windows::core::Interface::vtable(self).SetGestureStatus)(::windows::core::Interface::as_raw(self), gesture, listen).ok() } pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGestureStatus)(::windows::core::Interface::as_raw(self), gesture, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6868,7 +6868,7 @@ impl IInkOverlay { (::windows::core::Interface::vtable(self).SetSingleTabletIntegratedMode)(::windows::core::Interface::as_raw(self), tablet.into().abi()).ok() } pub unsafe fn GetEventInterest(&self, eventid: InkCollectorEventInterest) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventInterest)(::windows::core::Interface::as_raw(self), eventid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::core::Result<()> { @@ -7060,13 +7060,13 @@ pub struct IInkPicture(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkPicture { pub unsafe fn hWnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hWnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultDrawingAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultDrawingAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7080,7 +7080,7 @@ impl IInkPicture { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Renderer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Renderer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7094,7 +7094,7 @@ impl IInkPicture { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7106,25 +7106,25 @@ impl IInkPicture { (::windows::core::Interface::vtable(self).putref_Ink)(::windows::core::Interface::as_raw(self), newink.into().abi()).ok() } pub unsafe fn AutoRedraw(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoRedraw)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoRedraw(&self, autoredraw: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAutoRedraw)(::windows::core::Interface::as_raw(self), autoredraw).ok() } pub unsafe fn CollectingInk(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CollectingInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CollectionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CollectionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCollectionMode(&self, mode: InkCollectionMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCollectionMode)(::windows::core::Interface::as_raw(self), mode).ok() } pub unsafe fn DynamicRendering(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DynamicRendering)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDynamicRendering(&self, enabled: i16) -> ::windows::core::Result<()> { @@ -7133,7 +7133,7 @@ impl IInkPicture { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn DesiredPacketDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DesiredPacketDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7147,7 +7147,7 @@ impl IInkPicture { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MouseIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MouseIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7167,14 +7167,14 @@ impl IInkPicture { (::windows::core::Interface::vtable(self).putref_MouseIcon)(::windows::core::Interface::as_raw(self), mouseicon.into().abi()).ok() } pub unsafe fn MousePointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MousePointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMousePointer)(::windows::core::Interface::as_raw(self), mousepointer).ok() } pub unsafe fn EditingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EditingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEditingMode(&self, editingmode: InkOverlayEditingMode) -> ::windows::core::Result<()> { @@ -7183,7 +7183,7 @@ impl IInkPicture { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7195,14 +7195,14 @@ impl IInkPicture { (::windows::core::Interface::vtable(self).SetSelection)(::windows::core::Interface::as_raw(self), selection.into().abi()).ok() } pub unsafe fn EraserMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EraserMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEraserMode(&self, erasermode: InkOverlayEraserMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEraserMode)(::windows::core::Interface::as_raw(self), erasermode).ok() } pub unsafe fn EraserWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EraserWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEraserWidth(&self, neweraserwidth: i32) -> ::windows::core::Result<()> { @@ -7227,38 +7227,38 @@ impl IInkPicture { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Picture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Picture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSizeMode(&self, smnewsizemode: InkPictureSizeMode) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSizeMode)(::windows::core::Interface::as_raw(self), smnewsizemode).ok() } pub unsafe fn SizeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SizeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBackColor(&self, newcolor: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBackColor)(::windows::core::Interface::as_raw(self), newcolor).ok() } pub unsafe fn BackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cursors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cursors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MarginX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MarginX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMarginX(&self, marginx: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetMarginX)(::windows::core::Interface::as_raw(self), marginx).ok() } pub unsafe fn MarginY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MarginY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMarginY(&self, marginy: i32) -> ::windows::core::Result<()> { @@ -7267,32 +7267,32 @@ impl IInkPicture { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tablet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Tablet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SupportHighContrastInk(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportHighContrastInk)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSupportHighContrastInk(&self, support: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSupportHighContrastInk)(::windows::core::Interface::as_raw(self), support).ok() } pub unsafe fn SupportHighContrastSelectionUI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportHighContrastSelectionUI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSupportHighContrastSelectionUI(&self, support: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetSupportHighContrastSelectionUI)(::windows::core::Interface::as_raw(self), support).ok() } pub unsafe fn HitTestSelection(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HitTestSelection)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetGestureStatus)(::windows::core::Interface::as_raw(self), gesture, listen).ok() } pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGestureStatus)(::windows::core::Interface::as_raw(self), gesture, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7320,21 +7320,21 @@ impl IInkPicture { (::windows::core::Interface::vtable(self).SetSingleTabletIntegratedMode)(::windows::core::Interface::as_raw(self), tablet.into().abi()).ok() } pub unsafe fn GetEventInterest(&self, eventid: InkCollectorEventInterest) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventInterest)(::windows::core::Interface::as_raw(self), eventid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetEventInterest)(::windows::core::Interface::as_raw(self), eventid, listen).ok() } pub unsafe fn InkEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InkEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetInkEnabled(&self, collecting: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetInkEnabled)(::windows::core::Interface::as_raw(self), collecting).ok() } pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetEnabled(&self, vbool: i16) -> ::windows::core::Result<()> { @@ -7539,57 +7539,57 @@ impl IInkRecognitionAlternate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn String(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).String)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Confidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Confidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Baseline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Baseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Midline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Midline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Ascender(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ascender)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Descender(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Descender)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn LineNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LineNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Strokes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LineAlternates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LineAlternates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ConfidenceAlternates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ConfidenceAlternates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7598,7 +7598,7 @@ impl IInkRecognitionAlternate { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkStrokes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStrokesFromStrokeRanges)(::windows::core::Interface::as_raw(self), strokes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7620,7 +7620,7 @@ impl IInkRecognitionAlternate { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlternatesWithConstantPropertyValues)(::windows::core::Interface::as_raw(self), propertytype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -7629,7 +7629,7 @@ impl IInkRecognitionAlternate { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyValue)(::windows::core::Interface::as_raw(self), propertytype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7761,23 +7761,23 @@ pub struct IInkRecognitionAlternates(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognitionAlternates { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Strokes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7867,29 +7867,29 @@ impl IInkRecognitionResult { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TopString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TopString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TopAlternate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TopAlternate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TopConfidence(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TopConfidence)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Strokes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn AlternatesFromSelection(&self, selectionstart: i32, selectionlength: i32, maximumalternates: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AlternatesFromSelection)(::windows::core::Interface::as_raw(self), selectionstart, selectionlength, maximumalternates, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8002,41 +8002,41 @@ impl IInkRecognizer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Vendor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Vendor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Capabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Capabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Languages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Languages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SupportedProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SupportedProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PreferredPacketDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredPacketDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateRecognizerContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRecognizerContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8141,13 +8141,13 @@ impl IInkRecognizer2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn UnicodeRanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UnicodeRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8235,7 +8235,7 @@ impl IInkRecognizerContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Strokes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8247,7 +8247,7 @@ impl IInkRecognizerContext { (::windows::core::Interface::vtable(self).putref_Strokes)(::windows::core::Interface::as_raw(self), strokes.into().abi()).ok() } pub unsafe fn CharacterAutoCompletionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CharacterAutoCompletionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCharacterAutoCompletionMode(&self, mode: InkRecognizerCharacterAutoCompletionMode) -> ::windows::core::Result<()> { @@ -8256,7 +8256,7 @@ impl IInkRecognizerContext { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Factoid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Factoid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8270,7 +8270,7 @@ impl IInkRecognizerContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Guide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Guide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8284,7 +8284,7 @@ impl IInkRecognizerContext { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PrefixText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PrefixText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8298,7 +8298,7 @@ impl IInkRecognizerContext { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn SuffixText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SuffixText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8310,7 +8310,7 @@ impl IInkRecognizerContext { (::windows::core::Interface::vtable(self).SetSuffixText)(::windows::core::Interface::as_raw(self), suffix.into().abi()).ok() } pub unsafe fn RecognitionFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecognitionFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRecognitionFlags(&self, modes: InkRecognitionModes) -> ::windows::core::Result<()> { @@ -8319,7 +8319,7 @@ impl IInkRecognizerContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn WordList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WordList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8333,7 +8333,7 @@ impl IInkRecognizerContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recognizer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Recognizer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8366,7 +8366,7 @@ impl IInkRecognizerContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8375,7 +8375,7 @@ impl IInkRecognizerContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsStringSupported)(::windows::core::Interface::as_raw(self), string.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8533,7 +8533,7 @@ impl IInkRecognizerContext2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn EnabledUnicodeRanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnabledUnicodeRanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -8629,7 +8629,7 @@ impl IInkRecognizerGuide { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn WritingBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WritingBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8643,7 +8643,7 @@ impl IInkRecognizerGuide { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawnBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DrawnBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8655,21 +8655,21 @@ impl IInkRecognizerGuide { (::windows::core::Interface::vtable(self).SetDrawnBox)(::windows::core::Interface::as_raw(self), rectangle.into().abi()).ok() } pub unsafe fn Rows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Rows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRows(&self, units: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetRows)(::windows::core::Interface::as_raw(self), units).ok() } pub unsafe fn Columns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Columns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetColumns(&self, units: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetColumns)(::windows::core::Interface::as_raw(self), units).ok() } pub unsafe fn Midline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Midline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMidline(&self, units: i32) -> ::windows::core::Result<()> { @@ -8678,7 +8678,7 @@ impl IInkRecognizerGuide { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GuideData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GuideData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8791,23 +8791,23 @@ pub struct IInkRecognizers(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognizers { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDefaultRecognizer(&self, lcid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultRecognizer)(::windows::core::Interface::as_raw(self), lcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8895,28 +8895,28 @@ pub struct IInkRectangle(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRectangle { pub unsafe fn Top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetTop(&self, units: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetTop)(::windows::core::Interface::as_raw(self), units).ok() } pub unsafe fn Left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetLeft(&self, units: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetLeft)(::windows::core::Interface::as_raw(self), units).ok() } pub unsafe fn Bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetBottom(&self, units: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetBottom)(::windows::core::Interface::as_raw(self), units).ok() } pub unsafe fn Right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetRight(&self, units: i32) -> ::windows::core::Result<()> { @@ -8925,7 +8925,7 @@ impl IInkRectangle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9102,7 +9102,7 @@ impl IInkRenderer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkStrokes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Measure)(::windows::core::Interface::as_raw(self), strokes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9112,7 +9112,7 @@ impl IInkRenderer { P0: ::std::convert::Into<::windows::core::InParam<'a, IInkStrokeDisp>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IInkDrawingAttributes>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MeasureStroke)(::windows::core::Interface::as_raw(self), stroke.into().abi(), drawingattributes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Move(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::core::Result<()> { @@ -9244,19 +9244,19 @@ pub struct IInkStrokeDisp(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkStrokeDisp { pub unsafe fn ID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn BezierPoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BezierPoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawingAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DrawingAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9270,55 +9270,55 @@ impl IInkStrokeDisp { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExtendedProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExtendedProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PolylineCusps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PolylineCusps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn BezierCusps(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BezierCusps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn SelfIntersections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SelfIntersections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PacketCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PacketCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PacketSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PacketSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn PacketDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PacketDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Deleted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Deleted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoundingBox)(::windows::core::Interface::as_raw(self), boundingboxmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9327,7 +9327,7 @@ impl IInkStrokeDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkStrokes>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindIntersections)(::windows::core::Interface::as_raw(self), strokes.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9336,7 +9336,7 @@ impl IInkStrokeDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkRectangle>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRectangleIntersections)(::windows::core::Interface::as_raw(self), rectangle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9348,7 +9348,7 @@ impl IInkStrokeDisp { (::windows::core::Interface::vtable(self).Clip)(::windows::core::Interface::as_raw(self), rectangle.into().abi()).ok() } pub unsafe fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HitTestCircle)(::windows::core::Interface::as_raw(self), x, y, radius, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn NearestPoint(&self, x: i32, y: i32, distance: *mut f32, point: *mut f32) -> ::windows::core::Result<()> { @@ -9357,7 +9357,7 @@ impl IInkStrokeDisp { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Split(&self, splitat: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Split)(::windows::core::Interface::as_raw(self), splitat, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9371,7 +9371,7 @@ impl IInkStrokeDisp { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPoints(&self, index: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPoints)(::windows::core::Interface::as_raw(self), index, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9380,13 +9380,13 @@ impl IInkStrokeDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetPoints)(::windows::core::Interface::as_raw(self), points.into().abi(), index, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetPacketData(&self, index: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPacketData)(::windows::core::Interface::as_raw(self), index, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9395,7 +9395,7 @@ impl IInkStrokeDisp { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPacketValuesByProperty)(::windows::core::Interface::as_raw(self), propertyname.into().abi(), index, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -9405,13 +9405,13 @@ impl IInkStrokeDisp { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetPacketValuesByProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), packetvalues.into().abi(), index, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetFlattenedBezierPoints(&self, fittingerror: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlattenedBezierPoints)(::windows::core::Interface::as_raw(self), fittingerror, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9619,35 +9619,35 @@ pub struct IInkStrokes(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkStrokes { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecognitionResult(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RecognitionResult)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ToString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ToString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9693,7 +9693,7 @@ impl IInkStrokes { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoundingBox)(::windows::core::Interface::as_raw(self), boundingboxmode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9871,23 +9871,23 @@ impl IInkTablet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn PlugAndPlayId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PlugAndPlayId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn MaximumInputRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaximumInputRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HardwareCapabilities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HardwareCapabilities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9896,7 +9896,7 @@ impl IInkTablet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPacketPropertySupported)(::windows::core::Interface::as_raw(self), packetpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10003,7 +10003,7 @@ pub struct IInkTablet2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkTablet2 { pub unsafe fn DeviceKind(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DeviceKind)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10082,11 +10082,11 @@ pub struct IInkTablet3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkTablet3 { pub unsafe fn IsMultiTouch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsMultiTouch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MaximumCursors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MaximumCursors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10166,23 +10166,23 @@ pub struct IInkTablets(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkTablets { pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultTablet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultTablet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10191,7 +10191,7 @@ impl IInkTablets { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPacketPropertySupported)(::windows::core::Interface::as_raw(self), packetpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10307,42 +10307,42 @@ impl IInkTransform { (::windows::core::Interface::vtable(self).SetTransform)(::windows::core::Interface::as_raw(self), em11, em12, em21, em22, edx, edy).ok() } pub unsafe fn eM11(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).eM11)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeteM11(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SeteM11)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn eM12(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).eM12)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeteM12(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SeteM12)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn eM21(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).eM21)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeteM21(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SeteM21)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn eM22(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).eM22)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeteM22(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SeteM22)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn eDx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).eDx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeteDx(&self, value: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SeteDx)(::windows::core::Interface::as_raw(self), value).ok() } pub unsafe fn eDy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).eDy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeteDy(&self, value: f32) -> ::windows::core::Result<()> { @@ -10351,7 +10351,7 @@ impl IInkTransform { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn Data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -10656,14 +10656,14 @@ pub struct IInkWordList2_Vtbl { pub struct IInputPanelWindowHandle(::windows::core::IUnknown); impl IInputPanelWindowHandle { pub unsafe fn AttachedEditWindow32(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttachedEditWindow32)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttachedEditWindow32(&self, attachededitwindow: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAttachedEditWindow32)(::windows::core::Interface::as_raw(self), attachededitwindow).ok() } pub unsafe fn AttachedEditWindow64(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttachedEditWindow64)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttachedEditWindow64(&self, attachededitwindow: i64) -> ::windows::core::Result<()> { @@ -10727,7 +10727,7 @@ impl IMathInputControl { (::windows::core::Interface::vtable(self).Hide)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn IsVisible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsVisible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPosition(&self, left: *mut i32, top: *mut i32, right: *mut i32, bottom: *mut i32) -> ::windows::core::Result<()> { @@ -10765,7 +10765,7 @@ impl IMathInputControl { (::windows::core::Interface::vtable(self).EnableExtendedButtons)(::windows::core::Interface::as_raw(self), extended).ok() } pub unsafe fn GetPreviewHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviewHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPreviewHeight(&self, height: i32) -> ::windows::core::Result<()> { @@ -10793,7 +10793,7 @@ impl IMathInputControl { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetHoverIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHoverIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10965,13 +10965,13 @@ pub struct IPenInputPanel(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPenInputPanel { pub unsafe fn Busy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Busy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Factoid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Factoid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10983,65 +10983,65 @@ impl IPenInputPanel { (::windows::core::Interface::vtable(self).SetFactoid)(::windows::core::Interface::as_raw(self), factoid.into().abi()).ok() } pub unsafe fn AttachedEditWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttachedEditWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAttachedEditWindow(&self, attachededitwindow: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetAttachedEditWindow)(::windows::core::Interface::as_raw(self), attachededitwindow).ok() } pub unsafe fn CurrentPanel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentPanel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCurrentPanel(&self, currentpanel: PanelType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetCurrentPanel)(::windows::core::Interface::as_raw(self), currentpanel).ok() } pub unsafe fn DefaultPanel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultPanel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultPanel(&self, defaultpanel: PanelType) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultPanel)(::windows::core::Interface::as_raw(self), defaultpanel).ok() } pub unsafe fn Visible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Visible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVisible(&self, visible: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVisible)(::windows::core::Interface::as_raw(self), visible).ok() } pub unsafe fn Top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn VerticalOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).VerticalOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetVerticalOffset(&self, verticaloffset: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetVerticalOffset)(::windows::core::Interface::as_raw(self), verticaloffset).ok() } pub unsafe fn HorizontalOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HorizontalOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHorizontalOffset(&self, horizontaloffset: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetHorizontalOffset)(::windows::core::Interface::as_raw(self), horizontaloffset).ok() } pub unsafe fn AutoShow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AutoShow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetAutoShow(&self, autoshow: i16) -> ::windows::core::Result<()> { @@ -11165,7 +11165,7 @@ impl IRealTimeStylus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11179,7 +11179,7 @@ impl IRealTimeStylus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HWND(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HWND)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11193,7 +11193,7 @@ impl IRealTimeStylus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn WindowInputRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).WindowInputRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11214,11 +11214,11 @@ impl IRealTimeStylus { (::windows::core::Interface::vtable(self).RemoveAllStylusSyncPlugins)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetStylusSyncPlugin(&self, iindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStylusSyncPlugin)(::windows::core::Interface::as_raw(self), iindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStylusSyncPluginCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStylusSyncPluginCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddStylusAsyncPlugin<'a, P0>(&self, iindex: u32, piplugin: P0) -> ::windows::core::Result<()> @@ -11234,15 +11234,15 @@ impl IRealTimeStylus { (::windows::core::Interface::vtable(self).RemoveAllStylusAsyncPlugins)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetStylusAsyncPlugin(&self, iindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStylusAsyncPlugin)(::windows::core::Interface::as_raw(self), iindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStylusAsyncPluginCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStylusAsyncPluginCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChildRealTimeStylusPlugin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ChildRealTimeStylusPlugin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn putref_ChildRealTimeStylusPlugin<'a, P0>(&self, pirts: P0) -> ::windows::core::Result<()> @@ -11276,7 +11276,7 @@ impl IRealTimeStylus { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTablet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTablet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11285,13 +11285,13 @@ impl IRealTimeStylus { where P0: ::std::convert::Into<::windows::core::InParam<'a, IInkTablet>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTabletContextIdFromTablet)(::windows::core::Interface::as_raw(self), pitablet.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTabletFromTabletContextId(&self, tcid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTabletFromTabletContextId)(::windows::core::Interface::as_raw(self), tcid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAllTabletContextIds(&self, pctcidcount: *mut u32, pptcids: *mut *mut u32) -> ::windows::core::Result<()> { @@ -11300,13 +11300,13 @@ impl IRealTimeStylus { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStyluses(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStyluses)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStylusForId(&self, sid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStylusForId)(::windows::core::Interface::as_raw(self), sid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDesiredPacketDescription(&self, ppropertyguids: &[::windows::core::GUID]) -> ::windows::core::Result<()> { @@ -11436,7 +11436,7 @@ impl IRealTimeStylus2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FlicksEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FlicksEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11503,7 +11503,7 @@ impl IRealTimeStylus3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MultiTouchEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MultiTouchEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11714,7 +11714,7 @@ impl IStrokeBuilder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Ink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11904,7 +11904,7 @@ impl IStylusAsyncPlugin { (::windows::core::Interface::vtable(self).base__.UpdateMapping)(::windows::core::Interface::as_raw(self), pirtssrc.into().abi()).ok() } pub unsafe fn DataInterest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataInterest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12080,7 +12080,7 @@ impl IStylusPlugin { (::windows::core::Interface::vtable(self).UpdateMapping)(::windows::core::Interface::as_raw(self), pirtssrc.into().abi()).ok() } pub unsafe fn DataInterest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataInterest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12279,7 +12279,7 @@ impl IStylusSyncPlugin { (::windows::core::Interface::vtable(self).base__.UpdateMapping)(::windows::core::Interface::as_raw(self), pirtssrc.into().abi()).ok() } pub unsafe fn DataInterest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.DataInterest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12345,7 +12345,7 @@ impl ITextInputPanel { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AttachedEditWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AttachedEditWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12357,37 +12357,37 @@ impl ITextInputPanel { (::windows::core::Interface::vtable(self).SetAttachedEditWindow)(::windows::core::Interface::as_raw(self), attachededitwindow.into()).ok() } pub unsafe fn CurrentInteractionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentInteractionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultInPlaceState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultInPlaceState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultInPlaceState(&self, state: InPlaceState) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultInPlaceState)(::windows::core::Interface::as_raw(self), state).ok() } pub unsafe fn CurrentInPlaceState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentInPlaceState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DefaultInputArea(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DefaultInputArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDefaultInputArea(&self, area: PanelInputArea) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDefaultInputArea)(::windows::core::Interface::as_raw(self), area).ok() } pub unsafe fn CurrentInputArea(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentInputArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CurrentCorrectionMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentCorrectionMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PreferredInPlaceDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PreferredInPlaceDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetPreferredInPlaceDirection(&self, direction: InPlaceDirection) -> ::windows::core::Result<()> { @@ -12396,7 +12396,7 @@ impl ITextInputPanel { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ExpandPostInsertionCorrection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExpandPostInsertionCorrection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12410,7 +12410,7 @@ impl ITextInputPanel { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InPlaceVisibleOnFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InPlaceVisibleOnFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12424,15 +12424,15 @@ impl ITextInputPanel { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InPlaceBoundingRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InPlaceBoundingRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PopUpCorrectionHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PopUpCorrectionHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PopDownCorrectionHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PopDownCorrectionHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CommitPendingInput(&self) -> ::windows::core::Result<()> { @@ -12692,7 +12692,7 @@ impl ITextInputPanelRunInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsTipRunning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsTipRunning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12776,7 +12776,7 @@ impl ITipAutoCompleteClient { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestShowUI)(::windows::core::Interface::as_raw(self), hwndlist.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } 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 1b880b4e65..73ec54babd 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs @@ -255,7 +255,7 @@ impl IAccClientDocMgr { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -264,17 +264,17 @@ impl IAccClientDocMgr { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupByHWND)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LookupByPoint(&self, pt: super::super::Foundation::POINT, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupByPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetFocused(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFocused)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -341,13 +341,13 @@ impl IAccDictionary { (::windows::core::Interface::vtable(self).GetLocalizedString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(term), lcid, ::core::mem::transmute(presult), ::core::mem::transmute(plcid)).ok() } pub unsafe fn GetParentTerm(&self, term: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentTerm)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(term), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMnemonicString(&self, term: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMnemonicString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(term), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -356,7 +356,7 @@ impl IAccDictionary { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupMnemonicTerm)(::windows::core::Interface::as_raw(self), bstrmnemonic.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -510,7 +510,7 @@ impl IAccStore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -519,13 +519,13 @@ impl IAccStore { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupByHWND)(::windows::core::Interface::as_raw(self), hwnd.into(), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn LookupByPoint(&self, pt: super::super::Foundation::POINT, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupByPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pt), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn OnDocumentFocus<'a, P0>(&self, punk: P0) -> ::windows::core::Result<()> @@ -535,7 +535,7 @@ impl IAccStore { (::windows::core::Interface::vtable(self).OnDocumentFocus)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() } pub unsafe fn GetFocused(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFocused)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -603,7 +603,7 @@ impl IAnchor { (::windows::core::Interface::vtable(self).SetGravity)(::windows::core::Interface::as_raw(self), gravity).ok() } pub unsafe fn GetGravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -612,14 +612,14 @@ impl IAnchor { where P0: ::std::convert::Into<::windows::core::InParam<'a, IAnchor>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), pawith.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Compare<'a, P0>(&self, pawith: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IAnchor>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Compare)(::windows::core::Interface::as_raw(self), pawith.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Shift<'a, P0>(&self, dwflags: u32, cchreq: i32, pcch: *mut i32, pahaltanchor: P0) -> ::windows::core::Result<()> @@ -637,21 +637,21 @@ impl IAnchor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ShiftRegion(&self, dwflags: u32, dir: TsShiftDir) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShiftRegion)(::windows::core::Interface::as_raw(self), dwflags, dir, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetChangeHistoryMask(&self, dwmask: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetChangeHistoryMask)(::windows::core::Interface::as_raw(self), dwmask).ok() } pub unsafe fn GetChangeHistory(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChangeHistory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClearChangeHistory(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ClearChangeHistory)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -893,7 +893,7 @@ impl IDocWrap { (::windows::core::Interface::vtable(self).SetDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), punk.into().abi()).ok() } pub unsafe fn GetWrappedDoc(&self, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWrappedDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -944,7 +944,7 @@ pub struct IDocWrap_Vtbl { pub struct IEnumITfCompositionView(::windows::core::IUnknown); impl IEnumITfCompositionView { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, rgcompositionview: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1006,7 +1006,7 @@ pub struct IEnumITfCompositionView_Vtbl { pub struct IEnumSpeechCommands(::windows::core::IUnknown); impl IEnumSpeechCommands { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, pspcmds: &mut [*mut u16], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1068,7 +1068,7 @@ pub struct IEnumSpeechCommands_Vtbl { pub struct IEnumTfCandidates(::windows::core::IUnknown); impl IEnumTfCandidates { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, ppcand: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1130,7 +1130,7 @@ pub struct IEnumTfCandidates_Vtbl { pub struct IEnumTfContextViews(::windows::core::IUnknown); impl IEnumTfContextViews { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, rgviews: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1192,7 +1192,7 @@ pub struct IEnumTfContextViews_Vtbl { pub struct IEnumTfContexts(::windows::core::IUnknown); impl IEnumTfContexts { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, rgcontext: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1254,7 +1254,7 @@ pub struct IEnumTfContexts_Vtbl { pub struct IEnumTfDisplayAttributeInfo(::windows::core::IUnknown); impl IEnumTfDisplayAttributeInfo { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, rginfo: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1316,7 +1316,7 @@ pub struct IEnumTfDisplayAttributeInfo_Vtbl { pub struct IEnumTfDocumentMgrs(::windows::core::IUnknown); impl IEnumTfDocumentMgrs { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, rgdocumentmgr: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1378,7 +1378,7 @@ pub struct IEnumTfDocumentMgrs_Vtbl { pub struct IEnumTfFunctionProviders(::windows::core::IUnknown); impl IEnumTfFunctionProviders { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, ppcmdobj: &mut [::core::option::Option], pcfetch: *mut u32) -> ::windows::core::Result<()> { @@ -1440,7 +1440,7 @@ pub struct IEnumTfFunctionProviders_Vtbl { pub struct IEnumTfInputProcessorProfiles(::windows::core::IUnknown); impl IEnumTfInputProcessorProfiles { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, pprofile: &mut [TF_INPUTPROCESSORPROFILE], pcfetch: *mut u32) -> ::windows::core::Result<()> { @@ -1502,7 +1502,7 @@ pub struct IEnumTfInputProcessorProfiles_Vtbl { pub struct IEnumTfLangBarItems(::windows::core::IUnknown); impl IEnumTfLangBarItems { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, ppitem: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1564,7 +1564,7 @@ pub struct IEnumTfLangBarItems_Vtbl { pub struct IEnumTfLanguageProfiles(::windows::core::IUnknown); impl IEnumTfLanguageProfiles { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1631,7 +1631,7 @@ pub struct IEnumTfLanguageProfiles_Vtbl { pub struct IEnumTfLatticeElements(::windows::core::IUnknown); impl IEnumTfLatticeElements { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1698,7 +1698,7 @@ pub struct IEnumTfLatticeElements_Vtbl { pub struct IEnumTfProperties(::windows::core::IUnknown); impl IEnumTfProperties { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, ppprop: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1760,7 +1760,7 @@ pub struct IEnumTfProperties_Vtbl { pub struct IEnumTfPropertyValue(::windows::core::IUnknown); impl IEnumTfPropertyValue { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1827,7 +1827,7 @@ pub struct IEnumTfPropertyValue_Vtbl { pub struct IEnumTfRanges(::windows::core::IUnknown); impl IEnumTfRanges { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, pprange: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -1889,7 +1889,7 @@ pub struct IEnumTfRanges_Vtbl { pub struct IEnumTfUIElements(::windows::core::IUnknown); impl IEnumTfUIElements { pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Next(&self, ppelement: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -2033,7 +2033,7 @@ impl ::core::fmt::Debug for INSERT_TEXT_AT_SELECTION_FLAGS { pub struct ISpeechCommandProvider(::windows::core::IUnknown); impl ISpeechCommandProvider { pub unsafe fn EnumSpeechCommands(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumSpeechCommands)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ProcessCommand(&self, pszcommand: &[u16], langid: u16) -> ::windows::core::Result<()> { @@ -2099,11 +2099,11 @@ impl ITextStoreACP { (::windows::core::Interface::vtable(self).UnadviseSink)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() } pub unsafe fn RequestLock(&self, dwlockflags: u32) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestLock)(::windows::core::Interface::as_raw(self), dwlockflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryInsert(&self, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> ::windows::core::Result<()> { @@ -2123,23 +2123,23 @@ impl ITextStoreACP { (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), acpstart, acpend, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pchplain)), pchplain.len() as _, ::core::mem::transmute(pcchplainret), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(prgruninfo)), prgruninfo.len() as _, ::core::mem::transmute(pcruninforet), ::core::mem::transmute(pacpnext)).ok() } pub unsafe fn SetText(&self, dwflags: u32, acpstart: i32, acpend: i32, pchtext: &[u16]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetText)(::windows::core::Interface::as_raw(self), dwflags, acpstart, acpend, ::core::mem::transmute(::windows::core::as_ptr_or_null(pchtext)), pchtext.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self, acpstart: i32, acpend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormattedText)(::windows::core::Interface::as_raw(self), acpstart, acpend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEmbedded(&self, acppos: i32, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmbedded)(::windows::core::Interface::as_raw(self), acppos, ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn QueryInsertEmbedded(&self, pguidservice: *const ::windows::core::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryInsertEmbedded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidservice), ::core::mem::transmute(pformatetc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2148,7 +2148,7 @@ impl ITextStoreACP { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InsertEmbedded)(::windows::core::Interface::as_raw(self), dwflags, acpstart, acpend, pdataobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertTextAtSelection(&self, dwflags: u32, pchtext: &[u16], pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::core::Result<()> { @@ -2182,17 +2182,17 @@ impl ITextStoreACP { (::windows::core::Interface::vtable(self).RetrieveRequestedAttrs)(::windows::core::Interface::as_raw(self), paattrvals.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(paattrvals)), ::core::mem::transmute(pcfetched)).ok() } pub unsafe fn GetEndACP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEndACP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActiveView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetACPFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetACPFromPoint)(::windows::core::Interface::as_raw(self), vcview, ::core::mem::transmute(ptscreen), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2203,13 +2203,13 @@ impl ITextStoreACP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetScreenExt(&self, vcview: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScreenExt)(::windows::core::Interface::as_raw(self), vcview, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWnd(&self, vcview: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWnd)(::windows::core::Interface::as_raw(self), vcview, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2332,11 +2332,11 @@ impl ITextStoreACP2 { (::windows::core::Interface::vtable(self).UnadviseSink)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() } pub unsafe fn RequestLock(&self, dwlockflags: u32) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestLock)(::windows::core::Interface::as_raw(self), dwlockflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryInsert(&self, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> ::windows::core::Result<()> { @@ -2356,23 +2356,23 @@ impl ITextStoreACP2 { (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), acpstart, acpend, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pchplain)), pchplain.len() as _, ::core::mem::transmute(pcchplainret), ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(prgruninfo)), prgruninfo.len() as _, ::core::mem::transmute(pcruninforet), ::core::mem::transmute(pacpnext)).ok() } pub unsafe fn SetText(&self, dwflags: u32, acpstart: i32, acpend: i32, pchtext: &[u16]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SetText)(::windows::core::Interface::as_raw(self), dwflags, acpstart, acpend, ::core::mem::transmute(::windows::core::as_ptr_or_null(pchtext)), pchtext.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self, acpstart: i32, acpend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormattedText)(::windows::core::Interface::as_raw(self), acpstart, acpend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEmbedded(&self, acppos: i32, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmbedded)(::windows::core::Interface::as_raw(self), acppos, ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn QueryInsertEmbedded(&self, pguidservice: *const ::windows::core::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryInsertEmbedded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidservice), ::core::mem::transmute(pformatetc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2381,7 +2381,7 @@ impl ITextStoreACP2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InsertEmbedded)(::windows::core::Interface::as_raw(self), dwflags, acpstart, acpend, pdataobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertTextAtSelection(&self, dwflags: u32, pchtext: &[u16], pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::core::Result<()> { @@ -2415,17 +2415,17 @@ impl ITextStoreACP2 { (::windows::core::Interface::vtable(self).RetrieveRequestedAttrs)(::windows::core::Interface::as_raw(self), paattrvals.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(paattrvals)), ::core::mem::transmute(pcfetched)).ok() } pub unsafe fn GetEndACP(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEndACP)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActiveView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetACPFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetACPFromPoint)(::windows::core::Interface::as_raw(self), vcview, ::core::mem::transmute(ptscreen), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2436,7 +2436,7 @@ impl ITextStoreACP2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetScreenExt(&self, vcview: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScreenExt)(::windows::core::Interface::as_raw(self), vcview, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2623,7 +2623,7 @@ impl ITextStoreACPServices { (::windows::core::Interface::vtable(self).ForceLoadProperty)(::windows::core::Interface::as_raw(self), pprop.into().abi()).ok() } pub unsafe fn CreateRange(&self, acpstart: i32, acpend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRange)(::windows::core::Interface::as_raw(self), acpstart, acpend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2859,11 +2859,11 @@ impl ITextStoreAnchor { (::windows::core::Interface::vtable(self).UnadviseSink)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() } pub unsafe fn RequestLock(&self, dwlockflags: u32) -> ::windows::core::Result<::windows::core::HRESULT> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestLock)(::windows::core::Interface::as_raw(self), dwlockflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryInsert<'a, P0, P1>(&self, pateststart: P0, patestend: P1, cch: u32, pparesultstart: *mut ::core::option::Option, pparesultend: *mut ::core::option::Option) -> ::windows::core::Result<()> @@ -2907,14 +2907,14 @@ impl ITextStoreAnchor { P0: ::std::convert::Into<::windows::core::InParam<'a, IAnchor>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IAnchor>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormattedText)(::windows::core::Interface::as_raw(self), pastart.into().abi(), paend.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEmbedded<'a, P0>(&self, dwflags: u32, papos: P0, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> where P0: ::std::convert::Into<::windows::core::InParam<'a, IAnchor>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmbedded)(::windows::core::Interface::as_raw(self), dwflags, papos.into().abi(), ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2957,21 +2957,21 @@ impl ITextStoreAnchor { (::windows::core::Interface::vtable(self).RetrieveRequestedAttrs)(::windows::core::Interface::as_raw(self), paattrvals.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(paattrvals)), ::core::mem::transmute(pcfetched)).ok() } pub unsafe fn GetStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActiveView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAnchorFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAnchorFromPoint)(::windows::core::Interface::as_raw(self), vcview, ::core::mem::transmute(ptscreen), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2986,19 +2986,19 @@ impl ITextStoreAnchor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetScreenExt(&self, vcview: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScreenExt)(::windows::core::Interface::as_raw(self), vcview, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWnd(&self, vcview: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWnd)(::windows::core::Interface::as_raw(self), vcview, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn QueryInsertEmbedded(&self, pguidservice: *const ::windows::core::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryInsertEmbedded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidservice), ::core::mem::transmute(pformatetc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn InsertTextAtSelection(&self, dwflags: u32, pchtext: &[u16], ppastart: *mut ::core::option::Option, ppaend: *mut ::core::option::Option) -> ::windows::core::Result<()> { @@ -3420,15 +3420,15 @@ pub struct ITfActiveLanguageProfileNotifySink_Vtbl { pub struct ITfCandidateList(::windows::core::IUnknown); impl ITfCandidateList { pub unsafe fn EnumCandidates(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCandidates)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCandidate(&self, nindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCandidate)(::windows::core::Interface::as_raw(self), nindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCandidateNum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCandidateNum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetResult(&self, nindex: u32, imcr: TfCandidateResult) -> ::windows::core::Result<()> { @@ -3486,11 +3486,11 @@ impl ITfCandidateListUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3504,29 +3504,29 @@ impl ITfCandidateListUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUpdatedFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpdatedFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentMgr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentMgr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetString(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageIndex(&self, pindex: &mut [u32], pupagecnt: *mut u32) -> ::windows::core::Result<()> { @@ -3536,7 +3536,7 @@ impl ITfCandidateListUIElement { (::windows::core::Interface::vtable(self).SetPageIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pindex)), pindex.len() as _).ok() } pub unsafe fn GetCurrentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3613,11 +3613,11 @@ impl ITfCandidateListUIElementBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3631,29 +3631,29 @@ impl ITfCandidateListUIElementBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.IsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUpdatedFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetUpdatedFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentMgr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDocumentMgr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetString(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetString)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPageIndex(&self, pindex: &mut [u32], pupagecnt: *mut u32) -> ::windows::core::Result<()> { @@ -3663,7 +3663,7 @@ impl ITfCandidateListUIElementBehavior { (::windows::core::Interface::vtable(self).base__.SetPageIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(pindex)), pindex.len() as _).ok() } pub unsafe fn GetCurrentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSelection(&self, nindex: u32) -> ::windows::core::Result<()> { @@ -3756,11 +3756,11 @@ impl ITfCandidateString { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -3822,13 +3822,13 @@ impl ITfCategoryMgr { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoriesInItem(&self, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCategoriesInItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumItemsInCategory(&self, rcatid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumItemsInCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rcatid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindClosestCategory(&self, rguid: *const ::windows::core::GUID, pcatid: *mut ::windows::core::GUID, ppcatidlist: &[*const ::windows::core::GUID]) -> ::windows::core::Result<()> { @@ -3843,7 +3843,7 @@ impl ITfCategoryMgr { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetGUIDDescription(&self, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGUIDDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterGUIDDWORD(&self, rclsid: *const ::windows::core::GUID, rguid: *const ::windows::core::GUID, dw: u32) -> ::windows::core::Result<()> { @@ -3853,21 +3853,21 @@ impl ITfCategoryMgr { (::windows::core::Interface::vtable(self).UnregisterGUIDDWORD)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), ::core::mem::transmute(rguid)).ok() } pub unsafe fn GetGUIDDWORD(&self, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGUIDDWORD)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterGUID(&self, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self, guidatom: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGUID)(::windows::core::Interface::as_raw(self), guidatom, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEqualTfGuidAtom(&self, guidatom: u32, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqualTfGuidAtom)(::windows::core::Interface::as_raw(self), guidatom, ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4047,7 +4047,7 @@ pub struct ITfCleanupContextSink_Vtbl { pub struct ITfClientId(::windows::core::IUnknown); impl ITfClientId { pub unsafe fn GetClientId(&self, rclsid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetClientId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4104,7 +4104,7 @@ impl ITfCompartment { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4210,7 +4210,7 @@ pub struct ITfCompartmentEventSink_Vtbl { pub struct ITfCompartmentMgr(::windows::core::IUnknown); impl ITfCompartmentMgr { pub unsafe fn GetCompartment(&self, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCompartment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ClearCompartment(&self, tid: u32, rguid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -4219,7 +4219,7 @@ impl ITfCompartmentMgr { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCompartments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCompartments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4274,7 +4274,7 @@ pub struct ITfCompartmentMgr_Vtbl { pub struct ITfComposition(::windows::core::IUnknown); impl ITfComposition { pub unsafe fn GetRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ShiftStart<'a, P0>(&self, ecwrite: u32, pnewstart: P0) -> ::windows::core::Result<()> @@ -4394,11 +4394,11 @@ pub struct ITfCompositionSink_Vtbl { pub struct ITfCompositionView(::windows::core::IUnknown); impl ITfCompositionView { pub unsafe fn GetOwnerClsid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOwnerClsid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4505,13 +4505,13 @@ impl ITfContext { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfEditSession>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::HRESULT>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestEditSession)(::windows::core::Interface::as_raw(self), tid, pes.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::HRESULT>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn InWriteSession(&self, tid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InWriteSession)(::windows::core::Interface::as_raw(self), tid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4525,50 +4525,50 @@ impl ITfContext { (::windows::core::Interface::vtable(self).SetSelection)(::windows::core::Interface::as_raw(self), ec, pselection.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(pselection))).ok() } pub unsafe fn GetStart(&self, ec: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStart)(::windows::core::Interface::as_raw(self), ec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEnd(&self, ec: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnd)(::windows::core::Interface::as_raw(self), ec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActiveView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumViews(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumViews)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperty(&self, guidprop: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidprop), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAppProperty(&self, guidprop: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAppProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidprop), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TrackProperties(&self, prgprop: &[*const ::windows::core::GUID], prgappprop: &[*const ::windows::core::GUID]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TrackProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(::windows::core::as_ptr_or_null(prgprop)), prgprop.len() as _, ::core::mem::transmute(::windows::core::as_ptr_or_null(prgappprop)), prgappprop.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentMgr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentMgr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateRangeBackup<'a, P0>(&self, ec: u32, prange: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRangeBackup)(::windows::core::Interface::as_raw(self), ec, prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4645,18 +4645,18 @@ impl ITfContextComposition { P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfCompositionSink>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StartComposition)(::windows::core::Interface::as_raw(self), ecwrite, pcompositionrange.into().abi(), psink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumCompositions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumCompositions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindComposition<'a, P0>(&self, ecread: u32, ptestrange: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindComposition)(::windows::core::Interface::as_raw(self), ecread, ptestrange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TakeOwnership<'a, P0, P1>(&self, ecwrite: u32, pcomposition: P0, psink: P1) -> ::windows::core::Result @@ -4664,7 +4664,7 @@ impl ITfContextComposition { P0: ::std::convert::Into<::windows::core::InParam<'a, ITfCompositionView>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfCompositionSink>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TakeOwnership)(::windows::core::Interface::as_raw(self), ecwrite, pcomposition.into().abi(), psink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4723,7 +4723,7 @@ impl ITfContextKeyEventSink { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnKeyDown)(::windows::core::Interface::as_raw(self), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4733,7 +4733,7 @@ impl ITfContextKeyEventSink { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnKeyUp)(::windows::core::Interface::as_raw(self), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4743,7 +4743,7 @@ impl ITfContextKeyEventSink { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnTestKeyDown)(::windows::core::Interface::as_raw(self), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4753,7 +4753,7 @@ impl ITfContextKeyEventSink { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnTestKeyUp)(::windows::core::Interface::as_raw(self), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4820,7 +4820,7 @@ impl ITfContextOwner { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetACPFromPoint(&self, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetACPFromPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptscreen), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4831,23 +4831,23 @@ impl ITfContextOwner { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetScreenExt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScreenExt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetAttribute(&self, rguidattribute: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttribute)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidattribute), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -4921,18 +4921,18 @@ impl ITfContextOwnerCompositionServices { P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfCompositionSink>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.StartComposition)(::windows::core::Interface::as_raw(self), ecwrite, pcompositionrange.into().abi(), psink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumCompositions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumCompositions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindComposition<'a, P0>(&self, ecread: u32, ptestrange: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindComposition)(::windows::core::Interface::as_raw(self), ecread, ptestrange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TakeOwnership<'a, P0, P1>(&self, ecwrite: u32, pcomposition: P0, psink: P1) -> ::windows::core::Result @@ -4940,7 +4940,7 @@ impl ITfContextOwnerCompositionServices { P0: ::std::convert::Into<::windows::core::InParam<'a, ITfCompositionView>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfCompositionSink>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TakeOwnership)(::windows::core::Interface::as_raw(self), ecwrite, pcomposition.into().abi(), psink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TerminateComposition<'a, P0>(&self, pcomposition: P0) -> ::windows::core::Result<()> @@ -5016,7 +5016,7 @@ impl ITfContextOwnerCompositionSink { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfCompositionView>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnStartComposition)(::windows::core::Interface::as_raw(self), pcomposition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnUpdateComposition<'a, P0, P1>(&self, pcomposition: P0, prangenew: P1) -> ::windows::core::Result<()> @@ -5119,7 +5119,7 @@ impl ITfContextOwnerServices { (::windows::core::Interface::vtable(self).ForceLoadProperty)(::windows::core::Interface::as_raw(self), pprop.into().abi()).ok() } pub unsafe fn CreateRange(&self, acpstart: i32, acpend: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateRange)(::windows::core::Interface::as_raw(self), acpstart, acpend, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5183,7 +5183,7 @@ impl ITfContextView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRangeFromPoint(&self, ec: u32, ppt: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRangeFromPoint)(::windows::core::Interface::as_raw(self), ec, ::core::mem::transmute(ppt), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5197,13 +5197,13 @@ impl ITfContextView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetScreenExt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetScreenExt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetWnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5274,7 +5274,7 @@ impl ITfCreatePropertyStore { P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfPropertyStore>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsStoreSerializable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidprop), prange.into().abi(), ppropstore.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5284,7 +5284,7 @@ impl ITfCreatePropertyStore { P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreatePropertyStore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidprop), prange.into().abi(), cb, pstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5341,19 +5341,19 @@ pub struct ITfCreatePropertyStore_Vtbl { pub struct ITfDisplayAttributeInfo(::windows::core::IUnknown); impl ITfDisplayAttributeInfo { pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAttributeInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAttributeInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5427,7 +5427,7 @@ impl ITfDisplayAttributeMgr { (::windows::core::Interface::vtable(self).OnUpdateInfo)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn EnumDisplayAttributeInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDisplayAttributeInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayAttributeInfo(&self, guid: *const ::windows::core::GUID, ppinfo: *mut ::core::option::Option, pclsidowner: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -5531,11 +5531,11 @@ pub struct ITfDisplayAttributeNotifySink_Vtbl { pub struct ITfDisplayAttributeProvider(::windows::core::IUnknown); impl ITfDisplayAttributeProvider { pub unsafe fn EnumDisplayAttributeInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDisplayAttributeInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDisplayAttributeInfo(&self, guid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayAttributeInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5601,15 +5601,15 @@ impl ITfDocumentMgr { (::windows::core::Interface::vtable(self).Pop)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumContexts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumContexts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5666,11 +5666,11 @@ impl ITfEditRecord { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSelectionStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectionStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTextAndPropertyUpdates(&self, dwflags: GET_TEXT_AND_PROPERTY_UPDATES_FLAGS, prgproperties: &[*const ::windows::core::GUID]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextAndPropertyUpdates)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(::windows::core::as_ptr_or_null(prgproperties)), prgproperties.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -5834,7 +5834,7 @@ impl ITfFnAdviseText { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnTextUpdate<'a, P0>(&self, prange: P0, pchtext: &[u16]) -> ::windows::core::Result<()> @@ -5964,7 +5964,7 @@ impl ITfFnConfigure { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6042,7 +6042,7 @@ impl ITfFnConfigureRegisterEudc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6121,7 +6121,7 @@ impl ITfFnConfigureRegisterWord { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6200,7 +6200,7 @@ impl ITfFnCustomSpeechCommand { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetSpeechCommandProvider<'a, P0>(&self, pspcmdprovider: P0) -> ::windows::core::Result<()> @@ -6273,14 +6273,14 @@ impl ITfFnGetLinguisticAlternates { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetAlternates<'a, P0>(&self, prange: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAlternates)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6347,7 +6347,7 @@ impl ITfFnGetPreferredTouchKeyboardLayout { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetLayout(&self, ptkblayouttype: *mut TKBLayoutType, pwpreferredlayoutid: *const u16) -> ::windows::core::Result<()> { @@ -6417,11 +6417,11 @@ impl ITfFnGetSAPIObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Get(&self, sobj: TfSapiObject) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Get)(::windows::core::Interface::as_raw(self), sobj, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -6488,7 +6488,7 @@ impl ITfFnLMInternal { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6502,14 +6502,14 @@ impl ITfFnLMInternal { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryLangID(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryLangID)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReconversion<'a, P0>(&self, prange: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetReconversion)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reconvert<'a, P0>(&self, prange: P0) -> ::windows::core::Result<()> @@ -6526,7 +6526,7 @@ impl ITfFnLMInternal { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.QueryKey)(::windows::core::Interface::as_raw(self), fup.into(), vkey.into(), lparamkeydata.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6630,7 +6630,7 @@ impl ITfFnLMProcessor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6644,14 +6644,14 @@ impl ITfFnLMProcessor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryLangID(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryLangID)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetReconversion<'a, P0>(&self, prange: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReconversion)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reconvert<'a, P0>(&self, prange: P0) -> ::windows::core::Result<()> @@ -6668,7 +6668,7 @@ impl ITfFnLMProcessor { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryKey)(::windows::core::Interface::as_raw(self), fup.into(), vkey.into(), lparamkeydata.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6769,7 +6769,7 @@ impl ITfFnLangProfileUtil { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterActiveProfiles(&self) -> ::windows::core::Result<()> { @@ -6778,7 +6778,7 @@ impl ITfFnLangProfileUtil { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsProfileAvailableForLang(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsProfileAvailableForLang)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -6849,7 +6849,7 @@ impl ITfFnPlayBack { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6934,11 +6934,11 @@ impl ITfFnPropertyUIStatus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self, refguidprop: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(refguidprop), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetStatus(&self, refguidprop: *const ::windows::core::GUID, dw: u32) -> ::windows::core::Result<()> { @@ -7009,7 +7009,7 @@ impl ITfFnReconversion { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7024,7 +7024,7 @@ impl ITfFnReconversion { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReconversion)(::windows::core::Interface::as_raw(self), prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Reconvert<'a, P0>(&self, prange: P0) -> ::windows::core::Result<()> @@ -7102,7 +7102,7 @@ impl ITfFnSearchCandidateProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7112,7 +7112,7 @@ impl ITfFnSearchCandidateProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSearchCandidates)(::windows::core::Interface::as_raw(self), bstrquery.into().abi(), bstrapplicationid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7196,7 +7196,7 @@ impl ITfFnShowHelp { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7274,7 +7274,7 @@ impl ITfFunction { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7327,17 +7327,17 @@ pub struct ITfFunction_Vtbl { pub struct ITfFunctionProvider(::windows::core::IUnknown); impl ITfFunctionProvider { pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunction(&self, rguid: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguid), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -7459,11 +7459,11 @@ impl ITfInputProcessorProfileMgr { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProfile)(::windows::core::Interface::as_raw(self), dwprofiletype, langid, ::core::mem::transmute(clsid), ::core::mem::transmute(guidprofile), hkl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumProfiles(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumProfiles)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReleaseInputProcessor(&self, rclsid: *const ::windows::core::GUID, dwflags: u32) -> ::windows::core::Result<()> { @@ -7482,7 +7482,7 @@ impl ITfInputProcessorProfileMgr { (::windows::core::Interface::vtable(self).UnregisterProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), langid, ::core::mem::transmute(guidprofile), dwflags).ok() } pub unsafe fn GetActiveProfile(&self, catid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(catid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7542,7 +7542,7 @@ pub struct ITfInputProcessorProfileMgr_Vtbl { pub struct ITfInputProcessorProfileSubstituteLayout(::windows::core::IUnknown); impl ITfInputProcessorProfileSubstituteLayout { pub unsafe fn GetSubstituteKeyboardLayout(&self, rclsid: *const ::windows::core::GUID, langid: u16, guidprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubstituteKeyboardLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), langid, ::core::mem::transmute(guidprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7606,7 +7606,7 @@ impl ITfInputProcessorProfiles { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumInputProcessorInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumInputProcessorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultLanguageProfile(&self, langid: u16, catid: *const ::windows::core::GUID, pclsid: *mut ::windows::core::GUID, pguidprofile: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -7624,11 +7624,11 @@ impl ITfInputProcessorProfiles { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLanguageProfileDescription(&self, rclsid: *const ::windows::core::GUID, langid: u16, guidprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguageProfileDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), langid, ::core::mem::transmute(guidprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCurrentLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChangeCurrentLanguage(&self, langid: u16) -> ::windows::core::Result<()> { @@ -7638,7 +7638,7 @@ impl ITfInputProcessorProfiles { (::windows::core::Interface::vtable(self).GetLanguageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pplangid), ::core::mem::transmute(pulcount)).ok() } pub unsafe fn EnumLanguageProfiles(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumLanguageProfiles)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7652,7 +7652,7 @@ impl ITfInputProcessorProfiles { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEnabledLanguageProfile(&self, rclsid: *const ::windows::core::GUID, langid: u16, guidprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEnabledLanguageProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), langid, ::core::mem::transmute(guidprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7762,7 +7762,7 @@ impl ITfInputProcessorProfilesEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumInputProcessorInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumInputProcessorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultLanguageProfile(&self, langid: u16, catid: *const ::windows::core::GUID, pclsid: *mut ::windows::core::GUID, pguidprofile: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -7780,11 +7780,11 @@ impl ITfInputProcessorProfilesEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetLanguageProfileDescription(&self, rclsid: *const ::windows::core::GUID, langid: u16, guidprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguageProfileDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), langid, ::core::mem::transmute(guidprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetCurrentLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCurrentLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ChangeCurrentLanguage(&self, langid: u16) -> ::windows::core::Result<()> { @@ -7794,7 +7794,7 @@ impl ITfInputProcessorProfilesEx { (::windows::core::Interface::vtable(self).base__.GetLanguageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pplangid), ::core::mem::transmute(pulcount)).ok() } pub unsafe fn EnumLanguageProfiles(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumLanguageProfiles)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7808,7 +7808,7 @@ impl ITfInputProcessorProfilesEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEnabledLanguageProfile(&self, rclsid: *const ::windows::core::GUID, langid: u16, guidprofile: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEnabledLanguageProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rclsid), langid, ::core::mem::transmute(guidprofile), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7900,19 +7900,19 @@ impl ITfInputScope { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRegularExpression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegularExpression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSRGS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSRGS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -7988,25 +7988,25 @@ impl ITfInputScope2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetRegularExpression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetRegularExpression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetSRGS(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSRGS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumWordList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumWordList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8074,7 +8074,7 @@ pub struct ITfInputScope2_Vtbl { pub struct ITfInsertAtSelection(::windows::core::IUnknown); impl ITfInsertAtSelection { pub unsafe fn InsertTextAtSelection(&self, ec: u32, dwflags: INSERT_TEXT_AT_SELECTION_FLAGS, pchtext: &[u16]) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InsertTextAtSelection)(::windows::core::Interface::as_raw(self), ec, dwflags, ::core::mem::transmute(::windows::core::as_ptr_or_null(pchtext)), pchtext.len() as _, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8083,7 +8083,7 @@ impl ITfInsertAtSelection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InsertEmbeddedAtSelection)(::windows::core::Interface::as_raw(self), ec, dwflags, pdataobject.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8140,7 +8140,7 @@ impl ITfIntegratableCandidateListUIElement { (::windows::core::Interface::vtable(self).SetIntegrationStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(guidintegrationstyle)).ok() } pub unsafe fn GetSelectionStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectionStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8150,13 +8150,13 @@ impl ITfIntegratableCandidateListUIElement { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnKeyDown)(::windows::core::Interface::as_raw(self), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ShowCandidateNumbers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowCandidateNumbers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FinalizeExactCompositionString(&self) -> ::windows::core::Result<()> { @@ -8234,7 +8234,7 @@ impl ITfKeyEventSink { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnTestKeyDown)(::windows::core::Interface::as_raw(self), pic.into().abi(), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8245,7 +8245,7 @@ impl ITfKeyEventSink { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnTestKeyUp)(::windows::core::Interface::as_raw(self), pic.into().abi(), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8256,7 +8256,7 @@ impl ITfKeyEventSink { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnKeyDown)(::windows::core::Interface::as_raw(self), pic.into().abi(), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8267,7 +8267,7 @@ impl ITfKeyEventSink { P1: ::std::convert::Into, P2: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnKeyUp)(::windows::core::Interface::as_raw(self), pic.into().abi(), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8276,7 +8276,7 @@ impl ITfKeyEventSink { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfContext>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnPreservedKey)(::windows::core::Interface::as_raw(self), pic.into().abi(), ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8432,7 +8432,7 @@ impl ITfKeystrokeMgr { (::windows::core::Interface::vtable(self).UnadviseKeyEventSink)(::windows::core::Interface::as_raw(self), tid).ok() } pub unsafe fn GetForeground(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetForeground)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8442,7 +8442,7 @@ impl ITfKeystrokeMgr { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TestKeyDown)(::windows::core::Interface::as_raw(self), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8452,7 +8452,7 @@ impl ITfKeystrokeMgr { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TestKeyUp)(::windows::core::Interface::as_raw(self), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8462,7 +8462,7 @@ impl ITfKeystrokeMgr { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeyDown)(::windows::core::Interface::as_raw(self), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8472,20 +8472,20 @@ impl ITfKeystrokeMgr { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).KeyUp)(::windows::core::Interface::as_raw(self), wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPreservedKey<'a, P0>(&self, pic: P0, pprekey: *const TF_PRESERVEDKEY) -> ::windows::core::Result<::windows::core::GUID> where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreservedKey)(::windows::core::Interface::as_raw(self), pic.into().abi(), ::core::mem::transmute(pprekey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPreservedKey(&self, rguid: *const ::windows::core::GUID, pprekey: *const TF_PRESERVEDKEY) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPreservedKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguid), ::core::mem::transmute(pprekey), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn PreserveKey(&self, tid: u32, rguid: *const ::windows::core::GUID, prekey: *const TF_PRESERVEDKEY, pchdesc: &[u16]) -> ::windows::core::Result<()> { @@ -8500,7 +8500,7 @@ impl ITfKeystrokeMgr { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPreservedKeyDescription(&self, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreservedKeyDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8509,7 +8509,7 @@ impl ITfKeystrokeMgr { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfContext>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).SimulatePreservedKey)(::windows::core::Interface::as_raw(self), pic.into().abi(), ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8598,11 +8598,11 @@ impl ITfLMLattice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn QueryType(&self, rguidtype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumLatticeElements(&self, dwframestart: u32, rguidtype: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumLatticeElements)(::windows::core::Interface::as_raw(self), dwframestart, ::core::mem::transmute(rguidtype), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8679,7 +8679,7 @@ impl ITfLangBarEventSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetItemFloatingRect(&self, dwthreadid: u32, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemFloatingRect)(::windows::core::Interface::as_raw(self), dwthreadid, ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8740,11 +8740,11 @@ pub struct ITfLangBarEventSink_Vtbl { pub struct ITfLangBarItem(::windows::core::IUnknown); impl ITfLangBarItem { pub unsafe fn GetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8758,7 +8758,7 @@ impl ITfLangBarItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTooltipString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTooltipString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8817,11 +8817,11 @@ pub struct ITfLangBarItem_Vtbl { pub struct ITfLangBarItemBalloon(::windows::core::IUnknown); impl ITfLangBarItemBalloon { pub unsafe fn GetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8835,7 +8835,7 @@ impl ITfLangBarItemBalloon { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTooltipString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTooltipString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8846,13 +8846,13 @@ impl ITfLangBarItemBalloon { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreferredSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pszdefault), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBalloonInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBalloonInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -8928,11 +8928,11 @@ pub struct ITfLangBarItemBalloon_Vtbl { pub struct ITfLangBarItemBitmap(::windows::core::IUnknown); impl ITfLangBarItemBitmap { pub unsafe fn GetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8946,7 +8946,7 @@ impl ITfLangBarItemBitmap { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTooltipString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTooltipString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8957,7 +8957,7 @@ impl ITfLangBarItemBitmap { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreferredSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pszdefault), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -9038,11 +9038,11 @@ pub struct ITfLangBarItemBitmap_Vtbl { pub struct ITfLangBarItemBitmapButton(::windows::core::IUnknown); impl ITfLangBarItemBitmapButton { pub unsafe fn GetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9056,7 +9056,7 @@ impl ITfLangBarItemBitmapButton { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTooltipString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTooltipString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9076,7 +9076,7 @@ impl ITfLangBarItemBitmapButton { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreferredSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pszdefault), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -9087,7 +9087,7 @@ impl ITfLangBarItemBitmapButton { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9169,11 +9169,11 @@ pub struct ITfLangBarItemBitmapButton_Vtbl { pub struct ITfLangBarItemButton(::windows::core::IUnknown); impl ITfLangBarItemButton { pub unsafe fn GetInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9187,7 +9187,7 @@ impl ITfLangBarItemButton { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTooltipString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTooltipString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9207,13 +9207,13 @@ impl ITfLangBarItemButton { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetIcon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIcon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9291,11 +9291,11 @@ pub struct ITfLangBarItemButton_Vtbl { pub struct ITfLangBarItemMgr(::windows::core::IUnknown); impl ITfLangBarItemMgr { pub unsafe fn EnumItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItem(&self, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddItem<'a, P0>(&self, punk: P0) -> ::windows::core::Result<()> @@ -9322,14 +9322,14 @@ impl ITfLangBarItemMgr { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetItemFloatingRect(&self, dwthreadid: u32, rguid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemFloatingRect)(::windows::core::Interface::as_raw(self), dwthreadid, ::core::mem::transmute(rguid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItemsStatus(&self, ulcount: u32, prgguid: *const ::windows::core::GUID, pdwstatus: *mut u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).GetItemsStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ulcount), ::core::mem::transmute(prgguid), ::core::mem::transmute(pdwstatus)).ok() } pub unsafe fn GetItemNum(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemNum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetItems(&self, ulcount: u32, ppitem: *mut ::core::option::Option, pinfo: *mut TF_LANGBARITEMINFO, pdwstatus: *mut u32, pcfetched: *mut u32) -> ::windows::core::Result<()> { @@ -9463,7 +9463,7 @@ impl ITfLangBarMgr { (::windows::core::Interface::vtable(self).UnadviseEventSink)(::windows::core::Interface::as_raw(self), dwcookie).ok() } pub unsafe fn GetThreadMarshalInterface(&self, dwthreadid: u32, dwtype: u32, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetThreadMarshalInterface)(::windows::core::Interface::as_raw(self), dwthreadid, dwtype, ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetThreadLangBarItemMgr(&self, dwthreadid: u32, pplbi: *mut ::core::option::Option, pdwthreadid: *mut u32) -> ::windows::core::Result<()> { @@ -9490,7 +9490,7 @@ impl ITfLangBarMgr { (::windows::core::Interface::vtable(self).ShowFloating)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetShowFloatingStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetShowFloatingStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9556,7 +9556,7 @@ impl ITfLanguageProfileNotifySink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OnLanguageChange(&self, langid: u16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnLanguageChange)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OnLanguageChanged(&self) -> ::windows::core::Result<()> { @@ -9819,7 +9819,7 @@ impl ITfMouseSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn OnMouseEvent(&self, uedge: u32, uquadrant: u32, dwbtnstatus: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnMouseEvent)(::windows::core::Interface::as_raw(self), uedge, uquadrant, dwbtnstatus, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -9876,7 +9876,7 @@ impl ITfMouseTracker { P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfMouseSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdviseMouseSink)(::windows::core::Interface::as_raw(self), range.into().abi(), psink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnadviseMouseSink(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -9934,7 +9934,7 @@ impl ITfMouseTrackerACP { P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRangeACP>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfMouseSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdviseMouseSink)(::windows::core::Interface::as_raw(self), range.into().abi(), psink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnadviseMouseSink(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -9990,7 +9990,7 @@ impl ITfPersistentPropertyLoaderACP { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn LoadProperty(&self, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LoadProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(phdr), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10092,7 +10092,7 @@ pub struct ITfPreservedKeyNotifySink_Vtbl { pub struct ITfProperty(::windows::core::IUnknown); impl ITfProperty { pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn EnumRanges<'a, P0>(&self, ec: u32, ppenum: *mut ::core::option::Option, ptargetrange: P0) -> ::windows::core::Result<()> @@ -10107,11 +10107,11 @@ impl ITfProperty { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetValue)(::windows::core::Interface::as_raw(self), ec, prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FindRange<'a, P0>(&self, ec: u32, prange: P0, pprange: *mut ::core::option::Option, apos: TfAnchor) -> ::windows::core::Result<()> @@ -10209,17 +10209,17 @@ pub struct ITfProperty_Vtbl { pub struct ITfPropertyStore(::windows::core::IUnknown); impl ITfPropertyStore { pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetDataType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDataType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10228,7 +10228,7 @@ impl ITfPropertyStore { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnTextUpdated)(::windows::core::Interface::as_raw(self), dwflags, prangenew.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10237,7 +10237,7 @@ impl ITfPropertyStore { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Shrink)(::windows::core::Interface::as_raw(self), prangenew.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Divide<'a, P0, P1>(&self, prangethis: P0, prangenew: P1) -> ::windows::core::Result @@ -10245,15 +10245,15 @@ impl ITfPropertyStore { P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Divide)(::windows::core::Interface::as_raw(self), prangethis.into().abi(), prangenew.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetPropertyRangeCreator(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyRangeCreator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10262,7 +10262,7 @@ impl ITfPropertyStore { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Serialize)(::windows::core::Interface::as_raw(self), pstream.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10334,7 +10334,7 @@ impl ITfQueryEmbedded { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe fn QueryInsertEmbedded(&self, pguidservice: *const ::windows::core::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryInsertEmbedded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguidservice), ::core::mem::transmute(pformatetc), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10395,11 +10395,11 @@ impl ITfRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self, ec: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormattedText)(::windows::core::Interface::as_raw(self), ec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEmbedded(&self, ec: u32, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEmbedded)(::windows::core::Interface::as_raw(self), ec, ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10431,19 +10431,19 @@ impl ITfRange { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ShiftStartRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShiftStartRegion)(::windows::core::Interface::as_raw(self), ec, dir, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ShiftEndRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShiftEndRegion)(::windows::core::Interface::as_raw(self), ec, dir, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEmpty(&self, ec: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEmpty)(::windows::core::Interface::as_raw(self), ec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Collapse(&self, ec: u32, apos: TfAnchor) -> ::windows::core::Result<()> { @@ -10455,7 +10455,7 @@ impl ITfRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqualStart)(::windows::core::Interface::as_raw(self), ec, pwith.into().abi(), apos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10464,27 +10464,27 @@ impl ITfRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqualEnd)(::windows::core::Interface::as_raw(self), ec, pwith.into().abi(), apos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareStart<'a, P0>(&self, ec: u32, pwith: P0, apos: TfAnchor) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareStart)(::windows::core::Interface::as_raw(self), ec, pwith.into().abi(), apos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareEnd<'a, P0>(&self, ec: u32, pwith: P0, apos: TfAnchor) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompareEnd)(::windows::core::Interface::as_raw(self), ec, pwith.into().abi(), apos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AdjustForInsert(&self, ec: u32, cchinsert: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdjustForInsert)(::windows::core::Interface::as_raw(self), ec, cchinsert, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGravity(&self, pgstart: *mut TfGravity, pgend: *mut TfGravity) -> ::windows::core::Result<()> { @@ -10494,11 +10494,11 @@ impl ITfRange { (::windows::core::Interface::vtable(self).SetGravity)(::windows::core::Interface::as_raw(self), ec, gstart, gend).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10601,11 +10601,11 @@ impl ITfRangeACP { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self, ec: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFormattedText)(::windows::core::Interface::as_raw(self), ec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEmbedded(&self, ec: u32, rguidservice: *const ::windows::core::GUID, riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEmbedded)(::windows::core::Interface::as_raw(self), ec, ::core::mem::transmute(rguidservice), ::core::mem::transmute(riid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10637,19 +10637,19 @@ impl ITfRangeACP { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ShiftStartRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShiftStartRegion)(::windows::core::Interface::as_raw(self), ec, dir, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ShiftEndRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShiftEndRegion)(::windows::core::Interface::as_raw(self), ec, dir, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEmpty(&self, ec: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEmpty)(::windows::core::Interface::as_raw(self), ec, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Collapse(&self, ec: u32, apos: TfAnchor) -> ::windows::core::Result<()> { @@ -10661,7 +10661,7 @@ impl ITfRangeACP { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqualStart)(::windows::core::Interface::as_raw(self), ec, pwith.into().abi(), apos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10670,27 +10670,27 @@ impl ITfRangeACP { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqualEnd)(::windows::core::Interface::as_raw(self), ec, pwith.into().abi(), apos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareStart<'a, P0>(&self, ec: u32, pwith: P0, apos: TfAnchor) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareStart)(::windows::core::Interface::as_raw(self), ec, pwith.into().abi(), apos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CompareEnd<'a, P0>(&self, ec: u32, pwith: P0, apos: TfAnchor) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CompareEnd)(::windows::core::Interface::as_raw(self), ec, pwith.into().abi(), apos, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn AdjustForInsert(&self, ec: u32, cchinsert: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AdjustForInsert)(::windows::core::Interface::as_raw(self), ec, cchinsert, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGravity(&self, pgstart: *mut TfGravity, pgend: *mut TfGravity) -> ::windows::core::Result<()> { @@ -10700,11 +10700,11 @@ impl ITfRangeACP { (::windows::core::Interface::vtable(self).base__.SetGravity)(::windows::core::Interface::as_raw(self), ec, gstart, gend).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetExtent(&self, pacpanchor: *mut i32, pcch: *mut i32) -> ::windows::core::Result<()> { @@ -10828,7 +10828,7 @@ pub struct ITfRangeBackup_Vtbl { pub struct ITfReadOnlyProperty(::windows::core::IUnknown); impl ITfReadOnlyProperty { pub unsafe fn GetType(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn EnumRanges<'a, P0>(&self, ec: u32, ppenum: *mut ::core::option::Option, ptargetrange: P0) -> ::windows::core::Result<()> @@ -10843,11 +10843,11 @@ impl ITfReadOnlyProperty { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetValue)(::windows::core::Interface::as_raw(self), ec, prange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -10905,11 +10905,11 @@ impl ITfReadingInformationUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10923,35 +10923,35 @@ impl ITfReadingInformationUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetUpdatedFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUpdatedFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMaxReadingStringLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMaxReadingStringLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetErrorIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetErrorIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsVerticalOrderPreferred(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsVerticalOrderPreferred)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11030,7 +11030,7 @@ impl ITfReverseConversion { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DoReverseConversion)(::windows::core::Interface::as_raw(self), lpstr.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11080,13 +11080,13 @@ pub struct ITfReverseConversion_Vtbl { pub struct ITfReverseConversionList(::windows::core::IUnknown); impl ITfReverseConversionList { pub unsafe fn GetLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetString(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11140,7 +11140,7 @@ pub struct ITfReverseConversionList_Vtbl { pub struct ITfReverseConversionMgr(::windows::core::IUnknown); impl ITfReverseConversionMgr { pub unsafe fn GetReverseConversion(&self, langid: u16, guidprofile: *const ::windows::core::GUID, dwflag: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReverseConversion)(::windows::core::Interface::as_raw(self), langid, ::core::mem::transmute(guidprofile), dwflag, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11193,7 +11193,7 @@ impl ITfSource { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AdviseSink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(riid), punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnadviseSink(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -11423,7 +11423,7 @@ impl ITfSystemDeviceTypeLangBarItem { (::windows::core::Interface::vtable(self).SetIconMode)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetIconMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIconMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11596,7 +11596,7 @@ impl ITfSystemLangBarItemText { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetItemText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetItemText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -11941,22 +11941,22 @@ pub struct ITfThreadFocusSink_Vtbl { pub struct ITfThreadMgr(::windows::core::IUnknown); impl ITfThreadMgr { pub unsafe fn Activate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Activate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Deactivate(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Deactivate)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn CreateDocumentMgr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDocumentMgr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDocumentMgrs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDocumentMgrs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFocus<'a, P0>(&self, pdimfocus: P0) -> ::windows::core::Result<()> @@ -11972,25 +11972,25 @@ impl ITfThreadMgr { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfDocumentMgr>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AssociateFocus)(::windows::core::Interface::as_raw(self), hwnd.into(), pdimnew.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsThreadFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsThreadFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionProvider(&self, clsid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumFunctionProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFunctionProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlobalCompartment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlobalCompartment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12056,22 +12056,22 @@ pub struct ITfThreadMgr_Vtbl { pub struct ITfThreadMgr2(::windows::core::IUnknown); impl ITfThreadMgr2 { pub unsafe fn Activate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Activate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Deactivate(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Deactivate)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn CreateDocumentMgr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDocumentMgr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDocumentMgrs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumDocumentMgrs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFocus<'a, P0>(&self, pdimfocus: P0) -> ::windows::core::Result<()> @@ -12083,26 +12083,26 @@ impl ITfThreadMgr2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsThreadFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsThreadFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionProvider(&self, clsid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFunctionProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumFunctionProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFunctionProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlobalCompartment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGlobalCompartment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActivateEx(&self, ptid: *mut u32, dwflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ActivateEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptid), dwflags).ok() } pub unsafe fn GetActiveFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SuspendKeystrokeHandling(&self) -> ::windows::core::Result<()> { @@ -12255,22 +12255,22 @@ pub struct ITfThreadMgrEventSink_Vtbl { pub struct ITfThreadMgrEx(::windows::core::IUnknown); impl ITfThreadMgrEx { pub unsafe fn Activate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Activate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Deactivate(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Deactivate)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn CreateDocumentMgr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateDocumentMgr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumDocumentMgrs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumDocumentMgrs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFocus<'a, P0>(&self, pdimfocus: P0) -> ::windows::core::Result<()> @@ -12286,32 +12286,32 @@ impl ITfThreadMgrEx { P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<'a, ITfDocumentMgr>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.AssociateFocus)(::windows::core::Interface::as_raw(self), hwnd.into(), pdimnew.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsThreadFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsThreadFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFunctionProvider(&self, clsid: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFunctionProvider)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(clsid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumFunctionProviders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumFunctionProviders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGlobalCompartment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGlobalCompartment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ActivateEx(&self, ptid: *mut u32, dwflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ActivateEx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptid), dwflags).ok() } pub unsafe fn GetActiveFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12379,11 +12379,11 @@ impl ITfToolTipUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12397,13 +12397,13 @@ impl ITfToolTipUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12478,7 +12478,7 @@ impl ITfTransitoryExtensionSink { P1: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, P2: ::std::convert::Into<::windows::core::InParam<'a, ITfRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnTransitoryExtensionUpdated)(::windows::core::Interface::as_raw(self), pic.into().abi(), ecreadonly, presultrange.into().abi(), pcompositionrange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12533,11 +12533,11 @@ impl ITfTransitoryExtensionUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12551,11 +12551,11 @@ impl ITfTransitoryExtensionUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDocumentMgr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDocumentMgr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12622,11 +12622,11 @@ impl ITfUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12640,7 +12640,7 @@ impl ITfUIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12716,11 +12716,11 @@ impl ITfUIElementMgr { (::windows::core::Interface::vtable(self).EndUIElement)(::windows::core::Interface::as_raw(self), dwuielementid).ok() } pub unsafe fn GetUIElement(&self, dwuielementid: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUIElement)(::windows::core::Interface::as_raw(self), dwuielementid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnumUIElements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumUIElements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -12928,11 +12928,11 @@ pub struct IUIManagerEventSink_Vtbl { pub struct IVersionInfo(::windows::core::IUnknown); impl IVersionInfo { pub unsafe fn GetSubcomponentCount(&self, ulsub: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSubcomponentCount)(::windows::core::Interface::as_raw(self), ulsub, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetImplementationID(&self, ulsub: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetImplementationID)(::windows::core::Interface::as_raw(self), ulsub, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetBuildVersion(&self, ulsub: u32, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::core::Result<()> { @@ -12941,13 +12941,13 @@ impl IVersionInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetComponentDescription(&self, ulsub: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComponentDescription)(::windows::core::Interface::as_raw(self), ulsub, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInstanceDescription(&self, ulsub: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstanceDescription)(::windows::core::Interface::as_raw(self), ulsub, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs index a86a2578b7..a1a457444f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -8959,7 +8959,7 @@ where extern "system" { fn MrmGetPriFileContentChecksum(prifile: ::windows::core::PCWSTR, checksum: *mut u32) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); MrmGetPriFileContentChecksum(prifile.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] 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 bbc9b52088..549b8f528f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs @@ -14,11 +14,11 @@ impl IMILBitmapEffect { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMILBitmapEffectRenderContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutput)(::windows::core::Interface::as_raw(self), uiindex, pcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetParentEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -84,11 +84,11 @@ pub struct IMILBitmapEffect_Vtbl { pub struct IMILBitmapEffectConnections(::windows::core::IUnknown); impl IMILBitmapEffectConnections { pub unsafe fn GetInputConnector(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputConnector)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputConnector(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputConnector)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -139,19 +139,19 @@ pub struct IMILBitmapEffectConnections_Vtbl { pub struct IMILBitmapEffectConnectionsInfo(::windows::core::IUnknown); impl IMILBitmapEffectConnectionsInfo { pub unsafe fn GetNumberInputs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberInputs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberOutputs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberOutputs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputConnectorInfo(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputConnectorInfo)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOutputConnectorInfo(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputConnectorInfo)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -204,27 +204,27 @@ pub struct IMILBitmapEffectConnectionsInfo_Vtbl { pub struct IMILBitmapEffectConnector(::windows::core::IUnknown); impl IMILBitmapEffectConnector { pub unsafe fn GetIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOptimalFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetOptimalFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetNumberFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNumberFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormat(&self, ulindex: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetFormat)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBitmapEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitmapEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -290,19 +290,19 @@ pub struct IMILBitmapEffectConnector_Vtbl { pub struct IMILBitmapEffectConnectorInfo(::windows::core::IUnknown); impl IMILBitmapEffectConnectorInfo { pub unsafe fn GetIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOptimalFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOptimalFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetNumberFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormat(&self, ulindex: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFormat)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } } @@ -420,15 +420,15 @@ pub struct IMILBitmapEffectEvents_Vtbl { pub struct IMILBitmapEffectFactory(::windows::core::IUnknown); impl IMILBitmapEffectFactory { pub unsafe fn CreateEffect(&self, pguideffect: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pguideffect), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateEffectOuter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEffectOuter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -480,11 +480,11 @@ pub struct IMILBitmapEffectFactory_Vtbl { pub struct IMILBitmapEffectGroup(::windows::core::IUnknown); impl IMILBitmapEffectGroup { pub unsafe fn GetInteriorInputConnector(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInteriorInputConnector)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInteriorOutputConnector(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInteriorOutputConnector)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Add<'a, P0>(&self, peffect: P0) -> ::windows::core::Result<()> @@ -548,11 +548,11 @@ impl IMILBitmapEffectGroupImpl { (::windows::core::Interface::vtable(self).Preprocess)(::windows::core::Interface::as_raw(self), pcontext.into().abi()).ok() } pub unsafe fn GetNumberChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -607,7 +607,7 @@ impl IMILBitmapEffectImpl { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMILBitmapEffectOutputConnector>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInPlaceModificationAllowed)(::windows::core::Interface::as_raw(self), poutputconnector.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetParentEffect<'a, P0>(&self, pparenteffect: P0) -> ::windows::core::Result<()> @@ -619,11 +619,11 @@ impl IMILBitmapEffectImpl { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[cfg(feature = "Win32_Graphics_Imaging")] pub unsafe fn GetInputSource(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputSource)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetInputSourceBounds(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputSourceBounds)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -710,27 +710,27 @@ pub struct IMILBitmapEffectImpl_Vtbl { pub struct IMILBitmapEffectInputConnector(::windows::core::IUnknown); impl IMILBitmapEffectInputConnector { pub unsafe fn GetIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOptimalFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOptimalFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetNumberFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNumberFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormat(&self, ulindex: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFormat)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBitmapEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBitmapEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ConnectTo<'a, P0>(&self, pconnector: P0) -> ::windows::core::Result<()> @@ -740,7 +740,7 @@ impl IMILBitmapEffectInputConnector { (::windows::core::Interface::vtable(self).ConnectTo)(::windows::core::Interface::as_raw(self), pconnector.into().abi()).ok() } pub unsafe fn GetConnection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -821,7 +821,7 @@ pub struct IMILBitmapEffectInputConnector_Vtbl { pub struct IMILBitmapEffectInteriorInputConnector(::windows::core::IUnknown); impl IMILBitmapEffectInteriorInputConnector { pub unsafe fn GetInputConnector(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInputConnector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -871,7 +871,7 @@ pub struct IMILBitmapEffectInteriorInputConnector_Vtbl { pub struct IMILBitmapEffectInteriorOutputConnector(::windows::core::IUnknown); impl IMILBitmapEffectInteriorOutputConnector { pub unsafe fn GetOutputConnector(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputConnector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -921,35 +921,35 @@ pub struct IMILBitmapEffectInteriorOutputConnector_Vtbl { pub struct IMILBitmapEffectOutputConnector(::windows::core::IUnknown); impl IMILBitmapEffectOutputConnector { pub unsafe fn GetIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOptimalFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetOptimalFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetNumberFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetNumberFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetFormat(&self, ulindex: u32) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetFormat)(::windows::core::Interface::as_raw(self), ulindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn IsConnected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsConnected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetBitmapEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetBitmapEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNumberConnections(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNumberConnections)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetConnection(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetConnection)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1109,11 +1109,11 @@ impl IMILBitmapEffectPrimitive { (::windows::core::Interface::vtable(self).TransformRect)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(p), fforwardtransform, pcontext.into().abi()).ok() } pub unsafe fn HasAffineTransform(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasAffineTransform)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn HasInverseTransform(&self, uiindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasInverseTransform)(::windows::core::Interface::as_raw(self), uiindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] @@ -1182,7 +1182,7 @@ impl IMILBitmapEffectPrimitiveImpl { ::core::mem::transmute((::windows::core::Interface::vtable(self).IsDirty)(::windows::core::Interface::as_raw(self), uioutputindex, ::core::mem::transmute(pfdirty))) } pub unsafe fn IsVolatile(&self, uioutputindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsVolatile)(::windows::core::Interface::as_raw(self), uioutputindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -1236,7 +1236,7 @@ impl IMILBitmapEffectRenderContext { (::windows::core::Interface::vtable(self).SetOutputPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(format)).ok() } pub unsafe fn GetOutputPixelFormat(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetOutputPixelFormat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn SetUseSoftwareRenderer(&self, fsoftware: i16) -> ::windows::core::Result<()> { @@ -1246,7 +1246,7 @@ impl IMILBitmapEffectRenderContext { (::windows::core::Interface::vtable(self).SetInitialTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pmatrix)).ok() } pub unsafe fn GetFinalTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFinalTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetOutputDPI(&self, dbldpix: f64, dbldpiy: f64) -> ::windows::core::Result<()> { @@ -1312,7 +1312,7 @@ pub struct IMILBitmapEffectRenderContext_Vtbl { pub struct IMILBitmapEffectRenderContextImpl(::windows::core::IUnknown); impl IMILBitmapEffectRenderContextImpl { pub unsafe fn GetUseSoftwareRenderer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUseSoftwareRenderer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetTransform(&self, pmatrix: *mut MILMatrixF) -> ::windows::core::Result<()> { @@ -1378,19 +1378,19 @@ pub struct IMILBitmapEffectRenderContextImpl_Vtbl { pub struct IMILBitmapEffects(::windows::core::IUnknown); impl IMILBitmapEffects { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Item(&self, uindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), uindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs index d4265e4191..45ee4eda95 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Xaml/Diagnostics/mod.rs @@ -179,19 +179,19 @@ impl IBitmapData { (::windows::core::Interface::vtable(self).CopyBytesTo)(::windows::core::Interface::as_raw(self), sourceoffsetinbytes, pvbytes.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(pvbytes)), ::core::mem::transmute(numberofbytescopied)).ok() } pub unsafe fn GetStride(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStride)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetBitmapDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBitmapDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetSourceBitmapDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSourceBitmapDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -273,7 +273,7 @@ impl IVisualTreeService { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), typename.into().abi(), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -288,7 +288,7 @@ impl IVisualTreeService { (::windows::core::Interface::vtable(self).ClearProperty)(::windows::core::Interface::as_raw(self), instancehandle, propertyindex).ok() } pub unsafe fn GetCollectionCount(&self, instancehandle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCollectionCount)(::windows::core::Interface::as_raw(self), instancehandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -398,7 +398,7 @@ impl IVisualTreeService2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateInstance)(::windows::core::Interface::as_raw(self), typename.into().abi(), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -413,7 +413,7 @@ impl IVisualTreeService2 { (::windows::core::Interface::vtable(self).base__.ClearProperty)(::windows::core::Interface::as_raw(self), instancehandle, propertyindex).ok() } pub unsafe fn GetCollectionCount(&self, instancehandle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetCollectionCount)(::windows::core::Interface::as_raw(self), instancehandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -434,18 +434,18 @@ impl IVisualTreeService2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropertyIndex)(::windows::core::Interface::as_raw(self), object, propertyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperty(&self, object: u64, propertyindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetProperty)(::windows::core::Interface::as_raw(self), object, propertyindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReplaceResource(&self, resourcedictionary: u64, key: u64, newvalue: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).ReplaceResource)(::windows::core::Interface::as_raw(self), resourcedictionary, key, newvalue).ok() } pub unsafe fn RenderTargetBitmap(&self, handle: u64, options: RenderTargetBitmapOptions, maxpixelwidth: u32, maxpixelheight: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RenderTargetBitmap)(::windows::core::Interface::as_raw(self), handle, options, maxpixelwidth, maxpixelheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -536,7 +536,7 @@ impl IVisualTreeService3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.CreateInstance)(::windows::core::Interface::as_raw(self), typename.into().abi(), value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -551,7 +551,7 @@ impl IVisualTreeService3 { (::windows::core::Interface::vtable(self).base__.base__.ClearProperty)(::windows::core::Interface::as_raw(self), instancehandle, propertyindex).ok() } pub unsafe fn GetCollectionCount(&self, instancehandle: u64) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.GetCollectionCount)(::windows::core::Interface::as_raw(self), instancehandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -572,18 +572,18 @@ impl IVisualTreeService3 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetPropertyIndex)(::windows::core::Interface::as_raw(self), object, propertyname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetProperty(&self, object: u64, propertyindex: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetProperty)(::windows::core::Interface::as_raw(self), object, propertyindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ReplaceResource(&self, resourcedictionary: u64, key: u64, newvalue: u64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.ReplaceResource)(::windows::core::Interface::as_raw(self), resourcedictionary, key, newvalue).ok() } pub unsafe fn RenderTargetBitmap(&self, handle: u64, options: RenderTargetBitmapOptions, maxpixelwidth: u32, maxpixelheight: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RenderTargetBitmap)(::windows::core::Interface::as_raw(self), handle, options, maxpixelwidth, maxpixelheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ResolveResource<'a, P0>(&self, resourcecontext: u64, resourcename: P0, resourcetype: ResourceType, propertyindex: u32) -> ::windows::core::Result<()> @@ -599,7 +599,7 @@ impl IVisualTreeService3 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDictionaryItem)(::windows::core::Interface::as_raw(self), dictionaryhandle, resourcename.into(), resourceisimplicitstyle.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddDictionaryItem(&self, dictionaryhandle: u64, resourcekey: u64, resourcehandle: u64) -> ::windows::core::Result<()> { @@ -823,26 +823,26 @@ pub struct IVisualTreeServiceCallback2_Vtbl { pub struct IXamlDiagnostics(::windows::core::IUnknown); impl IXamlDiagnostics { pub unsafe fn GetDispatcher(&self) -> ::windows::core::Result<::windows::core::IInspectable> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDispatcher)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IInspectable>(result__) } pub unsafe fn GetUiLayer(&self) -> ::windows::core::Result<::windows::core::IInspectable> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUiLayer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IInspectable>(result__) } pub unsafe fn GetApplication(&self) -> ::windows::core::Result<::windows::core::IInspectable> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetApplication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IInspectable>(result__) } pub unsafe fn GetIInspectableFromHandle(&self, instancehandle: u64) -> ::windows::core::Result<::windows::core::IInspectable> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIInspectableFromHandle)(::windows::core::Interface::as_raw(self), instancehandle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IInspectable>(result__) } pub unsafe fn GetHandleFromIInspectable<'a, P0>(&self, pinstance: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IInspectable>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHandleFromIInspectable)(::windows::core::Interface::as_raw(self), pinstance.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -854,13 +854,13 @@ impl IXamlDiagnostics { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IInspectable>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterInstance)(::windows::core::Interface::as_raw(self), pinstance.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInitializationData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInitializationData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs b/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs index cd3622c207..269b48145a 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/MsHtml/mod.rs @@ -485,7 +485,7 @@ where extern "system" { fn CreateDDrawSurfaceOnDIB(hbmdib: super::super::Graphics::Gdi::HBITMAP, ppsurface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateDDrawSurfaceOnDIB(hbmdib.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] @@ -495,7 +495,7 @@ pub unsafe fn CreateMIMEMap() -> ::windows::core::Result { extern "system" { fn CreateMIMEMap(ppmap: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CreateMIMEMap(::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] @@ -18983,7 +18983,7 @@ pub const HtmlDlgSafeHelper: ::windows::core::GUID = ::windows::core::GUID::from pub struct IActiveXUIHandlerSite(::windows::core::IUnknown); impl IActiveXUIHandlerSite { pub unsafe fn CreateScrollableContextMenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateScrollableContextMenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18993,7 +18993,7 @@ impl IActiveXUIHandlerSite { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).PickFileAndGetResult)(::windows::core::Interface::as_raw(self), filepicker.into().abi(), allowmultipleselections.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -19047,7 +19047,7 @@ pub struct IActiveXUIHandlerSite_Vtbl { pub struct IActiveXUIHandlerSite2(::windows::core::IUnknown); impl IActiveXUIHandlerSite2 { pub unsafe fn AddSuspensionExemption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSuspensionExemption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveSuspensionExemption(&self, ullcookie: u64) -> ::windows::core::Result<()> { @@ -19108,7 +19108,7 @@ impl IActiveXUIHandlerSite3 { P1: ::std::convert::Into<::windows::core::PCWSTR>, P2: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MessageBoxW)(::windows::core::Interface::as_raw(self), hwnd.into(), text.into(), caption.into(), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19239,7 +19239,7 @@ pub struct IAnchorClick_Vtbl { pub struct IAudioSessionSite(::windows::core::IUnknown); impl IAudioSessionSite { pub unsafe fn GetAudioSessionGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetAudioSessionGuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn OnAudioStreamCreated<'a, P0>(&self, endpointid: P0) -> ::windows::core::Result<()> @@ -19358,17 +19358,17 @@ pub struct IBlockFormats(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBlockFormats { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19508,7 +19508,7 @@ impl ICSSFilterSite { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FireOnFilterChangeEvent(&self) -> ::windows::core::Result<()> { @@ -19653,17 +19653,17 @@ pub struct ICanvasImageData(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICanvasImageData { pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19820,7 +19820,7 @@ pub struct ICanvasPixelArray(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICanvasPixelArray { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -19950,7 +19950,7 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn canvas(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).canvas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn restore(&self) -> ::windows::core::Result<()> { @@ -19978,7 +19978,7 @@ impl ICanvasRenderingContext2D { (::windows::core::Interface::vtable(self).SetglobalAlpha)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn globalAlpha(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).globalAlpha)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19992,7 +19992,7 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn globalCompositeOperation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).globalCompositeOperation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20006,7 +20006,7 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fillStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fillStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20020,19 +20020,19 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn strokeStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).strokeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createLinearGradient(&self, x0: f32, y0: f32, x1: f32, y1: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createLinearGradient)(::windows::core::Interface::as_raw(self), x0, y0, x1, y1, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createRadialGradient(&self, x0: f32, y0: f32, r0: f32, x1: f32, y1: f32, r1: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createRadialGradient)(::windows::core::Interface::as_raw(self), x0, y0, r0, x1, y1, r1, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20042,7 +20042,7 @@ impl ICanvasRenderingContext2D { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createPattern)(::windows::core::Interface::as_raw(self), image.into().abi(), repetition.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20056,7 +20056,7 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lineCap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineCap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20070,28 +20070,28 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lineJoin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineJoin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetlineWidth(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetlineWidth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn lineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmiterLimit(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmiterLimit)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn miterLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).miterLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetshadowBlur(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetshadowBlur)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn shadowBlur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shadowBlur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20105,21 +20105,21 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn shadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetshadowOffsetX(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetshadowOffsetX)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn shadowOffsetX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shadowOffsetX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetshadowOffsetY(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetshadowOffsetY)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn shadowOffsetY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shadowOffsetY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clearRect(&self, x: f32, y: f32, w: f32, h: f32) -> ::windows::core::Result<()> { @@ -20173,7 +20173,7 @@ impl ICanvasRenderingContext2D { (::windows::core::Interface::vtable(self).stroke)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn isPointInPath(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isPointInPath)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20187,7 +20187,7 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20201,7 +20201,7 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20215,7 +20215,7 @@ impl ICanvasRenderingContext2D { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textBaseline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20233,7 +20233,7 @@ impl ICanvasRenderingContext2D { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).measureText)(::windows::core::Interface::as_raw(self), text.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20268,13 +20268,13 @@ impl ICanvasRenderingContext2D { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createImageData)(::windows::core::Interface::as_raw(self), a1.into().abi(), a2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getImageData(&self, sx: f32, sy: f32, sw: f32, sh: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getImageData)(::windows::core::Interface::as_raw(self), sx, sy, sw, sh, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -20518,7 +20518,7 @@ pub struct ICanvasTextMetrics(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICanvasTextMetrics { pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -20753,73 +20753,73 @@ pub struct IClientCaps(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IClientCaps { pub unsafe fn javaEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).javaEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn cookieEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cookieEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cpuClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cpuClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn systemLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).systemLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn userLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).userLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn platform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).platform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn connectionSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).connectionSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn onLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn colorDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).colorDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn bufferDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bufferDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn availHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).availHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn availWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).availWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn connectionType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).connectionType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20830,7 +20830,7 @@ impl IClientCaps { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isComponentInstalled)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrurl.into().abi(), bstrver.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20840,7 +20840,7 @@ impl IClientCaps { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getComponentVersion)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20850,7 +20850,7 @@ impl IClientCaps { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compareVersions)(::windows::core::Interface::as_raw(self), bstrver1.into().abi(), bstrver2.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20864,7 +20864,7 @@ impl IClientCaps { (::windows::core::Interface::vtable(self).addComponentRequest)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), bstrurl.into().abi(), bstrver.into().abi()).ok() } pub unsafe fn doComponentRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).doComponentRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clearComponentRequest(&self) -> ::windows::core::Result<()> { @@ -22029,7 +22029,7 @@ impl IDOMBeforeUnloadEvent { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn returnValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).returnValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22115,7 +22115,7 @@ pub struct IDOMCloseEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDOMCloseEvent { pub unsafe fn wasClean(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wasClean)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22209,7 +22209,7 @@ impl IDOMCompositionEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -22226,7 +22226,7 @@ impl IDOMCompositionEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn locale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).locale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22318,7 +22318,7 @@ impl IDOMCustomEvent { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn detail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).detail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -22414,37 +22414,37 @@ impl IDOMDocumentType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn entities(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).entities)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn notations(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).notations)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn publicId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).publicId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn systemId(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).systemId)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn internalSubset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).internalSubset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22548,7 +22548,7 @@ impl IDOMDragEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn dataTransfer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dataTransfer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -22645,41 +22645,41 @@ pub struct IDOMEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDOMEvent { pub unsafe fn bubbles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bubbles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn cancelable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cancelable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn defaultPrevented(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultPrevented)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn eventPhase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).eventPhase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn timeStamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).timeStamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22700,20 +22700,20 @@ impl IDOMEvent { (::windows::core::Interface::vtable(self).stopImmediatePropagation)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn isTrusted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isTrusted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcancelBubble(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetcancelBubble)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn cancelBubble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cancelBubble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn srcElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).srcElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22882,13 +22882,13 @@ impl IDOMException { (::windows::core::Interface::vtable(self).Setcode)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -22974,7 +22974,7 @@ impl IDOMFocusEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn relatedTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).relatedTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -23072,31 +23072,31 @@ impl IDOMKeyboardEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn key(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).key)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ctrlKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ctrlKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn shiftKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shiftKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn altKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).altKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn metaKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).metaKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn repeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).repeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23105,7 +23105,7 @@ impl IDOMKeyboardEvent { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getModifierState)(::windows::core::Interface::as_raw(self), keyarg.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -23121,27 +23121,27 @@ impl IDOMKeyboardEvent { (::windows::core::Interface::vtable(self).initKeyboardEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), canbubble, cancelable, viewarg.into().abi(), keyarg.into().abi(), locationarg, modifierslistarg.into().abi(), repeat, locale.into().abi()).ok() } pub unsafe fn keyCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).keyCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn charCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).charCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn which(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).which)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ie9_char(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ie9_char)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn locale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).locale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23250,11 +23250,11 @@ impl IDOMMSAnimationEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn elapsedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).elapsedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23350,11 +23350,11 @@ pub struct IDOMMSManipulationEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDOMMSManipulationEvent { pub unsafe fn lastState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lastState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn currentState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -23449,11 +23449,11 @@ impl IDOMMSTransitionEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn propertyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn elapsedTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).elapsedTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23551,19 +23551,19 @@ impl IDOMMessageEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn origin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).origin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn source(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).source)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -23669,45 +23669,45 @@ pub struct IDOMMouseEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDOMMouseEvent { pub unsafe fn screenX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn screenY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ctrlKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ctrlKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn shiftKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shiftKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn altKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).altKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn metaKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).metaKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn button(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).button)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn relatedTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).relatedTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -23726,59 +23726,59 @@ impl IDOMMouseEvent { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getModifierState)(::windows::core::Interface::as_raw(self), keyarg.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn buttons(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).buttons)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn fromElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fromElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn toElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn offsetX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn offsetY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn layerX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layerX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn layerY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layerY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn which(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).which)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -23895,7 +23895,7 @@ pub struct IDOMMouseWheelEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDOMMouseWheelEvent { pub unsafe fn wheelDelta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wheelDelta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -23991,29 +23991,29 @@ impl IDOMMutationEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn relatedNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).relatedNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn prevValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).prevValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn newValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).newValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn attrName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attrName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn attrChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attrChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -24126,33 +24126,33 @@ impl IDOMNodeIterator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn whatToShow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).whatToShow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn expandEntityReferences(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).expandEntityReferences)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn detach(&self) -> ::windows::core::Result<()> { @@ -24258,7 +24258,7 @@ impl IDOMParser { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parseFromString)(::windows::core::Interface::as_raw(self), xmlsource.into().abi(), mimetype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24342,7 +24342,7 @@ impl IDOMParserFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24426,7 +24426,7 @@ impl IDOMProcessingInstruction { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24440,7 +24440,7 @@ impl IDOMProcessingInstruction { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24530,15 +24530,15 @@ pub struct IDOMProgressEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDOMProgressEvent { pub unsafe fn lengthComputable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lengthComputable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn loaded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).loaded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn total(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).total)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24631,13 +24631,13 @@ pub struct IDOMSiteModeEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDOMSiteModeEvent { pub unsafe fn buttonID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).buttonID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn actionURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).actionURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24722,31 +24722,31 @@ impl IDOMStorageEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn key(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).key)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn oldValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oldValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn newValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).newValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn storageArea(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).storageArea)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -24863,11 +24863,11 @@ impl IDOMTextEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn inputMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).inputMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -24884,7 +24884,7 @@ impl IDOMTextEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn locale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).locale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -24977,21 +24977,21 @@ impl IDOMTreeWalker { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn root(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).root)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn whatToShow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).whatToShow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn expandEntityReferences(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).expandEntityReferences)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25005,49 +25005,49 @@ impl IDOMTreeWalker { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25173,11 +25173,11 @@ impl IDOMUIEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn view(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).view)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn detail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).detail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -25273,19 +25273,19 @@ pub struct IDOMWheelEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDOMWheelEvent { pub unsafe fn deltaX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).deltaX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deltaY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).deltaY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deltaZ(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).deltaZ)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deltaMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).deltaMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -25387,7 +25387,7 @@ impl IDOMXmlSerializer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).serializeToString)(::windows::core::Interface::as_raw(self), pnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25471,7 +25471,7 @@ impl IDOMXmlSerializerFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25551,7 +25551,7 @@ pub struct IDOMXmlSerializerFactory_Vtbl { pub struct IDebugCallbackNotificationHandler(::windows::core::IUnknown); impl IDebugCallbackNotificationHandler { pub unsafe fn RequestedCallbackTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RequestedCallbackTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn BeforeDispatchEvent<'a, P0>(&self, pevent: P0) -> ::windows::core::Result<()> @@ -25879,7 +25879,7 @@ impl IDiagnosticsScriptEngineProvider { P0: ::std::convert::Into<::windows::core::InParam<'a, IDiagnosticsScriptEngineSite>>, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDiagnosticsScriptEngine)(::windows::core::Interface::as_raw(self), pscriptsite.into().abi(), fdebuggingenabled.into(), ulprocessid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -25998,7 +25998,7 @@ impl IDisplayPointer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MoveToPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptpoint), ecoordsystem, pelementcontext.into().abi(), dwhittestoptions, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveUnit(&self, emoveunit: DISPLAY_MOVEUNIT, lxpos: i32) -> ::windows::core::Result<()> { @@ -26020,20 +26020,20 @@ impl IDisplayPointer { (::windows::core::Interface::vtable(self).SetPointerGravity)(::windows::core::Interface::as_raw(self), egravity).ok() } pub unsafe fn GetPointerGravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPointerGravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetDisplayGravity(&self, egravity: DISPLAY_GRAVITY) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetDisplayGravity)(::windows::core::Interface::as_raw(self), egravity).ok() } pub unsafe fn GetDisplayGravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayGravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPositioned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPositioned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unposition(&self) -> ::windows::core::Result<()> { @@ -26045,7 +26045,7 @@ impl IDisplayPointer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqualTo)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26054,7 +26054,7 @@ impl IDisplayPointer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLeftOf)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26063,13 +26063,13 @@ impl IDisplayPointer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRightOf)(::windows::core::Interface::as_raw(self), pdisppointer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsAtBOL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAtBOL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveToMarkupPointer<'a, P0, P1>(&self, ppointer: P0, pdisplinecontext: P1) -> ::windows::core::Result<()> @@ -26083,17 +26083,17 @@ impl IDisplayPointer { (::windows::core::Interface::vtable(self).ScrollIntoView)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetLineInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLineInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFlowElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFlowElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn QueryBreaks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).QueryBreaks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26182,7 +26182,7 @@ pub struct IDisplayPointer_Vtbl { pub struct IDisplayServices(::windows::core::IUnknown); impl IDisplayServices { pub unsafe fn CreateDisplayPointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateDisplayPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -26202,14 +26202,14 @@ impl IDisplayServices { (::windows::core::Interface::vtable(self).TransformPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppoint), esource, edestination, pielement.into().abi()).ok() } pub unsafe fn GetCaret(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaret)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetComputedStyle<'a, P0>(&self, ppointer: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetComputedStyle)(::windows::core::Interface::as_raw(self), ppointer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -26226,7 +26226,7 @@ impl IDisplayServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasFlowLayout)(::windows::core::Interface::as_raw(self), pielement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26363,7 +26363,7 @@ impl IDocHostShowUI { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowMessage)(::windows::core::Interface::as_raw(self), hwnd.into(), lpstrtext.into(), lpstrcaption.into(), dwtype, lpstrhelpfile.into(), dwhelpcontext, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -26505,20 +26505,20 @@ impl IDocHostUIHandler { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IDropTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDropTarget)(::windows::core::Interface::as_raw(self), pdroptarget.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExternal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetExternal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TranslateUrl<'a, P0>(&self, dwtranslate: u32, pchurlin: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TranslateUrl)(::windows::core::Interface::as_raw(self), dwtranslate, pchurlin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26527,7 +26527,7 @@ impl IDocHostUIHandler { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FilterDataObject)(::windows::core::Interface::as_raw(self), pdo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26696,20 +26696,20 @@ impl IDocHostUIHandler2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Ole::IDropTarget>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDropTarget)(::windows::core::Interface::as_raw(self), pdroptarget.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExternal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetExternal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn TranslateUrl<'a, P0>(&self, dwtranslate: u32, pchurlin: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.TranslateUrl)(::windows::core::Interface::as_raw(self), dwtranslate, pchurlin.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26718,7 +26718,7 @@ impl IDocHostUIHandler2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDataObject>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FilterDataObject)(::windows::core::Interface::as_raw(self), pdo.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetOverrideKeyPath(&self, pchkey: *mut ::windows::core::PWSTR, dw: u32) -> ::windows::core::Result<()> { @@ -26795,7 +26795,7 @@ impl IDocObjectService { P3: ::std::convert::Into<::windows::core::PCWSTR>, P4: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FireBeforeNavigate2)(::windows::core::Interface::as_raw(self), pdispatch.into().abi(), lpszurl.into(), dwflags, lpszframename.into(), ::core::mem::transmute(ppostdata), cbpostdata, lpszheaders.into(), fplaynavsound.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26831,7 +26831,7 @@ impl IDocObjectService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPendingUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPendingUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26845,7 +26845,7 @@ impl IDocObjectService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUrlSearchComponent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUrlSearchComponent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26854,7 +26854,7 @@ impl IDocObjectService { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsErrorUrl)(::windows::core::Interface::as_raw(self), lpszurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -26944,7 +26944,7 @@ impl IDocumentEvent { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createEvent)(::windows::core::Interface::as_raw(self), eventtype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27028,7 +27028,7 @@ impl IDocumentRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27115,7 +27115,7 @@ impl IDocumentSelector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).querySelector)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -27124,7 +27124,7 @@ impl IDocumentSelector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).querySelectorAll)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27215,7 +27215,7 @@ impl IDocumentTraversal { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createNodeIterator)(::windows::core::Interface::as_raw(self), prootnode.into().abi(), ulwhattoshow, ::core::mem::transmute(pfilter), fentityreferenceexpansion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -27224,7 +27224,7 @@ impl IDocumentTraversal { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTreeWalker)(::windows::core::Interface::as_raw(self), prootnode.into().abi(), ulwhattoshow, ::core::mem::transmute(pfilter), fentityreferenceexpansion, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27631,7 +27631,7 @@ pub struct IElementBehavior_Vtbl { pub struct IElementBehaviorCategory(::windows::core::IUnknown); impl IElementBehaviorCategory { pub unsafe fn GetCategory(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategory)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -27688,7 +27688,7 @@ impl IElementBehaviorFactory { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IElementBehaviorSite>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindBehavior)(::windows::core::Interface::as_raw(self), bstrbehavior.into().abi(), bstrbehaviorurl.into().abi(), psite.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27800,7 +27800,7 @@ impl IElementBehaviorLayout { (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), dwflags, ::core::mem::transmute(sizecontent), ::core::mem::transmute(ppttranslateby), ::core::mem::transmute(ppttopleft), ::core::mem::transmute(psizeproposed)).ok() } pub unsafe fn GetLayoutInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLayoutInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27811,7 +27811,7 @@ impl IElementBehaviorLayout { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn MapSize(&self, psizein: *const super::super::Foundation::SIZE) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).MapSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psizein), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27873,7 +27873,7 @@ pub struct IElementBehaviorLayout_Vtbl { pub struct IElementBehaviorLayout2(::windows::core::IUnknown); impl IElementBehaviorLayout2 { pub unsafe fn GetTextDescent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextDescent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -27932,7 +27932,7 @@ impl IElementBehaviorRender { (::windows::core::Interface::vtable(self).Draw)(::windows::core::Interface::as_raw(self), hdc.into(), llayer, ::core::mem::transmute(prect), preserved.into().abi()).ok() } pub unsafe fn GetRenderInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRenderInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27941,7 +27941,7 @@ impl IElementBehaviorRender { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HitTestPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppoint), preserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28001,7 +28001,7 @@ impl IElementBehaviorSite { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterNotification(&self, levent: i32) -> ::windows::core::Result<()> { @@ -28063,7 +28063,7 @@ impl IElementBehaviorSiteCategory { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRelatedBehaviors)(::windows::core::Interface::as_raw(self), ldirection, pchcategory.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28124,7 +28124,7 @@ impl IElementBehaviorSiteLayout { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetMediaResolution(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMediaResolution)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28181,7 +28181,7 @@ impl IElementBehaviorSiteLayout2 { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetFontInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFontInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28237,14 +28237,14 @@ impl IElementBehaviorSiteOM { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterEvent)(::windows::core::Interface::as_raw(self), pchevent.into(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventCookie<'a, P0>(&self, pchevent: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventCookie)(::windows::core::Interface::as_raw(self), pchevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -28258,7 +28258,7 @@ impl IElementBehaviorSiteOM { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateEventObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateEventObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterName<'a, P0>(&self, pchname: P0) -> ::windows::core::Result<()> @@ -28334,14 +28334,14 @@ impl IElementBehaviorSiteOM2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.RegisterEvent)(::windows::core::Interface::as_raw(self), pchevent.into(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetEventCookie<'a, P0>(&self, pchevent: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetEventCookie)(::windows::core::Interface::as_raw(self), pchevent.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -28355,7 +28355,7 @@ impl IElementBehaviorSiteOM2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateEventObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateEventObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RegisterName<'a, P0>(&self, pchname: P0) -> ::windows::core::Result<()> @@ -28373,7 +28373,7 @@ impl IElementBehaviorSiteOM2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28879,7 +28879,7 @@ impl IElementSegment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -28893,7 +28893,7 @@ impl IElementSegment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPrimary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPrimary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -28976,7 +28976,7 @@ impl IElementSelector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).querySelector)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -28985,7 +28985,7 @@ impl IElementSelector { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).querySelectorAll)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29073,29 +29073,29 @@ impl IElementTraversal { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstElementChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).firstElementChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastElementChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lastElementChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousElementSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousElementSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextElementSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextElementSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn childElementCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).childElementCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29193,7 +29193,7 @@ impl IEnumManagerFrames { (::windows::core::Interface::vtable(self).Next)(::windows::core::Interface::as_raw(self), ppwindows.len() as _, ::core::mem::transmute(::windows::core::as_mut_ptr_or_null(ppwindows)), ::core::mem::transmute(pceltfetched)).ok() } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Skip(&self, celt: u32) -> ::windows::core::Result<()> { @@ -29203,7 +29203,7 @@ impl IEnumManagerFrames { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29269,7 +29269,7 @@ impl IEnumOpenServiceActivity { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29331,7 +29331,7 @@ impl IEnumOpenServiceActivityCategory { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29387,13 +29387,13 @@ impl IEnumPrivacyRecords { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn GetSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPrivacyImpacted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrivacyImpacted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -29468,7 +29468,7 @@ impl IEnumSTATURL { (::windows::core::Interface::vtable(self).Reset)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Clone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFilter<'a, P0>(&self, poszfilter: P0, dwflags: u32) -> ::windows::core::Result<()> @@ -29536,13 +29536,13 @@ impl IEventException { (::windows::core::Interface::vtable(self).Setcode)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29649,7 +29649,7 @@ impl IEventTarget { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDOMEvent>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dispatchEvent)(::windows::core::Interface::as_raw(self), evt.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29739,7 +29739,7 @@ impl IEventTarget2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRegisteredEventTypes(&self) -> ::windows::core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRegisteredEventTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -29748,7 +29748,7 @@ impl IEventTarget2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut super::super::System::Com::SAFEARRAY>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetListenersForType)(::windows::core::Interface::as_raw(self), pszeventtype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__) } pub unsafe fn RegisterForDOMEventListeners<'a, P0>(&self, pcallback: P0) -> ::windows::core::Result<()> @@ -29827,11 +29827,11 @@ impl IExtensionValidation { P2: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDocument2>>, P3: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Validate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(extensionguid), extensionmodulepath.into(), extensionfileversionms, extensionfileversionls, htmldocumenttop.into().abi(), htmldocumentsubframe.into().abi(), htmlelement.into().abi(), contexts, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DisplayName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -29887,17 +29887,17 @@ pub struct IFontNames(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFontNames { pub unsafe fn _NewEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._NewEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn Count(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Count)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -29983,7 +29983,7 @@ impl IGetSVGDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getSVGDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getSVGDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30243,25 +30243,25 @@ impl IHTCDefaultDispatch { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn element(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).element)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createEventObject(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createEventObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn defaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30357,13 +30357,13 @@ impl IHTCDescBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn urn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).urn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30621,7 +30621,7 @@ impl IHTCPropertyBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -30718,7 +30718,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30732,7 +30732,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30746,7 +30746,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30760,7 +30760,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rev(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rev)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30774,7 +30774,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn urn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).urn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30788,7 +30788,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Methods(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Methods)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30802,7 +30802,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30816,7 +30816,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn host(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).host)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30830,7 +30830,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn hostname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hostname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30844,7 +30844,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pathname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pathname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30858,7 +30858,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn port(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).port)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30872,7 +30872,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30886,7 +30886,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn search(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).search)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30900,7 +30900,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn hash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -30914,7 +30914,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -30928,7 +30928,7 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30942,32 +30942,32 @@ impl IHTMLAnchorElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn accessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn protocolLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).protocolLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn mimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn nameProp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nameProp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettabIndex)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn tabIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tabIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn focus(&self) -> ::windows::core::Result<()> { @@ -31213,7 +31213,7 @@ impl IHTMLAnchorElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31227,7 +31227,7 @@ impl IHTMLAnchorElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31241,7 +31241,7 @@ impl IHTMLAnchorElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn hreflang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hreflang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31255,7 +31255,7 @@ impl IHTMLAnchorElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn shape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31269,7 +31269,7 @@ impl IHTMLAnchorElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31397,7 +31397,7 @@ impl IHTMLAnchorElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn shape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31411,7 +31411,7 @@ impl IHTMLAnchorElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31425,7 +31425,7 @@ impl IHTMLAnchorElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31537,7 +31537,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn applicationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).applicationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31551,7 +31551,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31565,7 +31565,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn icon(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).icon)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31579,7 +31579,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn singleInstance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).singleInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31593,7 +31593,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn minimizeButton(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minimizeButton)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31607,7 +31607,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn maximizeButton(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maximizeButton)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31621,7 +31621,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31635,7 +31635,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31649,7 +31649,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn sysMenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).sysMenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31663,7 +31663,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31677,7 +31677,7 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn windowState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).windowState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31691,13 +31691,13 @@ impl IHTMLAppBehavior { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn showInTaskBar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).showInTaskBar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn commandLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).commandLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -31885,7 +31885,7 @@ impl IHTMLAppBehavior2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn contextMenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contextMenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31899,7 +31899,7 @@ impl IHTMLAppBehavior2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn innerBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).innerBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31913,7 +31913,7 @@ impl IHTMLAppBehavior2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn scroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31927,7 +31927,7 @@ impl IHTMLAppBehavior2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn scrollFlat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollFlat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -31941,7 +31941,7 @@ impl IHTMLAppBehavior2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32069,7 +32069,7 @@ impl IHTMLAppBehavior3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn navigable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).navigable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32155,7 +32155,7 @@ pub struct IHTMLApplicationCache(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLApplicationCache { pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32169,7 +32169,7 @@ impl IHTMLApplicationCache { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchecking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchecking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32183,7 +32183,7 @@ impl IHTMLApplicationCache { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32197,7 +32197,7 @@ impl IHTMLApplicationCache { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onnoupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onnoupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32211,7 +32211,7 @@ impl IHTMLApplicationCache { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondownloading(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondownloading)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32225,7 +32225,7 @@ impl IHTMLApplicationCache { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32239,7 +32239,7 @@ impl IHTMLApplicationCache { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onupdateready(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onupdateready)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32253,7 +32253,7 @@ impl IHTMLApplicationCache { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncached(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncached)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32267,7 +32267,7 @@ impl IHTMLApplicationCache { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onobsolete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onobsolete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn update(&self) -> ::windows::core::Result<()> { @@ -32432,7 +32432,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn shape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32446,7 +32446,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32460,7 +32460,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32474,7 +32474,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32488,14 +32488,14 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetnoHref(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetnoHref)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn noHref(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).noHref)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32509,7 +32509,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn host(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).host)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32523,7 +32523,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn hostname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hostname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32537,7 +32537,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pathname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pathname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32551,7 +32551,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn port(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).port)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32565,7 +32565,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32579,7 +32579,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn search(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).search)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32593,7 +32593,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn hash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32607,7 +32607,7 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32621,14 +32621,14 @@ impl IHTMLAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettabIndex)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn tabIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tabIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn focus(&self) -> ::windows::core::Result<()> { @@ -32840,7 +32840,7 @@ impl IHTMLAreaElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn shape(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shape)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32854,7 +32854,7 @@ impl IHTMLAreaElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -32868,7 +32868,7 @@ impl IHTMLAreaElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -32973,11 +32973,11 @@ impl IHTMLAreasCollection { (::windows::core::Interface::vtable(self).Setlength)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32987,7 +32987,7 @@ impl IHTMLAreasCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), name.into().abi(), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -32996,7 +32996,7 @@ impl IHTMLAreasCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tags)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -33107,7 +33107,7 @@ impl IHTMLAreasCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).urns)(::windows::core::Interface::as_raw(self), urn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33194,7 +33194,7 @@ impl IHTMLAreasCollection3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33276,13 +33276,13 @@ pub struct IHTMLAreasCollection4(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLAreasCollection4 { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -33291,7 +33291,7 @@ impl IHTMLAreasCollection4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33378,17 +33378,17 @@ pub struct IHTMLAttributeCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLAttributeCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn item(&self, name: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(name), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33477,7 +33477,7 @@ impl IHTMLAttributeCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -33486,7 +33486,7 @@ impl IHTMLAttributeCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setNamedItem)(::windows::core::Interface::as_raw(self), ppnode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -33495,7 +33495,7 @@ impl IHTMLAttributeCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33590,7 +33590,7 @@ impl IHTMLAttributeCollection3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -33599,7 +33599,7 @@ impl IHTMLAttributeCollection3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setNamedItem)(::windows::core::Interface::as_raw(self), pnodein.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -33608,17 +33608,17 @@ impl IHTMLAttributeCollection3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33718,7 +33718,7 @@ impl IHTMLAttributeCollection4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getNamedItemNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -33727,7 +33727,7 @@ impl IHTMLAttributeCollection4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setNamedItemNS)(::windows::core::Interface::as_raw(self), pnodein.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -33736,7 +33736,7 @@ impl IHTMLAttributeCollection4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeNamedItemNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -33745,7 +33745,7 @@ impl IHTMLAttributeCollection4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -33754,7 +33754,7 @@ impl IHTMLAttributeCollection4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setNamedItem)(::windows::core::Interface::as_raw(self), pnodein.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -33763,17 +33763,17 @@ impl IHTMLAttributeCollection4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeNamedItem)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -33958,7 +33958,7 @@ impl IHTMLAudioElementFactory { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), src.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34050,7 +34050,7 @@ impl IHTMLBGsound { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -34064,7 +34064,7 @@ impl IHTMLBGsound { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -34078,7 +34078,7 @@ impl IHTMLBGsound { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -34092,7 +34092,7 @@ impl IHTMLBGsound { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn balance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).balance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34212,7 +34212,7 @@ impl IHTMLBRElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34308,7 +34308,7 @@ impl IHTMLBaseElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34322,7 +34322,7 @@ impl IHTMLBaseElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34426,7 +34426,7 @@ impl IHTMLBaseElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34522,7 +34522,7 @@ impl IHTMLBaseFontElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34536,14 +34536,14 @@ impl IHTMLBaseFontElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn face(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).face)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setsize(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34649,7 +34649,7 @@ impl IHTMLBlockElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34745,7 +34745,7 @@ impl IHTMLBlockElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34759,7 +34759,7 @@ impl IHTMLBlockElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34863,7 +34863,7 @@ impl IHTMLBlockElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -34959,7 +34959,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -34973,7 +34973,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn bgProperties(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bgProperties)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -34987,7 +34987,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn leftMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).leftMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35001,7 +35001,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn topMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).topMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35015,7 +35015,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn rightMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rightMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35029,14 +35029,14 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bottomMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bottomMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35050,7 +35050,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35064,7 +35064,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35078,7 +35078,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn link(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).link)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35092,7 +35092,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn vLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35106,7 +35106,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn aLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).aLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35120,7 +35120,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35134,7 +35134,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -35148,7 +35148,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn scroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35162,7 +35162,7 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35176,13 +35176,13 @@ impl IHTMLBodyElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35404,7 +35404,7 @@ impl IHTMLBodyElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35418,7 +35418,7 @@ impl IHTMLBodyElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onafterprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onafterprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35522,7 +35522,7 @@ impl IHTMLBodyElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35536,7 +35536,7 @@ impl IHTMLBodyElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ononline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ononline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35550,7 +35550,7 @@ impl IHTMLBodyElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onoffline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onoffline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35564,7 +35564,7 @@ impl IHTMLBodyElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onhashchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onhashchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35684,7 +35684,7 @@ impl IHTMLBodyElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -35698,7 +35698,7 @@ impl IHTMLBodyElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35802,7 +35802,7 @@ impl IHTMLBodyElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onpopstate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onpopstate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35888,17 +35888,17 @@ pub struct IHTMLBookmarkCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLBookmarkCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -35984,7 +35984,7 @@ impl IHTMLButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -35998,7 +35998,7 @@ impl IHTMLButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36012,7 +36012,7 @@ impl IHTMLButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36026,26 +36026,26 @@ impl IHTMLButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36171,7 +36171,7 @@ impl IHTMLButtonElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36259,7 +36259,7 @@ impl IHTMLCSSImportRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36273,13 +36273,13 @@ impl IHTMLCSSImportRule { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn styleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).styleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36383,17 +36383,17 @@ impl IHTMLCSSMediaList { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn mediaText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mediaText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36518,13 +36518,13 @@ impl IHTMLCSSMediaRule { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cssRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cssRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36533,7 +36533,7 @@ impl IHTMLCSSMediaRule { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertRule)(::windows::core::Interface::as_raw(self), bstrrule.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteRule(&self, lindex: i32) -> ::windows::core::Result<()> { @@ -36633,13 +36633,13 @@ impl IHTMLCSSNamespaceRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn prefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).prefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36725,7 +36725,7 @@ pub struct IHTMLCSSRule(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLCSSRule { pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36739,19 +36739,19 @@ impl IHTMLCSSRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentStyleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentStyleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -36846,13 +36846,13 @@ pub struct IHTMLCSSStyleDeclaration(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLCSSStyleDeclaration { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn parentRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36861,7 +36861,7 @@ impl IHTMLCSSStyleDeclaration { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPropertyValue)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36870,7 +36870,7 @@ impl IHTMLCSSStyleDeclaration { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPropertyPriority)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36879,7 +36879,7 @@ impl IHTMLCSSStyleDeclaration { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeProperty)(::windows::core::Interface::as_raw(self), bstrpropertyname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36893,7 +36893,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36907,7 +36907,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36921,7 +36921,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36935,7 +36935,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontVariant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36949,7 +36949,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36963,7 +36963,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -36977,7 +36977,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36991,7 +36991,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37005,7 +37005,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37019,7 +37019,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37033,7 +37033,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37047,7 +37047,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37061,7 +37061,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37075,7 +37075,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37089,7 +37089,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37103,7 +37103,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37117,7 +37117,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn wordSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37131,7 +37131,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn letterSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).letterSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37145,7 +37145,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37159,7 +37159,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn verticalAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).verticalAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37173,7 +37173,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37187,7 +37187,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37201,7 +37201,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37215,7 +37215,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn lineHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37229,7 +37229,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37243,7 +37243,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37257,7 +37257,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37271,7 +37271,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37285,7 +37285,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn margin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).margin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37299,7 +37299,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37313,7 +37313,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37327,7 +37327,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37341,7 +37341,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37355,7 +37355,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn padding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).padding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37369,7 +37369,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37383,7 +37383,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37397,7 +37397,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37411,7 +37411,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37425,7 +37425,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37439,7 +37439,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37453,7 +37453,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderTopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37467,7 +37467,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderRightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37481,7 +37481,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderBottomColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37495,7 +37495,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderLeftColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37509,7 +37509,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37523,7 +37523,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderTopWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37537,7 +37537,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderRightWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37551,7 +37551,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderBottomWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37565,7 +37565,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderLeftWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37579,7 +37579,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37593,7 +37593,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderTopStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37607,7 +37607,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderRightStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37621,7 +37621,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderBottomStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37635,7 +37635,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderLeftStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37649,7 +37649,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37663,7 +37663,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37677,7 +37677,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn styleFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).styleFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37691,7 +37691,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37705,7 +37705,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37719,7 +37719,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37733,7 +37733,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37747,7 +37747,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStylePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStylePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37761,7 +37761,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyleImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyleImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37775,7 +37775,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37789,7 +37789,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn whiteSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).whiteSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37803,7 +37803,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37817,7 +37817,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -37831,7 +37831,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn zIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37845,7 +37845,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37859,7 +37859,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37873,7 +37873,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37887,7 +37887,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37901,7 +37901,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cursor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cursor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37915,7 +37915,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37929,7 +37929,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37943,7 +37943,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn tableLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tableLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37957,7 +37957,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderCollapse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderCollapse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37971,7 +37971,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37985,7 +37985,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37999,7 +37999,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38013,7 +38013,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn unicodeBidi(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unicodeBidi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38027,7 +38027,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38041,7 +38041,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38055,7 +38055,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn imeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38069,7 +38069,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38083,7 +38083,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38097,7 +38097,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyOverhang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyOverhang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38111,7 +38111,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn layoutGridChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38125,7 +38125,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn layoutGridLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38139,7 +38139,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGridMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38153,7 +38153,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGridType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38167,7 +38167,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38181,7 +38181,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAutospace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAutospace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38195,7 +38195,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38209,7 +38209,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lineBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38223,7 +38223,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textJustify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textJustify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38237,7 +38237,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textJustifyTrim(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textJustifyTrim)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38251,7 +38251,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textKashida(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textKashida)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38265,7 +38265,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflowX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflowX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38279,7 +38279,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflowY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflowY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38293,7 +38293,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn accelerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38307,7 +38307,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38321,7 +38321,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn zoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38335,7 +38335,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wordWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38349,7 +38349,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textUnderlinePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textUnderlinePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38363,7 +38363,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarBaseColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarBaseColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38377,7 +38377,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarFaceColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarFaceColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38391,7 +38391,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbar3dLightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbar3dLightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38405,7 +38405,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38419,7 +38419,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarHighlightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarHighlightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38433,7 +38433,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38447,7 +38447,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarArrowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarArrowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38461,7 +38461,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarTrackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarTrackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38475,7 +38475,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn writingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).writingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38489,7 +38489,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAlignLast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAlignLast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38503,7 +38503,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textKashidaSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textKashidaSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38517,7 +38517,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38531,7 +38531,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38545,7 +38545,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38559,7 +38559,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38573,7 +38573,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38587,7 +38587,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38601,7 +38601,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38615,7 +38615,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn captionSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).captionSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38629,7 +38629,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn counterIncrement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).counterIncrement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38643,7 +38643,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn counterReset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).counterReset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38657,7 +38657,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38671,7 +38671,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn outlineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38685,7 +38685,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38699,7 +38699,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn outlineColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38713,7 +38713,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn boxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38727,7 +38727,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38741,7 +38741,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn orphans(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).orphans)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38755,7 +38755,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn widows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).widows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38769,7 +38769,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38783,7 +38783,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn emptyCells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).emptyCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38797,7 +38797,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msBlockProgression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msBlockProgression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38811,7 +38811,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn quotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).quotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38825,7 +38825,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alignmentBaseline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alignmentBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38839,7 +38839,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn baselineShift(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baselineShift)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38853,7 +38853,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dominantBaseline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dominantBaseline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38867,7 +38867,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fontSizeAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontSizeAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38881,7 +38881,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontStretch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontStretch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38895,7 +38895,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn opacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).opacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38909,7 +38909,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clipPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38923,7 +38923,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clipRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38937,7 +38937,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fill(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fill)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38951,7 +38951,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fillOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fillOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38965,7 +38965,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fillRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fillRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -38979,7 +38979,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn kerning(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).kerning)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38993,7 +38993,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn marker(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39007,7 +39007,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn markerEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).markerEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39021,7 +39021,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn markerMid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).markerMid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39035,7 +39035,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn markerStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).markerStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39049,7 +39049,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn mask(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mask)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39063,7 +39063,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pointerEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pointerEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39077,7 +39077,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn stopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).stopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39091,7 +39091,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn stopOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).stopOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39105,7 +39105,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn stroke(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).stroke)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39119,7 +39119,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn strokeDasharray(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).strokeDasharray)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39133,7 +39133,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn strokeDashoffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).strokeDashoffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39147,7 +39147,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn strokeLinecap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).strokeLinecap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39161,7 +39161,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn strokeLinejoin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).strokeLinejoin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39175,7 +39175,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn strokeMiterlimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).strokeMiterlimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39189,7 +39189,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn strokeOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).strokeOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39203,7 +39203,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn strokeWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).strokeWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39217,7 +39217,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAnchor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAnchor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39231,7 +39231,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn glyphOrientationHorizontal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).glyphOrientationHorizontal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39245,7 +39245,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn glyphOrientationVertical(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).glyphOrientationVertical)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39259,7 +39259,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39273,7 +39273,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderTopLeftRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopLeftRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39287,7 +39287,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderTopRightRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopRightRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39301,7 +39301,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderBottomRightRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomRightRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39315,7 +39315,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderBottomLeftRadius(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomLeftRadius)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39329,7 +39329,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn clipTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39343,13 +39343,13 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn clipRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn clipBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -39363,7 +39363,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn clipLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39377,7 +39377,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cssFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cssFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39391,7 +39391,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundClip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundClip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39405,7 +39405,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39419,7 +39419,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39433,7 +39433,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn boxShadow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boxShadow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39447,7 +39447,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39461,7 +39461,7 @@ impl IHTMLCSSStyleDeclaration { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTransformOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTransformOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -41042,7 +41042,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msScrollChaining(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollChaining)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41056,7 +41056,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msContentZooming(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msContentZooming)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41070,7 +41070,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msContentZoomSnapType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msContentZoomSnapType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41084,7 +41084,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msScrollRails(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollRails)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41098,7 +41098,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msContentZoomChaining(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msContentZoomChaining)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41112,7 +41112,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msScrollSnapType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollSnapType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41126,7 +41126,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msContentZoomLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msContentZoomLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41140,7 +41140,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msContentZoomSnap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msContentZoomSnap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41154,7 +41154,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msContentZoomSnapPoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msContentZoomSnapPoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41168,7 +41168,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msContentZoomLimitMin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msContentZoomLimitMin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41182,7 +41182,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msContentZoomLimitMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msContentZoomLimitMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41196,7 +41196,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msScrollSnapX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollSnapX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41210,7 +41210,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msScrollSnapY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollSnapY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41224,7 +41224,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msScrollSnapPointsX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollSnapPointsX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41238,7 +41238,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msScrollSnapPointsY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollSnapPointsY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41252,7 +41252,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msGridColumn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGridColumn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41266,7 +41266,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msGridColumnAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGridColumnAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41280,7 +41280,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msGridColumns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGridColumns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41294,7 +41294,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msGridColumnSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGridColumnSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41308,7 +41308,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msGridRow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGridRow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41322,7 +41322,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msGridRowAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGridRowAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41336,7 +41336,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msGridRows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGridRows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41350,7 +41350,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msGridRowSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGridRowSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41364,7 +41364,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msWrapThrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msWrapThrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41378,7 +41378,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msWrapMargin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msWrapMargin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41392,7 +41392,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msWrapFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msWrapFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41406,7 +41406,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msAnimationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msAnimationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41420,7 +41420,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msAnimationDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msAnimationDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41434,7 +41434,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msAnimationTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msAnimationTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41448,7 +41448,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msAnimationDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msAnimationDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41462,7 +41462,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msAnimationDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msAnimationDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41476,7 +41476,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msAnimationPlayState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msAnimationPlayState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41490,7 +41490,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msAnimationIterationCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msAnimationIterationCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41504,7 +41504,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41518,7 +41518,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msAnimationFillMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msAnimationFillMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41532,7 +41532,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn colorInterpolationFilters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).colorInterpolationFilters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41546,7 +41546,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn columnCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41560,7 +41560,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn columnWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41574,7 +41574,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn columnGap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnGap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41588,7 +41588,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn columnFill(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnFill)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41602,7 +41602,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn columnSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41616,7 +41616,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn columns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41630,7 +41630,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn columnRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41644,7 +41644,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn columnRuleColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnRuleColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41658,7 +41658,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn columnRuleStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnRuleStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41672,7 +41672,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn columnRuleWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).columnRuleWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41686,7 +41686,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn breakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).breakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41700,7 +41700,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn breakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).breakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41714,7 +41714,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn breakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).breakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41728,7 +41728,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn floodColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).floodColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41742,7 +41742,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn floodOpacity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).floodOpacity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41756,7 +41756,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn lightingColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lightingColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41770,7 +41770,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msScrollLimitXMin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollLimitXMin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41784,7 +41784,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msScrollLimitYMin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollLimitYMin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41798,7 +41798,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msScrollLimitXMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollLimitXMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41812,7 +41812,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msScrollLimitYMax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollLimitYMax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41826,7 +41826,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msScrollLimit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollLimit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41840,7 +41840,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textShadow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textShadow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41854,7 +41854,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlowFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlowFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41868,7 +41868,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlowInto(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlowInto)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41882,7 +41882,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msHyphens(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msHyphens)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41896,7 +41896,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msHyphenateLimitZone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msHyphenateLimitZone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41910,7 +41910,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msHyphenateLimitChars(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msHyphenateLimitChars)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -41924,7 +41924,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msHyphenateLimitLines(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msHyphenateLimitLines)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41938,7 +41938,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msHighContrastAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msHighContrastAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41952,7 +41952,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn enableBackground(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).enableBackground)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41966,7 +41966,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFontFeatureSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFontFeatureSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41980,7 +41980,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msUserSelect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msUserSelect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41994,7 +41994,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msOverflowStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msOverflowStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42008,7 +42008,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTransformStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTransformStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42022,7 +42022,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msBackfaceVisibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msBackfaceVisibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42036,7 +42036,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msPerspective(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msPerspective)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42050,7 +42050,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msPerspectiveOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msPerspectiveOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42064,7 +42064,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTransitionProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTransitionProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42078,7 +42078,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTransitionDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTransitionDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42092,7 +42092,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTransitionTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTransitionTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42106,7 +42106,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTransitionDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTransitionDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42120,7 +42120,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTransition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTransition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42134,7 +42134,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTouchAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTouchAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42148,7 +42148,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msScrollTranslation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msScrollTranslation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42162,7 +42162,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42176,7 +42176,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msFlexPositive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexPositive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42190,7 +42190,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msFlexNegative(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexNegative)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42204,7 +42204,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msFlexPreferredSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexPreferredSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42218,7 +42218,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlexFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42232,7 +42232,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlexDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42246,7 +42246,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlexWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42260,7 +42260,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlexAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42274,7 +42274,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlexItemAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexItemAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42288,7 +42288,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlexPack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexPack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42302,7 +42302,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msFlexLinePack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexLinePack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42316,7 +42316,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msFlexOrder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFlexOrder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42330,7 +42330,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTouchSelect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTouchSelect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42344,7 +42344,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn transform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42358,7 +42358,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn transformOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transformOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42372,7 +42372,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn transformStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transformStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42386,7 +42386,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backfaceVisibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backfaceVisibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -42400,7 +42400,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn perspective(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).perspective)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42414,7 +42414,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn perspectiveOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).perspectiveOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42428,7 +42428,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn transitionProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transitionProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42442,7 +42442,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn transitionDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transitionDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42456,7 +42456,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn transitionTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transitionTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42470,7 +42470,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn transitionDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transitionDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42484,7 +42484,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn transition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42498,7 +42498,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontFeatureSettings(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontFeatureSettings)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42512,7 +42512,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42526,7 +42526,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animationDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42540,7 +42540,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animationTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42554,7 +42554,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animationDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42568,7 +42568,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animationDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42582,7 +42582,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animationPlayState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationPlayState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42596,7 +42596,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animationIterationCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationIterationCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42610,7 +42610,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42624,7 +42624,7 @@ impl IHTMLCSSStyleDeclaration2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animationFillMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationFillMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -43624,7 +43624,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn flex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).flex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43638,7 +43638,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn flexDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).flexDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43652,7 +43652,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn flexWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).flexWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43666,7 +43666,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn flexFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).flexFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43680,7 +43680,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn flexGrow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).flexGrow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43694,7 +43694,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn flexShrink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).flexShrink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -43708,7 +43708,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn flexBasis(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).flexBasis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43722,7 +43722,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn justifyContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).justifyContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43736,7 +43736,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alignItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alignItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43750,7 +43750,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alignSelf(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alignSelf)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43764,7 +43764,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alignContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alignContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43778,7 +43778,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43792,7 +43792,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderImageSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderImageSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43806,7 +43806,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderImageSlice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderImageSlice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43820,7 +43820,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderImageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderImageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43834,7 +43834,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderImageOutset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderImageOutset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43848,7 +43848,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderImageRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderImageRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43862,7 +43862,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msImeAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msImeAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43876,7 +43876,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msTextCombineHorizontal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTextCombineHorizontal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -43890,7 +43890,7 @@ impl IHTMLCSSStyleDeclaration3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn touchAction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).touchAction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -44138,7 +44138,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAppearance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAppearance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44152,7 +44152,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitUserSelect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitUserSelect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44166,7 +44166,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBoxAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBoxAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44180,7 +44180,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn webkitBoxOrdinalGroup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBoxOrdinalGroup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44194,7 +44194,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBoxPack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBoxPack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44208,7 +44208,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn webkitBoxFlex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBoxFlex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44222,7 +44222,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBoxOrient(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBoxOrient)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44236,7 +44236,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBoxDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBoxDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44250,7 +44250,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44264,7 +44264,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBackgroundSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44278,7 +44278,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBackfaceVisibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackfaceVisibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44292,7 +44292,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAnimation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAnimation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44306,7 +44306,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitTransition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitTransition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44320,7 +44320,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAnimationName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAnimationName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44334,7 +44334,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAnimationDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAnimationDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44348,7 +44348,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAnimationTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAnimationTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44362,7 +44362,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAnimationDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAnimationDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44376,7 +44376,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAnimationIterationCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAnimationIterationCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44390,7 +44390,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAnimationDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAnimationDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44404,7 +44404,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAnimationPlayState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAnimationPlayState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44418,7 +44418,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitTransitionProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitTransitionProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44432,7 +44432,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitTransitionDuration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitTransitionDuration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44446,7 +44446,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitTransitionTimingFunction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitTransitionTimingFunction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44460,7 +44460,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitTransitionDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitTransitionDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44474,7 +44474,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBackgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44488,7 +44488,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn webkitBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44502,7 +44502,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBackgroundClip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundClip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44516,7 +44516,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBackgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44530,7 +44530,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBackgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44544,7 +44544,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBackgroundOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44558,7 +44558,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBackgroundPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44572,7 +44572,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn webkitBackgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44586,7 +44586,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn webkitBackgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44600,7 +44600,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBackground(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBackground)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44614,7 +44614,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitTransformOrigin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitTransformOrigin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44628,7 +44628,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn msTextSizeAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msTextSizeAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -44642,7 +44642,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn webkitTextSizeAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitTextSizeAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44656,7 +44656,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBorderImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBorderImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44670,7 +44670,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBorderImageSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBorderImageSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44684,7 +44684,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBorderImageSlice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBorderImageSlice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44698,7 +44698,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBorderImageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBorderImageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44712,7 +44712,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBorderImageOutset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBorderImageOutset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44726,7 +44726,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBorderImageRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBorderImageRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44740,7 +44740,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitBoxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitBoxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -44754,7 +44754,7 @@ impl IHTMLCSSStyleDeclaration4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn webkitAnimationFillMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).webkitAnimationFillMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45195,14 +45195,14 @@ impl IHTMLCanvasElement { (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -45211,7 +45211,7 @@ impl IHTMLCanvasElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getContext)(::windows::core::Interface::as_raw(self), contextid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45221,7 +45221,7 @@ impl IHTMLCanvasElement { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toDataURL)(::windows::core::Interface::as_raw(self), r#type.into().abi(), jpegquality.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45342,7 +45342,7 @@ impl IHTMLCaret { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsVisible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsVisible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45374,7 +45374,7 @@ impl IHTMLCaret { (::windows::core::Interface::vtable(self).GetLocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppoint), ftranslate.into()).ok() } pub unsafe fn GetCaretDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCaretDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCaretDirection(&self, edir: CARET_DIRECTION) -> ::windows::core::Result<()> { @@ -45453,7 +45453,7 @@ pub struct IHTMLCaret_Vtbl { pub struct IHTMLChangeLog(::windows::core::IUnknown); impl IHTMLChangeLog { pub unsafe fn GetNextChange(&self, pbbuffer: *const u8, nbuffersize: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNextChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbbuffer), nbuffersize, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45621,14 +45621,14 @@ impl IHTMLCommentElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setatomic(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setatomic)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn atomic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).atomic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -45726,17 +45726,17 @@ impl IHTMLCommentElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).substringData)(::windows::core::Interface::as_raw(self), offset, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45869,7 +45869,7 @@ impl IHTMLCommentElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).substringData)(::windows::core::Interface::as_raw(self), offset, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -45977,82 +45977,82 @@ pub struct IHTMLCommentElement3_Vtbl { pub struct IHTMLComputedStyle(::windows::core::IUnknown); impl IHTMLComputedStyle { pub unsafe fn bold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn italic(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).italic)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn underline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).underline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn overline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn strikeOut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).strikeOut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn subScript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).subScript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn superScript(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).superScript)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn explicitFace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).explicitFace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn fontName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasBgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasBgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn textColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn preFormatted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).preFormatted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn blockDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).blockDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn OL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn IsEqual<'a, P0>(&self, pcomputedstyle: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLComputedStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), pcomputedstyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46125,7 +46125,7 @@ impl IHTMLControlElement { (::windows::core::Interface::vtable(self).SettabIndex)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn tabIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tabIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn focus(&self) -> ::windows::core::Result<()> { @@ -46142,7 +46142,7 @@ impl IHTMLControlElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn accessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46156,7 +46156,7 @@ impl IHTMLControlElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46170,7 +46170,7 @@ impl IHTMLControlElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46184,7 +46184,7 @@ impl IHTMLControlElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onresize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onresize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn blur(&self) -> ::windows::core::Result<()> { @@ -46203,19 +46203,19 @@ impl IHTMLControlElement { (::windows::core::Interface::vtable(self).removeFilter)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() } pub unsafe fn clientHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46351,7 +46351,7 @@ impl IHTMLControlRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46368,7 +46368,7 @@ impl IHTMLControlRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandSupported)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46377,7 +46377,7 @@ impl IHTMLControlRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandEnabled)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46386,7 +46386,7 @@ impl IHTMLControlRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandState)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46395,7 +46395,7 @@ impl IHTMLControlRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandIndeterm)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46404,7 +46404,7 @@ impl IHTMLControlRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandText)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46413,7 +46413,7 @@ impl IHTMLControlRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandValue)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -46423,7 +46423,7 @@ impl IHTMLControlRange { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).execCommand)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), showui, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -46432,17 +46432,17 @@ impl IHTMLControlRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).execCommandShowHelp)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn commonParentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).commonParentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -46659,379 +46659,379 @@ impl IHTMLCurrentStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn styleFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).styleFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontVariant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderLeftColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderTopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderRightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderBottomColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderTopStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderRightStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderBottomStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderLeftStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderTopWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderRightWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderBottomWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderLeftWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn zIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn letterSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).letterSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn lineHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn verticalAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).verticalAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStylePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStylePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyleImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyleImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn clipTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn clipRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn clipBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn clipLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cursor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cursor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn tableLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tableLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderCollapse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderCollapse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -47040,169 +47040,169 @@ impl IHTMLCurrentStyle { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn unicodeBidi(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unicodeBidi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn imeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyOverhang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyOverhang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAutospace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAutospace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lineBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textJustify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textJustify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textJustifyTrim(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textJustifyTrim)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textKashida(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textKashida)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn blockDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).blockDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn layoutGridChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn layoutGridLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGridMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGridType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn padding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).padding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn margin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).margin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn accelerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflowX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflowX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflowY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflowY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47646,105 +47646,105 @@ impl IHTMLCurrentStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wordWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textUnderlinePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textUnderlinePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarBaseColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarBaseColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarFaceColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarFaceColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbar3dLightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbar3dLightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarHighlightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarHighlightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarArrowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarArrowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarTrackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarTrackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn writingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).writingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn zoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAlignLast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAlignLast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textKashidaSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textKashidaSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -47890,25 +47890,25 @@ impl IHTMLCurrentStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn wordSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn whiteSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).whiteSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48004,25 +48004,25 @@ impl IHTMLCurrentStyle4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48118,79 +48118,79 @@ impl IHTMLCurrentStyle5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn captionSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).captionSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn outlineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn outlineColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn boxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn orphans(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).orphans)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn widows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).widows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn emptyCells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).emptyCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msBlockProgression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msBlockProgression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn quotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).quotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48323,7 +48323,7 @@ impl IHTMLDDElement { (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48406,7 +48406,7 @@ impl IHTMLDListElement { (::windows::core::Interface::vtable(self).Setcompact)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn compact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48488,7 +48488,7 @@ impl IHTMLDOMAttribute { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn nodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -48502,11 +48502,11 @@ impl IHTMLDOMAttribute { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn nodeValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn specified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).specified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48599,7 +48599,7 @@ impl IHTMLDOMAttribute2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -48613,63 +48613,63 @@ impl IHTMLDOMAttribute2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn expando(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).expando)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn nodeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -48679,7 +48679,7 @@ impl IHTMLDOMAttribute2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -48689,7 +48689,7 @@ impl IHTMLDOMAttribute2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -48698,7 +48698,7 @@ impl IHTMLDOMAttribute2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeChild)(::windows::core::Interface::as_raw(self), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -48707,17 +48707,17 @@ impl IHTMLDOMAttribute2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasChildNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, fdeep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cloneNode)(::windows::core::Interface::as_raw(self), fdeep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -48872,7 +48872,7 @@ impl IHTMLDOMAttribute3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn nodeValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -48886,17 +48886,17 @@ impl IHTMLDOMAttribute3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn specified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).specified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ownerElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -49005,19 +49005,19 @@ impl IHTMLDOMAttribute4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn nodeValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn nodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -49031,40 +49031,40 @@ impl IHTMLDOMAttribute4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasChildNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn normalize(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).normalize)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn specified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).specified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -49182,17 +49182,17 @@ pub struct IHTMLDOMChildrenCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLDOMChildrenCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -49278,7 +49278,7 @@ impl IHTMLDOMChildrenCollection2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -49362,7 +49362,7 @@ impl IHTMLDOMConstructor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn constructor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).constructor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -49371,7 +49371,7 @@ impl IHTMLDOMConstructor { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupGetter)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -49380,7 +49380,7 @@ impl IHTMLDOMConstructor { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).LookupSetter)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -49496,637 +49496,637 @@ impl IHTMLDOMConstructorCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Attr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Attr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BehaviorUrnsCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BehaviorUrnsCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BookmarkCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BookmarkCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CompatibleInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompatibleInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CompatibleInfoCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CompatibleInfoCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ControlRangeCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ControlRangeCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CSSCurrentStyleDeclaration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSSCurrentStyleDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CSSRuleList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSSRuleList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CSSRuleStyleDeclaration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSSRuleStyleDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CSSStyleDeclaration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSSStyleDeclaration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CSSStyleRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSSStyleRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CSSStyleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CSSStyleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataTransfer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DataTransfer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn DOMImplementation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DOMImplementation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Element(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Element)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn History(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).History)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTCElementBehaviorDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTCElementBehaviorDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLAnchorElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLAnchorElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLAreaElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLAreaElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLAreasCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLAreasCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLBaseElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLBaseElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLBaseFontElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLBaseFontElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLBGSoundElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLBGSoundElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLBlockElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLBlockElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLBodyElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLBodyElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLBRElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLBRElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLButtonElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLButtonElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLCommentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLCommentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLDDElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLDDElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLDivElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLDivElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLDListElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLDListElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLDTElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLDTElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLEmbedElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLEmbedElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLFieldSetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLFieldSetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLFontElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLFontElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLFormElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLFormElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLFrameElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLFrameElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLFrameSetElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLFrameSetElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLGenericElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLGenericElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLHeadElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLHeadElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLHeadingElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLHeadingElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLHRElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLHRElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLHtmlElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLHtmlElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLIFrameElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLIFrameElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLImageElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLImageElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLInputElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLInputElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLIsIndexElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLIsIndexElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLLabelElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLLabelElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLLegendElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLLegendElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLLIElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLLIElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLLinkElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLLinkElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLMapElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLMapElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLMarqueeElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLMarqueeElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLMetaElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLMetaElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLModelessDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLModelessDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLNamespaceInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLNamespaceInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLNamespaceInfoCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLNamespaceInfoCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLNextIdElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLNextIdElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLNoShowElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLNoShowElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLObjectElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLObjectElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLOListElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLOListElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLOptionElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLOptionElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLParagraphElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLParagraphElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLParamElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLParamElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLPhraseElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLPhraseElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLPluginsCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLPluginsCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLPopup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLPopup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLScriptElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLScriptElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLSelectElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLSelectElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLSpanElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLSpanElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLStyleElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLStyleElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLTableCaptionElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLTableCaptionElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLTableCellElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLTableCellElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLTableColElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLTableColElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLTableElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLTableElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLTableRowElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLTableRowElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLTableSectionElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLTableSectionElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLTextAreaElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLTextAreaElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLTextElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLTextElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLTitleElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLTitleElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLUListElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLUListElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn HTMLUnknownElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HTMLUnknownElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamedNodeMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NamedNodeMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Navigator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Navigator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn NodeList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).NodeList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Option(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Option)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Screen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Screen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn StaticNodeList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StaticNodeList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Storage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Storage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn StyleSheetList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StyleSheetList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn StyleSheetPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StyleSheetPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn StyleSheetPageList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StyleSheetPageList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TextRangeCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TextRangeCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TextRectangle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TextRectangle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn TextRectangleList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TextRectangleList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Window(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Window)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn XDomainRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XDomainRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn XMLHttpRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XMLHttpRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -50634,7 +50634,7 @@ impl IHTMLDOMImplementation { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasFeature)(::windows::core::Interface::as_raw(self), bstrfeature.into().abi(), version.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -50721,7 +50721,7 @@ impl IHTMLDOMImplementation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createDocumentType)(::windows::core::Interface::as_raw(self), bstrqualifiedname.into().abi(), ::core::mem::transmute(pvarpublicid), ::core::mem::transmute(pvarsystemid), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -50730,7 +50730,7 @@ impl IHTMLDOMImplementation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IDOMDocumentType>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), ::core::mem::transmute(pvartagname), pdocumenttype.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -50739,7 +50739,7 @@ impl IHTMLDOMImplementation2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createHTMLDocument)(::windows::core::Interface::as_raw(self), bstrtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -50749,7 +50749,7 @@ impl IHTMLDOMImplementation2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasFeature)(::windows::core::Interface::as_raw(self), bstrfeature.into().abi(), version.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -50843,29 +50843,29 @@ pub struct IHTMLDOMNode(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLDOMNode { pub unsafe fn nodeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasChildNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasChildNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -50875,7 +50875,7 @@ impl IHTMLDOMNode { P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -50884,7 +50884,7 @@ impl IHTMLDOMNode { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeChild)(::windows::core::Interface::as_raw(self), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -50894,19 +50894,19 @@ impl IHTMLDOMNode { P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneNode(&self, fdeep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cloneNode)(::windows::core::Interface::as_raw(self), fdeep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn removeNode(&self, fdeep: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeNode)(::windows::core::Interface::as_raw(self), fdeep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -50915,7 +50915,7 @@ impl IHTMLDOMNode { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).swapNode)(::windows::core::Interface::as_raw(self), othernode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -50924,7 +50924,7 @@ impl IHTMLDOMNode { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceNode)(::windows::core::Interface::as_raw(self), replacement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -50933,13 +50933,13 @@ impl IHTMLDOMNode { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn nodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -50953,31 +50953,31 @@ impl IHTMLDOMNode { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn nodeValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -51131,7 +51131,7 @@ impl IHTMLDOMNode2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ownerDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -51223,19 +51223,19 @@ impl IHTMLDOMNode3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn prefix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).prefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn localName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).localName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn namespaceURI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -51249,7 +51249,7 @@ impl IHTMLDOMNode3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51258,25 +51258,25 @@ impl IHTMLDOMNode3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode3>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isEqualNode)(::windows::core::Interface::as_raw(self), othernode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn lookupNamespaceURI(&self, pvarprefix: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lookupNamespaceURI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarprefix), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn lookupPrefix(&self, pvarnamespaceuri: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lookupPrefix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarnamespaceuri), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn isDefaultNamespace(&self, pvarnamespace: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isDefaultNamespace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarnamespace), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51285,7 +51285,7 @@ impl IHTMLDOMNode3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -51295,7 +51295,7 @@ impl IHTMLDOMNode3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertBefore)(::windows::core::Interface::as_raw(self), newchild.into().abi(), refchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51304,7 +51304,7 @@ impl IHTMLDOMNode3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeChild)(::windows::core::Interface::as_raw(self), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51314,7 +51314,7 @@ impl IHTMLDOMNode3 { P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceChild)(::windows::core::Interface::as_raw(self), newchild.into().abi(), oldchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51323,7 +51323,7 @@ impl IHTMLDOMNode3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode3>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isSameNode)(::windows::core::Interface::as_raw(self), othernode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51332,7 +51332,7 @@ impl IHTMLDOMNode3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compareDocumentPosition)(::windows::core::Interface::as_raw(self), othernode.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -51342,7 +51342,7 @@ impl IHTMLDOMNode3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isSupported)(::windows::core::Interface::as_raw(self), feature.into().abi(), version.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -51490,31 +51490,31 @@ impl IHTMLDOMRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn startContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).startContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn startOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).startOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn endContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).endContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn endOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).endOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn collapsed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).collapsed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn commonAncestorContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).commonAncestorContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51590,7 +51590,7 @@ impl IHTMLDOMRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compareBoundaryPoints)(::windows::core::Interface::as_raw(self), how, sourcerange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteContents(&self) -> ::windows::core::Result<()> { @@ -51599,13 +51599,13 @@ impl IHTMLDOMRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn extractContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).extractContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneContents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cloneContents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51627,13 +51627,13 @@ impl IHTMLDOMRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cloneRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cloneRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn detach(&self) -> ::windows::core::Result<()> { @@ -51642,13 +51642,13 @@ impl IHTMLDOMRange { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getClientRects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getClientRects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getBoundingClientRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getBoundingClientRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -51822,23 +51822,23 @@ impl IHTMLDOMTextNode { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn splitText(&self, offset: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).splitText)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -51935,7 +51935,7 @@ impl IHTMLDOMTextNode2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).substringData)(::windows::core::Interface::as_raw(self), offset, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52059,7 +52059,7 @@ impl IHTMLDOMTextNode3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn substringData(&self, offset: i32, count: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).substringData)(::windows::core::Interface::as_raw(self), offset, count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52084,13 +52084,13 @@ impl IHTMLDOMTextNode3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn splitText(&self, offset: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).splitText)(::windows::core::Interface::as_raw(self), offset, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wholeText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wholeText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -52099,11 +52099,11 @@ impl IHTMLDOMTextNode3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceWholeText)(::windows::core::Interface::as_raw(self), bstrtext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn normalize(&self) -> ::windows::core::Result<()> { @@ -52214,7 +52214,7 @@ impl IHTMLDTElement { (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -52299,7 +52299,7 @@ impl IHTMLDataTransfer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setData)(::windows::core::Interface::as_raw(self), format.into().abi(), ::core::mem::transmute(data), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -52308,7 +52308,7 @@ impl IHTMLDataTransfer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getData)(::windows::core::Interface::as_raw(self), format.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52317,7 +52317,7 @@ impl IHTMLDataTransfer { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clearData)(::windows::core::Interface::as_raw(self), format.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52331,7 +52331,7 @@ impl IHTMLDataTransfer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dropEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dropEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52345,7 +52345,7 @@ impl IHTMLDataTransfer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn effectAllowed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).effectAllowed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -52461,7 +52461,7 @@ impl IHTMLDatabinding { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dataFld(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dataFld)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52475,7 +52475,7 @@ impl IHTMLDatabinding { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dataSrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dataSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52489,7 +52489,7 @@ impl IHTMLDatabinding { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dataFormatAs(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dataFormatAs)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -52601,7 +52601,7 @@ impl IHTMLDialog { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn dialogTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dialogTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -52615,7 +52615,7 @@ impl IHTMLDialog { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn dialogLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dialogLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -52629,7 +52629,7 @@ impl IHTMLDialog { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn dialogWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dialogWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -52643,19 +52643,19 @@ impl IHTMLDialog { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn dialogHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dialogHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn dialogArguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dialogArguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn menuArguments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).menuArguments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -52669,7 +52669,7 @@ impl IHTMLDialog { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn returnValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).returnValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn close(&self) -> ::windows::core::Result<()> { @@ -52678,7 +52678,7 @@ impl IHTMLDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -52819,7 +52819,7 @@ impl IHTMLDialog2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52833,7 +52833,7 @@ impl IHTMLDialog2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn resizable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).resizable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -52937,7 +52937,7 @@ impl IHTMLDialog3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn unadorned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unadorned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -52951,7 +52951,7 @@ impl IHTMLDialog3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dialogHide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dialogHide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -53055,14 +53055,14 @@ impl IHTMLDivElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -53160,7 +53160,7 @@ impl IHTMLDivPosition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -53248,7 +53248,7 @@ impl IHTMLDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Script(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Script)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -53332,55 +53332,55 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Script(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Script)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn all(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).all)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn activeElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).activeElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn images(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).images)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn applets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).applets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn links(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).links)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn forms(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).forms)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn anchors(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).anchors)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53394,13 +53394,13 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn scripts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scripts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53414,37 +53414,37 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn designMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).designMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn frames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn embeds(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).embeds)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn plugins(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).plugins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53458,7 +53458,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn alinkColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alinkColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53472,7 +53472,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53486,7 +53486,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53500,7 +53500,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn linkColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).linkColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53514,25 +53514,25 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn vlinkColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vlinkColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn referrer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).referrer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lastModified(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lastModified)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53546,7 +53546,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53560,7 +53560,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn domain(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).domain)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53574,14 +53574,14 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setexpando(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setexpando)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn expando(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).expando)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53595,7 +53595,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53609,55 +53609,55 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn defaultCharset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultCharset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn mimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileCreatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileCreatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileModifiedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileModifiedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileUpdatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileUpdatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn security(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).security)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn nameProp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nameProp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -53679,7 +53679,7 @@ impl IHTMLDocument2 { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).open)(::windows::core::Interface::as_raw(self), url.into().abi(), name.into().abi(), features.into().abi(), replace.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn close(&self) -> ::windows::core::Result<()> { @@ -53694,7 +53694,7 @@ impl IHTMLDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandSupported)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53703,7 +53703,7 @@ impl IHTMLDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandEnabled)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53712,7 +53712,7 @@ impl IHTMLDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandState)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53721,7 +53721,7 @@ impl IHTMLDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandIndeterm)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53730,7 +53730,7 @@ impl IHTMLDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandText)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53739,7 +53739,7 @@ impl IHTMLDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandValue)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53749,7 +53749,7 @@ impl IHTMLDocument2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).execCommand)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), showui, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -53758,7 +53758,7 @@ impl IHTMLDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).execCommandShowHelp)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -53767,7 +53767,7 @@ impl IHTMLDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createElement)(::windows::core::Interface::as_raw(self), etag.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53781,7 +53781,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onhelp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onhelp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53795,7 +53795,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53809,7 +53809,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondblclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondblclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53823,7 +53823,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onkeyup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onkeyup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53837,7 +53837,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onkeydown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onkeydown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53851,7 +53851,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onkeypress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onkeypress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53865,7 +53865,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53879,7 +53879,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmousedown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmousedown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53893,7 +53893,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmousemove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmousemove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53907,7 +53907,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53921,7 +53921,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53935,7 +53935,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53949,7 +53949,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onafterupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onafterupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53963,7 +53963,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onrowexit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onrowexit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53977,7 +53977,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onrowenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onrowenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -53991,7 +53991,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54005,25 +54005,25 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselectstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselectstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn elementFromPoint(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).elementFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn styleSheets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).styleSheets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54037,7 +54037,7 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54051,13 +54051,13 @@ impl IHTMLDocument2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerrorupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerrorupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -54066,7 +54066,7 @@ impl IHTMLDocument2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createStyleSheet)(::windows::core::Interface::as_raw(self), bstrhref.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -54593,19 +54593,19 @@ impl IHTMLDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTextNode)(::windows::core::Interface::as_raw(self), text.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn documentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).documentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn uniqueID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).uniqueID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -54615,7 +54615,7 @@ impl IHTMLDocument3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -54638,7 +54638,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onrowsdelete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onrowsdelete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54652,7 +54652,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onrowsinserted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onrowsinserted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54666,7 +54666,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncellchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncellchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54680,7 +54680,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondatasetchanged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondatasetchanged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54694,7 +54694,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondataavailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondataavailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54708,7 +54708,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondatasetcomplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondatasetcomplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54722,7 +54722,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onpropertychange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onpropertychange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -54736,7 +54736,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54750,7 +54750,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncontextmenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncontextmenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54764,26 +54764,26 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createDocumentFragment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createDocumentFragment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetenableDownload(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetenableDownload)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn enableDownload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).enableDownload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -54797,20 +54797,20 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn baseUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetinheritStyleSheets(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetinheritStyleSheets)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn inheritStyleSheets(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).inheritStyleSheets)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -54824,7 +54824,7 @@ impl IHTMLDocument3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeeditfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeeditfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -54833,7 +54833,7 @@ impl IHTMLDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementsByName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -54842,7 +54842,7 @@ impl IHTMLDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementById)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -54851,7 +54851,7 @@ impl IHTMLDocument3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementsByTagName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -55078,7 +55078,7 @@ impl IHTMLDocument4 { (::windows::core::Interface::vtable(self).focus)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn hasFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55092,13 +55092,13 @@ impl IHTMLDocument4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselectionchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselectionchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn namespaces(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namespaces)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55108,7 +55108,7 @@ impl IHTMLDocument4 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createDocumentFromUrl)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), bstroptions.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -55122,13 +55122,13 @@ impl IHTMLDocument4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn createEventObject(&self, pvareventobject: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createEventObject)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvareventobject), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55137,7 +55137,7 @@ impl IHTMLDocument4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fireEvent)(::windows::core::Interface::as_raw(self), bstreventname.into().abi(), ::core::mem::transmute(pvareventobject), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55146,7 +55146,7 @@ impl IHTMLDocument4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createRenderStyle)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55160,13 +55160,13 @@ impl IHTMLDocument4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncontrolselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncontrolselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn URLUnencoded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).URLUnencoded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -55304,19 +55304,19 @@ impl IHTMLDocument5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmousewheel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmousewheel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn doctype(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).doctype)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn implementation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).implementation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55325,7 +55325,7 @@ impl IHTMLDocument5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createAttribute)(::windows::core::Interface::as_raw(self), bstrattrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55334,7 +55334,7 @@ impl IHTMLDocument5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createComment)(::windows::core::Interface::as_raw(self), bstrdata.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55348,7 +55348,7 @@ impl IHTMLDocument5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocusin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocusin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55362,7 +55362,7 @@ impl IHTMLDocument5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocusout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocusout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55376,7 +55376,7 @@ impl IHTMLDocument5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55390,7 +55390,7 @@ impl IHTMLDocument5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55404,7 +55404,7 @@ impl IHTMLDocument5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55418,13 +55418,13 @@ impl IHTMLDocument5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforedeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforedeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn compatMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compatMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -55580,13 +55580,13 @@ impl IHTMLDocument6 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn compatible(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compatible)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn documentMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).documentMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55600,7 +55600,7 @@ impl IHTMLDocument6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55614,7 +55614,7 @@ impl IHTMLDocument6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstoragecommit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstoragecommit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55623,7 +55623,7 @@ impl IHTMLDocument6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementById)(::windows::core::Interface::as_raw(self), bstrid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn updateSettings(&self) -> ::windows::core::Result<()> { @@ -55735,7 +55735,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn defaultView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55744,13 +55744,13 @@ impl IHTMLDocument7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createCDATASection)(::windows::core::Interface::as_raw(self), text.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55759,7 +55759,7 @@ impl IHTMLDocument7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementsByTagNameNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrlocalname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55768,7 +55768,7 @@ impl IHTMLDocument7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createElementNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrtag.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55777,7 +55777,7 @@ impl IHTMLDocument7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createAttributeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrattrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55791,13 +55791,13 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsthumbnailclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsthumbnailclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn characterSet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).characterSet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55806,7 +55806,7 @@ impl IHTMLDocument7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createElement)(::windows::core::Interface::as_raw(self), bstrtag.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55815,7 +55815,7 @@ impl IHTMLDocument7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createAttribute)(::windows::core::Interface::as_raw(self), bstrattrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55824,7 +55824,7 @@ impl IHTMLDocument7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementsByClassName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -55834,7 +55834,7 @@ impl IHTMLDocument7 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createProcessingInstruction)(::windows::core::Interface::as_raw(self), bstrtarget.into().abi(), bstrdata.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -55843,7 +55843,7 @@ impl IHTMLDocument7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).adoptNode)(::windows::core::Interface::as_raw(self), pnodesource.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55857,32 +55857,32 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmssitemodejumplistitemremoved(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmssitemodejumplistitemremoved)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn all(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).all)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn inputEncoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).inputEncoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn xmlEncoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).xmlEncoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetxmlStandalone(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetxmlStandalone)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn xmlStandalone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).xmlStandalone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -55896,11 +55896,11 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn xmlVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).xmlVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55914,7 +55914,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55928,7 +55928,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55942,7 +55942,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncanplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncanplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55956,7 +55956,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncanplaythrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncanplaythrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55970,7 +55970,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55984,7 +55984,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondrag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondrag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -55998,7 +55998,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56012,7 +56012,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56026,7 +56026,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56040,7 +56040,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56054,7 +56054,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondrop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondrop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56068,7 +56068,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondurationchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondurationchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56082,7 +56082,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onemptied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onemptied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56096,7 +56096,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onended(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onended)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56110,7 +56110,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56124,7 +56124,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56138,7 +56138,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oninput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oninput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56152,7 +56152,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56166,7 +56166,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onloadeddata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onloadeddata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56180,7 +56180,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onloadedmetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onloadedmetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56194,7 +56194,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onloadstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onloadstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56208,7 +56208,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onpause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onpause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56222,7 +56222,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56236,7 +56236,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onplaying(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onplaying)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56250,7 +56250,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56264,7 +56264,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onratechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onratechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56278,7 +56278,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56292,7 +56292,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onscroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onscroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56306,7 +56306,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onseeked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onseeked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56320,7 +56320,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onseeking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onseeking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56334,7 +56334,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56348,7 +56348,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56362,7 +56362,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onsubmit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onsubmit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56376,7 +56376,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onsuspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onsuspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56390,7 +56390,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ontimeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ontimeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56404,7 +56404,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onvolumechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onvolumechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56418,7 +56418,7 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onwaiting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onwaiting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn normalize(&self) -> ::windows::core::Result<()> { @@ -56430,13 +56430,13 @@ impl IHTMLDocument7 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).importNode)(::windows::core::Interface::as_raw(self), pnodesource.into().abi(), fdeep, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -56450,13 +56450,13 @@ impl IHTMLDocument7 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn body(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).body)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn head(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).head)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -56948,7 +56948,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmscontentzoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmscontentzoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56962,7 +56962,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerdown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerdown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56976,7 +56976,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointermove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointermove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -56990,7 +56990,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57004,7 +57004,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57018,7 +57018,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57032,7 +57032,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointercancel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointercancel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57046,7 +57046,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerhover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerhover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57060,7 +57060,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57074,7 +57074,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57088,7 +57088,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgestureend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgestureend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57102,7 +57102,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturehold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturehold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57116,7 +57116,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturetap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturetap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57130,7 +57130,7 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturedoubletap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturedoubletap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57144,19 +57144,19 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsinertiastart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsinertiastart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn elementsFromPoint(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).elementsFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn elementsFromRect(&self, left: f32, top: f32, width: f32, height: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).elementsFromRect)(::windows::core::Interface::as_raw(self), left, top, width, height, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -57170,14 +57170,14 @@ impl IHTMLDocument8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsmanipulationstatechanged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsmanipulationstatechanged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmsCapsLockWarningOff(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmsCapsLockWarningOff)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn msCapsLockWarningOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msCapsLockWarningOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -57395,13 +57395,13 @@ impl IHTMLDocumentCompatibleInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn userAgent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).userAgent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -57487,13 +57487,13 @@ pub struct IHTMLDocumentCompatibleInfoCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLDocumentCompatibleInfoCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -57811,7 +57811,7 @@ impl IHTMLEditServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupContainer>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectionServices)(::windows::core::Interface::as_raw(self), picontainer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveToSelectionAnchor<'a, P0>(&self, pistartanchor: P0) -> ::windows::core::Result<()> @@ -57900,7 +57900,7 @@ impl IHTMLEditServices2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupContainer>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSelectionServices)(::windows::core::Interface::as_raw(self), picontainer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveToSelectionAnchor<'a, P0>(&self, pistartanchor: P0) -> ::windows::core::Result<()> @@ -58037,7 +58037,7 @@ impl IHTMLElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58046,7 +58046,7 @@ impl IHTMLElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58060,7 +58060,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn className(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).className)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58074,25 +58074,25 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn tagName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tagName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58106,7 +58106,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onhelp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onhelp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58120,7 +58120,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58134,7 +58134,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondblclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondblclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58148,7 +58148,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onkeydown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onkeydown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58162,7 +58162,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onkeyup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onkeyup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58176,7 +58176,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onkeypress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onkeypress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58190,7 +58190,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58204,7 +58204,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58218,7 +58218,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmousemove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmousemove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58232,7 +58232,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmousedown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmousedown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58246,13 +58246,13 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58266,7 +58266,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58280,7 +58280,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn language(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).language)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58294,7 +58294,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselectstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselectstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58311,17 +58311,17 @@ impl IHTMLElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contains)(::windows::core::Interface::as_raw(self), pchild.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn sourceIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).sourceIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn recordNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).recordNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58335,29 +58335,29 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn offsetLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn offsetTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn offsetWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn offsetHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn offsetParent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58371,7 +58371,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn innerHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).innerHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58385,7 +58385,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn innerText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).innerText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58399,7 +58399,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outerHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outerHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58413,7 +58413,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outerText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outerText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -58437,11 +58437,11 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentTextEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentTextEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isTextEdit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isTextEdit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn click(&self) -> ::windows::core::Result<()> { @@ -58450,7 +58450,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn filters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).filters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58464,13 +58464,13 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58484,7 +58484,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58498,7 +58498,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onafterupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onafterupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58512,7 +58512,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerrorupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerrorupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58526,7 +58526,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onrowexit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onrowexit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58540,7 +58540,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onrowenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onrowenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58554,7 +58554,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondatasetchanged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondatasetchanged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58568,7 +58568,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondataavailable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondataavailable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58582,7 +58582,7 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondatasetcomplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondatasetcomplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -58596,19 +58596,19 @@ impl IHTMLElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfilterchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfilterchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn children(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).children)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn all(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).all)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -59015,7 +59015,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn scopeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scopeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn setCapture(&self, containercapture: i16) -> ::windows::core::Result<()> { @@ -59035,13 +59035,13 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onlosecapture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onlosecapture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn componentFromPoint(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).componentFromPoint)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59063,7 +59063,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onscroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onscroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59077,7 +59077,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondrag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondrag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59091,7 +59091,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59105,7 +59105,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59119,7 +59119,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59133,7 +59133,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59147,7 +59147,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondrop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondrop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59161,7 +59161,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforecut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforecut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59175,7 +59175,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncut(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncut)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59189,7 +59189,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforecopy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforecopy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59203,7 +59203,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncopy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncopy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59217,7 +59217,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforepaste(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforepaste)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59231,13 +59231,13 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onpaste(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onpaste)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59251,19 +59251,19 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onpropertychange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onpropertychange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getClientRects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getClientRects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getBoundingClientRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getBoundingClientRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59282,7 +59282,7 @@ impl IHTMLElement2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59291,14 +59291,14 @@ impl IHTMLElement2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettabIndex(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettabIndex)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn tabIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tabIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn focus(&self) -> ::windows::core::Result<()> { @@ -59315,7 +59315,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn accessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59329,7 +59329,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59343,7 +59343,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59357,7 +59357,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onresize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onresize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn blur(&self) -> ::windows::core::Result<()> { @@ -59376,19 +59376,19 @@ impl IHTMLElement2 { (::windows::core::Interface::vtable(self).removeFilter)(::windows::core::Interface::as_raw(self), punk.into().abi()).ok() } pub unsafe fn clientHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -59398,7 +59398,7 @@ impl IHTMLElement2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -59413,7 +59413,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59427,7 +59427,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59441,7 +59441,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onrowsdelete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onrowsdelete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59455,7 +59455,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onrowsinserted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onrowsinserted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59469,7 +59469,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncellchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncellchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59483,35 +59483,35 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createControlRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createControlRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn scrollHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn scrollWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscrollTop(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscrollTop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn scrollTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscrollLeft(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscrollLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn scrollLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clearAttributes(&self) -> ::windows::core::Result<()> { @@ -59536,7 +59536,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncontextmenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncontextmenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -59546,7 +59546,7 @@ impl IHTMLElement2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertAdjacentElement)(::windows::core::Interface::as_raw(self), r#where.into().abi(), insertedelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -59556,7 +59556,7 @@ impl IHTMLElement2 { P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).applyElement)(::windows::core::Interface::as_raw(self), apply.into().abi(), r#where.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59565,7 +59565,7 @@ impl IHTMLElement2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAdjacentText)(::windows::core::Interface::as_raw(self), r#where.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59575,11 +59575,11 @@ impl IHTMLElement2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceAdjacentText)(::windows::core::Interface::as_raw(self), r#where.into().abi(), newtext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn canHaveChildren(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).canHaveChildren)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59588,23 +59588,23 @@ impl IHTMLElement2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).addBehavior)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(pvarfactory), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn removeBehavior(&self, cookie: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeBehavior)(::windows::core::Interface::as_raw(self), cookie, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn runtimeStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).runtimeStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn behaviorUrns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).behaviorUrns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59618,7 +59618,7 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn tagUrn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tagUrn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -59632,11 +59632,11 @@ impl IHTMLElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeeditfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeeditfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readyStateValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyStateValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -59645,7 +59645,7 @@ impl IHTMLElement2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementsByTagName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -60057,11 +60057,11 @@ impl IHTMLElement3 { (::windows::core::Interface::vtable(self).mergeAttributes)(::windows::core::Interface::as_raw(self), mergethis.into().abi(), ::core::mem::transmute(pvarflags)).ok() } pub unsafe fn isMultiLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isMultiLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn canHaveHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).canHaveHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60075,7 +60075,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onlayoutcomplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onlayoutcomplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60089,14 +60089,14 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onpage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onpage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetinflateBlock(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetinflateBlock)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn inflateBlock(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).inflateBlock)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60110,7 +60110,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforedeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforedeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn setActive(&self) -> ::windows::core::Result<()> { @@ -60127,29 +60127,29 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn contentEditable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentEditable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isContentEditable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isContentEditable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SethideFocus(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SethideFocus)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn hideFocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hideFocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60163,7 +60163,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60177,7 +60177,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncontrolselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncontrolselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60186,7 +60186,7 @@ impl IHTMLElement3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fireEvent)(::windows::core::Interface::as_raw(self), bstreventname.into().abi(), ::core::mem::transmute(pvareventobject), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60200,7 +60200,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onresizestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onresizestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60214,7 +60214,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onresizeend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onresizeend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60228,7 +60228,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmovestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmovestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60242,7 +60242,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmoveend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmoveend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60256,7 +60256,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60270,7 +60270,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60284,7 +60284,7 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60298,15 +60298,15 @@ impl IHTMLElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn dragDrop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dragDrop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn glyphMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).glyphMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -60527,7 +60527,7 @@ impl IHTMLElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmousewheel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmousewheel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn normalize(&self) -> ::windows::core::Result<()> { @@ -60539,7 +60539,7 @@ impl IHTMLElement4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttributeNode)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -60548,7 +60548,7 @@ impl IHTMLElement4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -60557,7 +60557,7 @@ impl IHTMLElement4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60571,7 +60571,7 @@ impl IHTMLElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeactivate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeactivate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60585,7 +60585,7 @@ impl IHTMLElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocusin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocusin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60599,7 +60599,7 @@ impl IHTMLElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocusout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocusout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -60727,7 +60727,7 @@ impl IHTMLElement5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttributeNode)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -60736,7 +60736,7 @@ impl IHTMLElement5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -60745,7 +60745,7 @@ impl IHTMLElement5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60754,7 +60754,7 @@ impl IHTMLElement5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60768,7 +60768,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn role(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).role)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60782,7 +60782,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaBusy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaBusy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60796,7 +60796,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaChecked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaChecked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60810,7 +60810,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60824,7 +60824,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaExpanded(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaExpanded)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60838,7 +60838,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaHaspopup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaHaspopup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60852,7 +60852,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaHidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaHidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60866,7 +60866,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaInvalid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaInvalid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60880,7 +60880,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaMultiselectable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaMultiselectable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60894,7 +60894,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaPressed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaPressed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60908,7 +60908,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaReadonly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaReadonly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60922,7 +60922,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60936,7 +60936,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaSecret(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaSecret)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60950,7 +60950,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60959,7 +60959,7 @@ impl IHTMLElement5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -60977,13 +60977,13 @@ impl IHTMLElement5 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -60997,28 +60997,28 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaValuenow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaValuenow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetariaPosinset(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetariaPosinset)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn ariaPosinset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaPosinset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetariaSetsize(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetariaSetsize)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn ariaSetsize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaSetsize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetariaLevel(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetariaLevel)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn ariaLevel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaLevel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61032,7 +61032,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaValuemin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaValuemin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61046,7 +61046,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaValuemax(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaValuemax)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61060,7 +61060,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaControls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaControls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61074,7 +61074,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaDescribedby(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaDescribedby)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61088,7 +61088,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaFlowto(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaFlowto)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61102,7 +61102,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaLabelledby(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaLabelledby)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61116,7 +61116,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaActivedescendant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaActivedescendant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61130,11 +61130,11 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaOwns(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaOwns)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61148,7 +61148,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaLive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaLive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61162,7 +61162,7 @@ impl IHTMLElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ariaRelevant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ariaRelevant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -61484,7 +61484,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttributeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61509,7 +61509,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttributeNodeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -61518,7 +61518,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setAttributeNodeNS)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61527,7 +61527,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasAttributeNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarns), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61536,7 +61536,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61561,7 +61561,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttributeNode)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -61570,7 +61570,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -61579,7 +61579,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMAttribute2>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeAttributeNode)(::windows::core::Interface::as_raw(self), pattr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61588,7 +61588,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61597,19 +61597,19 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementsByTagNameNS)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(varns), bstrlocalname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn tagName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tagName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn nodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -61618,7 +61618,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementsByClassName)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61627,7 +61627,7 @@ impl IHTMLElement6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msMatchesSelector)(::windows::core::Interface::as_raw(self), v.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61641,7 +61641,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61655,7 +61655,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncanplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncanplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61669,7 +61669,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncanplaythrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncanplaythrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61683,7 +61683,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61697,7 +61697,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondurationchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondurationchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61711,7 +61711,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onemptied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onemptied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61725,7 +61725,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onended(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onended)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61739,7 +61739,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61753,7 +61753,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oninput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oninput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61767,7 +61767,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61781,7 +61781,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onloadeddata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onloadeddata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61795,7 +61795,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onloadedmetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onloadedmetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61809,7 +61809,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onloadstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onloadstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61823,7 +61823,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onpause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onpause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61837,7 +61837,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61851,7 +61851,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onplaying(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onplaying)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61865,7 +61865,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61879,7 +61879,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onratechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onratechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61893,7 +61893,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61907,7 +61907,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onseeked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onseeked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61921,7 +61921,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onseeking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onseeking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61935,7 +61935,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61949,7 +61949,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61963,7 +61963,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onsubmit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onsubmit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61977,7 +61977,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onsuspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onsuspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -61991,7 +61991,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ontimeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ontimeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62005,7 +62005,7 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onvolumechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onvolumechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62019,11 +62019,11 @@ impl IHTMLElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onwaiting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onwaiting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasAttributes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasAttributes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -62408,7 +62408,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerdown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerdown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62422,7 +62422,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointermove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointermove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62436,7 +62436,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62450,7 +62450,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62464,7 +62464,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62478,7 +62478,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointercancel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointercancel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62492,7 +62492,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerhover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerhover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62506,7 +62506,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmslostpointercapture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmslostpointercapture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62520,7 +62520,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgotpointercapture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgotpointercapture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62534,7 +62534,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62548,7 +62548,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62562,7 +62562,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgestureend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgestureend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62576,7 +62576,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturehold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturehold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62590,7 +62590,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturetap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturetap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62604,7 +62604,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturedoubletap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturedoubletap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62618,7 +62618,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsinertiastart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsinertiastart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msSetPointerCapture(&self, pointerid: i32) -> ::windows::core::Result<()> { @@ -62638,7 +62638,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmstransitionstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmstransitionstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62652,7 +62652,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmstransitionend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmstransitionend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62666,7 +62666,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsanimationstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsanimationstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62680,7 +62680,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsanimationend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsanimationend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62694,7 +62694,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsanimationiteration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsanimationiteration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62708,7 +62708,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oninvalid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oninvalid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -62722,7 +62722,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn xmsAcceleratorKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).xmsAcceleratorKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62736,7 +62736,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn spellcheck(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).spellcheck)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62750,7 +62750,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsmanipulationstatechanged(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsmanipulationstatechanged)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -62764,7 +62764,7 @@ impl IHTMLElement7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncuechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncuechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63054,7 +63054,7 @@ impl IHTMLElementAppliedStyles { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn msGetRulesApplied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGetRulesApplied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -63063,7 +63063,7 @@ impl IHTMLElementAppliedStyles { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGetRulesAppliedWithAncestor)(::windows::core::Interface::as_raw(self), varcontext.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63151,18 +63151,18 @@ impl IHTMLElementCollection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setlength(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setlength)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -63172,7 +63172,7 @@ impl IHTMLElementCollection { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), name.into().abi(), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -63181,7 +63181,7 @@ impl IHTMLElementCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tags)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63279,7 +63279,7 @@ impl IHTMLElementCollection2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).urns)(::windows::core::Interface::as_raw(self), urn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63366,7 +63366,7 @@ impl IHTMLElementCollection3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63448,13 +63448,13 @@ pub struct IHTMLElementCollection4(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLElementCollection4 { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -63463,7 +63463,7 @@ impl IHTMLElementCollection4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63552,49 +63552,49 @@ impl IHTMLElementDefaults { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettabStop(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettabStop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn tabStop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tabStop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetviewInheritStyle(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetviewInheritStyle)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn viewInheritStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).viewInheritStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetviewMasterTab(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetviewMasterTab)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn viewMasterTab(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).viewMasterTab)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscrollSegmentX(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscrollSegmentX)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn scrollSegmentX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollSegmentX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscrollSegmentY(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscrollSegmentY)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn scrollSegmentY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollSegmentY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetisMultiLine(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetisMultiLine)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn isMultiLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isMultiLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -63608,14 +63608,14 @@ impl IHTMLElementDefaults { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn contentEditable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentEditable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcanHaveHTML(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetcanHaveHTML)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn canHaveHTML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).canHaveHTML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -63629,14 +63629,14 @@ impl IHTMLElementDefaults { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn viewLink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).viewLink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setfrozen(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setfrozen)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn frozen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frozen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -63830,19 +63830,19 @@ impl IHTMLEmbedElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn hidden(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hidden)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn palette(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).palette)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pluginspage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pluginspage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -63856,7 +63856,7 @@ impl IHTMLEmbedElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -63870,7 +63870,7 @@ impl IHTMLEmbedElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn units(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).units)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -63884,7 +63884,7 @@ impl IHTMLEmbedElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -63898,7 +63898,7 @@ impl IHTMLEmbedElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -63912,7 +63912,7 @@ impl IHTMLEmbedElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -64056,13 +64056,13 @@ impl IHTMLEmbedElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pluginspage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pluginspage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -64154,19 +64154,19 @@ impl IHTMLEventObj { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn srcElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).srcElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn altKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).altKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ctrlKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ctrlKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn shiftKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shiftKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -64180,91 +64180,91 @@ impl IHTMLEventObj { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn returnValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).returnValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcancelBubble(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetcancelBubble)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn cancelBubble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cancelBubble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn fromElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fromElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn toElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetkeyCode(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetkeyCode)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn keyCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).keyCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn button(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).button)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn qualifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).qualifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn reason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).reason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn offsetX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn offsetY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn screenX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn screenY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn srcFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).srcFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -64405,7 +64405,7 @@ impl IHTMLEventObj2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -64414,7 +64414,7 @@ impl IHTMLEventObj2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -64428,7 +64428,7 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn propertyName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -64442,7 +64442,7 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn bookmarks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bookmarks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -64456,7 +64456,7 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn recordset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).recordset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -64470,7 +64470,7 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dataFld(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dataFld)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -64484,14 +64484,14 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn boundElements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boundElements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setrepeat(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setrepeat)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn repeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).repeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -64505,7 +64505,7 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn srcUrn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).srcUrn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -64519,28 +64519,28 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn srcElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).srcElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetaltKey(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetaltKey)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn altKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).altKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetctrlKey(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetctrlKey)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn ctrlKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ctrlKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetshiftKey(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetshiftKey)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn shiftKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shiftKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -64554,7 +64554,7 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn fromElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fromElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -64568,14 +64568,14 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn toElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setbutton(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setbutton)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn button(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).button)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -64589,7 +64589,7 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -64603,70 +64603,70 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn qualifier(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).qualifier)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setreason(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setreason)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn reason(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).reason)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setx(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetclientX(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetclientX)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn clientX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetclientY(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetclientY)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn clientY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetoffsetX(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetoffsetX)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn offsetX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetoffsetY(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetoffsetY)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn offsetY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscreenX(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscreenX)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn screenX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscreenY(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscreenY)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn screenY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -64680,13 +64680,13 @@ impl IHTMLEventObj2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn srcFilter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).srcFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn dataTransfer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dataTransfer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -64904,66 +64904,66 @@ pub struct IHTMLEventObj3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLEventObj3 { pub unsafe fn contentOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetshiftLeft(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetshiftLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn shiftLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shiftLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetaltLeft(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetaltLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn altLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).altLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetctrlLeft(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetctrlLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn ctrlLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ctrlLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn imeCompositionChange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imeCompositionChange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn imeNotifyCommand(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imeNotifyCommand)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn imeNotifyData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imeNotifyData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn imeRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imeRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn imeRequestData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imeRequestData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn keyboardLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).keyboardLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn behaviorCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).behaviorCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn behaviorPart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).behaviorPart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn nextPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65060,7 +65060,7 @@ pub struct IHTMLEventObj4(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLEventObj4 { pub unsafe fn wheelDelta(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wheelDelta)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65149,7 +65149,7 @@ impl IHTMLEventObj5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -65163,13 +65163,13 @@ impl IHTMLEventObj5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn source(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).source)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -65183,14 +65183,14 @@ impl IHTMLEventObj5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn origin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).origin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setissession(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setissession)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn issession(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).issession)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65300,11 +65300,11 @@ impl IHTMLEventObj6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn actionURL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).actionURL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn buttonID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).buttonID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65397,7 +65397,7 @@ impl IHTMLFieldSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65485,7 +65485,7 @@ impl IHTMLFieldSetElement2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65567,17 +65567,17 @@ pub struct IHTMLFiltersCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLFiltersCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65671,7 +65671,7 @@ impl IHTMLFontElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -65685,7 +65685,7 @@ impl IHTMLFontElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn face(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).face)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -65699,7 +65699,7 @@ impl IHTMLFontElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65801,17 +65801,17 @@ pub struct IHTMLFontNamesCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLFontNamesCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -65895,21 +65895,21 @@ pub struct IHTMLFontSizesCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLFontSizesCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn forFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).forFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -66004,7 +66004,7 @@ impl IHTMLFormElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn action(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).action)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66018,7 +66018,7 @@ impl IHTMLFormElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dir(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dir)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66032,7 +66032,7 @@ impl IHTMLFormElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn encoding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).encoding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66046,13 +66046,13 @@ impl IHTMLFormElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn method(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).method)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn elements(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).elements)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66066,7 +66066,7 @@ impl IHTMLFormElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66080,7 +66080,7 @@ impl IHTMLFormElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66094,7 +66094,7 @@ impl IHTMLFormElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onsubmit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onsubmit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66108,7 +66108,7 @@ impl IHTMLFormElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn submit(&self) -> ::windows::core::Result<()> { @@ -66121,11 +66121,11 @@ impl IHTMLFormElement { (::windows::core::Interface::vtable(self).Setlength)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66135,7 +66135,7 @@ impl IHTMLFormElement { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), name.into().abi(), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66144,7 +66144,7 @@ impl IHTMLFormElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tags)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -66313,7 +66313,7 @@ impl IHTMLFormElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn acceptCharset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).acceptCharset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66322,7 +66322,7 @@ impl IHTMLFormElement2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).urns)(::windows::core::Interface::as_raw(self), urn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -66417,7 +66417,7 @@ impl IHTMLFormElement3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -66509,7 +66509,7 @@ impl IHTMLFormElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn action(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).action)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -66605,7 +66605,7 @@ impl IHTMLFrameBase { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66619,7 +66619,7 @@ impl IHTMLFrameBase { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66633,7 +66633,7 @@ impl IHTMLFrameBase { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66647,7 +66647,7 @@ impl IHTMLFrameBase { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn frameBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66661,7 +66661,7 @@ impl IHTMLFrameBase { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn frameSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66675,7 +66675,7 @@ impl IHTMLFrameBase { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66689,14 +66689,14 @@ impl IHTMLFrameBase { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetnoResize(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetnoResize)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn noResize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).noResize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -66710,7 +66710,7 @@ impl IHTMLFrameBase { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn scrolling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrolling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -66856,7 +66856,7 @@ impl IHTMLFrameBase2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentWindow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentWindow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66870,7 +66870,7 @@ impl IHTMLFrameBase2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -66884,20 +66884,20 @@ impl IHTMLFrameBase2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetallowTransparency(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetallowTransparency)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn allowTransparency(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).allowTransparency)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67011,7 +67011,7 @@ impl IHTMLFrameBase3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67107,7 +67107,7 @@ impl IHTMLFrameElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67203,7 +67203,7 @@ impl IHTMLFrameElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67217,7 +67217,7 @@ impl IHTMLFrameElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67313,7 +67313,7 @@ impl IHTMLFrameElement3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -67327,7 +67327,7 @@ impl IHTMLFrameElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -67341,7 +67341,7 @@ impl IHTMLFrameElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -67355,7 +67355,7 @@ impl IHTMLFrameElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn frameBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67471,7 +67471,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -67485,7 +67485,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67499,7 +67499,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67513,7 +67513,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -67527,7 +67527,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn frameBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67541,7 +67541,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn frameSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -67555,7 +67555,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67569,7 +67569,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67583,7 +67583,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67597,7 +67597,7 @@ impl IHTMLFrameSetElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67765,7 +67765,7 @@ impl IHTMLFrameSetElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67779,7 +67779,7 @@ impl IHTMLFrameSetElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onafterprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onafterprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -67883,7 +67883,7 @@ impl IHTMLFrameSetElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onhashchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onhashchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67897,7 +67897,7 @@ impl IHTMLFrameSetElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67911,7 +67911,7 @@ impl IHTMLFrameSetElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onoffline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onoffline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67925,7 +67925,7 @@ impl IHTMLFrameSetElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ononline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ononline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -67939,7 +67939,7 @@ impl IHTMLFrameSetElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68059,11 +68059,11 @@ impl IHTMLFramesCollection2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68148,7 +68148,7 @@ impl IHTMLGenericElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn recordset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).recordset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -68157,7 +68157,7 @@ impl IHTMLGenericElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namedRecordset)(::windows::core::Interface::as_raw(self), datamember.into().abi(), ::core::mem::transmute(hierarchy), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68253,7 +68253,7 @@ impl IHTMLHRElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -68267,14 +68267,14 @@ impl IHTMLHRElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetnoShade(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetnoShade)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn noShade(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).noShade)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -68288,7 +68288,7 @@ impl IHTMLHRElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -68302,7 +68302,7 @@ impl IHTMLHRElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68424,7 +68424,7 @@ impl IHTMLHeadElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68520,7 +68520,7 @@ impl IHTMLHeadElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn profile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).profile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68616,7 +68616,7 @@ impl IHTMLHeaderElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68712,7 +68712,7 @@ impl IHTMLHtmlElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68801,14 +68801,14 @@ impl IHTMLIFrameElement { (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -68822,7 +68822,7 @@ impl IHTMLIFrameElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -68922,7 +68922,7 @@ impl IHTMLIFrameElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -68936,7 +68936,7 @@ impl IHTMLIFrameElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -69032,7 +69032,7 @@ impl IHTMLIFrameElement3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69046,7 +69046,7 @@ impl IHTMLIFrameElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69060,7 +69060,7 @@ impl IHTMLIFrameElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69074,7 +69074,7 @@ impl IHTMLIFrameElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn frameBorder(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameBorder)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -69180,15 +69180,15 @@ pub struct IHTMLIPrintCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLIPrintCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn item(&self, index: i32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -69275,7 +69275,7 @@ impl IHTMLImageElementFactory { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), width.into().abi(), height.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -69360,7 +69360,7 @@ impl IHTMLImgElement { (::windows::core::Interface::vtable(self).SetisMap)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn isMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69374,55 +69374,55 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn useMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).useMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn mimeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mimeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileCreatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileCreatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileModifiedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileModifiedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fileUpdatedDate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fileUpdatedDate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn nameProp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nameProp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -69436,21 +69436,21 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69464,7 +69464,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69478,7 +69478,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69492,7 +69492,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69506,7 +69506,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69520,17 +69520,17 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn complete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).complete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -69544,7 +69544,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69558,7 +69558,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -69572,7 +69572,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -69586,7 +69586,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -69600,7 +69600,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69614,21 +69614,21 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setwidth(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69642,7 +69642,7 @@ impl IHTMLImgElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -69889,7 +69889,7 @@ impl IHTMLImgElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -69985,7 +69985,7 @@ impl IHTMLImgElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn longDesc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).longDesc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -69999,7 +69999,7 @@ impl IHTMLImgElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70013,7 +70013,7 @@ impl IHTMLImgElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70027,7 +70027,7 @@ impl IHTMLImgElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -70137,11 +70137,11 @@ pub struct IHTMLImgElement4(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLImgElement4 { pub unsafe fn naturalWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).naturalWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn naturalHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).naturalHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -70223,7 +70223,7 @@ impl IHTMLInputButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70237,7 +70237,7 @@ impl IHTMLInputButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70251,7 +70251,7 @@ impl IHTMLInputButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -70265,26 +70265,26 @@ impl IHTMLInputButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -70410,7 +70410,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70424,7 +70424,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70438,41 +70438,41 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setstatus(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setsize(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmaxLength(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmaxLength)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn maxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn select(&self) -> ::windows::core::Result<()> { @@ -70489,7 +70489,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -70503,7 +70503,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70517,41 +70517,41 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn defaultValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetreadOnly(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetreadOnly)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setindeterminate(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setindeterminate)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn indeterminate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).indeterminate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetdefaultChecked(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetdefaultChecked)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn defaultChecked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultChecked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setchecked(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setchecked)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn checked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).checked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -70565,21 +70565,21 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70593,7 +70593,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70607,7 +70607,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70621,7 +70621,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70635,7 +70635,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70649,17 +70649,17 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn complete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).complete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -70673,7 +70673,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70687,7 +70687,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -70701,7 +70701,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -70715,7 +70715,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -70729,21 +70729,21 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setwidth(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -70757,7 +70757,7 @@ impl IHTMLInputElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -71027,7 +71027,7 @@ impl IHTMLInputElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn accept(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accept)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71041,7 +71041,7 @@ impl IHTMLInputElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn useMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).useMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -71145,7 +71145,7 @@ impl IHTMLInputElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71159,7 +71159,7 @@ impl IHTMLInputElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71173,7 +71173,7 @@ impl IHTMLInputElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71187,7 +71187,7 @@ impl IHTMLInputElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -71299,7 +71299,7 @@ impl IHTMLInputFileElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71313,7 +71313,7 @@ impl IHTMLInputFileElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -71327,34 +71327,34 @@ impl IHTMLInputFileElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setsize(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmaxLength(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmaxLength)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn maxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn select(&self) -> ::windows::core::Result<()> { @@ -71371,7 +71371,7 @@ impl IHTMLInputFileElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -71385,7 +71385,7 @@ impl IHTMLInputFileElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71399,7 +71399,7 @@ impl IHTMLInputFileElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -71534,7 +71534,7 @@ impl IHTMLInputHiddenElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71548,7 +71548,7 @@ impl IHTMLInputHiddenElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71562,7 +71562,7 @@ impl IHTMLInputHiddenElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -71576,26 +71576,26 @@ impl IHTMLInputHiddenElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -71713,14 +71713,14 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -71734,21 +71734,21 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71762,7 +71762,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71776,7 +71776,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71790,7 +71790,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lowsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lowsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71804,7 +71804,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vrml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vrml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71818,17 +71818,17 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dynsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dynsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn complete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).complete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -71842,7 +71842,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71856,7 +71856,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -71870,7 +71870,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -71884,7 +71884,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -71898,7 +71898,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71912,21 +71912,21 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setwidth(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -71940,7 +71940,7 @@ impl IHTMLInputImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -72144,13 +72144,13 @@ impl IHTMLInputRangeElement { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72164,7 +72164,7 @@ impl IHTMLInputRangeElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72178,7 +72178,7 @@ impl IHTMLInputRangeElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72192,7 +72192,7 @@ impl IHTMLInputRangeElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72206,7 +72206,7 @@ impl IHTMLInputRangeElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn min(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).min)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72220,7 +72220,7 @@ impl IHTMLInputRangeElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn max(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).max)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72234,14 +72234,14 @@ impl IHTMLInputRangeElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn step(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).step)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetvalueAsNumber(&self, v: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetvalueAsNumber)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn valueAsNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).valueAsNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn stepUp(&self, n: i32) -> ::windows::core::Result<()> { @@ -72385,7 +72385,7 @@ impl IHTMLInputTextElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72399,7 +72399,7 @@ impl IHTMLInputTextElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72413,7 +72413,7 @@ impl IHTMLInputTextElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -72427,20 +72427,20 @@ impl IHTMLInputTextElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72454,21 +72454,21 @@ impl IHTMLInputTextElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn defaultValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setsize(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmaxLength(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmaxLength)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn maxLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn select(&self) -> ::windows::core::Result<()> { @@ -72485,7 +72485,7 @@ impl IHTMLInputTextElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -72499,20 +72499,20 @@ impl IHTMLInputTextElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetreadOnly(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetreadOnly)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -72662,14 +72662,14 @@ impl IHTMLInputTextElement2 { (::windows::core::Interface::vtable(self).SetselectionStart)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetselectionEnd(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetselectionEnd)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn setSelectionRange(&self, start: i32, end: i32) -> ::windows::core::Result<()> { @@ -72765,7 +72765,7 @@ impl IHTMLIsIndexElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn prompt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).prompt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -72779,7 +72779,7 @@ impl IHTMLIsIndexElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn action(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).action)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -72875,7 +72875,7 @@ impl IHTMLIsIndexElement2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -72967,14 +72967,14 @@ impl IHTMLLIElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setvalue(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73072,7 +73072,7 @@ impl IHTMLLabelElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn htmlFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).htmlFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -73086,7 +73086,7 @@ impl IHTMLLabelElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn accessKey(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accessKey)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73182,7 +73182,7 @@ impl IHTMLLabelElement2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73274,7 +73274,7 @@ impl IHTMLLegendElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73362,7 +73362,7 @@ impl IHTMLLegendElement2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73454,7 +73454,7 @@ impl IHTMLLinkElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -73468,7 +73468,7 @@ impl IHTMLLinkElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -73482,7 +73482,7 @@ impl IHTMLLinkElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rev(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rev)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -73496,13 +73496,13 @@ impl IHTMLLinkElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -73516,7 +73516,7 @@ impl IHTMLLinkElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -73530,7 +73530,7 @@ impl IHTMLLinkElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -73544,20 +73544,20 @@ impl IHTMLLinkElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn styleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).styleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -73571,7 +73571,7 @@ impl IHTMLLinkElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73733,7 +73733,7 @@ impl IHTMLLinkElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73829,7 +73829,7 @@ impl IHTMLLinkElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -73843,7 +73843,7 @@ impl IHTMLLinkElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn hreflang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hreflang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -73947,7 +73947,7 @@ impl IHTMLLinkElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74035,7 +74035,7 @@ impl IHTMLLinkElement5 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn sheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).sheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74193,7 +74193,7 @@ impl IHTMLListElement2 { (::windows::core::Interface::vtable(self).Setcompact)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn compact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74283,7 +74283,7 @@ impl IHTMLLocation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -74297,7 +74297,7 @@ impl IHTMLLocation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn protocol(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).protocol)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -74311,7 +74311,7 @@ impl IHTMLLocation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn host(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).host)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -74325,7 +74325,7 @@ impl IHTMLLocation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn hostname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hostname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -74339,7 +74339,7 @@ impl IHTMLLocation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn port(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).port)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -74353,7 +74353,7 @@ impl IHTMLLocation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pathname(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pathname)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -74367,7 +74367,7 @@ impl IHTMLLocation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn search(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).search)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -74381,7 +74381,7 @@ impl IHTMLLocation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn hash(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hash)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn reload(&self, flag: i16) -> ::windows::core::Result<()> { @@ -74406,7 +74406,7 @@ impl IHTMLLocation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74571,13 +74571,13 @@ impl IHTMLMSCSSKeyframeRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn keyText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).keyText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74677,13 +74677,13 @@ impl IHTMLMSCSSKeyframesRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cssRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cssRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -74708,7 +74708,7 @@ impl IHTMLMSCSSKeyframesRule { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).findRule)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74813,14 +74813,14 @@ impl IHTMLMSImgElement { (::windows::core::Interface::vtable(self).SetmsPlayToDisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn msPlayToDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msPlayToDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmsPlayToPrimary(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmsPlayToPrimary)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn msPlayToPrimary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msPlayToPrimary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74905,14 +74905,14 @@ impl IHTMLMSMediaElement { (::windows::core::Interface::vtable(self).SetmsPlayToDisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn msPlayToDisabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msPlayToDisabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmsPlayToPrimary(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmsPlayToPrimary)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn msPlayToPrimary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msPlayToPrimary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -74996,7 +74996,7 @@ impl IHTMLMapElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn areas(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).areas)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -75010,7 +75010,7 @@ impl IHTMLMapElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -75110,14 +75110,14 @@ impl IHTMLMarqueeElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscrollDelay(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscrollDelay)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn scrollDelay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollDelay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -75131,7 +75131,7 @@ impl IHTMLMarqueeElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -75145,35 +75145,35 @@ impl IHTMLMarqueeElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscrollAmount(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscrollAmount)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn scrollAmount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollAmount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setloop(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setloop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -75187,7 +75187,7 @@ impl IHTMLMarqueeElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfinish(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfinish)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -75201,7 +75201,7 @@ impl IHTMLMarqueeElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -75215,7 +75215,7 @@ impl IHTMLMarqueeElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbounce(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbounce)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -75229,7 +75229,7 @@ impl IHTMLMarqueeElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -75243,14 +75243,14 @@ impl IHTMLMarqueeElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettrueSpeed(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettrueSpeed)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn trueSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).trueSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn start(&self) -> ::windows::core::Result<()> { @@ -75414,7 +75414,7 @@ impl IHTMLMediaElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).error)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -75428,17 +75428,17 @@ impl IHTMLMediaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn currentSrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn networkState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).networkState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -75452,13 +75452,13 @@ impl IHTMLMediaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn preload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).preload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn buffered(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).buffered)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn load(&self) -> ::windows::core::Result<()> { @@ -75470,74 +75470,74 @@ impl IHTMLMediaElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).canPlayType)(::windows::core::Interface::as_raw(self), r#type.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn seeking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).seeking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcurrentTime(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetcurrentTime)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn currentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn initialTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).initialTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn duration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).duration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn paused(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paused)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetdefaultPlaybackRate(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetdefaultPlaybackRate)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn defaultPlaybackRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultPlaybackRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetplaybackRate(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetplaybackRate)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn playbackRate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).playbackRate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn played(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).played)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn seekable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).seekable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn ended(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ended)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setautoplay(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setautoplay)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn autoplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).autoplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setloop(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setloop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn r#loop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#loop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn play(&self) -> ::windows::core::Result<()> { @@ -75550,28 +75550,28 @@ impl IHTMLMediaElement { (::windows::core::Interface::vtable(self).Setcontrols)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn controls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).controls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setvolume(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setvolume)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn volume(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).volume)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setmuted(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setmuted)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn muted(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).muted)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setautobuffer(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setautobuffer)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn autobuffer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).autobuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -75719,36 +75719,36 @@ impl IHTMLMediaElement2 { (::windows::core::Interface::vtable(self).SetcurrentTimeDouble)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn currentTimeDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentTimeDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn initialTimeDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).initialTimeDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn durationDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).durationDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetdefaultPlaybackRateDouble(&self, v: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetdefaultPlaybackRateDouble)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn defaultPlaybackRateDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultPlaybackRateDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetplaybackRateDouble(&self, v: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetplaybackRateDouble)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn playbackRateDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).playbackRateDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetvolumeDouble(&self, v: f64) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetvolumeDouble)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn volumeDouble(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).volumeDouble)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -75836,7 +75836,7 @@ pub struct IHTMLMediaError(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLMediaError { pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -75925,7 +75925,7 @@ impl IHTMLMetaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn httpEquiv(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).httpEquiv)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -75939,7 +75939,7 @@ impl IHTMLMetaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -75953,7 +75953,7 @@ impl IHTMLMetaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -75967,7 +75967,7 @@ impl IHTMLMetaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -75981,7 +75981,7 @@ impl IHTMLMetaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -76109,7 +76109,7 @@ impl IHTMLMetaElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn scheme(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scheme)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -76205,7 +76205,7 @@ impl IHTMLMetaElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn url(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).url)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -76291,7 +76291,7 @@ pub struct IHTMLMimeTypesCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLMimeTypesCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -76372,21 +76372,21 @@ impl IHTMLModelessInit { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn parameters(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parameters)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn optionString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).optionString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn moniker(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).moniker)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn document(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -76476,25 +76476,25 @@ impl IHTMLNamespace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn urn(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).urn)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn tagNames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tagNames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -76508,7 +76508,7 @@ impl IHTMLNamespace { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -76526,7 +76526,7 @@ impl IHTMLNamespace { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -76649,7 +76649,7 @@ pub struct IHTMLNamespaceCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLNamespaceCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -76658,7 +76658,7 @@ impl IHTMLNamespaceCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -76669,7 +76669,7 @@ impl IHTMLNamespaceCollection { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).add)(::windows::core::Interface::as_raw(self), bstrnamespace.into().abi(), bstrurn.into().abi(), implementationurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -76766,7 +76766,7 @@ impl IHTMLNextIdElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn n(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).n)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -76928,14 +76928,14 @@ impl IHTMLOListElement { (::windows::core::Interface::vtable(self).Setcompact)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn compact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setstart(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setstart)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn start(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -76949,7 +76949,7 @@ impl IHTMLOListElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -77102,19 +77102,19 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn object(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).object)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn classid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).classid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -77128,7 +77128,7 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn recordset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).recordset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77142,7 +77142,7 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77156,7 +77156,7 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77170,7 +77170,7 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn codeBase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).codeBase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77184,7 +77184,7 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn codeType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).codeType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77198,13 +77198,13 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn BaseHref(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BaseHref)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77218,13 +77218,13 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -77238,7 +77238,7 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -77252,11 +77252,11 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -77270,7 +77270,7 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -77284,7 +77284,7 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77298,21 +77298,21 @@ impl IHTMLObjectElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn altHtml(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).altHtml)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setvspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setvspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn vspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sethspace(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sethspace)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn hspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -77516,7 +77516,7 @@ impl IHTMLObjectElement2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namedRecordset)(::windows::core::Interface::as_raw(self), datamember.into().abi(), ::core::mem::transmute(hierarchy), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77530,7 +77530,7 @@ impl IHTMLObjectElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn classid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).classid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77544,7 +77544,7 @@ impl IHTMLObjectElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -77652,7 +77652,7 @@ impl IHTMLObjectElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn archive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).archive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77666,14 +77666,14 @@ impl IHTMLObjectElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn alt(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).alt)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdeclare(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdeclare)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn declare(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).declare)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77687,7 +77687,7 @@ impl IHTMLObjectElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn standby(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).standby)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -77701,7 +77701,7 @@ impl IHTMLObjectElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77715,7 +77715,7 @@ impl IHTMLObjectElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn useMap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).useMap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -77837,7 +77837,7 @@ impl IHTMLObjectElement4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77851,7 +77851,7 @@ impl IHTMLObjectElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn codeBase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).codeBase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -77865,7 +77865,7 @@ impl IHTMLObjectElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn data(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).data)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -77973,7 +77973,7 @@ impl IHTMLObjectElement5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn object(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).object)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -78065,7 +78065,7 @@ impl IHTMLOpsProfile { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).addRequest)(::windows::core::Interface::as_raw(self), name.into().abi(), reserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clearRequest(&self) -> ::windows::core::Result<()> { @@ -78090,7 +78090,7 @@ impl IHTMLOpsProfile { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -78101,11 +78101,11 @@ impl IHTMLOpsProfile { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), value.into().abi(), prefs.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn commitChanges(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).commitChanges)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -78115,7 +78115,7 @@ impl IHTMLOpsProfile { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).addReadRequest)(::windows::core::Interface::as_raw(self), name.into().abi(), reserved.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -78132,7 +78132,7 @@ impl IHTMLOpsProfile { (::windows::core::Interface::vtable(self).doReadRequest)(::windows::core::Interface::as_raw(self), usage.into().abi(), fname.into().abi(), domain.into().abi(), path.into().abi(), expire.into().abi(), reserved.into().abi()).ok() } pub unsafe fn doWriteRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).doWriteRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -78247,13 +78247,13 @@ impl IHTMLOptionButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -78267,21 +78267,21 @@ impl IHTMLOptionButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setchecked(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setchecked)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn checked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).checked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetdefaultChecked(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetdefaultChecked)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn defaultChecked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultChecked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -78295,34 +78295,34 @@ impl IHTMLOptionButtonElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setstatus(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setstatus)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setindeterminate(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setindeterminate)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn indeterminate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).indeterminate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -78445,7 +78445,7 @@ impl IHTMLOptionElement { (::windows::core::Interface::vtable(self).Setselected)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -78459,21 +78459,21 @@ impl IHTMLOptionElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetdefaultSelected(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetdefaultSelected)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn defaultSelected(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultSelected)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setindex(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setindex)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn index(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).index)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -78487,13 +78487,13 @@ impl IHTMLOptionElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -78607,7 +78607,7 @@ impl IHTMLOptionElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn label(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).label)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -78703,7 +78703,7 @@ impl IHTMLOptionElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -78797,7 +78797,7 @@ impl IHTMLOptionElementFactory { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), text.into().abi(), value.into().abi(), defaultselected.into().abi(), selected.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -78881,13 +78881,13 @@ impl IHTMLOptionsHolder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn fonts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fonts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -78901,28 +78901,28 @@ impl IHTMLOptionsHolder { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn execArg(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).execArg)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeterrorLine(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SeterrorLine)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn errorLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeterrorCharacter(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SeterrorCharacter)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn errorCharacter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorCharacter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeterrorCode(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SeterrorCode)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn errorCode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorCode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -78936,20 +78936,20 @@ impl IHTMLOptionsHolder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn errorMessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorMessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SeterrorDebug(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SeterrorDebug)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn errorDebug(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).errorDebug)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn unsecuredWindowOfDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unsecuredWindowOfDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -78963,14 +78963,14 @@ impl IHTMLOptionsHolder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn findText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).findText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetanythingAfterFrameset(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetanythingAfterFrameset)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn anythingAfterFrameset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).anythingAfterFrameset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -78979,7 +78979,7 @@ impl IHTMLOptionsHolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).sizes)(::windows::core::Interface::as_raw(self), fontname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -78991,7 +78991,7 @@ impl IHTMLOptionsHolder { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).openfiledlg)(::windows::core::Interface::as_raw(self), initfile.into().abi(), initdir.into().abi(), filter.into().abi(), title.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -79003,7 +79003,7 @@ impl IHTMLOptionsHolder { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).savefiledlg)(::windows::core::Interface::as_raw(self), initfile.into().abi(), initdir.into().abi(), filter.into().abi(), title.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -79012,7 +79012,7 @@ impl IHTMLOptionsHolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).choosecolordlg)(::windows::core::Interface::as_raw(self), initcolor.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn showSecurityInfo(&self) -> ::windows::core::Result<()> { @@ -79024,7 +79024,7 @@ impl IHTMLOptionsHolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLObjectElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isApartmentModel)(::windows::core::Interface::as_raw(self), object.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -79033,13 +79033,13 @@ impl IHTMLOptionsHolder { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getCharset)(::windows::core::Interface::as_raw(self), fontname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn secureConnectionInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).secureConnectionInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -79208,23 +79208,23 @@ impl IHTMLPaintSite { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe fn GetDrawInfo(&self, lflags: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDrawInfo)(::windows::core::Interface::as_raw(self), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TransformGlobalToLocal(&self, ptglobal: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransformGlobalToLocal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptglobal), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn TransformLocalToGlobal(&self, ptlocal: super::super::Foundation::POINT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).TransformLocalToGlobal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptlocal), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHitTestCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHitTestCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -79310,7 +79310,7 @@ impl IHTMLPainter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetPainterInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPainterInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -79380,7 +79380,7 @@ pub struct IHTMLPainter_Vtbl { pub struct IHTMLPainterEventInfo(::windows::core::IUnknown); impl IHTMLPainterEventInfo { pub unsafe fn GetEventInfoFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEventInfoFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -79394,7 +79394,7 @@ impl IHTMLPainterEventInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn StringFromPartID(&self, lpartid: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).StringFromPartID)(::windows::core::Interface::as_raw(self), lpartid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -79519,7 +79519,7 @@ impl IHTMLParaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -79615,7 +79615,7 @@ impl IHTMLParamElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -79629,7 +79629,7 @@ impl IHTMLParamElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -79643,7 +79643,7 @@ impl IHTMLParamElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -79657,7 +79657,7 @@ impl IHTMLParamElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn valueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).valueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -79777,7 +79777,7 @@ impl IHTMLParamElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -79791,7 +79791,7 @@ impl IHTMLParamElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -79805,7 +79805,7 @@ impl IHTMLParamElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -79819,7 +79819,7 @@ impl IHTMLParamElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn valueType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).valueType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -79931,25 +79931,25 @@ impl IHTMLPerformance { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn navigation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).navigation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn timing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).timing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn toJSON(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toJSON)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -80043,23 +80043,23 @@ pub struct IHTMLPerformanceNavigation(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLPerformanceNavigation { pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn redirectCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).redirectCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn toJSON(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toJSON)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -80147,99 +80147,99 @@ pub struct IHTMLPerformanceTiming(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLPerformanceTiming { pub unsafe fn navigationStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).navigationStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unloadEventStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unloadEventStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unloadEventEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unloadEventEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn redirectStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).redirectStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn redirectEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).redirectEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn fetchStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fetchStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn domainLookupStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).domainLookupStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn domainLookupEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).domainLookupEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn connectStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).connectStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn connectEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).connectEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn requestStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).requestStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn responseStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn responseEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn domLoading(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).domLoading)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn domInteractive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).domInteractive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn domContentLoadedEventStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).domContentLoadedEventStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn domContentLoadedEventEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).domContentLoadedEventEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn domComplete(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).domComplete)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn loadEventStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).loadEventStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn loadEventEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).loadEventEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msFirstPaint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msFirstPaint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn toJSON(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toJSON)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -80347,18 +80347,18 @@ impl IHTMLPersistData { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).save)(::windows::core::Interface::as_raw(self), punk.into().abi(), ltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn load<'a, P0>(&self, punk: P0, ltype: i32) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).load)(::windows::core::Interface::as_raw(self), punk.into().abi(), ltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn queryType(&self, ltype: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryType)(::windows::core::Interface::as_raw(self), ltype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -80414,7 +80414,7 @@ impl IHTMLPersistDataOM { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn XMLDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XMLDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -80423,7 +80423,7 @@ impl IHTMLPersistDataOM { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -80617,7 +80617,7 @@ impl IHTMLPhraseElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -80631,7 +80631,7 @@ impl IHTMLPhraseElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dateTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dateTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -80735,7 +80735,7 @@ impl IHTMLPhraseElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cite(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cite)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -80821,7 +80821,7 @@ pub struct IHTMLPluginsCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLPluginsCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn refresh(&self, reload: i16) -> ::windows::core::Result<()> { @@ -80914,11 +80914,11 @@ impl IHTMLPopup { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -81009,24 +81009,24 @@ impl IHTMLProgressElement { (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setmax(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setmax)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn max(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).max)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -81116,28 +81116,28 @@ impl IHTMLRect { (::windows::core::Interface::vtable(self).Setleft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Settop(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Settop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setright(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setright)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setbottom(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setbottom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -81223,11 +81223,11 @@ pub struct IHTMLRect2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLRect2 { pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -81307,17 +81307,17 @@ pub struct IHTMLRectCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLRectCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -81411,7 +81411,7 @@ impl IHTMLRenderStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textLineThroughStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textLineThroughStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81425,7 +81425,7 @@ impl IHTMLRenderStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textUnderlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textUnderlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81439,7 +81439,7 @@ impl IHTMLRenderStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textEffect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textEffect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81453,7 +81453,7 @@ impl IHTMLRenderStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81467,7 +81467,7 @@ impl IHTMLRenderStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textBackgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textBackgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81481,14 +81481,14 @@ impl IHTMLRenderStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textDecorationColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetrenderingPriority(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetrenderingPriority)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn renderingPriority(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).renderingPriority)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81502,7 +81502,7 @@ impl IHTMLRenderStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn defaultTextSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultTextSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81516,7 +81516,7 @@ impl IHTMLRenderStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -81670,7 +81670,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81684,7 +81684,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81698,7 +81698,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontVariant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81712,7 +81712,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81726,7 +81726,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81740,7 +81740,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81754,7 +81754,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81768,7 +81768,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81782,7 +81782,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81796,7 +81796,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81810,7 +81810,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81824,7 +81824,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81838,7 +81838,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81852,7 +81852,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81866,7 +81866,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81880,7 +81880,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn wordSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81894,7 +81894,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn letterSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).letterSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81908,42 +81908,42 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationNone(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationNone)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationNone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationNone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationUnderline(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationUnderline)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationUnderline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationUnderline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationOverline(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationOverline)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationOverline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationOverline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationLineThrough(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationLineThrough)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationLineThrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationLineThrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationBlink(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationBlink)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationBlink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationBlink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81957,7 +81957,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn verticalAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).verticalAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81971,7 +81971,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -81985,7 +81985,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -81999,7 +81999,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82013,7 +82013,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn lineHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82027,7 +82027,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82041,7 +82041,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82055,7 +82055,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82069,7 +82069,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82083,7 +82083,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn margin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).margin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82097,7 +82097,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82111,7 +82111,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82125,7 +82125,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82139,7 +82139,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82153,7 +82153,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn padding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).padding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82167,7 +82167,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82181,7 +82181,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82195,7 +82195,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82209,7 +82209,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82223,7 +82223,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82237,7 +82237,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82251,7 +82251,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderTopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82265,7 +82265,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderRightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82279,7 +82279,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderBottomColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82293,7 +82293,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderLeftColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82307,7 +82307,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82321,7 +82321,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderTopWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82335,7 +82335,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderRightWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82349,7 +82349,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderBottomWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82363,7 +82363,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderLeftWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82377,7 +82377,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82391,7 +82391,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderTopStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82405,7 +82405,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderRightStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82419,7 +82419,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderBottomStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82433,7 +82433,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderLeftStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82447,7 +82447,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82461,7 +82461,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82475,7 +82475,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn styleFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).styleFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82489,7 +82489,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82503,7 +82503,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82517,7 +82517,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82531,7 +82531,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82545,7 +82545,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStylePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStylePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82559,7 +82559,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyleImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyleImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82573,7 +82573,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82587,7 +82587,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn whiteSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).whiteSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82601,7 +82601,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82615,13 +82615,13 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82635,7 +82635,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn zIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82649,7 +82649,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82663,7 +82663,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82677,7 +82677,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82691,7 +82691,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82705,7 +82705,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cursor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cursor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82719,7 +82719,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82733,7 +82733,7 @@ impl IHTMLRuleStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -82751,7 +82751,7 @@ impl IHTMLRuleStyle { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -82760,7 +82760,7 @@ impl IHTMLRuleStyle { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -83466,7 +83466,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn tableLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tableLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83480,7 +83480,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderCollapse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderCollapse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83494,7 +83494,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83508,7 +83508,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83522,7 +83522,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83536,7 +83536,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn unicodeBidi(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unicodeBidi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -83550,7 +83550,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -83564,35 +83564,35 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelBottom(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelBottom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelRight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelRight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetposBottom(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetposBottom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn posBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).posBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetposRight(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetposRight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn posRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).posRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83606,7 +83606,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn imeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83620,7 +83620,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83634,7 +83634,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83648,7 +83648,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyOverhang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyOverhang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -83662,7 +83662,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn layoutGridChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -83676,7 +83676,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn layoutGridLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83690,7 +83690,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGridMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83704,7 +83704,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGridType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83718,7 +83718,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83732,7 +83732,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAutospace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAutospace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83746,7 +83746,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83760,7 +83760,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lineBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83774,7 +83774,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textJustify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textJustify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83788,7 +83788,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textJustifyTrim(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textJustifyTrim)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -83802,7 +83802,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textKashida(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textKashida)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83816,7 +83816,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflowX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflowX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83830,7 +83830,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflowY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflowY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -83844,7 +83844,7 @@ impl IHTMLRuleStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn accelerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -84148,7 +84148,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84162,7 +84162,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn zoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84176,7 +84176,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wordWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84190,7 +84190,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textUnderlinePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textUnderlinePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84204,7 +84204,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarBaseColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarBaseColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84218,7 +84218,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarFaceColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarFaceColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84232,7 +84232,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbar3dLightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbar3dLightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84246,7 +84246,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84260,7 +84260,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarHighlightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarHighlightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84274,7 +84274,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84288,7 +84288,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarArrowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarArrowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84302,7 +84302,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarTrackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarTrackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84316,7 +84316,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn writingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).writingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84330,7 +84330,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAlignLast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAlignLast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84344,7 +84344,7 @@ impl IHTMLRuleStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textKashidaSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textKashidaSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -84552,7 +84552,7 @@ impl IHTMLRuleStyle4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84566,7 +84566,7 @@ impl IHTMLRuleStyle4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -84670,7 +84670,7 @@ impl IHTMLRuleStyle5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84684,7 +84684,7 @@ impl IHTMLRuleStyle5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84698,7 +84698,7 @@ impl IHTMLRuleStyle5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84712,7 +84712,7 @@ impl IHTMLRuleStyle5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -84832,7 +84832,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84846,7 +84846,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn captionSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).captionSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84860,7 +84860,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn counterIncrement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).counterIncrement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84874,7 +84874,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn counterReset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).counterReset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84888,7 +84888,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84902,7 +84902,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn outlineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84916,7 +84916,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84930,7 +84930,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn outlineColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84944,7 +84944,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn boxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -84958,7 +84958,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84972,7 +84972,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn orphans(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).orphans)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -84986,7 +84986,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn widows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).widows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -85000,7 +85000,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -85014,7 +85014,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn emptyCells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).emptyCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -85028,7 +85028,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msBlockProgression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msBlockProgression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -85042,7 +85042,7 @@ impl IHTMLRuleStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn quotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).quotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -85248,41 +85248,41 @@ pub struct IHTMLScreen(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLScreen { pub unsafe fn colorDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).colorDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetbufferDepth(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetbufferDepth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn bufferDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bufferDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetupdateInterval(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetupdateInterval)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn updateInterval(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).updateInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn availHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).availHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn availWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).availWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn fontSmoothingEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontSmoothingEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -85370,19 +85370,19 @@ pub struct IHTMLScreen2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLScreen2 { pub unsafe fn logicalXDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).logicalXDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn logicalYDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).logicalYDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deviceXDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).deviceXDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deviceYDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).deviceYDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -85464,11 +85464,11 @@ pub struct IHTMLScreen3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLScreen3 { pub unsafe fn systemXDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).systemXDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn systemYDPI(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).systemYDPI)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -85548,7 +85548,7 @@ pub struct IHTMLScreen4(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLScreen4 { pub unsafe fn pixelDepth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelDepth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -85637,7 +85637,7 @@ impl IHTMLScriptElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -85651,7 +85651,7 @@ impl IHTMLScriptElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn htmlFor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).htmlFor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -85665,7 +85665,7 @@ impl IHTMLScriptElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -85679,20 +85679,20 @@ impl IHTMLScriptElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdefer(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdefer)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn defer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -85706,7 +85706,7 @@ impl IHTMLScriptElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -85720,7 +85720,7 @@ impl IHTMLScriptElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -85862,7 +85862,7 @@ impl IHTMLScriptElement2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn charset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).charset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -85958,7 +85958,7 @@ impl IHTMLScriptElement3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -86046,7 +86046,7 @@ impl IHTMLScriptElement4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn usedCharset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).usedCharset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -86131,14 +86131,14 @@ impl IHTMLSelectElement { (::windows::core::Interface::vtable(self).Setsize)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn size(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).size)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setmultiple(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setmultiple)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn multiple(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).multiple)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -86152,13 +86152,13 @@ impl IHTMLSelectElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn options(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).options)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -86172,20 +86172,20 @@ impl IHTMLSelectElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetselectedIndex(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetselectedIndex)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectedIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectedIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -86199,20 +86199,20 @@ impl IHTMLSelectElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -86231,11 +86231,11 @@ impl IHTMLSelectElement { (::windows::core::Interface::vtable(self).Setlength)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -86245,7 +86245,7 @@ impl IHTMLSelectElement { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), name.into().abi(), index.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -86254,7 +86254,7 @@ impl IHTMLSelectElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tags)(::windows::core::Interface::as_raw(self), tagname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -86397,7 +86397,7 @@ impl IHTMLSelectElement2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).urns)(::windows::core::Interface::as_raw(self), urn.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -86484,7 +86484,7 @@ impl IHTMLSelectElement4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).namedItem)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -86670,7 +86670,7 @@ impl IHTMLSelectElement6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -86769,13 +86769,13 @@ impl IHTMLSelectElementEx { (::windows::core::Interface::vtable(self).SetSelectExFlags)(::windows::core::Interface::as_raw(self), lflags).ok() } pub unsafe fn GetSelectExFlags(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectExFlags)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDropdownOpen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDropdownOpen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -86838,25 +86838,25 @@ impl IHTMLSelection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn anchorNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).anchorNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn anchorOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).anchorOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn focusNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).focusNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn focusOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).focusOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isCollapsed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isCollapsed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -86885,13 +86885,13 @@ impl IHTMLSelection { (::windows::core::Interface::vtable(self).deleteFromDocument)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn rangeCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rangeCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getRangeAt(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getRangeAt)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -86916,7 +86916,7 @@ impl IHTMLSelection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -87036,7 +87036,7 @@ impl IHTMLSelectionObject { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn empty(&self) -> ::windows::core::Result<()> { @@ -87048,7 +87048,7 @@ impl IHTMLSelectionObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -87138,13 +87138,13 @@ impl IHTMLSelectionObject2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createRangeCollection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createRangeCollection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn typeDetail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).typeDetail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -87240,7 +87240,7 @@ impl IHTMLSourceElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn src(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).src)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87254,7 +87254,7 @@ impl IHTMLSourceElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87268,7 +87268,7 @@ impl IHTMLSourceElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -87453,7 +87453,7 @@ impl IHTMLSpanFlow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -87539,17 +87539,17 @@ pub struct IHTMLStorage(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLStorage { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn remainingSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).remainingSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn key(&self, lindex: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).key)(::windows::core::Interface::as_raw(self), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -87558,7 +87558,7 @@ impl IHTMLStorage { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87772,7 +87772,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontFamily(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontFamily)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87786,7 +87786,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87800,7 +87800,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontVariant(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontVariant)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87814,7 +87814,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontWeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontWeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -87828,7 +87828,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn fontSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87842,7 +87842,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -87856,7 +87856,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn color(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).color)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87870,7 +87870,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -87884,7 +87884,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87898,7 +87898,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87912,7 +87912,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundRepeat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundRepeat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87926,7 +87926,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundAttachment(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundAttachment)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -87940,7 +87940,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn backgroundPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -87954,7 +87954,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundPositionX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPositionX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -87968,7 +87968,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn backgroundPositionY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).backgroundPositionY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -87982,7 +87982,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn wordSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -87996,7 +87996,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn letterSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).letterSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88010,42 +88010,42 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textDecoration(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecoration)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationNone(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationNone)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationNone(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationNone)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationUnderline(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationUnderline)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationUnderline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationUnderline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationOverline(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationOverline)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationOverline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationOverline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationLineThrough(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationLineThrough)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationLineThrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationLineThrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettextDecorationBlink(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettextDecorationBlink)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn textDecorationBlink(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDecorationBlink)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88059,7 +88059,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn verticalAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).verticalAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88073,7 +88073,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88087,7 +88087,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88101,7 +88101,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textIndent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textIndent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88115,7 +88115,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn lineHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88129,7 +88129,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88143,7 +88143,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88157,7 +88157,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88171,7 +88171,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88185,7 +88185,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn margin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).margin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88199,7 +88199,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88213,7 +88213,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88227,7 +88227,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88241,7 +88241,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn paddingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).paddingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88255,7 +88255,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn padding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).padding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88269,7 +88269,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88283,7 +88283,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88297,7 +88297,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88311,7 +88311,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88325,7 +88325,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88339,7 +88339,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88353,7 +88353,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderTopColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88367,7 +88367,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderRightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88381,7 +88381,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderBottomColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88395,7 +88395,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderLeftColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88409,7 +88409,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88423,7 +88423,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderTopWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88437,7 +88437,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderRightWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88451,7 +88451,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderBottomWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88465,7 +88465,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderLeftWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88479,7 +88479,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88493,7 +88493,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderTopStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderTopStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88507,7 +88507,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderRightStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderRightStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88521,7 +88521,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderBottomStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderBottomStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88535,7 +88535,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderLeftStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderLeftStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88549,7 +88549,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88563,7 +88563,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88577,7 +88577,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn styleFloat(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).styleFloat)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88591,7 +88591,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clear(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clear)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88605,7 +88605,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn display(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).display)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88619,7 +88619,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88633,7 +88633,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88647,7 +88647,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStylePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStylePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88661,7 +88661,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyleImage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyleImage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88675,7 +88675,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn listStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).listStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88689,7 +88689,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn whiteSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).whiteSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88703,7 +88703,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88717,13 +88717,13 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn left(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).left)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88737,7 +88737,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn zIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88751,7 +88751,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88765,7 +88765,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakBefore(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakBefore)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88779,7 +88779,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakAfter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakAfter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88793,63 +88793,63 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelTop(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelTop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelLeft(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelWidth(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelWidth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelHeight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelHeight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetposTop(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetposTop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn posTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).posTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetposLeft(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetposLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn posLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).posLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetposWidth(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetposWidth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn posWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).posWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetposHeight(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetposHeight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn posHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).posHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88863,7 +88863,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cursor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cursor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88877,7 +88877,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn clip(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clip)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88891,7 +88891,7 @@ impl IHTMLStyle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn filter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).filter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -88909,7 +88909,7 @@ impl IHTMLStyle { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -88918,13 +88918,13 @@ impl IHTMLStyle { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeAttribute)(::windows::core::Interface::as_raw(self), strattributename.into().abi(), lflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -89650,7 +89650,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn tableLayout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tableLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89664,7 +89664,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderCollapse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderCollapse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89678,7 +89678,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn direction(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).direction)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89692,7 +89692,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn behavior(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).behavior)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89711,7 +89711,7 @@ impl IHTMLStyle2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89720,7 +89720,7 @@ impl IHTMLStyle2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeExpression)(::windows::core::Interface::as_raw(self), propname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89734,7 +89734,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn position(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).position)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89748,7 +89748,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn unicodeBidi(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unicodeBidi)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -89762,7 +89762,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -89776,35 +89776,35 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn right(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).right)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelBottom(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelBottom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelRight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelRight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetposBottom(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetposBottom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn posBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).posBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetposRight(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetposRight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn posRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).posRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89818,7 +89818,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn imeMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imeMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89832,7 +89832,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89846,7 +89846,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89860,7 +89860,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rubyOverhang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rubyOverhang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -89874,7 +89874,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn layoutGridChar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridChar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -89888,7 +89888,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn layoutGridLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89902,7 +89902,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGridMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89916,7 +89916,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGridType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGridType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89930,7 +89930,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutGrid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutGrid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89944,7 +89944,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89958,7 +89958,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn lineBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89972,7 +89972,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textJustify(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textJustify)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89986,7 +89986,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textJustifyTrim(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textJustifyTrim)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90000,7 +90000,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textKashida(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textKashida)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -90014,7 +90014,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAutospace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAutospace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -90028,7 +90028,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflowX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflowX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -90042,7 +90042,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn overflowY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).overflowY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -90056,7 +90056,7 @@ impl IHTMLStyle2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn accelerator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accelerator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -90372,7 +90372,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn layoutFlow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).layoutFlow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90386,7 +90386,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn zoom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zoom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -90400,7 +90400,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wordWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wordWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -90414,7 +90414,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textUnderlinePosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textUnderlinePosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90428,7 +90428,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarBaseColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarBaseColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90442,7 +90442,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarFaceColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarFaceColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90456,7 +90456,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbar3dLightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbar3dLightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90470,7 +90470,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90484,7 +90484,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarHighlightColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarHighlightColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90498,7 +90498,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarDarkShadowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarDarkShadowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90512,7 +90512,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarArrowColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarArrowColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90526,7 +90526,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn scrollbarTrackColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbarTrackColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -90540,7 +90540,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn writingMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).writingMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -90554,7 +90554,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textAlignLast(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textAlignLast)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90568,7 +90568,7 @@ impl IHTMLStyle3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn textKashidaSpace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textKashidaSpace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -90776,7 +90776,7 @@ impl IHTMLStyle4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textOverflow(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textOverflow)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90790,7 +90790,7 @@ impl IHTMLStyle4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -90894,7 +90894,7 @@ impl IHTMLStyle5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msInterpolationMode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msInterpolationMode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90908,7 +90908,7 @@ impl IHTMLStyle5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90922,7 +90922,7 @@ impl IHTMLStyle5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn minWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).minWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -90936,7 +90936,7 @@ impl IHTMLStyle5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn maxWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -91056,7 +91056,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn content(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).content)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91070,7 +91070,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn captionSide(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).captionSide)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91084,7 +91084,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn counterIncrement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).counterIncrement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91098,7 +91098,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn counterReset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).counterReset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91112,7 +91112,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -91126,7 +91126,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn outlineWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91140,7 +91140,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn outlineStyle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineStyle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -91154,7 +91154,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn outlineColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outlineColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91168,7 +91168,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn boxSizing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boxSizing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91182,7 +91182,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn borderSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -91196,7 +91196,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn orphans(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).orphans)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -91210,7 +91210,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn widows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).widows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91224,7 +91224,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pageBreakInside(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageBreakInside)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91238,7 +91238,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn emptyCells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).emptyCells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91252,7 +91252,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msBlockProgression(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msBlockProgression)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91266,7 +91266,7 @@ impl IHTMLStyle6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn quotes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).quotes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -91482,13 +91482,13 @@ impl IHTMLStyleElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -91502,7 +91502,7 @@ impl IHTMLStyleElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -91516,7 +91516,7 @@ impl IHTMLStyleElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -91530,20 +91530,20 @@ impl IHTMLStyleElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn styleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).styleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91557,7 +91557,7 @@ impl IHTMLStyleElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -91687,7 +91687,7 @@ impl IHTMLStyleElement2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn sheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).sheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -91774,7 +91774,7 @@ impl IHTMLStyleEnabled { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGetPropertyEnabled)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -91878,7 +91878,7 @@ impl IHTMLStyleFontFace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn fontsrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fontsrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -91966,7 +91966,7 @@ impl IHTMLStyleFontFace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -92050,7 +92050,7 @@ impl IHTMLStyleMedia { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -92059,7 +92059,7 @@ impl IHTMLStyleMedia { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).matchMedium)(::windows::core::Interface::as_raw(self), mediaquery.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -92155,36 +92155,36 @@ impl IHTMLStyleSheet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentStyleSheet(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentStyleSheet)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn owningElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).owningElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn imports(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).imports)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -92198,19 +92198,19 @@ impl IHTMLStyleSheet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn id(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).id)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -92219,7 +92219,7 @@ impl IHTMLStyleSheet { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).addImport)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -92229,7 +92229,7 @@ impl IHTMLStyleSheet { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).addRule)(::windows::core::Interface::as_raw(self), bstrselector.into().abi(), bstrstyle.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn removeImport(&self, lindex: i32) -> ::windows::core::Result<()> { @@ -92249,7 +92249,7 @@ impl IHTMLStyleSheet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -92263,13 +92263,13 @@ impl IHTMLStyleSheet { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cssText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cssText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn rules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -92418,7 +92418,7 @@ impl IHTMLStyleSheet2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn pages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -92428,7 +92428,7 @@ impl IHTMLStyleSheet2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).addPageRule)(::windows::core::Interface::as_raw(self), bstrselector.into().abi(), bstrstyle.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -92524,15 +92524,15 @@ impl IHTMLStyleSheet3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isAlternate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isAlternate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn isPrefAlternate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isPrefAlternate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -92622,43 +92622,43 @@ impl IHTMLStyleSheet4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ownerNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerRule(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ownerRule)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cssRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cssRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -92667,7 +92667,7 @@ impl IHTMLStyleSheet4 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertRule)(::windows::core::Interface::as_raw(self), bstrrule.into().abi(), lindex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteRule(&self, lindex: i32) -> ::windows::core::Result<()> { @@ -92783,13 +92783,13 @@ impl IHTMLStyleSheetPage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn selector(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selector)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pseudoClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pseudoClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -92885,13 +92885,13 @@ impl IHTMLStyleSheetPage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn selectorText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectorText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -92981,13 +92981,13 @@ pub struct IHTMLStyleSheetPagesCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLStyleSheetPagesCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93080,17 +93080,17 @@ impl IHTMLStyleSheetRule { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn selectorText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectorText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn style(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).style)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93191,7 +93191,7 @@ impl IHTMLStyleSheetRule2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn selectorText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectorText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93277,11 +93277,11 @@ pub struct IHTMLStyleSheetRuleApplied(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLStyleSheetRuleApplied { pub unsafe fn msSpecificity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msSpecificity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn msGetSpecificity(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msGetSpecificity)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93363,11 +93363,11 @@ impl IHTMLStyleSheetRulesAppliedCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -93376,7 +93376,7 @@ impl IHTMLStyleSheetRulesAppliedCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyAppliedBy)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -93385,7 +93385,7 @@ impl IHTMLStyleSheetRulesAppliedCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyAppliedTrace)(::windows::core::Interface::as_raw(self), name.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -93394,7 +93394,7 @@ impl IHTMLStyleSheetRulesAppliedCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyAppliedTraceLength)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93489,13 +93489,13 @@ pub struct IHTMLStyleSheetRulesCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLStyleSheetRulesCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93578,13 +93578,13 @@ pub struct IHTMLStyleSheetRulesCollection2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLStyleSheetRulesCollection2 { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93667,17 +93667,17 @@ pub struct IHTMLStyleSheetsCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLStyleSheetsCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93763,7 +93763,7 @@ impl IHTMLStyleSheetsCollection2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -93952,7 +93952,7 @@ impl IHTMLTable { (::windows::core::Interface::vtable(self).Setcols)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn cols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -93966,7 +93966,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn border(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).border)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -93980,7 +93980,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn frame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -93994,7 +93994,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn rules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -94008,7 +94008,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn cellSpacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cellSpacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -94022,7 +94022,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn cellPadding(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cellPadding)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -94036,7 +94036,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -94050,7 +94050,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -94064,7 +94064,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -94078,7 +94078,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColorLight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColorLight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -94092,7 +94092,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColorDark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColorDark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -94106,7 +94106,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn refresh(&self) -> ::windows::core::Result<()> { @@ -94115,7 +94115,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn rows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -94129,7 +94129,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -94143,14 +94143,14 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetdataPageSize(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetdataPageSize)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn dataPageSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dataPageSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn nextPage(&self) -> ::windows::core::Result<()> { @@ -94162,31 +94162,31 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn tHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn tFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn tBodies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tBodies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteTHead(&self) -> ::windows::core::Result<()> { @@ -94195,7 +94195,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteTFoot(&self) -> ::windows::core::Result<()> { @@ -94204,7 +94204,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createCaption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createCaption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteCaption(&self) -> ::windows::core::Result<()> { @@ -94213,7 +94213,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn insertRow(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertRow)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteRow(&self, index: i32) -> ::windows::core::Result<()> { @@ -94222,7 +94222,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -94236,7 +94236,7 @@ impl IHTMLTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -94485,13 +94485,13 @@ impl IHTMLTable2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn moveRow(&self, indexfrom: i32, indexto: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).moveRow)(::windows::core::Interface::as_raw(self), indexfrom, indexto, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -94589,7 +94589,7 @@ impl IHTMLTable3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn summary(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).summary)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -94685,7 +94685,7 @@ impl IHTMLTable4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn tHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -94699,7 +94699,7 @@ impl IHTMLTable4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn tFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -94713,13 +94713,13 @@ impl IHTMLTable4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn caption(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).caption)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn insertRow(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertRow)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteRow(&self, index: i32) -> ::windows::core::Result<()> { @@ -94728,7 +94728,7 @@ impl IHTMLTable4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -94849,7 +94849,7 @@ impl IHTMLTableCaption { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -94863,7 +94863,7 @@ impl IHTMLTableCaption { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -94960,14 +94960,14 @@ impl IHTMLTableCell { (::windows::core::Interface::vtable(self).SetrowSpan)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn rowSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rowSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcolSpan(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetcolSpan)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn colSpan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).colSpan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -94981,7 +94981,7 @@ impl IHTMLTableCell { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -94995,7 +94995,7 @@ impl IHTMLTableCell { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -95009,14 +95009,14 @@ impl IHTMLTableCell { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetnoWrap(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetnoWrap)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn noWrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).noWrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95030,7 +95030,7 @@ impl IHTMLTableCell { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn background(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).background)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -95044,7 +95044,7 @@ impl IHTMLTableCell { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -95058,7 +95058,7 @@ impl IHTMLTableCell { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColorLight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColorLight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -95072,7 +95072,7 @@ impl IHTMLTableCell { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColorDark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColorDark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -95086,7 +95086,7 @@ impl IHTMLTableCell { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -95100,11 +95100,11 @@ impl IHTMLTableCell { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn cellIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cellIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -95271,7 +95271,7 @@ impl IHTMLTableCell2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn abbr(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).abbr)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95285,7 +95285,7 @@ impl IHTMLTableCell2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn axis(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).axis)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95299,7 +95299,7 @@ impl IHTMLTableCell2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95313,7 +95313,7 @@ impl IHTMLTableCell2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95327,7 +95327,7 @@ impl IHTMLTableCell2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn headers(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).headers)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95341,7 +95341,7 @@ impl IHTMLTableCell2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn scope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -95477,7 +95477,7 @@ impl IHTMLTableCell3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95491,7 +95491,7 @@ impl IHTMLTableCell3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -95588,7 +95588,7 @@ impl IHTMLTableCol { (::windows::core::Interface::vtable(self).Setspan)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn span(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).span)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -95602,7 +95602,7 @@ impl IHTMLTableCol { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95616,7 +95616,7 @@ impl IHTMLTableCol { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95630,7 +95630,7 @@ impl IHTMLTableCol { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -95744,7 +95744,7 @@ impl IHTMLTableCol2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95758,7 +95758,7 @@ impl IHTMLTableCol2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -95862,7 +95862,7 @@ impl IHTMLTableCol3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95876,7 +95876,7 @@ impl IHTMLTableCol3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -95980,7 +95980,7 @@ impl IHTMLTableRow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -95994,7 +95994,7 @@ impl IHTMLTableRow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -96008,7 +96008,7 @@ impl IHTMLTableRow { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -96022,7 +96022,7 @@ impl IHTMLTableRow { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -96036,7 +96036,7 @@ impl IHTMLTableRow { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColorLight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColorLight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -96050,27 +96050,27 @@ impl IHTMLTableRow { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn borderColorDark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).borderColorDark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn rowIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rowIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn sectionRowIndex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).sectionRowIndex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cells(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cells)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn insertCell(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertCell)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteCell(&self, index: i32) -> ::windows::core::Result<()> { @@ -96220,7 +96220,7 @@ impl IHTMLTableRow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -96316,7 +96316,7 @@ impl IHTMLTableRow3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -96330,7 +96330,7 @@ impl IHTMLTableRow3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -96434,7 +96434,7 @@ impl IHTMLTableRow4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -96448,13 +96448,13 @@ impl IHTMLTableRow4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn insertCell(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertCell)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteCell(&self, index: i32) -> ::windows::core::Result<()> { @@ -96556,19 +96556,19 @@ pub struct IHTMLTableRowMetrics(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLTableRowMetrics { pub unsafe fn clientHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clientLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -96660,7 +96660,7 @@ impl IHTMLTableSection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -96674,7 +96674,7 @@ impl IHTMLTableSection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn vAlign(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).vAlign)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -96688,19 +96688,19 @@ impl IHTMLTableSection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn bgColor(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).bgColor)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn rows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn insertRow(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertRow)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteRow(&self, index: i32) -> ::windows::core::Result<()> { @@ -96816,7 +96816,7 @@ impl IHTMLTableSection2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn moveRow(&self, indexfrom: i32, indexto: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).moveRow)(::windows::core::Interface::as_raw(self), indexfrom, indexto, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -96908,7 +96908,7 @@ impl IHTMLTableSection3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -96922,7 +96922,7 @@ impl IHTMLTableSection3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -97026,7 +97026,7 @@ impl IHTMLTableSection4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn ch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -97040,13 +97040,13 @@ impl IHTMLTableSection4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn chOff(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).chOff)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn insertRow(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertRow)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deleteRow(&self, index: i32) -> ::windows::core::Result<()> { @@ -97150,7 +97150,7 @@ impl IHTMLTextAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -97164,7 +97164,7 @@ impl IHTMLTextAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -97178,7 +97178,7 @@ impl IHTMLTextAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -97192,20 +97192,20 @@ impl IHTMLTextAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setdisabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setdisabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn disabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).disabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn form(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).form)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -97219,7 +97219,7 @@ impl IHTMLTextAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn defaultValue(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultValue)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn select(&self) -> ::windows::core::Result<()> { @@ -97236,7 +97236,7 @@ impl IHTMLTextAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -97250,28 +97250,28 @@ impl IHTMLTextAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetreadOnly(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetreadOnly)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn readOnly(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readOnly)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setrows(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setrows)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn rows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setcols(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setcols)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn cols(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cols)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -97285,13 +97285,13 @@ impl IHTMLTextAreaElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn wrap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).wrap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createTextRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createTextRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -97449,14 +97449,14 @@ impl IHTMLTextAreaElement2 { (::windows::core::Interface::vtable(self).SetselectionStart)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectionStart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectionStart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetselectionEnd(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetselectionEnd)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectionEnd(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectionEnd)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn setSelectionRange(&self, start: i32, end: i32) -> ::windows::core::Result<()> { @@ -97544,29 +97544,29 @@ impl IHTMLTextContainer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createControlRange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createControlRange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn scrollHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn scrollWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscrollTop(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscrollTop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn scrollTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscrollLeft(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscrollLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn scrollLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -97580,7 +97580,7 @@ impl IHTMLTextContainer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onscroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onscroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -97749,27 +97749,27 @@ pub struct IHTMLTextRangeMetrics(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLTextRangeMetrics { pub unsafe fn offsetTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn offsetLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offsetLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn boundingTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boundingTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn boundingLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boundingLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn boundingWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boundingWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn boundingHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).boundingHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -97855,13 +97855,13 @@ impl IHTMLTextRangeMetrics2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getClientRects(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getClientRects)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getBoundingClientRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getBoundingClientRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -97947,15 +97947,15 @@ pub struct IHTMLTimeRanges(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLTimeRanges { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn start(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).start)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn end(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).end)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -98036,11 +98036,11 @@ pub struct IHTMLTimeRanges2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLTimeRanges2 { pub unsafe fn startDouble(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).startDouble)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn endDouble(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).endDouble)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -98130,7 +98130,7 @@ impl IHTMLTitleElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -98218,7 +98218,7 @@ impl IHTMLTxtRange { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn htmlText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).htmlText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98232,19 +98232,19 @@ impl IHTMLTxtRange { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn text(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).text)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn duplicate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).duplicate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -98253,7 +98253,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).inRange)(::windows::core::Interface::as_raw(self), range.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -98262,7 +98262,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isEqual)(::windows::core::Interface::as_raw(self), range.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn scrollIntoView(&self, fstart: i16) -> ::windows::core::Result<()> { @@ -98277,7 +98277,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).expand)(::windows::core::Interface::as_raw(self), unit.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98286,7 +98286,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#move)(::windows::core::Interface::as_raw(self), unit.into().abi(), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98295,7 +98295,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).moveStart)(::windows::core::Interface::as_raw(self), unit.into().abi(), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98304,7 +98304,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).moveEnd)(::windows::core::Interface::as_raw(self), unit.into().abi(), count, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn select(&self) -> ::windows::core::Result<()> { @@ -98342,7 +98342,7 @@ impl IHTMLTxtRange { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IHTMLTxtRange>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compareEndPoints)(::windows::core::Interface::as_raw(self), how.into().abi(), sourcerange.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98351,7 +98351,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).findText)(::windows::core::Interface::as_raw(self), string.into().abi(), count, flags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn moveToPoint(&self, x: i32, y: i32) -> ::windows::core::Result<()> { @@ -98360,7 +98360,7 @@ impl IHTMLTxtRange { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getBookmark(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getBookmark)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98369,7 +98369,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).moveToBookmark)(::windows::core::Interface::as_raw(self), bookmark.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98378,7 +98378,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandSupported)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98387,7 +98387,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandEnabled)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98396,7 +98396,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandState)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98405,7 +98405,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandIndeterm)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98414,7 +98414,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandText)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -98423,7 +98423,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).queryCommandValue)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -98433,7 +98433,7 @@ impl IHTMLTxtRange { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).execCommand)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), showui, value.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98442,7 +98442,7 @@ impl IHTMLTxtRange { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).execCommandShowHelp)(::windows::core::Interface::as_raw(self), cmdid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -98628,17 +98628,17 @@ pub struct IHTMLTxtRangeCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLTxtRangeCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -98725,7 +98725,7 @@ impl IHTMLUListElement { (::windows::core::Interface::vtable(self).Setcompact)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn compact(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).compact)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -98739,7 +98739,7 @@ impl IHTMLUListElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -98827,13 +98827,13 @@ pub struct IHTMLUniqueName(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLUniqueName { pub unsafe fn uniqueNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).uniqueNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn uniqueID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).uniqueID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -98989,13 +98989,13 @@ pub struct IHTMLUrnCollection(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLUrnCollection { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -99080,7 +99080,7 @@ impl IHTMLUserDataOM { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn XMLDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XMLDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -99105,7 +99105,7 @@ impl IHTMLUserDataOM { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAttribute)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99136,7 +99136,7 @@ impl IHTMLUserDataOM { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn expires(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).expires)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -99249,22 +99249,22 @@ impl IHTMLVideoElement { (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setheight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn videoWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).videoWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn videoHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).videoHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -99278,7 +99278,7 @@ impl IHTMLVideoElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn poster(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).poster)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -99372,17 +99372,17 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn item(&self, pvarindex: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.item)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pvarindex), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn frames(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frames)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -99396,7 +99396,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn defaultStatus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).defaultStatus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -99410,7 +99410,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99419,7 +99419,7 @@ impl IHTMLWindow2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setTimeout)(::windows::core::Interface::as_raw(self), expression.into().abi(), msec, ::core::mem::transmute(language), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clearTimeout(&self, timerid: i32) -> ::windows::core::Result<()> { @@ -99439,7 +99439,7 @@ impl IHTMLWindow2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).confirm)(::windows::core::Interface::as_raw(self), message.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99449,25 +99449,25 @@ impl IHTMLWindow2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).prompt)(::windows::core::Interface::as_raw(self), message.into().abi(), defstr.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn location(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).location)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn history(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).history)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn close(&self) -> ::windows::core::Result<()> { @@ -99484,13 +99484,13 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn opener(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).opener)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn navigator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).navigator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -99504,13 +99504,13 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn name(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).name)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -99521,25 +99521,25 @@ impl IHTMLWindow2 { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).open)(::windows::core::Interface::as_raw(self), url.into().abi(), name.into().abi(), features.into().abi(), replace, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn self_(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).self_)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn top(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).top)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn window(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).window)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -99561,7 +99561,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocus(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocus)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99575,7 +99575,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onblur(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onblur)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99589,7 +99589,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99603,7 +99603,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99617,7 +99617,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onunload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onunload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99631,7 +99631,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onhelp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onhelp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99645,7 +99645,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99659,7 +99659,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onresize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onresize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99673,23 +99673,23 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onscroll(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onscroll)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn document(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).document)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn _newEnum(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self)._newEnum)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99698,7 +99698,7 @@ impl IHTMLWindow2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).showModalDialog)(::windows::core::Interface::as_raw(self), dialog.into().abi(), ::core::mem::transmute(varargin), ::core::mem::transmute(varoptions), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99714,20 +99714,20 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn screen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Option(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Option)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn focus(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).focus)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn closed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).closed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn blur(&self) -> ::windows::core::Result<()> { @@ -99739,7 +99739,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn clientInformation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clientInformation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99748,7 +99748,7 @@ impl IHTMLWindow2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setInterval)(::windows::core::Interface::as_raw(self), expression.into().abi(), msec, ::core::mem::transmute(language), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clearInterval(&self, timerid: i32) -> ::windows::core::Result<()> { @@ -99765,7 +99765,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn offscreenBuffering(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offscreenBuffering)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -99775,13 +99775,13 @@ impl IHTMLWindow2 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).execScript)(::windows::core::Interface::as_raw(self), code.into().abi(), language.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn scrollBy(&self, x: i32, y: i32) -> ::windows::core::Result<()> { @@ -99805,7 +99805,7 @@ impl IHTMLWindow2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn external(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).external)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -100131,11 +100131,11 @@ pub struct IHTMLWindow3(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLWindow3 { pub unsafe fn screenLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn screenTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -100145,7 +100145,7 @@ impl IHTMLWindow3 { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).attachEvent)(::windows::core::Interface::as_raw(self), event.into().abi(), pdisp.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -100160,13 +100160,13 @@ impl IHTMLWindow3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn setTimeout(&self, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setTimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(expression), msec, ::core::mem::transmute(language), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn setInterval(&self, expression: *const super::super::System::Com::VARIANT, msec: i32, language: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).setInterval)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(expression), msec, ::core::mem::transmute(language), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn print(&self) -> ::windows::core::Result<()> { @@ -100183,7 +100183,7 @@ impl IHTMLWindow3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onbeforeprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onbeforeprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100197,13 +100197,13 @@ impl IHTMLWindow3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onafterprint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onafterprint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn clipboardData(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipboardData)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100212,7 +100212,7 @@ impl IHTMLWindow3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).showModelessDialog)(::windows::core::Interface::as_raw(self), url.into().abi(), ::core::mem::transmute(varargin), ::core::mem::transmute(options), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -100335,13 +100335,13 @@ impl IHTMLWindow4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn createPopup(&self, varargin: *const super::super::System::Com::VARIANT) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createPopup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(varargin), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn frameElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -100437,7 +100437,7 @@ impl IHTMLWindow5 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn XMLHttpRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XMLHttpRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -100533,19 +100533,19 @@ impl IHTMLWindow6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn XDomainRequest(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).XDomainRequest)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn sessionStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).sessionStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn localStorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).localStorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100559,11 +100559,11 @@ impl IHTMLWindow6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onhashchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onhashchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn maxConnectionsPerServer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maxConnectionsPerServer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100581,7 +100581,7 @@ impl IHTMLWindow6 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toStaticHTML)(::windows::core::Interface::as_raw(self), bstrhtml.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100595,7 +100595,7 @@ impl IHTMLWindow6 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmessage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmessage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -100728,7 +100728,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getSelection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getSelection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -100738,13 +100738,13 @@ impl IHTMLWindow7 { P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLDOMNode>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getComputedStyle)(::windows::core::Interface::as_raw(self), varargin.into().abi(), bstrpseudoelt.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn styleMedia(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).styleMedia)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100758,39 +100758,39 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn performance(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).performance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn innerWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).innerWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn innerHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).innerHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageXOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageXOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageYOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageYOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn screenX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn screenY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn outerWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outerWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn outerHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).outerHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100804,7 +100804,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onabort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onabort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100818,7 +100818,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncanplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncanplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100832,7 +100832,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncanplaythrough(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncanplaythrough)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100846,7 +100846,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100860,7 +100860,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100874,7 +100874,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oncontextmenu(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oncontextmenu)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100888,7 +100888,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondblclick(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondblclick)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100902,7 +100902,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondrag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondrag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100916,7 +100916,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100930,7 +100930,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100944,7 +100944,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100958,7 +100958,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100972,7 +100972,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondragstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondragstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -100986,7 +100986,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondrop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondrop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101000,7 +101000,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ondurationchange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ondurationchange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101014,7 +101014,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocusin(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocusin)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101028,7 +101028,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onfocusout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onfocusout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101042,7 +101042,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn oninput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).oninput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101056,7 +101056,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onemptied(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onemptied)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101070,7 +101070,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onended(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onended)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101084,7 +101084,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onkeydown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onkeydown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101098,7 +101098,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onkeypress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onkeypress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101112,7 +101112,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onkeyup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onkeyup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101126,7 +101126,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onloadeddata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onloadeddata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101140,7 +101140,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onloadedmetadata(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onloadedmetadata)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101154,7 +101154,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onloadstart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onloadstart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101168,7 +101168,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmousedown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmousedown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101182,7 +101182,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseenter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseenter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101196,7 +101196,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseleave(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseleave)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101210,7 +101210,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmousemove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmousemove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101224,7 +101224,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101238,7 +101238,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101252,7 +101252,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmouseup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmouseup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101266,7 +101266,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmousewheel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmousewheel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101280,7 +101280,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onoffline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onoffline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101294,7 +101294,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ononline(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ononline)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101308,7 +101308,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101322,7 +101322,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onratechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onratechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101336,7 +101336,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101350,7 +101350,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101364,7 +101364,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onseeked(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onseeked)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101378,7 +101378,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onseeking(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onseeking)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101392,7 +101392,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onselect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onselect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101406,7 +101406,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstalled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstalled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101420,7 +101420,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onstorage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onstorage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101434,7 +101434,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onsubmit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onsubmit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101448,7 +101448,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onsuspend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onsuspend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101462,7 +101462,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ontimeupdate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ontimeupdate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101476,7 +101476,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onpause(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onpause)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101490,7 +101490,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onplay(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onplay)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101504,7 +101504,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onplaying(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onplaying)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101518,7 +101518,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onvolumechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onvolumechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -101532,7 +101532,7 @@ impl IHTMLWindow7 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onwaiting(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onwaiting)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -102072,7 +102072,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerdown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerdown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102086,7 +102086,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointermove(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointermove)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102100,7 +102100,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerup(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerup)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102114,7 +102114,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102128,7 +102128,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102142,7 +102142,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointercancel(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointercancel)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102156,7 +102156,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmspointerhover(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmspointerhover)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102170,7 +102170,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturestart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturestart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102184,7 +102184,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102198,7 +102198,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgestureend(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgestureend)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102212,7 +102212,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturehold(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturehold)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102226,7 +102226,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturetap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturetap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102240,7 +102240,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsgesturedoubletap(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsgesturedoubletap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102254,13 +102254,13 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onmsinertiastart(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onmsinertiastart)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn applicationCache(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).applicationCache)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102274,7 +102274,7 @@ impl IHTMLWindow8 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onpopstate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onpopstate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -102478,20 +102478,20 @@ impl IHTMLXDomainRequest { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn responseText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Settimeout(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Settimeout)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn timeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).timeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn contentType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102505,7 +102505,7 @@ impl IHTMLXDomainRequest { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onprogress(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onprogress)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102519,7 +102519,7 @@ impl IHTMLXDomainRequest { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onerror(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onerror)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102533,7 +102533,7 @@ impl IHTMLXDomainRequest { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ontimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ontimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102547,7 +102547,7 @@ impl IHTMLXDomainRequest { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onload(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onload)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn abort(&self) -> ::windows::core::Result<()> { @@ -102698,7 +102698,7 @@ impl IHTMLXDomainRequestFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -102780,35 +102780,35 @@ pub struct IHTMLXMLHttpRequest(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLXMLHttpRequest { pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn responseBody(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseBody)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn responseText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn responseXML(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).responseXML)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn status(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).status)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn statusText(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).statusText)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -102822,7 +102822,7 @@ impl IHTMLXMLHttpRequest { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onreadystatechange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onreadystatechange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn abort(&self) -> ::windows::core::Result<()> { @@ -102851,7 +102851,7 @@ impl IHTMLXMLHttpRequest { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getAllResponseHeaders(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getAllResponseHeaders)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -102860,7 +102860,7 @@ impl IHTMLXMLHttpRequest { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getResponseHeader)(::windows::core::Interface::as_raw(self), bstrheader.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -102997,7 +102997,7 @@ impl IHTMLXMLHttpRequest2 { (::windows::core::Interface::vtable(self).Settimeout)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn timeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).timeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -103011,7 +103011,7 @@ impl IHTMLXMLHttpRequest2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn ontimeout(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ontimeout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -103101,7 +103101,7 @@ impl IHTMLXMLHttpRequestFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn create(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).create)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -103185,13 +103185,13 @@ impl IHeaderFooter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn htmlHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).htmlHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn htmlFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).htmlFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103205,7 +103205,7 @@ impl IHeaderFooter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103219,21 +103219,21 @@ impl IHeaderFooter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setpage(&self, v: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setpage)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn page(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).page)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpageTotal(&self, v: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpageTotal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pageTotal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageTotal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103247,7 +103247,7 @@ impl IHeaderFooter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103261,7 +103261,7 @@ impl IHeaderFooter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103275,7 +103275,7 @@ impl IHeaderFooter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dateShort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dateShort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103289,7 +103289,7 @@ impl IHeaderFooter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dateLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dateLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103303,7 +103303,7 @@ impl IHeaderFooter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn timeShort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).timeShort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103317,7 +103317,7 @@ impl IHeaderFooter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn timeLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).timeLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -103473,13 +103473,13 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn htmlHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.htmlHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn htmlFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.htmlFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103493,7 +103493,7 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.textHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103507,21 +103507,21 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn textFoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.textFoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setpage(&self, v: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Setpage)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn page(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.page)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpageTotal(&self, v: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetpageTotal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pageTotal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.pageTotal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103535,7 +103535,7 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103549,7 +103549,7 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn title(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.title)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103563,7 +103563,7 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dateShort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.dateShort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103577,7 +103577,7 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn dateLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.dateLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103591,7 +103591,7 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn timeShort(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.timeShort)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103605,7 +103605,7 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn timeLong(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.timeLong)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -103619,7 +103619,7 @@ impl IHeaderFooter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn font(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).font)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -103728,7 +103728,7 @@ impl IHighlightRenderingServices { P1: ::std::convert::Into<::windows::core::InParam<'a, IDisplayPointer>>, P2: ::std::convert::Into<::windows::core::InParam<'a, IHTMLRenderStyle>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSegment)(::windows::core::Interface::as_raw(self), pdisppointerstart.into().abi(), pdisppointerend.into().abi(), pirenderstyle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveSegmentToPointers<'a, P0, P1, P2>(&self, pisegment: P0, pdisppointerstart: P1, pdisppointerend: P2) -> ::windows::core::Result<()> @@ -103882,7 +103882,7 @@ impl IHomePage { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).isHomePage)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -103982,7 +103982,7 @@ impl IHomePageSetting { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsHomePage)(::windows::core::Interface::as_raw(self), uri.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetHomePageToBrowserDefault(&self) -> ::windows::core::Result<()> { @@ -104159,7 +104159,7 @@ impl IHtmlDlgSafeHelper { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).choosecolordlg)(::windows::core::Interface::as_raw(self), initcolor.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -104168,19 +104168,19 @@ impl IHtmlDlgSafeHelper { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getCharset)(::windows::core::Interface::as_raw(self), fontname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn Fonts(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Fonts)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn BlockFormats(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).BlockFormats)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -104352,7 +104352,7 @@ impl IIE70DispatchEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDispID)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), grfdex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -104379,25 +104379,25 @@ impl IIE70DispatchEx { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetMemberProperties(&self, id: i32, grfdexfetch: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMemberProperties)(::windows::core::Interface::as_raw(self), id, grfdexfetch, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetMemberName(&self, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMemberName)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetNextDispID(&self, grfdex: u32, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNextDispID)(::windows::core::Interface::as_raw(self), grfdex, id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetNameSpaceParent(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNameSpaceParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -104498,7 +104498,7 @@ impl IIE80DispatchEx { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetDispID)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), grfdex, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -104525,25 +104525,25 @@ impl IIE80DispatchEx { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetMemberProperties(&self, id: i32, grfdexfetch: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMemberProperties)(::windows::core::Interface::as_raw(self), id, grfdexfetch, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] pub unsafe fn GetMemberName(&self, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetMemberName)(::windows::core::Interface::as_raw(self), id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetNextDispID(&self, grfdex: u32, id: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNextDispID)(::windows::core::Interface::as_raw(self), grfdex, id, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetNameSpaceParent(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNameSpaceParent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -104642,7 +104642,7 @@ impl IIEWebDriverManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ExecuteCommand)(::windows::core::Interface::as_raw(self), command.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -104736,7 +104736,7 @@ impl IIEWebDriverSite { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCapabilityValue)(::windows::core::Interface::as_raw(self), punkwd.into().abi(), capname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -104820,7 +104820,7 @@ impl IIMEServices { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[cfg(feature = "Win32_UI_Input_Ime")] pub unsafe fn GetActiveIMM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActiveIMM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -104873,7 +104873,7 @@ pub struct IIMEServices_Vtbl { pub struct IImageDecodeEventSink(::windows::core::IUnknown); impl IImageDecodeEventSink { pub unsafe fn GetSurface(&self, nwidth: i32, nheight: i32, bfid: *const ::windows::core::GUID, npasses: u32, dwhints: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSurface)(::windows::core::Interface::as_raw(self), nwidth, nheight, ::core::mem::transmute(bfid), npasses, dwhints, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn OnBeginDecode(&self, pdwevents: *mut u32, pnformats: *mut u32, ppformats: *mut *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -104951,7 +104951,7 @@ pub struct IImageDecodeEventSink_Vtbl { pub struct IImageDecodeEventSink2(::windows::core::IUnknown); impl IImageDecodeEventSink2 { pub unsafe fn GetSurface(&self, nwidth: i32, nheight: i32, bfid: *const ::windows::core::GUID, npasses: u32, dwhints: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetSurface)(::windows::core::Interface::as_raw(self), nwidth, nheight, ::core::mem::transmute(bfid), npasses, dwhints, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn OnBeginDecode(&self, pdwevents: *mut u32, pnformats: *mut u32, ppformats: *mut *mut ::windows::core::GUID) -> ::windows::core::Result<()> { @@ -104977,7 +104977,7 @@ impl IImageDecodeEventSink2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsAlphaPremultRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAlphaPremultRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -105115,7 +105115,7 @@ pub struct IIntelliForms(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IIntelliForms { pub unsafe fn enabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).enabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setenabled(&self, bval: i16) -> ::windows::core::Result<()> { @@ -105250,7 +105250,7 @@ pub struct IInternetExplorerManager_Vtbl { pub struct IInternetExplorerManager2(::windows::core::IUnknown); impl IInternetExplorerManager2 { pub unsafe fn EnumFrameWindows(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumFrameWindows)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -105312,7 +105312,7 @@ impl ILayoutRect { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn nextRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -105326,21 +105326,21 @@ impl ILayoutRect { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn contentSrc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SethonorPageBreaks(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SethonorPageBreaks)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn honorPageBreaks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).honorPageBreaks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SethonorPageRules(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SethonorPageRules)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn honorPageRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).honorPageRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -105354,13 +105354,13 @@ impl ILayoutRect { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextRectElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextRectElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -105468,23 +105468,23 @@ pub struct ILayoutRect_Vtbl { pub struct ILineInfo(::windows::core::IUnknown); impl ILineInfo { pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn baseLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn textDescent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textDescent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn textHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn lineDirection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lineDirection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -105627,7 +105627,7 @@ impl IMarkupContainer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OwningDoc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OwningDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -105682,7 +105682,7 @@ impl IMarkupContainer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OwningDoc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OwningDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -105699,7 +105699,7 @@ impl IMarkupContainer2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLChangeSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).RegisterForDirtyRange)(::windows::core::Interface::as_raw(self), pchangesink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UnRegisterForDirtyRange(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -105718,7 +105718,7 @@ impl IMarkupContainer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMasterElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMasterElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -105796,11 +105796,11 @@ impl IMarkupPointer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OwningDoc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OwningDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Gravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Gravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGravity(&self, gravity: POINTER_GRAVITY) -> ::windows::core::Result<()> { @@ -105809,7 +105809,7 @@ impl IMarkupPointer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Cling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -105826,11 +105826,11 @@ impl IMarkupPointer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPositioned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsPositioned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -105875,7 +105875,7 @@ impl IMarkupPointer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentScope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CurrentScope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -105884,7 +105884,7 @@ impl IMarkupPointer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLeftOf)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -105893,7 +105893,7 @@ impl IMarkupPointer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsLeftOfOrEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -105902,7 +105902,7 @@ impl IMarkupPointer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRightOf)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -105911,7 +105911,7 @@ impl IMarkupPointer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsRightOfOrEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -105920,7 +105920,7 @@ impl IMarkupPointer { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveUnit(&self, muaction: MOVEUNIT_ACTION) -> ::windows::core::Result<()> { @@ -106045,11 +106045,11 @@ impl IMarkupPointer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn OwningDoc(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.OwningDoc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Gravity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Gravity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetGravity(&self, gravity: POINTER_GRAVITY) -> ::windows::core::Result<()> { @@ -106058,7 +106058,7 @@ impl IMarkupPointer2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Cling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Cling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -106075,11 +106075,11 @@ impl IMarkupPointer2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsPositioned(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsPositioned)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106124,7 +106124,7 @@ impl IMarkupPointer2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentScope(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CurrentScope)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -106133,7 +106133,7 @@ impl IMarkupPointer2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsLeftOf)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -106142,7 +106142,7 @@ impl IMarkupPointer2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsLeftOfOrEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -106151,7 +106151,7 @@ impl IMarkupPointer2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRightOf)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -106160,7 +106160,7 @@ impl IMarkupPointer2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsRightOfOrEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -106169,7 +106169,7 @@ impl IMarkupPointer2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsEqualTo)(::windows::core::Interface::as_raw(self), ppointerthat.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveUnit(&self, muaction: MOVEUNIT_ACTION) -> ::windows::core::Result<()> { @@ -106186,11 +106186,11 @@ impl IMarkupPointer2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsAtWordBreak(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsAtWordBreak)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetMarkupPosition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMarkupPosition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn MoveToMarkupPosition<'a, P0>(&self, pcontainer: P0, lmp: i32) -> ::windows::core::Result<()> @@ -106211,7 +106211,7 @@ impl IMarkupPointer2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsInsideURL)(::windows::core::Interface::as_raw(self), pright.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -106299,11 +106299,11 @@ pub struct IMarkupPointer2_Vtbl { pub struct IMarkupServices(::windows::core::IUnknown); impl IMarkupServices { pub unsafe fn CreateMarkupPointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMarkupPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMarkupContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateMarkupContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106312,7 +106312,7 @@ impl IMarkupServices { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateElement)(::windows::core::Interface::as_raw(self), tagid, pchattributes.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106321,7 +106321,7 @@ impl IMarkupServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CloneElement)(::windows::core::Interface::as_raw(self), pelemclonethis.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106393,7 +106393,7 @@ impl IMarkupServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsScopedElement)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106402,7 +106402,7 @@ impl IMarkupServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetElementTagId)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -106411,13 +106411,13 @@ impl IMarkupServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTagIDForName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNameForTagID(&self, tagid: ELEMENT_TAG_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNameForTagID)(::windows::core::Interface::as_raw(self), tagid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106545,11 +106545,11 @@ pub struct IMarkupServices_Vtbl { pub struct IMarkupServices2(::windows::core::IUnknown); impl IMarkupServices2 { pub unsafe fn CreateMarkupPointer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMarkupPointer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CreateMarkupContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateMarkupContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106558,7 +106558,7 @@ impl IMarkupServices2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateElement)(::windows::core::Interface::as_raw(self), tagid, pchattributes.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106567,7 +106567,7 @@ impl IMarkupServices2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CloneElement)(::windows::core::Interface::as_raw(self), pelemclonethis.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106639,7 +106639,7 @@ impl IMarkupServices2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsScopedElement)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106648,7 +106648,7 @@ impl IMarkupServices2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetElementTagId)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -106657,13 +106657,13 @@ impl IMarkupServices2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTagIDForName)(::windows::core::Interface::as_raw(self), bstrname.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetNameForTagID(&self, tagid: ELEMENT_TAG_ID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetNameForTagID)(::windows::core::Interface::as_raw(self), tagid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -106787,7 +106787,7 @@ pub struct IMarkupServices2_Vtbl { pub struct IMarkupTextFrags(::windows::core::IUnknown); impl IMarkupTextFrags { pub unsafe fn GetTextFragCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTextFragCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -106964,7 +106964,7 @@ impl INavigatorDoNotTrack { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn msDoNotTrack(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).msDoNotTrack)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -107048,7 +107048,7 @@ impl INavigatorGeolocation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn geolocation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).geolocation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -107130,7 +107130,7 @@ pub struct IOmHistory(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOmHistory { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -107238,111 +107238,111 @@ impl IOmNavigator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn appCodeName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appCodeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn appName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn appVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn userAgent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).userAgent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn javaEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).javaEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn taintEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).taintEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn mimeTypes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).mimeTypes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn plugins(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).plugins)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn cookieEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cookieEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn opsProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).opsProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn toString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).toString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn cpuClass(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cpuClass)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn systemLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).systemLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn browserLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).browserLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn userLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).userLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn platform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).platform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn appMinorVersion(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appMinorVersion)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn connectionSpeed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).connectionSpeed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn onLine(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onLine)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn userProfile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).userProfile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -107485,7 +107485,7 @@ impl IOpenService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -107500,7 +107500,7 @@ impl IOpenService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -107563,7 +107563,7 @@ impl IOpenServiceActivity { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsDefault(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsDefault)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -107578,7 +107578,7 @@ impl IOpenServiceActivity { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetID(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Execute<'a, P0, P1>(&self, pinput: P0, poutput: P1) -> ::windows::core::Result<()> @@ -107595,13 +107595,13 @@ impl IOpenServiceActivity { P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityOutputContext>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanExecute)(::windows::core::Interface::as_raw(self), pinput.into().abi(), poutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanExecuteType(&self, r#type: OpenServiceActivityContentType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanExecuteType)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Preview<'a, P0, P1>(&self, pinput: P0, poutput: P1) -> ::windows::core::Result<()> @@ -107618,13 +107618,13 @@ impl IOpenServiceActivity { P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityOutputContext>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanPreview)(::windows::core::Interface::as_raw(self), pinput.into().abi(), poutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn CanPreviewType(&self, r#type: OpenServiceActivityContentType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanPreviewType)(::windows::core::Interface::as_raw(self), r#type, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -107633,37 +107633,37 @@ impl IOpenServiceActivity { where P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetStatusText)(::windows::core::Interface::as_raw(self), pinput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetHomepageUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHomepageUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDisplayName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDisplayName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetCategoryName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategoryName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetIconPath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIconPath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -107672,31 +107672,31 @@ impl IOpenServiceActivity { where P0: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetIcon)(::windows::core::Interface::as_raw(self), fsmallicon.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDescriptionFilePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescriptionFilePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDownloadUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDownloadUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetInstallUrl(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetInstallUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -107836,11 +107836,11 @@ impl IOpenServiceActivityCategory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn HasDefaultActivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasDefaultActivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDefaultActivity(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDefaultActivity)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -107855,7 +107855,7 @@ impl IOpenServiceActivityCategory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActivityEnumerator<'a, P0, P1>(&self, pinput: P0, poutput: P1) -> ::windows::core::Result @@ -107863,7 +107863,7 @@ impl IOpenServiceActivityCategory { P0: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityInput>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IOpenServiceActivityOutputContext>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivityEnumerator)(::windows::core::Interface::as_raw(self), pinput.into().abi(), poutput.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -107932,7 +107932,7 @@ impl IOpenServiceActivityInput { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVariable)(::windows::core::Interface::as_raw(self), pwzvariablename.into(), pwzvariabletype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -107942,11 +107942,11 @@ impl IOpenServiceActivityInput { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).HasVariable)(::windows::core::Interface::as_raw(self), pwzvariablename.into(), pwzvariabletype.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -108004,14 +108004,14 @@ pub struct IOpenServiceActivityInput_Vtbl { pub struct IOpenServiceActivityManager(::windows::core::IUnknown); impl IOpenServiceActivityManager { pub unsafe fn GetCategoryEnumerator(&self, etype: OpenServiceActivityContentType) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCategoryEnumerator)(::windows::core::Interface::as_raw(self), etype, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActivityByID<'a, P0>(&self, pwzactivityid: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivityByID)(::windows::core::Interface::as_raw(self), pwzactivityid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetActivityByHomepageAndCategory<'a, P0, P1>(&self, pwzhomepage: P0, pwzcategory: P1) -> ::windows::core::Result @@ -108019,11 +108019,11 @@ impl IOpenServiceActivityManager { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetActivityByHomepageAndCategory)(::windows::core::Interface::as_raw(self), pwzhomepage.into(), pwzcategory.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetVersionCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetVersionCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -108095,7 +108095,7 @@ impl IOpenServiceActivityOutputContext { P2: ::std::convert::Into<::windows::core::PCWSTR>, P3: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IStream>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CanNavigate)(::windows::core::Interface::as_raw(self), pwzuri.into(), pwzmethod.into(), pwzheaders.into(), ppostdata.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -108155,7 +108155,7 @@ impl IOpenServiceManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).InstallService)(::windows::core::Interface::as_raw(self), pwzserviceurl.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn UninstallService<'a, P0>(&self, pservice: P0) -> ::windows::core::Result<()> @@ -108168,7 +108168,7 @@ impl IOpenServiceManager { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetServiceByID)(::windows::core::Interface::as_raw(self), pwzid.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -108268,7 +108268,7 @@ impl IPersistHistory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetClassID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -108292,7 +108292,7 @@ impl IPersistHistory { (::windows::core::Interface::vtable(self).SetPositionCookie)(::windows::core::Interface::as_raw(self), dwpositioncookie).ok() } pub unsafe fn GetPositionCookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPositionCookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -108402,7 +108402,7 @@ impl IPrintManagerTemplatePrinter { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPrintTaskOptionValue)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn endPrint(&self) -> ::windows::core::Result<()> { @@ -108517,22 +108517,22 @@ impl IPrintManagerTemplatePrinter2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.getPrintTaskOptionValue)(::windows::core::Interface::as_raw(self), bstrkey.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn endPrint(&self) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.endPrint)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn showHeaderFooter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).showHeaderFooter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn shrinkToFit(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).shrinkToFit)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn percentScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).percentScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -108738,13 +108738,13 @@ impl IRangeException { (::windows::core::Interface::vtable(self).Setcode)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -108830,19 +108830,19 @@ impl IRulesApplied { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn element(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).element)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn inlineStyles(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).inlineStyles)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn appliedRules(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appliedRules)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -108851,7 +108851,7 @@ impl IRulesApplied { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyIsInline)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -108860,11 +108860,11 @@ impl IRulesApplied { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyIsInheritable)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn hasInheritableProperty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasInheritableProperty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -108965,17 +108965,17 @@ impl IRulesAppliedCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn element(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).element)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -108984,17 +108984,17 @@ impl IRulesAppliedCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyInheritedFrom)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn propertyCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn property(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).property)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -109003,7 +109003,7 @@ impl IRulesAppliedCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyInheritedTrace)(::windows::core::Interface::as_raw(self), name.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -109012,7 +109012,7 @@ impl IRulesAppliedCollection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).propertyInheritedTraceLength)(::windows::core::Interface::as_raw(self), name.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -109126,7 +109126,7 @@ impl ISVGAElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn target(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).target)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -109215,21 +109215,21 @@ impl ISVGAngle { (::windows::core::Interface::vtable(self).SetunitType)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn unitType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unitType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setvalue(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetvalueInSpecifiedUnits(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetvalueInSpecifiedUnits)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn valueInSpecifiedUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).valueInSpecifiedUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -109243,7 +109243,7 @@ impl ISVGAngle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn valueAsString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).valueAsString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn newValueSpecifiedUnits(&self, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::Result<()> { @@ -109353,7 +109353,7 @@ impl ISVGAnimatedAngle { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -109367,7 +109367,7 @@ impl ISVGAnimatedAngle { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -109464,14 +109464,14 @@ impl ISVGAnimatedBoolean { (::windows::core::Interface::vtable(self).SetbaseVal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetanimVal(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetanimVal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -109556,14 +109556,14 @@ impl ISVGAnimatedEnumeration { (::windows::core::Interface::vtable(self).SetbaseVal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetanimVal(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetanimVal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -109648,14 +109648,14 @@ impl ISVGAnimatedInteger { (::windows::core::Interface::vtable(self).SetbaseVal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetanimVal(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetanimVal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -109747,7 +109747,7 @@ impl ISVGAnimatedLength { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -109761,7 +109761,7 @@ impl ISVGAnimatedLength { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -109865,7 +109865,7 @@ impl ISVGAnimatedLengthList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -109879,7 +109879,7 @@ impl ISVGAnimatedLengthList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -109976,14 +109976,14 @@ impl ISVGAnimatedNumber { (::windows::core::Interface::vtable(self).SetbaseVal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetanimVal(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetanimVal)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -110075,7 +110075,7 @@ impl ISVGAnimatedNumberList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110089,7 +110089,7 @@ impl ISVGAnimatedNumberList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -110193,7 +110193,7 @@ impl ISVGAnimatedPathData { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn pathSegList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pathSegList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110207,7 +110207,7 @@ impl ISVGAnimatedPathData { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn normalizedPathSegList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).normalizedPathSegList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110221,7 +110221,7 @@ impl ISVGAnimatedPathData { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animatedPathSegList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animatedPathSegList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110235,7 +110235,7 @@ impl ISVGAnimatedPathData { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animatedNormalizedPathSegList(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animatedNormalizedPathSegList)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -110355,7 +110355,7 @@ impl ISVGAnimatedPoints { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn points(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).points)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110369,7 +110369,7 @@ impl ISVGAnimatedPoints { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animatedPoints(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animatedPoints)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -110473,7 +110473,7 @@ impl ISVGAnimatedPreserveAspectRatio { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110487,7 +110487,7 @@ impl ISVGAnimatedPreserveAspectRatio { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -110591,7 +110591,7 @@ impl ISVGAnimatedRect { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110605,7 +110605,7 @@ impl ISVGAnimatedRect { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -110709,13 +110709,13 @@ impl ISVGAnimatedString { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -110815,7 +110815,7 @@ impl ISVGAnimatedTransformList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).baseVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110829,7 +110829,7 @@ impl ISVGAnimatedTransformList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animVal(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animVal)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -110933,7 +110933,7 @@ impl ISVGCircleElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110947,7 +110947,7 @@ impl ISVGCircleElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -110961,7 +110961,7 @@ impl ISVGCircleElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn r(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -111073,7 +111073,7 @@ impl ISVGClipPathElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn clipPathUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).clipPathUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -111307,7 +111307,7 @@ impl ISVGDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn rootElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rootElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -111399,7 +111399,7 @@ impl ISVGElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn xmlbase(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).xmlbase)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -111413,7 +111413,7 @@ impl ISVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerSVGElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ownerSVGElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -111427,7 +111427,7 @@ impl ISVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn viewportElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).viewportElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -111441,7 +111441,7 @@ impl ISVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn focusable(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).focusable)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -111553,49 +111553,49 @@ impl ISVGElementInstance { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn correspondingElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).correspondingElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn correspondingUseElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).correspondingUseElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).parentNode)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).childNodes)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).firstChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lastChild)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nextSibling)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -111705,13 +111705,13 @@ pub struct ISVGElementInstanceList(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISVGElementInstanceList { pub unsafe fn length(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).length)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).item)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -111804,7 +111804,7 @@ impl ISVGEllipseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -111818,7 +111818,7 @@ impl ISVGEllipseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -111832,7 +111832,7 @@ impl ISVGEllipseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn rx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -111846,7 +111846,7 @@ impl ISVGEllipseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -111959,13 +111959,13 @@ impl ISVGException { (::windows::core::Interface::vtable(self).Setcode)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -112051,7 +112051,7 @@ impl ISVGExternalResourcesRequired { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn externalResourcesRequired(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).externalResourcesRequired)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -112135,7 +112135,7 @@ impl ISVGFitToViewBox { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn viewBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).viewBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -112149,7 +112149,7 @@ impl ISVGFitToViewBox { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn preserveAspectRatio(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).preserveAspectRatio)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -112322,7 +112322,7 @@ impl ISVGGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn gradientUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).gradientUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -112336,7 +112336,7 @@ impl ISVGGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn gradientTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).gradientTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -112350,7 +112350,7 @@ impl ISVGGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn spreadMethod(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).spreadMethod)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -112462,7 +112462,7 @@ impl ISVGImageElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -112476,7 +112476,7 @@ impl ISVGImageElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -112490,7 +112490,7 @@ impl ISVGImageElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -112504,7 +112504,7 @@ impl ISVGImageElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -112624,7 +112624,7 @@ impl ISVGLangSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn xmllang(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).xmllang)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -112638,7 +112638,7 @@ impl ISVGLangSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn xmlspace(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).xmlspace)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -112735,21 +112735,21 @@ impl ISVGLength { (::windows::core::Interface::vtable(self).SetunitType)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn unitType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unitType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setvalue(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetvalueInSpecifiedUnits(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetvalueInSpecifiedUnits)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn valueInSpecifiedUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).valueInSpecifiedUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -112763,7 +112763,7 @@ impl ISVGLength { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn valueAsString(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).valueAsString)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn newValueSpecifiedUnits(&self, unittype: i16, valueinspecifiedunits: f32) -> ::windows::core::Result<()> { @@ -112866,7 +112866,7 @@ impl ISVGLengthList { (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clear(&self) -> ::windows::core::Result<()> { @@ -112878,13 +112878,13 @@ impl ISVGLengthList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -112893,7 +112893,7 @@ impl ISVGLengthList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -112902,13 +112902,13 @@ impl ISVGLengthList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -112917,7 +112917,7 @@ impl ISVGLengthList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGLength>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -113032,7 +113032,7 @@ impl ISVGLineElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113046,7 +113046,7 @@ impl ISVGLineElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113060,7 +113060,7 @@ impl ISVGLineElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113074,7 +113074,7 @@ impl ISVGLineElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -113194,7 +113194,7 @@ impl ISVGLinearGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113208,7 +113208,7 @@ impl ISVGLinearGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113222,7 +113222,7 @@ impl ISVGLinearGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113236,7 +113236,7 @@ impl ISVGLinearGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -113348,31 +113348,31 @@ impl ISVGLocatable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn nearestViewportElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).nearestViewportElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn farthestViewportElement(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).farthestViewportElement)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getBBox(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getBBox)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getCTM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getCTM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getScreenCTM(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getScreenCTM)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113381,7 +113381,7 @@ impl ISVGLocatable { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getTransformToElement)(::windows::core::Interface::as_raw(self), pelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -113493,7 +113493,7 @@ impl ISVGMarkerElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn refX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).refX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113507,7 +113507,7 @@ impl ISVGMarkerElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn refY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).refY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113521,7 +113521,7 @@ impl ISVGMarkerElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn markerUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).markerUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113535,7 +113535,7 @@ impl ISVGMarkerElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn markerWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).markerWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113549,7 +113549,7 @@ impl ISVGMarkerElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn markerHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).markerHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113563,7 +113563,7 @@ impl ISVGMarkerElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn orientType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).orientType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113577,7 +113577,7 @@ impl ISVGMarkerElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn orientAngle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).orientAngle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn setOrientToAuto(&self) -> ::windows::core::Result<()> { @@ -113737,7 +113737,7 @@ impl ISVGMaskElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn maskUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maskUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113751,7 +113751,7 @@ impl ISVGMaskElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn maskContentUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).maskContentUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113765,7 +113765,7 @@ impl ISVGMaskElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113779,7 +113779,7 @@ impl ISVGMaskElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113793,7 +113793,7 @@ impl ISVGMaskElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113807,7 +113807,7 @@ impl ISVGMaskElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -113936,42 +113936,42 @@ impl ISVGMatrix { (::windows::core::Interface::vtable(self).Seta)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn a(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).a)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setb(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setb)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn b(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).b)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setc(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setc)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn c(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).c)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setd(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setd)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn d(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).d)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sete(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sete)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn e(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).e)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setf(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setf)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn f(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).f)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -113980,67 +113980,67 @@ impl ISVGMatrix { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).multiply)(::windows::core::Interface::as_raw(self), secondmatrix.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn inverse(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).inverse)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn translate(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).translate)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn scale(&self, scalefactor: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scale)(::windows::core::Interface::as_raw(self), scalefactor, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn scaleNonUniform(&self, scalefactorx: f32, scalefactory: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scaleNonUniform)(::windows::core::Interface::as_raw(self), scalefactorx, scalefactory, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn rotate(&self, angle: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rotate)(::windows::core::Interface::as_raw(self), angle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn rotateFromVector(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rotateFromVector)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn flipX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).flipX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn flipY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).flipY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn skewX(&self, angle: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).skewX)(::windows::core::Interface::as_raw(self), angle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn skewY(&self, angle: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).skewY)(::windows::core::Interface::as_raw(self), angle, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -114250,7 +114250,7 @@ impl ISVGNumber { (::windows::core::Interface::vtable(self).Setvalue)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn value(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).value)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -114333,7 +114333,7 @@ impl ISVGNumberList { (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clear(&self) -> ::windows::core::Result<()> { @@ -114345,13 +114345,13 @@ impl ISVGNumberList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumber>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -114360,7 +114360,7 @@ impl ISVGNumberList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumber>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -114369,13 +114369,13 @@ impl ISVGNumberList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumber>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -114384,7 +114384,7 @@ impl ISVGNumberList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGNumber>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -114572,135 +114572,135 @@ impl ISVGPathElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn pathLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pathLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getTotalLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getTotalLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getPointAtLength(&self, fltdistance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPointAtLength)(::windows::core::Interface::as_raw(self), fltdistance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getPathSegAtLength(&self, fltdistance: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPathSegAtLength)(::windows::core::Interface::as_raw(self), fltdistance, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegClosePath(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegClosePath)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegMovetoAbs(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegMovetoAbs)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegMovetoRel(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegMovetoRel)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegLinetoAbs(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegLinetoAbs)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegLinetoRel(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegLinetoRel)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegCurvetoCubicAbs(&self, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoCubicAbs)(::windows::core::Interface::as_raw(self), x, y, x1, y1, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegCurvetoCubicRel(&self, x: f32, y: f32, x1: f32, y1: f32, x2: f32, y2: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoCubicRel)(::windows::core::Interface::as_raw(self), x, y, x1, y1, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegCurvetoQuadraticAbs(&self, x: f32, y: f32, x1: f32, y1: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoQuadraticAbs)(::windows::core::Interface::as_raw(self), x, y, x1, y1, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegCurvetoQuadraticRel(&self, x: f32, y: f32, x1: f32, y1: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoQuadraticRel)(::windows::core::Interface::as_raw(self), x, y, x1, y1, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegArcAbs(&self, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegArcAbs)(::windows::core::Interface::as_raw(self), x, y, r1, r2, angle, largearcflag, sweepflag, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegArcRel(&self, x: f32, y: f32, r1: f32, r2: f32, angle: f32, largearcflag: i16, sweepflag: i16) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegArcRel)(::windows::core::Interface::as_raw(self), x, y, r1, r2, angle, largearcflag, sweepflag, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegLinetoHorizontalAbs(&self, x: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegLinetoHorizontalAbs)(::windows::core::Interface::as_raw(self), x, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegLinetoHorizontalRel(&self, x: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegLinetoHorizontalRel)(::windows::core::Interface::as_raw(self), x, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegLinetoVerticalAbs(&self, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegLinetoVerticalAbs)(::windows::core::Interface::as_raw(self), y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegLinetoVerticalRel(&self, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegLinetoVerticalRel)(::windows::core::Interface::as_raw(self), y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegCurvetoCubicSmoothAbs(&self, x: f32, y: f32, x2: f32, y2: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoCubicSmoothAbs)(::windows::core::Interface::as_raw(self), x, y, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegCurvetoCubicSmoothRel(&self, x: f32, y: f32, x2: f32, y2: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoCubicSmoothRel)(::windows::core::Interface::as_raw(self), x, y, x2, y2, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegCurvetoQuadraticSmoothAbs(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoQuadraticSmoothAbs)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPathSegCurvetoQuadraticSmoothRel(&self, x: f32, y: f32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPathSegCurvetoQuadraticSmoothRel)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -114871,13 +114871,13 @@ impl ISVGPathSeg { (::windows::core::Interface::vtable(self).SetpathSegType)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pathSegType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pathSegType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn pathSegTypeAsLetter(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pathSegTypeAsLetter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -114964,49 +114964,49 @@ impl ISVGPathSegArcAbs { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setr1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setr1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn r1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setr2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setr2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn r2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setangle(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setangle)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn angle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).angle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetlargeArcFlag(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetlargeArcFlag)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn largeArcFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).largeArcFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetsweepFlag(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetsweepFlag)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn sweepFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).sweepFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -115101,49 +115101,49 @@ impl ISVGPathSegArcRel { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setr1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setr1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn r1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setr2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setr2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn r2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setangle(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setangle)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn angle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).angle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetlargeArcFlag(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetlargeArcFlag)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn largeArcFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).largeArcFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetsweepFlag(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetsweepFlag)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn sweepFlag(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).sweepFlag)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -115311,42 +115311,42 @@ impl ISVGPathSegCurvetoCubicAbs { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setx1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setx1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setx2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setx2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -115439,42 +115439,42 @@ impl ISVGPathSegCurvetoCubicRel { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setx1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setx1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setx2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setx2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -115567,28 +115567,28 @@ impl ISVGPathSegCurvetoCubicSmoothAbs { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setx2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setx2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -115677,28 +115677,28 @@ impl ISVGPathSegCurvetoCubicSmoothRel { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setx2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setx2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety2(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety2)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y2(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y2)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -115787,28 +115787,28 @@ impl ISVGPathSegCurvetoQuadraticAbs { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setx1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setx1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -115897,28 +115897,28 @@ impl ISVGPathSegCurvetoQuadraticRel { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setx1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setx1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety1(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety1)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y1(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y1)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116007,14 +116007,14 @@ impl ISVGPathSegCurvetoQuadraticSmoothAbs { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116099,14 +116099,14 @@ impl ISVGPathSegCurvetoQuadraticSmoothRel { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116191,14 +116191,14 @@ impl ISVGPathSegLinetoAbs { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116283,7 +116283,7 @@ impl ISVGPathSegLinetoHorizontalAbs { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116366,7 +116366,7 @@ impl ISVGPathSegLinetoHorizontalRel { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116449,14 +116449,14 @@ impl ISVGPathSegLinetoRel { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116541,7 +116541,7 @@ impl ISVGPathSegLinetoVerticalAbs { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116624,7 +116624,7 @@ impl ISVGPathSegLinetoVerticalRel { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116707,7 +116707,7 @@ impl ISVGPathSegList { (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clear(&self) -> ::windows::core::Result<()> { @@ -116719,13 +116719,13 @@ impl ISVGPathSegList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSeg>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -116734,7 +116734,7 @@ impl ISVGPathSegList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSeg>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -116743,13 +116743,13 @@ impl ISVGPathSegList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSeg>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -116758,7 +116758,7 @@ impl ISVGPathSegList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPathSeg>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116866,14 +116866,14 @@ impl ISVGPathSegMovetoAbs { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -116958,14 +116958,14 @@ impl ISVGPathSegMovetoRel { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -117057,7 +117057,7 @@ impl ISVGPatternElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn patternUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).patternUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117071,7 +117071,7 @@ impl ISVGPatternElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn patternContentUnits(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).patternContentUnits)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117085,7 +117085,7 @@ impl ISVGPatternElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn patternTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).patternTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117099,7 +117099,7 @@ impl ISVGPatternElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117113,7 +117113,7 @@ impl ISVGPatternElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117127,7 +117127,7 @@ impl ISVGPatternElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117141,7 +117141,7 @@ impl ISVGPatternElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -117278,14 +117278,14 @@ impl ISVGPoint { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117294,7 +117294,7 @@ impl ISVGPoint { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).matrixTransform)(::windows::core::Interface::as_raw(self), pmatrix.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -117383,7 +117383,7 @@ impl ISVGPointList { (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clear(&self) -> ::windows::core::Result<()> { @@ -117395,13 +117395,13 @@ impl ISVGPointList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), pnewitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117410,7 +117410,7 @@ impl ISVGPointList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), pnewitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117419,13 +117419,13 @@ impl ISVGPointList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), pnewitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117434,7 +117434,7 @@ impl ISVGPointList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), pnewitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -117688,14 +117688,14 @@ impl ISVGPreserveAspectRatio { (::windows::core::Interface::vtable(self).Setalign)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn align(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).align)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmeetOrSlice(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmeetOrSlice)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn meetOrSlice(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).meetOrSlice)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -117787,7 +117787,7 @@ impl ISVGRadialGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117801,7 +117801,7 @@ impl ISVGRadialGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn cy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).cy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117815,7 +117815,7 @@ impl ISVGRadialGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn r(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117829,7 +117829,7 @@ impl ISVGRadialGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn fx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -117843,7 +117843,7 @@ impl ISVGRadialGradientElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn fy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).fy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -117964,28 +117964,28 @@ impl ISVGRect { (::windows::core::Interface::vtable(self).Setx)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Sety(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Sety)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setwidth(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setwidth)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setheight(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setheight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -118081,7 +118081,7 @@ impl ISVGRectElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118095,7 +118095,7 @@ impl ISVGRectElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118109,7 +118109,7 @@ impl ISVGRectElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118123,7 +118123,7 @@ impl ISVGRectElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118137,7 +118137,7 @@ impl ISVGRectElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn rx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118151,7 +118151,7 @@ impl ISVGRectElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn ry(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ry)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -118287,7 +118287,7 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118301,7 +118301,7 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118315,7 +118315,7 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118329,7 +118329,7 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -118343,7 +118343,7 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn contentScriptType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentScriptType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -118357,7 +118357,7 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn contentStyleType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).contentStyleType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118371,42 +118371,42 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn viewport(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).viewport)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelUnitToMillimeterX(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelUnitToMillimeterX)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelUnitToMillimeterX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelUnitToMillimeterX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpixelUnitToMillimeterY(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpixelUnitToMillimeterY)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pixelUnitToMillimeterY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pixelUnitToMillimeterY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscreenPixelToMillimeterX(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscreenPixelToMillimeterX)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn screenPixelToMillimeterX(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenPixelToMillimeterX)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetscreenPixelToMillimeterY(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetscreenPixelToMillimeterY)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn screenPixelToMillimeterY(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).screenPixelToMillimeterY)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetuseCurrentView(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetuseCurrentView)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn useCurrentView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).useCurrentView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118420,14 +118420,14 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentView(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentView)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcurrentScale(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetcurrentScale)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn currentScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118441,11 +118441,11 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentTranslate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentTranslate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn suspendRedraw(&self, maxwaitmilliseconds: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).suspendRedraw)(::windows::core::Interface::as_raw(self), maxwaitmilliseconds, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unsuspendRedraw(&self, suspendhandeid: u32) -> ::windows::core::Result<()> { @@ -118464,11 +118464,11 @@ impl ISVGSVGElement { (::windows::core::Interface::vtable(self).unpauseAnimations)(::windows::core::Interface::as_raw(self)).ok() } pub unsafe fn animationsPaused(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animationsPaused)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getCurrentTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getCurrentTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn setCurrentTime(&self, seconds: f32) -> ::windows::core::Result<()> { @@ -118481,7 +118481,7 @@ impl ISVGSVGElement { P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getIntersectionList)(::windows::core::Interface::as_raw(self), rect.into().abi(), referenceelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -118491,7 +118491,7 @@ impl ISVGSVGElement { P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getEnclosureList)(::windows::core::Interface::as_raw(self), rect.into().abi(), referenceelement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118501,7 +118501,7 @@ impl ISVGSVGElement { P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).checkIntersection)(::windows::core::Interface::as_raw(self), element.into().abi(), rect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118511,7 +118511,7 @@ impl ISVGSVGElement { P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGElement>>, P1: ::std::convert::Into<::windows::core::InParam<'a, ISVGRect>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).checkEnclosure)(::windows::core::Interface::as_raw(self), element.into().abi(), rect.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn deselectAll(&self) -> ::windows::core::Result<()> { @@ -118520,43 +118520,43 @@ impl ISVGSVGElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGNumber(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGNumber)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGAngle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGAngle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGPoint(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGPoint)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGMatrix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGMatrix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn createSVGTransform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGTransform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -118565,7 +118565,7 @@ impl ISVGSVGElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGTransformFromMatrix)(::windows::core::Interface::as_raw(self), matrix.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -118574,7 +118574,7 @@ impl ISVGSVGElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getElementById)(::windows::core::Interface::as_raw(self), elementid.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -118808,7 +118808,7 @@ impl ISVGScriptElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -118904,7 +118904,7 @@ impl ISVGStopElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn offset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).offset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -118993,7 +118993,7 @@ impl ISVGStringList { (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clear(&self) -> ::windows::core::Result<()> { @@ -119005,13 +119005,13 @@ impl ISVGStringList { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -119020,7 +119020,7 @@ impl ISVGStringList { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -119029,13 +119029,13 @@ impl ISVGStringList { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -119044,7 +119044,7 @@ impl ISVGStringList { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -119151,7 +119151,7 @@ impl ISVGStylable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn className(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).className)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -119243,7 +119243,7 @@ impl ISVGStyleElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -119257,7 +119257,7 @@ impl ISVGStyleElement { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn media(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).media)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -119572,19 +119572,19 @@ impl ISVGTests { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn requiredFeatures(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).requiredFeatures)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn requiredExtensions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).requiredExtensions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn systemLanguage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).systemLanguage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -119593,7 +119593,7 @@ impl ISVGTests { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).hasExtension)(::windows::core::Interface::as_raw(self), extension.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -119697,7 +119697,7 @@ impl ISVGTextContentElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn textLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).textLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -119711,41 +119711,41 @@ impl ISVGTextContentElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn lengthAdjust(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).lengthAdjust)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getNumberOfChars(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getNumberOfChars)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getComputedTextLength(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getComputedTextLength)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getSubStringLength(&self, charnum: i32, nchars: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getSubStringLength)(::windows::core::Interface::as_raw(self), charnum, nchars, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getStartPositionOfChar(&self, charnum: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getStartPositionOfChar)(::windows::core::Interface::as_raw(self), charnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getEndPositionOfChar(&self, charnum: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getEndPositionOfChar)(::windows::core::Interface::as_raw(self), charnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getExtentOfChar(&self, charnum: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getExtentOfChar)(::windows::core::Interface::as_raw(self), charnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn getRotationOfChar(&self, charnum: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getRotationOfChar)(::windows::core::Interface::as_raw(self), charnum, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -119754,7 +119754,7 @@ impl ISVGTextContentElement { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGPoint>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getCharNumAtPosition)(::windows::core::Interface::as_raw(self), point.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn selectSubString(&self, charnum: i32, nchars: i32) -> ::windows::core::Result<()> { @@ -119955,7 +119955,7 @@ impl ISVGTextPathElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn startOffset(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).startOffset)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -119969,7 +119969,7 @@ impl ISVGTextPathElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn method(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).method)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -119983,7 +119983,7 @@ impl ISVGTextPathElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn spacing(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).spacing)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -120095,7 +120095,7 @@ impl ISVGTextPositioningElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120109,7 +120109,7 @@ impl ISVGTextPositioningElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120123,7 +120123,7 @@ impl ISVGTextPositioningElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn dx(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dx)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120137,7 +120137,7 @@ impl ISVGTextPositioningElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn dy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).dy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120151,7 +120151,7 @@ impl ISVGTextPositioningElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn rotate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).rotate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -120345,7 +120345,7 @@ impl ISVGTransform { (::windows::core::Interface::vtable(self).Settype)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn r#type(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).r#type)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120359,14 +120359,14 @@ impl ISVGTransform { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn matrix(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).matrix)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setangle(&self, v: f32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setangle)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn angle(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).angle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120491,7 +120491,7 @@ impl ISVGTransformList { (::windows::core::Interface::vtable(self).SetnumberOfItems)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn numberOfItems(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).numberOfItems)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clear(&self) -> ::windows::core::Result<()> { @@ -120503,13 +120503,13 @@ impl ISVGTransformList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransform>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).initialize)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn getItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120518,7 +120518,7 @@ impl ISVGTransformList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransform>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).insertItemBefore)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120527,13 +120527,13 @@ impl ISVGTransformList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransform>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).replaceItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn removeItem(&self, index: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).removeItem)(::windows::core::Interface::as_raw(self), index, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120542,7 +120542,7 @@ impl ISVGTransformList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGTransform>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).appendItem)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120551,13 +120551,13 @@ impl ISVGTransformList { where P0: ::std::convert::Into<::windows::core::InParam<'a, ISVGMatrix>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).createSVGTransformFromMatrix)(::windows::core::Interface::as_raw(self), newitem.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn consolidate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).consolidate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -120672,7 +120672,7 @@ impl ISVGTransformable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn transform(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).transform)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -120756,7 +120756,7 @@ impl ISVGURIReference { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn href(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).href)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -120848,7 +120848,7 @@ impl ISVGUseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn x(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).x)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120862,7 +120862,7 @@ impl ISVGUseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn y(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).y)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120876,7 +120876,7 @@ impl ISVGUseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn width(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).width)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120890,7 +120890,7 @@ impl ISVGUseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn height(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).height)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120904,7 +120904,7 @@ impl ISVGUseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn instanceRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).instanceRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -120918,7 +120918,7 @@ impl ISVGUseElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn animatedInstanceRoot(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).animatedInstanceRoot)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -121054,7 +121054,7 @@ impl ISVGViewElement { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn viewTarget(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).viewTarget)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -121213,7 +121213,7 @@ pub struct ISVGZoomAndPan(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISVGZoomAndPan { pub unsafe fn zoomAndPan(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zoomAndPan)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -121294,27 +121294,27 @@ impl ISVGZoomEvent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn zoomRectScreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).zoomRectScreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn previousScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousTranslate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).previousTranslate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn newScale(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).newScale)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn newTranslate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).newTranslate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -121406,27 +121406,27 @@ impl IScriptEventHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn FunctionName(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FunctionName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn DebugDocumentContext(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).DebugDocumentContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn EventHandlerDispatch(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EventHandlerDispatch)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn UsesCapture(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).UsesCapture)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Cookie(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Cookie)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -121549,7 +121549,7 @@ impl IScrollableContextMenu { (::windows::core::Interface::vtable(self).AddItem)(::windows::core::Interface::as_raw(self), itemtext.into(), cmdid).ok() } pub unsafe fn ShowModal(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ShowModal)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -121606,7 +121606,7 @@ impl IScrollableContextMenu2 { (::windows::core::Interface::vtable(self).base__.AddItem)(::windows::core::Interface::as_raw(self), itemtext.into(), cmdid).ok() } pub unsafe fn ShowModal(&self, x: i32, y: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ShowModal)(::windows::core::Interface::as_raw(self), x, y, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSeparator(&self) -> ::windows::core::Result<()> { @@ -121788,17 +121788,17 @@ pub struct ISegment_Vtbl { pub struct ISegmentList(::windows::core::IUnknown); impl ISegmentList { pub unsafe fn CreateIterator(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateIterator)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetType(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsEmpty(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsEmpty)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -121853,7 +121853,7 @@ pub struct ISegmentList_Vtbl { pub struct ISegmentListIterator(::windows::core::IUnknown); impl ISegmentListIterator { pub unsafe fn Current(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Current)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn First(&self) -> ::windows::core::Result<()> { @@ -121921,7 +121921,7 @@ impl ISelectionServices { (::windows::core::Interface::vtable(self).SetSelectionType)(::windows::core::Interface::as_raw(self), etype, pilistener.into().abi()).ok() } pub unsafe fn GetMarkupContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetMarkupContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AddSegment<'a, P0, P1>(&self, pistart: P0, piend: P1) -> ::windows::core::Result @@ -121929,7 +121929,7 @@ impl ISelectionServices { P0: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, P1: ::std::convert::Into<::windows::core::InParam<'a, IMarkupPointer>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddSegment)(::windows::core::Interface::as_raw(self), pistart.into().abi(), piend.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -121938,7 +121938,7 @@ impl ISelectionServices { where P0: ::std::convert::Into<::windows::core::InParam<'a, IHTMLElement>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).AddElementSegment)(::windows::core::Interface::as_raw(self), pielement.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn RemoveSegment<'a, P0>(&self, pisegment: P0) -> ::windows::core::Result<()> @@ -121948,7 +121948,7 @@ impl ISelectionServices { (::windows::core::Interface::vtable(self).RemoveSegment)(::windows::core::Interface::as_raw(self), pisegment.into().abi()).ok() } pub unsafe fn GetSelectionServicesListener(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSelectionServicesListener)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -122029,7 +122029,7 @@ impl ISelectionServicesListener { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetTypeDetail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTypeDetail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -122086,7 +122086,7 @@ pub struct ISelectionServicesListener_Vtbl { pub struct ISequenceNumber(::windows::core::IUnknown); impl ISequenceNumber { pub unsafe fn GetSequenceNumber(&self, ncurrent: i32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSequenceNumber)(::windows::core::Interface::as_raw(self), ncurrent, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -122211,7 +122211,7 @@ impl ISurfacePresenter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsCurrent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsCurrent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -122429,13 +122429,13 @@ pub struct ISurfacePresenterFlipBuffer_Vtbl { pub struct ITargetContainer(::windows::core::IUnknown); impl ITargetContainer { pub unsafe fn GetFrameUrl(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameUrl)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetFramesContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFramesContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -122489,7 +122489,7 @@ pub struct ITargetContainer_Vtbl { pub struct ITargetEmbedding(::windows::core::IUnknown); impl ITargetEmbedding { pub unsafe fn GetTargetFrame(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -122545,11 +122545,11 @@ impl ITargetFrame { (::windows::core::Interface::vtable(self).SetFrameName)(::windows::core::Interface::as_raw(self), pszframename.into()).ok() } pub unsafe fn GetFrameName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetParentFrame(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn FindFrame<'a, P0, P1>(&self, psztargetname: P0, ppunkcontextframe: P1, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown> @@ -122557,7 +122557,7 @@ impl ITargetFrame { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFrame)(::windows::core::Interface::as_raw(self), psztargetname.into(), ppunkcontextframe.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetFrameSrc<'a, P0>(&self, pszframesrc: P0) -> ::windows::core::Result<()> @@ -122567,20 +122567,20 @@ impl ITargetFrame { (::windows::core::Interface::vtable(self).SetFrameSrc)(::windows::core::Interface::as_raw(self), pszframesrc.into()).ok() } pub unsafe fn GetFrameSrc(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetFramesContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFramesContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFrameOptions(&self, dwflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFrameOptions)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetFrameOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFrameMargins(&self, dwwidth: u32, dwheight: u32) -> ::windows::core::Result<()> { @@ -122673,11 +122673,11 @@ impl ITargetFrame2 { (::windows::core::Interface::vtable(self).SetFrameName)(::windows::core::Interface::as_raw(self), pszframename.into()).ok() } pub unsafe fn GetFrameName(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } pub unsafe fn GetParentFrame(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetParentFrame)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn SetFrameSrc<'a, P0>(&self, pszframesrc: P0) -> ::windows::core::Result<()> @@ -122687,20 +122687,20 @@ impl ITargetFrame2 { (::windows::core::Interface::vtable(self).SetFrameSrc)(::windows::core::Interface::as_raw(self), pszframesrc.into()).ok() } pub unsafe fn GetFrameSrc(&self) -> ::windows::core::Result<::windows::core::PWSTR> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameSrc)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetFramesContainer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFramesContainer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFrameOptions(&self, dwflags: u32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetFrameOptions)(::windows::core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetFrameOptions(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFrameOptions)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetFrameMargins(&self, dwwidth: u32, dwheight: u32) -> ::windows::core::Result<()> { @@ -122713,14 +122713,14 @@ impl ITargetFrame2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFrame)(::windows::core::Interface::as_raw(self), psztargetname.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetTargetAlias<'a, P0>(&self, psztargetname: P0) -> ::windows::core::Result<::windows::core::PWSTR> where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::PWSTR>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTargetAlias)(::windows::core::Interface::as_raw(self), psztargetname.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::PWSTR>(result__) } } @@ -122787,7 +122787,7 @@ impl ITargetFramePriv { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFrameDownwards)(::windows::core::Interface::as_raw(self), psztargetname.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn FindFrameInContext<'a, P0, P1>(&self, psztargetname: P0, punkcontextframe: P1, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown> @@ -122795,7 +122795,7 @@ impl ITargetFramePriv { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindFrameInContext)(::windows::core::Interface::as_raw(self), psztargetname.into(), punkcontextframe.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn OnChildFrameActivate<'a, P0>(&self, punkchildframe: P0) -> ::windows::core::Result<()> @@ -122823,7 +122823,7 @@ impl ITargetFramePriv { (::windows::core::Interface::vtable(self).NavigateHack)(::windows::core::Interface::as_raw(self), grfhlnf, pbc.into().abi(), pibsc.into().abi(), psztargetname.into(), pszurl.into(), pszlocation.into()).ok() } pub unsafe fn FindBrowserByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FindBrowserByIndex)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -122884,7 +122884,7 @@ impl ITargetFramePriv2 { where P0: ::std::convert::Into<::windows::core::PCWSTR>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindFrameDownwards)(::windows::core::Interface::as_raw(self), psztargetname.into(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn FindFrameInContext<'a, P0, P1>(&self, psztargetname: P0, punkcontextframe: P1, dwflags: u32) -> ::windows::core::Result<::windows::core::IUnknown> @@ -122892,7 +122892,7 @@ impl ITargetFramePriv2 { P0: ::std::convert::Into<::windows::core::PCWSTR>, P1: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindFrameInContext)(::windows::core::Interface::as_raw(self), psztargetname.into(), punkcontextframe.into().abi(), dwflags, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn OnChildFrameActivate<'a, P0>(&self, punkchildframe: P0) -> ::windows::core::Result<()> @@ -122920,7 +122920,7 @@ impl ITargetFramePriv2 { (::windows::core::Interface::vtable(self).base__.NavigateHack)(::windows::core::Interface::as_raw(self), grfhlnf, pbc.into().abi(), pibsc.into().abi(), psztargetname.into(), pszurl.into(), pszlocation.into()).ok() } pub unsafe fn FindBrowserByIndex(&self, dwid: u32) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.FindBrowserByIndex)(::windows::core::Interface::as_raw(self), dwid, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -123147,7 +123147,7 @@ impl ITemplatePrinter { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).startDoc)(::windows::core::Interface::as_raw(self), bstrtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn stopDoc(&self) -> ::windows::core::Result<()> { @@ -123165,22 +123165,22 @@ impl ITemplatePrinter { (::windows::core::Interface::vtable(self).printPage)(::windows::core::Interface::as_raw(self), pelemdisp.into().abi()).ok() } pub unsafe fn ensurePrintDialogDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).ensurePrintDialogDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn showPrintDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).showPrintDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn showPageSetupDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).showPageSetupDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn printNonNative<'a, P0>(&self, pmarkup: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).printNonNative)(::windows::core::Interface::as_raw(self), pmarkup.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn printNonNativeFrames<'a, P0>(&self, pmarkup: P0, factiveframe: i16) -> ::windows::core::Result<()> @@ -123193,95 +123193,95 @@ impl ITemplatePrinter { (::windows::core::Interface::vtable(self).SetframesetDocument)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn framesetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).framesetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetframeActive(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetframeActive)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn frameActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetframeAsShown(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetframeAsShown)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn frameAsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameAsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setselection(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setselection)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetselectedPages(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetselectedPages)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectedPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectedPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcurrentPage(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetcurrentPage)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn currentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcurrentPageAvail(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetcurrentPageAvail)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn currentPageAvail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).currentPageAvail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setcollate(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setcollate)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn collate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).collate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn duplex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).duplex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setcopies(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setcopies)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn copies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).copies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpageFrom(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpageFrom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pageFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpageTo(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetpageTo)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pageTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettableOfLinks(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SettableOfLinks)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn tableOfLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).tableOfLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetallLinkedDocuments(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetallLinkedDocuments)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn allLinkedDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).allLinkedDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -123295,7 +123295,7 @@ impl ITemplatePrinter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn header(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).header)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -123309,59 +123309,59 @@ impl ITemplatePrinter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn footer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).footer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginLeft(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmarginLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginRight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmarginRight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginTop(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmarginTop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginBottom(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetmarginBottom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).pageHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unprintableLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unprintableTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unprintableRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).unprintableBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn updatePageStatus(&self, p: *const i32) -> ::windows::core::Result<()> { @@ -123520,7 +123520,7 @@ impl ITemplatePrinter2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.startDoc)(::windows::core::Interface::as_raw(self), bstrtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn stopDoc(&self) -> ::windows::core::Result<()> { @@ -123538,22 +123538,22 @@ impl ITemplatePrinter2 { (::windows::core::Interface::vtable(self).base__.printPage)(::windows::core::Interface::as_raw(self), pelemdisp.into().abi()).ok() } pub unsafe fn ensurePrintDialogDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.ensurePrintDialogDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn showPrintDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.showPrintDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn showPageSetupDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.showPageSetupDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn printNonNative<'a, P0>(&self, pmarkup: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.printNonNative)(::windows::core::Interface::as_raw(self), pmarkup.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn printNonNativeFrames<'a, P0>(&self, pmarkup: P0, factiveframe: i16) -> ::windows::core::Result<()> @@ -123566,95 +123566,95 @@ impl ITemplatePrinter2 { (::windows::core::Interface::vtable(self).base__.SetframesetDocument)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn framesetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.framesetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetframeActive(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetframeActive)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn frameActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.frameActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetframeAsShown(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetframeAsShown)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn frameAsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.frameAsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setselection(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Setselection)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetselectedPages(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetselectedPages)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectedPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectedPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcurrentPage(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetcurrentPage)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn currentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.currentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcurrentPageAvail(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetcurrentPageAvail)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn currentPageAvail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.currentPageAvail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setcollate(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Setcollate)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn collate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.collate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn duplex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.duplex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setcopies(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.Setcopies)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn copies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.copies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpageFrom(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetpageFrom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pageFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.pageFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpageTo(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetpageTo)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pageTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.pageTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettableOfLinks(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SettableOfLinks)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn tableOfLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.tableOfLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetallLinkedDocuments(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetallLinkedDocuments)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn allLinkedDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.allLinkedDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -123668,7 +123668,7 @@ impl ITemplatePrinter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn header(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.header)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -123682,59 +123682,59 @@ impl ITemplatePrinter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn footer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.footer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginLeft(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetmarginLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginRight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetmarginRight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginTop(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetmarginTop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginBottom(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetmarginBottom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.pageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.pageHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unprintableLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unprintableTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unprintableRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.unprintableBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn updatePageStatus(&self, p: *const i32) -> ::windows::core::Result<()> { @@ -123744,14 +123744,14 @@ impl ITemplatePrinter2 { (::windows::core::Interface::vtable(self).SetselectionEnabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetframeActiveEnabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetframeActiveEnabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn frameActiveEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frameActiveEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -123765,14 +123765,14 @@ impl ITemplatePrinter2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn orientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).orientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetusePrinterCopyCollate(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetusePrinterCopyCollate)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn usePrinterCopyCollate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).usePrinterCopyCollate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -123781,7 +123781,7 @@ impl ITemplatePrinter2 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).deviceSupports)(::windows::core::Interface::as_raw(self), bstrproperty.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -123900,7 +123900,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.startDoc)(::windows::core::Interface::as_raw(self), bstrtitle.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn stopDoc(&self) -> ::windows::core::Result<()> { @@ -123918,22 +123918,22 @@ impl ITemplatePrinter3 { (::windows::core::Interface::vtable(self).base__.base__.printPage)(::windows::core::Interface::as_raw(self), pelemdisp.into().abi()).ok() } pub unsafe fn ensurePrintDialogDefaults(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.ensurePrintDialogDefaults)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn showPrintDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.showPrintDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn showPageSetupDialog(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.showPageSetupDialog)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn printNonNative<'a, P0>(&self, pmarkup: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.printNonNative)(::windows::core::Interface::as_raw(self), pmarkup.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn printNonNativeFrames<'a, P0>(&self, pmarkup: P0, factiveframe: i16) -> ::windows::core::Result<()> @@ -123946,95 +123946,95 @@ impl ITemplatePrinter3 { (::windows::core::Interface::vtable(self).base__.base__.SetframesetDocument)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn framesetDocument(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.framesetDocument)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetframeActive(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetframeActive)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn frameActive(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.frameActive)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetframeAsShown(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetframeAsShown)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn frameAsShown(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.frameAsShown)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setselection(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.Setselection)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selection(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.selection)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetselectedPages(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetselectedPages)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectedPages(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.selectedPages)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcurrentPage(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetcurrentPage)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn currentPage(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.currentPage)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetcurrentPageAvail(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetcurrentPageAvail)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn currentPageAvail(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.currentPageAvail)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setcollate(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.Setcollate)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn collate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.collate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn duplex(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.duplex)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setcopies(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.Setcopies)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn copies(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.copies)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpageFrom(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetpageFrom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pageFrom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.pageFrom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetpageTo(&self, v: u16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetpageTo)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn pageTo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.pageTo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SettableOfLinks(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SettableOfLinks)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn tableOfLinks(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.tableOfLinks)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetallLinkedDocuments(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetallLinkedDocuments)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn allLinkedDocuments(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.allLinkedDocuments)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -124048,7 +124048,7 @@ impl ITemplatePrinter3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn header(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.header)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -124062,59 +124062,59 @@ impl ITemplatePrinter3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn footer(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.footer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginLeft(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetmarginLeft)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.marginLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginRight(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetmarginRight)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.marginRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginTop(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetmarginTop)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.marginTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetmarginBottom(&self, v: i32) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.base__.SetmarginBottom)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn marginBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.marginBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageWidth(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.pageWidth)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn pageHeight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.pageHeight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableLeft(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.unprintableLeft)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableTop(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.unprintableTop)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableRight(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.unprintableRight)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn unprintableBottom(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.base__.unprintableBottom)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn updatePageStatus(&self, p: *const i32) -> ::windows::core::Result<()> { @@ -124124,14 +124124,14 @@ impl ITemplatePrinter3 { (::windows::core::Interface::vtable(self).base__.SetselectionEnabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectionEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.selectionEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetframeActiveEnabled(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetframeActiveEnabled)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn frameActiveEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.frameActiveEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -124145,14 +124145,14 @@ impl ITemplatePrinter3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn orientation(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.orientation)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetusePrinterCopyCollate(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).base__.SetusePrinterCopyCollate)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn usePrinterCopyCollate(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.usePrinterCopyCollate)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -124161,7 +124161,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.deviceSupports)(::windows::core::Interface::as_raw(self), bstrproperty.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -124175,7 +124175,7 @@ impl ITemplatePrinter3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn headerFooterFont(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).headerFooterFont)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -124184,7 +124184,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPageMarginTop)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), pagewidth, pageheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -124193,7 +124193,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPageMarginRight)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), pagewidth, pageheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -124202,7 +124202,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPageMarginBottom)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), pagewidth, pageheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -124211,7 +124211,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPageMarginLeft)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), pagewidth, pageheight, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -124220,7 +124220,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPageMarginTopImportant)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -124229,7 +124229,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPageMarginRightImportant)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -124238,7 +124238,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPageMarginBottomImportant)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -124247,7 +124247,7 @@ impl ITemplatePrinter3 { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).getPageMarginLeftImportant)(::windows::core::Interface::as_raw(self), pagerule.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -124407,7 +124407,7 @@ impl ITimer { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P3: ::std::convert::Into<::windows::core::InParam<'a, ITimerSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Advise)(::windows::core::Interface::as_raw(self), vtimemin.into().abi(), vtimemax.into().abi(), vtimeinterval.into().abi(), dwflags, ptimersink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -124424,7 +124424,7 @@ impl ITimer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -124494,7 +124494,7 @@ impl ITimerEx { P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::VARIANT>>, P3: ::std::convert::Into<::windows::core::InParam<'a, ITimerSink>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.Advise)(::windows::core::Interface::as_raw(self), vtimemin.into().abi(), vtimemax.into().abi(), vtimeinterval.into().abi(), dwflags, ptimersink.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows::core::Result<()> { @@ -124511,7 +124511,7 @@ impl ITimerEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetTime(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetMode(&self, dwmode: u32) -> ::windows::core::Result<()> { @@ -124582,11 +124582,11 @@ impl ITimerService { where P0: ::std::convert::Into<::windows::core::InParam<'a, ITimer>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateTimer)(::windows::core::Interface::as_raw(self), preferencetimer.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetNamedTimer(&self, rguidname: *const ::windows::core::GUID) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetNamedTimer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(rguidname), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetNamedTimerReference<'a, P0>(&self, rguidname: *const ::windows::core::GUID, preferencetimer: P0) -> ::windows::core::Result<()> @@ -124706,13 +124706,13 @@ impl ITrackingProtection { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EvaluateUrl)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetEnabled(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetEnabled)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -124775,7 +124775,7 @@ impl ITridentTouchInput { P0: ::std::convert::Into, P1: ::std::convert::Into, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).OnPointerMessage)(::windows::core::Interface::as_raw(self), msg, wparam.into(), lparam.into(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -124994,7 +124994,7 @@ impl IUrlHistoryStg { (::windows::core::Interface::vtable(self).BindToObject)(::windows::core::Interface::as_raw(self), pocsurl.into(), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).EnumUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -125080,7 +125080,7 @@ impl IUrlHistoryStg2 { (::windows::core::Interface::vtable(self).base__.BindToObject)(::windows::core::Interface::as_raw(self), pocsurl.into(), &::IID, &mut result__ as *mut _ as *mut _).and_some(result__) } pub unsafe fn EnumUrls(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.EnumUrls)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] @@ -125289,13 +125289,13 @@ impl IViewObjectPresentFlipSite { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurfacePresenterFlip)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), width, height, backbuffercount, format, mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetDeviceLuid(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDeviceLuid)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn EnterFullScreen(&self) -> ::windows::core::Result<()> { @@ -125307,13 +125307,13 @@ impl IViewObjectPresentFlipSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsFullScreen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsFullScreen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetBoundingRect(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetBoundingRect)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -125324,7 +125324,7 @@ impl IViewObjectPresentFlipSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetFullScreenSize(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetFullScreenSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -125401,7 +125401,7 @@ impl IViewObjectPresentFlipSite2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetRotationForCurrentOutput(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetRotationForCurrentOutput)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -125508,13 +125508,13 @@ impl IViewObjectPresentNotifySite { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.CreateSurfacePresenter)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), width, height, backbuffercount, format, mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsHardwareComposition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.IsHardwareComposition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCompositionMode(&self, mode: VIEW_OBJECT_COMPOSITION_MODE) -> ::windows::core::Result<()> { @@ -125590,13 +125590,13 @@ impl IViewObjectPresentSite { where P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IUnknown>>, { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).CreateSurfacePresenter)(::windows::core::Interface::as_raw(self), pdevice.into().abi(), width, height, backbuffercount, format, mode, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn IsHardwareComposition(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).IsHardwareComposition)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetCompositionMode(&self, mode: VIEW_OBJECT_COMPOSITION_MODE) -> ::windows::core::Result<()> { @@ -125657,7 +125657,7 @@ pub struct IViewObjectPresentSite_Vtbl { pub struct IViewObjectPrint(::windows::core::IUnknown); impl IViewObjectPrint { pub unsafe fn GetPrintBitmap(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPrintBitmap)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -125732,28 +125732,28 @@ impl IWBScriptControl { (::windows::core::Interface::vtable(self).SetselectableContent)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn selectableContent(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).selectableContent)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn frozen(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).frozen)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setscrollbar(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setscrollbar)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn scrollbar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).scrollbar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn version(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).version)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn visibility(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).visibility)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -125767,7 +125767,7 @@ impl IWBScriptControl { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn onvisibilitychange(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).onvisibilitychange)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -125870,13 +125870,13 @@ pub struct IWBScriptControl_Vtbl { pub struct IWPCBlockedUrls(::windows::core::IUnknown); impl IWPCBlockedUrls { pub unsafe fn GetCount(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUrl(&self, dwidx: u32) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUrl)(::windows::core::Interface::as_raw(self), dwidx, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -125942,31 +125942,31 @@ impl IWebBridge { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn URL(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).URL)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn SetScrollbar(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).SetScrollbar)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn Scrollbar(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).Scrollbar)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn Setembed(&self, v: i16) -> ::windows::core::Result<()> { (::windows::core::Interface::vtable(self).Setembed)(::windows::core::Interface::as_raw(self), v).ok() } pub unsafe fn embed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).embed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn readyState(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).readyState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn AboutBox(&self) -> ::windows::core::Result<()> { @@ -126063,7 +126063,7 @@ pub struct IWebBridge_Vtbl { pub struct IWebBrowserEventsService(::windows::core::IUnknown); impl IWebBrowserEventsService { pub unsafe fn FireBeforeNavigate2Event(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).FireBeforeNavigate2Event)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn FireNavigateComplete2Event(&self) -> ::windows::core::Result<()> { @@ -126131,7 +126131,7 @@ impl IWebBrowserEventsUrlService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetUrlForEvents(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetUrlForEvents)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -126186,39 +126186,39 @@ pub struct IWebGeocoordinates(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWebGeocoordinates { pub unsafe fn latitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).latitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn longitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).longitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn altitude(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).altitude)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn accuracy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).accuracy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn altitudeAccuracy(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).altitudeAccuracy)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn heading(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).heading)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn speed(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).speed)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -126332,7 +126332,7 @@ impl IWebGeolocation { P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, P2: ::std::convert::Into<::windows::core::InParam<'a, super::super::System::Com::IDispatch>>, { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).watchPosition)(::windows::core::Interface::as_raw(self), successcallback.into().abi(), errorcallback.into().abi(), options.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn clearWatch(&self, watchid: i32) -> ::windows::core::Result<()> { @@ -126424,11 +126424,11 @@ impl IWebGeoposition { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] pub unsafe fn coords(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).coords)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn timestamp(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).timestamp)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -126511,13 +126511,13 @@ pub struct IWebGeopositionError(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWebGeopositionError { pub unsafe fn code(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).code)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn message(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).message)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -126738,7 +126738,7 @@ impl Iwfolders { where P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).navigate)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -126748,7 +126748,7 @@ impl Iwfolders { P0: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, P1: ::std::convert::Into<::windows::core::InParam<'a, super::super::Foundation::BSTR>>, { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).navigateFrame)(::windows::core::Interface::as_raw(self), bstrurl.into().abi(), bstrtargetframe.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -127703,7 +127703,7 @@ where extern "system" { fn RatingObtainQuery(psztargeturl: ::windows::core::PCSTR, dwuserdata: u32, fcallback: isize, phratingobtainquery: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RatingObtainQuery(psztargeturl.into(), dwuserdata, fcallback, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] @@ -127717,7 +127717,7 @@ where extern "system" { fn RatingObtainQueryW(psztargeturl: ::windows::core::PCWSTR, dwuserdata: u32, fcallback: isize, phratingobtainquery: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RatingObtainQueryW(psztargeturl.into(), dwuserdata, fcallback, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[doc = "*Required features: `\"Win32_Web_MsHtml\"`, `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/core/bindings.rs b/crates/libs/windows/src/core/bindings.rs index 8d77388837..12b6915129 100644 --- a/crates/libs/windows/src/core/bindings.rs +++ b/crates/libs/windows/src/core/bindings.rs @@ -40,140 +40,140 @@ impl IPropertyValue { pub fn Type(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Type)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn IsNumericScalar(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).IsNumericScalar)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt8(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt8)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt32(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt32)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetInt64(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetUInt64(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetUInt64)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSingle(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSingle)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetDouble(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDouble)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetChar16(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetChar16)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetBoolean(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetBoolean)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } pub fn GetGuid(&self) -> ::windows::core::Result<::windows::core::GUID> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetGuid)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::GUID>(result__) } } pub fn GetDateTime(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetDateTime)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetTimeSpan(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetTimeSpan)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetPoint(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetPoint)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetSize(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetSize)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } pub fn GetRect(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).GetRect)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -414,7 +414,7 @@ impl IReference { pub fn Value(&self) -> ::windows::core::Result { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::Abi>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).Value)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::(result__) } } @@ -511,7 +511,7 @@ impl IStringable { pub fn ToString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { let this = self; unsafe { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop<::windows::core::HSTRING>>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).ToString)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::HSTRING>(result__) } } @@ -692,73 +692,73 @@ pub struct PropertyValue; impl PropertyValue { pub fn CreateEmpty() -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateEmpty)(::windows::core::Interface::as_raw(this), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt8(value: u8) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt8)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt16(value: i16) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt16)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt16(value: u16) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt16)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt32(value: i32) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt32(value: u32) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt32)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt64(value: i64) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt64(value: u64) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt64)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateSingle(value: f32) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSingle)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateDouble(value: f64) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDouble)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateChar16(value: u16) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateChar16)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateBoolean(value: bool) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBoolean)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } @@ -767,7 +767,7 @@ impl PropertyValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::HSTRING>>, { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateString)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } @@ -776,157 +776,157 @@ impl PropertyValue { P0: ::std::convert::Into<::windows::core::InParam<'a, ::windows::core::IInspectable>>, { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInspectable)(::windows::core::Interface::as_raw(this), value.into().abi(), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateGuid(value: ::windows::core::GUID) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateGuid)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateDateTime(value: DateTime) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTime)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateTimeSpan(value: TimeSpan) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTimeSpan)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreatePoint(value: Point) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePoint)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateSize(value: Size) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSize)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateRect(value: Rect) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRect)(::windows::core::Interface::as_raw(this), value, result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt8Array(value: &[u8]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt8Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt16Array(value: &[i16]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt16Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt16Array(value: &[u16]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt16Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt32Array(value: &[i32]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt32Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt32Array(value: &[u32]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt32Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInt64Array(value: &[i64]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInt64Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateUInt64Array(value: &[u64]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateUInt64Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateSingleArray(value: &[f32]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSingleArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateDoubleArray(value: &[f64]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDoubleArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateChar16Array(value: &[u16]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateChar16Array)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateBooleanArray(value: &[bool]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateBooleanArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateStringArray(value: &[::windows::core::HSTRING]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateStringArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateInspectableArray(value: &[::core::option::Option<::windows::core::IInspectable>]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateInspectableArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateGuidArray(value: &[::windows::core::GUID]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateGuidArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateDateTimeArray(value: &[DateTime]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateDateTimeArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateTimeSpanArray(value: &[TimeSpan]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateTimeSpanArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreatePointArray(value: &[Point]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreatePointArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateSizeArray(value: &[Size]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateSizeArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } pub fn CreateRectArray(value: &[Rect]) -> ::windows::core::Result<::windows::core::IInspectable> { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(this).CreateRectArray)(::windows::core::Interface::as_raw(this), value.len() as u32, ::core::mem::transmute(value.as_ptr()), result__.as_mut_ptr()).from_abi::<::windows::core::IInspectable>(result__) }) } @@ -1510,7 +1510,7 @@ pub unsafe fn CoCreateGuid() -> ::windows::core::Result<::windows::core::GUID> { extern "system" { fn CoCreateGuid(pguid: *mut ::windows::core::GUID) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); CoCreateGuid(::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } #[inline] @@ -1535,7 +1535,7 @@ pub unsafe fn GetErrorInfo(dwreserved: u32) -> ::windows::core::Result ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); GetErrorInfo(dwreserved, ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(transparent)] @@ -1585,23 +1585,23 @@ pub struct IAgileObject_Vtbl { pub struct IErrorInfo(::windows::core::IUnknown); impl IErrorInfo { pub unsafe fn GetGUID(&self) -> ::windows::core::Result<::windows::core::GUID> { - let mut result__ = ::core::mem::MaybeUninit::<::windows::core::GUID>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetGUID)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::GUID>(result__) } pub unsafe fn GetSource(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetSource)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetDescription(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetDescription)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHelpFile(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelpFile)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn GetHelpContext(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetHelpContext)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2019,14 +2019,14 @@ where extern "system" { fn RoGetAgileReference(options: AgileReferenceOptions, riid: *const ::windows::core::GUID, punk: *mut ::core::ffi::c_void, ppagilereference: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT; } - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); RoGetAgileReference(options, ::core::mem::transmute(riid), punk.into().abi(), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } #[repr(transparent)] pub struct ILanguageExceptionErrorInfo(::windows::core::IUnknown); impl ILanguageExceptionErrorInfo { pub unsafe fn GetLanguageException(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetLanguageException)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } } @@ -2075,11 +2075,11 @@ pub struct ILanguageExceptionErrorInfo_Vtbl { pub struct ILanguageExceptionErrorInfo2(::windows::core::IUnknown); impl ILanguageExceptionErrorInfo2 { pub unsafe fn GetLanguageException(&self) -> ::windows::core::Result<::windows::core::IUnknown> { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).base__.GetLanguageException)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::<::windows::core::IUnknown>(result__) } pub unsafe fn GetPreviousLanguageExceptionErrorInfo(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPreviousLanguageExceptionErrorInfo)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } pub unsafe fn CapturePropagationContext<'a, P0>(&self, languageexception: P0) -> ::windows::core::Result<()> @@ -2089,7 +2089,7 @@ impl ILanguageExceptionErrorInfo2 { (::windows::core::Interface::vtable(self).CapturePropagationContext)(::windows::core::Interface::as_raw(self), languageexception.into().abi()).ok() } pub unsafe fn GetPropagationContextHead(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetPropagationContextHead)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2158,7 +2158,7 @@ impl IRestrictedErrorInfo { (::windows::core::Interface::vtable(self).GetErrorDetails)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(description), ::core::mem::transmute(error), ::core::mem::transmute(restricteddescription), ::core::mem::transmute(capabilitysid)).ok() } pub unsafe fn GetReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<::core::mem::ManuallyDrop>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } @@ -2262,7 +2262,7 @@ pub struct IWeakReference_Vtbl { pub struct IWeakReferenceSource(::windows::core::IUnknown); impl IWeakReferenceSource { pub unsafe fn GetWeakReference(&self) -> ::windows::core::Result { - let mut result__ = ::core::mem::MaybeUninit::<*mut ::core::ffi::c_void>::zeroed(); + let mut result__ = ::core::mem::MaybeUninit::zeroed(); (::windows::core::Interface::vtable(self).GetWeakReference)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(result__.as_mut_ptr())).from_abi::(result__) } } diff --git a/crates/tests/winrt/tests/boxing.rs b/crates/tests/winrt/tests/boxing.rs index d77c469f0f..499465fdb9 100644 --- a/crates/tests/winrt/tests/boxing.rs +++ b/crates/tests/winrt/tests/boxing.rs @@ -1,6 +1,6 @@ use core::convert::{TryFrom, TryInto}; -use windows::core::{IInspectable, Interface, HSTRING}; -use windows::Foundation::{IPropertyValue, PropertyValue}; +use windows::core::*; +use windows::Foundation::*; macro_rules! primitive_try_into_test { ($(($t:ty, $v:literal)),+) => { @@ -25,7 +25,7 @@ macro_rules! primitive_try_from_test { } #[test] -fn boxing_into() -> windows::core::Result<()> { +fn boxing_into() -> Result<()> { primitive_try_into_test! { (bool, true), (bool, false), @@ -80,14 +80,14 @@ fn boxing_into() -> windows::core::Result<()> { } #[test] -fn explicit_boxing() -> windows::core::Result<()> { +fn explicit_boxing() -> Result<()> { let object = PropertyValue::CreateString(&HSTRING::from("hello"))?; let pv: IPropertyValue = object.cast()?; assert!(pv.GetString()? == "hello"); let object = PropertyValue::CreateUInt32Array(&[1, 2, 3])?; let pv: IPropertyValue = object.cast()?; - let mut array = windows::core::Array::new(); + let mut array = Array::new(); assert!(array.is_empty()); assert!(array.is_empty()); @@ -98,7 +98,7 @@ fn explicit_boxing() -> windows::core::Result<()> { let object = PropertyValue::CreateStringArray(&["Hello".into(), "Rust".into(), "WinRT".into()])?; let pv: IPropertyValue = object.cast()?; - let mut array = windows::core::Array::new(); + let mut array = Array::new(); assert!(array.is_empty()); assert!(array.is_empty()); @@ -110,3 +110,12 @@ fn explicit_boxing() -> windows::core::Result<()> { Ok(()) } + +#[test] +fn reference_array() -> Result<()> { + let object = PropertyValue::CreateInt32Array(&[1, 2, 3])?; + let array: IReferenceArray = object.cast()?; + let array: Array = array.Value()?; + assert_eq!(array[..], [1, 2, 3]); + Ok(()) +}